* progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
2
3 * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove
4 signals for which replies are never received.
5
6 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7
8 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9 (gdb-handler-alist, gdb-handler-number): Remove variables.
10 (gdb-handler-list): New variable.
11 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12 (gdb-pending-handler-p, gdb-handle-reply)
13 (gdb-remove-all-pending-triggers): New functions.
14 (gdb-discard-unordered-replies): New defcustom.
15 (gdb-handler): New defstruct.
16 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
17 instead of gdb-pending-triggers. Update docstring.
18 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
19 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
20 (gdb-var-update-handler, def-gdb-auto-update-trigger)
21 (def-gdb-auto-update-handler, gdb-get-changed-registers)
22 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
23 (gdb-frame-handler): Pending triggers are now automatically managed.
24 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
25 Remove argument.
26 (gdb-input): Automatically handles pending triggers. Update docstring.
27 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
28 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
29 Update comments.
30 (gdb-done-or-error): Now use gdb-handle-reply.
31
32 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
33
34 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
35 gdb-debug-log.
36
37 2013-05-14 Glenn Morris <rgm@gnu.org>
38
39 * subr.el (user-emacs-directory-warning): New option.
40 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
41
42 2013-05-14 Leo Liu <sdl.web@gmail.com>
43
44 * progmodes/octave.el (octave-font-lock-keywords): Fix error
45 during redisplay.
46 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
47 (octave-font-lock-texinfo-comment): Fix invalid search bound
48 error: wrong side of point.
49
50 2013-05-14 Glenn Morris <rgm@gnu.org>
51
52 * progmodes/flymake.el (flymake-xml-program): New option.
53 (flymake-xml-init): Use it.
54
55 * term/xterm.el: Provide a feature.
56
57 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
58
59 2013-05-13 Glenn Morris <rgm@gnu.org>
60
61 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
62 Add compat aliases as a hack workaround. (Bug#14384)
63
64 2013-05-13 Leo Liu <sdl.web@gmail.com>
65
66 * progmodes/octave.el (octave-indent-comment): Fix indentation for
67 ###, and %!.
68 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
69 C-M-q.
70 (octave-comment-start-skip): Include %!.
71 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
72
73 2013-05-12 Leo Liu <sdl.web@gmail.com>
74
75 * progmodes/octave.el (inferior-octave-startup): Store the value
76 of __octave_srcdir__ for octave-source-directories.
77 (inferior-octave-check-process): New function refactored out of
78 inferior-octave-send-list-and-digest.
79 (octave-source-directories)
80 (octave-find-definition-filename-function): New variables.
81 (octave-source-directories)
82 (octave-find-definition-default-filename): New functions.
83 (octave-find-definition): Improve to find functions implemented in C++.
84
85 2013-05-12 Glenn Morris <rgm@gnu.org>
86
87 * calendar/diary-lib.el (diary-outlook-format-1):
88 Don't include dayname in the output. (Bug#14349)
89
90 2013-05-11 Glenn Morris <rgm@gnu.org>
91
92 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
93
94 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
95 Treat cc-provide like provide.
96
97 2013-05-11 Kevin Ryde <user42@zip.com.au>
98
99 * cus-dep.el (custom-make-dependencies):
100 Use generated-autoload-load-name for the sake of files such
101 such cedet/semantic/bovine/c.el, where the base file name
102 is not in load-path. (Bug#5277)
103
104 2013-05-11 Glenn Morris <rgm@gnu.org>
105
106 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
107 Provide features.
108
109 2013-05-11 Leo Liu <sdl.web@gmail.com>
110
111 * progmodes/octave.el (octave-indent-comment): Improve.
112 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
113 (octave-eldoc-function-signatures, octave-eldoc-function): New
114 functions.
115 (octave-mode, inferior-octave-mode): Add eldoc support.
116
117 2013-05-11 Richard Stallman <rms@gnu.org>
118
119 * epa.el (epa-decrypt-file): Take output file name as argument
120 and read it using `interactive'.
121
122 2013-05-11 Leo Liu <sdl.web@gmail.com>
123
124 * progmodes/octave.el (octave-beginning-of-line)
125 (octave-end-of-line): Check before using up-list because it jumps
126 out of more syntactic contructs since moving to smie.
127 (octave-indent-comment): New function.
128 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
129 (octave-begin-keywords, octave-end-keywords)
130 (octave-reserved-words, octave-smie-bnf-table)
131 (octave-smie-rules): Add new keywords from Octave 3.6.4.
132
133 2013-05-11 Glenn Morris <rgm@gnu.org>
134
135 * faces.el (internal-face-x-get-resource):
136 * frame.el (ns-display-monitor-attributes-list):
137 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
138
139 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
140
141 * calc/calc-menu.el: Make it loadable in isolation.
142
143 * net/eudcb-bbdb.el: Make it loadable without bbdb.
144 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
145 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
146 (eudc-bbdb-query-internal): Require 'bbdb.
147
148 * lpr.el (lpr-headers-switches):
149 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
150
151 * progmodes/sql.el (sql-login-params): Fix and improve :type.
152
153 * emulation/edt-mapper.el: In batch mode, error rather than hang.
154
155 * term.el (term-set-escape-char): Make it idempotent.
156
157 2013-05-10 Leo Liu <sdl.web@gmail.com>
158
159 * progmodes/octave.el (inferior-octave-completion-table): No
160 longer a function and all uses changed. Use cache to speed up
161 completion due to bug#11906.
162 (octave-beginning-of-defun): Re-write to be more general.
163
164 2013-05-10 Glenn Morris <rgm@gnu.org>
165
166 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
167
168 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * comint.el (comint-redirect-send-command-to-process): Use :around
171 rather than :override for comint-redirect-filter.
172 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
173 Call it instead of comint-redirect-original-filter-function (which
174 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
175
176 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
177
178 * frame.el (display-monitor-attributes-list): Add NS case.
179 (ns-display-monitor-attributes-list): Declare.
180
181 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
182
183 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
184
185 2013-05-09 Glenn Morris <rgm@gnu.org>
186
187 * international/fontset.el (vertical-centering-font-regexp):
188 Set standard-value.
189
190 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
191
192 * bookmark.el (bookmark-search-delay):
193 * cus-start.el (vertical-centering-font-regexp):
194 * ps-mule.el (ps-mule-font-info-database-default):
195 * ps-print.el (ps-default-fg, ps-default-bg):
196 * type-break.el (type-break-good-break-interval):
197 * whitespace.el (whitespace-indentation-regexp)
198 (whitespace-space-after-tab-regexp):
199 * emacs-lisp/testcover.el (testcover-1value-functions)
200 (testcover-noreturn-functions, testcover-progn-functions)
201 (testcover-prog1-functions):
202 * emulation/viper-init.el (viper-emacs-state-cursor-color):
203 * eshell/em-glob.el (eshell-glob-translate-alist):
204 * play/tetris.el (tetris-tty-colors):
205 * progmodes/cpp.el (cpp-face-default-list):
206 * progmodes/flymake.el (flymake-allowed-file-name-masks):
207 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
208 (idlwave-help-browser-generic-args):
209 * progmodes/make-mode.el (makefile-special-targets-list):
210 * progmodes/python.el (python-shell-virtualenv-path):
211 * progmodes/verilog-mode.el (verilog-active-low-regexp)
212 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
213 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
214 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
215 * textmodes/reftex-vars.el (reftex-format-label-function):
216 * textmodes/remember.el (remember-diary-file): Fix custom types.
217
218 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
219 Add :version.
220
221 2013-05-09 Leo Liu <sdl.web@gmail.com>
222
223 * progmodes/octave.el (inferior-octave-completion-at-point):
224 Restore file completion. (Bug#14300)
225 (inferior-octave-startup): Fix incorrect highlighting for the
226 first prompt.
227
228 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * progmodes/ruby-mode.el: First cut at SMIE support.
231 (ruby-use-smie): New var.
232 (ruby-smie-grammar): New constant.
233 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
234 (ruby-smie--forward-token, ruby-smie--backward-token)
235 (ruby-smie-rules): New functions.
236 (ruby-mode-variables): Setup SMIE if applicable.
237
238 2013-05-08 Eli Zaretskii <eliz@gnu.org>
239
240 * simple.el (line-move-visual): Signal beginning/end of buffer
241 only if vertical-motion moved less than it was requested. Avoids
242 silly incorrect error messages when there are display strings with
243 multiple newlines at EOL.
244
245 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
248 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
249 (prolog-char-quote-workaround):
250 * progmodes/cperl-mode.el (cperl-under-as-char):
251 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
252 Mark as obsolete.
253 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
254 their declaration.
255 (vhdl-mode-syntax-table-init): Remove.
256
257 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
258
259 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
260 syntax for "_".
261 (ld-script-font-lock-keywords):
262 Change regexps to use things like \_< and \_>.
263
264 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
265 Change all regexps to use things like \_< and \_>.
266
267 * progmodes/autoconf.el (autoconf-definition-regexp)
268 (autoconf-font-lock-keywords, autoconf-current-defun-function):
269 Handle a _ with symbol syntax.
270 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
271
272 * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
273 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
274 the declaration.
275 (ada-create-syntax-table): Remove.
276 (ada-capitalize-word): Don't mess with the syntax of "_" since it
277 already has the right syntax nowadays.
278 (ada-goto-next-word): Don't change the syntax of "_".
279
280 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
281 with-wrapper-hook.
282
283 2013-05-08 Sam Steingold <sds@gnu.org>
284
285 * thingatpt.el (thing-at-point): Accept optional second argument
286 NO-PROPERTIES to strip the text properties from the return value.
287 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
288 to `thing-at-point' instead of stripping the properties ourselves.
289 Also, when `thing-at-point' fails to find a url, prepend "http://"
290 to the filename at point on the assumption that the user is
291 pointing at something like gnu.org/gnu.
292
293 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
294
295 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
296 * faces.el (crm-separator):
297 Silence byte-compiler.
298
299 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
300 (tool-bar-map): Remove unneeded defvars.
301
302 2013-05-08 Leo Liu <sdl.web@gmail.com>
303
304 Re-work a fix for bug#10994 based on Le Wang's patch.
305 * ido.el (ido-remove-consecutive-dups): New helper.
306 (ido-completing-read): Use it.
307 (ido-chop): Revert fix for bug#10994.
308
309 2013-05-08 Adam Spiers <emacs@adamspiers.org>
310
311 * cus-edit.el (custom-save-variables):
312 Pretty-print long values. (Bug#14187)
313
314 2013-05-08 Glenn Morris <rgm@gnu.org>
315
316 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
317 (m4-mode-syntax-table): Init in the defvar.
318 (m4-mode-abbrev-table): Let define-derived-mode define it.
319
320 2013-05-08 Tom Tromey <tromey@redhat.com>
321
322 * progmodes/m4-mode.el (m4-mode-syntax-table):
323 Do not treat "_" as word constituent. (Bug#14167)
324
325 2013-05-07 Glenn Morris <rgm@gnu.org>
326
327 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
328 Remove explicit eshell-isearch-cancel-map.
329
330 * progmodes/f90.el (f90-smart-end-names): New option.
331 (f90-smart-end): Doc fix.
332 (f90-end-block-optional-name): New constant.
333 (f90-block-match): Respect f90-smart-end-names.
334
335 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * progmodes/octave.el (octave-smie-forward-token): Be more careful
338 about implicit semi-colons (bug#14218).
339
340 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
341
342 * frame.el (display-monitor-attributes-list)
343 (frame-monitor-attributes): New functions.
344
345 2013-05-06 Leo Liu <sdl.web@gmail.com>
346
347 * progmodes/octave.el (octave-syntax-propertize-function): Change
348 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
349 (octave-font-lock-keywords): Use octave-operator-regexp.
350 (octave-completion-at-point): Renamed from
351 octave-completion-at-point-function.
352 (inferior-octave-directory-tracker): Robustify.
353 (octave-text-functions): Remove and fix its uses. No such things
354 any more.
355
356 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * emacs-lisp/trace.el (trace--display-buffer): New function.
359 (trace-make-advice): Use it.
360
361 2013-05-06 Juri Linkov <juri@jurta.org>
362
363 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
364 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
365 Doc fix.
366 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
367 in the help string. (Bug#12985)
368
369 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
370
371 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
372
373 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * progmodes/perl-mode.el: Add support for here documents.
376 (perl-syntax-propertize-function): Match here-doc markers.
377 (perl-syntax-propertize-special-constructs): Find their end.
378 (perl-imenu-generic-expression): Use [:alnum:].
379
380 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
381 (advice--add-function): Refresh the advice if already present
382 (bug#14317).
383
384 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
385
386 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
387
388 2013-05-06 Glenn Morris <rgm@gnu.org>
389
390 * w32-fns.el (w32-charset-info-alist): Declare.
391
392 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
393 of its defcustom properties.
394 (eshell-cmpl-initialize): No need to load pcomplete.
395
396 * generic-x.el: No need to require comint when compiling.
397
398 * net/eudc-export.el: Make it loadable without bbdb.
399 (top-level): Use require rather than load-library.
400 (eudc-create-bbdb-record, eudc-bbdbify-phone)
401 (eudc-batch-export-records-to-bbdb)
402 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
403 Require bbdb.
404
405 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
406
407 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
408 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
409 some tweaks, instead.
410
411 2013-05-05 Leo Liu <sdl.web@gmail.com>
412
413 * progmodes/octave.el (octave-font-lock-keywords)
414 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
415 (inferior-octave-send-list-and-digest): Improve error message.
416 (octave-mode, inferior-octave-mode): Use setq-local.
417 (octave-help): Set info-lookup-mode.
418
419 2013-05-05 Richard Stallman <rms@gnu.org>
420
421 * vc/compare-w.el (compare-windows-whitespace):
422 Treat no-break space as whitespace.
423
424 * mail/rmailsum.el (rmail-summary-rmail-update):
425 Detect empty summary and don't change selected message.
426 (rmail-summary-goto-msg): Likewise.
427
428 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
429 Doc fixes, rename args.
430
431 2013-05-05 Alan Mackenzie <acm@muc.de>
432
433 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
434
435 2013-05-05 Juri Linkov <juri@jurta.org>
436
437 * info.el (Info-read-subfile): Use (point-min) instead of (point)
438 to not add the length of the summary segment to the return value.
439 (Bug#14125)
440
441 2013-05-05 Leo Liu <sdl.web@gmail.com>
442
443 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
444 (inferior-octave-output-filter): Remove.
445 (octave-send-region, inferior-octave-startup): Fix callers.
446 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
447 (octave-binary-file-extensions): New user variable.
448 (octave-find-definition): Confirm if opening binary files.
449 (octave-help-file): Use octave-find-definition to get the binary
450 confirmation.
451 (octave-help): Adjust for octave-help-file change.
452
453 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
456 Merge the two entries that handle function definitions.
457 (pascal--syntax-propertize): New const.
458 (pascal-mode): Use it. Use setq-local.
459
460 2013-05-04 Glenn Morris <rgm@gnu.org>
461
462 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
463 (diary-from-outlook): Respect diary-from-outlook-function.
464
465 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
468 Move the declaration from C.
469 (read-minibuffer, eval-minibuffer): Move from C.
470 (completion-setup-function): Avoid minibuffer-completion-contents.
471
472 2013-05-03 Leo Liu <sdl.web@gmail.com>
473
474 * progmodes/octave.el (octave-font-lock-keywords): Do not
475 dehighlight 'end' in comments or strings.
476 (octave-completing-read, octave-goto-function-definition):
477 New helpers.
478 (octave-help-buffer): New user variable.
479 (octave-help-file, octave-help-function): New button types.
480 (octave-help): New command and bind it to C-h ;.
481 (octave-find-definition): New command and bind it to M-.
482 (user-error): Alias to error if not defined.
483
484 2013-05-02 Leo Liu <sdl.web@gmail.com>
485
486 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
487 for \. (bug#14332)
488 (octave-font-lock-keywords): Include [ and {.
489
490 2013-05-02 Leo Liu <sdl.web@gmail.com>
491
492 * progmodes/octave.el (inferior-octave-startup-file): Change default.
493 (inferior-octave): Remove calling comint-mode and return the buffer.
494 (inferior-octave-startup): Cosmetic changes.
495
496 2013-05-02 Leo Liu <sdl.web@gmail.com>
497
498 * progmodes/octave.el (octave-syntax-propertize-function):
499 Include the case when ' is at line beginning. (Bug#14336)
500
501 2013-05-02 Glenn Morris <rgm@gnu.org>
502
503 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
504 * desktop.el (vc-dir-mode): Just autoload it here.
505
506 2013-05-02 Alan Mackenzie <acm@muc.de>
507
508 Eliminate variable c-standard-font-lock-fontify-region-function.
509 * progmodes/cc-mode.el
510 (c-standard-font-lock-fontify-region-function): Remove.
511 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
512
513 2013-05-01 Leo Liu <sdl.web@gmail.com>
514
515 * progmodes/octave.el: Compatible with older emacs-24 releases.
516 (inferior-octave-has-built-in-variables): Remove. Built-in
517 variables were removed from Octave in 2007.
518 (inferior-octave-startup): Fix uses.
519 (comint-line-beginning-position): Remove compatibility code for
520 emacs 21.
521
522 2013-05-01 Juri Linkov <juri@jurta.org>
523
524 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
525
526 2013-05-01 Juri Linkov <juri@jurta.org>
527
528 * comint.el (comint-previous-matching-input): Don't print message
529 "History item: %d" when `isearch-mode' is active.
530 (comint-history-isearch-message): Print message "History item: %d"
531 when `comint-input-ring-index' is not empty and this function is
532 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
533
534 2013-05-01 Leo Liu <sdl.web@gmail.com>
535
536 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
537 definitions. Use completion-at-point to insert keywords.
538 (octave-abbrev-start): Remove.
539 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
540
541 2013-04-30 Leo Liu <sdl.web@gmail.com>
542
543 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
544 change.
545
546 2013-04-30 Alan Mackenzie <acm@muc.de>
547
548 Handle arbitrarily long C++ member initialisation lists.
549 * progmodes/cc-engine.el (c-back-over-member-initializers):
550 new function.
551 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
552 (most) member init lists.
553
554 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
555
556 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
557 variable.
558
559 2013-04-30 Leo Liu <sdl.web@gmail.com>
560
561 * progmodes/octave.el (octave-variables): Remove. No builtin
562 variables any more. All converted to functions.
563 (octave-font-lock-keywords, octave-completion-at-point-function):
564 Fix uses.
565 (octave-font-lock-texinfo-comment): New user variable.
566 (octave-texinfo-font-lock-keywords): New variable for texinfo
567 comment block.
568 (octave-function-comment-block): New face.
569 (octave-font-lock-texinfo-comment): New function.
570 (octave-mode): Font lock texinfo comment block.
571
572 2013-04-29 Leo Liu <sdl.web@gmail.com>
573
574 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
575 indexing expression.
576 (octave-continuation-string): Do not use \.
577 (inferior-octave-complete-impossible): Remove.
578 (inferior-octave-completion-table)
579 (inferior-octave-completion-at-point): Remove its uses.
580 (inferior-octave-startup): completion_matches was introduced to
581 Octave in 1996 so safe to assume it.
582 (octave-function-file-comment): Improve to follow how Octave does it.
583 (octave-update-function-file-comment): Tweak.
584
585 2013-04-29 Leo Liu <sdl.web@gmail.com>
586
587 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
588 (inferior-octave-startup): Remove inferior-octave-startup-hook.
589 (octave-function-file-comment): Fix typo.
590 (octave-sync-function-file-names): Use read-char-choice.
591
592 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
593
594 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
595 to t for the less important warnings.
596
597 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
598
599 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
600
601 2013-04-27 Glenn Morris <rgm@gnu.org>
602
603 * vc/log-view.el (log-view-current-entry):
604 Treat "---" separator lines as part of the following rev. (Bug#14169)
605
606 2013-04-27 Juri Linkov <juri@jurta.org>
607
608 * subr.el (read-number): Doc fix about using it by interactive
609 code letter `n'. (Bug#14254)
610
611 2013-04-27 Juri Linkov <juri@jurta.org>
612
613 * desktop.el (desktop-auto-save-timeout): New option.
614 (desktop-file-checksum): New variable.
615 (desktop-save): Add optional arg `auto-save' and don't auto-save
616 if nothing changed.
617 (desktop-auto-save-timer): New variable.
618 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
619 (after-init-hook): Call `desktop-auto-save-set-timer'.
620 Suggested by Reuben Thomas <rrt@sc3d.org> in
621 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
622
623 2013-04-27 Leo Liu <sdl.web@gmail.com>
624
625 * progmodes/octave.el (octave-function-file-p)
626 (octave-skip-comment-forward, octave-function-file-comment)
627 (octave-update-function-file-comment): New functions.
628 (octave-mode-map): Bind C-c ; to
629 octave-update-function-file-comment.
630 (octave-mode-menu): Add octave-update-function-file-comment.
631 (octave-mode, inferior-octave-mode): Fix doc-string.
632 (octave-insert-defun): Conform to Octave's coding convention.
633 (Bug#14285)
634
635 * files.el (basic-save-buffer): Don't let errors in
636 before-save-hook prevent saving buffer.
637
638 2013-04-20 Roland Winkler <winkler@gnu.org>
639
640 * faces.el (read-face-name): Use completing-read if arg multiple
641 is nil.
642
643 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
644
645 * ls-lisp.el (ls-lisp-insert-directory): If no files are
646 displayed, move point to after the totals line.
647 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
648 for the details.
649
650 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * emacs-lisp/package.el (package-autoload-ensure-default-file):
653 Add current dir to the load-path.
654 (package-generate-autoloads): Don't rely on
655 autoload-ensure-default-file.
656
657 2013-04-26 Reuben Thomas <rrt@sc3d.org>
658
659 * textmodes/remember.el (remember-store-in-files): Document that
660 the file name format is passed to `format-time-string'.
661
662 2013-04-26 Leo Liu <sdl.web@gmail.com>
663
664 * progmodes/octave.el (octave-sync-function-file-names): New function.
665 (octave-mode): Use it in before-save-hook.
666
667 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
670 (bug#14274).
671
672 * progmodes/octave.el (octave-smie-forward-token): Properly skip
673 \n and comment, even if it's not an implicit ; (bug#14218).
674
675 2013-04-26 Glenn Morris <rgm@gnu.org>
676
677 * subr.el (read-number): Once more use `read' rather than
678 `string-to-number', to trap non-numeric input. (Bug#14254)
679
680 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
681
682 * emacs-lisp/syntax.el (syntax-propertize-multiline):
683 Use `syntax-multiline' text property consistently instead of
684 `font-lock-multiline'. (bug#14237).
685
686 2013-04-26 Glenn Morris <rgm@gnu.org>
687
688 * emacs-lisp/shadow.el (list-load-path-shadows):
689 No longer necessary to check for duplicate simple.el, since
690 2012-07-07 change to init_lread to not include installation lisp
691 directories in load-path when running uninstalled. (Bug#14270)
692
693 2013-04-26 Leo Liu <sdl.web@gmail.com>
694
695 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
696 (octave-mode, inferior-octave-mode): Use setq-local.
697 (octave-not-in-string-or-comment-p): Rename to
698 octave-in-string-or-comment-p.
699 (octave-in-comment-p, octave-in-string-p)
700 (octave-in-string-or-comment-p): Replace defsubst with defun.
701
702 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
703
704 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
705
706 2013-04-25 Bastien Guerry <bzg@gnu.org>
707
708 * textmodes/remember.el (remember-data-directory)
709 (remember-directory-file-name-format): Fix custom types.
710
711 2013-04-25 Leo Liu <sdl.web@gmail.com>
712
713 * progmodes/octave.el (octave-completion-at-point-function):
714 Make use of inferior octave process.
715 (octave-initialize-completions): Remove.
716 (inferior-octave-completion-table): New function.
717 (inferior-octave-completion-at-point): Use it.
718 (octave-completion-alist): Remove.
719
720 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * progmodes/opascal.el: Use font-lock and syntax-propertize.
723 (opascal-mode-syntax-table): New var.
724 (opascal-literal-kind, opascal-is-literal-end)
725 (opascal-literal-token-at): Rewrite.
726 (opascal--literal-start-re, opascal-font-lock-keywords)
727 (opascal--syntax-propertize): New constants.
728 (opascal-font-lock-defaults): Adjust.
729 (opascal-mode): Use them. Set comment-<foo> variables as well.
730 (delphi-comment-face, opascal-comment-face, delphi-string-face)
731 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
732 (delphi-other-face, opascal-other-face): Remove face variables.
733 (opascal-save-state): Remove macro.
734 (opascal-fontifying-progress-step): Remove constant.
735 (opascal--ignore-changes): Remove var.
736 (opascal-set-token-property, opascal-parse-next-literal)
737 (opascal-is-stable-literal, opascal-complete-literal)
738 (opascal-is-literal-start, opascal-face-of)
739 (opascal-parse-region, opascal-parse-region-until-stable)
740 (opascal-fontify-region, opascal-after-change)
741 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
742 (opascal-debug-parse-region, opascal-debug-parse-window)
743 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
744 (opascal-debug-fontify-buffer): Remove.
745 (opascal-debug-mode-map): Adjust accordingly.
746
747 2013-04-25 Leo Liu <sdl.web@gmail.com>
748
749 Merge octave-mod.el and octave-inf.el into octave.el with some
750 cleanups.
751 * progmodes/octave.el: New file renamed from octave-mod.el.
752 * progmodes/octave-inf.el: Merged into octave.el.
753 * progmodes/octave-mod.el: Renamed to octave.el.
754
755 2013-04-25 Tassilo Horn <tsdh@gnu.org>
756
757 * textmodes/reftex-vars.el
758 (reftex-label-ignored-macros-and-environments): New defcustom.
759
760 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
761
762 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
765 (smie-indent-keyword): Improve the check to ensure that the next
766 comment is really on the same line.
767 (smie-indent-comment): Don't align with a subsequent closer (or eob).
768
769 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
770 semi-colons if the line is not otherwise empty (bug#14218).
771
772 2013-04-25 Glenn Morris <rgm@gnu.org>
773
774 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
775
776 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * progmodes/opascal.el (opascal-set-token-property): Rename from
779 opascal-set-text-properties and only set `token' (bug#14134).
780 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
781 (opascal-literal-text-properties): Remove.
782 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
783 Adjust callers.
784
785 2013-04-24 Reuben Thomas <rrt@sc3d.org>
786
787 * textmodes/remember.el (remember-handler-functions): Add an
788 option for a new handler `remember-store-in-files'.
789 (remember-data-directory, remember-directory-file-name-format):
790 New options.
791 (remember-store-in-files): New function to store remember notes
792 as separate files within a directory.
793
794 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
795
796 * progmodes/compile.el (compilation-next-error-function):
797 Pass "formats" to compilation-find-file (bug#11777).
798
799 2013-04-24 Glenn Morris <rgm@gnu.org>
800
801 * vc/vc-bzr.el (vc-bzr-print-log):
802 * vc/vc-hg.el (vc-hg-print-log):
803 * vc/vc-svn.el (vc-svn-print-log):
804 Fix START-REVISION with LIMIT != 1. (Bug#14168)
805
806 * vc/vc-bzr.el (vc-bzr-print-log):
807 * vc/vc-cvs.el (vc-cvs-print-log):
808 * vc/vc-git.el (vc-git-print-log):
809 * vc/vc-hg.el (vc-hg-print-log):
810 * vc/vc-mtn.el (vc-mtn-print-log):
811 * vc/vc-rcs.el (vc-rcs-print-log):
812 * vc/vc-sccs.el (vc-sccs-print-log):
813 * vc/vc-svn.el (vc-svn-print-log):
814 * vc/vc.el (vc-print-log-internal): Doc fixes.
815
816 2013-04-23 Glenn Morris <rgm@gnu.org>
817
818 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
819 Remove venerable code attempting to avoid substitute-command-keys.
820
821 2013-04-23 Tassilo Horn <tsdh@gnu.org>
822
823 * textmodes/reftex-vars.el (reftex-label-regexps):
824 Call `reftex-compile-variables' after changes to this variable.
825
826 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
829 Use lexical-binding.
830 (jit-lock-force-redisplay): Use markers, check buffer's continued
831 existence and beware narrowed buffers.
832 (jit-lock-fontify-now): Adjust call accordingly.
833
834 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
837 to avoid misleading the user.
838
839 2013-04-22 Leo Liu <sdl.web@gmail.com>
840
841 * info-look.el: Prefer latex2e.info. (Bug#14240)
842
843 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
844
845 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
846
847 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
848 * net/tramp.el (tramp-call-process): ... here
849 (tramp-set-completion-function, tramp-parse-putty):
850 * net/tramp-adb.el (tramp-adb-execute-adb-command):
851 * net/tramp-gvfs.el (tramp-gvfs-send-command):
852 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
853 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
854 (tramp-call-local-coding-command): Use `tramp-call-process'
855 instead of `tramp-compat-call-process'.
856
857 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
858 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
859 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
860 (tramp-find-inline-compress):Improve traces.
861 (tramp-maybe-send-script): Check for Perl binary.
862 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
863
864 2013-04-22 Daiki Ueno <ueno@gnu.org>
865
866 * epg.el (epg-context-pinentry-mode): New function.
867 (epg-context-set-pinentry-mode): New function.
868 (epg--start): Pass --pinentry-mode option to gpg command.
869
870 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
871
872 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
873 `comint-dynamic-complete' is obsolete since 24.1, replaced by
874 `completion-at-point'. (Bug#13774)
875
876 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
877 default key binding for `describe-distribution' has been moved to
878 `C-h C-o'. (Bug#13970)
879
880 2013-04-21 Glenn Morris <rgm@gnu.org>
881
882 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
883 Add doc strings.
884 (vc-print-log): Clarify interactive prompt.
885
886 2013-04-20 Glenn Morris <rgm@gnu.org>
887
888 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
889 No longer include timestamp etc information.
890
891 2013-04-20 Roland Winkler <winkler@gnu.org>
892
893 * faces.el (read-face-name): Bug fix, return just one face if arg
894 multiple is nil. (Bug#14209)
895
896 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
899 (remove-function): Autoload.
900
901 * comint.el (comint-redirect-original-filter-function): Remove.
902 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
903 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
904 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
905 * progmodes/prolog.el (prolog-consult-compile):
906 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
907 Use add/remove-function instead.
908 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
909 (gud-tooltip-process-output, gud-tooltip-tips):
910 Use add/remove-function instead.
911 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
912 (scheme-interaction-mode, exit-scheme-interaction-mode):
913 Use add/remove-function instead.
914
915 * vc/vc-dispatcher.el: Use lexical-binding.
916 (vc--process-sentinel): Rename from vc-process-sentinel.
917 Change last arg to be the code to run. Don't use vc-previous-sentinel
918 and vc-sentinel-commands any more.
919 (vc-exec-after): Allow code to be a function. Use add/remove-function.
920 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
921
922 2013-04-19 Masatake YAMATO <yamato@redhat.com>
923
924 * progmodes/sh-script.el (sh-imenu-generic-expression):
925 Handle function names with a single character. (Bug#14111)
926
927 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
928
929 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
930 for subroutines defined in an eval (bug#14182).
931
932 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
933
934 * bookmark.el (bookmark-completing-read): Improve handling of empty
935 string (bug#14176).
936
937 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
940
941 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
942
943 New faster Imenu implementation (bug#14058).
944 * progmodes/python.el:
945 (python-imenu-prev-index-position):
946 (python-imenu-format-item-label-function)
947 (python-imenu-format-parent-item-label-function)
948 (python-imenu-format-parent-item-jump-label-function):
949 New vars.
950 (python-imenu-format-item-label)
951 (python-imenu-format-parent-item-label)
952 (python-imenu-format-parent-item-jump-label)
953 (python-imenu--put-parent, python-imenu--build-tree)
954 (python-imenu-create-index, python-imenu-create-flat-index)
955 (python-util-popn): New functions.
956 (python-mode): Set imenu-create-index-function to
957 python-imenu-create-index.
958
959 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * winner.el (winner-active-region): Use region-active-p, activate-mark
962 and deactivate-mark (bug#14225).
963
964 * simple.el (deactivate-mark): Don't inline it.
965
966 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
967
968 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
969
970 2013-04-18 Tassilo Horn <tsdh@gnu.org>
971
972 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
973 file extensions from the archive-mode entry in order to prefer
974 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
975
976 2013-04-18 Leo Liu <sdl.web@gmail.com>
977
978 * bindings.el (help-event-list): Add ?\?.
979
980 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * subr.el (with-wrapper-hook): Declare obsolete.
983 * simple.el (filter-buffer-substring-function): New hook.
984 (filter-buffer-substring): Use it.
985 (filter-buffer-substring-functions): Mark obsolete.
986 * minibuffer.el (completion-in-region-function): New hook.
987 (completion-in-region): Use it.
988 (completion-in-region-functions): Mark obsolete.
989 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
990 * abbrev.el (abbrev-expand-function): New hook.
991 (expand-abbrev): Use it.
992 (abbrev-expand-functions): Mark obsolete.
993 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
994 and :filter-return.
995
996 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
997
998 * progmodes/python.el (python-nav--syntactically): Fix cornercases
999 and do not care about match data.
1000
1001 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1004 completion tables when completing error conditions and
1005 `declare' arguments.
1006 (lisp-complete-symbol, field-complete): Mark as obsolete.
1007 (check-parens): Unmatched parens are user errors.
1008 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1009
1010 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1011
1012 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1013 command changed buffer (ie. `flyspell-pre-buffer' is not current
1014 buffer), which prevents making decisions based on invalid value of
1015 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1016 cause an error when `flyspell-pre-point' was nil after switching
1017 buffers.
1018 (flyspell-post-command-hook): No longer needs to change buffers when
1019 checking pre-word. While at it remove unnecessary progn.
1020
1021 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1022
1023 * textmodes/ispell.el (ispell-add-per-file-word-list):
1024 Fix `flyspell-correct-word-before-point' error when accepting
1025 words and `coment-padding' is an integer by using
1026 `comment-normalize-vars' (Bug #14214).
1027
1028 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1029
1030 New defun movement commands.
1031 * progmodes/python.el (python-nav--syntactically)
1032 (python-nav--forward-defun, python-nav-backward-defun)
1033 (python-nav-forward-defun): New functions.
1034
1035 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1036
1037 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1038 (python-syntax-context): Use named compiler-macro for backwards
1039 compatibility with Emacs 24.x.
1040
1041 2013-04-17 Leo Liu <sdl.web@gmail.com>
1042
1043 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1044 octave-hide-process-buffer.
1045
1046 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1049 (bug#14216).
1050
1051 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1052
1053 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1054 Fix adjustment of offset when receiving incomplete responses from GDB
1055 (bug#14129).
1056
1057 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1060 python-mode-abbrev-table.
1061 (python-skeleton-define): Adjust accordingly.
1062 (python-mode-abbrev-table): New table that inherits from it so that
1063 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1064
1065 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1066 (abbrev-symbol): Use it.
1067 (abbrev--before-point): Use it since we already handle inheritance.
1068
1069 2013-04-16 Leo Liu <sdl.web@gmail.com>
1070
1071 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1072 binding to info-lookup-symbol.
1073
1074 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1075
1076 * minibuffer.el (completion--twq-all):
1077 * term/ns-win.el (ns-initialize-window-system):
1078 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1079
1080 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1083 global bindings.
1084
1085 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1086
1087 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1088
1089 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1090 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1091 to nil.
1092 (ruby-end-of-defun): Remove the unused arg, change the docstring
1093 to reflect that this function is only used as the value of
1094 `end-of-defun-function'.
1095 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1096 to reflect an earlier change that beginning/end-of-defun functions
1097 jump between methods in a class definition, as well as top-level
1098 functions.
1099
1100 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * minibuffer.el (minibuffer-complete): Don't just scroll
1103 a *Completions* that's been iconified.
1104 (minibuffer-force-complete): Make sure repetitions do cycle when going
1105 through completion-in-region -> minibuffer-complete.
1106
1107 2013-04-15 Alan Mackenzie <acm@muc.de>
1108
1109 Correct the placement of c-cpp-delimiters when there're #s not at
1110 col 0.
1111
1112 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1113 place a submatch around the #.
1114 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1115 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1116 on the #, not BOL.
1117
1118 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1121 (advice--member-p): New arg `name'.
1122 (advice--add-function, advice-member-p): Use it (bug#14202).
1123
1124 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1125
1126 Reformulate java imenu-generic-expression.
1127 The old expression contained ill formed regexps.
1128
1129 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1130 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1131 (cc-imenu-java-method-arg-regexp): New defconsts.
1132 (cc-imenu-java-build-type-args-regex): New defun.
1133 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1134 handling of spaces in the regexp.
1135
1136 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1137
1138 * textmodes/ispell.el (ispell-command-loop): Remove
1139 flyspell highlight of a word when ispell accepts it (bug #14178).
1140
1141 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1142
1143 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1144 uses code from the previous `ange-ftp-run-real-handler'.
1145 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1146 only in case that function exist. This is needed for proper
1147 unloading of Tramp.
1148
1149 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1150
1151 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1152
1153 * textmodes/reftex.el (reftex-compile-variables): Use it.
1154
1155 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * files.el (normal-mode): Only use default major-mode if no other mode
1158 was specified.
1159
1160 * emacs-lisp/trace.el (trace-values): New function.
1161
1162 * files.el: Allow : in local variables (bug#14089).
1163 (hack-local-variable-regexp): New var.
1164 (hack-local-variables-prop-line, hack-local-variables): Use it.
1165
1166 2013-04-13 Roland Winkler <winkler@gnu.org>
1167
1168 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1169 data before it gets modified by bibtex-beginning-of-entry.
1170
1171 2013-04-13 Roland Winkler <winkler@gnu.org>
1172
1173 * textmodes/bibtex.el (bibtex-url): Doc fix.
1174
1175 2013-04-13 Roland Winkler <winkler@gnu.org>
1176
1177 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1178 does not visit a BibTeX file, exclude it from the list of buffers
1179 returned by bibtex-initialize.
1180
1181 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1182
1183 * window.el (split-window): Remove interactive form, since as a
1184 command this function is a special case of split-window-below.
1185 Correct doc string.
1186
1187 2013-04-12 Roland Winkler <winkler@gnu.org>
1188
1189 * faces.el (read-face-name): Do not override value of arg default.
1190 Allow single faces and strings as default values. Remove those
1191 elements from return value that are not faces.
1192 (describe-face): Simplify.
1193 (face-at-point): New optional args thing and multiple so that this
1194 function can provide the same functionality previously provided by
1195 read-face-name.
1196 (make-face-bold, make-face-unbold, make-face-italic)
1197 (make-face-unitalic, make-face-bold-italic, invert-face)
1198 (modify-face, read-face-and-attribute): Use face-at-point.
1199
1200 * cus-edit.el (customize-face, customize-face-other-window)
1201 * cus-theme.el (custom-theme-add-face)
1202 * face-remap.el (buffer-face-set)
1203 * facemenu.el (facemenu-set-face): Use face-at-point.
1204
1205 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1206
1207 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1208
1209 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1210
1211 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1212 off leading { and trailing } from field values.
1213
1214 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * emacs-lisp/timer.el (timer--check): New function.
1217 (timer--time, timer-set-function, timer-event-handler): Use it.
1218 (timer-set-idle-time): Simplify.
1219 (timer--activate): CSE.
1220 (timer-event-handler): Give more info in error message.
1221 (internal-timer-start-idle): New function, moved from C.
1222
1223 * mpc.el (mpc-proc): Add `restart' argument.
1224 (mpc-proc-cmd): Use it.
1225 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1226 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1227 less often.
1228
1229 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1230
1231 * progmodes/sh-script.el: Implement `sh-mode' own
1232 `add-log-current-defun-function' (bug#14112).
1233 (sh-current-defun-name): New function.
1234 (sh-mode): Use the function.
1235
1236 2013-04-09 Bastien Guerry <bzg@gnu.org>
1237
1238 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1239
1240 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1243
1244 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1245 timer (bug#14156).
1246
1247 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1248
1249 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1250 declaration.
1251
1252 2013-04-07 Leo Liu <sdl.web@gmail.com>
1253
1254 * pcmpl-x.el: New file.
1255
1256 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1257
1258 Do not set x-display-name until X connection is established.
1259 This is needed to prevent from weird situation described at
1260 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1261 * frame.el (make-frame): Set x-display-name after call to
1262 window system initialization function, not before.
1263 * term/x-win.el (x-initialize-window-system): Add optional
1264 display argument and use it.
1265 * term/w32-win.el (w32-initialize-window-system):
1266 * term/ns-win.el (ns-initialize-window-system):
1267 * term/pc-win.el (msdos-initialize-window-system):
1268 Add compatible optional display argument.
1269
1270 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1271
1272 * files.el (normal-backup-enable-predicate): On MS-Windows and
1273 MS-DOS compare truenames of temporary-file-directory and of the
1274 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1275 don't fail comparison by compare-strings. Also, compare file
1276 names case-insensitively on MS-Windows and MS-DOS.
1277
1278 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1281 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1282
1283 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1284
1285 * whitespace.el (whitespace-color-on, whitespace-color-off):
1286 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1287
1288 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1289
1290 * ispell.el (ispell-set-spellchecker-params):
1291 Really set `ispell-args' for all equivs.
1292
1293 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * ido.el (ido-completions): Use extra elements of ido-decorations
1296 (bug#14143).
1297 (ido-decorations): Update docstring.
1298
1299 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1302 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1303 nil during initialization, in order not to miss changes since the
1304 file was opened. (Bug#14140)
1305
1306 2013-04-05 Leo Liu <sdl.web@gmail.com>
1307
1308 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1309
1310 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1311
1312 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1313
1314 2013-04-04 Glenn Morris <rgm@gnu.org>
1315
1316 * electric.el (electric-pair-inhibit-predicate): Add :version.
1317
1318 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1321 when a package is required several times (bug#14082).
1322
1323 2013-04-04 Roland Winkler <winkler@gnu.org>
1324
1325 * faces.el (read-face-name): Behave as promised by the docstring.
1326 Assume that arg default is a list of faces.
1327 (describe-face): Call read-face-name with list of default faces.
1328
1329 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1330
1331 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1332 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1333 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1334 the header.
1335 (bookmark-exit-hook-internal): Save even if list is empty.
1336
1337 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1338
1339 * emacs-lisp/package.el (package-pinned-packages): New var.
1340 (package--add-to-archive-contents): Obey it (bug#14118).
1341
1342 2013-04-03 Alan Mackenzie <acm@muc.de>
1343
1344 Handle `parse-partial-sexp' landing inside a comment opener
1345 (Bug#13244). Also adapt to the new values of element 7 of a parse
1346 state.
1347
1348 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1349 parameter `not-in-delimiter'. Handle being inside comment opener.
1350 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1351 character in case we're typing a '*' after a '/'.
1352 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1353 instead by passing the parameter to c-state-pp-to-literal.
1354
1355 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1356 for elt. 7 of a parse state.
1357
1358 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1359
1360 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1361 * international/latin1-disp.el, international/mule-util.el:
1362 * language/cyril-util.el, language/european.el, language/ind-util.el:
1363 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1364 * language/tibetan.el, language/viet-util.el:
1365 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1366
1367 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1370 (electric-pair-post-self-insert-function): Use it.
1371 (electric-pair-default-inhibit): New function, extracted from
1372 electric-pair-post-self-insert-function.
1373
1374 2013-03-31 Roland Winkler <winkler@gnu.org>
1375
1376 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1377
1378 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1381
1382 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1383
1384 Un-indent after "pass" and "return" statements (Bug#13888)
1385 * progmodes/python.el (python-indent-block-enders): New var.
1386 (python-indent-calculate-indentation): Use it.
1387
1388 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1391 defun. Defining it as defalias could introduce too eager
1392 byte-compiler optimization. (Bug#14030)
1393
1394 2013-03-30 Chong Yidong <cyd@gnu.org>
1395
1396 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1397
1398 2013-03-30 Leo Liu <sdl.web@gmail.com>
1399
1400 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1401 (kmacro-execute-from-register): Pass the keyboard macro to
1402 kmacro-call-macro or repeating won't work correctly.
1403
1404 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1405
1406 * progmodes/subword.el: Back to using `forward-symbol'.
1407
1408 * subr.el (forward-whitespace, forward-symbol)
1409 (forward-same-syntax): Move from thingatpt.el.
1410
1411 2013-03-29 Leo Liu <sdl.web@gmail.com>
1412
1413 * kmacro.el (kmacro-to-register): New command.
1414 (kmacro-execute-from-register): New function.
1415 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1416
1417 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1418
1419 * mpc.el: Use defvar-local and setq-local.
1420 (mpc--proc-connect): Connection failures are not bugs.
1421 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1422 (mpc-volume-map): Bind to the up-events.
1423
1424 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1425
1426 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1427 instead of `forward-symbol'.
1428
1429 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1432 (edebug--recursive-edit): Use it.
1433 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1434 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1435
1436 2013-03-28 Leo Liu <sdl.web@gmail.com>
1437
1438 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1439
1440 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1441
1442 * facemenu.el (list-colors-callback): New defvar.
1443 (list-colors-redisplay): New function.
1444 (list-colors-display): Install list-colors-redisplay as the
1445 revert-buffer-function. (Bug#14063)
1446
1447 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1450 and suffixes don't overlap (bug#14061).
1451
1452 * case-table.el: Use lexical-binding.
1453 (case-table-get-table): New function.
1454 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1455
1456 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1457
1458 * progmodes/subword.el: Add `superword-mode' to do word motion
1459 over symbol_words (parallels and leverages `subword-mode' which
1460 does word motion inside MixedCaseWords).
1461
1462 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1463
1464 * eshell/em-unix.el: Move su and sudo to...
1465 * eshell/em-tramp.el: ...Eshell tramp module.
1466
1467 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1470 Change return value to be a sexp. Delay `get-buffer' to after
1471 restoring the desktop (bug#13951).
1472
1473 2013-03-26 Leo Liu <sdl.web@gmail.com>
1474
1475 * register.el: Move semantic tag handling back to
1476 cedet/semantic/senator.el. (Bug#14052)
1477
1478 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1481 into the prompt either (bug#13963).
1482
1483 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1486 part of "(error-foo)".
1487
1488 2013-03-24 Juri Linkov <juri@jurta.org>
1489
1490 * replace.el (list-matching-lines-prefix-face): New defcustom.
1491 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1492 `occur-engine' if `face-differs-from-default-p' returns t.
1493 (occur-engine): Add `,' inside backquote construct to evaluate
1494 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1495 Pass `prefix-face' to the functions `occur-context-lines' and
1496 `occur-engine-add-prefix'.
1497 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1498 `prefix-face' and propertize the prefix with `prefix-face'.
1499 (Bug#14017)
1500
1501 2013-03-24 Leo Liu <sdl.web@gmail.com>
1502
1503 * nxml/rng-valid.el (rng-validate-while-idle)
1504 (rng-validate-quick-while-idle): Guard against deleted buffer.
1505 (Bug#13999)
1506
1507 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1508 is the last entry in kill-buffer-hook.
1509
1510 * files.el (kill-buffer-hook): Doc fix.
1511
1512 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1513
1514 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1515 Make it safe-local.
1516
1517 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1518
1519 2013-03-23 Leo Liu <sdl.web@gmail.com>
1520
1521 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1522 Remove.
1523
1524 * nxml/rng-valid.el (rng-validate-mode)
1525 (rng-after-change-function, rng-do-some-validation):
1526 * nxml/rng-maint.el (rng-validate-buffer):
1527 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1528 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1529 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1530 (nxml-extend-after-change-region): Use with-silent-modifications.
1531
1532 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1533 timer-idle-list.
1534
1535 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1536 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1537 timer-idle-list. (Bug#13999)
1538
1539 2013-03-23 Juri Linkov <juri@jurta.org>
1540
1541 * info.el (info-index-match): New face.
1542 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1543 main pattern and add text properties with the new face to matches
1544 in index entries relative to the beginning of the index entry.
1545 (Bug#14015)
1546
1547 2013-03-21 Eric Ludlam <zappo@gnu.org>
1548
1549 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1550 Inhibit read only while inserting objects.
1551
1552 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1553
1554 * progmodes/cfengine.el: Update docs to mention
1555 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1556 symbol motion. Remove "_" from the word syntax.
1557
1558 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1559
1560 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1561 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1562
1563 2013-03-20 Juri Linkov <juri@jurta.org>
1564
1565 * info.el (Info-next-reference-or-link)
1566 (Info-prev-reference-or-link): New functions.
1567 (Info-next-reference, Info-prev-reference): Use them.
1568 (Info-try-follow-nearest-node): Handle footnote navigation.
1569 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1570
1571 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1574 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1575
1576 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1577
1578 Suppress unnecessary non-ASCII chatter during build process.
1579 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1580 (batch-skkdic-convert): Suppress most of the chatter.
1581 It's not needed so much now that machines are faster,
1582 and its non-ASCII component was confusing; see Dmitry Gutov in
1583 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1584
1585 2013-03-20 Leo Liu <sdl.web@gmail.com>
1586
1587 * ido.el (ido-chop): Fix bug#10994.
1588
1589 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1590
1591 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1592 Remove vars.
1593 (whitespace-color-on, whitespace-color-off):
1594 Use `font-lock-fontify-buffer' (Bug#13817).
1595
1596 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1599 remapping in mode-line.
1600 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1601
1602 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1603
1604 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1605 value for `whitespace-line' face (Bug#13875).
1606 (whitespace-font-lock-keywords): Change description.
1607 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1608 the constructed keywords instead.
1609 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1610
1611 2013-03-19 Leo Liu <sdl.web@gmail.com>
1612
1613 * progmodes/compile.el (compilation-display-error): New command.
1614 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1615 C-o. (Bug#13992)
1616
1617 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1618
1619 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1620
1621 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1622
1623 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1624
1625 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1626
1627 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1628
1629 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1630 * net/tramp-gvfs.el (top):
1631 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1632 (tramp-handle-shell-command): Use it.
1633 (tramp-dissect-file-name): Raise an error when hostname is a
1634 method name, and neither method nor user is specified.
1635
1636 * net/trampver.el: Update release number.
1637
1638 2013-03-18 Leo Liu <sdl.web@gmail.com>
1639
1640 Make sure eldoc can be turned off properly.
1641 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1642 eldoc-mode.
1643 (eldoc-display-message-p): Revert last change.
1644 (eldoc-display-message-no-interference-p)
1645 (eldoc-print-current-symbol-info): Tweak.
1646
1647 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1648
1649 * doc-view.el (doc-view-new-window-function): Check the new window
1650 overlay's display property instead the char property of the
1651 buffer's first char. Use `with-selected-window' instead of
1652 `save-window-excursion' with `select-window'.
1653 (doc-view-document->bitmap): Check the current doc-view overlay's
1654 display property instead the char property of the buffer's first char.
1655
1656 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1657
1658 Automate the build of ja-dic.el (Bug#13984).
1659 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1660 from the input, rather than assume that it's been done for us by the
1661 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1662 the current date into a ja-dic.el comment, as that complicates
1663 regression testing.
1664
1665 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * whitespace.el: Fix double evaluation.
1668 (whitespace-space, whitespace-hspace, whitespace-tab)
1669 (whitespace-newline, whitespace-trailing, whitespace-line)
1670 (whitespace-space-before-tab, whitespace-indentation)
1671 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1672 obsolete defvars.
1673 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1674 (whitespace-color-on): Use a single font-lock-add-keywords call.
1675 Fix double-evaluation of face variables.
1676
1677 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1678
1679 * net/tramp-adb.el (tramp-adb-parse-device-names):
1680 Use `start-process' instead of `call-process'. Otherwise, the
1681 function might be blocked under MS Windows. (Bug#13299)
1682
1683 2013-03-17 Leo Liu <sdl.web@gmail.com>
1684
1685 Extend eldoc to display info in the mode-line. (Bug#13978)
1686 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1687 (eldoc-mode-line-string): New variable.
1688 (eldoc-minibuffer-message): New function.
1689 (eldoc-message-function): New variable.
1690 (eldoc-message): Use it.
1691 (eldoc-display-message-p)
1692 (eldoc-display-message-no-interference-p):
1693 Support eldoc-post-insert-mode.
1694
1695 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1696 (eval-expression): Run it.
1697
1698 2013-03-17 Roland Winkler <winkler@gnu.org>
1699
1700 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1701 strings in the list of return values.
1702
1703 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1704
1705 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1706 radix before checking for HMS forms.
1707
1708 2013-03-16 Leo Liu <sdl.web@gmail.com>
1709
1710 * progmodes/scheme.el: Add indentation and font-locking for λ.
1711 (Bug#13975)
1712
1713 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1716 token before point (bug#13942).
1717
1718 2013-03-16 Leo Liu <sdl.web@gmail.com>
1719
1720 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1721
1722 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1723
1724 * startup.el (command-line-normalize-file-name): Fix handling of
1725 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1726 <xfq.free@gmail.com> in
1727 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1728
1729 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1730
1731 Sync with Tramp 2.2.7.
1732
1733 * net/trampver.el: Update release number.
1734
1735 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1736
1737 * doc-view.el Fix bug#13887.
1738 (doc-view-insert-image): Don't modify overlay associated to
1739 non-live windows, and implement horizontal centering of image in
1740 case it's smaller than the window.
1741 (doc-view-new-window-function): Force redisplay of new windows on
1742 doc-view buffers.
1743
1744 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1745
1746 * saveplace.el (save-place-alist-to-file): Don't sort
1747 `save-place-alist', just pretty-print it (bug#13882).
1748
1749 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1750
1751 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1752 whether `default-file-name-coding-system' is bound. It isn't in
1753 XEmacs.
1754
1755 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1758 backquotes for `obsolete' (bug#13929).
1759
1760 * international/mule.el (find-auto-coding): Include file name in
1761 obsolescence warning (bug#13922).
1762
1763 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1764
1765 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1766 for CFEngine 3-specific indentation.
1767 (cfengine3-indent-line): Use it. Fix up category regex.
1768 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1769
1770 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * type-break.el (type-break-file-name):
1773 * textmodes/remember.el (remember-data-file):
1774 * strokes.el (strokes-file):
1775 * shadowfile.el (shadow-initialize):
1776 * saveplace.el (save-place-file):
1777 * ps-bdf.el (bdf-cache-file):
1778 * progmodes/idlwave.el (idlwave-config-directory):
1779 * net/quickurl.el (quickurl-url-file):
1780 * international/kkc.el (kkc-init-file-name):
1781 * ido.el (ido-save-directory-list-file):
1782 * emulation/viper.el (viper-custom-file-name):
1783 * emulation/vip.el (vip-startup-file):
1784 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1785 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1786
1787 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1788
1789 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1790 * language/thai-word.el: Switch to UTF-8.
1791
1792 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1795
1796 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1797
1798 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1799 Use with-current-buffer and don't move point.
1800 (net-utils-run-simple): Remove useless code.
1801 (net-utils-remove-ctl-m): Remove unused custom.
1802
1803 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1804
1805 * international/characters.el (glyphless-set-char-table-range): New fun.
1806 (update-glyphless-char-display): Use it (bug#13744).
1807
1808 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1809
1810 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1811 namespaces in the syntax, indent closer for hanging brace
1812 correctly, allow single-quote delimited 'strings', and make
1813 `cfengine3-mode' the default.
1814
1815 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1816
1817 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1818 Use lexical-binding. Fix up docstring according to conventions.
1819 (gdbmi-debug-mode): New var.
1820 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1821 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1822 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1823 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1824 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1825 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1826 (gdbmi-bnf-incomplete-record-result): New functions.
1827 (gdb-car<): Remove function.
1828 (gdbmi-record-list): Remove variable.
1829 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1830 (gdbmi-bnf-result-state-configs): New const.
1831 (gud-gdbmi-marker-filter): Rewrite.
1832 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1833 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1834 Add `token' argument.
1835 (gdb-done, gdb-error): New functions.
1836 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1837
1838 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * term/xterm.el (xterm--report-background-handler): Don't burp
1841 upon timeout.
1842 (xterm--version-handler): Extract from terminal-init-xterm.
1843 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1844 Allow multiple handlers.
1845 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1846
1847 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1848 (xterm--report-background-handler, xterm--query): New functions.
1849 (terminal-init-xterm): Use them.
1850
1851 2013-03-11 Michael R. Mauger <michael@mauger.com>
1852
1853 * progmodes/sql.el Version 3.2
1854 Please note that my address changed to <michael@mauger.com>;
1855 the <mmaug@yahoo.com> address remains active.
1856 (sql-connection-alist): Updates documentation to fix bug#13715.
1857 (sql-connect): Handle missing `sql-connection-alist' correctly.
1858 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1859 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1860 property.
1861 (sql-default-value): New function.
1862 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1863 values were not used.
1864 (sql-rename-buffer): Make sure alternate buffer name has no text
1865 properties.
1866 (sql-input-sender, sql-execute-feature): Fetch variable with
1867 `buffer-local-value' rather than `with-current-buffer'.
1868 (sql-*): Use #' function syntax consistently.
1869 (sql-*): Use message/error/user-error consistently.
1870
1871 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * xt-mouse.el (xterm-mouse-event-read): Remove.
1874 (xterm-mouse--read-event-sequence-1000)
1875 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1876
1877 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * term/xterm.el (xterm-function-map): Support format used with
1880 formatOtherKeys=1 (bug#13839).
1881
1882 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1883 (with-no-warnings): Use `declare'.
1884
1885 * whitespace.el (whitespace-enable-predicate): New variable.
1886 (whitespace-enable-predicate): Use it.
1887
1888 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1889 (comint-output-filter, comint-update-fence):
1890 Use with-silent-modifications.
1891
1892 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1893
1894 * replace.el (occur-read-regexp-defaults-function): New var.
1895 (occur-read-regexp-defaults): New defun.
1896 (occur-read-primary-args): Propagate above change (bug#13892).
1897
1898 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1901
1902 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1903
1904 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1905
1906 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1907 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1908 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1909 New defconst.
1910 (tramp-gvfs-file-name-handler-alist) [directory-files]
1911 [directory-files-and-attributes, file-exists-p, file-modes]:
1912 Use Tramp default handler.
1913 [file-acl, file-selinux-context, process-file, set-file-acl]:
1914 [set-file-modes, set-file-selinux-context, shell-command]:
1915 [start-file-process]: Remove handler.
1916 [verify-visited-file-modtime]: New handler.
1917 (tramp-gvfs-dbus-string-to-byte-array)
1918 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1919 calls of `dbus-string-to-byte-array' and
1920 `tramp-gvfs-dbus-byte-array-to-string'.
1921 (tramp-gvfs-handle-copy-file)
1922 (tramp-gvfs-handle-delete-directory)
1923 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1924 (tramp-gvfs-handle-file-directory-p)
1925 (tramp-gvfs-handle-file-executable-p)
1926 (tramp-gvfs-handle-file-name-all-completions)
1927 (tramp-gvfs-handle-file-readable-p)
1928 (tramp-gvfs-handle-file-writable-p)
1929 (tramp-gvfs-handle-insert-directory)
1930 (tramp-gvfs-handle-insert-file-contents)
1931 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1932 (tramp-gvfs-handle-set-visited-file-modtime)
1933 (tramp-gvfs-handle-write-region): Rewrite.
1934 (tramp-gvfs-handle-file-acl)
1935 (tramp-gvfs-handle-file-selinux-context)
1936 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1937 (tramp-gvfs-handle-set-file-modes)
1938 (tramp-gvfs-handle-set-file-selinux-context)
1939 (tramp-gvfs-handle-shell-command)
1940 (tramp-gvfs-handle-start-file-process)
1941 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1942 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1943 over the symlinks. Fix user handling.
1944 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1945 of the D-Bus signals.
1946 (tramp-gvfs-connection-mounted-p): Handle different names of the
1947 D-Bus methods.
1948 (tramp-gvfs-mount-spec-entry): New defun.
1949 (tramp-gvfs-mount-spec): Use it.
1950 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1951 there is a share name. Handle different names of the D-Bus
1952 signals and methods. Set connection properties needed for
1953 `tramp-check-cached-permissions'.
1954 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1955 Return t or nil.
1956
1957 * net/tramp.el (tramp-backtrace): Move up.
1958 (tramp-error): Dump a backtrace into the debug buffer when
1959 `tramp-verbose > 9.
1960 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1961 (tramp-file-mode-permissions, tramp-get-local-uid)
1962 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1963 tramp-sh.el.
1964
1965 * net/tramp-sh.el (tramp-file-mode-type-map)
1966 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1967 (tramp-file-mode-permissions, tramp-get-local-uid)
1968 (tramp-get-local-gid): Move to tramp.el.
1969
1970 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 Separate mouse-1-click-follows-link from mouse-drag-region.
1973 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1974 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1975 (mouse-drag-line, mouse-drag-track):
1976 Remove mouse-1-click-follows-link code.
1977 (mouse--remap-link-click-p): Remove.
1978
1979 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1980
1981 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1982 (hi-lock-read-regexp-defaults): New defun.
1983 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1984 (hi-lock-face-phrase-buffer): Propagate above change.
1985 Update docstring (bug#13892).
1986
1987 * subr.el (find-tag-default-as-regexp): New defun.
1988 * replace.el (read-regexp): Propagate above change.
1989
1990 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1991
1992 * calc/calc-units.el (calc-convert-units): Fix the way that default
1993 new units are stored.
1994
1995 2013-03-07 Matthias Meulien <orontee@gmail.com>
1996
1997 * bookmark.el: Define a face to highlight bookmark names in
1998 bookmark menu buffers, where the default is a bold face similarly
1999 to buffer names in buffer menu buffers.
2000 (bookmark-menu-bookmark): New face to highlight bookmark names.
2001 (bookmark-insert-location): Remove duplicated text property to
2002 conform to buffer list (see `list-buffers').
2003 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2004 `bookmark-menu-bookmark' to bookmark names.
2005
2006 2013-03-07 Matthias Meulien <orontee@gmail.com>
2007 Karl Fogel <kfogel@red-bean.com>
2008
2009 * bookmark.el: Display the bookmark list header similarly to the
2010 buffer list header (see `list-buffers'), where the default is now
2011 an immovable/immutable header line.
2012 (bookmark-bmenu-use-header-line): New variable.
2013 (bookmark-bmenu-inline-header-height): New name for
2014 `bookmark-bmenu-header-height', to avoid confusion with the code
2015 for the new immovable header. All references changed.
2016 (bookmark-bmenu-set-header): New function.
2017 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2018 Conditionalize header construction accordingly.
2019 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2020 the inline header height.
2021 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2022 Conditionalize the skipping of the inline header height.
2023
2024 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2025
2026 * progmodes/js.el (js--multi-line-declaration-indentation):
2027 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2028
2029 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2030
2031 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2032 Only propertize regexp when not inside a string (Bug#13885).
2033
2034 2013-03-06 Alan Mackenzie <acm@muc.de>
2035
2036 Correct the position of point in some line-up functions.
2037 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2038 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2039 point at column 0 rather than at a random place in the line.
2040
2041 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2042
2043 * net/tramp-compat.el (tramp-compat-delete-directory):
2044 Implement TRASH argument.
2045
2046 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2047
2048 Keep pre-existing highlighting in completion candidates (Bug#13250).
2049 * minibuffer.el (completions-first-difference): State that the
2050 face is "added" in the docstring.
2051 (completions-common-part): Same. And don't inherit from default.
2052 (completion-hilit-commonality): Prepend 'completions-common-part
2053 and 'completion-first-difference faces to the 'face property,
2054 instead of replacing the value(s).
2055 (completion--insert-strings): Same with 'completions-annotations face.
2056 (completion-hilit-commonality): Use 'face instead of
2057 'font-lock-face, because it gets priority if the completion
2058 strings already have 'face set.
2059
2060 2013-03-04 Alan Mackenzie <acm@muc.de>
2061
2062 Replace `last-command-event' by `last-command-char' in XEmacs.
2063 * progmodes/cc-defs.el (c-last-command-char): New macro.
2064 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2065 (c-semi&comma-no-newlines-before-nonblanks)
2066 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2067 in place of `last-command-event'.
2068 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2069 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2070 (c-electric-paren, c-electric-continued-statement): Use the new
2071 macro in place of `last-command-event'.
2072
2073 2013-03-04 Glenn Morris <rgm@gnu.org>
2074
2075 * files.el (inhibit-local-variables-regexps):
2076 Add .diff and .patch. (Bug#13862)
2077
2078 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2081 whether the "su" command is available on the device.
2082
2083 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2084
2085 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2086 (tramp-adb-handle-process-file): Remove superfluous setting.
2087 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2088 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2089 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2090
2091 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2094 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2095 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2096 Use dict-key rather than dict-name for the error message.
2097
2098 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2099
2100 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2101 when reverting (bug#13831).
2102
2103 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2104
2105 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2106 Always expand affix-file before storing to protect against changed
2107 `default-directory'.
2108 (ispell-print-if-debug): Make sure message is printed at the end
2109 of the debug buffer.
2110
2111 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2112
2113 * net/tramp.el (tramp-obsolete-methods): New defconst.
2114 (tramp-warned-obsolete-methods): New defvar.
2115 (tramp-find-method): Check for obsolete methods. Map them to a
2116 replacement method if appropriate.
2117
2118 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2119 Remove methods.
2120 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2121 "ssh2" and "plink1".
2122
2123 2013-02-28 Dale Sedivec <dale@codefu.org>
2124
2125 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2126 Return valid syntax-table property value when converting
2127 quotes within text from string syntax to punctuation syntax (bug#13844).
2128
2129 2013-02-28 Juri Linkov <juri@jurta.org>
2130
2131 * dired-aux.el (dired-diff): If file at point is a backup file,
2132 use its original as the default value, and reverse the order
2133 of arguments to the `diff' call. Doc fix. (Bug#13772)
2134
2135 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2136
2137 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2138 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2139
2140 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2141
2142 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2143
2144 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2145 Ask hunspell about available and default dictionaries.
2146 (ispell-parse-hunspell-affix-file): Extract relevant info from
2147 hunspell affix file.
2148 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2149 `ispell-dictionary-alist' entry for given dictionary after info
2150 provided by `ispell-parse-hunspell-affix-file'.
2151 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2152 of parsed hunspell dicts and associated affix files.
2153 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2154 of parsed hunspell dicts and associated parameters.
2155 (ispell-set-spellchecker-params):
2156 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2157 previously done.
2158 (ispell-start-process):
2159 Call `ispell-hunspell-fill-dictionary-entry' for current
2160 dictionary if it is not initialized.
2161
2162 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * imenu.el: Comment nitpicks.
2165
2166 2013-02-28 Sam Steingold <sds@gnu.org>
2167
2168 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2169 See <http://stackoverflow.com/questions/14720205>.
2170
2171 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2172
2173 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2174 (net-utils-mode): Use it.
2175 (net-utils--revert-cmd): New var.
2176 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2177 (traceroute): Use net-utils-run-simple.
2178
2179 2013-02-28 Glenn Morris <rgm@gnu.org>
2180
2181 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2182
2183 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2186 (doc-view-fallback-mode): Remove overlays here.
2187 (doc-view-toggle-display): Instead of here. Don't throw away
2188 image-mode-winprops-alist.
2189 (doc-view-goto-page): Don't mess with hscroll.
2190
2191 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2192
2193 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2194 &optional (bug#13819).
2195
2196 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2197
2198 * net/tramp-adb.el (tramp-adb-parse-device-names)
2199 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2200
2201 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2202
2203 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2204 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2205 defined. POSIX environments fall back to the "C" locale then and
2206 emit a warning, which shall be suppressed.
2207
2208 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2211 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2212
2213 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2216
2217 2013-02-25 Juri Linkov <juri@jurta.org>
2218
2219 * replace.el (read-regexp): Let-bind `default' to the first
2220 element of `defaults' if it's a list, otherwise it should be
2221 a string or nil. Let-bind `suggestions' to `defaults' if it's
2222 a list, otherwise make a list with the string value. Doc fix.
2223 (Bug#13805)
2224
2225 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2226
2227 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2228 that match "\`\.#", to avoid compiling lock files, even if they
2229 are readable (as they are on MS-Windows).
2230
2231 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * files.el (basic-save-buffer): Remove redundant directory-creation.
2234
2235 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2236
2237 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2238 Add option to force `pi' to remain symbolic.
2239 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2240 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2241 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2242 derivatives, when necessary.
2243
2244 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2245
2246 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2247 (ps-mode-octal-region): Use string-make-unibyte.
2248
2249 2013-02-23 Glenn Morris <rgm@gnu.org>
2250
2251 * emulation/viper-cmd.el (viper-submit-report):
2252 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2253 * progmodes/vera-mode.el (vera-mode-help-address):
2254 * textmodes/artist.el (artist-maintainer-address):
2255 * textmodes/reftex.el (reftex-report-bug):
2256 * vc/ediff-util.el (ediff-submit-report):
2257 Add bug-gnu-emacs to bug report address.
2258
2259 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2260 Remove bug report entries.
2261 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2262
2263 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2264 (byte-compile-file, byte-compile-from-buffer):
2265 Use separate input/output buffers for each level of recursive
2266 byte-compile-file calls. (Bug#13787)
2267
2268 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * net/tramp.el (tramp-methods): Fix docstring.
2271 (tramp-ssh-controlmaster-options): Rename it from
2272 `tramp-ssh-controlmaster-template'. Return a string.
2273 (tramp-default-method): Adapt check for
2274 `tramp-ssh-controlmaster-options'.
2275
2276 * net/tramp-sh.el (tramp-methods):
2277 Replace `tramp-ssh-controlmaster-template' by "%c".
2278 (tramp-do-copy-or-rename-file-out-of-band)
2279 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2280 that it is applied for the first hop only.
2281
2282 2013-02-22 Juri Linkov <juri@jurta.org>
2283
2284 * isearch.el (isearch-lazy-highlight-new-loop):
2285 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2286 to `isearch-other-end' if it is not nil. (Bug#13402)
2287
2288 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2289 to `match-beg'.
2290
2291 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2292 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2293 and `isearch-error' to nil.
2294
2295 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2296
2297 * progmodes/python.el (python-info-current-defun):
2298 Enhance match-data cluttering prevention.
2299
2300 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2303
2304 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2305 Handle multibyte file names.
2306
2307 2013-02-22 Glenn Morris <rgm@gnu.org>
2308
2309 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2310 (sgml-transformation-function): Give it a :set function.
2311 (sgml-tag): Doc fix.
2312
2313 * cmuscheme.el (scheme-buffer):
2314 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2315 * progmodes/tcl.el (inferior-tcl-buffer):
2316 * textmodes/tex-mode.el (tex-command): Doc fixes.
2317
2318 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2319
2320 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2321
2322 2013-02-21 Bastien Guerry <bzg@gnu.org>
2323
2324 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2325
2326 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2327
2328 * progmodes/python.el (python-info-current-defun):
2329 Enhance match-data cluttering prevention.
2330
2331 2013-02-21 Glenn Morris <rgm@gnu.org>
2332
2333 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2334 loaded while outline-regexp is let bound. (Bug#9584)
2335
2336 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2337
2338 * progmodes/python.el (python-info-current-defun): Fix failed
2339 defun name retrieval because of unwanted match-data cluttering.
2340
2341 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2342
2343 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2344 defconst. Apply independent check for ControlPersist.
2345
2346 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2347 temporarily, via "env".
2348
2349 2013-02-21 Glenn Morris <rgm@gnu.org>
2350
2351 * info.el (Info-enable-edit): Remove.
2352 (Info-edit): Disable it rather than using Info-enable.
2353 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2354 (Info-cease-edit): Make editing of Info files obsolete.
2355
2356 * informat.el (Info-tagify):
2357 Handle buffers not visiting files. (Bug#13763)
2358
2359 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2360
2361 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2362
2363 2013-02-21 Glenn Morris <rgm@gnu.org>
2364
2365 * files.el (basic-save-buffer): Move check for existing parent
2366 directory after hooks. (Bug#13773)
2367
2368 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * simple.el (command-execute): Move from C. Add obsolete check.
2371 (extended-command-history): Move from C.
2372
2373 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2374
2375 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2376 (jka-compr-mode-alist-additions): Handle .txz suffix for
2377 XZ-compressed tar archives (bug#13770).
2378
2379 2013-02-20 Bastien Guerry <bzg@gnu.org>
2380
2381 * outline.el (outline-regexp, outline-heading-end-regexp):
2382 Make variables, not options (bug#13731).
2383
2384 2013-02-20 Glenn Morris <rgm@gnu.org>
2385
2386 * image.el (image-current-frame): Change from variable to function.
2387 (image-show-frame): Rename from image-nth-frame. Update callers.
2388 * image-mode.el (image-multi-frame): New variable.
2389 (image-mode-map, image-mode, image-goto-frame):
2390 Use image-multi-frame rather than image-current-frame.
2391 (image-mode, image-goto-frame): Use image-current-frame as
2392 function rather than as variable.
2393
2394 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2395 * emacs-lisp/cl-macs.el (cl--make-type-test)
2396 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2397
2398 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2401 (tramp-get-file-property, tramp-set-file-property)
2402 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2403 (tramp-flush-file-property, tramp-flush-directory-property):
2404 Rename argument to KEY.
2405 (tramp-flush-connection-property): Simplify a little bit.
2406 (tramp-connection-property-p): New defun.
2407 (top): Reapply saved values only if there isn't a corresponding
2408 entry in `tramp-connection-properties'.
2409
2410 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2411
2412 * progmodes/python.el (python-indent-context):
2413 Fix python-info-line-ends-backslash-p call.
2414 (python-info-line-ends-backslash-p)
2415 (python-info-beginning-of-backslash): Respect line-number argument.
2416 (python-info-current-line-comment-p):
2417 Fix behavior when not at beginning-of-line.
2418 (python-util-position): Remove function.
2419 (python-util-goto-line): New function.
2420
2421 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * eshell/em-unix.el (eshell/su): Require tramp.
2424 (eshell/sudo): Require tramp. Remove now unnecessary check.
2425
2426 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2427 `tramp-current-connection' in order to avoid an error when several
2428 commands are invoked in a short time in eshell and friends.
2429
2430 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 Cleanup some of EIEIO's namespace.
2433 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2434 Use it to define all the class-* and object-* field accessors (renamed
2435 to eieio--class-* and eieio--object-*). Update all uses.
2436 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2437 class-num-slots and object-num-slots.
2438 (eieio--check-type): New macro.
2439 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2440 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2441 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2442 (object-assoc-list-safe): Use it.
2443 (eieio-defclass): Tighten regexp.
2444 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2445 Remove unreachable code.
2446 (object-class-fast): Declare obsolete.
2447 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2448 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2449 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2450 Rename from class-name, object-name, object-set-name-string,
2451 object-class, object-class-name, class-parents, class-children,
2452 class-precedence-list, class-parent; with obsolete alias.
2453 (class-of, class-direct-superclasses, class-direct-subclasses):
2454 Declare obsolete.
2455 (eieio-defmethod): Use `memq'; remove unreachable code.
2456 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2457 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2458 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2459
2460 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2461
2462 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2463 commentary.
2464
2465 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2466
2467 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2468 Use font-lock-keyword-face for macros and special forms (bug#8345).
2469
2470 2013-02-17 Didier Verna <didier@didierverna.net>
2471
2472 * net/network-stream.el (network-stream-open-starttls):
2473 Check that response to the starttls-command is non-nil. (Bug#13706)
2474
2475 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2478 Don't assume all identifier chars have syntax word.
2479 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2480 Remove bar-not-symbol. Adjust callers.
2481 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2482
2483 2013-02-17 Leo Liu <sdl.web@gmail.com>
2484
2485 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2486
2487 2013-02-17 Glenn Morris <rgm@gnu.org>
2488
2489 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2490
2491 * image-mode.el (image-mode-map): Add image-dired menu entry.
2492
2493 * image-dired.el (tumme): Make this alias obsolete.
2494
2495 2013-02-16 Glenn Morris <rgm@gnu.org>
2496
2497 * image.el (image-animated-types): Remove.
2498 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2499 (image-animated-p): Make obsolete alias.
2500 (image-animate, image-nth-frame, image-animate-timeout):
2501 Use image-multi-frame-p.
2502 (image-animate-timeout): If no delay, use image-default-frame-delay.
2503 * image-mode.el (image-mode, image-toggle-animation):
2504 Use image-multi-frame-p. (Bug#763, bug#10739)
2505 (image-mode): Adjust startup message for a multi-frame image.
2506
2507 * image-mode.el (image-mode-map): Give it a menu.
2508
2509 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2510
2511 * net/tramp-cache.el (tramp-connection-properties): New customer
2512 option.
2513 (tramp-get-connection-property): Use it.
2514
2515 * net/tramp-compat.el (top): Require 'trampver.
2516
2517 * net/tramp-sh.el (tramp-remote-process-environment):
2518 Set tramp-autoload cookie.
2519
2520 2013-02-16 Kevin Ryde <user42@zip.com.au>
2521
2522 * info-look.el (info-lookup-select-mode): If major-mode has no
2523 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2524
2525 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2526
2527 * replace.el (read-regexp): Tighten the regexp that matches tag.
2528 When tag is retrieved with `find-tag-default', use regexp that
2529 matches tag at point. Also update docstring (Bug#13687).
2530
2531 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2532
2533 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2534 add watch for the file, not its parent directory, since w32notify
2535 sets up the watch for the directory internally. (Bug#13725)
2536
2537 2013-02-16 Glenn Morris <rgm@gnu.org>
2538
2539 * image.el (image-default-frame-delay): New variable.
2540 (image-animated-p): Use image-default-frame-delay.
2541 (image-minimum-frame-delay): New constant.
2542 (image-animate-timeout): Use image-minimum-frame-delay.
2543
2544 * image.el (image-nth-frame): New, split from image-animate-timeout.
2545 (image-animate-timeout): Use image-nth-frame.
2546 * image-mode.el (image-goto-frame, image-next-frame)
2547 (image-previous-frame): New commands.
2548 (image-mode-map): Add new frame commands.
2549
2550 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2551
2552 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2553 If col-desc already has help-echo, use it. (Bug#13563)
2554
2555 2013-02-16 Glenn Morris <rgm@gnu.org>
2556
2557 * image.el (image-current-frame): New variable.
2558 (image-animate-timeout): Set image-current-frame.
2559 * image-mode.el (image-mode): For animated images,
2560 display a frame counter via mode-line-process.
2561
2562 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2563
2564 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2567
2568 2013-02-15 Alan Mackenzie <acm@muc.de>
2569
2570 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2571 global minor mode has been enabled, call the minor mode function
2572 for a new buffer once only, after the major mode hook, whilst
2573 allowing that hook explicitly to disable the minor mode.
2574 (MODE-disable-in-buffer): New (generated) function.
2575 (disable-MODE): New (generated) buffer local variable.
2576
2577 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2578
2579 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2580 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2581 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2582 `ido-next-match' and `ido-prev-match' resply.
2583 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2584 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2585 `icomplete-backward-completions' (Bug#13708).
2586
2587 2013-02-15 Glenn Morris <rgm@gnu.org>
2588
2589 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2590
2591 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2594 (goto-address-fontify-region): Use them instead of narrowing, so
2595 syntax-ppss has access to the whole buffer.
2596
2597 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2598
2599 * progmodes/python.el: Explain how to restore "cc-mode"-like
2600 forward-sexp movement in header documentation (Bug#13642).
2601 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2602 comments and strings (GH bug 114).
2603
2604 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2605
2606 * progmodes/python.el (python-info-current-defun): Fix current
2607 defun detection (Bug#13618).
2608
2609 2013-02-15 Chong Yidong <cyd@gnu.org>
2610
2611 * xml.el (xml-parse-string): Fix typo in handling of bad character
2612 references.
2613
2614 2013-02-15 Glenn Morris <rgm@gnu.org>
2615
2616 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2617
2618 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2619
2620 * net/tramp.el (tramp-debug-message):
2621 Add `tramp-condition-case-unless-debug'.
2622 (tramp-debug-on-error): New defvar.
2623 (tramp-condition-case-unless-debug): New defun.
2624 (tramp-file-name-handler): Use it.
2625
2626 2013-02-14 Juri Linkov <juri@jurta.org>
2627
2628 * info.el (Info-isearch-filter): Treat non-nil values of
2629 `search-invisible' including its default value `open'
2630 like the value `t' to match hidden text. (Bug#13402)
2631
2632 2013-02-14 Glenn Morris <rgm@gnu.org>
2633
2634 * help-fns.el (find-lisp-object-file-name): Give special treatment
2635 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2636
2637 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2638
2639 * net/quickurl.el (quickurl-save-urls):
2640 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2641
2642 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2643
2644 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2645 depth for unfinished percent literal. Not using it in the caller.
2646 (ruby-move-to-block): Jump over multiline literals of all types,
2647 ignoring code-looking contents inside them.
2648 (ruby-add-log-current-method): Improve performance at the expense
2649 of accuracy. `ruby-block-contains-point' is relatively slow, so
2650 only use it for method and singleton class blocks.
2651
2652 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2653
2654 Use ControlMaster where applicable. (Bug#13677)
2655
2656 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2657 replacing `tramp-detect-ssh-controlmaster'.
2658 (tramp-default-method): Use it.
2659
2660 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2661 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2662 arguments.
2663 [scpc, rsyncc]: Remove methods.
2664 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2665 and "ssh2_old".
2666 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2667 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2668
2669 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * emacs-lisp/package.el (package--initialized): Move before first use.
2672
2673 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2674
2675 * icomplete.el (icomplete-hide-common-prefix): New user option.
2676 (icomplete-first-match): New face.
2677 (icomplete-completions): Correct handling of "complete but not
2678 unique" (Bug#12638).
2679
2680 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2681
2682 * descr-text.el (describe-char): Display the script (bug#13698).
2683
2684 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * tmm.el: Use lexical-binding and current-active-maps.
2687 (tmm-menubar): Use map-keymap and pcase.
2688 (tmm--completion-table): New function.
2689 (tmm-prompt): Use it to fix the menu order.
2690 (tmm-get-keybind): Use current-active-maps.
2691
2692 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2693
2694 Add dired-hide-details-mode. (Bug#6799)
2695
2696 * locate.el (locate-mode): Set parent mode property to dired-mode.
2697
2698 * find-dired.el (find-dired): Call dired-insert-set-properties on
2699 initial information line. Set process mark on end of buffer.
2700 (find-dired-sentinel):
2701 Call dired-insert-set-properties on summary.
2702
2703 * dired.el (dired-hide-details-hide-symlink-targets)
2704 (dired-hide-details-hide-information-lines): New options.
2705 (dired-insert-directory):
2706 Set properties after final treatment of output.
2707 (dired-insert-set-properties):
2708 Set dired-hide-details-* properties.
2709 (dired-mode-map): Bind dired-hide-details-mode.
2710 (dired-mode): Set buffer-invisibility-spec to a list.
2711 (dired-next-line): Skip hidden lines.
2712 (dired-previous-line): Use dired-next-line.
2713 (dired-hide-details-mode): New minor mode.
2714 (dired-hide-details-update-invisibility-spec): New function.
2715
2716 2013-02-13 Glenn Morris <rgm@gnu.org>
2717
2718 * play/yow.el: Move to obsolete/. (Bug#9384)
2719
2720 2013-02-13 Juri Linkov <juri@jurta.org>
2721
2722 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2723 to select `ediff-control-frame' and set input focus correctly on Xfce.
2724 (Bug#12218)
2725
2726 2013-02-13 Juri Linkov <juri@jurta.org>
2727
2728 * image-mode.el (image-mode-map):
2729 * doc-view.el (doc-view-mode-map):
2730 * vc/ediff-util.el (ediff-setup-keymap):
2731 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2732
2733 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2734
2735 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2736 performance. Instead of recalculating indentation fully for each
2737 line, sum up indentation depth based only on visited lines.
2738 (ruby-parse-partial): Increase the depth after "do" even when END
2739 is right after it.
2740 (ruby-parse-partial): When END is in the middle of a percent
2741 literal, increase the depth if the delimiter chars belong to the
2742 paren syntax class.
2743
2744 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2745
2746 * play/fortune.el (fortune-compile): Also make the compiled file
2747 if it does not exist at all, not just if it is old. (Bug#5338)
2748
2749 2013-02-13 Glenn Morris <rgm@gnu.org>
2750
2751 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2752
2753 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2754
2755 * lisp/emacs-lisp/package.el (package-menu-execute):
2756 Add optional noquery argument. (Bug#13625)
2757
2758 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2759
2760 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2761 if DIR exists and PARENTS is non-nil.
2762
2763 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * progmodes/js.el (js--multi-line-declaration-indentation):
2766 Silence byte-compiler warning.
2767
2768 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2769
2770 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2771
2772 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2773 only if it doesn't exist.
2774
2775 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2776 Set process marker.
2777
2778 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2779
2780 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2781 UserInstallation when calling soffice to work around LibreOffice
2782 bug 37531.
2783
2784 2013-02-12 Glenn Morris <rgm@gnu.org>
2785
2786 * files.el (basic-save-buffer):
2787 Offer to create a non-existing directory. (Bug#3016)
2788
2789 * calc/calc-graph.el (calc-graph-show-dumb):
2790 * calendar/calendar.el (calendar-mode-map):
2791 * cus-edit.el (custom-mode-map):
2792 * ehelp.el (electric-help-map):
2793 * emulation/vip.el (vip-mode-map):
2794 * epa.el (epa-key-list-mode-map):
2795 * info.el (Info-mode-map):
2796 * mail/rmail.el (rmail-mode-map):
2797 * mail/rmailsum.el (rmail-summary-mode-map):
2798 * man.el (Man-mode-map):
2799 * net/newst-plainview.el (newsticker-mode-map):
2800 * progmodes/cpp.el (cpp-edit-mode-map):
2801 * progmodes/grep.el (grep-mode-map):
2802 * progmodes/idlw-help.el (idlwave-help-mode-map):
2803 * simple.el (special-mode-map):
2804 * startup.el (splash-screen-keymap):
2805 * view.el (view-mode-map):
2806 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2807
2808 2013-02-11 Elias Pipping <pipping@lavabit.com>
2809
2810 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2811 (bug#13679).
2812
2813 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2814
2815 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2816
2817 2013-02-11 Glenn Morris <rgm@gnu.org>
2818
2819 * vc/diff.el (diff-use-labels): New variable.
2820 (diff-no-select): Use --label rather than -L, and first
2821 check that it is supported. (Bug#11067)
2822
2823 * files.el (enable-dir-local-variables): New variable.
2824 (hack-dir-local-variables): Respect enable-dir-local-variables.
2825 * tutorial.el (help-with-tutorial):
2826 Ignore directory-local variables. (Bug#11127)
2827
2828 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2829 (vc-svn-global-switches): ... to here. (Bug#13513)
2830
2831 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2832
2833 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2834 Handle "foo (bar, default: xxx): " prompts.
2835
2836 2013-02-10 Chong Yidong <cyd@gnu.org>
2837
2838 * files.el (basic-save-buffer-1): Do not set
2839 buffer-file-coding-system-explicit (Bug#4533).
2840
2841 * mail/emacsbug.el (report-emacs-bug): Change binding of
2842 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2843
2844 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2845
2846 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2847 * calc/calc-units.el (calc-convert-units): Use new variable.
2848
2849 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2850
2851 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2852
2853 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2854 buffer-file-type.
2855
2856 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2857 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2858 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2859 coding-system-for-write instead.
2860
2861 * jka-compr.el (jka-compr-write-region): Don't bind
2862 buffer-file-type.
2863
2864 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2865 buffer-file-type.
2866
2867 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2868 (insert-file-contents-literally): Remove reference to
2869 file-name-buffer-file-type-alist.
2870
2871 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2872 make-obsolete.
2873 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2874 (find-buffer-file-type-coding-system): Remove references to
2875 find-buffer-file-type-match, find-buffer-file-type, and
2876 buffer-file-type.
2877 Don't put find-buffer-file-type-coding-system into
2878 file-coding-system-alist.
2879 (find-file-binary, find-file-text): Bind coding-system-for-read
2880 instead of file-name-buffer-file-type-alist.
2881
2882 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2883
2884 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2885 converter (Bug#13622).
2886 (doc-view-unoconv-program): Make obsolete alias.
2887 (doc-view-odf->pdf-converter-program): New variable.
2888 (doc-view-odf->pdf-converter-function): New variable.
2889 (doc-view-mode-p): Use it.
2890 (doc-view-odf->pdf-converter-unoconv):
2891 Rename from `doc-view-odf->pdf-converter-unoconv'.
2892 (doc-view-odf->pdf-converter-soffice): New function.
2893 (doc-view-convert-current-doc):
2894 Use `doc-view-odf->pdf-converter-function'.
2895
2896 2013-02-09 Chong Yidong <cyd@gnu.org>
2897
2898 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2899 view-echo-area-messages (Bug#13340).
2900
2901 * help.el (view-echo-area-messages): Use display-buffer.
2902
2903 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2904 (Bug#13561).
2905
2906 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2909 Eval body right away, now that we do eager macroexpansion (bug#13605).
2910
2911 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2912 (fundamental-mode): Use run-mode-hooks.
2913
2914 * eshell/esh-proc.el (eshell/kill): Fix last change.
2915 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2916
2917 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2918
2919 * eshell/esh-proc.el (eshell/kill): Rewrite.
2920
2921 * eshell/em-ls.el (show-almost-all): Declare.
2922 (eshell-do-ls): Add support for -A argument.
2923
2924 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2925
2926 * icomplete.el (icomplete-forward-completions)
2927 (icomplete-backward-completions): Handle corner case (bug#13602).
2928
2929 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2932 be nil. Handle this. (Bug#13636)
2933
2934 2013-02-07 Richard Stallman <rms@gnu.org>
2935
2936 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2937 `save-buffer-coding-system'.
2938
2939 2013-02-07 Alan Mackenzie <acm@muc.de>
2940
2941 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2942 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2943 (c-parse-state-get-strategy): Don't return 'BOD any more.
2944 (c-append-lower-brace-pair-to-state-cache):
2945 Extra parameter HERE instead of narrowing.
2946 Widen to top of buffer before searching backwards for a brace pair.
2947 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2948 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2949 Narrow to parameter HERE, in place of being called narrowed.
2950 (c-remove-stale-state-cache): Extra parameter HERE in place of
2951 narrowing. Check there's an open brace in the cache before
2952 searching for its match.
2953 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2954 (c-parse-state-1): Don't narrow here for 'forward strategy,
2955 instead passing extra parameter HERE to several functions.
2956 Remove 'BOD strategy.
2957
2958 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2959
2960 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2961 used to install the package.
2962
2963 2013-02-06 Glenn Morris <rgm@gnu.org>
2964
2965 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2966 if we can't get user input. (Bug#6567)
2967
2968 * startup.el (command-line): If simple.el is missing,
2969 test and warn about for some possible causes.
2970
2971 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2972
2973 * cus-start.el (all): Add ns-use-native-fullscreen.
2974
2975 2013-02-05 Glenn Morris <rgm@gnu.org>
2976
2977 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2978
2979 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2980 Fix directory creation in fallback case.
2981
2982 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2983
2984 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2985 (vc-update-change-log): Use dolist.
2986
2987 2013-02-04 Chong Yidong <cyd@gnu.org>
2988
2989 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2990 code from ffap.el.
2991 (thing-at-point-beginning-of-url-regexp): New var.
2992 (thing-at-point-uri-schemes): Update list of URI schemes.
2993 (thing-at-point-url-regexp): Variable deleted.
2994 (thing-at-point-markedup-url-regexp): Disallow newlines.
2995 (thing-at-point-newsgroup-regexp)
2996 (thing-at-point-newsgroup-heads)
2997 (thing-at-point-default-mail-uri-scheme): New variables.
2998 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2999 method to find the possible bounds of the URI at point.
3000 New optional argument to find ill-formed URIs.
3001 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3002 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3003 the scheme-adding heuristics from ffap-url-at-point.
3004 (thing-at-point--bounds-of-well-formed-url): New function.
3005 Do parens matching to decide whether to include parens in the URI
3006 (Bug#9153).
3007
3008 * ffap.el: Require thingatpt.
3009 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3010 All URI-valid characters are now recognized (Bug#5673).
3011 (ffap-string-at-point): Use use-region-p.
3012 (ffap-url-regexp): Extra character is handled by thing-at-point.
3013 (ffap-string-at-point-mode-alist): Allow parentheses.
3014 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3015 Convert to aliases; code moved to thingatpt.el.
3016 (ffap-gnus-hook): Use setq-local.
3017
3018 2013-02-04 Glenn Morris <rgm@gnu.org>
3019
3020 * emacs-lisp/ert.el (ert--explain-format-atom):
3021 Don't try to print non-characters as characters. (Bug#13543)
3022
3023 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3024
3025 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3026 (tramp-backtrace): New defun.
3027 (tramp-handle-insert-file-contents): Use `visit' when inserting
3028 the local copy.
3029
3030 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3031 Use `remote-file-name-inhibit-cache'.
3032
3033 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3036 (bug#13614).
3037
3038 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3039 current-load-list (bug#13366).
3040
3041 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3042
3043 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3044 Identify g++ template instantiation trace. (Bug#12287)
3045 (compilation-mode-hook, compilation-start-hook)
3046 (compilation-window-height): Simplify docstrings. (Bug#13379)
3047
3048 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * mouse.el (mouse-drag-track): Always deactivate the mark before
3051 running the final event's command since that command is in charge of
3052 activating the mark if needed (bug#13523).
3053
3054 2013-02-02 Juri Linkov <juri@jurta.org>
3055
3056 * replace.el (perform-replace): Move let-bindings of isearch-*
3057 variables deeper to the loop that searches for the next match.
3058 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3059 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3060 (Bug#13579)
3061
3062 * isearch.el (isearch-search-fun-default): Check for null
3063 first element of isearch-cmds as a precaution when it's used
3064 with inactive isearch.
3065
3066 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3067
3068 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3069 error when buffer in question is narrowed so position 1 is out of
3070 visible part.
3071
3072 2013-02-02 Glenn Morris <rgm@gnu.org>
3073
3074 * textmodes/remember.el (remember-clipboard): Doc fix.
3075
3076 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3079 properties (bug#13179).
3080
3081 2013-02-02 Juri Linkov <juri@jurta.org>
3082
3083 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3084 instead of hard-coded default face `match'. (Bug#9438)
3085
3086 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3087
3088 * vc/vc-arch.el (vc-arch-registered):
3089 * vc/vc-bzr.el (vc-bzr-registered):
3090 * vc/vc-cvs.el (vc-cvs-registered):
3091 * vc/vc-git.el (vc-git-registered):
3092 * vc/vc-hg.el (vc-hg-registered):
3093 * vc/vc-mtn.el (vc-mtn-registered):
3094 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3095 (Bug#13139)
3096
3097 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3098 prefix argument. (Bug#11656)
3099
3100 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3103
3104 2013-02-01 Glenn Morris <rgm@gnu.org>
3105
3106 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3107 if the backend is known not to support it.
3108
3109 * imenu.el (imenu-default-create-index-function):
3110 Tweak infinite loop test to check for forward motion as well as none.
3111
3112 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3113
3114 * net/soap-client.el (soap-invoke): Encode the string for
3115 `url-request-data' as UTF-8.
3116 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3117
3118 2013-02-01 Glenn Morris <rgm@gnu.org>
3119
3120 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3121
3122 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3123
3124 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3125
3126 * net/tramp.el (tramp-tramp-file-p): Comment check for
3127 `string-as-unibyte'. The function does not exist on XEmacs, and
3128 likely we need another approach.
3129
3130 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3131 `tramp-gw-*' variables are bound.
3132
3133 2013-01-31 Glenn Morris <rgm@gnu.org>
3134
3135 * files.el (basic-save-buffer-2): Choose coding system for
3136 writing the file before backing it up, to reduce delay between
3137 backing up and writing the new version. (Bug#13522)
3138
3139 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3140
3141 * simple.el (cycle-spacing): New command.
3142 (just-one-space): Use it.
3143
3144 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3147 (opascal-newline-always-indents): Remove custom.
3148 (opascal-tab, opascal-newline): Remove commands.
3149 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3150 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3151 (opascal-save-match-data): Remove, use save-match-data instead.
3152 (opascal-save-state): Use with-silent-modifications.
3153
3154 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3155 (bug#13585).
3156
3157 2013-01-30 Juri Linkov <juri@jurta.org>
3158
3159 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3160 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3161 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3162
3163 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3166 column if we're just deleting the backslashes.
3167 (makefile-fill-paragraph): Use eolp.
3168
3169 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3170
3171 * autorevert.el (auto-revert-use-notify): Fix docstring.
3172
3173 2013-01-30 Leo Liu <sdl.web@gmail.com>
3174
3175 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3176
3177 2013-01-30 Glenn Morris <rgm@gnu.org>
3178
3179 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3180 unread-command-events twice in some cases. This tries to implement
3181 the 2012-07-26 changes in a different way. (Bug#13560)
3182
3183 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3184
3185 * progmodes/python.el
3186 (python-pdbtrack-comint-output-filter-function): Enhancements on
3187 stacktrace detection. (thanks @gnovak)
3188
3189 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3190
3191 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3192 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3193 Use defvar-local.
3194 (jit-lock-register): Use setq-local.
3195
3196 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3197
3198 * calc-units.el (math-default-units-table): Remove initial value.
3199 (calc-convert-units): Treat expressions where all the units cancel as
3200 if they didn't have units.
3201
3202 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3203
3204 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3205 (tramp-completion-reread-directory-timeout): Fix type.
3206 (tramp-connection-min-time-diff): New defcustom.
3207
3208 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3209
3210 2013-01-30 Glenn Morris <rgm@gnu.org>
3211
3212 * imenu.el (imenu-default-create-index-function):
3213 Put back a version of the infinite loop test removed 2013-01-23.
3214
3215 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3216
3217 * progmodes/python.el (python-shell-parse-command):
3218 Find python-shell-interpreter with modified environment.
3219
3220 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3223
3224 2013-01-29 Alan Mackenzie <acm@muc.de>
3225
3226 Amend to fontify /regexp/s in actions correctly.
3227 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3228 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3229 are no longer included.
3230 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3231 What used to be these variables without "-line" in the name.
3232 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3233 (c-awk-non-arith-op-bra-re): Now also matches {.
3234 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3235 "return", and "case".
3236 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3237 by /.
3238 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3239 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3240
3241 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * autorevert.el (auto-revert-use-notify):
3244 Use `custom-initialize-default' for initialization. (Bug#13583)
3245
3246 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3247
3248 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3249 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3250 in `tramp-file-name-handler'.
3251 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3252 compatibility.
3253 (tramp-compute-multi-hops): Check, whether
3254 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3255
3256 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3259 (bug#13297).
3260
3261 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3262
3263 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3264 checks made superfluous by the \_< operator.
3265 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3266 temporarily) broken indentation.
3267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3268 Highlight nested constants, too. \_< broke that.
3269
3270 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3271
3272 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3273 instead of "\\b".
3274
3275 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3276
3277 * autorevert.el (auto-revert-handler): Notifications which result
3278 from a saved file shall not be taken into account. (Bug#13557)
3279
3280 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3281
3282 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3283 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3284 (lisp-mode): Pass t for it. (Bug#13556)
3285
3286 2013-01-25 Alan Mackenzie <acm@muc.de>
3287
3288 AWK Mode: Fix indentation bug at top level. Bug #12274.
3289
3290 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3291 just before CASE 5D.
3292
3293 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3294
3295 * net/socks.el (socks-nslookup-host): Use string-to-number.
3296
3297 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3298
3299 * autorevert.el (auto-revert-remote-files)
3300 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3301 (auto-revert-notify-enabled, auto-revert-use-notify)
3302 (auto-revert-notify-watch-descriptor-hash-list)
3303 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3304 (auto-revert-notify-event-descriptor)
3305 (auto-revert-notify-event-action)
3306 (auto-revert-notify-event-file-name): Doc fix.
3307 (global-auto-revert-mode): Reorder checks.
3308 (auto-revert-notify-rm-watch): Respect changed values of
3309 `auto-revert-notify-watch-descriptor-hash-list'.
3310 (auto-revert-notify-add-watch): Check for
3311 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3312 `inotify-add-watch'. Watch `default-directory' instead of
3313 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3314 has a changed meaning now. (Bug#13540)
3315 (auto-revert-notify-handler): Change implementation wrt events
3316 returning from a directory.
3317 (auto-revert-handler): Reorder implementation for checks of remote
3318 files.
3319 (auto-revert-buffers): Fix parentheses error.
3320
3321 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3322
3323 * progmodes/python.el: Enhancements to header documentation about
3324 skeletons. (Bug#5716)
3325
3326 * imenu.el (imenu-default-create-index-function): Remove useless
3327 infinite loop check. (Bug#13438)
3328
3329 2013-01-25 Alan Mackenzie <acm@muc.de>
3330
3331 Fix a bug in the state cache mechanism. Refactor this a bit.
3332
3333 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3334 `cache-pos' element from the return value.
3335 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3336 buffer to enable proper searching from beyond HERE. Amend the
3337 test for detecting the sought brace pair. Amend the value written
3338 to the "brace desert cache" when the brace isn't found.
3339 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3340 and several other variables analogously.
3341 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3342 parameter to a locally calculated variable.
3343 (c-parse-state-1): Change the calling conventions to the two
3344 defuns involving `cache-pos'.
3345
3346 2013-01-25 Chong Yidong <cyd@gnu.org>
3347
3348 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3349
3350 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3351
3352 * paren.el (show-paren-function): Make sure to set 'priority and
3353 'face only if the overlay does exist.
3354
3355 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3356
3357 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3358
3359 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3360 basic attributes.
3361 (tramp-sh-handle-set-file-acl): Improve error checking.
3362
3363 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3364
3365 * doc-view.el (doc-view-display): Force mode line update until all
3366 document is converted. Suggested by Stefan Monnier (Bug#13164).
3367
3368 2013-01-23 Bastien Guerry <bzg@gnu.org>
3369
3370 * paren.el (show-paren-function): Make sure an overlay exists
3371 before trying to delete it. Also use `pos' as a position only
3372 when it is an integer.
3373
3374 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3375
3376 * play/gametree.el (gametree-break-line-here): Use point-marker.
3377
3378 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3381 Mark descriptive parts with `display' property.
3382
3383 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3384
3385 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3386 New variable to map standard dict names to hunspell ones.
3387 (ispell-set-spellchecker-params): Make sure specific dict names
3388 are used for standard dicts with hunspell.
3389
3390 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3391
3392 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3393 chars for note (%N) and url (%U).
3394 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3395
3396 2013-01-21 Juri Linkov <juri@jurta.org>
3397
3398 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3399 in addition to existing separate binding `meta f10' in `global-map'.
3400 (Bug#13484)
3401
3402 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3403
3404 Improve XEmacs compatibility.
3405
3406 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3407
3408 * net/tramp-adb.el (top): Require `time-date'.
3409 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3410 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3411 Use `tramp-file-name-handler'.
3412 (tramp-adb-maybe-open-connection):
3413 Use `tramp-compat-set-process-query-on-exit-flag'.
3414
3415 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3416 Use `tramp-compat-funcall'.
3417
3418 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3419 `tramp-compat-funcall'.
3420
3421 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3422
3423 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3424 reimplementation using "adb shell command ..." instead of running
3425 remote shell interactively.
3426
3427 2013-01-20 Glenn Morris <rgm@gnu.org>
3428
3429 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3430 Add native profiler menu entries.
3431
3432 * profiler.el (profiler-running-p): New function.
3433 (profiler-cpu-profile): Use profiler-running-p.
3434 (profiler-report-mode-map): Add some more menu entries.
3435
3436 2013-01-19 Glenn Morris <rgm@gnu.org>
3437
3438 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3439 fixes 2012-12-07 change. (Bug#13499)
3440
3441 2013-01-19 Leo Liu <sdl.web@gmail.com>
3442
3443 * dired.el (dired-get-marked-files): Prune erroneous values due to
3444 last change. (Bug#13152)
3445
3446 2013-01-19 Glenn Morris <rgm@gnu.org>
3447
3448 * progmodes/etags.el (tags-table-check-computed-list):
3449 Preserve point in tags buffer. (Bug#13412)
3450
3451 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3452
3453 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3454 Chong Yidong <cyd@gnu.org>
3455
3456 * image-mode.el (image-next-file, image-previous-file):
3457 New commands (Bug#8453).
3458 (image-mode-map): Bind them to n and p.
3459 (image-mode--images-in-directory): New helper function.
3460
3461 2013-01-19 Chong Yidong <cyd@gnu.org>
3462
3463 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3464 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3465 save and restore the old window configuration.
3466
3467 2013-01-18 Leo Liu <sdl.web@gmail.com>
3468
3469 * progmodes/js.el: Tweak autoload cookie for alias.
3470
3471 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3472
3473 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3474 buffer local, again. This was lost with the fix on 2013-01-12.
3475
3476 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3477
3478 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3479 order to support several eshell buffers in parallel.
3480
3481 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3482
3483 * autorevert.el (auto-revert-use-notify): In the :set function, do
3484 not modify `kill-buffer-hook'.
3485 (auto-revert-notify-rm-watch):
3486 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3487 (auto-revert-notify-add-watch): Do not call
3488 `auto-revert-notify-rm-watch', but add it to a buffer local
3489 `kill-buffer-hook'.
3490
3491 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3494 call to `eval' rather than a backquoted lambda.
3495
3496 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3499 to return an explicit nil.
3500 (advice--remove-function): Change accordingly.
3501
3502 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3503 the use of nadvice.el.
3504
3505 * progmodes/which-func.el (which-function): Silence imenu errors
3506 (bug#13433).
3507
3508 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3509
3510 * progmodes/sql.el (sql-imenu-generic-expression):
3511 (sql-mode-font-lock-object-name): Match schema qualified names.
3512 (sql-connect): Use string keys.
3513 (sql-product-interactive): Wait for interpreter prompt.
3514 (sql-comint-oracle): Set process coding based on NLS_LANG.
3515
3516 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3517
3518 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3519 (sql-interactive-remove-continuation-prompt):
3520 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3521
3522 2013-01-14 Leo Liu <sdl.web@gmail.com>
3523
3524 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3525 (Bug#13420)
3526
3527 2013-01-14 Glenn Morris <rgm@gnu.org>
3528
3529 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3530 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3531
3532 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3533
3534 * progmodes/python.el (python-nav-end-of-statement):
3535 Fix cornercase when handling multiline strings.
3536
3537 2013-01-13 Richard Stallman <rms@gnu.org>
3538
3539 * mail/sendmail.el (mail-position-on-field): Add doc string.
3540
3541 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3542 Get current message boundaries and pass them to
3543 message-forward-make-body-mime. Minor style changes.
3544
3545 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3546
3547 * cus-start.el (all): Avoid warnings about
3548 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3549
3550 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3551
3552 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3553
3554 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3557 (jit-lock--debug-fontifying): New var.
3558 (jit-lock--debug-fontify): New function.
3559 * subr.el (condition-case-unless-debug): Don't prevent catching the
3560 error, just let the debbugger run.
3561 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3562 timer code and don't drop errors silently.
3563
3564 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3565
3566 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3567 `permanent-local' property.
3568 (auto-revert-notify-handler): Use `file-equal-p'.
3569
3570 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3571
3572 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3573 file notification by ACTION. For filtering by file name, compare
3574 only the non-directory part of the file name.
3575
3576 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * autorevert.el: Use cl-lib instead of cl.
3579
3580 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3581 (vc-bzr-checkin): Use it.
3582 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3583 will preserve match-data.
3584
3585 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3586
3587 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3588 (js--declaration-keyword-re): New var.
3589 (js--multi-line-declaration-indentation): New function.
3590 (js--proper-indentation): Use it.
3591
3592 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3593
3594 * calc/calc.el (calc-highlight-selections-with-faces)
3595 (calc-dispatch):
3596 * comint.el (comint-history-isearch-message):
3597 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3598 * ffap.el (ffap-string-at-point-region, ffap-next)
3599 (ffap-string-at-point, ffap-string-around)
3600 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3601 (ffap-literally):
3602 * font-lock.el (font-lock-keywords-alist)
3603 (font-lock-removed-keywords-alist):
3604 * help-mode.el (help-xref-symbol-regexp):
3605 * info.el (Info-find-emacs-command-nodes):
3606 * international/mule.el (add-to-coding-system-list):
3607 * isearch.el (isearch-message-function, isearch-fail-pos):
3608 * misearch.el (multi-isearch-next-buffer-function):
3609 * newcomment.el (comment-box):
3610 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3611 (pr-setting-database):
3612 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3613 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3614 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3615 (pike-font-lock-keywords-3):
3616 * progmodes/compile.el (compile):
3617 * progmodes/etags.el (tags-table-files)
3618 (tags-table-files-function, tags-included-tables-function):
3619 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3620 (gdb-restore-windows):
3621 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3622 (ps-n-up-filling-database):
3623 * server.el (server-buffer, server-log):
3624 * simple.el (newline, delete-backward-char, delete-forward-char)
3625 (minibuffer-history-isearch-message, kill-line, track-eol)
3626 (temporary-goal-column):
3627 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3628 (flyspell-default-deplacement-commands):
3629 * textmodes/ispell.el (ispell-accept-output):
3630 * textmodes/sgml-mode.el (html-tag-help):
3631 * vc/compare-w.el (compare-ignore-whitespace)
3632 (compare-ignore-case, compare-windows-dehighlight):
3633 * vc/diff.el (diff):
3634 * whitespace.el (whitespace-point)
3635 (whitespace-font-lock-refontify, whitespace-bob-marker)
3636 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3637
3638 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3639
3640 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3641 (auto-revert-notify-rm-watch): Ignore errors.
3642 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3643 inotify, and '(size last-write-time) for w32notify.
3644 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3645 watch fails - this is a fallback to the file modification check.
3646 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3647 (auto-revert-notify-event-action)
3648 (auto-revert-notify-event-file-name): New defuns.
3649 (auto-revert-notify-handler): Use them. Implement first
3650 plausibility checks.
3651 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3652
3653 2013-01-11 Julien Danjou <julien@danjou.info>
3654
3655 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3656 max are almost equal. Also return the correct value for V which is
3657 already between 0 and 1.
3658
3659 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3660
3661 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3662
3663 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3664
3665 * autorevert.el (auto-revert-notify-rm-watch)
3666 (auto-revert-notify-add-watch): Fix typos in w32notify function
3667 names.
3668
3669 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3670
3671 * autorevert.el (auto-revert-notify-enabled): Move up.
3672 (auto-revert-use-notify): New defcustom.
3673 (auto-revert-mode, global-auto-revert-mode)
3674 (auto-revert-notify-add-watch, auto-revert-handler)
3675 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3676 `auto-revert-notify-enabled'.
3677
3678 2013-01-10 Elias Pipping <pipping@exherbo.org>
3679
3680 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3681 * doc-view.el (doc-view-document->bitmap):
3682 Use doc-view-single-page-converter-function instead of
3683 single-page-converter arg; adjust callers.
3684
3685 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3686
3687 * progmodes/which-func.el (which-function): Understand Semantic's use
3688 of overlays in imenu--index-alist.
3689
3690 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3691
3692 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3693 (Man-man-k-use-anchor): New var.
3694 (Man-parse-man-k): New function.
3695 (Man-completion-table): Use it.
3696 (man): Flush the completion cache between uses.
3697
3698 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3699
3700 * autorevert.el: Add file watch support.
3701 (auto-revert-notify-enabled): New defconst.
3702 (auto-revert-notify-watch-descriptor-hash-list)
3703 (auto-revert-notify-watch-descriptor)
3704 (auto-revert-notify-modified-p): New defvars.
3705 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3706 (auto-revert-notify-handler): New defuns.
3707 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3708 when mode is disabled.
3709 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3710 (auto-revert-buffers): Add file watches for active buffers.
3711
3712 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3713
3714 * cus-start.el (toplevel): Only allow float values for
3715 scroll-up-aggressively and scroll-down-aggressively.
3716 Allow any number for line-spacing.
3717
3718 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3721 (doc-view-pdf->png-converter-function): Use mupdf if available.
3722 (doc-view-djvu->png-converter-function)
3723 (doc-view-ps->png-converter-function): Remove.
3724 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3725 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3726 (doc-view-already-converted-p): Adjust accordingly.
3727 (doc-view-mode-p): Simplify.
3728 (doc-view-enlarge): Use setq-local.
3729 (doc-view-pdf->png-converter-ghostscript)
3730 (doc-view-djvu->png-converter-ddjvu)
3731 (doc-view-pdf->png-converter-mupdf): Rework to call
3732 doc-view-start-process directly.
3733 (doc-view-pdf/ps->png): Simplify accordingly.
3734 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3735 (doc-view-document->bitmap): Rename from doc-view-document->png.
3736 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3737 (doc-view-set-slice-from-bounding-box): Fix completion table.
3738 (doc-view-mode): Use add-hook for after-revert-hook.
3739
3740 2013-01-10 Glenn Morris <rgm@gnu.org>
3741
3742 * emacs-lisp/authors.el (authors-ignored-files)
3743 (authors-valid-file-names, authors-renamed-files-alist):
3744 Add some more entries.
3745
3746 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3749 `t' pseudo-window entry.
3750
3751 2013-01-10 Alan Mackenzie <acm@muc.de>
3752
3753 Fix bugs in the c-parse-state mechanism. Reuse some markers
3754 instead of continually generating new ones.
3755
3756 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3757 (c-state-old-cpp-end-marker): New variables.
3758 (c-append-lower-brace-pair-to-state-cache): Start a backward
3759 search for "}" definitively outside CPP constructs.
3760 (c-remove-stale-state-cache): Inform the caller of a need to
3761 search back for a brace pair in certain circumstances.
3762 (c-state-maybe-marker): New macro.
3763 (c-parse-state): Reuse markers when appropriate.
3764
3765 2013-01-10 Glenn Morris <rgm@gnu.org>
3766
3767 * simple.el (execute-extended-command): Doc fix.
3768 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3769
3770 2013-01-10 Chong Yidong <cyd@gnu.org>
3771
3772 * faces.el (read-face-name): Doc fix.
3773
3774 2013-01-10 Roland Winkler <winkler@gnu.org>
3775
3776 * emacs-lisp/crm.el: Allow any regexp for separators.
3777 (crm-default-separator): All spaces around the default comma separator.
3778 (crm--completion-command): New macro.
3779 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3780 (crm-complete-and-exit): Handle non-single-char separators.
3781
3782 2013-01-09 Elias Pipping <pipping@lavabit.com>
3783
3784 * doc-view.el: Add support for DjVu (bug#13164).
3785 (doc-view-djvu->png-converter-function): New config var.
3786 (doc-view-single-page-converter-function, doc-view--image-type)
3787 (doc-view--image-file-extension): New vars.
3788 (doc-view-mode): Initialize them.
3789 (doc-view-goto-page): Use them.
3790 (doc-view-mode-p): Add support for ddjvu.
3791 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3792 (doc-view-set-up-single-converter): New funs.
3793 (doc-view-pdf/ps->png): Extend for djvu.
3794 (doc-view-document->png): Rename from doc-view-pdf->png.
3795 (doc-view-convert-current-doc): Handle djvu.
3796 (doc-view-insert-image, doc-view-display)
3797 (doc-view-already-converted-p): Don't hardcode png.
3798 (doc-view-set-doc-type): Recognize djvu docs.
3799
3800 2013-01-09 Elias Pipping <pipping@lavabit.com>
3801
3802 * doc-view.el: Add support for mupdf converter (bug#13164).
3803 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3804 (doc-view-ps->png-converter-function): New config vars.
3805 (doc-view-pdf->png-converter-ghostscript)
3806 (doc-view-ps->png-converter-ghostscript)
3807 (doc-view-pdf->png-converter-mupdf): New functions.
3808 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3809
3810 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3811
3812 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3813 first in session cache: When `tramp-own-remote-path' is in
3814 `tramp-remote-path', the remote path is only set in the session
3815 cache.
3816
3817 2013-01-09 Glenn Morris <rgm@gnu.org>
3818
3819 * emacs-lisp/trace.el (trace-function-foreground)
3820 (trace-function-background): Doc fix.
3821
3822 2013-01-09 Juri Linkov <juri@jurta.org>
3823
3824 * international/mule-cmds.el (read-char-by-name): Move let-binding
3825 of completion-ignore-case around completing-read to fix regression
3826 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3827 `string-match-p' using the nil value of `case-fold-search' and
3828 `completion-ignore-case' in `completion-pcm--all-completions'.
3829 (Bug#12615).
3830
3831 2013-01-09 Glenn Morris <rgm@gnu.org>
3832
3833 * progmodes/compile.el (compilation-parse-errors):
3834 Fix typo. (Bug#13369)
3835
3836 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3837
3838 * comint.el (comint-send-input): Check size of buffer before
3839 waiting for process output, in case already accepted. (Bug#13290)
3840
3841 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3842
3843 Spelling fixes.
3844 * net/tramp-adb.el (tramp-adb-get-toolbox):
3845 Fix misspelling of 'unknown'.
3846
3847 2013-01-08 Juri Linkov <juri@jurta.org>
3848
3849 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3850 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3851 Use underline style wave on terminals that support it. (Bug#13000)
3852
3853 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3856 the predicate returns nil.
3857
3858 * simple.el: Use lexical-binding.
3859 (primitive-undo): Use pcase.
3860 (minibuffer-history-isearch-push-state): Use a closure.
3861
3862 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3863
3864 * simple.el (primitive-undo): Move from undo.c.
3865
3866 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3869 (cvs-mode-remove-handled): Use it (bug#13380).
3870
3871 * emacs-lisp/nadvice.el (advice--tweak): New function.
3872 (advice--remove-function, advice--subst-main): Use it.
3873
3874 * emacs-lisp/advice.el: Update commentary.
3875
3876 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3877
3878 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3879 Remove spurious entry.
3880
3881 2013-01-08 Glenn Morris <rgm@gnu.org>
3882
3883 * net/tramp.el (tramp-default-host-alist): Add :version.
3884
3885 2013-01-08 Juri Linkov <juri@jurta.org>
3886
3887 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3888 single completion. (Bug#12456)
3889 (info--manual-names): Expand node completions into an explicit list
3890 before appending it to another list. Filter out internal buffers
3891 with the leading space in the buffer name. (Bug#10771)
3892
3893 2013-01-08 Juri Linkov <juri@jurta.org>
3894
3895 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3896 that defaults to the Top node.
3897 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3898 the short format (FILENAME) goes to the Top node.
3899 (Info-build-node-completions): Rename arg `file' to `filename'.
3900 (Bug#13365)
3901
3902 2013-01-07 Bastien Guerry <bzg@gnu.org>
3903
3904 * menu-bar.el (menu-bar-search-documentation-menu):
3905 Use `apropos-user-option' and fix the help message.
3906
3907 2013-01-07 Bastien Guerry <bzg@gnu.org>
3908
3909 * apropos.el (apropos-do-all): Update docstring.
3910 (apropos-user-option-button): New face.
3911 (apropos-user-option): Rename from `apropos-variable' and update
3912 docstring.
3913 (apropos-variable): Rewrite, now show all variables by default.
3914 (apropos-print): Mention "User option" instead of "Variable" when
3915 printing doc for user options. (Bug#13276)
3916
3917 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3918
3919 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3920 Handle filename correctly, when parsing "source -> target" symlink
3921 output.
3922 (tramp-adb-handle-set-file-times): New defun.
3923
3924 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3927 advice list when the interactive-spec of ad-Advice-* changes.
3928
3929 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3930
3931 * wid-edit.el (widget-default-get): Work for inlined elements.
3932 (Bug#12670)
3933
3934 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3935
3936 * net/tramp.el (tramp-default-host-alist): New defcustom.
3937 (tramp-find-host): Use it.
3938 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3939 `eshell-directory-change-hook'.
3940
3941 * net/tramp-adb.el (top): Add adb specific entry in
3942 `tramp-default-host-alist'.
3943 (tramp-adb-file-name-host): Remove function.
3944 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3945 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3946
3947 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3948
3949 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3950
3951 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3952
3953 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3954
3955 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3956 consist of more than one digit.
3957 (tramp-adb-file-name-handler-alist):
3958 Use `tramp-handle-file-exists-p' consistently.
3959 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3960 (tramp-adb-handle-file-exists-p): Remove function.
3961 (tramp-adb-file-name-host): New defun.
3962 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3963 Use it.
3964 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3965
3966 2013-01-06 Chong Yidong <cyd@gnu.org>
3967
3968 * vc/vc.el (vc-next-action): Detect buffer modifications
3969 conflicting with locking VCS operation (Bug#11490).
3970
3971 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3972
3973 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3974
3975 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3976 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3977
3978 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3979
3980 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3981 parsing of ls output using regular expression (handle filenames
3982 with spaces). Use virtual device number.
3983 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3984 cleanup).
3985
3986 2013-01-04 Daiki Ueno <ueno@gnu.org>
3987
3988 * epg.el: Silence byte-compiler warnings.
3989 (epg--start): Use delete-char instead of delete-backward-char.
3990 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3991
3992 2013-01-04 Daiki Ueno <ueno@gnu.org>
3993
3994 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3995 Suggested by Eli Zaretskii <eliz@gnu.org>.
3996
3997 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3998
3999 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4000 non-negative integers. Otherwise, the default values are used.
4001 (tramp-convert-file-attributes): Convert uid and gid to integers.
4002
4003 2013-01-04 Glenn Morris <rgm@gnu.org>
4004
4005 * term.el (term-handle-colors-array): Ensure face attributes
4006 are fully specified, not nil. (Bug#13337)
4007
4008 * term.el (term-default-fg-color, term-default-bg-color):
4009 Fix custom type.
4010
4011 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4012 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4013 rather than 'jka-compr being loaded. (Bug#13338)
4014
4015 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4016
4017 * icomplete.el (icomplete-completions):
4018 Honor icomplete-prospects-height once more following
4019 2012-11-29 changes. (Bug#13224)
4020
4021 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4024 of called-interactively-p as well (bug#13237).
4025
4026 * view.el (view--enable, view--disable): Rename from view-mode-enable
4027 and view-mode-disable and assume it's called from view-mode.
4028 (view-mode-enable, view-mode-disable): Redefine as obsolete
4029 compatibility layer above view-mode.
4030 (view-mode-enter): Call `view-mode'.
4031
4032 * files.el (after-find-file): Call `view-mode'.
4033
4034 * doc-view.el (doc-view-scale-internally): New var.
4035 (doc-view-enlarge, doc-view-insert-image): Obey it.
4036
4037 2013-01-03 Daiki Ueno <ueno@gnu.org>
4038
4039 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4040 exist. (Bug#13344)
4041
4042 2013-01-03 Glenn Morris <rgm@gnu.org>
4043
4044 * mail/rmail.el (rmail-set-header-1): Ignore case.
4045 Handle multi-line headers. (Bug#13330)
4046
4047 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4048 Handle paragraph starting at beginning of buffer.
4049
4050 * subr.el (eval-after-load): Don't purecopy the form, so that it
4051 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4052
4053 * emacs-lisp/byte-run.el (defun): Place cl declarations
4054 after any interactive spec. (Bug#13265)
4055
4056 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4057
4058 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4059 defun. Don't check for DECL if DOCSTRING isn't a string.
4060 (defun): Likewise.
4061
4062 2013-01-02 Glenn Morris <rgm@gnu.org>
4063
4064 * eshell/em-cmpl.el (eshell-pcomplete):
4065 More thoroughly imitate pcomplete. (Bug#13293)
4066
4067 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4068 Return nil for empty path elements. (Bug#13296)
4069
4070 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4071
4072 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4073 order to improve efficiency (Based on Daniel Colascione's
4074 <dancol@dancol.org> patch). (Bug#13182)
4075
4076 2013-01-02 Glenn Morris <rgm@gnu.org>
4077
4078 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4079
4080 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4081
4082 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4083 neither DOCSTRING nor DECL was given. (Bug#13316)
4084
4085 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4088 `error' call.
4089 (tramp-do-copy-or-rename-file): Ignore errors when calling
4090 `set-file-extended-attributes'.
4091
4092 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4093 Add handler for `file-acl'.
4094 (tramp-smb-handle-file-acl): New defun.
4095
4096 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4097
4098 * calc/README: Mention ISO 8601 week-numbering dates.
4099
4100 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4101
4102 * view.el (view-mode-enable): New argument run-view-mode-hook.
4103 Run view-mode-hook only when it's non-nil (Bug#13315).
4104 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4105 argument t.
4106
4107 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4108
4109 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4110 (No device connected, invalid device name). (Bug #13299)
4111
4112 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4113
4114 * window.el (window-resizable--p): Rename to window-resizable-p.
4115 (window-resize-no-error): New function.
4116
4117 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4118 broken in fix from 2012-12-28.
4119
4120 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * subr.el (special-form-p): Don't signal errors on undef aliases.
4123
4124 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4125
4126 * calc/calc-forms.el (math-parse-date): Try using
4127 `math-parse-iso-date' when it looks like it might be needed.
4128 Allow times of 24:00.
4129 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4130 of 24:00.
4131
4132 2012-12-30 Glenn Morris <rgm@gnu.org>
4133
4134 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4135 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4136 (rmail-summary-displayed, rmail-summary): Declare.
4137 (mairix-rmail-display): Just require rmail.
4138
4139 2012-12-30 Chong Yidong <cyd@gnu.org>
4140
4141 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4142 check for the tarball contents.
4143
4144 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4145
4146 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4147 tarfile content listings (Bug#13136).
4148
4149 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4150
4151 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4152 Insert the undecoded text of the message being forwarded. (Bug#9521)
4153
4154 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4155
4156 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4157 integers, if they are real numbers. (Bug#13282)
4158
4159 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4160 Return `t' on success.
4161
4162 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4163 Add handler for `set-file-selinux-context'.
4164
4165 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4166
4167 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4168 (tramp-sh-handle-set-file-acl): Return `t' on success.
4169
4170 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4171
4172 * files.el (backup-buffer-copy, basic-save-buffer-2):
4173 If set-file-extended-attributes fails, fall back on set-file-modes
4174 instead of signaling an error. (Bug#13298)
4175 (basic-save-buffer): Likewise.
4176
4177 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4178
4179 * progmodes/python.el: Support other commands triggering
4180 python-indent-line so indentation cycling continues to work.
4181 (python-indent-trigger-commands): New defcustom.
4182 (python-indent-line): Use it.
4183
4184 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4185
4186 * progmodes/python.el (python-shell-send-region): Add blank lines
4187 for non sent code so backtraces remain correct.
4188
4189 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4190
4191 * progmodes/python.el: Remove cl dependency.
4192 (python-syntax-count-quotes): Replace incf call.
4193 (python-fill-string): Replace setf call.
4194
4195 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4196
4197 * info.el (info-other-window): New arg, for consistency with info.
4198
4199 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4200
4201 * mail/rmail.el (rmail-maybe-display-summary):
4202 Rewrite (Bug#13066).
4203
4204 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4205
4206 * epg.el (epg--start): Modify process-environment locally.
4207
4208 2012-12-28 Daiki Ueno <ueno@gnu.org>
4209
4210 * epg.el: Support pinentry-curses.
4211 Suggested by Werner Koch in
4212 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4213 (epg-agent-file, epg-agent-mtime): New variable.
4214 (epg--start): Record the modified time of gpg-agent socket file,
4215 to restore Emacs frame after pinentry-curses termination.
4216 (epg-wait-for-completion): Restore Emacs frame here.
4217
4218 2012-12-27 Juri Linkov <juri@jurta.org>
4219
4220 * info.el (Info-file-completions): New variable.
4221 (Info-read-node-name-1): Complete node names in the Info file
4222 when a file name is given. Call `Info-build-node-completions'
4223 with a file name.
4224 (Info-build-node-completions): Add new arg `file'. When it is
4225 non-nil, visit it in a temporary buffer and cache its completions in
4226 `Info-current-file-completions'. Move most of the function body to
4227 `Info-build-node-completions-1'.
4228 (Info-build-node-completions-1): New function with the body from
4229 `Info-build-node-completions'. (Bug#12456)
4230
4231 2012-12-27 Juri Linkov <juri@jurta.org>
4232
4233 * frame.el (frame-maximization-style): Remove user option.
4234 (cycle-frame-maximized): Remove function.
4235 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4236 (toggle-frame-fullscreen): New command bound to <f11> instead of
4237 `toggle-frame-maximized'.
4238 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4239
4240 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4241
4242 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4243
4244 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4245 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4246 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4247 for `file-accessible-directory-p'. (Bug#13275)
4248
4249 2012-12-27 Sam Steingold <sds@gnu.org>
4250
4251 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4252 continuations, see <http://stackoverflow.com/questions/3582436>.
4253
4254 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4255
4256 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4257 "module" and "def" to have indentation before them.
4258 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4259
4260 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4261
4262 2012-12-27 Alan Mackenzie <acm@muc.de>
4263
4264 Speed up fontification where there's large brace blocks.
4265 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4266 to a call of c-beginning-of-decl-1.
4267
4268 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4269
4270 * comint.el (comint-adjust-window-point): New function.
4271 (comint-postoutput-scroll-to-bottom):
4272 Call comint-adjust-window-point (Bug#13248).
4273
4274 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4275
4276 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4277 Rakefile regexp.
4278 (auto-mode-alist): Associate .gemspec files with ruby-mode
4279 (https://bugs.ruby-lang.org/issues/5453).
4280
4281 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4282
4283 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4284 Suppress coloring, if possible (required for BusyBox based systems like
4285 CyanogenMod).
4286 (tramp-adb-handle-file-attributes)
4287 (tramp-adb-handle-insert-directory)
4288 (tramp-adb-handle-file-name-all-completions): Use it.
4289 (tramp-adb-get-toolbox): New defun. Check for remote shell
4290 implementation (BusyBox or Toolbox).
4291
4292 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4293
4294 * startup.el (initial-buffer-choice): Allow function as value
4295 (Bug#13251).
4296 (command-line-1): Handle case where initial-buffer-choice
4297 specifies a function.
4298 * server.el (server-execute): Handle case where
4299 initial-buffer-choice specifies a function.
4300
4301 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4302
4303 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4304 its own function.
4305 (smtpmail-try-auth-methods): Forget the user name/password if the
4306 login is unsuccessful (bug#12424).
4307
4308 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4309
4310 * notifications.el (notifications-notify): Protect body with
4311 `with-demoted-errors'.
4312
4313 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4314 Check properties of remote device. Restart connection, if there is a
4315 change.
4316
4317 2012-12-21 Chong Yidong <cyd@gnu.org>
4318
4319 * sort.el (sort-subr): Doc fix (Bug#13056).
4320
4321 2012-12-21 Bastien Guerry <bzg@gnu.org>
4322
4323 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4324
4325 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4326
4327 * simple.el (process-file): Overwrite stderr file, if exists.
4328
4329 2012-12-21 Daiki Ueno <ueno@gnu.org>
4330
4331 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4332 (epg-error): Set `error-message' property.
4333
4334 2012-12-21 Chong Yidong <cyd@gnu.org>
4335
4336 * international/mule-cmds.el (read-char-by-name): Signal an error
4337 if the user does not supply a valid character (Bug#13177).
4338
4339 * simple.el (transpose-subr-1): Preserve marker positions by
4340 changing the insertion sequence (Bug#13122).
4341
4342 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4343
4344 * simple.el (kill-region): Deactivate mark even for empty regions
4345 (Bug#13169).
4346
4347 2012-12-21 Chong Yidong <cyd@gnu.org>
4348
4349 * help-fns.el (describe-variable): Make sure we get the right
4350 buffer name (Bug#13105). Suggested by Kelly Dean.
4351
4352 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4353
4354 * comint.el (comint-redirect-previous-input-string): New variable.
4355 (comint-redirect-setup, comint-redirect-cleanup)
4356 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4357 (comint-redirect-preoutput-filter): Fix verbose message.
4358
4359 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4360
4361 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4362 is too long for Tramp. See discussion in
4363 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4364
4365 * progmodes/compile.el (compilation-start): Remove line escape
4366 template.
4367
4368 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4369
4370 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4371 Adjust comment.
4372
4373 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4374
4375 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4376 following non-comment text (bug#13207).
4377 (lm-header-multiline): Continuation lines need to be indented more than
4378 the first line.
4379 (lm-homepage): New function.
4380 (lm-with-file): Don't be confused if narrowing is in effect.
4381
4382 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4385 very beginning of a hunk (e.g. killing the first line).
4386
4387 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4388
4389 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4390 and text properties from returned ACL string.
4391 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4392 for "setfacl" command.
4393
4394 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4395
4396 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4397 `tramp-cleanup-this-connection', when the process has died.
4398 (Bug#13151)
4399
4400 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4403
4404 2012-12-17 Kevin Ryde <user42@zip.com.au>
4405
4406 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4407
4408 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4409
4410 Add support for preserving ACL entries of files.
4411
4412 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4413 `set-file-acl' handlers.
4414
4415 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4416 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4417
4418 * net/tramp-compat.el (tramp-compat-copy-file):
4419 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4420
4421 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4422 Add `file-acl' and `set-file-acl' handlers.
4423 (tramp-gvfs-handle-copy-file):
4424 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4425 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4426 New defuns.
4427
4428 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4429 Add `file-acl' and `set-file-acl' handlers.
4430 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4431 (tramp-sh-handle-set-file-acl): New defuns.
4432 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4433 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4434
4435 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4436 Add `file-acl' and `set-file-acl' handlers.
4437 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4438
4439 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4440
4441 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4442 use pop-to-buffer with NORECORD argument t. As buffer name, use
4443 *Metahelp* with a leading space (Bug#13190).
4444
4445 2012-12-16 Romain Francoise <romain@orebokech.com>
4446
4447 * files.el (file-extended-attributes)
4448 (set-file-extended-attributes): New functions.
4449 (backup-buffer): Use them to handle both SELinux context and ACL
4450 entries.
4451 (backup-buffer-copy): Work with an alist of extended attributes,
4452 rather than an SELinux context.
4453 (basic-save-buffer-2): Ditto.
4454
4455 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4456
4457 * battery.el (battery-bsd-apm): New function.
4458
4459 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4460
4461 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4462 standard date formats.
4463
4464 2012-12-15 Juri Linkov <juri@jurta.org>
4465
4466 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4467 `isearch-insert-char-by-name'.
4468 (with-isearch-suspended): New defmacro with body mostly from
4469 `isearch-edit-string' except the part that sets
4470 `isearch-new-string' and `isearch-new-message'.
4471 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4472 body that sets `isearch-new-string' and `isearch-new-message'.
4473 (isearch-insert-char-by-name): New command.
4474 * international/mule-cmds.el (read-char-by-name): Let-bind
4475 `enable-recursive-minibuffers' to t.
4476 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4477
4478 2012-12-15 Juri Linkov <juri@jurta.org>
4479
4480 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4481 (Bug#13175)
4482
4483 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4484
4485 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4486 the prompt. (Bug#13045)
4487
4488 2012-12-14 Glenn Morris <rgm@gnu.org>
4489
4490 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4491 Try to include filename in non-bytecomp warning. (Bug#13132)
4492
4493 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4494
4495 Fix permissions bugs with setgid directories etc. (Bug#13125)
4496 * files.el (backup-buffer): Don't rely on 9th output of
4497 file-attributes, as it's now a placeholder. Instead, use the new
4498 optional arg of file-ownership-preserved-p.
4499 (file-ownership-preserved-p): New optional arg GROUP.
4500 Fix mishandling of setuid directories that would cause this
4501 function to return t when it should have returned nil.
4502 Document what happens if the file does not exist, and when
4503 it's not known whether the ownership will be preserved.
4504 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4505 Likewise.
4506 (tramp-get-local-gid): Use group-gid for integer, as that's
4507 faster and more reliable.
4508
4509 2012-12-14 Julien Danjou <julien@danjou.info>
4510
4511 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4512 Update keywords list, data type and PL/pgSQL.
4513
4514 2012-12-14 Dave Abrahams <dave@boostpro.com>
4515
4516 * vc/ediff-util.el (ediff-buffer-type): New function.
4517 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4518 rather than taking it as as argument.
4519 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4520
4521 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4522
4523 * json.el: Add pretty-print option (bug#12634).
4524 (json-encoding-separator, json-encoding-default-indentation)
4525 (json--encoding-current-indentation, json-encoding-pretty-print)
4526 (json-encoding-lisp-style-closings): New vars.
4527 (json--with-indentation): New macro.
4528 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4529 (json-encode-array): Use it to obey json-encoding-pretty-print.
4530 (json-pretty-print-buffer, json-pretty-print): New commands.
4531
4532 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4533
4534 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4535 Extract `ruby-syntax-propertize-expansions'.
4536 (ruby-syntax-propertize-expansions): Only change syntax on
4537 certain string delimiters, to punctuation. This way the common
4538 functions like forward-word and thing-at-point still work.
4539 (ruby-match-expression-expansion): Improve readability.
4540 (ruby-block-contains-point): New function.
4541 (ruby-add-log-current-method): Handle several edge cases.
4542
4543 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4544
4545 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4546 unload-feature finishes even when aborting an ongoing edebug session.
4547 Also, do not worry about edebug-mode, unload-feature takes care of it.
4548
4549 2012-12-13 Andreas Schwab <schwab@suse.de>
4550
4551 * net/tls.el (tls-program): Update customize type.
4552
4553 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4556 (edebug-setup-hook, cl-read-load-hooks): Use it.
4557 (edebug-unload-function): New function. (Bug#13163)
4558
4559 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4560
4561 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4562 Otherwise, there could be errors in autoloading. (Bug#13151)
4563
4564 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4565
4566 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4567 sequences.
4568
4569 2012-12-13 Alan Mackenzie <acm@muc.de>
4570
4571 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4572 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4573 around `forward-comment' not recognizing ^M as whitespace.
4574
4575 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4576
4577 * progmodes/python.el (python-skeleton-class)
4578 (python-skeleton-def): Do not add space after defun name.
4579
4580 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4583 (cl--symbol-function): Remove (now that funbound is like nil).
4584
4585 2012-12-12 Glenn Morris <rgm@gnu.org>
4586
4587 * button.el (button--area-button-p): Fix typo.
4588
4589 2012-12-12 Sam Steingold <sds@gnu.org>
4590
4591 * frame.el (frame-maximization-style): New user option.
4592 (toggle-frame-maximized): Toggle frame maximization according to
4593 `frame-maximization-style', bound to <f11>.
4594 (cycle-frame-maximized): Cycle between all maximization styles and
4595 non-maximized frame, bound to shift-<f11>.
4596
4597 2012-12-12 David Cadé <codename68@gmail.com>
4598
4599 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4600
4601 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4602
4603 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4604 (eieio-override-prin1): Don't quote kewords and booleans.
4605 (object-write) <eieio-default-superclass>: Don't put closing parens
4606 on new line, avoid needless empty lines, align values that are objects
4607 with the slot keyword (instead of beginning on the same line).
4608 (eieio-list-prin1): Align value with slot keyword; increase
4609 eieio-print-depth before printing members of the list.
4610
4611 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4614 a display text-property.
4615 (report-emacs-bug-hook): Don't bother deleting it any more.
4616
4617 * hilit-chg.el (highlight-save-buffer-state): Delete.
4618 Use with-silent-modifications instead.
4619 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4620
4621 * button.el: Handle buttons in display text-properties.
4622 (button--area-button-p, button--area-button-string):
4623 Use (STRING . STRING-POS) representation instead of just STRING.
4624
4625 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4626
4627 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4628 subdirectory be skipped.
4629
4630 2012-12-11 Glenn Morris <rgm@gnu.org>
4631
4632 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4633
4634 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4635 Treat preprocessor lines embedded in continuations like comments.
4636 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4637
4638 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4639
4640 * calc/calc.el (calc-standard-date-formats): Add more date
4641 formats.
4642 * calc/calc-forms.el (math-parse-iso-date): New function.
4643 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4644 (math-parse-iso-date-validate): Add extra error checking.
4645 (calc-date-notation): Add ability to access new date formats.
4646
4647 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4650 font-lock as well as when there's no text-property.
4651
4652 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4653
4654 * hi-lock.el: Refine the choice of default face.
4655 (hi-lock-keyword->face): New function. Use it wherever we used
4656 cadadadr instead.
4657 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4658 (hi-lock--last-face): Remove var.
4659 (hi-lock--unused-faces): New var to replace it.
4660 (hi-lock-read-face-name): Use/maintain it.
4661 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4662 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4663 if it has another face.
4664
4665 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4666
4667 * subr.el (w32notify-handle-event): New function.
4668 (inotify-handle-event): Doc fix.
4669
4670 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4671
4672 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4673
4674 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4675
4676 * simple.el (just-one-space): Doc fix.
4677
4678 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4679
4680 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4681
4682 2012-12-10 Le Wang <l26wang@gmail.com>
4683
4684 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4685 narrowed buffer (bug#12361).
4686
4687 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4688
4689 * vc/vc-hooks.el (vc-state): Doc fix.
4690
4691 2012-12-10 Glenn Morris <rgm@gnu.org>
4692
4693 * mail/rmail.el (rmail-maybe-display-summary):
4694 Preserve buffer, in case select-window changes it. (Bug#13066)
4695
4696 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4699 cl-load-hook where they belong.
4700
4701 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4704
4705 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4706
4707 Parallelize byte compilation on MS-Windows.
4708 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4709 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4710 (WINS_BASIC): Define as concatenation of the above.
4711 (compile): Subdivide into 4 separate and independent jobs that can
4712 be run in parallel.
4713 (compile0-CMD, compile0-SH): New targets for compiling
4714 COMPILE_FIRST files, which are prerequisites for the rest of the
4715 byte-compilation.
4716 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4717 New targets for parallel compilation with cmd.exe.
4718 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4719 compiling under a Unixy shell.
4720
4721 2012-12-09 Chong Yidong <cyd@gnu.org>
4722
4723 * simple.el (set-mark-default-inactive): Delete this
4724 accidentally-introduced option.
4725 (set-mark-command, exchange-point-and-mark): Remove calls.
4726
4727 2012-12-09 Glenn Morris <rgm@gnu.org>
4728
4729 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4730 Respect a defcustom's :set function, if appropriate. (Bug#109)
4731 (eval-defun): Doc fix.
4732
4733 2012-12-08 Juri Linkov <juri@jurta.org>
4734
4735 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4736 (Info-fontify-node, Info-bookmark-make-record): Remove the
4737 file extension from Info-current-file (Bug#13016).
4738
4739 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4742 point, still provide some default.
4743 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4744 names, since we don't use it right now. Actually return the list.
4745 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4746
4747 2012-12-07 Chong Yidong <cyd@gnu.org>
4748
4749 * novice.el (disabled-command-function): Remove a spurious help
4750 xref (Bug#13043). Suggested by Kelly Dean.
4751
4752 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4753 syntax is specified (Bug#13025).
4754
4755 * info.el (Info-set-mode-line): Remove the file extension from
4756 Info-current-file if there is one (Bug#13016).
4757
4758 2012-12-07 Glenn Morris <rgm@gnu.org>
4759
4760 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4761 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4762 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4763 and rmail-mime-decoded. (Bug#9841)
4764
4765 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4766 (batch-unrmail, unrmail): Doc fixes.
4767 (unrmail): Respect unrmail-mbox-format.
4768 * mail/rmail.el (rmail-mbox-format): New option.
4769 (rmail-show-message-1): Respect rmail-mbox-format.
4770
4771 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4772
4773 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4774
4775 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4778 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4779 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4780 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4781 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4782 (cl-progv): Don't rely on dynamic scoping to find the body.
4783 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4784 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4785 (cl-declaim): Use backquotes.
4786 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4787 Use "cl--" prefix for the object's tag.
4788
4789 * ses.el: Use advice-add/remove.
4790 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4791 (copy-region-as-kill, yank): Use advice-add.
4792 (ses-unload-function): Use advice-remove.
4793
4794 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4795
4796 * button.el: Make them work in header-lines (bug#12817).
4797 (button-map): Add bindings for header-line and mode-line use.
4798 (button-get, button-put, button-label): `button' may now be a string.
4799 (button-activate): Don't make it a defsubst.
4800 (button--area-button-p, button--area-button-string): New functions.
4801 (make-text-button): Fix the return value when `beg' was a string.
4802 (push-button): Handle the mode-line case.
4803
4804 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4807 (sql-signum): Remove. Use `cl-signum' instead.
4808 (sql-read-passwd): Remove; use read-passwd instread.
4809 (sql-get-login-ext): Use read-string.
4810 (sql-get-login): Use dolist and pcase.
4811 (sql--completion-table): Rename from sql-try-completion.
4812 Use complete-with-action.
4813 (sql-mode): Don't change abbrev-all-caps globally.
4814 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4815 (sql-postgres-completion-object): Initialize vars in their `let'.
4816 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4817 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4818 (sql-comint-interbase): Use a single append, without setq.
4819 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4820
4821 * hi-lock.el: Rework the default face and the serialize regexp code.
4822 (hi-lock--auto-select-face-defaults): Remove.
4823 (hi-lock-string-serialize-serial): Remove.
4824 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4825 make weak.
4826 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4827 equal string.
4828 (hi-lock-set-pattern): Adjust accordingly.
4829 (hi-lock--regexps-at-point): Simplify accordingly.
4830 (hi-lock--auto-select-face-defaults): Remove.
4831 (hi-lock--last-face): New var to replace it.
4832 (hi-lock-read-face-name): Rewrite (bug#11095).
4833 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4834
4835 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4836
4837 * net/tramp.el (tramp-replace-environment-variables):
4838 Hide compiler warning.
4839 (tramp-file-name-for-operation): Remove `executable-find',
4840 `start-process', `call-process' and `call-process-region'.
4841
4842 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4843
4844 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4845 compatibility.
4846
4847 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4848
4849 2012-12-06 Chong Yidong <cyd@gnu.org>
4850
4851 * ffap.el (ffap-replace-file-component): Fix typo.
4852
4853 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4856 fix open-paren-like token test (bug#12785).
4857
4858 2012-12-06 Glenn Morris <rgm@gnu.org>
4859
4860 * mail/rmailsum.el (rmail-new-summary): Tweak for
4861 rmail-maybe-display-summary changing buffer. (Bug#13066)
4862
4863 2012-12-06 Juri Linkov <juri@jurta.org>
4864
4865 * info.el (Info-fontify-node): Don't hide the last newline.
4866 (Bug#12272)
4867
4868 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4869
4870 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4871 so as to enable message-read-from-minibuffer to expand mail aliases.
4872
4873 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4876 the `intangible' property.
4877 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4878
4879 2012-12-05 Deniz Dogan <deniz@dogan.se>
4880
4881 * net/rcirc.el (rcirc-urls): Update documentation.
4882 (rcirc-condition-filter): New function.
4883 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4884 and exclude consecutive duplicate URLs (Bug#6082).
4885
4886 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4887
4888 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4889 Check return code of copy command.
4890
4891 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4892 Use group `tramp'. Add version.
4893
4894 2012-12-05 Chong Yidong <cyd@gnu.org>
4895
4896 * ffap.el (ffap-url-regexp): Don't require matching at front of
4897 string (Bug#4952).
4898 (ffap-url-p): If only a substring matches, return that.
4899 (ffap-url-at-point): Use the return value of ffap-url-p.
4900 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4901 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4902 (ffap-guess-file-name-at-point): Likewise.
4903 (ffap-replace-file-component): Fix typo.
4904
4905 * info.el (info-display-manual): Add existing Info buffers, whose
4906 files may not be in Info-directory-list, to the completion.
4907 (info--manual-names): New helper function.
4908
4909 2012-12-05 Glenn Morris <rgm@gnu.org>
4910
4911 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4912 New functions, for detecting and resolving conflicts. (Bug#10709)
4913
4914 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4915
4916 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4917 (hi-lock-auto-select-face-defaults): New buffer local variable.
4918 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4919 (hi-lock-unface-buffer): Prompt user with useful defaults.
4920 With prefix arg, unhighlight all hi-lock patterns in buffer.
4921
4922 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4925
4926 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4927
4928 * Makefile.in (TRAMP_SRC):
4929 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4930
4931 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4932
4933 * net/tramp-adb.el: New package.
4934
4935 2012-12-04 Chong Yidong <cyd@gnu.org>
4936
4937 * terminal.el: Move to obsolete/.
4938
4939 * longlines.el: Move to obsolete/.
4940
4941 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4942 Remove code referring to longlines mode.
4943
4944 2012-12-03 Juri Linkov <juri@jurta.org>
4945
4946 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4947
4948 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4949
4950 * textmodes/ispell.el (ispell-init-process)
4951 (ispell-start-process, ispell-internal-change-dictionary):
4952 Make sure personal dictionary name is expanded after initial
4953 `default-directory' value. Use expanded strings for
4954 keep/restart checks and for value (Bug#13019).
4955
4956 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4957
4958 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4959
4960 2012-12-03 Leo Liu <sdl.web@gmail.com>
4961
4962 * files.el (dir-locals-read-from-file): Check file non-empty
4963 before reading. (Bug#13038)
4964
4965 2012-12-03 Glenn Morris <rgm@gnu.org>
4966
4967 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4968 Remove any version extension before checking filename. (Bug#13006)
4969 (jka-compr-compression-info-list): Belated :version bump.
4970
4971 2012-12-03 Chong Yidong <cyd@gnu.org>
4972
4973 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4974
4975 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4976 (buffer-menu): Doc fix (Bug#12294).
4977
4978 2012-12-03 Roland Winkler <winkler@gnu.org>
4979
4980 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4981 of diary-show-all-entries in the diary buffer (Bug#12994).
4982
4983 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4984
4985 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4986 "<STDIN>". This is binary safe.
4987
4988 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4989
4990 * calc/calc-forms.el (math-absolute-from-iso-dt)
4991 (math-date-to-iso-dt, math-parse-iso-date-validate)
4992 (math-iso-dt-to-date): New functions.
4993 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4994 (math-fd-isoweekday): New variables.
4995 (calc-date-notation, math-parse-standard-date, math-format-date)
4996 (math-format-date-part): Add support for more formatting codes.
4997
4998 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4999
5000 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5001 current buffer's file name when called interactively (Bug#12488).
5002
5003 2012-12-02 Juri Linkov <juri@jurta.org>
5004
5005 * info.el (info-display-manual): Don't clobber an existing Info
5006 buffer (Bug#10770). Add completion (Bug#10771).
5007
5008 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5009
5010 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5011 before using it for comparison (Bug#5297).
5012
5013 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5014
5015 * textmodes/css-mode.el (css-current-defun-name): New function.
5016 (css-mode): Use it.
5017
5018 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5019 (html-mode): Use it.
5020
5021 2012-12-01 Chong Yidong <cyd@gnu.org>
5022
5023 Modularize add-log-current-defun (Bug#2224).
5024 Suggested by Jari Aalto.
5025
5026 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5027 (add-log-current-defun): Move mode-specific code to other files.
5028 (add-log-lisp-like-modes, add-log-c-like-modes)
5029 (add-log-tex-like-modes): Variables deleted.
5030
5031 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5032 (lisp-mode-variables): Use it.
5033
5034 * progmodes/cc-mode.el (c-common-init):
5035 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5036 add-log-current-defun-function.
5037
5038 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5039 (m4-mode): Use it.
5040
5041 * progmodes/perl-mode.el (perl-current-defun-name): New.
5042 (perl-mode): Use it.
5043
5044 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5045 Use lisp-current-defun-name.
5046
5047 * textmodes/tex-mode.el (tex-current-defun-name): New.
5048 (tex-common-initialization): Use it.
5049
5050 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5051 (texinfo-mode): Use it.
5052
5053 2012-12-01 Chong Yidong <cyd@gnu.org>
5054
5055 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5056 * progmodes/autoconf.el (autoconf-mode):
5057 * progmodes/js.el (js-mode):
5058 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5059 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5060 * progmodes/perl-mode.el (perl-mode):
5061 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5062 * textmodes/css-mode.el (css-mode):
5063 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5064 (sgml-tags-invisible, sgml-guess-indent):
5065 * textmodes/tex-mode.el (tex-common-initialization)
5066 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5067 (doctex-mode, plain-tex-mode, latex-mode):
5068 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5069
5070 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5071
5072 * vc/vc-hg.el (vc-hg-next-revision):
5073 Ensure use of default "tip" output format. (Bug#6968)
5074
5075 2012-12-01 Kim F. Storm <storm@cua.dk>
5076
5077 * startup.el (fancy-startup-tail): Add a clickable link
5078 (Bug#2176).
5079
5080 2012-12-01 Chong Yidong <cyd@gnu.org>
5081
5082 * startup.el (fancy-startup-tail): Improve the message about
5083 auto-save files (Bug#2176).
5084
5085 * files.el (recover-session): Improve the descriptive message, and
5086 use substitute-command-keys.
5087
5088 2012-12-01 Glenn Morris <rgm@gnu.org>
5089
5090 * ido.el (ido-file-internal):
5091 Handle other-window, other-frame for dired. (Bug#13036)
5092
5093 2012-11-30 Glenn Morris <rgm@gnu.org>
5094
5095 * icomplete.el (icomplete-separator): Fix :version.
5096
5097 2012-11-30 Chong Yidong <cyd@gnu.org>
5098
5099 * shell.el (shell): For C-u M-x shell, use an inactive shell
5100 buffer as the default (Bug#1975).
5101 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5102 (shell-mode): Use them to reapply ansi colorization if Shell mode
5103 is re-enabled.
5104
5105 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5106
5107 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5108
5109 2012-11-30 Samuel Bronson <naesten@gmail.com>
5110
5111 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5112 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5113
5114 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5115
5116 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5117 by move-to-column (Bug#3234).
5118
5119 2012-11-30 Chong Yidong <cyd@gnu.org>
5120
5121 * longlines.el (longlines-wrap-line, longlines-encode-region):
5122 Preserve text properties (Bug#1425).
5123
5124 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5125
5126 * vc/vc.el (vc-register): Allow registering a file which is
5127 already registered with a different backend (Bug#10589).
5128
5129 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5130 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * icomplete.el: Change separator; add ido-style commands.
5133 (icomplete-show-key-bindings): Remove custom var.
5134 (icomplete-get-keys): Remove function.
5135 (icomplete-forward-completions, icomplete-backward-completions):
5136 New commands.
5137 (icomplete-minibuffer-map): New var.
5138 (icomplete-minibuffer-setup): Use it.
5139 (icomplete-exhibit): Don't delay if the list of completions is known.
5140 (icomplete-separator): New custom.
5141 (icomplete-completions): Use it.
5142 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5143 (minibuffer-force-complete-and-exit): New command.
5144 (minibuffer--complete-and-exit): New function extracted from
5145 minibuffer-complete-and-exit.
5146 (minibuffer-complete-and-exit): Use it.
5147
5148 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5149 error message when the file doesn't exist (bug#12974).
5150
5151 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5152
5153 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5154
5155 2012-11-29 Glenn Morris <rgm@gnu.org>
5156
5157 * files.el (hack-dir-local-variables): Warn if try to set
5158 coding via dir-locals, since it doesn't work. (Bug#7169)
5159
5160 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5161 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5162 Set buffer-local value of desktop-save-buffer.
5163 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5164 New functions.
5165 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5166 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5167
5168 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5169 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5170 Doc fix.
5171 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5172 Doc fixes.
5173
5174 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5175
5176 * calc/calc-forms.el (calc-date-notation): Fix regexp
5177 used to find time codes. Fix symbol for seconds.
5178
5179 2012-11-27 Glenn Morris <rgm@gnu.org>
5180
5181 * emacs-lisp/derived.el (derived-mode-make-docstring):
5182 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5183
5184 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5187 lexically scoped variables (bug#13005).
5188
5189 2012-11-27 Glenn Morris <rgm@gnu.org>
5190
5191 * vc/vc-hooks.el (vc-mistrust-permissions):
5192 Default to t, to avoid data-loss. (Bug#11490)
5193
5194 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5195
5196 * progmodes/python.el (python-indent-guess-indent-offset):
5197 If indentation is guessed make python-indent-offset buffer-local.
5198
5199 Fix Imenu regression.
5200 * progmodes/python.el (python-nav-beginning-of-defun):
5201 Fix forward movement when statement(s) separates point from defun.
5202 (python-imenu-prev-index-position): New function.
5203
5204 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5205
5206 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5207
5208 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5209 Don't set buffer-file-type. Return nil. (Bug#12989)
5210
5211 2012-11-27 Glenn Morris <rgm@gnu.org>
5212
5213 * hippie-exp.el (hippie-expand-try-functions-list):
5214 Re-autoload it. (Bug#12982)
5215
5216 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5217
5218 * descr-text.el (describe-char-padded-string):
5219 Call internal-char-font only on GUI frames. (Bug#11964)
5220
5221 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5222
5223 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5224 and obsoletion message.
5225
5226 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5229 the constructs to keep outside of the `cl-block' (bug#12977).
5230
5231 2012-11-27 Chong Yidong <cyd@gnu.org>
5232
5233 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5234 keep reading until we get the up-event anyway, in order to process
5235 the up-event for mouse-1-click-follows-link (Bug#12971).
5236
5237 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5240 base function is not yet defined (bug#12965).
5241 (ad-activate-advised-definition): Use ad-compile-function.
5242 (ad-activate): Use cond.
5243
5244 2012-11-25 Leo Liu <sdl.web@gmail.com>
5245
5246 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5247 (Bug#12979)
5248
5249 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5250
5251 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5252 reftex-section-info-function in order to be compatible with
5253 Texinfo integration.
5254
5255 * textmodes/reftex.el (reftex-section-pre-regexp)
5256 (reftex-section-post-regexp, reftex-section-info-function):
5257 New variable.
5258 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5259 reftex-section-post-regexp, and reftex-section-info-function in order
5260 to be compatible with Texinfo integration.
5261
5262 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5263 use reftex-section-pre-regexp variable in order to be compatible with
5264 Texinfo integration.
5265
5266 2012-11-25 Chong Yidong <cyd@gnu.org>
5267
5268 * faces.el: Make face-spec-set more analogous to setq.
5269 (face-spec-set): Change the third arg to specify whether this
5270 function is being called via defface, customize, or a third party.
5271 Set the appropriate symbol properties. Clear the override spec if
5272 setting via Custom. Initialize face if necessary. (Bug#4988)
5273 (face-spec-recalc): Allow theme faces to completely replace the
5274 defface spec, in the same way as custom faces (Bug#8454).
5275
5276 * cus-face.el (custom-declare-face): Move face initialization to
5277 face-spec-set.
5278 (custom-theme-set-faces): Don't initialize the face name here, as
5279 that is now done in face-spec-set.
5280
5281 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5282 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5283 Simplify by using the new arg to face-spec-set.
5284
5285 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5286 reset face-override-spec too, and use custom-declare-face.
5287
5288 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5289
5290 * term/ns-win.el (ns-initialize-window-system): Move creation of
5291 fontsets here (Bug#11964).
5292
5293 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5294
5295 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5296 cell renaming.
5297
5298 2012-11-24 Chong Yidong <cyd@gnu.org>
5299
5300 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5301 obsolete.
5302
5303 * custom.el (custom-theme-set-variables): Use a topological sort
5304 for ordering by custom dependencies (Bug#12952).
5305 (custom--sort-vars, custom--sort-vars-1): New functions.
5306
5307 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5310 lexical-binding (bug#12938).
5311
5312 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5313
5314 * image-mode.el (image-transform-check-size): Use assertions only
5315 for images of type imagemagick.
5316
5317 Otherwise no error, image-transform-fit-to-{width,height} is
5318 silently ignored, as before. Doc fix.
5319
5320 2012-11-24 Chong Yidong <cyd@gnu.org>
5321
5322 * faces.el (color-defined-p): Doc fix (Bug#12853).
5323
5324 2012-11-24 Juri Linkov <juri@jurta.org>
5325
5326 * dired.el (dired-mark): Add optional arg `interactive'.
5327 Check for `use-region-p' if `interactive' is non-nil.
5328 (dired-unmark, dired-flag-file-deletion): Add optional arg
5329 `interactive'. Call `dired-mark' with the arg `interactive'.
5330 (Bug#10624)
5331
5332 * wdired.el: Revert 2012-10-17 change partly and replace it with
5333 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5334 (wdired-finish-edit): Add marks for new file names to
5335 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5336 after `revert-buffer'.
5337 (wdired-do-renames): Remove calls to `dired-remove-file',
5338 `dired-add-file', `dired-add-entry'. (Bug#11795)
5339
5340 2012-11-24 Alan Mackenzie <acm@muc.de>
5341
5342 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5343
5344 Fix bugs in the state cache. Enhance a debugging mechanism.
5345 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5346 "brace at column zero" strategy for C++.
5347 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5348 (c-parse-state-point): New variable.
5349 (c-record-parse-state-state): Record old parse state with
5350 `copy-tree'. Record previous value of point.
5351 (c-debug-parse-state-double-cons): New debugging function.
5352 (c-debug-parse-state): Call the above new function.
5353 (c-toggle-parse-state-debug): Output a confirmatory message.
5354
5355 * progmodes/cc-mode.el (c-before-change, c-after-change):
5356 Call c-invalidate-state-cache from `c-before-change' instead of
5357 `c-after-change'.
5358
5359 2012-11-23 Chong Yidong <cyd@gnu.org>
5360
5361 * find-cmd.el (find-constituents): Add executable, ipath,
5362 readable, samefile, writable, daystart, regextype (Bug#12856).
5363
5364 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5367
5368 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5369
5370 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5371 definition. This fixes a bootstrap failure.
5372 (calc-gregorian-switch): In menu, put dates before regions.
5373 This is easier to follow, lines up better in the menu, and lets us
5374 coalesce regions that switch at the same time. Give country
5375 names, not "Vatican", as that's better for non-expert users.
5376 Use names that are stable between the date of switch and now, e.g.,
5377 Bohemia and Moravia (which existed then and now) and not
5378 Czechoslovakia (which didn't exist then and doesn't exist now).
5379 What is now the U.S. mostly did not switch at the same time as
5380 Britain, so omit the U.S. Correct spelling of "Britain".
5381 Catholic Switzerland was too much of a mess, so omit it.
5382
5383 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5384
5385 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5386 after the variable is changed.
5387
5388 2012-11-21 Daniel Colascione <dancol@dancol.org>
5389
5390 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5391 in SQL declarations for font-lock.
5392 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5393
5394 2012-11-21 Glenn Morris <rgm@gnu.org>
5395
5396 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5397 (face-italic-p): Add optional argument "inherit".
5398
5399 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5400 Remove -p suffix from names, for consistency with other set-face-*.
5401 (set-face-inverse-video): Fix interactive spec.
5402 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5403 * textmodes/table.el (table--update-cell-face):
5404 Use set-face-inverse-video rather than now obsolete alias.
5405
5406 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5407
5408 * simple.el (line-move): Don't call line-move-partial if
5409 scroll-conservatively is in effect. (Bug#12927)
5410
5411 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5414 Fallback on completion-at-point rather than
5415 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5416 (eshell-cmpl-initialize): Setup completion-at-point.
5417
5418 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5419
5420 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5421
5422 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5423
5424 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5425 are remote, check out-of-band property for both.
5426
5427 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5430 code rewrite.
5431
5432 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5433
5434 More minor time fixes.
5435 * calendar/time-date.el: Commentary fix.
5436 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5437 too much other code depends on (0 0) time stamps.
5438 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5439 Add a couple of FIXME comments.
5440
5441 Minor cleanup for times as lists of four integers.
5442 * files.el (dir-locals-directory-cache):
5443 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5444 Doc fixes.
5445 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5446 * ps-bdf.el (bdf-file-newer-than-time):
5447 Process four-integers time stamps, not two. Doc fixes.
5448
5449 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * uniquify.el (uniquify-managed): Use defvar-local.
5452 (rename-buffer, create-file-buffer): Advise with advice-add.
5453 (uniquify-unload-function): Unadvise accordingly.
5454
5455 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5456 (trace-buffer): Don't purecopy.
5457 (trace-entry-message, trace-exit-message): Add `context' arg.
5458 (trace--timer): New var.
5459 (trace-make-advice): Adjust for use in nadvice.
5460 Add `context' argument. Delay `display-buffer' via a timer.
5461 (trace-function-internal): Use advice-add.
5462 (trace--read-args): New function.
5463 (trace-function-foreground, trace-function-background): Use it.
5464 (trace-function): Rename to trace-function-foreground and redefine as
5465 an alias to that new name.
5466 (untrace-function, untrace-all): Adjust to the use of nadvice.
5467
5468 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5469
5470 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5471
5472 * subr.el (called-interactively-p-functions): New var.
5473 (internal--called-interactively-p--get-frame): New macro.
5474 (called-interactively-p, interactive-p): Rewrite in Lisp.
5475 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5476 (called-interactively-p-functions): Use it.
5477 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5478 (called-interactively-p-functions): Use it.
5479 * allout.el (allout-called-interactively-p): Don't assume
5480 called-interactively-p is a subr.
5481
5482 2012-11-20 Glenn Morris <rgm@gnu.org>
5483
5484 * profiler.el (profiler-report-mode-map): Add a menu.
5485 No need to bind `q' because we derive from special-mode.
5486 (profiler-report-find-entry): Handle calls from the menu-bar.
5487
5488 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * emacs-lisp/byte-run.el (defun-declarations-alist):
5491 Allow a compiler-macro to be a lambda expression.
5492
5493 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5494 eval-when-compile.
5495 (python-syntax-context): Add compiler-macro.
5496 (python-font-lock-keywords): Simplify with De Morgan.
5497
5498 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5499
5500 * files.el (load-file): Require match in minibuffer selection, as was
5501 the case in Emacs-20 before we changed the spec to allow .elc files
5502 (bug#12935).
5503
5504 * json.el: Don't require cl since we don't use it.
5505 * color.el: Don't require cl.
5506 (color-complement): `caddr' -> `nth 2'.
5507
5508 * calendar/time-date.el (time-to-seconds): De-obsolete.
5509
5510 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5511
5512 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5513 year numbers.
5514 (math-date-to-julian-dt): Adjust the initial approximation for the
5515 year to deal with the new definition of the DATE.
5516
5517 2012-11-19 Daniel Colascione <dancol@dancol.org>
5518
5519 * term/w32-win.el (cygwin-convert-path-from-windows):
5520 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5521
5522 2012-11-18 Chong Yidong <cyd@gnu.org>
5523
5524 * filecache.el (file-cache--read-list): New function.
5525 (file-cache-add-directory-list, file-cache-add-file-list)
5526 (file-cache-delete-file-list, file-cache-delete-directory-list):
5527 Use it to read a list of files or directories (Bug#12846).
5528 (file-cache-add-file, file-cache-add-directory)
5529 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5530 (file-cache-delete-directory): Print an message.
5531
5532 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5533
5534 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5535 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5536
5537 2012-11-18 Glenn Morris <rgm@gnu.org>
5538
5539 * image.el (insert-image, insert-sliced-image): Doc fix.
5540
5541 2012-11-18 Chong Yidong <cyd@gnu.org>
5542
5543 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5544 (Bug#12810).
5545
5546 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5547
5548 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5549 response when the target file is in a subdirectory (Bug#12757).
5550
5551 2012-11-18 Chong Yidong <cyd@gnu.org>
5552
5553 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5554
5555 2012-11-18 Glenn Morris <rgm@gnu.org>
5556
5557 * emacs-lisp/cl-lib.el (face-underline-p):
5558 Use set-face-underline rather than the alias set-face-underline-p.
5559
5560 * window.el (with-temp-buffer-window): Doc fix.
5561 * subr.el (with-output-to-temp-buffer):
5562 Add doc xref to with-temp-buffer-window.
5563
5564 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5565
5566 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5567 * calc/calc.el (math-format-date-cache): Declare.
5568
5569 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5570
5571 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5572 It also uses January 1, 1 AD as its day number 1.
5573 * calc/calc-forms.el (math-julian-date-beginning)
5574 (math-julian-date-beginning-int): Implement this.
5575
5576 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5577
5578 * descr-text.el (quail-find-key):
5579 * dired.el (desktop-file-name):
5580 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5581 * generic-x.el (comint-mode, comint-exec):
5582 * image-dired.el (widget-forward):
5583 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5584 (speedbar-change-expand-button-char)
5585 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5586 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5587 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5588 (widget-field-action, widget-value-set):
5589 * speedbar.el (imenu--make-index-alist):
5590 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5591 (ring-length, ring-insert):
5592 * vcursor.el (compare-windows-skip-whitespace):
5593 * woman.el (dired-get-filename):
5594 Declare functions.
5595
5596 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5597
5598 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5599
5600 * calc/calc.el (calc-gregorian-switch): New variable.
5601
5602 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5603 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5604 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5605 (math-leap-year-p): Add option to distinguish between Julian
5606 and Gregorian calendars.
5607 (math-day-number): Use `math-day-in-year' to do the computations.
5608 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5609 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5610 to do the computations.
5611 (math-date-to-dt): Use `math-date-to-julian-dt' and
5612 `math-date-to-gregorian-dt' to do the computations.
5613 (calcFunc-weekday, math-format-date-part): Use the new version of
5614 the DATE to determine the weekday.
5615 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5616 when necessary.
5617
5618 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5619
5620 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5621 Cygwin; otherwise use 'file:'. (Bug#12914)
5622 (cygwin-convert-path-from-windows): Declare, to avoid
5623 byte-compiler warnings.
5624
5625 2012-11-17 Andreas Politz <politza@fh-trier.de>
5626
5627 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5628 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5629 prefix and negative numeric prefix args (Bug#12795).
5630
5631 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5632
5633 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5634 Don't signal an error with a score that is too low to add to the
5635 list of top scores. (Bug#12779)
5636
5637 2012-11-17 Chong Yidong <cyd@gnu.org>
5638
5639 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5640
5641 * filecache.el (file-cache-add-file): Handle relative file name in
5642 the argument (Bug#12694).
5643
5644 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5645
5646 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5647
5648 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5651
5652 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5653
5654 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5655
5656 * window.el (enlarge-window, shrink-window): Don't mention return
5657 value in doc-string (Bug#12896).
5658 (window--display-buffer): Don't resize frames - it won't work
5659 with all window managers and defeat pop-up-frame-alist.
5660 (display-buffer-alist): In doc-string explain that CONDITION can
5661 be a function and which arguments are passed to it (Bug#12854).
5662 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5663 expressions (Bug#12854).
5664 (display-buffer): Pass ACTION argument to
5665 display-buffer-assq-regexp.
5666
5667 2012-11-16 Glenn Morris <rgm@gnu.org>
5668
5669 * window.el (fit-frame-to-buffer-bottom-margin)
5670 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5671
5672 * faces.el (face-underline-p): Use face-attribute-specified-or.
5673
5674 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5675
5676 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5677
5678 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5681
5682 2012-11-16 Glenn Morris <rgm@gnu.org>
5683
5684 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5685 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5686
5687 * faces.el (face-underline-p): Doc fix. Handle :underline being
5688 things other than `t' (a string, a list).
5689 (face-inverse-video-p): Doc fix.
5690 (set-face-underline): Rename it back from set-face-underline-p.
5691 Doc fix. Allow interactive input of values other than t.
5692 (read-face-attribute): Apply formatting to :underline,
5693 since like :box and :stipple it can take list values.
5694
5695 * term.el (ansi-term): Don't let C-x escape-char binding
5696 clobber the more standard C-c binding. (Bug#12842)
5697
5698 * subr.el (set-temporary-overlay-map): Doc fix.
5699
5700 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5701
5702 * window.el (record-window-buffer)
5703 (display-buffer-record-window): When copying the markers to
5704 window-point preserve window-point-insertion-type. (Bug#12588)
5705
5706 2012-11-16 Glenn Morris <rgm@gnu.org>
5707
5708 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5709 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5710 Use new names for hooks rather than obsolete aliases.
5711
5712 2012-11-15 Daniel Colascione <dancol@dancol.org>
5713
5714 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5715 prefix instead of "file:" so that when FILE-NAME begins with "//",
5716 as it does when the target file is on a network share, url-handler
5717 isn't confused.
5718
5719 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5722 a preactivated advice from an old advice.el; they're not compatible!
5723
5724 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5725
5726 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5727 Fix string-spec case.
5728
5729 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5730
5731 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5734 (advice--buffer-local-function-sample): New var.
5735 (advice--set-buffer-local, advice--buffer-local): New functions.
5736 (add-function, remove-function): Use them.
5737
5738 2012-11-15 Drew Adams <drew.adams@oracle.com>
5739
5740 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5741
5742 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5745 potential binding of print-gensym to t, and prettify (back)quotes in
5746 case they appear in args's default values (bug#12884).
5747
5748 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5751 (advice-eval-interactive-spec): New function.
5752 (advice--make-interactive-form): Support around advice (bug#12844).
5753
5754 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5755
5756 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5757 more strict. Add docstring.
5758 (ruby-expression-expansion-re): Extract from
5759 `ruby-match-expression-expansion'.
5760 (ruby-syntax-propertize-function): After everything else, search
5761 for expansions in string literals, mark their insides as
5762 whitespace syntax and save match data for font-lock.
5763 (ruby-font-lock-keywords): Use the 2nd group from expression
5764 expansion matches.
5765 (ruby-match-expression-expansion): Use the match data saved to the
5766 text property in ruby-syntax-propertize-function.
5767
5768 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5771 (bug#12879).
5772
5773 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5774
5775 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5776 start/end keyword a bit harder. Works with different values of N.
5777 Add more comments.
5778 (ruby-end-of-block): Update accordingly.
5779
5780 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5781
5782 * woman.el (woman-file-name): Don't mess with unread-command-events
5783 (bug#12861).
5784
5785 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5786 Remove out of date self-require hack.
5787 (ad-do-advised-functions): Use simple `dolist'.
5788 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5789 (ad-advice-definition): Redefine as functions.
5790 (ad-advice-classes): Move before first use.
5791 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5792 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5793 (ad--defalias-fset): Remove functions.
5794 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5795 (ad-get-orig-definition): Rewrite.
5796 (ad-make-advised-definition-docstring): Change base docstring.
5797 (ad-real-orig-definition): Rewrite.
5798 (ad-map-arglists): Change name of called function.
5799 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5800 (ad-make-advised-definition): Simplify.
5801 (ad-assemble-advised-definition): Tweak for new calling context.
5802 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5803 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5804 function and call ad-activate if needed.
5805 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5806 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5807 (ad-compile-function): Compile ad-Advice-*.
5808 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5809 (ad-start-advice, ad-stop-advice): Remove.
5810
5811 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5812
5813 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5814 period before class method names, not after. Remove handling of
5815 one impossible case. Add comments.
5816
5817 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * emacs-lisp/advice.el: Remove support for freezing.
5820 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5821 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5822 Remove support for `freeze'.
5823
5824 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5825 override the default.
5826 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5827 cl--dotimes/dolist.
5828 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5829 `cl' is loaded.
5830
5831 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5832 from add-advice.
5833 (advice--strip-macro): New function.
5834 (advice--defalias-fset): Use them to handle macros.
5835 (advice-add): Use them.
5836 (advice-member-p): Correctly handle macros.
5837
5838 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5839
5840 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5841 Never font-lock the beginning of singleton class as heredoc.
5842
5843 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5846
5847 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5848
5849 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5850 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5851 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5852
5853 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5854
5855 Fix end-of-defun misbehavior.
5856 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5857 python-beginning-of-defun-function. Handle nested defuns
5858 correctly.
5859 (python-nav-end-of-defun): Rename from
5860 python-end-of-defun-function. Ensure forward movement.
5861 (python-info-current-defun): Reimplement to work as intended
5862 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5863 parent defuns as soon as possible.
5864
5865 2012-11-13 Glenn Morris <rgm@gnu.org>
5866
5867 * progmodes/flymake.el (flymake-error-bitmap)
5868 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5869 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5870
5871 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5872
5873 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5874 backward, always stop at indentation. Reverts the change from
5875 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5876
5877 2012-11-13 Glenn Morris <rgm@gnu.org>
5878
5879 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5880 Add ibuffer-filter-by-derived-mode.
5881
5882 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5883 the same name shadowing each other.
5884
5885 * window.el (with-temp-buffer-window): Doc tweak.
5886
5887 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5888
5889 * help.el (temp-buffer-max-height):
5890 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5891 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5892
5893 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/nadvice.el: New package.
5896 * subr.el (special-form-p): New function.
5897 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5898 (elp-all-instrumented-list): Remove var.
5899 (elp-not-profilable): Remove elp-wrapper.
5900 (elp-profilable-p): Use autoloadp and special-form-p.
5901 (elp--advice-name): New const.
5902 (elp-instrument-function): Use advice-add.
5903 (elp--instrumented-p): New predicate.
5904 (elp-restore-function): Use advice-remove.
5905 (elp-restore-all, elp-reset-all): Use mapatoms.
5906 (elp-set-master): Use elp--instrumented-p.
5907 (elp--make-wrapper): Rename from elp-wrapper, return a function
5908 suitable for advice-add. Use cl-inf.
5909 (elp-results): Use mapatoms+elp--instrumented-p.
5910 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5911 (debug-function-list): Remove var.
5912 (debug): Rename arg, and then let-bind it explicitly inside.
5913 (debugger-setup-buffer): Rename arg.
5914 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5915 (debugger-frame-number): Adjust to new debug-on-entry setup.
5916 (debug--implement-debug-on-entry): Rename from
5917 implement-debug-on-entry, add argument.
5918 (debugger-special-form-p): Remove, use special-form-p instead.
5919 (debug-on-entry): Use advice-add.
5920 (debug--function-list): New function.
5921 (cancel-debug-on-entry): Use it, along with advice-remove.
5922 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5923 (debugger-list-functions): Use debug--function-list instead of
5924 debug-function-list.
5925 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5926 (ad-special-form-p): Remove, use special-form-p instead.
5927 (ad-set-advice-info): Use add-function and remove-function.
5928 (ad--defalias-fset): Adjust accordingly.
5929
5930 2012-11-10 Glenn Morris <rgm@gnu.org>
5931
5932 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5933 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5934 (report-emacs-bug-create-existing-bugs-buffer)
5935 (report-emacs-bug-parse-query-results)
5936 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5937
5938 * term.el (term-default-fg-color, term-default-bg-color):
5939 Make obsolete, rather than just saying "deprecated" in the doc.
5940
5941 * term.el (term): Rename from `term-face'.
5942 (term-current-face, ansi-term-color-vector)
5943 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5944 Update all users.
5945
5946 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5947
5948 * server.el (server-create-window-system-frame): Handle Nextstep
5949 specially (Bug#12780).
5950
5951 2012-11-10 Glenn Morris <rgm@gnu.org>
5952
5953 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5954 Unautoload, and make obsolete. (Bug#7449)
5955
5956 2012-11-10 Chong Yidong <cyd@gnu.org>
5957
5958 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5959 rename from diff-remove-trailing-whitespace (Bug#12831).
5960
5961 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5964 miscompilation of trace.el.
5965
5966 2012-11-10 Glenn Morris <rgm@gnu.org>
5967
5968 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5969
5970 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5973 (bug#12812).
5974
5975 2012-11-10 Chong Yidong <cyd@gnu.org>
5976
5977 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5978 a defcustom with an appropriate :set function.
5979 (minibuffer-default--in-prompt-regexps): New function.
5980
5981 2012-11-10 Glenn Morris <rgm@gnu.org>
5982
5983 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5984 (define-modify-macro): Doc fixes.
5985
5986 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5987 (gv-define-simple-setter): Update doc of `fix-return'.
5988
5989 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5992 twice when `fix-return' is set (bug#12813).
5993
5994 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5995 gv-define-simple-setter (bug#12812).
5996
5997 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5998 (bug#12756).
5999
6000 2012-11-10 Glenn Morris <rgm@gnu.org>
6001
6002 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6003
6004 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6005 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6006 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6007 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6008
6009 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6010
6011 2012-11-10 Leo Liu <sdl.web@gmail.com>
6012
6013 * ido.el (ido-set-matches-1): Improve flex matching performance by
6014 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6015
6016 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6019 (ad--defalias-fset): New function.
6020 (ad-safe-fset): Remove.
6021 (ad-make-freeze-definition): Use cl-letf*.
6022
6023 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * subr.el (dolist): Don't bind VAR in RESULT.
6026
6027 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6028 (fset, documentation): Don't save real def since we don't advise.
6029 (ad-do-advised-functions): Remove problematic `result-form'.
6030 (ad-safe-fset): `ad-real-fset' => `fset'.
6031 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6032 uses CL's dolist internally.
6033 (ad-arglist): Remove unused arg `name'.
6034 (ad-docstring, ad-make-advised-docstring):
6035 `ad-real-documentation' => `documentation'.
6036 (warning-suppress-types): Declare.
6037 (ad-set-arguments): Simple CSE.
6038 (ad-recover-normality): Sanity check.
6039
6040 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6041 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6042
6043 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6044
6045 * ses.el: symbol to coordinate mapping is made by symbol property
6046 `ses-cell'. This means that the same mapping is done for all SES
6047 sheets. That is good enough for cells with standard A1 names, but
6048 not for named cell. So a hash map is added for the latter.
6049 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6050 (ses-sym-rowcol): Use hashmap for named cell.
6051 (ses-is-cell-sym-p): New defun.
6052 (ses-decode-cell-symbol): New defun.
6053 (ses-create-cell-variable): Add cell to hashmap when name is not
6054 A1-like.
6055 (ses-rename-cell): Check that cell new name is not already in
6056 spreadsheet with the use of ses-is-cell-sym-p
6057 (ses-rename-cell): Use hash map for named cells, but accept also
6058 renaming back to A1-like.
6059
6060 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * emacs-lisp/advice.el: Use new dynamic docstrings.
6063 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6064 Use dynamic-docstring-function instead of ad-advice-info.
6065 (ad--make-advised-docstring): New function extracted from
6066 ad-make-advised-docstring.
6067 (ad-make-advised-docstring): Use it.
6068 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6069 from sql-help.
6070 (sql-help): Use it with dynamic-docstring-function.
6071
6072 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6073
6074 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * files.el (hack-one-local-variable--obsolete): New function.
6077 (hack-one-local-variable): Use it for obsolete settings.
6078
6079 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6080 the new name.
6081
6082 * progmodes/js.el (js--filling-paragraph): New var.
6083 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6084 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6085 less sneaky.
6086
6087 2012-11-08 Julien Danjou <julien@danjou.info>
6088
6089 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6090 `auto-mode-alist' (Bug#12835).
6091
6092 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6095 (perl--prettify-symbols-alist): New const.
6096 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6097 New functions.
6098 (perl-font-lock-keywords-2): Use them.
6099 (perl-electric-noindent-p): New function.
6100 (perl-mode): Use it to set up electric-indent-mode.
6101 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6102 (perl-mode-map): Remove bindings for them.
6103 (perl-imenu-generic-expression, perl-outline-level):
6104 Match functions&packages in column>0.
6105
6106 * env.el (env--substitute-vars-regexp): New const.
6107 (substitute-env-vars): Use it. Add `only-defined' arg.
6108 * net/tramp.el (tramp-replace-environment-variables): Use it.
6109
6110 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6111 Byte-compile *before* eval in eval-and-compile.
6112 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6113 (byte-compile-file-form-autoload): Don't hide actual definition.
6114 (byte-compile-maybe-guarded): Accept `functionp' as well.
6115
6116 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6117
6118 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6119
6120 * notifications.el (notifications-get-server-information-method):
6121 New defconst.
6122 (notifications-get-capabilities): Fix docstring.
6123 (notifications-get-server-information): New defun.
6124
6125 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6126
6127 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6128 readability.
6129
6130 * textmodes/ispell.el: Experimental support for support debugging.
6131 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6132 buffer for ispell.
6133 (ispell-print-if-debug): New function to print stuff to
6134 `ispell-debug-buffer' if debugging is enabled.
6135 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6136 show some debugging info.
6137 (ispell-buffer-with-debug): New function that creates a debugging
6138 buffer and calls `ispell-buffer' with debugging enabled.
6139
6140 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6141 comment in autoconf mode. (Bug#12768)
6142
6143 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6144
6145 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6146 frame-first-window, frame-root-window, frame-selected-window,
6147 minibuffer-selected-window, minibuffer-window,
6148 window-absolute-pixel-edges, window-at, window-body-height,
6149 window-body-width, window-display-table, window-combination-limit,
6150 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6151 window-inside-edges, window-inside-pixel-edges, window-left-child,
6152 window-left-column, window-margins, window-next-buffers,
6153 window-next-sibling, window-new-normal, window-new-total,
6154 window-normal-size, window-parameter, window-parameters, window-parent,
6155 window-pixel-edges, window-point, window-prev-buffers,
6156 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6157 window-start, window-text-height, window-top-child, window-top-line,
6158 window-total-height, window-total-width and window-use-time to the list
6159 of functions without side-effects.
6160 (toplevel): Add window-valid-p to the list of error-free functions
6161 without side-effects.
6162
6163 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6164
6165 * textmodes/ispell.el (ispell-program-name):
6166 Update spellchecker parameters when customized.
6167
6168 2012-11-04 Glenn Morris <rgm@gnu.org>
6169
6170 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6171
6172 2012-11-04 Chong Yidong <cyd@gnu.org>
6173
6174 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6175 same-window-* variables.
6176
6177 2012-11-04 Juri Linkov <juri@jurta.org>
6178
6179 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6180 (isearch-describe-key, isearch-describe-mode): Use a display
6181 action instead of binding same-window-* variables (Bug#10040).
6182
6183 2012-11-03 Glenn Morris <rgm@gnu.org>
6184
6185 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6186 Rename handler properties back from cl-- to cl-. (Bug#12788)
6187
6188 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6189
6190 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6191
6192 * term/pc-win.el: Don't load term/internal from here.
6193
6194 * loadup.el: Load term/internal from here.
6195
6196 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6197
6198 * progmodes/python.el (inferior-python-mode): Fix hang in
6199 jit-lock (Bug#12645).
6200
6201 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6202
6203 * window.el (switch-to-visible-buffer)
6204 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6205
6206 2012-11-03 Glenn Morris <rgm@gnu.org>
6207
6208 * emacs-lisp/cl-lib.el (cl--random-time):
6209 Rename from cl-random-time. (Bug#12773)
6210 (cl--gensym-counter, cl--random-state): Update callers.
6211 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6212
6213 2012-11-03 Chong Yidong <cyd@gnu.org>
6214
6215 * cus-start.el: Make cursor-type customizable (Bug#11633).
6216
6217 2012-11-02 Glenn Morris <rgm@gnu.org>
6218
6219 * filecache.el: No need to load find-lisp when compiling.
6220 (find-lisp-find-files): Autoload it.
6221 (file-cache-add-directory-recursively): Don't require find-lisp.
6222
6223 * image.el (image-type-from-file-name): Trivial simplification.
6224
6225 * emacs-lisp/bytecomp.el (byte-compile-eval):
6226 Decouple "noruntime" and "cl-functions" warnings.
6227
6228 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6229
6230 * play/gomoku.el (gomoku-display-statistics): Update mode line
6231 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6232
6233 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6234
6235 * window.el (quit-restore-window): If the window has been
6236 created on an existing frame and ended up as the sole window on
6237 that frame, do not delete it (Bug#12764).
6238
6239 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6242 Rename from sh--inside-arithmetic-expression, handle more cases
6243 (bug#11263).
6244
6245 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6246 (sh-font-lock-open-heredoc): Use it (bug#12770).
6247
6248 2012-10-30 Glenn Morris <rgm@gnu.org>
6249
6250 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6251
6252 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6253
6254 2012-10-29 Chong Yidong <cyd@gnu.org>
6255
6256 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6257 function key is stored in a keyboard macro (Bug#4894).
6258
6259 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6260
6261 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6264 header comments".
6265 (diff-unified->context, diff-context->unified)
6266 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6267
6268 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6269
6270 * files.el (find-alternate-file): Only ask one question (bug#12487).
6271
6272 2012-10-29 Chong Yidong <cyd@gnu.org>
6273
6274 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6275 Suggested by Dan Nicolaescu (Bug#6326).
6276
6277 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6278
6279 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6280
6281 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6282
6283 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6284
6285 * face-remap.el (face-remap-add-relative): Handle the case where a
6286 face-remapping-alist entry is a cons cell (Bug#12762).
6287
6288 2012-10-29 Kevin Ryde <user42@zip.com.au>
6289
6290 * woman.el (woman-parse-numeric-value): Handle picas correctly
6291 (Bug#12639).
6292
6293 2012-10-29 Glenn Morris <rgm@gnu.org>
6294
6295 * emacs-lisp/cl.el (defsetf): Doc fix.
6296
6297 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6300 syntax to the matching opener, if any (bug#12547).
6301 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6302 matching open as a "case-(".
6303 (sh-smie-rc-grammar): Add a corresponding rule for it.
6304
6305 2012-10-28 Daniel Hackney <dan@haxney.org>
6306
6307 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6308 "PKGNAME-autoloads.el" in case we created it.
6309
6310 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6313 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6314 (completion--twq-all): Disable too-strict assertions.
6315
6316 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6317
6318 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6319
6320 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6321 text to match the real keybindings.
6322
6323 2012-10-27 Juri Linkov <juri@jurta.org>
6324
6325 * wdired.el (wdired-keep-marker-rename): New defcustom.
6326 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6327 (Bug#11795)
6328
6329 * dired.el (dired-keep-marker-rename): Add reference to
6330 `wdired-keep-marker-rename' in the docstring.
6331 Add default character value ?R to display initially in
6332 Customization UI instead of ?@.
6333
6334 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6335
6336 * window.el (display-buffer): In doc-string describe
6337 window-height and window-width alist entries.
6338
6339 * time.el (display-time-world): Restore fit-window-to-buffer
6340 behavior.
6341
6342 2012-10-27 Chong Yidong <cyd@gnu.org>
6343
6344 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6345
6346 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6347
6348 * minibuffer.el (completion-category-overrides): New completion
6349 category `bookmark' (bug#11131).
6350
6351 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6354 Silence bogus compiler warnings for ad-do-it.
6355
6356 * bookmark.el (bookmark-completing-read): Set the completion category
6357 to `bookmark' (bug#11131).
6358
6359 2012-10-26 Bastien <bzg@altern.org>
6360 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * face-remap.el: Use lexical-binding.
6363 (text-scale-adjust): Improve docstring. Use itself for the temporary
6364 overlay-map bindings, so as to repeat the "Use..." message each time.
6365
6366 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * emacs-lisp/macroexp.el (macroexp--expand-all):
6369 Obey byte-compile-warning-enabled-p (bug#12486).
6370
6371 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6372 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6373
6374 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6375
6376 * mouse.el (mouse-drag-line): Move last form into preceding when
6377 clause (Bug#12731).
6378
6379 * help.el (resize-temp-buffer-window): Fix doc-string.
6380
6381 2012-10-25 David Engster <deng@randomsample.de>
6382
6383 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6384 Remove. This feature is already integrated in imenu.
6385
6386 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6387 always loaded. Require `speedbar' unconditionally.
6388
6389 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6392
6393 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6394
6395 * net/ldap.el (ldap-search-internal): The official ldif format starts
6396 with a "version: 1" header (bug#12724).
6397
6398 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6399 (bug#12721).
6400
6401 2012-10-25 Glenn Morris <rgm@gnu.org>
6402
6403 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6404
6405 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * minibuffer.el (minibuffer-force-complete): Use one more marker
6408 for the temporary-overlay-map command (bug#12619).
6409
6410 2012-10-24 Chong Yidong <cyd@gnu.org>
6411
6412 * time.el (display-time-world-mode): Derive from special-mode.
6413 (display-time-world): Use display-buffer (Bug#12708).
6414 (display-time-world-mode-map): Variable deleted.
6415 (display-time-world-display): Wrap the final delete-char inside
6416 inhibit-read-only.
6417
6418 2012-10-24 Chong Yidong <cyd@gnu.org>
6419
6420 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6421 Doc fix.
6422
6423 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6424
6425 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * minibuffer.el (completion--all-sorted-completions-location): New var.
6428 (completion--cache-all-sorted-completions)
6429 (completion--flush-all-sorted-completions): Use it.
6430 (completion-in-region, completion-in-region--postch)
6431 (completion-at-point, completion-help-at-point): Use markers in
6432 completion-in-region--data (bug#12619).
6433
6434 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * progmodes/compile.el (compilation-start): Try to handle common
6437 quoting of `cd' argument (bug#12640).
6438
6439 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6440 (bug#12671).
6441
6442 2012-10-23 Glenn Morris <rgm@gnu.org>
6443
6444 * progmodes/gud.el (gud-menu-map):
6445 Check gdb-active-process is bound. (Bug#12358)
6446
6447 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6448
6449 * repeat.el (repeat): Set real-this-command (bug#12232).
6450
6451 * htmlfontify.el (hfy-post-html-hook):
6452 * filesets.el (filesets-cache-fill-content-hook):
6453 * arc-mode.el (archive-extract-hook):
6454 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6455 * net/rcirc.el (rcirc-sentinel-functions)
6456 (rcirc-receive-message-functions, rcirc-activity-functions)
6457 (rcirc-print-functions):
6458 * net/dbus.el (dbus-event-error-functions):
6459 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6460 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6461 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6462 * term/sun.el (sun-raw-prefix-hooks):
6463 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6464
6465 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6466
6467 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6468 Set `tramp-chunksize' to 1. This improves the performance.
6469 (tramp-smb-wait-for-output): Add timeout to
6470 `tramp-accept-process-output' calls.
6471
6472 2012-10-23 Chong Yidong <cyd@gnu.org>
6473
6474 * faces.el (font-list-limit): Define as an obsolete variable.
6475
6476 * startup.el (command-line):
6477 * cus-start.el: Don't refer to font-list-limit.
6478
6479 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6480
6481 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * subr.el (internal-temp-output-buffer-show): Rename from
6484 temp-output-buffer-show, since previously compiled files expect this name.
6485
6486 2012-10-23 Glenn Morris <rgm@gnu.org>
6487
6488 * image.el (image-type-from-file-name): If multiple types match,
6489 return the first one that is supported. (Bug#9045)
6490
6491 2012-10-22 Glenn Morris <rgm@gnu.org>
6492
6493 * image.el (imagemagick-enabled-types): Doc fix.
6494
6495 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6496
6497 * progmodes/which-func.el (which-func-current): The hash-table may have
6498 an explicit nil (bug#12338).
6499
6500 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * electric.el (electric-pair-delete-selection-self-insert-function):
6503 Rename to electric-pair-will-use-region, return a boolean.
6504 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6505
6506 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6507 (delete-selection-pre-hook): Use use-region-p.
6508 (delete-selection-self-insert-function): Remove.
6509 (self-insert-command): Obey self-insert-uses-region-functions.
6510 (self-insert-iso): Revert to previous setting, since we don't actually
6511 know what that command does.
6512 (delete-selection-self-insert-hooks): Remove.
6513
6514 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6515
6516 * delsel.el (delete-selection-helper): New function, extracted from
6517 delete-selection-pre-hook.
6518 (delete-selection-pre-hook): Use it.
6519 (delete-selection-self-insert-function): New function.
6520 (delete-selection-self-insert-hooks): New hook.
6521 (self-insert-command, self-insert-iso): Use it.
6522 * electric.el (electric-pair-syntax): New function, extracted from
6523 electric-pair-post-self-insert-function.
6524 (electric-pair-post-self-insert-function): Use it.
6525 (electric-pair-delete-selection-self-insert-function): New function.
6526 (electric-pair-mode): Require delsel and setup
6527 delete-selection-self-insert-hooks (bug#11520).
6528
6529 2012-10-20 Chong Yidong <cyd@gnu.org>
6530
6531 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6532 no changes to show (Bug#12586).
6533
6534 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6535 list explicitly (Bug#12571).
6536
6537 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6538
6539 * progmodes/flymake.el (flymake-create-temp-inplace):
6540 Use file-truename.
6541
6542 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6543
6544 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6545
6546 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6547
6548 * calc/calc-units.el (math-extract-units): Properly extract powers
6549 of units.
6550
6551 2012-10-20 Daniel Colascione <dancol@dancol.org>
6552
6553 * frame.el (make-frame): Set x-display-name as we used to in order
6554 to unbreak creating an X11 frame from an Emacs daemon started
6555 without a display.
6556
6557 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6560 the same completion-field (bug#12221).
6561
6562 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6563
6564 * emacs-lisp/debug.el (debug): Record height of debugger window
6565 also when debugger will be back (Bug#8789).
6566
6567 2012-10-18 Chong Yidong <cyd@gnu.org>
6568
6569 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6570 Convert to defcustom.
6571 (gdb-get-source-file): Don't bind pop-up-windows.
6572
6573 * progmodes/gud.el (gud-display-line): Don't specially re-use
6574 other frames for the gdb-mi case (Bug#12648).
6575
6576 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 * emacs-lisp/advice.el: Clean up commentary a bit.
6579 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6580 (byte-code-function-p): Never redefine.
6581
6582 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6583
6584 2012-10-18 Glenn Morris <rgm@gnu.org>
6585
6586 * dired.el (dired-sort-toggle): Some ls implementations only allow
6587 a single option string. (Bug#12666)
6588
6589 * minibuffer.el (completion-cycle-threshold): Doc fix.
6590
6591 2012-10-17 Kenichi Handa <handa@gnu.org>
6592
6593 * international/mule.el (set-keyboard-coding-system):
6594 Recover input meta mode when the new coding system doesn not use 8-bit.
6595 Supply TERMINAL arg to set-input-meta-mode.
6596
6597 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6598
6599 * wdired.el (wdired-old-marks): New variable.
6600 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6601 (wdired-do-renames): Move point with renamed file and don't lose
6602 mark status (Bug#11795).
6603
6604 2012-10-16 Juri Linkov <juri@jurta.org>
6605
6606 * replace.el (query-replace-help): Mention multi-buffer replacement
6607 keys in the Help message. (Bug#12655)
6608
6609 2012-10-15 Chong Yidong <cyd@gnu.org>
6610
6611 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6612
6613 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6614
6615 * window.el (display-buffer): Doc fix.
6616
6617 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6618 Adjust the msft regexp to the output of Studio 2010, and move msft
6619 before edg-1. See the discussion on emacs-devel,
6620 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6621 for the details.
6622
6623 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6626 (oset): Move uses of object-class-fast macro after its definition.
6627
6628 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6629
6630 2012-10-13 Chong Yidong <cyd@gnu.org>
6631
6632 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6633 enabled, re-enable it (Bug#11963).
6634
6635 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6636
6637 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6638 non-nil, restore window configuration (Bug#12623).
6639
6640 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * help-fns.el (describe-variable, describe-function-1):
6643 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6644
6645 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6646
6647 2012-10-12 Glenn Morris <rgm@gnu.org>
6648
6649 * mail/rmailsum.el (rmail-header-summary):
6650 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6651
6652 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6653
6654 * progmodes/python.el (python-mode-map):
6655 Replace subtitute-key-definition with proper command remapping.
6656 (python-nav--up-list): Fix behavior for blocks on the same level.
6657
6658 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6661
6662 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6663 changes to the format of load-history.
6664
6665 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6666 completion-ignore-case in case that var is buffer-local (bug#12615).
6667
6668 2012-10-11 Kenichi Handa <handa@gnu.org>
6669
6670 * international/eucjp-ms.el: Re-generated.
6671
6672 2012-10-10 Kenichi Handa <handa@gnu.org>
6673
6674 * select.el (xselect--encode-string): If a coding is specified for
6675 selection, and that is compatible with COMPOUND_TEXT, use it.
6676
6677 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6678
6679 * window.el (switch-to-buffer-preserve-window-point): New option.
6680 (switch-to-buffer):
6681 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6682
6683 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6686 Don't document nil as a useful value (bug#12583).
6687
6688 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6689
6690 * net/tramp.el (tramp-debug-message):
6691 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6692 (with-tramp-progress-reporter): Rename from
6693 `tramp-with-progress-reporter'.
6694 (with-tramp-file-property, with-tramp-connection-property):
6695 Move from tramp-cache.el, rename from `with-file-property' and
6696 `with-connection-property', respectively.
6697
6698 * net/tramp-cache.el: Remove `with-file-property' and
6699 `with-connection-property'.
6700
6701 * net/tramp.el:
6702 * net/tramp-gvfs.el:
6703 * net/tramp-sh.el:
6704 * net/tramp-smb.el: Adapt callees.
6705
6706 * net/trampver.el: Update release number.
6707
6708 2012-10-09 Glenn Morris <rgm@gnu.org>
6709
6710 * w32-fns.el (set-message-beep):
6711 * term/w32-win.el (set-message-beep): Update declarations.
6712
6713 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6716 (mode-line-widen, mode-line-input-method-map)
6717 (mode-line-coding-system-map, mode-line-remote)
6718 (mode-line-unbury-buffer, mode-line-bury-buffer)
6719 (mode-line-next-buffer, mode-line-previous-buffer):
6720 Replace save-selected-window+select-window => with-selected-window.
6721
6722 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6723 * progmodes/cc-vars.el (bq-process): Remove, unused.
6724
6725 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6726
6727 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6728
6729 Implemented `backward-up-list'-like navigation.
6730 * progmodes/python.el (python-nav-up-list)
6731 (python-nav-backward-up-list): New functions.
6732 (python-mode-map): Define substitute key for backward-up-list to
6733 python-nav-backward-up-list.
6734
6735 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6736
6737 * progmodes/python.el (python-fill-paragraph): Rename from
6738 python-fill-paragraph-function. Fixed fill-paragraph for
6739 decorators (Bug#12605).
6740
6741 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6742
6743 * progmodes/python.el (python-shell-output-filter): Handle extra
6744 carriage return in OSX (Bug#12409).
6745
6746 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6747
6748 Fix shell handling of unbalanced quotes and parens in output.
6749 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6750 (python-syntax-propertize-function): Use it.
6751 (python-shell-output-syntax-table): New var.
6752 (inferior-python-mode): Prevent unbalanced parens/quotes from
6753 previous output mess with current input context.
6754
6755 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6756
6757 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6758 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6759
6760 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6761
6762 * ffap.el (ffap-replace-file-component): Support Tramp file name
6763 syntax, not only ange-ftp's one.
6764
6765 2012-10-08 Glenn Morris <rgm@gnu.org>
6766
6767 * cus-start.el (message-log-max): Set :version.
6768
6769 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6770
6771 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6772
6773 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6774 the minibuffer window (Bug#10851).
6775
6776 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6777
6778 Enhancements on forward-sexp movement.
6779 * progmodes/python.el (python-nav-beginning-of-statement)
6780 (python-nav-end-of-statement): Return point-marker.
6781 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6782 (python-info-current-symbol)
6783 (python-info-statement-starts-block-p): Rename from
6784 python-info-beginning-of-block-p.
6785 (python-info-statement-ends-block-p): Rename from
6786 python-info-end-of-block-p.
6787 (python-info-beginning-of-statement-p)
6788 (python-info-end-of-statement-p)
6789 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6790 New functions.
6791
6792 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6795 frame-selected-windows.
6796
6797 2012-10-08 Daniel Colascione <dancol@dancol.org>
6798
6799 * battery.el (battery-status-function): Check for
6800 w32-battery-status itself, not system-time windows-nt.
6801
6802 * frame.el: Require cl-lib.
6803 (display-format-alist): New variable mapping frame types to
6804 functions that initialize them.
6805 (window-system-for-display): New function: interprets
6806 display-format-alist.
6807 (make-frame-on-display): Remove existing display-selection logic
6808 and just forward to make-frame, which will now DTRT.
6809 (make-frame): Restructure to use window-system-for-display to
6810 figure out how to create a frame on a given display.
6811 (display-mouse-p): Look for frame-type w32, not a particular
6812 system-type.
6813
6814 * loadup.el: Load w32 lisp code when we have the w32 feature.
6815
6816 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6817 system-type windows-nt.
6818
6819 * server.el (server-create-window-system-frame): Look for window
6820 type.
6821 (server-proces-filter): Only force a window system when windows-nt
6822 _and_ w32. Explain why.
6823
6824 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6825 of window systems we configure for the mode.
6826
6827 * startup.el (command-line): Mark window system is initialized
6828 after we've done it.
6829
6830 * common-win.el (x-select-text): Look for w32, not windows-nt.
6831
6832 * ns-win.el: Require cl-lib. Add ourselves to
6833 display-format-alist.
6834 (ns-initialize-window-system): Assert we're not initialized twice.
6835
6836 * w32-win.el: Enable lexical binding; require cl-lib; add
6837 ourselves to display-format-alist.
6838 (w32-handle-dropped-file): Convert incoming dropped files from
6839 Windows paths to Cygwin ones before passing them on to the rest of
6840 Emacs.
6841 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6842 (w32-initialize-window-system): Assert we're not initialized twice.
6843
6844 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6845 (x-initialize-window-system): Assert we're not initialized twice.
6846
6847 * w32-common-fns.el: New File.
6848 (w32-version, w32-using-nt, w32-get-clipboard-data)
6849 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6850 (w32-charset-info-alist, x-last-selected, text)
6851 (x-get-selection-value, x-selection-value): Move here.
6852
6853 * w32-fns.el: Require w32-common-fns.
6854 (w32-version, w32-using-nt, w32-get-clipboard-data)
6855 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6856 (w32-charset-info-alist, x-last-selected, text)
6857 (x-get-selection-value, x-selection-value): Move to
6858 w32-common-fns.
6859
6860 * w32-vars.el:
6861 (w32-allow-system-shell, w32-system-shells): Define only in
6862 non-cygwin case.
6863
6864 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6867 (read-passwd): Remove a few more potential sources of leaks.
6868
6869 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6870
6871 * progmodes/python.el (inferior-python-mode)
6872 (python-shell-make-comint): Fix initialization of local
6873 variables copied from parent buffer.
6874
6875 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6876
6877 * term/ns-win.el (ns-read-file-name): Update declaration to match
6878 nsfns.m.
6879 (ns-respond-to-change-font): Change fontsize separately so we are sure
6880 it is set when font is acted upon.
6881
6882 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6883
6884 Enhancements to indentation.
6885 * progmodes/python.el (python-indent-context): Give priority to
6886 inside-string context. Make comments indentation markers.
6887 (python-indent-region): Do not mess with strings, unless it's the
6888 enclosing set of quotes.
6889
6890 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * window.el (internal--before-save-selected-window)
6893 (internal--after-save-selected-window): New functions extracted from
6894 save-selected-window. Make sure we return the `alist' we construct.
6895 (save-selected-window): Use them.
6896
6897 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6898 Use with-selected-window.
6899
6900 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6901 forms that define macros (bug#12593).
6902
6903 2012-10-07 Kenichi Handa <handa@gnu.org>
6904
6905 * international/mule-conf.el (compound-text-with-extensions):
6906 Add :mime-charset property as x-ctext.
6907
6908 2012-10-07 Stefan Merten <smerten@oekonux.de>
6909
6910 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6911 (rst-indent-literal-normal, rst-indent-literal-minimized)
6912 (rst-indent-comment): Correct :version tag.
6913 (rst-official-cvs-rev): Correct version string.
6914
6915 2012-10-07 Glenn Morris <rgm@gnu.org>
6916
6917 * mail/rmailmm.el (rmail-mime-process-multipart):
6918 Do not confuse a multipart message with an epilogue
6919 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6920
6921 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6922
6923 Fix shell output retrieval and comint-prompt-regexp init.
6924 * progmodes/python.el (inferior-python-mode):
6925 (python-shell-make-comint): Fix initialization of
6926 comint-prompt-regexp from copied file local variables.
6927 (python-shell-fetched-lines): Remove var.
6928 (python-shell-output-filter-in-progress): Rename from
6929 python-shell-fetch-lines-in-progress.
6930 (python-shell-output-filter-buffer): Rename from
6931 python-shell-fetch-lines-string.
6932 (python-shell-fetch-lines-filter): Delete function.
6933 (python-shell-output-filter): New function.
6934 (python-shell-send-string-no-output): Use them.
6935
6936 2012-10-07 Glenn Morris <rgm@gnu.org>
6937
6938 * hi-lock.el (hi-lock-process-phrase):
6939 Try to make it less fragile. (Bug#7161)
6940
6941 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6942
6943 2012-10-06 Glenn Morris <rgm@gnu.org>
6944
6945 * ehelp.el (electric-help-mode): Use help-mode rather than
6946 non-existent mode `help'.
6947 (electric-help-map): Use button-buffer-map. (Bug#10917)
6948
6949 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6950 (reftex-create-bibtex-footer): Fix custom types.
6951
6952 * progmodes/sh-script.el (sh-indent-after-continuation):
6953 Add explicit :group.
6954
6955 * textmodes/rst.el (rst-preferred-decorations)
6956 (rst-shift-basic-offset): Clarify obsolescence versions.
6957
6958 * profiler.el (profiler): Add missing group :version tag.
6959 * avoid.el (mouse-avoidance-banish-position):
6960 * proced.el (proced-renice-command):
6961 * calc/calc.el (calc-ensure-consistent-units):
6962 * calendar/icalendar.el (icalendar-import-format-uid):
6963 * net/tramp.el (tramp-save-ad-hoc-proxies):
6964 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6965 * progmodes/flymake.el (flymake-error-bitmap)
6966 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6967 * progmodes/sh-script.el (sh-indent-after-continuation):
6968 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6969 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6970 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6971 (vhdl-array-index-record-field-in-sensitivity-list)
6972 (vhdl-indent-comment-like-next-code-line):
6973 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6974 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6975 (reftex-cite-key-separator, reftex-create-bibtex-header)
6976 (reftex-create-bibtex-footer):
6977 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6978 (rst-indent-literal-normal, rst-indent-literal-minimized)
6979 (rst-indent-comment): Add missing custom :version tags.
6980
6981 * calendar/timeclock.el (timeclock-modeline-display):
6982 Add missing obsolete alias for renamed user option.
6983
6984 * strokes.el (strokes-modeline-string):
6985 * emulation/crisp.el (crisp-mode-modeline-string):
6986 * eshell/esh-mode.el (eshell-status-in-modeline):
6987 Aliases to defcustoms must come before the defcustom.
6988
6989 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6990 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6991 (cal-tex-cursor-week-monday): Doc fixes.
6992 (cal-tex-cursor-week2-summary): Doc fix.
6993 Rename from cal-tex-cursor-week-at-a-glance.
6994
6995 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6996 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6997
6998 * calendar/calendar.el (calendar-mode-map):
6999 Add cal-tex-cursor-week2-summary.
7000
7001 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7002
7003 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7004
7005 * subr.el (read-passwd-map): New var.
7006 (read-passwd): Use `read-string' again.
7007 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7008
7009 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7010
7011 * register.el (append-to-register, prepend-to-register):
7012 Deactivate mark, as does `copy-to-register' (bug#12389).
7013
7014 2012-10-06 Chong Yidong <cyd@gnu.org>
7015
7016 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7017
7018 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7019
7020 * international/characters.el: Fix simple mistake ((car chars) ->
7021 elt), delete duplicated code.
7022
7023 2012-10-06 Glenn Morris <rgm@gnu.org>
7024
7025 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7026
7027 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7028
7029 * color.el (color-hsl-to-rgb): Fix incorrect results for
7030 small and large hue values. (Bug#12559)
7031
7032 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7033
7034 Enhancements to docstring formatting when filling paragraphs.
7035 * progmodes/python.el (python-fill-docstring-style): Rename from
7036 python-fill-string-style. Added new style.
7037 (python-fill-string): Use new style. Better checks for
7038 docstrings.
7039
7040 2012-10-05 Glenn Morris <rgm@gnu.org>
7041
7042 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7043
7044 * color.el (color-name-to-rgb, color-rgb-to-hex)
7045 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7046 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7047 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7048 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7049
7050 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7051
7052 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7053
7054 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7055 to get the correct size across symlinks.
7056
7057 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7058
7059 2012-10-04 Juri Linkov <juri@jurta.org>
7060
7061 * replace.el (query-replace-interactive): Declare obsolete.
7062 (query-replace-read-from): Add the last incremental search string
7063 to the list of default values accessible via M-n.
7064 (map-query-replace-regexp): Use `read-regexp'.
7065 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7066 (map-query-replace-regexp, replace-string, replace-regexp):
7067 Fix docstrings to replace mentions of `query-replace-interactive'
7068 with alternatives. (Bug#12526)
7069
7070 2012-10-04 Juri Linkov <juri@jurta.org>
7071
7072 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7073 (dired-pop-to-buffer): Declare obsolete.
7074 (dired-mark-pop-up): Doc fix.
7075
7076 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7077
7078 Allow user to set docstring style for fill-paragraph.
7079 * progmodes/python.el
7080 (python-fill-comment-function, python-fill-string-function)
7081 (python-fill-decorator-function, python-fill-paren-function):
7082 Remove :safe for defcustoms.
7083 (python-fill-string-style): New defcustom
7084 (python-fill-paragraph-function): Enhance context detection.
7085 (python-fill-string): Honor python-fill-string-style settings.
7086
7087 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7088
7089 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7090 after setting its buffer (Bug#10805).
7091
7092 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7093
7094 Fix cornercase for string syntax.
7095 * progmodes/python.el (python-syntax-propertize-function):
7096 Simplify and enhance the regexp for unescaped quotes. Now it also
7097 matches quotes in weird situations like the single quote in
7098 "something\"'".
7099 (python-syntax-stringify): Simplify num-quotes detecting code.
7100
7101 2012-10-03 Glenn Morris <rgm@gnu.org>
7102
7103 * help-macro.el (three-step-help):
7104 Revert 2012-09-29 change. (Bug#12567)
7105
7106 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7107
7108 * menu-bar.el (kill-this-buffer): Don't do anything when
7109 `menu-frame' is not alive or visible (Bug#8184).
7110
7111 * emacs-lisp/debug.el (debug): When quitting the debugger window
7112 restore current buffer (Bug#12502).
7113
7114 2012-10-02 Chong Yidong <cyd@gnu.org>
7115
7116 * progmodes/hideif.el (hif-lookup, hif-defined):
7117 Handle semantic-c-takeover-hideif.
7118
7119 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7120
7121 Change sampling interval units from ms to ns.
7122 * profiler.el (profiler-sampling-interval): Change units
7123 from ms to ns, multiplying the default by 1000000 so that
7124 it remains 1 ms.
7125 (profiler-report-cpu-line-format): Give enough room for
7126 the maximum counters on 64-bit hosts.
7127 (profiler-report-render-calltree-1): Call them "CPU samples",
7128 not "Time (ms)", since they are not milliseconds now (and
7129 never really were).
7130
7131 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7132
7133 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7134 Fix querying BBDB for entries without a last name (Bug#11580).
7135
7136 2012-10-02 Chong Yidong <cyd@gnu.org>
7137
7138 * emacs-lisp/eieio.el: Restore Version header.
7139
7140 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * vc/diff-mode.el (diff--auto-refine-data): New var.
7143 (diff-hunk): Use it to delay refinement.
7144 (diff-mode): Remove overlays when we turn off font-lock.
7145
7146 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7147 (table-initialize-table-fixed-width-mode)
7148 (table-set-table-fixed-width-mode): Remove functions.
7149 (table-command-list): Move initialization into declaration.
7150 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7151 (table-with-cache-buffer): Use `declare'.
7152 (table-span-cell): Simplify via CSE.
7153 (table-fixed-width-mode): Use define-minor-mode.
7154 (table-call-interactively, table-funcall, table-apply): Remove.
7155 (table-function): New function, to replace them.
7156
7157 * bookmark.el (bookmark-search-pattern): Remove var.
7158 (bookmark-read-search-input): Remove function.
7159 (bookmark-bmenu-search): Reimplement using a minibuffer.
7160
7161 * faces.el (modeline): Remove obsolete face name.
7162
7163 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7164 and give a non-nil default value.
7165 (add-change-log-entry): Simplify accordingly.
7166
7167 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7168
7169 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7170 (vc-git-log-edit-toggle-amend): New function.
7171 (vc-git-log-edit-toggle-signoff): New function.
7172 (vc-git-log-edit-mode): New major mode.
7173 (vc-git-log-edit-mode-map): Keymap for it.
7174 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7175
7176 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7177 header names.
7178 (log-edit-toggle-header): New function.
7179 (log-edit-extract-headers): Accept function values in HEADERS alist.
7180
7181 2012-10-01 David Engster <deng@randomsample.de>
7182
7183 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7184 from symbol property and change message to be more consistent with
7185 Emacs proper.
7186 (eieio-describe-generic): Add filename for each implementation.
7187 Fix indices for generic and normal methods.
7188 (eieio-method-def, eieio-class-def): New buttons.
7189 (eieio-help-find-method-definition)
7190 (eieio-help-find-class-definition): New functions.
7191 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7192 class, constructor and method definitions.
7193
7194 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7195 information in symbol property.
7196 (scoped-class): Remove.
7197 (eieio-slot-name-index, call-next-method): Check if it is bound.
7198
7199 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7200
7201 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7202 (eieio-custom-mode): New major mode.
7203 (eieio-customize-object): Use it.
7204
7205 2012-10-01 Eric Ludlam <zappo@gnu.org>
7206
7207 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7208 specifying the expected class, and whether subclassing is allowed.
7209 (eieio-persistent-convert-list-to-object):
7210 (eieio-persistent-validate/fix-slot-value)
7211 (eieio-persistent-slot-type-is-class-p): New functions.
7212 (eieio-named::slot-missing): Doc fix.
7213
7214 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7215 Stop using unused publd variable.
7216
7217 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7218 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7219 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7220 (eieio-speedbar-handle-click): Do not specify a class for the
7221 method. Fixes method invocation order problems with EDE.
7222
7223 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7226 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7227
7228 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7229
7230 * bookmark.el (bookmark-version-control): Give tags in the
7231 :type choices (Bug#12309), and improve doc string.
7232 (bookmark-write-file): Bind `print-circle' to `t' to allow
7233 circular custom bookmark types. (Bug#12503)
7234
7235 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7236
7237 Revert the FOLLOW-SYMLINKS change for file-attributes.
7238 * files.el (remote-file-name-inhibit-cache, after-find-file):
7239 * time.el (display-time-file-nonempty-p): Undo last change.
7240
7241 * profiler.el (profiler-sampling-interval): Change default back to 1.
7242 See Stefan Monnier in
7243 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7244
7245 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7246
7247 Shell output catching a la gud-gdb.
7248 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7249 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7250 New Vars.
7251 (python-shell-fetch-lines-filter): New function.
7252 (python-shell-send-string-no-output): Use them.
7253
7254 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7255
7256 * profiler.el (profiler-sampling-interval): Rename from
7257 profiler-sample-interval.
7258 (profiler-sampling-interval): Default to 10.
7259 (profiler-find-profile): New command (was profiler-find-log).
7260 (profiler-find-profile-other-window): New command.
7261 (profiler-find-profile-other-frame): New command.
7262 (profiler-profile): Introduce API-level data structure.
7263
7264 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7265
7266 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7267 * files.el (remote-file-name-inhibit-cache):
7268 * time.el (display-time-file-nonempty-p): Use it.
7269 * files.el (after-find-file): Don't chase links before calling
7270 file-exists-p, as file-exists-p already does the right thing.
7271
7272 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7273
7274 Merge from standalone RefTeX repository.
7275
7276 The following ChangeLog entries are shortened versions of the
7277 original ones with file paths adapted. A not so strongly edited
7278 version of the original ChangeLog can be found in the commit log.
7279
7280 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7281 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7282 Correctly handle new value type returned by `reftex-citation'.
7283
7284 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7285 that entries with whitespace at various places are found.
7286 Doc fix. Include entries that are cross-referenced from cited entries.
7287 Include @String definitions in the resulting bib file. Add header
7288 and footer defined in `reftex-create-bibtex-header' and
7289 `reftex-create-bibtex-footer'.
7290 (reftex-do-citation): Make it possible again to insert
7291 non-existent entries. Save match data when asking for optional
7292 arguments. Return all keys, not just the first one.
7293 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7294 all citations in the same line.
7295 (reftex-parse-bibtex-entry): Accept additional optional argument
7296 `raw' and keep quotes or braces if it is non-nil. Match fields
7297 containing hyphens besides word constituents.
7298 (reftex-get-string-refs): New function.
7299 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7300 and ask if it should be reread in case it did.
7301 (reftex-pop-to-bibtex-entry)
7302 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7303 entries with spaces or tabs in front of arguments.
7304 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7305 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7306 Match entries containing numbers and symbol constituents.
7307 (reftex-do-citation, reftex-figure-out-cite-format):
7308 Use `reftex-cite-key-separator'.
7309
7310 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7311 (reftex-mouse-view-crossref): Explain why point is set.
7312
7313 * textmodes/reftex-global.el: Whitespace changes.
7314
7315 * textmodes/reftex-index.el: Move provide statement to end of
7316 file.
7317 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7318 (reftex-index-visit-phrases-buffer): Set marker when visiting
7319 buffer. This allows for returning from the phrases file to the
7320 file one was just editing instead of the file where the last
7321 phrases was added from.
7322 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7323 punctuation syntax as it usually is not used as string quote in
7324 TeX-related modes and may occur unmatched. The change also
7325 prevents fontification of quoted content.
7326 (reftex-index-phrases-mode): Use it.
7327
7328 * textmodes/reftex-parse.el (reftex-parse-from-file):
7329 Move backward one char if a `\' was matched after a section macro.
7330 (reftex-parse-from-file): Use beginning of match instead of end as
7331 bound.
7332
7333 * textmodes/reftex-ref.el: Adapt creation of
7334 `reftex-<package>-<macro>' functions to new structure of
7335 `reftex-ref-style-alist'.
7336 (reftex-reference): Use `reftex-ref-style-list' function.
7337 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7338 reference macro if `reftex-ref-macro-prompt' is non-nil.
7339 (reftex-reference): Pass refstyle to `reftex-format-special'.
7340 Determine reference macro by looking at
7341 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7342 Use only one special format function.
7343 (reftex-varioref-vref, reftex-fancyref-fref)
7344 (reftex-fancyref-Fref): Remove definitions. The functions are now
7345 generated from `reftex-ref-style-alist'.
7346 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7347 Remove.
7348 (reftex-format-special): New function.
7349
7350 * textmodes/reftex-sel.el
7351 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7352 of `reftex-ref-style-alist'. Remove code for testing macro type.
7353 (reftex-select-toggle-varioref)
7354 (reftex-select-toggle-fancyref): Remove.
7355 (reftex-select-cycle-ref-style-internal)
7356 (reftex-select-cycle-ref-style-forward)
7357 (reftex-select-cycle-ref-style-backward): New functions.
7358 (reftex-select-label-map): Use `v' and `V' for general cycling
7359 through reference styles. Add `p' for switching between number
7360 and page reference types.
7361
7362 * textmodes/reftex-toc.el (reftex-re-enlarge):
7363 Call `enlarge-window' only if there is something to do because in Emacs
7364 the horizontal version throws an error even if the parameter is 0.
7365
7366 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7367 (reftex-plug-into-AUCTeX): Doc fix.
7368 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7369 string. Adapt to new name.
7370 (reftex-ref-style-alist): Change structure so that it is not
7371 possible to use multiple different package names within a style.
7372 Remove the symbols for symbols for macro type distinction.
7373 Add characters for macro selection.
7374 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7375 (reftex-create-bibtex-footer): New variables.
7376 (reftex-format-ref-function): Mention third argument of special
7377 format function.
7378 (reftex-ref-style-alist, reftex-ref-style-default-list):
7379 New variables.
7380 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7381 to new implementation. Mark as obsolete. Add compatibility code
7382 for honoring the variable values in case they are set.
7383 (reftex-cite-format-builtin, reftex-bibliography-commands):
7384 Add support for ConTeXt.
7385 (reftex-format-ref-function, reftex-format-cite-function):
7386 Fix custom type.
7387 (reftex-cite-key-separator): New variable.
7388
7389 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7390 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7391 `reftex-syntax-table' because parens have to retain their paren
7392 syntax in order for parsing of BibTeX entries like @book(...) to
7393 work.
7394 (reftex-in-comment): Do not error out if `comment-start-skip' is
7395 not set. Deal correctly with escaped comment characters.
7396 (reftex-tie-multifile-symbols): Add doc string.
7397 Initialize `reftex-ref-style-list'.
7398 (reftex-untie-multifile-symbols): Add doc string.
7399 (reftex-add-index-macros): Doc fix.
7400 (reftex-ref-style-activate, reftex-ref-style-toggle)
7401 (reftex-ref-style-list): New functions.
7402 (reftex-mode-menu): Use them. Adapt to new structure of
7403 `reftex-ref-style-alist'.
7404 (reftex-select-with-char): Kill the RefTeX Select buffer when
7405 done.
7406 (reftex-remove-if): New function.
7407 (reftex-erase-all-selection-and-index-buffers)
7408 (reftex-mode-menu): Reference styles are now computed from
7409 `reftex-ref-style-alist'. Fix typo.
7410 (reftex-report-bug): New function.
7411 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7412 algorithms with O(n log n). Introduce optional argument SORT (not
7413 yet used).
7414
7415 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7416
7417 Enhancements for triple-quote string syntax.
7418 * progmodes/python.el (python-syntax-propertize-function):
7419 Match both quote cases in one regexp.
7420 (python-syntax-stringify): Handle matches properly.
7421
7422 2012-09-30 Juri Linkov <juri@jurta.org>
7423
7424 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7425 to nil around the call to `insert' to prevent
7426 directory time modification by lock_file. (Bug#2295)
7427 * tar-mode.el (tar-summarize-buffer): Idem.
7428
7429 2012-09-30 Juri Linkov <juri@jurta.org>
7430
7431 * facemenu.el (list-colors-sort): Add option "Luminance".
7432 (list-colors-sort-key): Implement it.
7433
7434 * vc/diff-mode.el (diff-refine-removed):
7435 * vc/ediff-init.el (ediff-fine-diff-A):
7436 * vc/smerge-mode.el (smerge-refined-removed):
7437 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7438
7439 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7440
7441 * term/ns-win.el (x-file-dialog): New function.
7442
7443 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * ido.el (ido-max-directory-size): Default to nil; the current
7446 default is small for POSIX systems, and impractical on Windows 7
7447 now that lstat returns directory sizes for NTFS.
7448
7449 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7450
7451 In buffer display functions handle window-height/window-width
7452 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7453 * window.el (window--display-buffer): New argument ALIST.
7454 Obey window-height and window-width alist entries.
7455 (window--try-to-split-window): New argument ALIST.
7456 Bind window-combination-limit to t when the window's size shall be
7457 changed and window-combination-limit equals `window-size'.
7458 (display-buffer-in-atom-window)
7459 (display-buffer-in-major-side-window)
7460 (display-buffer-in-side-window, display-buffer-same-window)
7461 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7462 (display-buffer-pop-up-window, display-buffer-below-selected)
7463 (display-buffer-at-bottom, display-buffer-in-previous-window)
7464 (display-buffer-use-some-window): Adjust all callers of
7465 window--display-buffer and window--try-to-split-window.
7466 (fit-frame-to-buffer): New option.
7467 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7468 is non-nil.
7469 (display-buffer-in-major-side-window): Evaluate window-height /
7470 window-width alist entries.
7471
7472 * help.el (temp-buffer-resize-frames)
7473 (temp-buffer-resize-regexps): Remove options.
7474 (temp-buffer-resize-mode): Adjust doc-string.
7475 (resize-temp-buffer-window): Don't consult
7476 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7477 temp-buffer-resize-frames.
7478
7479 * dired.el (dired-mark-pop-up):
7480 Call display-buffer-below-selected with a fit-window-to-buffer alist
7481 entry.
7482
7483 2012-09-30 Chong Yidong <cyd@gnu.org>
7484
7485 * server.el (server-host): Document the security implications.
7486 (server-auth-key): Doc fix.
7487
7488 * startup.el (initial-buffer-choice): Doc fix.
7489
7490 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7491
7492 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7493 restriction change.
7494
7495 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7496
7497 * help-fns.el (help-fns--obsolete): Fix last change.
7498
7499 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7500
7501 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7502 (minor-mode-map-alist): Remove redundant code.
7503
7504 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7505 visited in a buffer.
7506 (cvs-insert-visited-file): New function.
7507 (find-file-hook): Use it.
7508
7509 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7510
7511 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7512 chose face.
7513 (log-edit-empty-buffer-p): Don't require a space after a header.
7514
7515 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7516
7517 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7518
7519 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7520 a proper minor-mode.
7521
7522 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7523
7524 2012-09-29 Glenn Morris <rgm@gnu.org>
7525
7526 * winner.el (winner-mode): Remove variable (let define-minor-mode
7527 handle it).
7528 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7529 Doc fixes.
7530 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7531 (winner-mode): Use define-minor-mode.
7532
7533 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7534 the full definition in loaddefs, rather than duplicating it.
7535
7536 * help-macro.el (three-step-help): No need to autoload defcustom.
7537
7538 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7539 (inferior-lisp-program, inferior-lisp-load-command)
7540 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7541 No need to autoload defcustoms.
7542
7543 * hippie-exp.el (hippie-expand-try-functions-list)
7544 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7545 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7546 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7547 (hippie-expand-only-buffers): No need to autoload defcustoms.
7548 * progmodes/vhdl-mode.el (vhdl-line-expand):
7549 Explicitly load hippie-exp, so it does not get autoloaded
7550 while hippie-expand-try-functions-list is let-bound.
7551
7552 2012-09-28 Glenn Morris <rgm@gnu.org>
7553
7554 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7555
7556 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7557 Only "cl.el" counts as cl these days.
7558
7559 2012-09-28 Juri Linkov <juri@jurta.org>
7560
7561 Display archive errors in the echo area instead of inserting
7562 to the file buffer.
7563
7564 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7565 to STDERR-TEST that can be a regexp matching a successful output.
7566 Create a temporary file and redirect stderr to it. Search for
7567 STDERR-TEST in the stderr output and display it in the echo area
7568 if no match is found.
7569 (archive-extract-by-file): New function like
7570 `archive-extract-by-stdout' but extracting archives to files
7571 and looking for successful matches in stdout. Function body is
7572 mostly copied from `archive-rar-extract'.
7573 (archive-rar-extract): Use `archive-extract-by-file'.
7574 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7575
7576 2012-09-28 Leo Liu <sdl.web@gmail.com>
7577
7578 * pcomplete.el (pcomplete-show-completions):
7579 Use minibuffer-message to make pcomplete usable in minibuffer.
7580
7581 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7582
7583 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * type-break.el: Use lexical-binding.
7586 (type-break-mode): Use define-minor-mode.
7587
7588 * emacs-lisp/pcase.el (pcase--mark-used): New.
7589 (pcase--u1): Use it (bug#12512).
7590
7591 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7592 in load-history with the right file name.
7593
7594 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7595
7596 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7597 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7598 (doc-view-get-bounding-box): Make bounding box slicing work for
7599 ODF and DVI documents.
7600
7601 2012-09-28 Glenn Morris <rgm@gnu.org>
7602
7603 * type-break.el (type-break-mode, type-break-interval)
7604 (type-break-good-rest-interval, type-break-keystroke-threshold):
7605 No need to autoload.
7606 (type-break-good-rest-interval, type-break-keystroke-threshold):
7607 Add :set-after.
7608
7609 2012-09-28 Chong Yidong <cyd@gnu.org>
7610
7611 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7612 Add :version tag.
7613
7614 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7617
7618 2012-09-27 Glenn Morris <rgm@gnu.org>
7619
7620 * faces.el (x-display-name): Declare (for without-x builds).
7621
7622 * linum.el (linum-format): Don't autoload it. Improve :type.
7623
7624 * progmodes/tcl.el: Don't require outline when compiling.
7625 (outline-regexp, outline-level): Declare.
7626 * textmodes/sgml-mode.el: Don't require outline when compiling.
7627 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7628
7629 * term.el (term-ansi-reset):
7630 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7631
7632 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7633 files for RCS and SCCS. (Bug#9781)
7634
7635 2012-09-27 Chong Yidong <cyd@gnu.org>
7636
7637 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7638 change; value should be t.
7639
7640 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * image-mode.el: Use lexical-binding.
7643 (image-mode-winprops): Use t to stand for the window of
7644 a buffer that's not displayed.
7645 * doc-view.el (doc-view-new-window-function): Handle the new
7646 t in winprops.
7647 (doc-view-enlarge): Make it a real nop if the size is not changed.
7648 (doc-view-display): Handle the case where the buffer is not (yet?)
7649 displayed in any window.
7650 (doc-view-saved-settings): New var.
7651 (doc-view-mode): Use it.
7652 (doc-view-fallback-mode): Set it.
7653
7654 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7655 Set lexical-binding.
7656 (minibuffer-eldef-shorten-default): New var.
7657 (minibuffer-default-in-prompt-regexps): Use it for new default.
7658 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7659
7660 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * international/uni-bidi.el:
7663 * international/uni-category.el:
7664 * international/uni-name.el:
7665 * international/uni-numeric.el: Regenerate.
7666
7667 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7668 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * profiler.el: New file.
7671
7672 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7675 (testcover-reinstrument): Simplify with CSE.
7676
7677 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7678
7679 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7680
7681 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7682
7683 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7684 (verilog-auto-input, verilog-auto-insert-lisp)
7685 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7686 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7687 (verilog-auto-unused, verilog-auto-wire)
7688 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7689 newline. Reported by Andrew Jones.
7690 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7691 Reported by Brad Dobbie.
7692 (verilog-batch-delete-trailing-whitespace):
7693 Create verilog-batch-delete-trailing-whitespace.
7694 Reported by Brad Dobbie.
7695 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7696 parameters from another module. Reported by Dan Katz.
7697 (verilog-auto, verilog-auto-assign-modport)
7698 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7699 AUTOINOUTMODPORT for UVM interface module shell generation.
7700 Reported by Brad Dobbie.
7701 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7702 standard behavior.
7703 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7704 Reported by Matt Martin.
7705
7706 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7707
7708 * window.el (window--resize-child-windows): When resizing child
7709 windows proportionally, process them in reverse order to
7710 preserve the "when splitting a window the new one gets the odd
7711 line" behavior.
7712 (window--resize-root-window-vertically): When resizing the
7713 minibuffer window try to affect only windows at the bottom of the
7714 frame. (Bug#12419)
7715
7716 2012-09-25 Chong Yidong <cyd@gnu.org>
7717
7718 * subr.el (declare): Doc fix.
7719
7720 * help-fns.el (help-fns--obsolete): Handle macros properly.
7721
7722 2012-09-25 Chong Yidong <cyd@gnu.org>
7723
7724 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7725 this function obsolete.
7726
7727 * calendar/cal-x.el (calendar-two-frame-setup)
7728 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7729 * calendar/calendar.el (american-calendar, european-calendar)
7730 (calendar-for-loop):
7731 * comint.el (comint-dynamic-simple-complete)
7732 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7733 * desktop.el (desktop-load-default):
7734 * dired-x.el (dired-omit-here-always)
7735 (dired-hack-local-variables, dired-default-directory):
7736 * emacs-lisp/derived.el (derived-mode-class):
7737 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7738 * emacs-lock.el (toggle-emacs-lock):
7739 * epa.el (epa-display-verify-result):
7740 * epg.el (epg-sign-keys, epg-start-sign-keys)
7741 (epg-passphrase-callback-function):
7742 * eshell/esh-util.el (eshell-for):
7743 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7744 (eshell-add-to-window-buffer-names):
7745 * files.el (locate-file-completion):
7746 * imenu.el (imenu-example--create-c-index)
7747 (imenu-example--create-lisp-index)
7748 (imenu-example--lisp-extract-index-name)
7749 (imenu-example--name-and-position):
7750 * international/mule-cmds.el (princ-list):
7751 * international/mule-diag.el (decode-codepage-char):
7752 * international/mule-util.el (detect-coding-with-priority):
7753 * iswitchb.el (iswitchb-read-buffer):
7754 * mail/mailalias.el (mail-complete):
7755 * mail/sendmail.el (mail-sent-via):
7756 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7757 (mouse-major-mode-menu):
7758 * password-cache.el (password-read-and-add):
7759 * pcomplete.el (pcomplete-parse-comint-arguments):
7760 * progmodes/sh-script.el (sh-maybe-here-document):
7761 * replace.el (query-replace-regexp-eval):
7762 * savehist.el (savehist-load):
7763 * simple.el (choose-completion-delete-max-match):
7764 * term.el (term-dynamic-simple-complete):
7765 * vc/ediff-init.el (ediff-check-version):
7766 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7767 * vc/vc.el (vc-diff-switches-list):
7768 * view.el (view-return-to-alist-update): Likewise.
7769
7770 * subr.el (eval-next-after-load, makehash, insert-string)
7771 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7772 mark obsolete.
7773 (mode-line-inverse-video): Variable deleted.
7774
7775 * international/mule-util.el (string-to-sequence): Remove.
7776
7777 * calendar/calendar.el (calendar-version):
7778 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7779 (icalendar-convert-diary-to-ical):
7780 * cus-edit.el (custom-mode):
7781 * ansi-color.el (ansi-color-unfontify-region):
7782 * international/latin1-disp.el (latin1-char-displayable-p):
7783 * progmodes/cwarn.el (turn-on-cwarn-mode):
7784 * progmodes/which-func.el (which-func-update-1):
7785 Use define-obsolete-function-alias.
7786
7787 * net/newst-backend.el (newsticker-cache-filename):
7788 * net/newst-treeview.el (newsticker-groups-filename):
7789 Fix incorrect obsolescence declaration.
7790
7791 * allout.el (allout-passphrase-hint-string): Likewise.
7792 (allout-init): Use a declare form to mark obsolete.
7793
7794 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7795 this applies to functions.
7796
7797 * iswitchb.el (iswitchb-read-buffer): Move code of
7798 iswitchb-define-mode-map here, and delete that obsolete function.
7799
7800 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7801 font-lock-reference-face.
7802
7803 2012-09-25 Glenn Morris <rgm@gnu.org>
7804
7805 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7806 Doc fixes.
7807
7808 * eshell/em-term.el (eshell-term-name):
7809 Default to term-term-name. (Bug#12485)
7810
7811 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7812
7813 * progmodes/python.el (python-shell-send-buffer): Better handling
7814 of "if __name__ == '__main__':" conditionals when sending the buffer.
7815
7816 2012-09-24 Glenn Morris <rgm@gnu.org>
7817
7818 * eshell/esh-cmd.el (eshell-find-alias-function):
7819 Tighten up file-name regexp. (Bug#12499)
7820
7821 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7822
7823 Enhancements for triple-quote string syntax.
7824 * progmodes/python.el (python-quote-syntax): Remove.
7825 (python-syntax-propertize-function): New value.
7826 (python-syntax-count-quotes, python-syntax-stringify):
7827 New functions.
7828
7829 2012-09-24 Chong Yidong <cyd@gnu.org>
7830
7831 * mail/supercite.el (sc-version): Remove obsolete function.
7832 (sc-describe): Don't mark as obsolete, since it is bound.
7833 (sc-submit-bug-report): Remove.
7834
7835 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7836 (cvs-commit-buffer-require-final-newline): Remove.
7837 (log-edit-require-final-newline)
7838 (log-edit-changelog-full-paragraphs): Default to t.
7839
7840 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7841 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7842 * vc/vc.el (vc-checkout-carefully): Likewise.
7843
7844 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7845 (emerge-version): Remove.
7846
7847 * progmodes/compile.el (compile-internal): Remove.
7848 (compilation-parse-errors-function): Fix typo.
7849
7850 * international/mule.el (set-char-table-default): Remove.
7851 (set-coding-priority, make-coding-system, generic-char-p)
7852 (charset-list, charset-bytes, charset-id): Use declare to mark
7853 functions as obsolete.
7854
7855 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7856 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7857 * vc/vc-hooks.el (vc-default-registered): Don't use
7858 vc-master-templates.
7859
7860 * font-lock.el (font-lock-reference-face):
7861 Use define-obsolete-variable-alias.
7862
7863 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7864 * calendar/calendar.el (calendar-font-lock-keywords):
7865 * calendar/diary-lib.el (diary-font-lock-keywords)
7866 (diary-fancy-font-lock-keywords):
7867 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7868 * textmodes/reftex-index.el (reftex-insert-index):
7869 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7870 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7871 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7872 * progmodes/prolog.el (prolog-font-lock-keywords):
7873 * progmodes/idlwave.el (idlwave-idl-keywords):
7874 * progmodes/ada-mode.el (ada-font-lock-keywords):
7875 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7876
7877 2012-09-24 Glenn Morris <rgm@gnu.org>
7878
7879 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7880
7881 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7882
7883 * progmodes/python.el (python-indent-line): More consistent cursor
7884 movement behavior.
7885
7886 2012-09-23 Stefan Merten <smerten@oekonux.de>
7887
7888 * textmodes/rst.el: Fix compiler warning.
7889
7890 2012-09-23 Roland Winkler <winkler@gnu.org>
7891
7892 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7893 Transcribe also LaTeX hyphenation.
7894 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7895 bibtex-reformat-previous-options.
7896
7897 2012-09-23 Roland Winkler <winkler@gnu.org>
7898
7899 * proced.el (proced-renice-command): New variable.
7900 (proced-marked-processes): New function.
7901 (proced-with-processes-buffer): New macro.
7902 (proced-send-signal): Use them.
7903 (proced-renice): New command bound to r.
7904
7905 2012-09-23 Roland Winkler <winkler@gnu.org>
7906
7907 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7908 ibuffer-saved-filter-groups has one element, shortcut the call of
7909 completing-read. (Bug#12331)
7910
7911 2012-09-23 Chong Yidong <cyd@gnu.org>
7912
7913 * bindings.el (mode-line-toggle-read-only):
7914 * bs.el (bs-toggle-readonly):
7915 * buff-menu.el (Buffer-menu-toggle-read-only):
7916 * dired.el (dired-toggle-read-only):
7917 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7918
7919 2012-09-23 Chong Yidong <cyd@gnu.org>
7920
7921 * image.el (image-type-available-p): Adapt to init-image-library
7922 argument changes.
7923
7924 2012-09-22 Juri Linkov <juri@jurta.org>
7925
7926 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7927 `dired-toggle-read-only'. (Bug#12462)
7928
7929 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7930
7931 * subr.el (temp-output-buffer-show): New function.
7932 (with-output-to-temp-buffer): Call temp-output-buffer-show
7933 instead of internal-temp-output-buffer-show.
7934
7935 2012-09-22 Chong Yidong <cyd@gnu.org>
7936
7937 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7938 (Bug#12462).
7939
7940 * repeat.el (repeat): Doc fix (Bug#12348).
7941
7942 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7943 (Bug#10909).
7944
7945 * simple.el (shell-command-on-region): Doc fix.
7946 (read-only-mode): Doc fix.
7947
7948 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7949
7950 * emacs-lisp/timer.el (run-with-idle-timer)
7951 (timer-activate-when-idle): Warn against reinvoking an idle timer
7952 from within its own timer action. (Bug#12447)
7953
7954 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7955
7956 * cus-start.el (window-combination-limit): Add new optional
7957 values.
7958 * window.el (temp-buffer-window-show)
7959 (window--try-to-split-window): Handle new values of
7960 window-combination-limit (Bug#1806).
7961 (split-window): Test window-combination-limit for t instead of
7962 non-nil.
7963 (display-buffer-at-bottom): New buffer display action function.
7964 * help.el (temp-buffer-resize-regexps): New option.
7965 (temp-buffer-resize-mode): Rewrite doc-string.
7966 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7967 Don't resize reused window. Suggested by Glenn Morris.
7968
7969 2012-09-22 Stefan Merten <smerten@oekonux.de>
7970
7971 * textmodes/rst.el: Revamp section title faces.
7972 (rst-official-version)
7973 (rst-package-emacs-version-alist): Sync with official version
7974 V1.4.0.
7975 (rst-faces-defaults, rst-set-level-default)
7976 (rst-level-face-max, rst-level-face-base-color)
7977 (rst-level-face-base-light, rst-level-face-format-light)
7978 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7979 (rst-adornment-faces-alist): Match new setup.
7980 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7981 (rst-level-5, rst-level-6): New faces.
7982
7983 2012-09-22 Chong Yidong <cyd@gnu.org>
7984
7985 * simple.el (undo): Handle indirect buffers (Bug#8207).
7986
7987 2012-09-21 Leo Liu <sdl.web@gmail.com>
7988
7989 IDO: Disable match re-ordering for buffer switching.
7990 * ido.el (ido-buffer-disable-smart-matches): New variable.
7991 (ido-set-matches-1): Use it. (Bug#2042)
7992
7993 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7994
7995 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7996 Fix 2011-05-17 change. (Bug#12418)
7997
7998 2012-09-21 Leo Liu <sdl.web@gmail.com>
7999
8000 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8001
8002 2012-09-21 Glenn Morris <rgm@gnu.org>
8003
8004 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8005 Be more robust about locating simple.el.
8006
8007 2012-09-21 Glenn Morris <rgm@gnu.org>
8008
8009 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8010
8011 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8012
8013 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8014
8015 2012-09-20 Juri Linkov <juri@jurta.org>
8016
8017 * replace.el (query-replace-read-from): Use `read-regexp' instead
8018 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8019 (occur-read-primary-args): Use `read-regexp' instead of
8020 `read-string'.
8021 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8022 `read-from-minibuffer'.
8023 * isearch.el (isearch-occur): Use `read-regexp' instead of
8024 `read-string'.
8025 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8026 `read-from-minibuffer'.
8027 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8028 of `read-string'. (Bug#7567)
8029
8030 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8031 and allow accepting a list of strings prepended to a list of
8032 standard default values. Doc fix. (Bug#12321)
8033
8034 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8035
8036 * replace.el (read-regexp): Don't add ": " when PROMPT already
8037 ends with a colon and space. (Bug#12321)
8038
8039 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8040
8041 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8042 error.
8043
8044 2012-09-20 Stefan Merten <smerten@oekonux.de>
8045
8046 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8047 Fixes feature request bug#11711.
8048 (rst-mode): Create `imenu-create-index-function'.
8049 (rst-get-stripped-line): Delete after refactoring.
8050 (rst-section-tree, rst-section-tree-rec)
8051 (rst-section-tree-point): Refactor and document properly.
8052 (rst-imenu-find-adornments-for-position)
8053 (rst-imenu-convert-cell, rst-imenu-create-index):
8054 New function.
8055
8056 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8057
8058 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8059 (macroexp--expand-all): Use it.
8060 (macroexp--funcall-and-return): Remove by folding it into its sole
8061 caller (macroexp--warn-and-return).
8062 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8063 Use macroexp--obsolete-warning.
8064
8065 * calc/calc.el: Fix last change by removing the whole chunk, since it
8066 was only needed back when Calc was not bundled.
8067
8068 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8069
8070 * emacs-lisp/debug.el (debug): Restore assignment to
8071 debugger-old-buffer removed on 2012-09-08.
8072
8073 2012-09-20 Juri Linkov <juri@jurta.org>
8074
8075 * dired-aux.el (dired-diff): Remove (require 'diff) since
8076 `diff-latest-backup-file' is now autoloaded.
8077
8078 2012-09-20 Chong Yidong <cyd@gnu.org>
8079
8080 * vc/diff.el (diff-latest-backup-file): Autoload.
8081
8082 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * calc/calc.el: Remove redundant autoload shape check.
8085 (sel-mode): Don't defvar.
8086 (calc-get-stack-element): Add `sel-mode' arg instead.
8087 (calc-top, calc-top-list): Pass it this additional argument.
8088 * calc/calc-store.el (calc-store-map):
8089 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8090 (calc-map-equation, calc-outer-product, calc-inner-product):
8091 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8092
8093 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8094
8095 2012-09-19 Juri Linkov <juri@jurta.org>
8096
8097 * dired-aux.el (dired-diff): Add (require 'diff) because
8098 `diff-latest-backup-file' is not autoloaded.
8099 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8100 of `dired-get-filename' to t to not report error when there is
8101 no default file on the current line.
8102
8103 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8106 macroexp--eval-if-compile.
8107 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8108 (macroexp--expand-all): Use them (bug#12371).
8109
8110 * doc-view.el (doc-view-guess-paper-size)
8111 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8112
8113 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8114
8115 New feature: set optimal slice from BoundingBox information.
8116 * doc-view.el (doc-view-mode-map): Add keybinding.
8117 (doc-view-menu): Add menu entry.
8118 (doc-view-set-slice): Adapt docstring.
8119 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8120 (doc-view-scale-bounding-box)
8121 (doc-view-set-slice-from-bounding-box): New functions.
8122 (doc-view-paper-sizes): New defvar.
8123
8124 2012-09-19 Glenn Morris <rgm@gnu.org>
8125
8126 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8127 (byte-compile-log-warning): Autoload. (Bug#12371)
8128
8129 * calendar/calendar.el (calendar-american-month-header)
8130 (calendar-european-month-header, calendar-iso-month-header)
8131 (calendar-month-header): New options.
8132 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8133 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8134
8135 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8136
8137 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8138
8139 2012-09-18 Juri Linkov <juri@jurta.org>
8140
8141 * dired-aux.el (dired-diff): Restore original functionality of
8142 getting the default value, but keep new feature of using the
8143 latest existing backup file (`diff-latest-backup-file').
8144
8145 2012-09-18 Juri Linkov <juri@jurta.org>
8146
8147 * dired.el (dired-mark): If the region is active in Transient Mark
8148 mode, mark all files in the active region. Doc fix.
8149 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8150 Doc fix. (Bug#10624)
8151
8152 2012-09-18 Juri Linkov <juri@jurta.org>
8153
8154 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8155 attributes for M-n are pulled from the file at point.
8156 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8157 Suggested by Drew Adams. (Bug#10624)
8158
8159 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8160
8161 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8162 whitespace after "end".
8163 (ruby-do-end-to-brace): Collapse block to one line if it fits
8164 within fill-column.
8165
8166 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8167
8168 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8169 value.
8170 (debug): Don't remove debugger window when debugger is expected
8171 to be back.
8172
8173 2012-09-18 Chong Yidong <cyd@gnu.org>
8174
8175 * custom.el (defface): Doc fix.
8176
8177 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8178
8179 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8180
8181 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8182 to initialize query-on-exit; then test that instead (bug#12288).
8183
8184 2012-09-17 Stefan Merten <smerten@oekonux.de>
8185
8186 * textmodes/rst.el: Add support for `testcover'.
8187 (rst-defcustom-testcover, rst-testcover-add-compose)
8188 (rst-testcover-add-1value): New functions.
8189 (rst-portable-mark-active-p): Replace by `use-region-p'.
8190 (rst-update-section, rst-classify-adornment)
8191 (rst-find-title-line): Mark `1value' forms.
8192 (rst-classify-adornment): Remove superfluous form.
8193 (rst-update-section, rst-get-adornments-around)
8194 (rst-adornment-complete-p, rst-get-next-adornment)
8195 (rst-adjust, rst-promote-region)
8196 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8197 (rst-find-pfx-in-region, rst-section-tree-rec)
8198 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8199 (rst-toc-node, rst-toc, rst-forward-section)
8200 (rst-iterate-leftmost-paragraphs)
8201 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8202 (rst-bullet-list-region)
8203 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8204 (rst-compile-find-conf, rst-compile)
8205 (rst-repeat-last-character): Fix style.
8206
8207 2012-09-17 Chong Yidong <cyd@gnu.org>
8208
8209 * comint.el (comint--complete-file-name-data): Don't add a space
8210 if the status is `sole'; that adds a gratuitous space in the
8211 completion-cycling case (Bug#12092).
8212
8213 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8214
8215 2012-09-17 Richard Stallman <rms@gnu.org>
8216
8217 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8218 only in the mime-shown mode, not in raw mode.
8219 (rmail-mime): Toggle off mime by displaying the message without
8220 mime processing. (Bug#12305)
8221
8222 * mail/rmail.el (rmail-retry-failure):
8223 Turn off mime processing first. (Bug#12037)
8224
8225 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8226
8227 2012-09-17 Chong Yidong <cyd@gnu.org>
8228
8229 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8230 (shell-dynamic-complete-functions): Convert to defcustom.
8231 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8232
8233 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8234 * comint.el (comint-prompt-read-only):
8235 * custom.el (defcustom):
8236 * hi-lock.el (hi-lock-mode):
8237 * ibuffer.el (ibuffer-formats):
8238 * ielm.el (ielm-prompt-read-only):
8239 * novice.el (disable-command):
8240 * saveplace.el (toggle-save-place):
8241 * speedbar.el (speedbar-supported-extension-expressions):
8242 * startup.el (auto-save-list-file-prefix, init-file-user)
8243 (after-init-hook, inhibit-startup-echo-area-message):
8244 * strokes.el (strokes-help):
8245 * time-stamp.el (time-stamp):
8246 * calendar/calendar.el (calendar, diary-file):
8247 * calendar/diary-lib.el (diary-mail-entries, diary)
8248 (diary-list-entries-hook):
8249 * calendar/holidays.el (holidays, calendar-holidays):
8250 * calendar/lunar.el (lunar-phases):
8251 * calendar/solar.el (sunrise-sunset):
8252 * emulation/edt.el (edt-load-keys):
8253 * emulation/viper.el (viper-mode):
8254 * eshell/em-alias.el (eshell-command-aliases-list):
8255 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8256 * international/ogonek.el (ogonek-information):
8257 * net/tramp-cmds.el (tramp-bug):
8258 * net/quickurl.el (quickurl-reread-hook-postfix):
8259 * play/decipher.el (decipher-font-lock-keywords):
8260 * progmodes/cc-styles.el (c-set-style):
8261 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8262 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8263 * progmodes/octave-mod.el (octave-mode):
8264 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8265 * progmodes/verilog-mode.el (verilog-read-defines):
8266 * textmodes/two-column.el (2C-mode): Likewise.
8267
8268 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8269
8270 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8271 that holds many addresses.
8272
8273 2012-09-16 Chong Yidong <cyd@gnu.org>
8274
8275 * align.el (align-areas): Call the indication function with
8276 positions instead of markers for arguments (Bug#12343).
8277
8278 * files.el (parse-colon-path): Use split-string (Bug#12351).
8279
8280 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8281 (display-buffer-function): Mark as obsolete.
8282
8283 * progmodes/compile.el (compilation-parse-errors): Accept list
8284 values similar to font-lock-keywords (Bug#12136).
8285 Suggested by Oleksandr Manzyuk.
8286 (compilation-error-regexp-alist): Doc fix.
8287
8288 2012-09-15 Glenn Morris <rgm@gnu.org>
8289
8290 * version.el (emacs-bzr-version-bzr): New function.
8291 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8292
8293 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8294 checkouts, check the parent dirstate matches the branch.
8295 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8296 empty string.
8297
8298 * version.el (emacs-bzr-version): Doc fix.
8299 (emacs-bzr-version-dirstate): New function.
8300 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8301 is local try and check that it matches the branch. If not, just
8302 use dirstate information. (Bug#12441)
8303
8304 2012-09-14 Juri Linkov <juri@jurta.org>
8305
8306 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8307 (Bug#12399)
8308
8309 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8312
8313 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8314 Remove obsolete byte-compiler hack that tried to silence some warnings.
8315 (edebug-submit-bug-report): Remove.
8316 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8317 Remove aliases, use the un-prefixed name instead.
8318 (edebug-pop-to-buffer): Consider other frames.
8319 (edebug-original-read):: Make it more obvious that it's always defined.
8320 (edebug--make-form-data-entry, edebug--form-data-name)
8321 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8322 single-dashed name, and implement with cl-defstruct.
8323 (edebug-set-form-data-entry): Use the standard accessors.
8324 (edebug-make-top-form-data-entry): Use push.
8325 (edebug-no-match): Drop useless `funcall'.
8326 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8327 to functions.
8328 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8329 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8330 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8331 (easy-menu-define, with-custom-print): Remove redundant specs.
8332 (edebug-outside-overriding-local-map)
8333 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8334 (edebug--display): Bind unread-command-events directly to nil rather
8335 than binding it to unread-command-events and later setting it to nil.
8336 (edebug--display): Kill edebug-eval-buffer here...
8337 (edebug--recursive-edit): ...rather than here.
8338 Bind standard-output and standard-input.
8339 (edebug-eval): Check cl-macroexpand-all is fboundp.
8340 (edebug-temp-display-freq-count): Fix last change.
8341
8342 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8343 * subr.el (noreturn, 1value): Add `debug' spec.
8344 * emacs-lisp/advice.el: Require cl-lib.
8345 (ad-copy-tree): Remove, use copy-tree instead.
8346 (ad-dolist): Remove use dolist or cl-dolist instead.
8347 (ad-do-return): Remove, use cl-return instead.
8348 (defadvice): Add `debug' spec.
8349
8350 2012-09-13 Juri Linkov <juri@jurta.org>
8351
8352 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8353 (Bug#12399)
8354
8355 2012-09-13 Glenn Morris <rgm@gnu.org>
8356
8357 * calc/calc.el (math-compose-expr):
8358 * calc/calc-ext.el (math-compose-expr):
8359 * progmodes/cc-defs.el (cl-macroexpand-all):
8360 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8361 (cl-macroexpand-all): Update declarations.
8362
8363 * vc/vc.el: No need to require ediff.
8364 (ediff-load-version-control): Declare.
8365 (ediff-vc-internal): Fix declaration.
8366 (vc-version-ediff): Require ediff.
8367
8368 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8369
8370 Use a more backwards-compatible timer format (Bug#12430).
8371 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8372 being right after USECS, as that better supports old code that
8373 inadvisedly looked directly at the timer vector.
8374
8375 2012-09-13 Kenichi Handa <handa@gnu.org>
8376
8377 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8378 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8379 `coding-priority' property of these language environment.
8380
8381 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8382
8383 Fix glitches caused by addition of psec to timers (Bug#12430).
8384 * image.el (image-animate-timer):
8385 * time.el (display-time-world-timer):
8386 Use timer--function and timer--args rather than raw access to
8387 timer vector.
8388
8389 2012-09-13 Glenn Morris <rgm@gnu.org>
8390
8391 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8392 If not compiling a file, try using load-file-name.
8393
8394 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8397 Fix last change.
8398 (edebug-update-eval-list): Use `push'.
8399
8400 * emacs-lisp/edebug.el: Use lexical-binding.
8401 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8402 Mark unused args with underscore.
8403 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8404 (edebug-form-data): Use defvar-local.
8405 (edebug-make-before-and-after-form, edebug-make-after-form):
8406 Use backquote.
8407 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8408 Not dynamically scoped any more.
8409 (edebug--enter-trace): Add arguments `function' and `args'.
8410 Rename from edebug-enter-trace.
8411 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8412 (edebug--update-coverage): Add `after-index' and `value' args.
8413 Rename from edebug-update-coverage.
8414 (edebug-slow-after): Call it accordingly.
8415 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8416 edebug-recursive-edit.
8417 (edebug--display): Call it accordingly. Add args `value',
8418 `offset-index', and `arg-mode'. Rename from edebug-display.
8419 (edebug-debugger, edebug): Call it accordingly.
8420 (edebug-eval-display-list): Use dolist.
8421
8422 2012-09-12 Juri Linkov <juri@jurta.org>
8423
8424 * info.el (Info-search): Don't check for isearch-mode and
8425 isearch-regexp before let-binding search-spaces-regexp to
8426 Info-search-whitespace-regexp.
8427 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8428 search-whitespace-regexp if isearch-lax-whitespace or
8429 isearch-regexp-lax-whitespace is non-nil.
8430 (Info-mode): Don't set local variable search-whitespace-regexp.
8431 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8432
8433 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8436 (debugger-env-macro): Remove support for unread-command-char.
8437
8438 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8439 the temporary map re-appearing on emulation-mode-map-alists.
8440
8441 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8442 since 22.1.
8443
8444 * ehelp.el (with-electric-help): Accept functions in
8445 electric-help-form-to-execute.
8446 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8447 And replace unread-command-char -> unread-command-events.
8448
8449 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8450
8451 Sync with Tramp 2.2.6.
8452
8453 * net/tramp.el (tramp-accept-process-output): Don't use
8454 JUST-THIS-ONE in the XEmacs case.
8455
8456 * net/trampver.el: Update release number.
8457
8458 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8459
8460 * emacs-lisp/debug.el (debugger-previous-window-height):
8461 New variable.
8462 (debug): When debugger-jumping-flag is non-nil try to restore
8463 height of debugger window. (Bug#8789)
8464
8465 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8468 overriding-local-map and pre/post-command-hook here.
8469 (edebug-recursive-edit): Do it here instead (bug#12345).
8470 (edebug-outside-unread-command-char): Remove all uses of
8471 unread-command-char.
8472
8473 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8474 inhibit-debugger is bound instead.
8475
8476 2012-09-11 Bastien Guerry <bzg@gnu.org>
8477
8478 * subr.el (set-temporary-overlay-map): Add a docstring.
8479 (Bug#12346)
8480
8481 2012-09-11 Bastien Guerry <bzg@gnu.org>
8482
8483 * minibuffer.el (completion-table-subvert): Fix docstring.
8484 (Bug#12347)
8485
8486 2012-09-11 Bastien Guerry <bzg@gnu.org>
8487
8488 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8489
8490 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8491
8492 * progmodes/sql.el: Version 3.1
8493 (sql-db2-escape-newlines): New variable.
8494 (sql-escape-newlines-filter): Use it.
8495
8496 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8497
8498 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8499
8500 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8501
8502 * vc/diff-mode.el (diff-mode-menu):
8503 Bind diff-remove-trailing-whitespace.
8504
8505 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8508 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8509 (emacs-lisp-byte-code-mode): New functions.
8510 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8511 (eval-defun-2): Remove bogus interactive spec.
8512 (lisp-indent-line): Remove redundant whole-exp code, now done in
8513 indent-according-to-mode.
8514 (save-match-data): Remove redundant indent data.
8515
8516 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8517 Use `declare'.
8518
8519 2012-09-09 Juri Linkov <juri@jurta.org>
8520
8521 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8522 (replace-lax-whitespace, query-replace-regexp)
8523 (query-replace-regexp-eval, replace-regexp): Doc fix.
8524 (perform-replace, replace-highlight): Let-bind
8525 isearch-lax-whitespace to replace-lax-whitespace and
8526 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8527
8528 * isearch.el (isearch-query-replace): Let-bind
8529 replace-lax-whitespace to isearch-lax-whitespace and
8530 replace-regexp-lax-whitespace to
8531 isearch-regexp-lax-whitespace. (Bug#10885)
8532
8533 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8536
8537 2012-09-09 Alan Mackenzie <acm@muc.de>
8538
8539 * progmodes/cc-engine.el (c-state-cache-init):
8540 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8541 (c-record-parse-state-state):
8542 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8543
8544 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8545
8546 * register.el (register-separator): Rename from
8547 separator-register. All uses changed. Doc fix.
8548 (register): Fix version.
8549
8550 2012-09-09 Chong Yidong <cyd@gnu.org>
8551
8552 * replace.el (query-replace-map): Bind four new symbols for
8553 requesting window scrolling.
8554
8555 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8556 query-replace-map (Bug#8948).
8557
8558 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8559
8560 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8561 since they are now in query-replace-map.
8562
8563 * window.el (scroll-other-window-down): Make the arg optional.
8564
8565 2012-09-09 Chong Yidong <cyd@gnu.org>
8566
8567 * files.el (hack-local-variables-confirm): Use quit-window to kill
8568 the *Local Variables* buffer.
8569
8570 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8571
8572 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8573 not just expect to be at its beginning. Adjust callees.
8574 Succeed when do-end block has no space before the pipe character.
8575 (ruby-brace-to-do-end): When the original block is one-liner,
8576 convert to multiline. Reindent the result.
8577
8578 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8579
8580 * register.el (register): New group.
8581 (separator-register): New user option.
8582 (increment-register): Route it to `append-to-register', if
8583 register contains text. Implication is that `C-x r +' can now be
8584 used for appending to a text register (bug#12217).
8585 (append-to-register, prepend-to-register): Add separator based on
8586 `separator-register'.
8587
8588 2012-09-08 Alan Mackenzie <acm@muc.de>
8589
8590 AWK Mode: make auto-newline work when there's "==" in the pattern.
8591 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8592 correctly.
8593 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8594 Test more rigorously for "=" token.
8595
8596 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8597
8598 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8599 Only fail when reached LIMIT.
8600
8601 2012-09-08 Chong Yidong <cyd@gnu.org>
8602
8603 * dired.el (dired-mode-map): Don't bind M-=.
8604
8605 * dired-aux.el (dired-diff): Use backup file as default.
8606
8607 2012-09-08 Drew Adams <drew.adams@oracle.com>
8608
8609 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8610
8611 2012-09-08 Chong Yidong <cyd@gnu.org>
8612
8613 * subr.el (syntax-after, syntax-class): Doc fix.
8614
8615 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8616
8617 * window.el (display-buffer-in-previous-window): New buffer
8618 display action function.
8619
8620 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8621 (debugger-previous-window): New variable.
8622 (debug): Rewrite using display-buffer-in-previous-window,
8623 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8624
8625 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8628
8629 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8630
8631 * progmodes/python.el (python-shell-send-string):
8632 When default-directory is remote, create temp file on remote
8633 filesystem.
8634 (python-shell-send-file): When file is remote, pass local view of
8635 file paths to remote Python interpreter. (Bug#12340)
8636
8637 2012-09-07 Chong Yidong <cyd@gnu.org>
8638
8639 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8640
8641 * files.el (after-find-file): Don't fail on a read-only buffer if
8642 require-final-newline is `visit' or `visit-save' (Bug#11156).
8643
8644 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8645
8646 * userlock.el (ask-user-about-supersession-threat):
8647 Use read-char-choice (Bug#12093).
8648
8649 2012-09-07 Chong Yidong <cyd@gnu.org>
8650
8651 * subr.el (buffer-narrowed-p): New function.
8652
8653 * ses.el (ses-widen):
8654 * simple.el (count-words--buffer-message):
8655 * net/browse-url.el (browse-url-of-buffer): Use it.
8656
8657 * simple.el (count-words-region): Don't signal an error if there
8658 is a non-nil prefix arg and the mark is not set.
8659
8660 * help.el (describe-key-briefly): Allow the message to be seen
8661 when invoked from the minibuffer (Bug#7014).
8662
8663 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8664
8665 * progmodes/ruby-mode.el (ruby-end-of-defun)
8666 (ruby-beginning-of-defun): Simplify, allow indentation before
8667 block beginning and end keywords.
8668 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8669 (ruby-end-of-defun): Expect that the point is at the beginning of
8670 the defun.
8671
8672 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8675 (bug#12367).
8676 (cl--make-usage-args): Strip _ from argument names.
8677
8678 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8679
8680 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8681 obsolete alias speedbar-key-map.
8682 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8683 (vhdl-index-menu-init): Don't use obsolete variable
8684 font-lock-maximum-size.
8685
8686 2012-09-06 Chong Yidong <cyd@gnu.org>
8687
8688 * frame.el (window-system-version): Mark as obsolete.
8689
8690 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8691 of obsolete variable speedbar-key-map.
8692
8693 2012-09-06 Juri Linkov <juri@jurta.org>
8694
8695 * replace.el (replace-lax-whitespace): New defcustom.
8696 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8697 (replace-string, replace-regexp): Mention it in docstrings.
8698 (perform-replace, replace-highlight): Let-bind
8699 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8700 to the values of replace-lax-whitespace and regexp-flag.
8701 Don't let-bind search-whitespace-regexp. (Bug#10885)
8702
8703 * isearch.el (isearch-query-replace): Let-bind
8704 replace-lax-whitespace instead of let-binding
8705 replace-search-function and replace-re-search-function.
8706 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8707 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8708 (isearch-toggle-symbol): Set isearch-regexp to nil
8709 in isearch-word mode (like in isearch-toggle-word).
8710
8711 2012-09-06 Juri Linkov <juri@jurta.org>
8712
8713 * replace.el (replace-search-function)
8714 (replace-re-search-function): Set default values to nil.
8715 (perform-replace): Let-bind isearch-related variables based on
8716 replace-related values, call `isearch-search-fun' and let-bind
8717 the result to `search-function'. Remove code that sets
8718 `search-function' and `search-string' separately for
8719 `delimited-flag'.
8720 (replace-highlight): Add new argument `delimited-flag' and
8721 rename other arguments to the names used in `perform-replace'.
8722 Let-bind `isearch-word' to the argument `delimited-flag'.
8723 (Bug#10885, bug#10887)
8724
8725 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8726
8727 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8728 ruby-beginning-of-indent, simplify, allow all keywords to have
8729 indentation before them.
8730 (ruby-beginning-of-indent): Adjust for above. Search until the
8731 found point is not inside a string or comment.
8732 (ruby-font-lock-keywords): Allow symbols to start with "@"
8733 character, give them higher priority than variables.
8734 (ruby-syntax-propertize-function)
8735 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8736 matchers. Expression expansions are not comments when inside a
8737 string, and there comment syntax status is irrelevant.
8738 (ruby-match-expression-expansion): New function. Check that
8739 expression expansion is inside a string, and it's not escaped.
8740 (ruby-font-lock-keywords): Use it.
8741
8742 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8743
8744 * help.el (temp-buffer-max-height): New default value.
8745 (temp-buffer-resize-frames): New option.
8746 (resize-temp-buffer-window): Optionally resize frame.
8747
8748 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8749 (fit-frame-to-buffer): New function.
8750
8751 2012-09-05 Glenn Morris <rgm@gnu.org>
8752
8753 * emulation/cua-rect.el (cua--init-rectangles):
8754 * textmodes/picture.el (picture-mode-map):
8755 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8756 like forward-char and backward-char. (Bug#12317)
8757
8758 2012-09-05 Leo Liu <sdl.web@gmail.com>
8759
8760 * progmodes/flymake.el (flymake-warning-re): New variable.
8761 (flymake-parse-line): Use it.
8762
8763 2012-09-05 Glenn Morris <rgm@gnu.org>
8764
8765 * calendar/holidays.el (holiday-christian-holidays):
8766 Rename an entry. (Bug#12289)
8767
8768 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8771 (bug#12222).
8772
8773 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * loadup.el: Load macroexp. Remove hack.
8776 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8777 (macroexp--expand-all): Use it to get better warnings.
8778 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8779 (internal-macroexpand-for-load): New functions.
8780 (macroexp--pending-eager-loads): New var.
8781 (emacs-startup-hook): New hack to replace one in loadup.el.
8782 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8783 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8784 (cl-psetf): Simplify.
8785 (cl-defstruct): Add indent rule.
8786
8787 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8788
8789 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8790 over `user-mail-address' for the SMTP MAIL FROM envelope.
8791 (smtpmail-via-smtp): Ditto.
8792
8793 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8794
8795 * progmodes/ruby-mode.el: Clean up keybindings.
8796 (ruby-mode-map): Don't bind ruby-electric-brace,
8797 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8798 backward-kill-word, reindent-then-newline-and-indent.
8799 (ruby-mark-defun): Remove.
8800 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8801 (ruby-mode): Set local beginning-of-defun-function and
8802 end-of-defun-function values.
8803
8804 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8805
8806 * window.el (temp-buffer-window-setup-hook)
8807 (temp-buffer-window-show-hook): New hooks.
8808 (temp-buffer-window-setup, temp-buffer-window-show)
8809 (with-temp-buffer-window): New functions.
8810 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8811 (special-display-popup-frame): Make sure the window used shows BUFFER.
8812
8813 * help.el (temp-buffer-resize-mode): Fix doc-string.
8814 (resize-temp-buffer-window): New optional argument WINDOW.
8815
8816 * files.el (recover-file, save-buffers-kill-emacs):
8817 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8818
8819 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8820
8821 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8822 remote definition of `default-directory', ensure we can connect.
8823
8824 2012-09-02 Juri Linkov <juri@jurta.org>
8825
8826 Toggle whitespace matching mode with M-s SPC.
8827 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8828
8829 * isearch.el (search-whitespace-regexp): Doc fix.
8830 Remove cons cell customization.
8831 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8832 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8833 New variables.
8834 (isearch-forward, isearch-forward-regexp): Doc fix.
8835 (isearch-toggle-lax-whitespace): New command.
8836 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8837 (re-search-forward-lax-whitespace)
8838 (re-search-backward-lax-whitespace): New functions.
8839 (isearch-whitespace-regexp): Remove function.
8840 (isearch-query-replace): Let-bind replace-search-function and
8841 replace-re-search-function.
8842 (isearch-occur): Let-bind search-spaces-regexp according to the
8843 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8844 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8845 condition for C-q SPC.
8846 (isearch-search-fun-default): Use new functions mentioned above.
8847 (isearch-search-forward, isearch-search-backward): Remove functions.
8848 (isearch-search): Don't let-bind search-spaces-regexp.
8849 (isearch-lazy-highlight-space-regexp): Remove variable.
8850 (isearch-lazy-highlight-lax-whitespace)
8851 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8852 (isearch-lazy-highlight-new-loop): Use them.
8853 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8854
8855 2012-09-02 Chong Yidong <cyd@gnu.org>
8856
8857 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8858
8859 2012-09-02 Glenn Morris <rgm@gnu.org>
8860
8861 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8862
8863 2012-09-01 Glenn Morris <rgm@gnu.org>
8864
8865 * term.el: Tidy up menu definitions.
8866 (term-mode-map): Use easymenu for In/Out, Complete menus.
8867 (term-pager-break-map): Initialize in the defvar.
8868 (term-terminal-menu, term-signals-menu): Define with easymenu.
8869 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8870 (term-pager-menu): New, extracted from term-process-pager.
8871 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8872 (term-update-mode-line): Propertize line/char and page items.
8873 (term-process-pager): Move keymap initialization elsewhere.
8874
8875 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8876
8877 * window.el (switch-to-prev-buffer): Handle additional values of
8878 BURY-OR-KILL argument. Don't switch in minibuffer window.
8879 (switch-to-next-buffer): Don't switch in minibuffer window.
8880 (quit-restore-window): New function based on quit-window.
8881 Handle additional values of former KILL argument.
8882 (quit-window): Call quit-restore-window with appropriate
8883 interpretation of KILL argument.
8884 (display-buffer-below-selected): New buffer display action
8885 function.
8886
8887 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * minibuffer.el (completion-at-point-functions): Complete docstring
8890 (bug#12254).
8891
8892 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8893
8894 Better seed support for (random).
8895 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8896 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8897 * play/mpuz.el, play/tetris.el, play/zone.el:
8898 * calc/calc-comb.el (math-init-random-base):
8899 * play/blackbox.el (bb-init-board):
8900 * play/life.el (life):
8901 * server.el (server-use-tcp):
8902 * type-break.el (type-break):
8903 Remove unnecessary call to (random t).
8904 * net/sasl.el (sasl-unique-id-function):
8905 Change (random t) to (random), now that the latter is more random.
8906 * play/life.el (life-initialized): Remove no-longer-needed var.
8907
8908 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8909
8910 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8911 Consider frame's buffer predicate when choosing the buffer.
8912 (Bug#12081)
8913
8914 2012-08-30 Richard Stallman <rms@gnu.org>
8915
8916 * simple.el (special-mode-map): Delete binding for `z'.
8917
8918 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8919
8920 * progmodes/compile.el (compilation-always-kill): Doc fix.
8921
8922 2012-08-30 Chong Yidong <cyd@gnu.org>
8923
8924 * window.el (display-buffer-reuse-frames): Make the obsolescence
8925 message more informative.
8926
8927 2012-08-30 Glenn Morris <rgm@gnu.org>
8928
8929 * paren.el (show-paren-delay):
8930 Add a :set function. Doc fix. (Bug#12297)
8931
8932 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8933
8934 * progmodes/compile.el (compilation-always-kill): New var.
8935 (compilation-start): Use it.
8936
8937 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8938
8939 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8940 * files.el (read-only-mode): Move to simple.el.
8941
8942 * files.el (read-only-mode): New minor mode.
8943 (toggle-read-only): Use it and mark obsolete.
8944 (find-file--read-only):
8945 * vc/vc.el (vc-next-action, vc-checkout):
8946 * vc/vc-cvs.el (vc-cvs-checkout):
8947 * obsolete/vc-mcvs.el (vc-mcvs-update):
8948 * ffap.el (ffap--toggle-read-only): Update callers.
8949
8950 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * eshell/esh-ext.el (eshell-external-command): Do not examine
8953 remote shell scripts.
8954 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8955
8956 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8957 "/usr/local/sbin".
8958
8959 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8962
8963 2012-08-28 Leo Liu <sdl.web@gmail.com>
8964
8965 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8966 completion-at-point. (Bug#12220)
8967
8968 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8969
8970 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8971
8972 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8975 be buffer-local; add delete-trailing-whitespace (bug#12259).
8976
8977 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8978
8979 * progmodes/hideif.el (hif-compress-define-list):
8980 Fix typo. (Bug#11951)
8981
8982 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8983
8984 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8985 buffer local setting.
8986
8987 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8988 rcirc-encode-coding-system.
8989
8990 2012-08-28 Leo Liu <sdl.web@gmail.com>
8991
8992 * net/rcirc.el (rcirc-split-message): New function.
8993 (rcirc-send-message): Use it. (Bug#12051)
8994
8995 2012-08-28 Juri Linkov <juri@jurta.org>
8996
8997 * info.el (Info-fontify-node): Hide empty lines at the end of
8998 the node. (Bug#12272)
8999
9000 2012-08-27 Drew Adams <drew.adams@oracle.com>
9001
9002 * dired.el (dired-pop-to-buffer): Make window start at beginning
9003 of buffer (Bug#12281).
9004
9005 2012-08-26 Chong Yidong <cyd@gnu.org>
9006
9007 * window.el (special-display-regexps, special-display-frame-alist)
9008 (special-display-buffer-names, special-display-function)
9009 (display-buffer-reuse-frames): Mark as obsolete.
9010
9011 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9012
9013 * help.el (help-print-return-message): Don't treat
9014 display-buffer-reuse-frames specially.
9015
9016 2012-08-26 Chong Yidong <cyd@gnu.org>
9017
9018 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9019 New variable, replacing gdb-frame-parameters.
9020 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9021 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9022 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9023 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9024 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9025 the functions directly with gdb-display-buffer-other-frame-action.
9026 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9027 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9028 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9029 (gdb-display-registers-buffer): Define directly.
9030 (def-gdb-display-buffer): Macro deleted.
9031 (gdb-display-buffer): Remove second and third args, callers don't
9032 use them. Defer to the default display-buffer behavior, apart
9033 from making windows dedicated.
9034 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9035
9036 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9037
9038 * window.el (display-buffer-pop-up-frame): Handle a
9039 pop-up-frame-parameters alist entry.
9040 (display-buffer): Document it.
9041
9042 2012-08-26 Chong Yidong <cyd@gnu.org>
9043
9044 * isearch.el (search-whitespace-regexp): Make string and nil
9045 values apply to both ordinary and regexp search. Allow a cons
9046 cell value to distinguish between the two.
9047 (isearch-whitespace-regexp, isearch-search-forward)
9048 (isearch-search-backward): New functions.
9049 (isearch-occur, isearch-search-fun-default, isearch-search)
9050 (isearch-lazy-highlight-new-loop): Use them.
9051 (isearch-forward, isearch-forward-regexp): Doc fix.
9052
9053 2012-08-26 Chong Yidong <cyd@gnu.org>
9054
9055 * faces.el (help-argument-name): Always inherit from italic
9056 (Bug#12213).
9057
9058 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9059
9060 * window.el (window--even-window-heights): Even heights when
9061 WINDOW and the selected window form a vertical combination.
9062 (display-buffer-use-some-window): Provide that window used gets
9063 sized back by quit-window. (Bug#11880) and (Bug#12091)
9064
9065 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9066
9067 Fix file time stamp problem with bzr and CVS (Bug#12001).
9068 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9069 in the file's time stamp, since the version control system loses
9070 that information.
9071
9072 2012-08-22 Juri Linkov <juri@jurta.org>
9073
9074 * info.el (Info-fontify-node): Hide the suffix of the
9075 Info file name in the header line. (Bug#12187)
9076
9077 2012-08-22 Glenn Morris <rgm@gnu.org>
9078
9079 * calendar/cal-tex.el (cal-tex-weekly-common):
9080 Restore leading blank page.
9081
9082 2012-08-22 Le Wang <l26wang@gmail.com>
9083
9084 * misc.el (forward-to-word, backward-to-word): Activate or extend
9085 the region under `shift-select-mode'. (Bug#12231)
9086
9087 2012-08-22 Bastien Guerry <bzg@gnu.org>
9088
9089 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9090 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9091 gives details on why the space is never needed.
9092
9093 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9094
9095 * window.el (walk-window-tree, window-with-parameter):
9096 New optional argument MINIBUF to control whether these functions
9097 should run on the minibuffer window.
9098 (window-at-side-list): Don't operate on minibuffer window.
9099 (window-in-direction): Simplify and rewrite doc-string.
9100 (window--size-ignore): Rename to window--size-ignore-p.
9101 Update callers.
9102 (display-buffer-in-atom-window, window--major-non-side-window)
9103 (window--major-side-window, display-buffer-in-major-side-window)
9104 (delete-side-window, display-buffer-in-side-window):
9105 New functions.
9106 (window--side-check, window-deletable-p, delete-window)
9107 (delete-other-windows, split-window): Handle side windows and
9108 atomic windows appropriately.
9109 (window--display-buffer): Call display-buffer-record-window also
9110 when the window buffer did not change.
9111
9112 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9113
9114 * help-fns.el (help-fns--key-bindings):
9115 Abbreviate non-symbol remap targets. (Bug#12174)
9116
9117 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9118
9119 * dired.el (dired-mark-remembered): Don't clobber point.
9120 (Bug#11795)
9121
9122 2012-08-22 Glenn Morris <rgm@gnu.org>
9123
9124 * progmodes/bug-reference.el (bug-reference): New custom group.
9125 (bug-reference-bug-regexp): Make it a defcustom.
9126
9127 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9128
9129 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9130 (js-paren-indent-offset, js-square-indent-offset)
9131 (js-curly-indent-offset): Add :safe (Bug#12257).
9132
9133 2012-08-22 Edward O'Connor <hober0@gmail.com>
9134
9135 * json.el (json-key-format): Add error properties.
9136 (json-encode-key): New function.
9137 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9138 Use json-encode-key.
9139
9140 2012-08-22 Glenn Morris <rgm@gnu.org>
9141
9142 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9143 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9144 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9145 Update for above change.
9146
9147 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9148
9149 * cus-face.el (custom-face-attributes): Fix customize type for the
9150 :underline attribute. (Bug#11805)
9151
9152 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9153
9154 * window.el (window-point-1, set-window-point-1): Remove.
9155 (window-in-direction, record-window-buffer)
9156 (set-window-buffer-start-and-point, split-window-below)
9157 (window--state-get-1, display-buffer-record-window):
9158 Replace calls to window-point-1 and set-window-point-1 by calls to
9159 window-point and set-window-point respectively.
9160
9161 2012-08-21 Glenn Morris <rgm@gnu.org>
9162
9163 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9164 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9165 Use it.
9166
9167 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9168 (cal-tex-shortday): New function.
9169 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9170 (cal-tex-cursor-filofax-daily): Use the above.
9171
9172 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9173 New functions.
9174 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9175 (cal-tex-cursor-filofax-week): Use them.
9176
9177 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9178 New constants.
9179 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9180 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9181
9182 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9183 (cal-tex-end-document): Don't rely on buffer name.
9184
9185 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9186 Use cal-tex-vspace.
9187 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9188 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9189 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9190 Use cal-tex-arg.
9191
9192 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9193 (cal-tex-cursor-week, cal-tex-cursor-week2)
9194 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9195 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9196 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9197 (cal-tex-insert-preamble, cal-tex-b-document)
9198 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9199 Improve cal-tex-cmd usage.
9200
9201 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9202 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9203 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9204 (cal-tex-weekly-paper): New function.
9205 (cal-tex-cursor-week, cal-tex-cursor-week2)
9206 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9207 (cal-tex-cursor-day): Use it.
9208
9209 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9210 (cal-tex-cursor-filofax-week): Remove leading blank page.
9211
9212 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9213 Add autoload cookie. For now at least, don't use color, since
9214 no other cal-tex function does.
9215
9216 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9217 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9218 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9219
9220 2012-08-21 Juri Linkov <juri@jurta.org>
9221
9222 * info.el (Info-file-attributes): New variable.
9223 (info-insert-file-contents): Add file attributes to
9224 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9225 `Info-toc-nodes' when previous modtime of the Info file is less
9226 than new modtime.
9227 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9228 of info.el. (Bug#12230)
9229
9230 2012-08-20 Glenn Morris <rgm@gnu.org>
9231
9232 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9233 * calendar/holidays.el (calendar-holiday-list):
9234 Report errors with display-warning rather than beep'n'sleep.
9235
9236 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9237
9238 * net/tramp.el (tramp-accept-process-output): Accept only output
9239 from PROC. Otherwise, process filters and sentinels might be
9240 confused. (Bug#12145)
9241
9242 2012-08-20 Chong Yidong <cyd@gnu.org>
9243
9244 * descr-text.el (describe-text-properties-1): Use overlays-in to
9245 report on empty overlays (Bug#3322).
9246
9247 2012-08-20 Glenn Morris <rgm@gnu.org>
9248
9249 * mail/rmailout.el (rmail-output-read-file-name):
9250 Trap and report errors in rmail-output-file-alist elements.
9251
9252 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9253 since most non-font-lock faces are not also variables).
9254
9255 2012-08-20 Edward Reingold <reingold@iit.edu>
9256
9257 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9258 New function. (Bug12160)
9259
9260 2012-08-19 Glenn Morris <rgm@gnu.org>
9261
9262 * mail/rmailout.el (rmail-output-read-file-name):
9263 Fix previous change (when the alist is nil or does not match).
9264
9265 2012-08-19 Chong Yidong <cyd@gnu.org>
9266
9267 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9268 (Bug#12228).
9269
9270 2012-08-18 Chong Yidong <cyd@gnu.org>
9271
9272 * simple.el (yank-handled-properties): New defcustom.
9273 (yank-excluded-properties): Add font-lock-face and category.
9274 (yank): Doc fix.
9275
9276 * subr.el (remove-yank-excluded-properties):
9277 Obey yank-handled-properties. The special handling of font-lock-face
9278 and category is now done this way, instead of being hard-coded.
9279 (insert-for-yank-1): Remove font-lock-face handling.
9280 (yank-handle-font-lock-face-property)
9281 (yank-handle-category-property): New function.
9282
9283 2012-08-17 Glenn Morris <rgm@gnu.org>
9284
9285 * mail/rmailout.el (rmail-output-read-file-name):
9286 Check rmail-output-file-alist against the full message body
9287 in the correct rmail buffer. (Bug#12214)
9288
9289 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9290
9291 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9292 Eliminate superfluous prompt. (Bug#12203)
9293
9294 2012-08-17 Chong Yidong <cyd@gnu.org>
9295
9296 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9297 font spec, set the font directly (Bug#3228).
9298
9299 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9300
9301 * window.el (delete-window): Fix last fix.
9302
9303 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9304
9305 * window.el (window-valid-p): Move to window.c.
9306 (window-child, window-child-count, window-last-child)
9307 (window-normalize-window, window-combined-p)
9308 (window-combinations, window-atom-root, window-min-size)
9309 (window-sizable, window-sizable-p, window-size-fixed-p)
9310 (window-min-delta, window-max-delta, window--resizable)
9311 (window--resizable-p, window-resizable, window-total-size)
9312 (window-full-height-p, window-full-width-p, window-body-size)
9313 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9314 (minimize-window, window-deletable-p, delete-window)
9315 (delete-other-windows, set-window-buffer-start-and-point)
9316 (next-buffer, previous-buffer, split-window, balance-windows-2)
9317 (set-window-text-height, window-buffer-height)
9318 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9319 (truncated-partial-width-window-p): Minor code adjustments.
9320 In doc-strings state whether the argument window has to denote a
9321 live, valid or any window.
9322
9323 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9324
9325 * progmodes/subword.el (subword-forward-function)
9326 (subword-backward-function, subword-forward-regexp)
9327 (subword-backward-regexp): New variables.
9328 (subword-forward, subword-forward-internal, subword-backward-internal):
9329 Use new variables, eg so that different "word" definitions
9330 can be easily used. (Bug#11411)
9331
9332 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9335 for composite selectors.
9336 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9337 operation just because we can't find a previous revision.
9338
9339 2012-08-15 Chong Yidong <cyd@gnu.org>
9340
9341 * frame.el (set-frame-font): Accept font objects.
9342
9343 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9346
9347 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9348
9349 * man.el (Man-overstrike-face, Man-underline-face)
9350 (Man-reverse-face): Remove variables.
9351 (Man-overstrike, Man-underline, Man-reverse): New faces.
9352 (Man-fontify-manpage): Use them instead of the variables.
9353 (Man-cleanup-manpage): Comment change.
9354 (Man-ansi-color-map): New variable.
9355 (Man-fontify-manpage): Use it.
9356 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9357
9358 Implement ANSI SGR parameters 22-27 (bug#12146).
9359 * ansi-color.el (ansi-colors): Doc fix.
9360 (ansi-color-context, ansi-color-context-region): Doc fix.
9361 (ansi-color--find-face): New function.
9362 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9363 Rename the local variable `face' to `codes' since it is now a list of
9364 ansi codes. Doc fix.
9365 (ansi-color-get-face): Remove.
9366 (ansi-color-parse-sequence): New function, derived from
9367 ansi-color-get-face.
9368 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9369 codes 22-27.
9370
9371 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * subr.el (read-passwd): Allow use from a minibuffer.
9374
9375 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9376
9377 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9378 inside comments and strings as identifiers.
9379
9380 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9381 expression to evaluate. This allows to evaluate expressions with
9382 embedded whitespace.
9383 (gud-tooltip-tips): Add a blank before the newline in the
9384 message-box text, for the benefit of message-box emulation on
9385 MS-Windows.
9386
9387 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9388 messages from GDB, pop them up in a tooltip to give feedback to
9389 user.
9390 (gdb-tooltip-print-1): Quote the expression to evaluate.
9391 This allows to evaluate expressions with embedded whitespace.
9392 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9393 if the TTY name is nil or empty (which happens when communicating
9394 with the inferior via pipes, e.g. on MS-Windows).
9395 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9396 don't send that to the GUD buffer.
9397
9398 2012-08-14 Glenn Morris <rgm@gnu.org>
9399
9400 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9401 Optimize away setq-default with no args, as for setq. (Bug#12195)
9402
9403 2012-08-14 Chong Yidong <cyd@gnu.org>
9404
9405 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9406
9407 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9408 (Bug#12085).
9409
9410 2012-08-14 Glenn Morris <rgm@gnu.org>
9411
9412 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9413
9414 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9415
9416 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9417 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9418 Use cached shell name.
9419
9420 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9421
9422 * progmodes/python.el (python-shell-send-string):
9423 (python-shell-send-setup-code): Do not use `format' with `message'.
9424
9425 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9426
9427 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9428 (ruby-percent-literal-beg-re): New constant.
9429 (ruby-syntax-general-delimiters-goto-beg): Rename to
9430 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9431 (ruby-syntax-propertize-general-delimiters): Rename to
9432 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9433 popular term. Adjust comments everywhere.
9434 (ruby-syntax-propertize-percent-literal): Only propertize when not
9435 inside a simple string or comment. When the literal is unclosed,
9436 leave the text after it unpropertized.
9437 (ruby-syntax-methods-before-regexp): New constant.
9438 (ruby-syntax-propertize-function): Use it to recognize regexps.
9439 Don't look at the text after regexp, just use the whitelist.
9440
9441 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9442
9443 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9444 non-nil always load the compiled file if it exists. (Bug#12197)
9445
9446 2012-08-14 Chong Yidong <cyd@gnu.org>
9447
9448 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9449 (hi-lock-set-pattern): When deciding whether to use font lock or
9450 overlays, look at font-lock-mode instead of font-lock-fontified
9451 (Bug#12168).
9452 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9453 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9454
9455 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9456
9457 * subr.el (internal--after-with-selected-window): Fix typo
9458 (Bug#12193).
9459
9460 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9461
9462 Use `completion-table-dynamic' for completion functions.
9463 * progmodes/python.el
9464 (python-shell-completion--do-completion-at-point)
9465 (python-shell-completion--get-completions):
9466 Remove functions.
9467 (python-shell-completion-complete-at-point): New function.
9468 (python-completion-complete-at-point): Use it.
9469
9470 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9471
9472 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9473 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9474
9475 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * subr.el (function-get): Refine `autoload' arg so it can also
9478 autoload functions for gv.el (bug#12191).
9479 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9480 autoloads macros.
9481
9482 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9483 Prefer pcase-let over destructuring-bind.
9484 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9485 Also, remove whitespace as we go, rather than after accumulating the
9486 various places.
9487
9488 * subr.el (internal--before-with-selected-window)
9489 (internal--after-with-selected-window): Fix typo seleted->selected.
9490 (with-selected-window): Adjust callers.
9491 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9492
9493 2012-08-13 Bastien Guerry <bzg@gnu.org>
9494
9495 * window.el (special-display-popup-frame): Minor docstring
9496 enhancement. (Bug#12172)
9497
9498 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9499
9500 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9501 type 1-6.
9502 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9503 extended headers.
9504
9505 * files.el (hack-local-variables-filter): Remove useless eval.
9506
9507 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9508
9509 * subr.el (with-selected-window): Fix last change.
9510
9511 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * subr.el (internal--before-with-seleted-window)
9514 (internal--after-with-seleted-window): New functions.
9515 (with-selected-window): Use them, to replace dependency on
9516 tty-top-frame.
9517
9518 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9519
9520 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9521 binding for `newline'.
9522 (ruby-move-to-block): When moving backward, stop at block opening,
9523 not indentation.
9524 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9525 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9526 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9527 `ruby-toggle-block'.
9528
9529 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * ibuffer.el (ibuffer-do-toggle-read-only):
9532 * dired.el (dired-toggle-read-only):
9533 * buff-menu.el (Buffer-menu-toggle-read-only):
9534 * bindings.el (mode-line-toggle-read-only):
9535 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9536
9537 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9538
9539 * descr-text.el (describe-char): Put the overlays over the
9540 "displayed as" character.
9541
9542 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9543
9544 * calc/calc-units.el (math-default-units-table): Give an
9545 initial value.
9546 (math-put-default-units): Add options to put composite units and
9547 unit systems in the default units table.
9548 (calc-convert-units): Send composite units to
9549 `math-put-default-units' when appropriate.
9550
9551 2012-08-11 Glenn Morris <rgm@gnu.org>
9552
9553 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9554
9555 * tutorial.el (help-with-tutorial):
9556 * emacs-lisp/copyright.el (copyright-update-directory):
9557 * emacs-lisp/autoload.el (autoload-find-generated-file)
9558 (autoload-find-file): Disable local eval: (for insurance).
9559
9560 * files.el (hack-local-variables-filter): If an eval: form is not
9561 known to be safe, and enable-local-variables is :safe, then ignore
9562 the form totally, as is done for non-eval forms. (Bug#12155)
9563 This is CVE-2012-3479.
9564
9565 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9568 (rx-form): Simplify.
9569
9570 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9571
9572 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9573 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9574 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9575 (ruby-syntax-propertize-function): Adjust for changes in
9576 `ruby-syntax-propertize-heredoc'.
9577
9578 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9579
9580 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9581 binding (use `M-;' instead).
9582 (ruby-singleton-class-p): New function.
9583 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9584
9585 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9588
9589 2012-08-10 Chong Yidong <cyd@gnu.org>
9590
9591 * progmodes/python.el (python-shell-get-process-name): Don't mess
9592 with same-window-buffer-names.
9593
9594 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9595 (eshell-remove-from-window-buffer-names): Make obsolete.
9596 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9597 (eshell): Just use pop-to-buffer-same-window instead.
9598
9599 2012-08-10 Chong Yidong <cyd@gnu.org>
9600
9601 * bindings.el: Bind M-= back to count-words-region.
9602
9603 * simple.el (count-words-region): Accept a prefix arg for acting
9604 on the entire buffer.
9605 (count-words--buffer-message): New helper function.
9606
9607 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9610 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9611 (event-start, event-end): Use posn-at-point to return a more
9612 informative posn.
9613 (posnp): New function.
9614 * mouse.el (popup-menu-normalize-position): Use it.
9615
9616 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9617
9618 * mouse.el (popup-menu-normalize-position): New function.
9619 (popup-menu): Use `popup-menu-normalize-position' to normalize
9620 the form for POSITION argument.
9621
9622 * term/x-win.el (x-menu-bar-open):
9623 Use the value returend from (posn-at-point) as position
9624 passed to `popup-menu'.
9625
9626 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9627
9628 * calc/calccomp.el (math-compose-expr): Add extra argument
9629 indicating that parentheses should be put around products in
9630 denominators. Give multiplication precedence over division during
9631 composition.
9632
9633 2012-08-09 Chong Yidong <cyd@gnu.org>
9634
9635 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9636 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9637 (Man-untabify-command, manual-program): Convert to defcustom
9638 (Bug#10429).
9639
9640 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9641
9642 * descr-text.el (describe-char): Don't insert extra newlines
9643 (Bug#10127).
9644
9645 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9646 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9647
9648 * align.el (align-region): Delete temporary markers (Bug#10047).
9649 Plus some code cleanups.
9650
9651 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9652
9653 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9654 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9655 (python-shell-internal-last-output): Use make-local-variable
9656 instead of make-variable-buffer-local.
9657
9658 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9659
9660 * progmodes/python.el: Enhancements to forward-sexp.
9661 (python-nav-forward-sexp): Rename from
9662 python-nav-forward-sexp-function.
9663 (python-nav--forward-sexp, python-nav--backward-sexp):
9664 New functions.
9665
9666 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9667
9668 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9669 modes and simplification modes.
9670
9671 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * delsel.el (delete-selection-pre-hook): Don't propagate the
9674 file-supersession signals (bug#12161).
9675
9676 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9679 (cl-map-extents): Add compatibility aliases (bug#12135).
9680
9681 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9682
9683 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9684 tests by `ignore-error'.
9685 (tramp-find-shell): Open also a new shell, when cache is already
9686 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9687
9688 2012-08-08 Juri Linkov <juri@jurta.org>
9689
9690 * bookmark.el: Add `defaults' property to the bookmark record.
9691 (bookmark-current-buffer): Doc fix.
9692 (bookmark-make-record): Add `defaults' property with default values
9693 to the bookmark record.
9694 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9695 with `bookmark-insert-current-bookmark'.
9696 (bookmark-set): Get `defaults' property from the bookmark record
9697 and use it in `read-from-minibuffer'.
9698 (bookmark-insert-current-bookmark): Remove function.
9699
9700 * info.el (Info-bookmark-make-record): Add `defaults' property
9701 with values of canonical Info node name, the current Info file
9702 name and the current Info node name. (Bug#12107)
9703
9704 2012-08-08 Juri Linkov <juri@jurta.org>
9705
9706 * files.el (basic-save-buffer): Use `buffer-name' as the default
9707 of `read-file-name' when buffer is not visiting a file (bug#12128).
9708
9709 2012-08-08 Juri Linkov <juri@jurta.org>
9710
9711 * info.el (Info-isearch-search): Doc fix.
9712 (Info-search): Change search-failed message from "initial node" to
9713 "end of node" (bug#12078).
9714 (Info-isearch-search): Change `isearch-string-state' to
9715 `isearch--state-string'.
9716
9717 2012-08-08 Glenn Morris <rgm@gnu.org>
9718
9719 * language/persian.el: Remove file.
9720 * language/misc-lang.el: Move unique part of persian.el here.
9721 * loadup.el: Remove language/persian.
9722
9723 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9724
9725 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9726
9727 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9728
9729 * progmodes/python.el: Fix defsubst warning.
9730 (python-syntax-context) Rename from python-info-ppss-context.
9731 (python-syntax-context-type): Rename from
9732 python-info-ppss-context-type.
9733 (python-syntax-comment-or-string-p): Rename from
9734 python-info-ppss-comment-or-string-p.
9735
9736 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9737
9738 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9739
9740 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9741
9742 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9743 a defcustom that is quoted with backquote.
9744
9745 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9746 Fix handling of interactive spec when the body uses return.
9747 (math-do-arg-check, math-define-function-body): Use backquote forms.
9748 * calc/calc-ext.el (math-defcache): Likewise.
9749 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9750 * allout.el (allout-new-exposure): Likewise.
9751 * calc/calcalg2.el (math-tracing-integral): Likewise.
9752 * info.el (Info-last-menu-item): Likewise.
9753 * emulation/vip.el (vip-loop): Likewise.
9754 * textmodes/artist.el (artist-funcall): Likewise.
9755 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9756 Construct menu-item directly.
9757
9758 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9759 Don't declare.
9760
9761 2012-08-07 Chong Yidong <cyd@gnu.org>
9762
9763 * simple.el (deactivate-mark): Preserve text properties when
9764 saving the primary selection (Bug#8384).
9765
9766 2012-08-07 Kevin Ryde <user42@zip.com.au>
9767
9768 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9769 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9770 and continue processing (Bug#12110).
9771
9772 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9775 syntax-propertize-function (bug#10095).
9776
9777 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9780 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9781 describe-function-1.
9782 (describe-function-1): Use them. Move compiler macro after sig.
9783 (help-fns--compiler-macro): Use function-get. Assume we're already in
9784 standard-output. Adjust layout to new call order.
9785
9786 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9787 re-binding a symbol that has a symbol-macro (bug#12119).
9788
9789 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9790
9791 * language/persian.el: New file. (Bug#11812)
9792 * loadup.el: Add language/persian.el.
9793
9794 2012-08-06 Chong Yidong <cyd@gnu.org>
9795
9796 * window.el (window--maybe-raise-frame): New function.
9797 (window--display-buffer): Split off from here.
9798 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9799 (display-buffer-pop-up-window, display-buffer-use-some-window):
9800 Obey an inhibit-switch-frame action alist entry.
9801 (display-buffer): Update doc.
9802
9803 * replace.el (occur-after-change-function): Avoid losing focus by
9804 using the inhibit-switch-frame display parameter (Bug#12139).
9805
9806 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9807
9808 Make internal shell process buffer names start with space.
9809 * progmodes/python.el (python-shell-make-comint): Add optional
9810 argument INTERNAL.
9811 (run-python-internal): Use it.
9812 (python-shell-internal-get-or-create-process): Check for new
9813 internal buffer names.
9814
9815 2012-08-06 Glenn Morris <rgm@gnu.org>
9816
9817 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9818 Do less getting and setting of environment variables.
9819
9820 2012-08-05 Chong Yidong <cyd@gnu.org>
9821
9822 * proced.el (proced): Add substitution string to docstring to
9823 trigger autoloading of the proced library on C-h f (Bug#1768).
9824
9825 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9826 Don't show defvars which have no second argument (Bug#8638).
9827
9828 * imenu.el (imenu-generic-expression): Move documentation here
9829 from imenu--generic-function.
9830 (imenu--generic-function): Refer to imenu-generic-expression.
9831
9832 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9833
9834 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9835 indentation declaration.
9836 (viper-loop): Add indentation declaration (Bug#7025).
9837
9838 2012-08-05 Chong Yidong <cyd@gnu.org>
9839
9840 * help-fns.el (describe-variable): Add hyperlink for
9841 directory-local variables files. Improve buffer-local and
9842 permanent-local reporting; suggested by MON KEY (Bug#6644).
9843
9844 * help-mode.el (help-dir-local-var-def): New button type.
9845
9846 * files.el (kill-buffer-hook): Provide a defvar.
9847
9848 2012-08-05 Glenn Morris <rgm@gnu.org>
9849
9850 * eshell/esh-ext.el (eshell/addpath):
9851 Also update eshell-path-env. (Bug#12013)
9852
9853 2012-08-05 Chong Yidong <cyd@gnu.org>
9854
9855 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9856
9857 * fringe.el (fringe-styles): Add docstring.
9858 (fringe--check-mode): New function.
9859 (set-fringe-mode, set-fringe-style): Use it.
9860 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9861
9862 * files.el (set-auto-mode): Fix invalid setq call.
9863
9864 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * isearch.el: Misc simplification; use defstruct.
9867 (isearch-mode-map): Dense maps now work like sparse ones.
9868 (isearch--state): New defstruct.
9869 (isearch-string-state, isearch-message-state, isearch-point-state)
9870 (isearch-success-state, isearch-forward-state)
9871 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9872 (isearch-wrapped-state, isearch-barrier-state)
9873 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9874 replaced by defstruct's accessors.
9875 (isearch--set-state): Rename from isearch-top-state and change
9876 calling convention.
9877 (isearch-push-state): Use new isearch--get-state.
9878 (isearch-toggle-word): Disable regexp when enabling word.
9879 (isearch-message-prefix): Remove unused arg _c-q-hack.
9880 (isearch-message-suffix): Remove unused arg _ellipsis.
9881
9882 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9883
9884 * simple.el (list-processes--refresh): For a server use :host or
9885 :local as the address.
9886 (list-processes): Doc fix.
9887
9888 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9889
9890 * lisp/mpc.el: Support password in host argument.
9891 (mpc--proc-connect): Parse and use new password element.
9892 Set mpc-proc variable instead of returning process.
9893 (mpc-proc): Adjust accordingly.
9894
9895 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9896
9897 * whitespace.el (whitespace-display-mappings): Use Unicode
9898 codepoints, instead of emacs-mule codepoints. See
9899 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9900 for the details.
9901
9902 * files.el (file-truename): Don't skip symlink-chasing part on
9903 windows-nt. Incorporate the resolution of 8+3 short aliases on
9904 Windows into the loop that recursively chases symlinks.
9905 Compare directory and its parent case-insensitively on MS-Windows and
9906 MS-DOS.
9907
9908 2012-08-03 Chong Yidong <cyd@gnu.org>
9909
9910 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9911
9912 * sort.el (sort-regexp-fields): Doc fix.
9913
9914 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9915
9916 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9917 labels regex position point at the expected place.
9918
9919 2012-08-03 MON KEY <monkey@sandpframing.com>
9920
9921 * net/imap.el (imap-interactive-login, imap-authenticate)
9922 (imap-mailbox-lsub, imap-mailbox-list)
9923 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9924 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9925 (imap-parse-response): Doc fix.
9926
9927 2012-08-03 João Távora <joaotavora@gmail.com>
9928
9929 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9930 if sexp scanning does not move point (Bug#5734).
9931
9932 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9933
9934 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9935 Add listings, minted, and ctable packages.
9936 (reftex-label-alist-builtin): Move listings, minted, and ctable
9937 entries before LaTeX.
9938 (reftex-label-alist): Docfix.
9939
9940 2012-08-02 Bastien Guerry <bzg@gnu.org>
9941
9942 * replace.el (occur): Fix docstring (bug#12122).
9943
9944 2012-08-02 Glenn Morris <rgm@gnu.org>
9945
9946 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9947
9948 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9949
9950 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9951 * international/mule-cmds.el: Create
9952 inactivate-current-input-method-function as an obsolete alias for
9953 deactivate-current-input-method-function. See Katsumi Yamaoka in
9954 <http://bugs.gnu.org/10150#46>.
9955
9956 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9957
9958 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9959 of nested `if's.
9960
9961 2012-08-01 Glenn Morris <rgm@gnu.org>
9962
9963 * progmodes/autoconf.el (autoconf-definition-regexp):
9964 Add AH_TEMPLATE, adjust submatch numbering.
9965 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9966 (autoconf-current-defun-function): Update for above change.
9967 (autoconf-current-defun-function): First skip to end of current word.
9968
9969 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9970
9971 * calendar/cal-html.el (cal-html-insert-agenda-days):
9972 Fix typo. (Bug#12018)
9973
9974 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9975
9976 Shell processes: enhancements to startup and CEDET compatibility.
9977 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9978 (python-shell-make-comint): accept-process-output at startup.
9979 (run-python-internal): Set inferior-python-mode-hook to nil.
9980 (python-shell-internal-get-or-create-process): call sit-for.
9981 (python-preoutput-result): Add obsolete alias.
9982 (python-shell-internal-send-string): Use it.
9983 (python-shell-send-setup-code): Remove call to
9984 accept-process-output.
9985
9986 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9987
9988 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9989 (Bug#12108)
9990
9991 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9992
9993 * calc-mode.el (calc-basic-simplification-mode): Rename from
9994 `calc-limited-simplification-mode'.
9995 (calc-alg-simplification-mode): New function.
9996 (calc-set-simplify-mode): Adjust message.
9997
9998 * calc.el (calc-set-mode-line): Adjust mode line display for
9999 basic simplification mode.
10000
10001 * calc-help.el (calc-m-prefix-help): Update help message.
10002
10003 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10004 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10005
10006 2012-07-31 Bastien Guerry <bzg@gnu.org>
10007
10008 * man.el (man): Fix comment. (bug#12101)
10009
10010 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10011
10012 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10013 Don't return a non-nil value when no suitable buffer was found.
10014
10015 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10016
10017 * progmodes/python.el (run-python-internal): Disable font lock for
10018 internal shells.
10019
10020 2012-07-30 Stefan Merten <smerten@oekonux.de>
10021
10022 * textmodes/rst.el: Silence `checkdoc-ispell'.
10023 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10024 (rst-official-version, rst-official-cvs-rev)
10025 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10026 (rst-mode-map): New key binding.
10027
10028 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10029
10030 Update .PHONY listings in makefiles.
10031 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10032 autoloads, update-subdirs, updates, bzr-update, update-authors,
10033 compile-onefile, compile-calc, backup-compiled-files,
10034 compile-after-backup, compile-one-process, mh-autoloads,
10035 bootstrap-clean, distclean, maintainer-clean.
10036
10037 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10038
10039 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10040 (calc-set-mode-line): Don't display "AlgSimp ".
10041
10042 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10043 (calc-lim-simplify-mode): New function.
10044 (calc-set-simplify-mode): Default to 'alg.
10045 (calc-default-simplify-mode): Make algebraic simplifications
10046 the default.
10047
10048 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10049 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10050
10051 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10052 indicate new simplification modes.
10053
10054 * calc/README: Mention new default simplification mode.
10055
10056 * calc/calc.el (math-normalize-error): New variable.
10057 (math-normalize): Set `math-normalize-error' to t
10058 when there's an error.
10059
10060 * calc/calc-alg.el (math-simplify): Don't simplify when
10061 `math-normalize' returns an error.
10062
10063 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10064
10065 * international/mule-cmds.el (set-locale-environment): Revert last
10066 change, since display-graphic-p returns nil when this function is
10067 called during startup. Instead...
10068
10069 * term/w32console.el (terminal-init-w32console): ...setup the
10070 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10071
10072 2012-07-29 Juri Linkov <juri@jurta.org>
10073
10074 * simple.el (goto-line): Don't display default line number in the
10075 prompt because it should be displayed by `read-number' (bug#9952).
10076 Add the current line number to the defaults of `goto-line' to
10077 allow its easier modification by users with `M-n' (bug#9201).
10078
10079 * subr.el (read-number): Support multiple default values like in
10080 other minibuffer reading functions. Replace `read' with
10081 `string-to-number' for consistency with `number-to-string'.
10082
10083 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10084
10085 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10086 * emulation/viper-init.el (viper-deactivate-input-method-action):
10087 Rename from viper-inactivate-input-method-action.
10088 (viper-deactivate-input-method):
10089 Rename from viper-inactivate-input-method.
10090 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10091 * international/mule-cmds.el (deactivate-input-method):
10092 Rename from inactivate-input-method.
10093 Also run input-method-deactivate-hook.
10094 (deactivate-current-input-method-function):
10095 Rename from inactivate-current-input-method-function.
10096 (input-method-deactivate-hook): New hook.
10097 (input-method-inactivate-hook): Mark obsolete.
10098 (inactivate-input-method): Mark obsolete.
10099
10100 * international/quail.el (quail-activate):
10101 Also run quail-deactivate-hook.
10102 (quail-deactivate): Rename from quail-inactivate.
10103 * international/robin.el (robin-activate):
10104 Also run robin-deactivate-hook.
10105 (robin-deactivate): Rename from robin-inactivate.
10106
10107 2012-07-29 Chong Yidong <cyd@gnu.org>
10108
10109 * simple.el (indicate-copied-region): New function.
10110 (kill-ring-save): Split off from here.
10111
10112 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10113 (kill-rectangle): Set deactivate-mark to t on read-only error.
10114
10115 * register.el (copy-to-register, copy-rectangle-to-register):
10116 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10117 (append-to-register, prepend-to-register): Call indicate-copied-region.
10118
10119 2012-07-29 Juri Linkov <juri@jurta.org>
10120
10121 * simple.el (async-shell-command-buffer): New defcustom.
10122 (shell-command): Use it. (Bug#4719)
10123
10124 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10125
10126 * international/mule-cmds.el (set-locale-environment): In a
10127 console session on MS-Windows, set up keyboard and terminal
10128 encoding from the OEM codepage, not the ANSI codepage.
10129 (Bug#12055)
10130
10131 2012-07-28 Chong Yidong <cyd@gnu.org>
10132
10133 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10134 gdb-get-location.
10135
10136 2012-07-28 Leo Liu <sdl.web@gmail.com>
10137
10138 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10139 the alist (bug#12029).
10140
10141 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10142
10143 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10144 (compile-always, compile-first)
10145 ($(lisp)/calendar/cal-loaddefs.el)
10146 ($(lisp)/calendar/diary-loaddefs.el)
10147 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10148 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10149 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10150 instead of on update-subdirs.
10151 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10152
10153 2012-07-28 Chong Yidong <cyd@gnu.org>
10154
10155 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10156 directory if vc-deduce-backend returns nil (Bug#7350).
10157
10158 * simple.el (delete-trailing-lines): New option.
10159 (delete-trailing-whitespace): Obey it (Bug#11879).
10160
10161 2012-07-28 David Engster <deng@randomsample.de>
10162
10163 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10164 Explanation of new 'symbol-qnames feature in doc-strings.
10165 (xml-maybe-do-ns): Return expanded names as plain symbols if
10166 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10167 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10168
10169 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10170
10171 Consistent completion in inferior python with emacs -nw.
10172 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10173 binding in inferior-python-mode-map with "\t".
10174 (python-shell-completion-complete-at-point)
10175 (python-completion-complete-at-point): Remove interactive spec.
10176
10177 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10178
10179 * calc/calccomp.el (math-compose-expr): Undo previous change.
10180
10181 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10182
10183 * progmodes/python.el (python-mode-map): Add keybinding for
10184 run-python.
10185 (python-shell-make-comint): Fix pop-to-buffer call.
10186 (run-python): Autoload. New arg SHOW.
10187 (python-shell-get-or-create-process): Do not pop python process
10188 buffer.
10189
10190 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10191
10192 * notifications.el (notifications-on-action-signal)
10193 (notifications-on-closed-signal): Use also the bus address for the map.
10194 (notifications-notify, notifications-close-notification)
10195 (notifications-get-capabilities): Add optional argument BUS.
10196
10197 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10198
10199 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10200 Add support for the lstlisting and minted environments, and for the
10201 ctable macro.
10202 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10203 labels written in keyvals syntax.
10204
10205 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10206
10207 * calc/calccomp.el (math-compose-expr): Use parentheses when
10208 there is a product in the denominator of a fraction.
10209
10210 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10211
10212 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10213 ($(lisp)/calendar/diary-loaddefs.el)
10214 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10215 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10216 Fixes failures in parallel bootstrap because subdirs.el is being
10217 rewritten while the autoload files are built at the same time,
10218 which needs to load subdirs.el.
10219
10220 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10221
10222 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10223 (mouse-drag-line): Don't exit tracking when a switch-frame or
10224 switch-window event occurs (Bug#12006).
10225
10226 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * mouse.el (popup-menu): Fix last change.
10229
10230 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 Autoload from Lisp with more care. Follow aliases when looking for
10233 function properties.
10234 * subr.el (autoloadp): New function.
10235 (symbol-file): Use it.
10236 (function-get): New function.
10237 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10238 autoload-do-load.
10239 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10240 (lisp-indent-function):
10241 * emacs-lisp/gv.el (gv-get):
10242 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10243 * emacs-lisp/byte-opt.el (byte-optimize-form):
10244 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10245 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10246 Use function-get.
10247 * emacs-lisp/cl.el: Don't propagate function properties any more.
10248
10249 * speedbar.el (speedbar-add-localized-speedbar-support):
10250 * emacs-lisp/disass.el (disassemble-internal):
10251 * desktop.el (desktop-load-file):
10252 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10253 (describe-function-1):
10254 * emacs-lisp/find-func.el (find-function-noselect):
10255 * emacs-lisp/elp.el (elp-instrument-function):
10256 * emacs-lisp/advice.el (ad-has-proper-definition):
10257 * apropos.el (apropos-safe-documentation, apropos-macrop):
10258 * emacs-lisp/debug.el (debug-on-entry):
10259 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10260 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10261 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10262
10263 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10264
10265 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10266 function, not an obsolete variable (Bug#12046).
10267
10268 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10269
10270 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10271
10272 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10273
10274 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10275 window only if it is still live (Bug#12034).
10276
10277 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10278
10279 * subr.el (redirect-frame-focus): Add advertised calling
10280 convention (Bug#12030).
10281
10282 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10283
10284 Prefer typical American spelling for "acknowledgment".
10285 * vc/add-log.el (change-log-acknowledgment): Rename from
10286 change-log-acknowledgement, with an alias for the old name.
10287
10288 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10289
10290 * calc-alg.el (math-simplify-divide): Don't cross multiply
10291 in an equation when the lhs is a variable.
10292
10293 2012-07-24 Julien Danjou <julien@danjou.info>
10294
10295 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10296 Remove, unused.
10297
10298 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10299
10300 * startup.el (command-line): Don't display an empty user name in
10301 the error message about non-existent home directory, when
10302 init-file-user was set to an empty string. See
10303 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10304 for the details and context.
10305
10306 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10307
10308 * ses.el (ses-cell-formula-aset): New macro.
10309 (ses-cell-references-aset): New macro.
10310 (ses-cell-p): New function.
10311 (ses-rename-cell): Do no longer rely on complex operations like
10312 ses-cell-set-formula or ses-set-cell to change the cell and handle
10313 the undo at the same time, but rather use lower level new macros
10314 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10315 the undo directly. Refresh the mode line.
10316
10317 2012-07-21 Leo Liu <sdl.web@gmail.com>
10318
10319 * progmodes/cc-cmds.el (c-defun-name):
10320 Use match-string-no-properties instead for consistency.
10321
10322 2012-07-20 Leo Liu <sdl.web@gmail.com>
10323
10324 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10325 (Bug#7879)
10326
10327 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10328
10329 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10332 * progmodes/bug-reference.el, misearch.el: Provide themselves
10333 (bug#11915).
10334
10335 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10336 of narrowed buffer (bug#11966).
10337
10338 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10339
10340 * ses.el (ses-rename-cell): Set new name also in reference list of
10341 cells of which the renamed cell depends.
10342
10343 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10344
10345 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10346 to check whether menu-bar is shown or not. If not shown,
10347 show the menu-bar as a popup menu instead of using tmm.
10348 * mouse.el (popup-menu): Accept `point' as `position' argument.
10349
10350 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10351
10352 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10353 up inside string symbol literal (bug#11923).
10354
10355 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10356
10357 * startup.el (fancy-startup-text): Read the whole tutorial, not
10358 just its first 256 bytes. Prevents gibberish in display of the
10359 tutorial title.
10360
10361 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10362
10363 Drop idle buffer compaction due to an absence of the
10364 proved efficiency.
10365 * compact.el: Remove.
10366
10367 2012-07-19 Sam Steingold <sds@gnu.org>
10368
10369 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10370 vc-bzr-pull & vc-bzr-merge-branch.
10371 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10372 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10373 for consistency with compilation-error-regexp-alist.
10374 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10375 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10376 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10377 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10378
10379 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * emacs-lisp/chart.el: Use lexical-binding.
10382 (chart-emacs-storage): Don't hardcode the list of entries.
10383
10384 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10385
10386 Next round of tweaks caused by Fgarbage_collect changes.
10387 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10388
10389 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10390
10391 Compact buffers when idle.
10392 * compact.el: New file.
10393
10394 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * subr.el (eventp): Presume that if it looks vaguely like an event,
10397 it's an event (bug#10190).
10398
10399 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10400
10401 Enhancements to ppss related code (thanks Stefan).
10402 * progmodes/python.el (python-indent-context)
10403 (python-indent-calculate-indentation, python-indent-dedent-line)
10404 (python-indent-electric-colon, python-nav-forward-block)
10405 (python-mode-abbrev-table)
10406 (python-info-assignment-continuation-line-p): Simplify checks
10407 for ppss context.
10408 (python-info-continuation-line-p): Cleanup.
10409 (python-info-ppss-context): Do not catch 'quote.
10410 (python-info-ppss-context-type)
10411 (python-info-ppss-comment-or-string-p): Simplify.
10412
10413 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10414
10415 * progmodes/python.el: Enhancements to eldoc support.
10416 (python-info-current-symbol): New function.
10417 (python-eldoc-at-point): Use python-info-current-symbol.
10418 (python-info-current-defun): Fix cornercase on first defun scan.
10419 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10420 and signal error when no inferior python process is available.
10421
10422 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10423
10424 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10425 assume it's always t.
10426 (vc-git-registered): Remove caching, the function is only called
10427 once.
10428 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10429
10430 2012-07-18 Chong Yidong <cyd@gnu.org>
10431
10432 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10433
10434 * simple.el (count-words): Report on narrowing (Bug#9959).
10435
10436 * bindings.el: Bind M-= to count-words.
10437
10438 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10439
10440 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10441
10442 * progmodes/sh-script.el (sh-imenu-generic-expression):
10443 Capture a function with `function' keyword and without parentheses
10444 like "function FOO" (bug#11856).
10445
10446 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10447
10448 * window.el (split-window-sensibly): Make WINDOW argument
10449 optional.
10450
10451 2012-07-18 Chong Yidong <cyd@gnu.org>
10452
10453 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10454
10455 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10456 and make C-x 8 RET exit isearch (Bug#11439).
10457
10458 * international/iso-transl.el: Move isearch-mode-map key
10459 definitions to isearch.el.
10460
10461 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10464 (eieio-defclass): Use gv-define-setter when possible.
10465
10466 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10467
10468 Reflect recent changes in Fgarbage_collect.
10469 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10470 reflect new format of data returned by Fgarbage_collect.
10471
10472 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10473
10474 New utility functions + python-info-ppss-context fix (Bug#11910).
10475 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10476 (python-info-ppss-comment-or-string-p): New functions.
10477 (python-info-ppss-context): Small fix for string check.
10478
10479 2012-07-17 Juri Linkov <juri@jurta.org>
10480
10481 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10482 (dired-do-async-shell-command): Don't add `*' at the end of the
10483 command (Bug#11815).
10484 (dired-do-shell-command): Doc fix.
10485 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10486 Join the individual commands using either "&" or ";" as the
10487 separator depending on the values of these trailing characters.
10488 At the end re-add the trailing "&". (Bug#10598)
10489
10490 * simple.el (async-shell-command): Sync the interactive spec with
10491 `shell-command'. Doc fix.
10492 (shell-command): Doc fix.
10493
10494 2012-07-17 Juri Linkov <juri@jurta.org>
10495
10496 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10497
10498 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10499
10500 Final renames and doc fixes for movement commands (bug#11899).
10501 * progmodes/python.el (python-nav-beginning-of-statement):
10502 Rename from python-nav-statement-start.
10503 (python-nav-end-of-statement): Rename from
10504 python-nav-statement-end.
10505 (python-nav-beginning-of-block): Rename from
10506 python-nav-block-start.
10507 (python-nav-end-of-block): Rename from python-nav-block-end.
10508
10509 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10510
10511 * progmodes/python.el (python-shell-send-string-no-output):
10512 Allow accept-process-output to quit, keeping shell process ready for
10513 future interactions (Bug#11868).
10514
10515 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10518
10519 * emacs-lisp/elint.el (elint-find-args-in-code):
10520 Use help-function-arglist, so as to handle lexical byte-code.
10521
10522 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10523 change (bug#11826).
10524
10525 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10528 Avoid spuriously marking the buffer as modified because of c-is-sws.
10529
10530 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10531 as not-a-comment (bug#11946).
10532
10533 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10534 for uninterned vars.
10535
10536 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10537 Use read-event since we don't really want to read chars but bytes.
10538
10539 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10540 $$..$$ but also $..$ using regexps (bug#11953).
10541 Use tex-verbatim for \url and \path.
10542 (tex-font-lock-keywords): Define as defconst like the others.
10543 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10544
10545 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10546
10547 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10548 alias for insert-char.
10549
10550 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10551
10552 * progmodes/python.el: Simplified imenu implementation.
10553 (python-nav-jump-to-defun): Remove command.
10554 (python-mode-map): Use `imenu' instead.
10555 (python-nav-list-defun-positions-cache)
10556 (python-imenu-include-defun-type, python-imenu-make-tree)
10557 (python-imenu-subtree-root-label, python-imenu-index-alist):
10558 Remove vars.
10559 (python-nav-list-defun-positions, python-nav-read-defun)
10560 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10561 (python-imenu-make-tree, python-imenu-create-index):
10562 Remove functions.
10563 (python-mode): Update to interact with imenu by setting
10564 `imenu-extract-index-name-function' only.
10565
10566 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10567
10568 * progmodes/python.el: Enhancements to navigation commands.
10569 (python-nav-backward-sentence)
10570 (python-nav-forward-sentence): Remove.
10571 (python-nav-backward-statement, python-nav-forward-statement)
10572 (python-nav-statement-start, python-nav-statement-end)
10573 (python-nav-backward-block, python-nav-forward-block)
10574 (python-nav-block-start, python-nav-block-end)
10575 (python-nav-forward-sexp-function)
10576 (python-info-current-line-comment-p)
10577 (python-info-current-line-empty-p): New functions.
10578 (python-indent-context): Use `python-nav-statement-start'.
10579
10580 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10581
10582 * eshell/em-ls.el (eshell/ls): Use `apply'.
10583
10584 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10585 multi-hops, instead of Tramp internals.
10586
10587 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10588
10589 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10590 when F1 and F2 are located on different hosts.
10591
10592 2012-07-14 Chong Yidong <cyd@gnu.org>
10593
10594 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10595 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10596 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10597 (xterm-mouse--read-event-sequence-1000)
10598 (xterm-mouse--read-event-sequence-1006): New functions. For old
10599 mouse protocol, handle M-mouse-X events correctly.
10600 (xterm-mouse-event): New arg specifying mouse protocol.
10601 (turn-on-xterm-mouse-tracking-on-terminal)
10602 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10603 sequence to toggle extended coordinates on newer XTerms.
10604 This appears to be harmless on terminals which do not support this.
10605
10606 2012-07-14 Leo Liu <sdl.web@gmail.com>
10607
10608 Add fringe bitmap indicators for flymake. (Bug#11253)
10609 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10610 (flymake-make-overlay): New arg BITMAP.
10611 (flymake-error-bitmap, flymake-warning-bitmap)
10612 (flymake-fringe-indicator-position): New user variables.
10613
10614 * fringe.el: New bitmap exclamation-mark.
10615
10616 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10617
10618 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10619 also (Bug#7879).
10620
10621 2012-07-14 Chong Yidong <cyd@gnu.org>
10622
10623 * electric.el (electric-pair-post-self-insert-function): Fix pair
10624 insertion in empty-region case (Bug#11520).
10625
10626 2012-07-14 Chong Yidong <cyd@gnu.org>
10627
10628 * bindings.el: Consolidate ctl-x-r-map bindings.
10629 Bind copy-rectangle-as-kill to C-x r w.
10630
10631 * rect.el, register.el: Move bindings to bindings.el.
10632
10633 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10634
10635 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10636
10637 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10638
10639 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10640
10641 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10642
10643 * bindings.el (top): Use `mapc' instead of `mapcar'.
10644
10645 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10646
10647 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10648
10649 * progmodes/sql.el (sql-comint): Suppress the check for program on
10650 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10651 (Bug#11908)
10652
10653 2012-07-13 Chong Yidong <cyd@gnu.org>
10654
10655 * bindings.el: Assign a non-nil permanent-local property to
10656 per-buffer variables which lack a default value (Bug#11930).
10657
10658 * help-fns.el (describe-variable): In the "automatically becomes
10659 local" notice, take note of permanent-local variables.
10660
10661 2012-07-13 Chong Yidong <cyd@gnu.org>
10662
10663 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10664 to allow printing the message when called from Lisp.
10665
10666 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10667 Remove toggle-read-only.
10668
10669 * bs.el (bs-toggle-readonly):
10670 * buff-menu.el (Buffer-menu-toggle-read-only):
10671 Remove with-no-warnings around toggle-read-only.
10672
10673 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10674 Remove with-no-warnings around toggle-read-only.
10675 (ffap-read-only, ffap-read-only-other-window)
10676 (ffap-read-only-other-frame): Callers changed.
10677
10678 * help-mode.el: Don't require view package.
10679 (help-mode-finish): Set buffer-read-only instead of calling
10680 toggle-read-only.
10681
10682 * bindings.el (mode-line-toggle-read-only):
10683 * dired.el (dired-toggle-read-only):
10684 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10685 with non-nil second arg.
10686
10687 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10688 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10689 directly.
10690
10691 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10692
10693 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10694 not incf.
10695
10696 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 More CL cleanups and reduction of use of cl.el.
10699 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10700 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10701 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10702 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10703 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10704 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10705 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10706 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10707 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10708 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10709 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10710 * eshell/em-cmpl.el, eshell/em-banner.el:
10711 * calendar/parse-time.el: Use cl-lib.
10712 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10713 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10714 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10715 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10716 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10717 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10718 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10719 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10720 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10721 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10722 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10723 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10724 `lambda' rather than with `quote'.
10725 (eshell-do-opt): Adjust accordingly.
10726 (eshell-process-option): Simplify.
10727 * eshell/esh-var.el:
10728 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10729 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10730 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10731 to `pcase--dontcare'.
10732 * emacs-lisp/cl.el (labels): Mark obsolete.
10733 (cl--letf, letf): Move to cl-lib.
10734 (cl--letf*, letf*): Remove.
10735 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10736 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10737 (cl-progv): Rewrite.
10738 (cl--letf, cl-letf): Move from cl.el.
10739 (cl-letf*): New macro.
10740 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10741
10742 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10743
10744 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10745
10746 2012-07-11 Chong Yidong <cyd@gnu.org>
10747
10748 * vc/log-edit.el (log-edit-vc-backend): New variable.
10749 (log-edit): Doc fix.
10750
10751 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10752 argument of log-edit to set up all local variables.
10753 (vc-start-logentry): New optional arg specifying VC backend.
10754
10755 * vc/vc.el (vc-checkin): Use it.
10756 (vc-deduce-fileset): Handle Log Edit buffers.
10757 (vc-diff): Make first argument optional too.
10758
10759 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10760
10761 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10762
10763 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10764 command, just in case. The function is not needed anymore.
10765 (eshell-external-command): Do not call `eshell-remote-command'.
10766
10767 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10768
10769 Reduce use of (require 'cl).
10770 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10771 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10772 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10773 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10774 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10775 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10776 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10777 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10778 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10779 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10780 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10781 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10782 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10783 (byte-compile-unfold-bcf, byte-compile-check-variable):
10784 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10785 (byte-compile-nilconstp):
10786 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10787 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10788
10789 * emacs-lisp/gv.el (cond): Make it a valid place.
10790 (if): Simplify slightly.
10791
10792 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10793 (pcase--self-quoting-p): New function.
10794 (pcase--u1): Use it.
10795
10796 2012-07-10 Glenn Morris <rgm@gnu.org>
10797
10798 * emacs-lisp/authors.el (authors-fixed-entries):
10799 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10800
10801 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10802
10803 Rename configure.in to configure.ac (Bug#11603).
10804 * emacs-lisp/authors.el (authors-canonical-file-name):
10805 * progmodes/autoconf.el (autoconf-mode):
10806 Prefer configure.ac to configure.in.
10807
10808 2012-07-08 Chong Yidong <cyd@gnu.org>
10809
10810 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10811 Implement the mouse-1-click-follows-link handling properly.
10812
10813 * info.el (Info-link-keymap): Use follow-link mechanism for
10814 header-line links (Bug#374).
10815
10816 * simple.el (deactivate-mark): Do not set the primary selection
10817 if another program has acquired it (Bug#11772).
10818
10819 2012-07-07 Kevin Ryde <user42@zip.com.au>
10820
10821 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10822 (woman-decode-region): Replace escaped-escapes without destroying
10823 bold or underline (Bug#11552).
10824 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10825
10826 2012-07-07 Chong Yidong <cyd@gnu.org>
10827
10828 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10829 (interprogram-cut-function, interprogram-paste-function):
10830 Mention that we typically mean the clipboard.
10831
10832 2012-07-06 Glenn Morris <rgm@gnu.org>
10833
10834 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10835
10836 * files.el (toggle-read-only): Restrict message to interactive use.
10837
10838 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10839
10840 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10841
10842 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10843
10844 2012-07-06 Glenn Morris <rgm@gnu.org>
10845
10846 * Makefile.in (compile-one-process): Rename from "recompile".
10847
10848 * Makefile.in (bzr-update): "compile" is the same as "recompile
10849 autoloads", but parallelizable, so use that instead.
10850
10851 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10852
10853 * window.el (quit-window): Always restore window height when
10854 it's saved in quit-restore parameter (Bug#11810).
10855
10856 2012-07-06 Glenn Morris <rgm@gnu.org>
10857
10858 * simple.el (kill-whole-line): Doc tweak.
10859
10860 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10861
10862 * files.el (file-relative-name): Compare file names
10863 case-insensitively if on MS-Windows or MS-DOS, or if
10864 read-file-name-completion-ignore-case is non-nil. Don't use
10865 case-fold-search for this purpose. (Bug#11827)
10866
10867 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10868
10869 * calendar/cal-dst.el (calendar-current-time-zone):
10870 Return calendar-current-time-zone-cache if non-nil.
10871
10872 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10873 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10874
10875 * calendar/cal-dst.el (calendar-current-time-zone):
10876 Return calendar-current-time-zone-cache if non-nil.
10877
10878 2012-07-06 Glenn Morris <rgm@gnu.org>
10879
10880 * Makefile.in (cvs-update): Remove old alias.
10881
10882 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10883
10884 Sync with Tramp 2.2.6-pre.
10885
10886 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10887 compatible declaration.
10888
10889 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10890 Protect `list-load-path-shadows' call.
10891
10892 * net/tramp-compat.el (top): Require packages, which aren't
10893 autoloaded anymore for XEmacs. Protect call of
10894 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10895 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10896 it hurts at least for SXEmacs.
10897 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10898 standard-value for `temporary-file-directory'.
10899
10900 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10901 Redirect stderr to /dev/null.
10902 (tramp-sh-handle-write-region): uid and gid can be floats.
10903 Reported by Russell Sim <russell.sim@gmail.com>.
10904 (tramp-sh-handle-vc-registered): Hide errors.
10905 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10906 and `start-file-process'.
10907 (tramp-maybe-open-connection): Check also whether `non-essential'
10908 is bound.
10909
10910 2012-07-04 Chong Yidong <cyd@gnu.org>
10911
10912 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10913 (xml-parse-tag): Likewise, and avoid changing entity tables.
10914 (xml-syntax-table): Define from scratch, making sure not to give
10915 x2000 and other Unicode spaces whitespace syntax, since those are
10916 not spaces in XML.
10917 (xml-parse-fragment): Delete unused function.
10918 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10919 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10920 (xml-entity-ref, xml-pe-reference-re)
10921 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10922 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10923 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10924 (xml-entity-value-re): Use syntax references in regexps where
10925 possible; no need to define inside a let-binding.
10926 (xml-parse-dtd): Use xml-pe-reference-re.
10927 (xml-entity-or-char-ref-re): New defconst.
10928 (xml-parse-string, xml-substitute-special): Use it.
10929
10930 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10933 (find-file--read-only): New function.
10934 (find-file-read-only, find-file-read-only-other-window)
10935 (find-file-read-only-other-frame): Use it.
10936 (insert-file-contents-literally): Don't `fset'.
10937 (get-free-disk-space): Use locate-dominating-file.
10938
10939 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10940 function is already compiled.
10941
10942 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10943
10944 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10945
10946 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10947 files on the same host.
10948
10949 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10950
10951 * help-fns.el (describe-function-1): Only call
10952 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10953
10954 2012-07-03 Chong Yidong <cyd@gnu.org>
10955
10956 * xml.el: Protect parser against XML bombs.
10957 (xml-entity-expansion-limit): New variable.
10958 (xml-parse-string, xml-substitute-special): Use it.
10959 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10960
10961 2012-07-03 Glenn Morris <rgm@gnu.org>
10962
10963 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10964 Allow linking to specific messages in debbugs reports (eg 123#5).
10965
10966 2012-07-02 Chong Yidong <cyd@gnu.org>
10967
10968 * xml.el: Fix entity and character reference expansion, allowing
10969 them to expand into markup as per XML spec.
10970 (xml-default-ns): New variable.
10971 (xml-entity-alist): Use XML spec definitions for lt and amp.
10972 (xml-parse-region): Make first two arguments optional.
10973 Discard text properties.
10974 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10975 All callers changed.
10976 (xml-parse-tag): Call xml-parse-tag-1. For backward
10977 compatibility, this function should not modify buffer contents.
10978 (xml-parse-tag-1): Fix opening-tag regexp.
10979 (xml-parse-string): Rewrite, handling entity and character
10980 references properly.
10981 (xml--entity-replacement-text): Signal an error if a parameter
10982 entity is undefined.
10983
10984 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * comint.el (comint-output-filter): Filter out repeated prompts.
10987
10988 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10989 and file-name-absolute-p.
10990 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10991 internal calls.
10992
10993 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10994
10995 Spelling fixes.
10996 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10997 Rename from byte-compile--refiy-function. All uses changed.
10998
10999 2012-07-01 Chong Yidong <cyd@gnu.org>
11000
11001 * xml.el (xml--parse-buffer): New function. Move most of
11002 xml-parse-region here.
11003 (xml-parse-region): Copy region into a temporary buffer, since
11004 parameter entity substitution requires changing buffer contents.
11005 Use xml--parse-buffer.
11006 (xml-parse-file): Use xml--parse-buffer.
11007 (xml-parse-dtd): Make parameter entity substitution work right.
11008 Use proper regexps for ELEMENT declarations (Bug#7172).
11009
11010 2012-06-30 Glenn Morris <rgm@gnu.org>
11011
11012 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11013
11014 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11015 Remove outdated and unnecessary dbus declarations.
11016
11017 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11018
11019 * emacs-lisp/timer.el (timer-until): Subtract results of
11020 float-time, instead of taking float-time of the result of
11021 time-subtract, since float-time signals an error for negative time
11022 arguments.
11023
11024 2012-06-30 Chong Yidong <cyd@gnu.org>
11025
11026 * xml.el (xml-*-re): Convert defvars into defconsts, and
11027 eval-and-compile them so eval-and-compile works on derivatives.
11028 (xml--entity-replacement-text): Use eval-and-comple.
11029
11030 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11031
11032 * vc/vc-git.el (vc-git-registered): Use cache property
11033 `git-registered'.
11034 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11035 `vc-git-working-revision' in order to benefit from the cache.
11036 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11037
11038 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11039
11040 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11041 removed (likely outside Emacs). (Bug#11757)
11042
11043 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * emacs-lisp/cl-lib.el: Require macroexp.
11046
11047 2012-06-30 Chong Yidong <cyd@gnu.org>
11048
11049 * xml.el: Implement XML parameter entities.
11050 (xml-parameter-entity-alist): New variable.
11051 (xml-parse-region, xml-parse-fragment): Preserve previous values
11052 of xml-entity-alist and xml-parameter-entity-alist, so that
11053 repeated calls on different documents do not change them.
11054 (xml-parse-tag): Fix doctype regexp.
11055 (xml--entity-replacement-text): New function.
11056 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11057 properly requires url retrieval which is unimplemented.
11058 (xml-escape-string): Doc fix.
11059
11060 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11063
11064 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11065
11066 * fringe.el (fringe-mode): Doc fix.
11067
11068 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11069
11070 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11071 is non-nil.
11072 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11073 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11074
11075 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11076
11077 * calendar/cal-dst.el (calendar-current-time-zone):
11078 Return calendar-current-time-zone-cache if non-nil.
11079
11080 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11081
11082 * progmodes/which-func.el (which-func-format):
11083 Add mouse-face. (Bug#11698)
11084
11085 2012-06-29 Leo Liu <sdl.web@gmail.com>
11086
11087 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11088
11089 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * minibuffer.el (minibuffer-confirm-exit-commands):
11092 Add completion-at-point (bug#11725).
11093
11094 2012-06-29 Glenn Morris <rgm@gnu.org>
11095
11096 * progmodes/f90.el (f90-font-lock-keywords-2):
11097 Add some preprocessor elements. (Bug#10499)
11098
11099 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11100
11101 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11102 Use syntax-propertize (bug#11739).
11103
11104 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11105
11106 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11107
11108 2012-06-28 Julien Danjou <julien@danjou.info>
11109
11110 * term.el (term-handle-colors-array): Use a set of new faces to
11111 color the terminal. Also uses :inverse-video property.
11112 (term-default-fg-color): Set to nil by default, deprecate in favor
11113 of `term-face'.
11114 (term-default-bg-color): Set to nil by default, deprecate in favor
11115 of `term-face'.
11116 (term-current-face): Use `term-face' by default.
11117 (term-bold-attribute): Variable deleted.
11118
11119 2012-06-28 Glenn Morris <rgm@gnu.org>
11120
11121 * simple.el (completion-list-mode-finish):
11122 Don't use toggle-read-only. (Since completion-list-mode has
11123 a special mode-class, it wasn't doing anything extra anyway.)
11124
11125 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 Make inlining of other-mode interpreted functions work (bug#11799).
11128 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11129 (byte-compile): Use it to fix compilation of lexical-binding closures.
11130 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11131 function, if needed.
11132
11133 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11134
11135 * help-mode.el (help-make-xrefs): Don't just withstand
11136 cyclic-variable-indirection but any error in documentation-property.
11137
11138 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11139 memory use.
11140 * bindings.el (bindings--define-key): New function.
11141 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11142 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11143 * bindings.el: Use it to purecopy define-key bindings.
11144
11145 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11146
11147 * emacs-lisp/cl.el (flet): Mark obsolete.
11148 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11149 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11150 * progmodes/js.el (js-c-fill-paragraph):
11151 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11152 (ebrowse-switch-member-buffer-to-derived-class):
11153 * play/5x5.el (5x5-solver): Use cl-flet.
11154
11155 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11156 (cl--symbol-function): New macro.
11157 (cl--letf, cl--letf*): Use it.
11158
11159 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11160 Strip "toggle-" if any.
11161
11162 2012-06-27 Glenn Morris <rgm@gnu.org>
11163
11164 * info.el (Info-default-directory-list): Move here from paths.el.
11165 * paths.el: Remove file, which is now empty.
11166 * loadup.el: No longer load "paths".
11167
11168 * custom.el (custom-initialize-delay): Doc fix.
11169
11170 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11171 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11172 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11173 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11174 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11175 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11176 * eshell/eshell.el (eshell-defgroup): Remove alias.
11177
11178 2012-06-27 Chong Yidong <cyd@gnu.org>
11179
11180 * help.el (help-enable-auto-load): New variable.
11181
11182 * help-fns.el (help-fns--autoloaded-p): New function.
11183 (describe-function-1): Refer to a function as "autoloaded" if it
11184 was autoloaded at any time in the past. Perform autoloading if
11185 help-enable-auto-load is non-nil.
11186
11187 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11188
11189 * makefile.w32-in (compile, compile-always): Depend on
11190 update-subdirs, not on subdirs.el. Otherwise, several different
11191 sub-targets of 'bootstrap' running in parallel could
11192 simultaneously write to subdirs.el, producing a garbled file.
11193
11194 2012-06-26 Sam Steingold <sds@gnu.org>
11195
11196 * files.el (file-name-base): New convenience function.
11197 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11198 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11199 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11200 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11201 * textmodes/ispell.el, textmodes/reftex-ref.el:
11202 * textmodes/tex-mode.el: Use it.
11203 Did not touch cedet and org because they are maintained elsewhere.
11204
11205 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11206
11207 * calendar/calendar.el (calendar-exit): Don't try to delete or
11208 iconify last frame. See:
11209 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11210
11211 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11212
11213 * server.el (server-process-filter): Remember dir in the
11214 process's `server-client-directory' properties.
11215
11216 2012-06-24 Chong Yidong <cyd@gnu.org>
11217
11218 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11219 non-tag text.
11220
11221 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11222
11223 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11224
11225 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11226
11227 * help-fns.el (describe-variable): Don't croak when doc is not found.
11228 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11229 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11230 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11231 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11232 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11233 ((lambda ..) ..).
11234 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11235
11236 2012-06-23 Chong Yidong <cyd@gnu.org>
11237
11238 * info.el (Info-mouse-follow-link): Accept symbol values of
11239 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11240 (Info-fontify-node): Use Info-link-keymap for all navigation
11241 buttons, with link-args property to perform the desired action.
11242 (Info-link-keymap): Doc fix.
11243 (Info-next-link-keymap, Info-prev-link-keymap)
11244 (Info-up-link-keymap): Delete now-unused keymaps.
11245
11246 2012-06-23 Chong Yidong <cyd@gnu.org>
11247
11248 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11249
11250 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11251 system abbrevs.
11252
11253 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11254
11255 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11258 (bug#11719).
11259
11260 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11261 the requote function doesn't work properly (bug#11714).
11262
11263 2012-06-23 Glenn Morris <rgm@gnu.org>
11264
11265 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11266
11267 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 Further GV/CL cleanups.
11270 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11271 gv-expander.
11272 (gv--defun-declaration): New function.
11273 (defun-declarations-alist): Use it.
11274 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11275 (gv-place): Autoload.
11276 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11277 original definition of dotimes and dolist.
11278 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11279 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11280 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11281 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11282 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11283 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11284 to the function's definition.
11285 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11286 * window.el:
11287 * files.el:
11288 * faces.el:
11289 * env.el: Don't use CL.
11290
11291 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11292
11293 Support higher-resolution time stamps (Bug#9000).
11294
11295 * calendar/time-date.el (with-decoded-time-value): New arg
11296 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11297 (encode-time-value): New optional arg PICO. New type 3.
11298 (time-to-seconds) [!float-time]: Support the new picoseconds
11299 component if it's used.
11300 (seconds-to-time, time-subtract, time-add):
11301 Support ps-resolution time stamps as well.
11302
11303 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11304 (timerp): Timer vectors now have length 9, not 8.
11305 (timer--time): Support new-style (4-part) time stamps.
11306 (timer-next-integral-multiple-of-time): Time stamps now have
11307 picosecond resolution, so take a bit more care about rounding.
11308 (timer-relative-time, timer-inc-time): New optional arg psecs.
11309 (timer-set-time-with-usecs): Set psecs to 0.
11310 (timer--activate): Check psecs component, too.
11311
11312 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11313
11314 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11315
11316 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11317 Move the non-essential binding to the post/pre-command-hook where it is
11318 more obviously correct.
11319
11320 * subr.el (read-passwd): Don't use a history at all.
11321 * savehist.el (savehist-save): Remove password saved accidentally
11322 because of the above bug.
11323
11324 2012-06-22 Bastien Guerry <bzg@gnu.org>
11325
11326 * files.el (toggle-read-only): Display a message telling whether
11327 the buffer is read-only or not (bug#11726).
11328
11329 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * emacs-lisp/gv.el: New file.
11332 * subr.el (push, pop): Extend to generalized variables.
11333 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11334 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11335 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11336 gv-define-simple-setter, and gv-define-expander.
11337 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11338 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11339 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11340 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11341 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11342 gv-letplace.
11343 (cl-defstruct): Don't define setf-method any more.
11344 * emacs-lisp/cl.el (flet): Don't autoload.
11345 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11346 (define-setf-expander, defsetf, define-modify-macro)
11347 (cl-struct-setf-expander): Move from cl-lib.el.
11348 * emacs-lisp/syntax.el:
11349 * emacs-lisp/ewoc.el:
11350 * emacs-lisp/smie.el:
11351 * emacs-lisp/cconv.el:
11352 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11353 (timer--time): Use gv-define-simple-setter.
11354 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11355 to avoid coding-system problems in subr.el. Adjust all users.
11356 (macroexp--maxsize, macroexp-small-p): New functions.
11357 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11358 * scroll-bar.el (scroll-bar-mode):
11359 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11360 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11361 * winner.el (winner-configuration, winner-make-point-alist)
11362 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11363 * files.el (locate-file-completion-table): Avoid list*.
11364
11365 2012-06-22 Chong Yidong <cyd@gnu.org>
11366
11367 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11368 (dired-create-files): Doc fix (Bug#11329).
11369 (dired-do-copy): Doc fix (Bug#11334).
11370 (dired-mark-read-string): Doc fix (Bug#11553).
11371
11372 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11373 Doc fix (Bug#11326).
11374 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11375 (dired-dwim-target): Doc fix.
11376
11377 * wdired.el (wdired-mode): Doc fix.
11378
11379 2012-06-22 Glenn Morris <rgm@gnu.org>
11380
11381 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11382 (pcmpl-rpm-cache-stamp-file): New constant.
11383 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11384 (pcmpl-rpm-packages): Optionally cache list of packages.
11385
11386 * pcmpl-rpm.el (pcmpl-rpm): New group.
11387 (pcmpl-rpm-query-options): New option.
11388 (pcmpl-rpm-packages): No need to inline it.
11389 Use pcmpl-rpm-query-options.
11390
11391 * calendar/calendar.el (calendar-in-read-only-buffer):
11392 Avoid some needless mode changes.
11393
11394 2012-06-21 Chong Yidong <cyd@gnu.org>
11395
11396 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11397 (desktop-path): Remove . from the default value (Bug#10977).
11398 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11399
11400 2012-06-20 Chong Yidong <cyd@gnu.org>
11401
11402 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11403
11404 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11405
11406 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11407 (bug#11201).
11408
11409 2012-06-20 Chong Yidong <cyd@gnu.org>
11410
11411 * term.el (term-window-width): Handle the case of a missing right
11412 fringe (Bug#8837).
11413 (term-check-size): Use window-text-height (Bug#5445).
11414 (term-mode): Use define-derived-mode. Minor cleanups.
11415 Set font-lock-defaults (Bug#7692).
11416 (term-move-columns, term-insert-char, term-emulate-terminal)
11417 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11418
11419 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * net/ange-ftp.el (ange-ftp-get-passwd):
11422 Bind `enable-recursive-minibuffers'.
11423 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11424
11425 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11426
11427 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11428
11429 2012-06-19 Glenn Morris <rgm@gnu.org>
11430
11431 * progmodes/python.el (python-mode): Derive from prog-mode.
11432
11433 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11434
11435 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11436 (edt-user-menu-bar-update-buffers): New functions.
11437 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11438
11439 2012-06-19 Chong Yidong <cyd@gnu.org>
11440
11441 * subr.el (with-selected-window): Preserve the selected window's
11442 terminal's top-frame (Bug#4702).
11443
11444 * window.el (save-selected-window): Likewise.
11445
11446 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * progmodes/python.el (python-rx-constituents): Move backquote.
11449 (python-skeleton-define, python-define-auxiliary-skeleton):
11450 Use `declare'.
11451
11452 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11453
11454 * minibuffer.el (read-file-name-default): Revert the patch from
11455 2012-06-17.
11456
11457 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11460 (pcase--u1, pcase--q1): Don't use apply-partially.
11461
11462 2012-06-18 Glenn Morris <rgm@gnu.org>
11463
11464 * progmodes/python.el (python-proc, python-buffer)
11465 (python-send-receive, python-send-string): Fix obsolete versions.
11466
11467 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11468
11469 * window.el (special-display-p): Completely remove stringp
11470 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11471
11472 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11473
11474 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11475
11476 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11477
11478 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11479 * net/tramp-sh.el (tramp-maybe-open-connection):
11480 Throw if `non-essential' is non-nil.
11481
11482 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11483
11484 * window.el (special-display-p): Signal an error if BUFFER-NAME
11485 is not a string (Bug#11713).
11486
11487 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11488
11489 * progmodes/python.el (python-info-beginning-of-backslash):
11490 Rename from python-info-beginning-of-backlash, as a spelling fix.
11491
11492 2012-06-17 Chong Yidong <cyd@gnu.org>
11493
11494 * term.el (term-emulate-terminal): If term-check-size is called,
11495 move point to the process mark without resetting point (Bug#4635).
11496
11497 2012-06-17 Glenn Morris <rgm@gnu.org>
11498
11499 * international/mule-cmds.el (mule-menu-keymap)
11500 (set-language-environment, set-locale-environment): Doc tweaks.
11501
11502 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11503
11504 * cus-face.el (custom-face-attributes): Add wave-style underline
11505 attribute.
11506 * faces.el (set-face-attribute): Update docstring to describe
11507 wave-style underline attribute.
11508
11509 2012-06-16 Chong Yidong <cyd@gnu.org>
11510
11511 * term/xterm.el (terminal-init-xterm): Discard input before
11512 querying background mode (Bug#10959).
11513
11514 2012-06-16 Stefan Merten <smerten@oekonux.de>
11515
11516 * textmodes/rst.el: Added and corrected some comments.
11517 (rst-re-alist-def): Improve symbol syntax.
11518 (rst-mode-syntax-table): Correct syntax entries.
11519 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11520 (rst-official-version, rst-official-cvs-rev): Update version
11521 information.
11522
11523 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11524
11525 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11526 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11527
11528 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11529
11530 * progmodes/python.el: New python.el merge.
11531 (python-guess-indent): Obsolete var.
11532 (python-indent-guess-indent-offset): New defcustom.
11533 (python-indent): Obsolete var.
11534 (python-indent-offset): New defcustom.
11535 (python-python-command, python-jython-command): Delete var.
11536 (python-shell-interpreter): New defcustom.
11537 (python-pdbtrack-do-tracking-p): Delete var.
11538 (python-pdbtrack-activate): New defcustom.
11539 (python-use-skeletons): Obsolete var.
11540 (python-skeleton-autoinsert): New defcustom.
11541 (inferior-python-filter-regexp, python-continuation-offset)
11542 (python-honour-comment-indentation, python-indent-string-contents)
11543 (python-jython-packages, python-mode-hook)
11544 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11545 (python-shell-prompt-alist)
11546 (python-source-modes): Delete defcustoms.
11547 (python-check-buffer-name, python-eldoc-setup-code)
11548 (python-eldoc-string-code, python-ffap-setup-code)
11549 (python-ffap-string-code, python-fill-comment-function)
11550 (python-fill-decorator-function, python-fill-paren-function)
11551 (python-fill-string-function, python-imenu-include-defun-type)
11552 (python-imenu-make-tree, python-imenu-subtree-root-label)
11553 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11554 (python-shell-compilation-regexp-alist)
11555 (python-shell-completion-module-string-code)
11556 (python-shell-completion-pdb-string-code)
11557 (python-shell-completion-setup-code)
11558 (python-shell-completion-string-code)
11559 (python-shell-enable-font-lock, python-shell-exec-path)
11560 (python-shell-extra-pythonpaths)
11561 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11562 (python-shell-process-environment)
11563 (python-shell-prompt-block-regexp)
11564 (python-shell-prompt-output-regexp)
11565 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11566 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11567 (python-shell-virtualenv-path): New defcustoms.
11568 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11569 (inferior-python-mode-syntax-table, python--prompt-regexp)
11570 (python-buffer, python-command python-python-command)
11571 (python-default-template, python-imports, python-indent-index)
11572 (python-indent-list, python-indent-list-length)
11573 (python-mode-running, python-pdbtrack-is-tracking-p)
11574 (python-preoutput-continuation, python-preoutput-leftover)
11575 (python-preoutput-result, python-preoutput-skip-next-prompt)
11576 (python-prev-dir/file, python-recursing)
11577 (python-saved-check-command, python-version-checked)
11578 (python-which-func-length-limit)
11579 (view-return-to-alist): Delete vars.
11580 (python-check-custom-command, python-dotty-syntax-table)
11581 (python-imenu-index-alist, python-indent-current-level)
11582 (python-indent-dedenters, python-indent-levels)
11583 (python-nav-beginning-of-defun-regexp)
11584 (python-nav-list-defun-positions-cache)
11585 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11586 (python-shell-internal-buffer)
11587 (python-skeleton-available): New vars.
11588 (def-python-skeleton): Delete macro.
11589 (python-skeleton-define): New macro.
11590 (python-define-auxiliary-skeleton, python-rx): New macros.
11591 (python-insert-class): Delete command.
11592 (python-skeleton-class): New command.
11593 (python-insert-def): Delete command.
11594 (python-skeleton-def): New command.
11595 (python-insert-for): Delete command.
11596 (python-skeleton-for): New command.
11597 (python-insert-if): Delete command.
11598 (python-skeleton-if): New command.
11599 (python-insert-try/except, python-insert-try/finally): Delete commands.
11600 (python-skeleton-try): New command.
11601 (python-insert-while): Delete command.
11602 (python-skeleton-while): New command.
11603 (python-backspace): Delete command.
11604 (python-indent-dedent-line-backspace): New command.
11605 (python-electric-colon): Delete command.
11606 (python-indent-electric-colon): New command.
11607 (python-guess-indent): Delete command.
11608 (python-indent-guess-indent-offset): New command.
11609 (python-shift-left): Delete command.
11610 (python-indent-shift-left): New command.
11611 (python-shift-right): Delete command.
11612 (python-indent-shift-right): New command.
11613 (python-find-function): Delete command.
11614 (python-nav-jump-to-defun): New command.
11615 (python-next-statement): Delete command.
11616 (python-nav-forward-sentence): New command.
11617 (python-previous-statement): Delete command.
11618 (python-nav-backward-sentence): New command.
11619 (python-fill-paragraph): Delete command.
11620 (python-fill-paragraph-function): New command.
11621 (python-send-buffer): Delete command.
11622 (python-shell-send-buffer): New command.
11623 (python-send-defun): Delete command.
11624 (python-shell-send-defun): New command.
11625 (python-send-region, python-send-region-and-go): Delete commands.
11626 (python-shell-send-region)
11627 (python-shell-switch-to-shell): New commands.
11628 (python-send-string): Delete command.
11629 (python-shell-send-string): New command.
11630 (python-switch-to-python): Delete command.
11631 (python-shell-switch-to-shell): New command.
11632 (python-describe-symbol): Delete command.
11633 (python-eldoc-at-point): New command.
11634 (python--set-prompt-regexp, python-args-to-list)
11635 (python-after-info-look, python-check-version)
11636 (python-check-comint-prompt, python-find-imports)
11637 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11638 (python-unload-function, python-expand-template)
11639 (python-maybe-jython, python-preoutput-filter)
11640 (python-pdbtrack-get-source-buffer)
11641 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11642 (python-pdbtrack-toggle-stack-tracking)
11643 (python-pdbtrack-track-stack-file, python-initial-text)
11644 (python-first-word, python-comment-line-p, python-send-command)
11645 (python-setup-brm, python-sentinel, python-set-proc)
11646 (python-skip-out, python-input-filter, python-outdent-p)
11647 (python-outline-level, python-backslash-continuation-line-p)
11648 (python-end-of-block, python-end-of-statement, python-mark-block)
11649 (python-beginning-of-block, python-beginning-of-statement)
11650 (python-blank-line-p, python-beginning-of-string)
11651 (python-open-block-statement-p): Delete functions.
11652 (python-indent-line, python-indent-line-1): Delete functions.
11653 (python-indent-line): New function.
11654 (python-indentation-levels): Delete function.
11655 (python-indent-calculate-levels): New function.
11656 (python-proc): Delete function.
11657 (python-shell-get-process): New function.
11658 (python-send-receive): Delete function.
11659 (python-shell-send-string-no-output): New function.
11660 (python-module-path): Delete function.
11661 (python-ffap-module-path): New function.
11662 (python-completion-at-point)
11663 (python-symbol-completions): Delete functions.
11664 (python-completion-complete-at-point): New function.
11665 (python-load-file): Delete function.
11666 (python-shell-send-file): New function.
11667 (python-calculate-indentation): Delete function.
11668 (python-indent-calculate-indentation): New function.
11669 (python-skip-comments/blanks): Delete function.
11670 (python-util-forward-comment): New function.
11671 (python-continuation-line-p): Delete function.
11672 (python-info-continuation-line-p): New function.
11673 (python-which-func, python-current-defun): Delete function.
11674 (python-info-current-defun): New function.
11675 (python-beginning-of-defun): Delete function.
11676 (python-nav-beginning-of-defun): New function.
11677 (python-close-block-statement-p)
11678 (python-block-end-p): Delete function.
11679 (python-info-closing-block): New function.
11680 (python-comint-output-filter-function)
11681 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11682 (python-fill-comment, python-fill-decorator, python-fill-paren)
11683 (python-fill-string, python-imenu-make-element-tree)
11684 (python-imenu-make-tree, python-imenu-tree-assoc)
11685 (python-indent-context, python-indent-dedent-line)
11686 (python-indent-line-function)
11687 (python-indent-post-self-insert-function)
11688 (python-indent-toggle-levels)
11689 (python-info-assignment-continuation-line-p)
11690 (python-info-beginning-of-backlash)
11691 (python-info-block-continuation-line-p)
11692 (python-info-closing-block-message)
11693 (python-info-line-ends-backslash-p)
11694 (python-info-looking-at-beginning-of-defun)
11695 (python-info-ppss-context, python-info-ppss-context-type)
11696 (python-nav-list-defun-positions, python-nav-read-defun)
11697 (python-nav-sentence-end, python-nav-sentence-start)
11698 (python-pdbtrack-comint-output-filter-function)
11699 (python-pdbtrack-set-tracked-buffer)
11700 (python-shell-calculate-exec-path)
11701 (python-shell-calculate-process-environment)
11702 (python-shell-completion--do-completion-at-point)
11703 (python-shell-completion--get-completions)
11704 (python-shell-completion-complete-at-point)
11705 (python-shell-completion-complete-or-indent)
11706 (python-shell-get-or-create-process)
11707 (python-shell-get-process-name)
11708 (python-shell-internal-get-or-create-process)
11709 (python-shell-internal-get-process-name)
11710 (python-shell-internal-send-string, python-shell-make-comint)
11711 (python-shell-parse-command, python-shell-send-setup-code)
11712 (python-skeleton-add-menu-items)
11713 (python-util-clone-local-variables, python-util-position)
11714 (run-python-internal, python-indentation-levels)
11715 (python-nav-beginning-of-defun)
11716 (python-completion-complete-at-point): New functions.
11717 (run-python): Change arguments. New API requirements.
11718
11719 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11722 (bug#11649).
11723
11724 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11725 (macroexp--expand-all): Use it.
11726
11727 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11728 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11729 Use `cl-function' instead.
11730
11731 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11732
11733 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11734 Suggested by Stefan Monnier while discussing bug#11657.
11735
11736 2012-06-14 Sam Steingold <sds@gnu.org>
11737
11738 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11739
11740 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11741
11742 * play/doctor.el (doctor-doc): Remove parameter and use
11743 doctor-sent instead of sent.
11744 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11745
11746 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * files.el: Require cl-lib.
11749 (file-name-non-special): Replace case -> cl-case.
11750
11751 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11752
11753 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11754 mapping from #' to function*.
11755
11756 2012-06-13 Chong Yidong <cyd@gnu.org>
11757
11758 * mouse.el (mouse-drag-track): Do not set the mark if the user
11759 releases the mouse without selecting anything (Bug#11588).
11760
11761 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11762
11763 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11764 as well (bug#11646).
11765
11766 * loadup.el: Count byte-code functions as well.
11767
11768 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11769 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11770
11771 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11772 (bug#11649). Add cl-defun and cl-defmacro.
11773
11774 2012-06-13 Drew Adams <drew.adams@oracle.com>
11775
11776 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11777 Fix last change.
11778
11779 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11780
11781 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11782 Otherwise, it blocks in batch mode.
11783
11784 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * help-mode.el (bookmark-make-record-default): Declare.
11787
11788 2012-06-13 Chong Yidong <cyd@gnu.org>
11789
11790 * emacs-lisp/package.el (list-packages): Compute a list of
11791 packages that are newly-available since the last list-packages
11792 invocation.
11793 (package-menu--new-package-list): New var.
11794 (package-menu--generate, package-menu--print-info)
11795 (package-menu--status-predicate, package-menu-mark-install):
11796 Handle new status label "new".
11797
11798 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11799
11800 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11801 conversion to backquotes.
11802
11803 2012-06-12 Chong Yidong <cyd@gnu.org>
11804
11805 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11806 Rename from gud-inhibit-global-bindings.
11807
11808 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11809
11810 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11811 hook from nxml-glyph-set-hook.
11812
11813 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11814 declaration.
11815
11816 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11817
11818 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11819 Convert to defcustom.
11820
11821 2012-06-12 Drew Adams <drew.adams@oracle.com>
11822
11823 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11824 New functions.
11825 (help-mode): Use them.
11826
11827 2012-06-11 Glenn Morris <rgm@gnu.org>
11828
11829 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11830 Use preprocessor face for directives.
11831 (fortran-directive-re): Doc fix.
11832
11833 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11834
11835 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11836 conversion to backquotes (bug#11652).
11837
11838 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11839 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11840 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11841 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11842 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11843 (cl-ninth, cl-tenth): Mark them as inlinable.
11844 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11845 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11846 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11847 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11848 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11849 (cl-list*, cl-adjoin): Don't put an autoload manually.
11850 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11851 (cl--compiler-macro-list*): Add autoload cookie.
11852 (cl--compiler-macro-cXXr): New function.
11853
11854 * help-fns.el (help-fns--compiler-macro): New function extracted from
11855 describe-function-1; follow aliases and use `compiler-macro' property.
11856 (describe-function-1): Use it.
11857
11858 2012-06-11 Chong Yidong <cyd@gnu.org>
11859
11860 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11861 is uninstalled, if imagemagick is installed.
11862
11863 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * emacs-lisp/cl-lib.el: Use lexical-binding.
11866 (cl-map-extents, cl-maclisp-member): Remove.
11867 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11868 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11869 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11870 * emacs-lisp/cl-extra.el: Use lexical-binding.
11871 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11872 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11873 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11874 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11875 * emacs-lisp/cl-seq.el: Use lexical-binding.
11876 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11877 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11878 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11879 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11880 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11881 CL's internals.
11882
11883 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11884
11885 Sync with Tramp 2.2.6-pre.
11886
11887 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11888 `print-length' and `print-level' to nil, in order to avoid
11889 truncation. Reported by Christopher Schmidt
11890 <christopher@ristopher.com>.
11891
11892 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11893
11894 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11895 New defmacro.
11896 (tramp-compat-copy-directory): Add optional argument
11897 COPY-CONTENTS. It is not handled yet.
11898
11899 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11900 (tramp-ftp-file-name-p): Simplify.
11901
11902 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11903 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11904 connection vector.
11905
11906 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11907 (tramp-methods): Do not use `tramp-password-end-of-line'.
11908 (tramp-completion-function-alist-putty): Handle UNIX case.
11909 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11910 (tramp-do-file-attributes-with-stat)
11911 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11912 gid as real numbers. They could run out of integer range on cygwin.
11913 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11914 (tramp-sh-handle-expand-file-name): Handle hops.
11915 (tramp-open-connection-setup-interactive-shell):
11916 Use `tramp-cleanup'. Move check for busyboxes ...
11917 (tramp-find-shell): ... here. Simplify implementation.
11918 Set "remote-shell" property also for alternative shells.
11919 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11920 If failing, a regular file would be written otherwise.
11921 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11922 (tramp-find-inline-encoding): Cache the coding commands in the
11923 process cache. Apply test command on the remote side, if defined.
11924 (tramp-find-inline-compress): Cache the compress commands in the
11925 process cache.
11926 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11927 when requested. Handle hops.
11928 (tramp-current-connection): New defvar.
11929 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11930 Throw `suppress', if there was a failed connection shortly before.
11931 Handle user interrupt. (Bug#10187)
11932 (tramp-get-inline-compress, tramp-get-inline-coding):
11933 Read connection properties from the process cache.
11934
11935 * net/tramp-smb.el (tramp-smb-server-version)
11936 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11937 New defconsts.
11938 (tramp-smb-prompt): Extend for powershell prompt.
11939 (tramp-smb-file-name-handler-alist): Add handlers for
11940 `process-file', `shell-command' and `start-file-process'.
11941 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11942 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11943 (tramp-smb-file-name-p): Simplify.
11944 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11945 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11946 (tramp-smb-shell-quote-argument): New defuns.
11947 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11948 Implement using "tar". By this, time-stamps are preserved.
11949 (tramp-smb-handle-copy-file): Handle also the case of directories.
11950 (tramp-smb-do-file-attributes-with-stat)
11951 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11952 Use `tramp-get-connection-buffer').
11953 (tramp-smb-handle-rename-file): Use "rename", when source and
11954 target are on the same share.
11955 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11956 Use `tramp-smb-server-version'.
11957 (tramp-smb-wait-for-output): Remove prompt.
11958
11959 * net/tramp.el (top): Require 'cl.
11960 (tramp-methods, tramp-rsh-end-of-line):
11961 Remove `tramp-password-end-of-line' from docstring.
11962 (tramp-save-ad-hoc-proxies): New defcustom.
11963 (tramp-completion-function-alist): Adapt docstring.
11964 (tramp-default-password-end-of-line): Remove defcustom.
11965 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11966 (tramp-user-regexp, tramp-file-name-regexp-unified)
11967 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11968 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11969 (tramp-remote-file-name-spec-regexp): New defconst.
11970 (tramp-file-name-structure): Extend structure for hops.
11971 (tramp-get-method-parameter): Move up.
11972 (tramp-file-name-p, tramp-dissect-file-name)
11973 (with-parsed-tramp-file-name): Handle hops.
11974 (tramp-file-name-hop): New defun.
11975 (tramp-make-tramp-file-name): New optional arg HOP.
11976 (tramp-message-show-progress-reporter-message): New defvar.
11977 (tramp-with-progress-reporter): Use it. We cannot use
11978 `tramp-message-show-message' here, because this suppresses also
11979 error buffers.
11980 (tramp-error-with-buffer): Suppress buffer view, if
11981 `tramp-message-show-message' is nil.
11982 Use `tramp-get-connection-buffer'.
11983 (tramp-cleanup): New defun.
11984 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11985 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11986 an error unchanged.
11987 (tramp-completion-handle-file-name-all-completions): Handle hops.
11988 Fix an error when called from ido.
11989 (tramp-completion-dissect-file-name): Use better local variable
11990 name. Add hop to the vector.
11991 (tramp-handle-insert-file-contents): Use progress-reporter for the
11992 whole scenario.
11993 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11994 to `t'.
11995 (tramp-check-for-regexp): Simplify search.
11996 (tramp-enter-password): Remove it. Move implementation ...
11997 (tramp-action-password): ... here.
11998 (tramp-mode-string-to-int, tramp-local-host-p)
11999 (tramp-make-tramp-temp-file, tramp-read-passwd)
12000 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12001 Set tramp-autoload cookie.
12002
12003 * net/trampver.el: Update release number.
12004
12005 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12006 Michael Albinus <michael.albinus@gmx.de>
12007
12008 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12009 (tramp-parse-group, tramp-parse-file)
12010 (tramp-parse-shostkeys-sknownhosts): New defuns.
12011 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12012 (tramp-parse-shosts-group, tramp-parse-sconfig)
12013 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12014 (tramp-parse-sknownhosts, tramp-parse-hosts)
12015 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12016 Use them.
12017 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12018 (tramp-parse-putty-group): Don't narrow.
12019 (tramp-parse-putty): Make a loop.
12020 (tramp-file-name-handler): Catch the `suppress' signal.
12021
12022 2012-06-11 Chong Yidong <cyd@gnu.org>
12023
12024 * image.el (imagemagick-register-types): Put the ImageMagick entry
12025 at the end of image-type-file-name-regexps.
12026
12027 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12028
12029 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12030 (pcase, pcase-let*, pcase-dolist): Use them.
12031
12032 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12033
12034 * emacs-lisp/pcase.el (pcase--let*): New function.
12035 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12036 (pcase--expand): Use macroexp-let².
12037
12038 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12041 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12042 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12043 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12044 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12045 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12046
12047 2012-06-10 Glenn Morris <rgm@gnu.org>
12048
12049 * mail/rmail.el (rmail-yank-current-message): Leave point at
12050 correct position. (Bug#11660)
12051
12052 2012-06-10 Chong Yidong <cyd@gnu.org>
12053
12054 * allout-widgets.el: Fix code header.
12055
12056 2012-06-10 Chong Yidong <cyd@gnu.org>
12057
12058 * cus-edit.el (customize-changed-options-previous-release):
12059 Bump to 24.1.
12060
12061 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12062
12063 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12064
12065 2012-06-09 Chong Yidong <cyd@gnu.org>
12066
12067 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12068
12069 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12070
12071 * window.el (special-display-popup-frame): Don't use
12072 window--display-buffer (Bug#11651).
12073
12074 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12075
12076 Fix parallel builds: make sure loaddefs.el is not being written
12077 while Lisp files are compiled.
12078 (compile): Don't depend on 'mh-autoloads'.
12079 (compile-CMD, compile-SH): Depend on 'autoloads'.
12080 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12081
12082 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12083
12084 2012-06-09 Chong Yidong <cyd@gnu.org>
12085
12086 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12087 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12088 Doc fixes (Bug#11225).
12089
12090 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12091
12092 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12093 a function if there's a clear indication that it has a compiler-macro.
12094 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12095 (macro-declarations-alist): Add arglist to declaration functions.
12096 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12097 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12098 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12099 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12100 Also add autoload to find the compiler macro.
12101 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12102 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12103 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12104 (cl--compiler-macro-get): New functions, replacing calls to
12105 cl-define-compiler-macro.
12106 (cl-typep) [compiler-macro]: Use macroexp-let².
12107
12108 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12109
12110 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12111 string properly, fixes Bug#11473.
12112
12113 2012-06-08 Chong Yidong <cyd@gnu.org>
12114
12115 * faces.el (set-face-attribute): Doc fix.
12116 (modify-face): Don't use :bold and :italic.
12117 (error, warning, success): Tweak definitions.
12118
12119 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12120 (custom-modified, custom-set, custom-changed, custom-themed)
12121 (custom-saved, custom-button, custom-button-mouse)
12122 (custom-button-pressed, custom-state, custom-comment-tag)
12123 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12124 (custom-group-subtitle): Use new-style face specs.
12125 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12126 (custom-set-face, custom-changed-face, custom-saved-face)
12127 (custom-button-face, custom-button-pressed-face)
12128 (custom-documentation-face, custom-state-face)
12129 (custom-comment-face, custom-comment-tag-face)
12130 (custom-variable-tag-face, custom-variable-button-face)
12131 (custom-face-tag-face, custom-group-tag-face-1)
12132 (custom-group-tag-face): Remove obsolete face alias.
12133
12134 * epa.el (epa-validity-high, epa-validity-medium)
12135 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12136 (epa-field-name, epa-field-body):
12137 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12138 (font-lock-keyword-face, font-lock-builtin-face)
12139 (font-lock-function-name-face, font-lock-variable-name-face)
12140 (font-lock-type-face, font-lock-constant-face):
12141 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12142 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12143 * speedbar.el (speedbar-button-face, speedbar-file-face)
12144 (speedbar-directory-face, speedbar-tag-face)
12145 (speedbar-selected-face, speedbar-highlight-face)
12146 (speedbar-separator-face):
12147 * whitespace.el (whitespace-newline, whitespace-space)
12148 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12149 (whitespace-line, whitespace-space-before-tab)
12150 (whitespace-space-after-tab, whitespace-indentation)
12151 (whitespace-empty):
12152 * emulation/cua-base.el (cua-global-mark):
12153 * eshell/em-prompt.el (eshell-prompt):
12154 * net/newst-plainview.el (newsticker-new-item-face)
12155 (newsticker-old-item-face, newsticker-immortal-item-face)
12156 (newsticker-obsolete-item-face, newsticker-date-face)
12157 (newsticker-statistics-face, newsticker-default-face):
12158 * net/newst-reader.el (newsticker-feed-face)
12159 (newsticker-extra-face, newsticker-enclosure-face):
12160 * net/newst-treeview.el (newsticker-treeview-face)
12161 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12162 (newsticker-treeview-immortal-face)
12163 (newsticker-treeview-obsolete-face)
12164 (newsticker-treeview-selection-face):
12165 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12166 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12167 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12168 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12169 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12170 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12171 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12172 (mpuz-text):
12173 * progmodes/vera-mode.el (vera-font-lock-number)
12174 (vera-font-lock-function, vera-font-lock-interface):
12175 * textmodes/table.el (table-cell): Use new-style face specs, and
12176 don't use the old :bold and :italic attributes.
12177
12178 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12179 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12180 (ebrowse-member-class, ebrowse-progress): Likewise.
12181 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12182 (ebrowse-file-name-face, ebrowse-default-face)
12183 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12184 (ebrowse-progress-face): Remove obsolete faces.
12185
12186 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12187 Inherit from error and warning faces respectively.
12188
12189 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12190 Likewise.
12191 (flyspell-incorrect-face, flyspell-duplicate-face):
12192 Remove obsolete aliases.
12193
12194 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12195
12196 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12197 Avoid infloop.
12198
12199 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * startup.el (argv, argi): Make lexically scoped.
12202 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12203 * emacs-lisp/cl-macs.el: Use lexical-binding.
12204 Rename cl-bind-* to cl--bind-*.
12205 * files.el: Don't require `cl' since it doesn't use it.
12206 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12207
12208 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12209
12210 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12211 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12212 instead of calling external sort utility.
12213 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12214
12215 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12216
12217 * descr-text.el (describe-char): Mention how to insert the
12218 character, if the current input method doesn't support it.
12219 See the discussion in this thread for the details:
12220 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12221
12222 2012-06-08 Sam Steingold <sds@gnu.org>
12223
12224 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12225 XF86Back to previous-buffer.
12226 (minibuffer-local-map): Bind them to next-history-element and
12227 previous-history-element respectively.
12228 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12229 help-go-back respectively.
12230 * info.el (Info-mode-map): Bind them to Info-history-forward and
12231 Info-history-back respectively.
12232 These are the keys next to Up on the ThinkPad keyboard.
12233
12234 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12237 * emacs-lisp/cl-macs.el: Provide itself.
12238 (cl--labels-convert-cache): New var.
12239 (cl--labels-convert): New function.
12240 (cl-flet, cl-labels): New implementation with new semantics, relying on
12241 lexical-binding.
12242 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12243 (cl-closure-vars, cl--function-convert-cache)
12244 (cl--function-convert): Move from cl-macs.el.
12245 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12246 rename by removing the "cl-" prefix.
12247 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12248
12249 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12250
12251 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12252 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12253 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12254 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12255 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12256 (cl-hash-table-count): Add old compatibility aliases.
12257
12258 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12259 Use macroexpand-all-environment instead.
12260 (cl--old-macroexpand): New var.
12261 (cl--sm-macroexpand): New function.
12262 (cl-symbol-macrolet): Use it during macro expansion.
12263 (cl--function-convert-cache): New var.
12264 (cl--function-convert): New function, extracted from
12265 cl-macroexpand-all.
12266 (cl-lexical-let): Use it.
12267
12268 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12269 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12270 (cl-member): Remove old alias.
12271
12272 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12273 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12274 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12275 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12276 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12277 (cl-macroexpand-cmacs): Remove var.
12278 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12279 Use macroexpand-all instead.
12280
12281 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12284 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12285 (macroexp-copyable-p): New functions and macros.
12286 * emacs-lisp/edebug.el (edebug-unwrap):
12287 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12288 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12289 (pcase--let*): Remove.
12290 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12291 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12292 macroexp-const-p instead.
12293 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12294
12295 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12296 instead of "cl-" for internal definitions. Use macroexp-const-p.
12297 (cl-old-bc-file-form): Remove var.
12298 (cl-const-exprs-p): Remove fun.
12299 (cl-labels, cl-macrolet): Use backquote.
12300 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12301 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12302 (cl-define-setf-expander): Rename from cl-define-setf-method.
12303 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12304
12305 * international/mule-cmds.el: Don't require CL.
12306 (view-hello-file): Don't use `letf'.
12307
12308 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * tmm.el (tmm-prompt): Use string-prefix-p.
12311 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12312 (tmm-add-prompt): Use minibuffer-completion-help.
12313 (tmm-delete-map): Remove.
12314
12315 * subr.el (kbd): Make it its own function.
12316
12317 2012-06-07 Stefan Merten <smerten@oekonux.de>
12318
12319 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12320 Silence compiler warnings. Fix versions.
12321 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12322 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12323 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12324 (rst-package-emacs-version-alist): Correct Emacs version to
12325 represent major merge with upstream.
12326 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12327
12328 2012-06-06 Glenn Morris <rgm@gnu.org>
12329
12330 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12331 Only print environment variables if set.
12332
12333 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12336 (macroexp--cons): Rename from maybe-cons.
12337 (macroexp--accumulate): Rename from macroexp-accumulate.
12338 (macroexp--all-forms): Rename from macroexpand-all-forms.
12339 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12340 (macroexp--expand-all): Rename from macroexpand-all-1.
12341
12342 2012-06-06 Sam Steingold <sds@gnu.org>
12343
12344 * calendar/calendar.el (calendar-in-read-only-buffer):
12345 Call `special-mode' to enable the standard read-only keybindings.
12346
12347 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12350 with "loading" messages (bug#11635).
12351
12352 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12353
12354 * files.el (enable-remote-dir-locals): New option.
12355 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12356
12357 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12358 Ensure, that the temp directory is local.
12359
12360 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12361 `temporary-file-directory'.
12362
12363 * progmodes/python.el (python-send-region): Ensure, that the
12364 temporary file is created also in the remote case.
12365
12366 2012-06-06 Glenn Morris <rgm@gnu.org>
12367
12368 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12369 (vc-rcs-update-changelog): Use it.
12370
12371 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12372
12373 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12374 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12375 (vc-sccs-diff): Replace use of the external vcdiff script.
12376
12377 2012-06-05 Glenn Morris <rgm@gnu.org>
12378
12379 * ledit.el: Move to obsolete/.
12380
12381 2012-06-05 Sam Steingold <sds@gnu.org>
12382
12383 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12384 patch (Bug#11140).
12385
12386 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * emacs-lisp/cust-print.el: Move to obsolete.
12389
12390 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12391 compiler-macro expansion.
12392
12393 Add native compiler-macro support.
12394 * emacs-lisp/macroexp.el (macroexpand-all-1):
12395 Support compiler-macros directly. Properly follow aliases and apply
12396 the compiler macros more thoroughly.
12397 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12398 macroexpand now properly follows aliases.
12399 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12400 (cl-compiler-macroexpand): Use new prop.
12401 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12402
12403 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12404
12405 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12406
12407 * window.el (get-lru-window, get-mru-window, get-largest-window):
12408 New argument NOT-SELECTED to avoid picking the selected window.
12409 (window--display-buffer-1, window--display-buffer-2): Replace by
12410 new function window--display-buffer
12411 (display-buffer-same-window, display-buffer-reuse-window)
12412 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12413 Use window--display-buffer.
12414 (display-buffer-use-some-window): Remove temporary dedication
12415 hack by calling get-lru-window and get-largest-window with
12416 NOT-SELECTED argument non-nil. Call window--display-buffer.
12417
12418 2012-06-05 Glenn Morris <rgm@gnu.org>
12419
12420 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12421 Replace external vcdiff script.
12422
12423 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12426
12427 2012-06-04 Chong Yidong <cyd@gnu.org>
12428
12429 * image.el (imagemagick-types-inhibit): Revert last change.
12430 Add INFO and M.
12431 (imagemagick-enabled-types): Remove CIN and EPS*.
12432
12433 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * emacs-lisp/cl-lib.el: Rename from cl.el.
12436 * emacs-lisp/cl.el: New compatibility file.
12437 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12438 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12439 to obey the "cl-" prefix.
12440 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12441
12442 2012-06-03 Glenn Morris <rgm@gnu.org>
12443
12444 * emacs-lisp/authors.el (authors-aliases): Addition.
12445
12446 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12447 Fix :version.
12448
12449 2012-06-03 Stefan Merten <smerten@oekonux.de>
12450
12451 * textmodes/rst.el: Add comments.
12452 (rst-transition, rst-adornment): New faces.
12453 (rst-adornment-faces-alist): Make default safe to reevaluate.
12454 Fixes
12455 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12456 Improve customization tags.
12457 (rst-define-level-faces): Clarify meaning.
12458
12459 2012-06-03 Chong Yidong <cyd@gnu.org>
12460
12461 * progmodes/compile.el (compilation-mode-line-fail)
12462 (compilation-mode-line-run, compilation-mode-line-exit):
12463 New faces.
12464 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12465
12466 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12467
12468 * progmodes/which-func.el (which-func-update-ediff-windows):
12469 New function. Use it in ediff-select-hook (Bug#11478).
12470
12471 2012-06-03 Chong Yidong <cyd@gnu.org>
12472
12473 * bindings.el: Remove explicit help text from format-mode-line.
12474 It is now supplied by mode-line-default-help-echo.
12475 (mode-line-front-space, mode-line-end-spaces)
12476 (mode-line-misc-info): New variables.
12477 (mode-line-modes, mode-line-position): Move the default value to
12478 the variable definition.
12479 (mode-line-default-help-echo): New defcustom.
12480 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12481 (mode-line-modified-help-echo): New functions.
12482 (mode-line-mule-info, mode-line-modified): Use them.
12483 (mode-line-eol-desc, propertized-buffer-identification):
12484 Consistency fixes for help text.
12485 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12486 set-buffer-file-coding-system (Bug#289).
12487 (mode-line-mule-info-help-echo): Update help text.
12488
12489 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12490
12491 * simple.el (execute-extended-command): Set real-this-command
12492 (bug#11506).
12493
12494 2012-06-02 Chong Yidong <cyd@gnu.org>
12495
12496 Remove incorrect uses of "modeline" in comments, docstrings, and
12497 function/variable names (Bug#10329).
12498
12499 * cus-edit.el (mode-line):
12500 * dframe.el (dframe-mouse-hscroll):
12501 * emacs-lisp/re-builder.el:
12502 * emacs-lisp/easy-mmode.el (define-minor-mode):
12503 * frame.el (set-frame-name):
12504 * help.el (lookup-minor-mode-from-indicator):
12505 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12506 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12507 (c-toggle-hungry-state):
12508 * progmodes/antlr-mode.el (antlr-language-alist):
12509 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12510 * progmodes/vhdl-mode.el (vhdl-mode):
12511 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12512 * term/ns-win.el (ns-face-at-pos):
12513 * term/sup-mouse.el (sup-mouse-report):
12514 * textmodes/flyspell.el (flyspell-mode-line-string):
12515 * textmodes/ispell.el (ispell-highlight-face):
12516 * textmodes/reftex-global.el:
12517 * vc/vc-arch.el (vc-arch-mode-line-string):
12518 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12519 * vc/vc-git.el (vc-git-mode-line-string):
12520 * vc/vc-hooks.el (vc-display-status)
12521 (vc-default-mode-line-string):
12522 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12523
12524 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12525
12526 * dired.el (dired-sort-set-mode-line): Rename from
12527 dired-sort-set-modeline. All callers changed.
12528
12529 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12530 eshell-status-in-modeline.
12531
12532 * foldout.el (foldout-mode-line-string): Rename from
12533 foldout-modeline-string. All callers changed.
12534 (foldout-update-mode-line): Rename from foldout-update-modeline.
12535
12536 * subr.el (redraw-modeline): Make into obsolete alias.
12537
12538 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12539 timeclock-modeline-display. Make old name an alias.
12540 (timeclock-update-mode-line): Likewise. All callers changed.
12541 (timeclock-mode-line-display): No need to check before using
12542 add-hook.
12543 (timeclock-relative, timeclock-day-over-hook)
12544 (timeclock-use-elapsed, timeclock-mode-string)
12545 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12546
12547 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12548 crisp-mode-modeline-string.
12549
12550 * play/solitaire.el (solitaire-build-mode-line): Rename from
12551 solitaire-build-modeline. All callers changed.
12552
12553 * play/zone.el (zone-hiding-mode-line): Rename from
12554 zone-hiding-modeline. All callers changed.
12555 (zone): Remove unusued `modeline-hidden-level' property.
12556
12557 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12558 xscheme-modeline-initialize. All callers changed.
12559
12560 * strokes.el (strokes-lighter): Rename from
12561 strokes-modeline-string.
12562
12563 * textmodes/sgml-mode.el (html-face-tag-alist)
12564 (html-tag-face-alist): Use mode-line face instead of obsolete
12565 alias modeline.
12566
12567 2012-06-02 Stefan Merten <smerten@oekonux.de>
12568
12569 * textmodes/rst.el: Always require `cl'.
12570 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12571
12572 2012-06-02 Chong Yidong <cyd@gnu.org>
12573
12574 * image.el (imagemagick-enabled-types): Rename from
12575 imagemagick-types-enable. Add many more types.
12576 (imagemagick-types-inhibit): Change default to nil.
12577 (imagemagick-filter-types): Caller changed.
12578
12579 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12580
12581 * emacs-lisp/cl-macs.el: Use backquotes.
12582 (cl-transform-function-property): Use eval-and-compile rather than
12583 abusing `require'.
12584 (defstruct): Use declare-function instead of with-no-warnings.
12585
12586 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12587 (byte-compile-output-docform): Re-add the print-circle bindings.
12588 (byte-compile-fix-header): Use #$ just because it's shorter.
12589 (byte-compile-output-file-form): Remove defun/defmacro.
12590
12591 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12592
12593 * simple.el (choose-completion): Remove now obsolete binding for
12594 owindow.
12595
12596 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12597
12598 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12599 in order to avoid "Stack overflow in regexp matcher".
12600
12601 2012-05-31 Glenn Morris <rgm@gnu.org>
12602
12603 * image.el: For clarity, call imagemagick-register-types at
12604 top-level, rather than relying on a custom :initialize.
12605 (imagemagick-types-enable): New option. (Bug#11557)
12606 (imagemagick-filter-types): New function. (Bug#7406)
12607 (imagemagick-register-types): Use imagemagick-filter-types.
12608 If disabling support, remove elements altogether rather
12609 than using an impossible regexp.
12610 (imagemagick-types-inhibit): Give it the default init function.
12611
12612 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12615 Handle arbitrary file name lengths (Bug#11585).
12616
12617 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12618
12619 * desktop.el (desktop-read): Clear previous and next buffers for
12620 all windows and bury *Messages* buffer (bug#11556).
12621
12622 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12623
12624 Add `declare' for `defun'. Align `defmacro's with it.
12625 * emacs-lisp/easy-mmode.el (define-minor-mode)
12626 (define-globalized-minor-mode): Don't autoload the var definitions.
12627 * emacs-lisp/byte-run.el: Use lexical-binding.
12628 (defun-declarations-alist, macro-declarations-alist): New vars.
12629 (defmacro, defun): Use them.
12630 (make-obsolete, define-obsolete-function-alias)
12631 (make-obsolete-variable, define-obsolete-variable-alias):
12632 Use `declare'.
12633 (macro-declaration-function): Mark obsolete.
12634 * emacs-lisp/autoload.el: Use lexical-binding.
12635 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12636
12637 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12638
12639 * textmodes/ispell.el (ispell-with-no-warnings):
12640 Define as a macro.
12641 (ispell-kill-ispell, ispell-change-dictionary):
12642 Use `called-interactively-p' for Emacs instead of obsolete
12643 `interactive-p'.
12644
12645 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12648 (macro-declaration-function): Move var from C code.
12649 (macro-declaration-function): Define function with defalias.
12650 * emacs-lisp/macroexp.el (macroexpand-all-1):
12651 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12652 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12653 defun/defmacro any more.
12654 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12655 Provide fallback for unknown arglist.
12656 (byte-compile-arglist-warn): Change calling convention.
12657 (byte-compile-output-file-form): Move print-vars binding.
12658 (byte-compile-output-docform): Simplify accordingly.
12659 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12660 (byte-compile-defmacro-declaration): Remove.
12661 (byte-compile-file-form-defmumble): Generalize to defalias.
12662 (byte-compile-output-as-comment): Return byte-positions.
12663 Simplify callers accordingly.
12664 (byte-compile-lambda): Use `assert'.
12665 (byte-compile-defun, byte-compile-defmacro): Remove.
12666 (byte-compile-file-form-defalias):
12667 Use byte-compile-file-form-defmumble.
12668 (byte-compile-defalias-warn): Remove.
12669
12670 2012-05-29 Stefan Merten <smerten@oekonux.de>
12671
12672 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12673 possible. Fix authors. Improve comments. Improve loading of `cl'.
12674
12675 (rst-mode-abbrev-table): Merge definition.
12676 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12677 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12678
12679 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12680
12681 * calendar/icalendar.el
12682 (icalendar-export-region): Export UID properly.
12683
12684 2012-05-29 Leo Liu <sdl.web@gmail.com>
12685 * calendar/icalendar.el (icalendar-import-format):
12686 Add `icalendar-import-format-uid' (Bug#11525).
12687 (icalendar-import-format-uid): New.
12688 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12689 Export UID.
12690
12691 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12692
12693 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12694 different alternative patterns.
12695 (pcase-codegen): Be more careful to preserve identity.
12696 (pcase--u1): Don't forget to mark vars as used.
12697
12698 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12699 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12700 (byte-compile-from-buffer): ...rather than here.
12701
12702 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12703 functions from byte-compile-function-environment.
12704
12705 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12706
12707 * window.el (window-deletable-p): Avoid deleting the root window
12708 of a frame with an active minibuffer.
12709
12710 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12711
12712 * simple.el (choose-completion): Use quit-window (Bug#11567).
12713
12714 2012-05-29 Chong Yidong <cyd@gnu.org>
12715
12716 * whitespace.el (whitespace-cleanup): Fix usage of
12717 whitespace-empty-at-bob-regexp (Bug#11492).
12718
12719 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12720
12721 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12722 revert (Bug#11488).
12723
12724 2012-05-29 Juri Linkov <juri@jurta.org>
12725
12726 * isearch.el (isearch-mode-map): Bind `M-s _' to
12727 `isearch-toggle-symbol'. Bind `M-s c' to
12728 `isearch-toggle-case-fold'.
12729 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12730 (isearch-forward): Add `M-s _' to the docstring.
12731 (isearch-forward-symbol, isearch-toggle-case-fold)
12732 (isearch-symbol-regexp): New functions. (Bug#11381)
12733
12734 2012-05-29 Juri Linkov <juri@jurta.org>
12735
12736 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12737 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12738 a function, call it to get the regexp.
12739 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12740 property `isearch-message-prefix' instead of the string "word ".
12741 (isearch-search-fun-default): For the case of `isearch-word',
12742 return a lambda that calls re-search-forward/re-search-backward
12743 with a regexp returned by `word-search-regexp' or by the function
12744 in `isearch-word'.
12745
12746 2012-05-29 Juri Linkov <juri@jurta.org>
12747
12748 * isearch.el (isearch-search-fun-default): New function.
12749 (isearch-search-fun): Move default part to the new function
12750 `isearch-search-fun-default'.
12751 (isearch-search-fun-function): Set the default value to
12752 `isearch-search-fun-default'. (Bug#11381)
12753
12754 * comint.el (comint-history-isearch-end):
12755 Use `isearch-search-fun-default'.
12756 (comint-history-isearch-search): Use `isearch-search-fun-default'
12757 and remove spacial case for `isearch-word'.
12758 (comint-history-isearch-wrap): Remove spacial case for
12759 `isearch-word'.
12760
12761 * hexl.el (hexl-isearch-search-function):
12762 Use `isearch-search-fun-default'.
12763
12764 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12765 Use `word-search-regexp' for `isearch-word'.
12766
12767 * misearch.el (multi-isearch-search-fun):
12768 Use `isearch-search-fun-default'.
12769
12770 * simple.el (minibuffer-history-isearch-search):
12771 Use `isearch-search-fun-default' and remove spacial case for
12772 `isearch-word'.
12773 (minibuffer-history-isearch-wrap): Remove spacial case for
12774 `isearch-word'.
12775
12776 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12777 Remove spacial case for `isearch-word'.
12778 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12779
12780 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12781
12782 Decrease XEmacs incompatibilities.
12783 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12784 Use `string-match'.
12785 (flyspell-delete-region-overlays): Use alternative definition for
12786 XEmacs.
12787 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12788 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12789 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12790 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12791 `define-obsolete-face-alias' under XEmacs, but old method.
12792
12793 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12794 `with-no-warnings' definition or Emacs alias.
12795 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12796 (ispell-word): Do not use `region-p' if XEmacs.
12797
12798 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12799
12800 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12801 Check for `ispell-dictionary-base-alist' instead of full
12802 `ispell-dictionary-alist'.
12803 (ispell-init-process): Show spellchecker when starting new Ispell
12804 process.
12805
12806 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12809 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12810
12811 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12812
12813 * version.el (motif-version-string, gtk-version-string)
12814 (ns-version-string): Declare.
12815
12816 2012-05-27 Juri Linkov <juri@jurta.org>
12817
12818 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12819 after the `eval-defun-1' specialcaseing
12820 like in `edebug-eval-defun' (bug#10181).
12821
12822 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12823 like in `eval-defun-1'.
12824
12825 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12826
12827 * mail/sendmail.el (mail-yank-region):
12828 Recognize rmail-yank-current-message in addition to insert-buffer.
12829 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12830 a *mail* buffer created through rmail-start-mail with sendmail as
12831 mail-user-agent.
12832
12833 2012-05-27 Chong Yidong <cyd@gnu.org>
12834
12835 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12836 Default to 256 (Bug#11267).
12837
12838 * help.el (describe-mode): Doc fix.
12839
12840 2012-05-26 Glenn Morris <rgm@gnu.org>
12841
12842 * w32-fns.el (w32-init-info): Remove.
12843 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12844
12845 * info.el (info-initialize): For self-contained NS builds, put the
12846 included info/ directory at the front. (Bug#2791)
12847
12848 * paths.el (Info-default-directory-list): Make it a defcustom,
12849 mainly so that we can use custom-initialize-delay.
12850
12851 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * subr.el (buffer-has-markers-at): Mark obsolete.
12854
12855 * subr.el (lambda): Use declare.
12856
12857 * emacs-lisp/lisp-mode.el (lambda):
12858 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12859
12860 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12861
12862 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12863
12864 2012-05-26 Glenn Morris <rgm@gnu.org>
12865
12866 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12867
12868 2012-05-25 Glenn Morris <rgm@gnu.org>
12869
12870 * paths.el: Remove no-byte-compile.
12871 * loadup.el: No need to load paths.el uncompiled.
12872
12873 * image.el (imagemagick-types-inhibit): Doc fix.
12874
12875 * version.el: Remove no-byte-compile and associated formatting.
12876 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12877 is ancient code from when there was an "inc-vers.el".
12878
12879 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12880
12881 * progmodes/gdb-mi.el: Minor style changes.
12882 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12883 Turn into minor modes.
12884 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12885 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12886 (gdb-shell): Remove unneeded let-binding.
12887 (gdb-get-many-fields): Eliminate O(n²) behavior.
12888
12889 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12890
12891 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12892 platforms that don't link in fontset.c.
12893
12894 2012-05-25 Juri Linkov <juri@jurta.org>
12895
12896 Use the same diff color scheme as in modern VCSes (bug#10181).
12897
12898 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12899 to avoid confusion with `diff-added' that now uses green colors.
12900 (diff-removed): Use shades of red.
12901 (diff-added): Use shades of green.
12902 (diff-changed): Leave just the yellow color.
12903 (diff-use-changed-face): New variable.
12904 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12905 how to highlight context diff changes.
12906 (diff-refine-change): Use shades of yellow.
12907 (diff-refine-removed): New face that uses shades of red.
12908 (diff-refine-added): New face that uses shades of green.
12909 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12910 `diff-refine-removed' in the call to `smerge-refine-subst'
12911 depending on the value of `diff-use-changed-face'.
12912
12913 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12914 (smerge-other): Use shades of green.
12915 (smerge-base): Use shades of yellow.
12916 (smerge-refined-change): Empty face.
12917 (smerge-refined-removed): New face that uses shades of red.
12918 (smerge-refined-added): New face that uses shades of green.
12919 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12920 args `props-r' and `props-a', and use them. Doc fix.
12921 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12922 on its value use different faces `smerge-refined-change',
12923 `smerge-refined-removed', `smerge-refined-added' in the call to
12924 `smerge-refine-subst'.
12925
12926 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12927 Add face condition `min-colors 88' with shades of red.
12928 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12929 `min-colors 88' with shades of green.
12930 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12931 `min-colors 88' with shades of yellow.
12932
12933 2012-05-24 Glenn Morris <rgm@gnu.org>
12934
12935 * paths.el (prune-directory-list, remote-shell-program): Move to...
12936 * files.el (prune-directory-list, remote-shell-program): ...here.
12937 For the latter, delay initialization, prefer ssh, just search PATH.
12938
12939 * paths.el (term-file-prefix): Move to faces.el (the only user).
12940 * faces.el (term-file-prefix): Move here, make it a defcustom.
12941
12942 * paths.el (news-directory, news-path, news-inews-program):
12943 Move to gnus/nnspool.el.
12944
12945 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12946
12947 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12948 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12949 Make the latter a defcustom, with a delayed initialization.
12950
12951 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12952 These were deleted from Gnus itself late 2010.
12953
12954 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12955
12956 * progmodes/which-func.el (which-func-ff-hook):
12957 Check against user-error, not error.
12958
12959 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12960 cl-specs.el, which no longer exists.
12961
12962 2012-05-22 Glenn Morris <rgm@gnu.org>
12963
12964 * info.el (info-emacs-bug): New command.
12965 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12966 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12967
12968 2012-05-21 Glenn Morris <rgm@gnu.org>
12969
12970 * makefile.w32-in (update-subdirs-SH):
12971 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12972
12973 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12976
12977 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12978 Simplify Maven regexp, and make sure the file can't start with a space
12979 (bug#11517).
12980
12981 2012-05-21 Glenn Morris <rgm@gnu.org>
12982
12983 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12984 Scrap superfluous subshells.
12985
12986 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12989 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12990
12991 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12992
12993 * calc/calc.el (calc-ensure-consistent-units): New variable.
12994
12995 * calc/calc-units.el (math-consistent-units-p)
12996 (math-check-unit-consistency): New functions.
12997 (calc-quick-units, calc-convert-units):
12998 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12999 is non-nil.
13000 (calc-extract-units): Fix typo.
13001
13002 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13005
13006 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13007 (flyspell-default-deplacement-commands): Don't spell check after
13008 repeated window/frame switches (e.g. triggered by mouse-movement).
13009 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13010 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13011 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13012 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13013 Remove unused vars.
13014 (flyspell-get-casechars, flyspell-get-not-casechars):
13015 Simplify; Don't bother removing a ] just to add it back.
13016 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13017
13018 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13019
13020 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13021 New functions.
13022 (math-function-table): Add support for more C functions.
13023
13024 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13025
13026 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13027 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13028 Protect delay handling for otherchars against empty otherchars.
13029
13030 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13033 their respective macro declarations.
13034 * skeleton.el (define-skeleton):
13035 * progmodes/compile.el (define-compilation-mode):
13036 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13037 (define-ibuffer-filter):
13038 * emacs-lisp/generic.el (define-generic-mode):
13039 * emacs-lisp/easy-mmode.el (define-minor-mode)
13040 (define-globalized-minor-mode):
13041 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13042 * emacs-lisp/byte-run.el (defsubst):
13043 * custom.el (deftheme): Add doc-string metadata.
13044
13045 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13048
13049 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13050
13051 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13052
13053 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13054 * emacs-lisp/cl-macs.el: Idem.
13055 * emacs-lisp/cl-specs.el: Remove.
13056
13057 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13058
13059 Minor renaming of internal CL functions and variables.
13060 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13061 (cl--position): Rename from cl-position.
13062 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13063 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13064 (cl--random-state): Rename from *random-state*.
13065
13066 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13069 parens around the arg list (bug#11499).
13070
13071 2012-05-17 Juri Linkov <juri@jurta.org>
13072
13073 * isearch.el (word-search-regexp, word-search-backward)
13074 (word-search-forward, word-search-backward-lax)
13075 (word-search-forward-lax): Move functions from search.c
13076 (bug#10145, bug#11381).
13077
13078 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13079
13080 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13081 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13082 Delay for otherchars as for normal word components.
13083
13084 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * minibuffer.el (completion--sifn-requote): Fix last change.
13087 (minibuffer-local-must-match-filename-map):
13088 Move define-obsolete-variable-alias before its var.
13089
13090 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13093
13094 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13095 behavior.
13096 (completion--string-equal-p): New function.
13097 (completion--twq-all): Use it to get better assertion failure data.
13098
13099 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13100 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13101 (shell--requote-argument): New functions.
13102 (shell-completion-vars): Use them.
13103 (shell--parse-pcomplete-arguments): Rename from
13104 shell-parse-pcomplete-arguments.
13105 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13106 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13107 Obey comint-file-name-quote-list.
13108
13109 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13110 (smie-indent-keyword): Use it.
13111
13112 2012-05-14 Stefan Merten <smerten@oekonux.de>
13113
13114 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13115
13116 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13117
13118 * net/rlogin.el (rlogin-mode-map): Fix last change.
13119
13120 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13121
13122 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13123 the following \r\n using a single `process-send-string', since the
13124 Lotus SMTP server refuses to accept any commands if they are sent
13125 with two `process-send-string's (Bug#11444).
13126
13127 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * shell.el (shell-parse-pcomplete-arguments):
13130 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13131
13132 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13133
13134 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13135 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13136 (image-transform-width, image-transform-fit-width): New functions.
13137 (image-transform-properties): Use them.
13138 (image-transform-check-size): New function.
13139 (image-toggle-display-image): Use it (for testing).
13140 (image-transform-set-rotation): Reduce angle mod 360.
13141 Delete obsolete comment.
13142
13143 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13144
13145 * image-mode.el: Fix scaling (bug#11399).
13146 (image-transform-resize): Doc fix.
13147 (image-transform-properties): Default scale is 1 and height should
13148 be an integer.
13149
13150 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13151
13152 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13153 than hard-coding `car', to fix misbehavior when moving forward.
13154
13155 2012-05-13 Chong Yidong <cyd@gnu.org>
13156
13157 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13158 (tabulated-list-entries, tabulated-list-padding)
13159 (tabulated-list-sort-key): Make permanent-local.
13160
13161 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13162 (electric-buffer-list): Put electric buffer menu
13163 command descriptions in this docstring, instead of the docstring
13164 of electric-buffer-menu-mode. Code cleanups.
13165 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13166 Electric-buffer-menu-mode.
13167 (electric-buffer-update-highlight): Minor code cleanup.
13168
13169 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13170
13171 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13172 (Bug#11447)
13173
13174 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13175
13176 Move define-obsolete-variable-alias before the var's definition.
13177 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13178 * tooltip.el (tooltip-hook):
13179 * textmodes/reftex-toc.el (reftex-toc-map):
13180 * textmodes/reftex-sel.el (reftex-select-label-map)
13181 (reftex-select-bib-map):
13182 * textmodes/reftex-index.el (reftex-index-map)
13183 (reftex-index-phrases-map):
13184 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13185 * progmodes/meta-mode.el (meta-mode-map):
13186 * novice.el (disabled-command-hook):
13187 * loadhist.el (unload-hook-features-list):
13188 * frame.el (blink-cursor):
13189 * files.el (find-file-not-found-hooks, write-file-hooks)
13190 (write-contents-hooks):
13191 * emulation/tpu-edt.el (GOLD-map):
13192 * emacs-lock.el (emacs-lock-from-exiting):
13193 * emacs-lisp/generic.el (generic-font-lock-defaults):
13194 * emacs-lisp/chart.el (chart-map):
13195 * dos-fns.el (register-name-alist):
13196 * dired-x.el (dired-omit-files-p):
13197 * desktop.el (desktop-enable):
13198 * cus-edit.el (custom-mode-hook):
13199 * buff-menu.el (buffer-menu-mode-hook):
13200 * bookmark.el (bookmark-read-annotation-text-func)
13201 (bookmark-exit-hooks):
13202 * allout.el (allout-mode-deactivate-hook)
13203 (allout-exposure-change-hook, allout-structure-added-hook)
13204 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13205 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13206 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13207 comes before the corresponding variable's definition.
13208
13209 2012-05-12 Chong Yidong <cyd@gnu.org>
13210
13211 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13212 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13213 (Buffer-menu-mode-map): Bind it.
13214 (Buffer-menu--pretty-name): Add a mouse-face property.
13215
13216 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13219 (prolog-upper-case-string, prolog-lower-case-string)
13220 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13221 (prolog-use-smie, prolog-smie-grammar): New vars.
13222 (prolog-smie-forward-token, prolog-smie-backward-token)
13223 (prolog-smie-rules): New funs.
13224 (prolog-comment-indent): Remove.
13225 (prolog-mode-variables): Use default comment indentation instead.
13226 Setup SMIE.
13227 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13228 (prolog-mode): Don't call them any more.
13229 (prolog-electric-colon, prolog-electric-dash)
13230 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13231
13232 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13233
13234 * minibuffer.el (completion--twq-all): Again, allow case differences.
13235
13236 * term.el: Move keymap initialization code to be more idiomatic.
13237 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13238 (term-terminal-menu): Move initialization into declaration.
13239 (term-escape-char): Let the user set it in her .emacs.
13240
13241 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13242 Provide SMIE-based indentation (not enabled by default yet).
13243 (sh-mode-map): Don't bind electric keys.
13244 Use electric-pair-mode instead of skeleton-pair.
13245 (sh-assignment-regexp): Fit within 80 columns.
13246 (sh-indent-supported): Specify actual shell name instead of boolean.
13247 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13248 (sh-maybe-here-document): Use it. Make obsolete.
13249 (sh-electric-here-document-mode) New minor mode.
13250 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13251 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13252 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13253 (sh-smie-rc-grammar, sh-use-smie): New vars.
13254 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13255 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13256 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13257 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13258 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13259 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13260 (sh-set-shell): Use smie-setup if requested.
13261
13262 * term.el (term-set-escape-char): Properly set term-escape-char.
13263 See http://stackoverflow.com/questions/10524656.
13264
13265 2012-05-10 Chong Yidong <cyd@gnu.org>
13266
13267 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13268 Use url-generic-parse-url, and handle host names and Windows
13269 filenames properly.
13270 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13271 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13272 URL schemes to work on.
13273 (ffap--toggle-read-only): New function.
13274 (ffap-read-only, ffap-read-only-other-window)
13275 (ffap-read-only-other-frame): Use it.
13276 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13277 necessary for ffap-url-unwrap-remote.
13278
13279 2012-05-10 Dave Abrahams <dave@boostpro.com>
13280
13281 * cus-start.el (create-lockfiles): Add it.
13282
13283 2012-05-09 Chong Yidong <cyd@gnu.org>
13284
13285 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13286 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13287
13288 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13291
13292 2012-05-09 Chong Yidong <cyd@gnu.org>
13293
13294 * ansi-color.el (ansi-color-process-output): Check for validity of
13295 comint-last-output-start before using it. This avoids a bad
13296 interaction with gdb-mi's input/output buffer.
13297
13298 2012-05-09 Glenn Morris <rgm@gnu.org>
13299
13300 * files.el (dir-locals-read-from-file):
13301 Mention dir-locals in any error message.
13302
13303 2012-05-09 Chong Yidong <cyd@gnu.org>
13304
13305 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13306 package (Bug#11410).
13307
13308 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13309 variables into description.
13310
13311 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13312
13313 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13314 shell-delimiter-argument-list (bug#11348).
13315 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13316
13317 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13318
13319 * textmodes/rst.el: Silence byte-compiler warnings.
13320 (rst-re-alist, rst-reset-section-caches): Move around.
13321 (rst-re): Use `characterp', not `char-valid-p'.
13322 (font-lock-beg, font-lock-end): Declare.
13323
13324 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13325 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13326
13327 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13328
13329 2012-05-08 Glenn Morris <rgm@gnu.org>
13330
13331 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13332
13333 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * vc/log-edit.el: Add GNU coding standards highlighting.
13336 (log-edit-font-lock-gnu-style)
13337 (log-edit-font-lock-gnu-keywords): New vars.
13338 (log-edit-font-lock-keywords): New fun.
13339 (log-edit-mode): Don't fold case in font-lock.
13340 (log-edit-font-lock-keywords): Do not assume case-folding.
13341
13342 * imenu.el: Misc cleanup. Make docstrings out of comments.
13343 Use lexical-binding.
13344 (imenu--index-alist, imenu--last-menubar-index-alist)
13345 (imenu-menubar-modified-tick): Use defvar-local.
13346 (imenu--split-menu): Remove unused var.
13347 (imenu--cleanup-seen): Declare as global.
13348 (imenu--cleanup): Use dolist.
13349
13350 * subr.el (defvar-local): Add debug spec and doc-string position.
13351
13352 2012-05-08 Glenn Morris <rgm@gnu.org>
13353
13354 * language/burmese.el, language/cham.el, language/czech.el:
13355 * language/english.el, language/georgian.el, language/greek.el:
13356 * language/japanese.el, language/khmer.el, language/korean.el:
13357 * language/lao.el, language/misc-lang.el, language/romanian.el:
13358 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13359 * language/thai.el, language/utf-8-lang.el:
13360 Remove no-byte-compile setting.
13361
13362 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13363
13364 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13365
13366 * progmodes/make-mode.el (makefile-browse):
13367 Remove unnecessary interactive. (Bug#11324)
13368
13369 2012-05-07 Glenn Morris <rgm@gnu.org>
13370
13371 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13372
13373 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13374
13375 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13376
13377 * loadup.el: Preload newcomment.el.
13378 * newcomment.el: Move autoload-only code to toplevel.
13379
13380 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13381 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13382 Handle new :right-align column property.
13383 (tabulated-list-print-col): Idem, plus use `display' text-property to
13384 try and preserve alignment for variable pitch fonts.
13385
13386 2012-05-07 Chong Yidong <cyd@gnu.org>
13387
13388 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13389 (tabulated-list-use-header-line): New var.
13390 (tabulated-list-init-header): Use it.
13391 (tabulated-list-print-fake-header): New function.
13392 (tabulated-list-print): Use it.
13393 (tabulated-list-sort-button-map): Add non-header-line commands.
13394 (tabulated-list-init-header): Add column name property to basic
13395 labels as well.
13396 (tabulated-list-col-sort): Handle non-header-line button case.
13397 (tabulated-list--sort-by-column-name): Fix a corner case.
13398
13399 * buff-menu.el (list-buffers--refresh):
13400 Handle Buffer-menu-use-header-line.
13401
13402 2012-05-06 Chong Yidong <cyd@gnu.org>
13403
13404 * buff-menu.el: Convert to Tabulated List mode.
13405 (Buffer-menu-buffer+size-width): Make obsolete.
13406 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13407 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13408 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13409 documentation into docstring of buffer-menu.
13410 (Buffer-menu-toggle-files-only): Add an informative message.
13411 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13412 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13413 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13414 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13415 (Buffer-menu-execute, Buffer-menu-select)
13416 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13417 (Buffer-menu-bury): Use Tabulated List machinery.
13418 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13419 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13420 Delete.
13421 (list-buffers--refresh): New function.
13422 (list-buffers-noselect): Use it.
13423 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13424 (Buffer-menu--pretty-file-name): New helper functions.
13425
13426 * loadup.el: Preload tabulated-list.
13427
13428 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13429 tabulated-list-sort-column.
13430 (tabulated-list-init-header): Add the initial aligning space even
13431 if tabulated-list-padding is zero.
13432
13433 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13434
13435 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13436 whose cdr is not a cons cell correctly (bug#11038).
13437
13438 2012-05-06 Chong Yidong <cyd@gnu.org>
13439
13440 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13441 Accept additional plist in column descriptors.
13442 (tabulated-list-init-header): Obey it.
13443 (tabulated-list-get-entry): New function.
13444 (tabulated-list-put-tag): Use it. Use string-width instead of
13445 length.
13446 (tabulated-list--column-number): New function.
13447 (tabulated-list-print): Use it.
13448 (tabulated-list-print-col): New function.
13449 Set `tabulated-list-column-name' property on each column's text.
13450 (tabulated-list-print-entry): Use it.
13451 (tabulated-list-delete-entry, tabulated-list-set-col):
13452 New functions.
13453 (tabulated-list-sort-column): New command (Bug#11337).
13454
13455 * buff-menu.el (list-buffers): Move C-x C-b binding from
13456 buff-menu.el to bindings.el.
13457
13458 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13459 :advertised-binding feature.
13460
13461 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13462
13463 * progmodes/compile.el (compilation-internal-error-properties):
13464 Calculate start position correctly when end-col is set but
13465 end-line is not (Bug#11382).
13466
13467 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13468
13469 * man.el (Man-unindent): Use text-property-default-nonsticky to
13470 prevent untabify from inheriting face properties (Bug#11408).
13471
13472 2012-05-05 Stefan Merten <smerten@oekonux.de>
13473
13474 * textmodes/rst.el: Major merge with upstream development up to
13475 Docutils SVN r7399 / rst.el V1.2.1.
13476
13477 Clarify maintainership and authors.
13478
13479 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13480 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13481 (rst-official-version, rst-official-cvs-rev, rst-version)
13482 (rst-package-emacs-version-alist): New functions and variables
13483 for version information.
13484
13485 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13486 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13487 (rst-mode-syntax-table, rst-mode): New and corrected functions
13488 and variables representing reStructuredText features.
13489
13490 (rst-re): New function for reStructuredText regexes. Use in
13491 many places.
13492
13493 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13494 (rst-mode-map): Rebind keys.
13495
13496 (rst-mode-lazy, rst-font-lock-keywords)
13497 (rst-font-lock-extend-region)
13498 (rst-font-lock-extend-region-internal)
13499 (rst-font-lock-extend-region-extend)
13500 (rst-font-lock-find-unindented-line-limit)
13501 (rst-font-lock-find-unindented-line-match)
13502 (rst-adornment-level, rst-font-lock-adornment-level)
13503 (rst-font-lock-adornment-match)
13504 (rst-font-lock-handle-adornment-pre-match-form)
13505 (rst-font-lock-handle-adornment-matcher): Major revision of
13506 font-locking. Integrate with other code. Use `jit-lock-mode'.
13507
13508 (rst-preferred-adornments, rst-adjust-hook)
13509 (rst-new-adornment-down, rst-preferred-bullets)
13510 (rst-preferred-bullets, rst-indent, rst-indent-width)
13511 (rst-indent-field, rst-indent-literal-normal)
13512 (rst-indent-literal-minimized, rst-indent-comment): Change,
13513 extend and improve customization.
13514
13515 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13516 (rst-normalize-cursor-position, rst-get-decoration)
13517 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13518 (rst-rstrip, rst-toc-insert-find-delete-contents)
13519 (rst-shift-fill-region, rst-compute-bullet-tabs)
13520 (rst-debug-print-tabs, rst-debug-mark-found)
13521 (rst-shift-region-guts, rst-shift-region-right)
13522 (rst-shift-region-left, rst-use-char-classes)
13523 (rst-font-lock-keywords-function)
13524 (rst-font-lock-indentation-point)
13525 (rst-font-lock-find-unindented-line-begin)
13526 (rst-font-lock-find-unindented-line-end)
13527 (rst-font-lock-find-unindented-line)
13528 (rst-font-lock-adornment-point, rst-font-lock-level)
13529 (rst-adornment-level-alist): Remove functions and variables.
13530
13531 (rst-compare-adornments, rst-get-adornment-match)
13532 (rst-suggest-new-adornment, rst-get-adornments-around)
13533 (rst-adornment-complete-p, rst-get-next-adornment)
13534 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13535 (rst-straighten-adornments): Standardize function names to
13536 use "adornment" instead of "decoration". Correct callers.
13537 Similar standardizing in many places.
13538
13539 (rst-update-section, rst-adjust, rst-promote-region)
13540 (rst-enumerate-region, rst-bullet-list-region)
13541 (rst-repeat-last-character): Correct use of `interactive'.
13542
13543 (rst-classify-adornment, rst-find-all-adornments)
13544 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13545 (rst-find-leftmost-column, rst-repeat-last-character):
13546 Refactor functions.
13547
13548 (rst-find-title-line, rst-reset-section-caches)
13549 (rst-get-adornments-around, rst-adjust-adornment-work)
13550 (rst-arabic-to-roman, rst-roman-to-arabic)
13551 (rst-insert-list-pos, rst-insert-list-new-item)
13552 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13553 New functions.
13554
13555 (rst-all-sections, rst-section-hierarchy)
13556 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13557 New variables.
13558
13559 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13560 configuration instead of only buffer. Change where necessary.
13561
13562 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13563 (rst-shift-region, rst-adaptive-fill): New functions for
13564 indentation and filling.
13565
13566 (rst-comment-line-break, rst-comment-indent)
13567 (rst-comment-insert-comment, rst-comment-region)
13568 (rst-uncomment-region): New functions for handling comments.
13569
13570 (rst-compile): Quote shell arguments.
13571
13572 (rst-compile-pdf-preview, rst-compile-slides-preview):
13573 Delete temporary files after use.
13574
13575 2012-05-05 Glenn Morris <rgm@gnu.org>
13576
13577 * calendar/cal-html.el: Optionally include holidays in the output.
13578 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13579 (cal-html-holidays): New option.
13580 (cal-html-css-default): Add holiday entry.
13581 (holiday-in-range): Autoload it.
13582 (cal-html-htmlify-entry): Add optional class argument.
13583 (cal-html-htmlify-list): Add optional holidays argument.
13584 (cal-html-insert-agenda-days): Include holidays in the output.
13585 (cal-html-one-month): Maybe include holidays.
13586
13587 * calendar/holidays.el (holiday-in-range):
13588 Move here from cal-tex-list-holidays.
13589 * calendar/cal-tex.el (cal-tex-list-holidays):
13590 Make it an obsolete alias for holiday-in-range. Update all callers.
13591
13592 2012-05-05 Chong Yidong <cyd@gnu.org>
13593
13594 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13595 Nextstep.
13596
13597 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13598
13599 * files.el (file-auto-mode-skip): New var.
13600 (set-auto-mode-1): Use it.
13601
13602 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 * repeat.el: Use lexical-binding.
13605 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13606 (repeat-undo-count): Remove.
13607 (repeat):
13608 * progmodes/octave-mod.el (octave-abbrev-start):
13609 * progmodes/f90.el (f90-abbrev-start):
13610 * face-remap.el (text-scale-adjust):
13611 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13612
13613 * emacs-lisp/pcase.el (pcase--let*): New function.
13614 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13615 a bit more.
13616 (pcase--split-pred): Be more clever about ruling out overlap between
13617 a predicate and some constant pattern.
13618 (pcase--q1): Use `null' instead of (eq foo nil).
13619
13620 * subr.el (setq-local, defvar-local): New macros.
13621 (kbd): Redefine as an alias.
13622 (with-selected-window): Leave unrelated frames alone.
13623 (set-temporary-overlay-map): New function.
13624
13625 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * subr.el (user-error): New function.
13628 * window.el (switch-to-buffer):
13629 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13630 (smerge-match-conflict):
13631 * simple.el (previous-matching-history-element)
13632 (next-matching-history-element, goto-history-element, undo-more)
13633 (undo-start):
13634 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13635 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13636 (next-file, tags-loop-scan, list-tags, complete-tag):
13637 * progmodes/compile.el (compilation-loop):
13638 * mouse.el (mouse-minibuffer-check):
13639 * man.el (Man-bgproc-sentinel, Man-goto-page):
13640 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13641 (Info-history-forward, Info-follow-reference, Info-menu)
13642 (Info-extract-menu-item, Info-extract-menu-counting)
13643 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13644 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13645 (Info-next-reference, Info-prev-reference, Info-index)
13646 (Info-index-next, Info-follow-nearest-node)
13647 (Info-copy-current-node-name):
13648 * imenu.el (imenu--make-index-alist)
13649 (imenu-default-create-index-function, imenu-add-to-menubar):
13650 * files.el (basic-save-buffer, recover-file):
13651 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13652 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13653 (checkdoc-message-text, checkdoc-defun):
13654 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13655 * cus-edit.el (customize-changed-options, customize-rogue)
13656 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13657 (custom-variable-mark-to-reset-standard)
13658 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13659 (custom-file):
13660 * completion.el (check-completion-length):
13661 * comint.el (comint-search-arg)
13662 (comint-previous-matching-input-string-position)
13663 (comint-previous-matching-input)
13664 (comint-replace-by-expanded-history-before-point, comint-send-input)
13665 (comint-copy-old-input, comint-backward-matching-input)
13666 (comint-goto-process-mark, comint-set-process-mark):
13667 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13668 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13669
13670 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13671
13672 * dabbrev.el (dabbrev--ignore-case-p): New function.
13673 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13674 Use it.
13675
13676 * files.el (automount-dir-prefix): Mark as obsolete.
13677
13678 2012-05-04 Glenn Morris <rgm@gnu.org>
13679
13680 * patcomp.el, play/bruce.el: Move to obsolete/.
13681
13682 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13683
13684 Fix minor Y10k bugs.
13685 * arc-mode.el (archive-unixdate):
13686 * autoinsert.el (auto-insert-alist):
13687 * calc/calc-forms.el (math-this-year):
13688 * emacs-lisp/copyright.el (copyright-current-year)
13689 (copyright-update-year, copyright):
13690 * tar-mode.el (tar-clip-time-string):
13691 * time.el (display-time-update):
13692 Don't assume years have 4 digits.
13693
13694 2012-05-04 Chong Yidong <cyd@gnu.org>
13695
13696 * dos-w32.el (file-name-buffer-file-type-alist)
13697 (direct-print-region-use-command-dot-com):
13698 * ffap.el (ffap-menu-regexp):
13699 * find-file.el (ff-special-constructs):
13700 * follow.el (follow-debug):
13701 * forms.el (forms--debug):
13702 * iswitchb.el (iswitchb-all-frames):
13703 * ido.el (ido-all-frames):
13704 * emacs-lisp/timer.el (timer-max-repeats):
13705 * mail/feedmail.el (feedmail-mail-send-hook)
13706 (feedmail-mail-send-hook-queued):
13707 * mail/footnote.el (footnote-signature-separator):
13708 * mail/mailabbrev.el (mail-alias-separator-string)
13709 (mail-abbrev-mode-regexp):
13710 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13711 * progmodes/idlwave.el (idlwave-libinfo-file)
13712 (idlwave-default-completion-case-is-down)
13713 (idlwave-library-routines): Convert defvars to defcustoms.
13714
13715 * mail/rmail.el (rmail-decode-mime-charset):
13716 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13717 (idlwave-shell-fix-inserted-breaks)
13718 (idlwave-shell-activate-alt-keybindings)
13719 (idlwave-shell-use-breakpoint-glyph):
13720 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13721
13722 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13725
13726 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13727
13728 * progmodes/verilog-mode.el (font-lock-keywords):
13729 Fix mis-highligting auto. Reported by Craig Barner.
13730 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13731 defines from global name space. Reported by Dan Dever.
13732 (verilog-auto-reset, verilog-auto-reset-widths)
13733 (verilog-auto-tieoff): Support using unbased numbers for
13734 AUTORESET and AUTOTIEOFF.
13735 (verilog-submit-bug-report): Update variable list.
13736 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13737 parenthesis from not matching. Reported by Michael Rytting.
13738 (verilog-auto-template-lint): Fix hash error when linting modules
13739 with no used templates.
13740 (verilog-warn, verilog-warn-error)
13741 (verilog-warn-fatal): When non-interactive report multiple
13742 warnings before exiting. Suggested by Brad Dobbie.
13743 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13744 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13745 to report unused template errors. Reported by Brad Dobbie.
13746 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13747 nets, bug438. Reported by Vns Blore.
13748 (verilog-auto-inout-module, verilog-auto-reg)
13749 (verilog-read-decls, verilog-read-sub-decls-sig)
13750 (verilog-signals-edit-wire-reg, verilog-signals-with):
13751 Fix passing of Verilog data types in ANSI input/output ports
13752 such as "output logic" into the AUTOs. Special case "wire" and
13753 "reg" for backwards compatibility presuming Verilog 2001.
13754 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13755 (verilog-preprocess): Fix replication of preprocess output.
13756 Reported by Brad Dobbie.
13757 (verilog-auto-inst-interfaced-ports):
13758 Create verilog-auto-inst-interfaced-ports, bug429.
13759 Reported by Julian Gorfajn.
13760 (verilog-after-save-font-hook)
13761 (verilog-before-save-font-hook): New variable.
13762 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13763 (verilog-save-font-mods): Wrap disabling fontification, reported
13764 by David Rogoff.
13765 (verilog-do-indent, verilog-pretty-declarations-auto)
13766 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13767 Reported by Pierre-David Pfister.
13768 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13769 of class declarations, bug292. Reported by Kevin Heilman.
13770 (verilog-read-decls): Fix 'parameter type' not appearing in
13771 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13772 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13773 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13774 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13775 Reported by David Kravitz.
13776
13777 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13778
13779 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13780 assignment with tests in ifs and for loops.
13781 (verilog-extended-complete-re, verilog-complete-reg): Change so
13782 that DPI inport functions don't look like fuction declarations.
13783 (verilog-pretty-expr): Don't line up assignment
13784 operations to the test and increment in if and for loops
13785 (verilog-extended-complete-re, verilog-complete-reg): Change so
13786 that DPI inport functions don't look like fuction declarations.
13787
13788 2012-05-03 Kenichi Handa <handa@m17n.org>
13789
13790 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13791 decoding, and show a warning message without signaling an error
13792 (Bug#11282).
13793
13794 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13795
13796 * emacs-lisp/bytecomp.el
13797 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13798 since cconv.el might have introduced :fun-body, internal-make-closure,
13799 and friends for bytecomp to handle (bug#11391).
13800 * custom.el (defcustom): Avoid ((λ ..) ..).
13801
13802 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13805
13806 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13807
13808 * notifications.el (dbus-debug):
13809 * term/linux.el (gpm-mouse-enable):
13810 * term/screen.el (xterm-register-default-colors): Declare.
13811
13812 2012-05-02 Chong Yidong <cyd@gnu.org>
13813
13814 * cus-start.el (gc-cons-percentage, exec-suffixes)
13815 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13816 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13817 (make-cursor-line-fully-visible, void-text-area-pointer)
13818 (font-list-limit): Add customization data.
13819
13820 * allout.el (allout-exposure-change-functions)
13821 (allout-structure-added-functions)
13822 (allout-structure-deleted-functions)
13823 (allout-structure-shifted-functions): Rename abnormal hooks from
13824 *-hook, and convert to defcustoms.
13825 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13826 Convert to defcustoms.
13827 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13828
13829 * allout-widgets.el: Hook callers changed.
13830
13831 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13832
13833 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13834 the yanked message in preference to the default value of
13835 buffer-file-coding-system.
13836
13837 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13838
13839 * window.el (display-buffer--action-function-custom-type):
13840 Fix entry.
13841
13842 2012-05-02 Alan Mackenzie <acm@muc.de>
13843
13844 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13845
13846 2012-05-01 Glenn Morris <rgm@gnu.org>
13847
13848 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13849
13850 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13851
13852 * cus-edit.el (custom-variable-documentation): Simplify with format.
13853
13854 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13855 Stefan Monnier <monnier@iro.umontreal.ca>
13856
13857 * simple.el (suggest-key-bindings, execute-extended-command):
13858 Move from keyboard.c.
13859
13860 2012-05-01 Chong Yidong <cyd@gnu.org>
13861
13862 * follow.el: Eliminate advice.
13863 (set-process-filter, process-filter, sit-for): Advice deleted.
13864 (follow-mode-off-hook): Obsolete hook removed.
13865 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13866 Vars deleted.
13867 (follow-auto): Use a :set function.
13868 (follow-mode): Rewritten. Don't advise process filters.
13869 (follow-switch-to-current-buffer-all, follow-scroll-up)
13870 (follow-scroll-down): Assume follow-mode is bound.
13871 (follow-comint-scroll-to-bottom)
13872 (follow-align-compilation-windows): New functions.
13873 (follow--window-sorter): New function.
13874 (follow-all-followers): Use it to explicitly sort windows by their
13875 positions; don't make assumptions about next-window order.
13876 (follow-windows-start-end, follow-delete-other-windows-and-split)
13877 (follow-calc-win-start): Doc fix.
13878 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13879 vertical-motion unnecessarily.
13880 (follow-adjust-window): New function.
13881 (follow-post-command-hook): Use it.
13882 (follow-call-set-process-filter, follow-call-process-filter)
13883 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13884 (follow-stop-intercept-process-output, follow-generic-filter):
13885 Functions deleted.
13886 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13887 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13888 New functions, replacing advice on scroll-bar-* commands.
13889 (follow-mwheel-scroll): New function (Bug#4112).
13890
13891 * comint.el (comint-adjust-point): New function.
13892 (comint-postoutput-scroll-to-bottom): Use it.
13893 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13894
13895 2012-05-01 Glenn Morris <rgm@gnu.org>
13896
13897 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13898 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13899 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13900 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13901 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13902 Remove no-byte-compile setting.
13903
13904 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13905
13906 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13907 all-completions code to not return a number in the last cdr.
13908
13909 2012-04-30 Leo Liu <sdl.web@gmail.com>
13910
13911 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13912 read-only error.
13913
13914 2012-04-29 Chong Yidong <cyd@gnu.org>
13915
13916 * follow.el (follow-calc-win-end): Rewrite to handle partial
13917 screen lines correctly (Bug#8390).
13918 (follow-avoid-tail-recenter): Minor cleanup.
13919
13920 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 Avoid the obsolete `assoc' package.
13923 * speedbar.el (speedbar-refresh): Avoid adelete.
13924 (speedbar-file-lists): Simplify and avoid aput.
13925 * man.el (Man--sections, Man--refpages): New vars, replacing
13926 Man-sections-alist and Man-refpages-alist.
13927 (Man-build-section-alist, Man-build-references-alist):
13928 Use them; avoid aput.
13929 (Man--last-section, Man--last-refpage): New vars.
13930 (Man-follow-manual-reference): Use them.
13931 Use the `default' arg of completing-read.
13932 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13933
13934 2012-04-27 Chong Yidong <cyd@gnu.org>
13935
13936 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13937
13938 * startup.el (x-apply-session-resources): New function.
13939
13940 * term/ns-win.el (ns-initialize-window-system):
13941 * term/w32-win.el (w32-initialize-window-system):
13942 * term/x-win.el (x-initialize-window-system): Use it to properly
13943 set menu-bar-mode and other vars from X resources, even if the
13944 initial frame is not a window-system frame (Bug#2299).
13945
13946 * subr.el (read-key): Avoid running filter function when setting
13947 up temporary tool bar entries (Bug#9922).
13948
13949 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13950
13951 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13952 (Bug#11344)
13953
13954 2012-04-27 Chong Yidong <cyd@gnu.org>
13955
13956 * select.el (xselect--encode-string): New function, split from
13957 xselect-convert-to-string.
13958 (xselect-convert-to-string): Use it.
13959 (xselect-convert-to-filename, xselect-convert-to-os)
13960 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13961 returned strings are properly encoded (Bug#11315).
13962
13963 2012-04-27 Chong Yidong <cyd@gnu.org>
13964
13965 * simple.el (delete-active-region): Move to killing custom group.
13966
13967 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13968
13969 * progmodes/which-func.el (which-func-current): Quote %
13970 characters for mode-line processing.
13971
13972 2012-04-27 Chong Yidong <cyd@gnu.org>
13973
13974 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13975 reaching eob (Bug#11286).
13976
13977 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13978
13979 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13980 (gdb): Make it buffer-local and init to zero.
13981 (gdb-control-commands-regexp): New variable.
13982 (gdb-send): Don't wrap in "-interpreter-exec console" if
13983 gdb-control-level is positive. Increment gdb-control-level
13984 whenever the command matches gdb-control-commands-regexp, and
13985 decrement it each time the command is "end". (Bug#11279)
13986
13987 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13988
13989 * window.el (adjust-window-trailing-edge, enlarge-window)
13990 (shrink-window, window-resize):
13991 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13992 windows (Bug#11276).
13993
13994 2012-04-27 Chong Yidong <cyd@gnu.org>
13995
13996 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13997 fix "missing prefix" warning. All callers changed.
13998
13999 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14000
14001 * emacs-lisp/assoc.el: Move to obsolete/.
14002
14003 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14004
14005 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14006
14007 * term/ns-win.el (ns-define-service):
14008 * progmodes/pascal.el (pascal-goto-defun):
14009 * progmodes/js.el (js--read-tab):
14010 * progmodes/etags.el (tags-lazy-completion-table):
14011 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14012 * emacs-lisp/ewoc.el (ewoc--wrap):
14013 * emacs-lisp/assoc.el (aput, adelete, amake):
14014 * doc-view.el (doc-view-convert-current-doc):
14015 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14016
14017 2012-04-26 Chong Yidong <cyd@gnu.org>
14018
14019 * image.el (image-type-from-buffer): Only return supported image
14020 type (Bug#9045).
14021
14022 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14023 value, for symmetry with diff-end-of-hunk.
14024 (diff-split-hunk, diff-find-source-location)
14025 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14026 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14027 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14028 compute the relevant hunk or file properly (Bug#6005).
14029 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14030
14031 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14032
14033 * vc/vc-mtn.el:
14034 * vc/vc-hg.el:
14035 * vc/vc-git.el:
14036 * vc/vc-dir.el:
14037 * vc/vc-cvs.el:
14038 * vc/vc-bzr.el:
14039 * vc/vc-arch.el:
14040 * vc/vc.el: Replace lexical-let by lexical-binding.
14041 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14042 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14043 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14044
14045 2012-04-26 Chong Yidong <cyd@gnu.org>
14046
14047 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14048 (diff-mode-shared-map): Bind it to / and [remap undo].
14049
14050 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14051 (ediff-window-setup-function): Use it as the default, to set up
14052 windows based on whether the current frame is graphical (Bug#2138).
14053 (ediff-choose-window-setup-function-automatically): Make obsolete.
14054
14055 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14056
14057 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14058
14059 * ffap.el: Remove old code for obsolete package.
14060 (ffap-complete-as-file-p): Remove.
14061
14062 Use completion-table-with-quoting for comint and pcomplete.
14063 * comint.el (comint--unquote&requote-argument)
14064 (comint--unquote-argument, comint--requote-argument): New functions.
14065 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14066 (comint-quote-filename): Use regexp-opt-charset.
14067 (comint--common-suffix, comint--common-quoted-suffix)
14068 (comint--table-subvert): Remove.
14069 (comint-unquote-function, comint-requote-function): New vars.
14070 (comint--complete-file-name-data): Use them with
14071 completion-table-with-quoting.
14072 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14073 * pcomplete.el (pcomplete-arg-quote-list)
14074 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14075 (pcomplete-unquote-argument-function): Default to non-nil.
14076 (pcomplete-unquote-argument): Simplify.
14077 (pcomplete--common-quoted-suffix): Remove.
14078 (pcomplete-requote-argument-function): New var.
14079 (pcomplete--common-suffix): New function.
14080 (pcomplete-completions-at-point): Use completion-table-with-quoting
14081 and completion-table-subvert.
14082
14083 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14084 (minibuffer--double-dollars): Preserve properties.
14085 (completion--sifn-requote): New function.
14086 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14087
14088 * minibuffer.el: Add support for completion of quoted/escaped data.
14089 (completion-table-with-quoting, completion-table-subvert): New funs.
14090 (completion--twq-try, completion--twq-all): New functions.
14091 (completion--nth-completion): New function.
14092 (completion-try-completion, completion-all-completions): Use it.
14093
14094 2012-04-25 Leo Liu <sdl.web@gmail.com>
14095
14096 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14097 Use compilation-message if available to find real filename.
14098
14099 2012-04-25 Chong Yidong <cyd@gnu.org>
14100
14101 * vc/diff-mode.el (diff-setup-whitespace): New function.
14102 (diff-mode): Use it.
14103
14104 * vc/diff.el (diff-sentinel):
14105 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14106 Whitespace mode variables based on diff style (Bug#8612).
14107
14108 2012-04-25 Leo Liu <sdl.web@gmail.com>
14109
14110 * progmodes/python.el (python-send-region): Add suffix .py to the
14111 temp file.
14112
14113 * files.el (auto-mode-alist): Use javascript-mode instead.
14114
14115 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14116
14117 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14118
14119 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14120 (soap-resolve-references-for-array-type): Hack to prevent self
14121 references, see Bug#9.
14122 (soap-parse-envelope): Report the contents of the 'detail' node
14123 when receiving a fault reply.
14124 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14125
14126 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14127 (soap-inspect-simple-type): New function.
14128
14129 * net/soap-client.el (soap-simple-type): New struct.
14130 (soap-default-xsd-types, soap-default-soapenc-types)
14131 (soap-decode-basic-type, soap-encode-basic-type):
14132 support unsignedInt and double basic types.
14133 (soap-resolve-references-for-simple-type)
14134 (soap-parse-simple-type, soap-encode-simple-type): New function.
14135 (soap-parse-schema): Parse xsd:simpleType declarations.
14136
14137 * net/soap-client.el (soap-default-xsd-types)
14138 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14139 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14140 the local name of "soapenc:Array".
14141 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14142 decoding integer, byte and anyURI xsd types.
14143
14144 2012-04-25 Chong Yidong <cyd@gnu.org>
14145
14146 * cus-edit.el (custom-buffer-create-internal): Update header text.
14147
14148 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14149
14150 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14151 settings on 'system-type', not on 'window-system'. On MS-Windows,
14152 set interactive-mode on in GDB.
14153
14154 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14157 (ruby-syntax-propertize-regexp): Remove.
14158 (ruby-syntax-propertize-function): Split regexp into chunks.
14159 Match following code directly.
14160
14161 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14162
14163 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14164 (ruby-syntax-propertize-regexp): New function.
14165 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14166 by a special keyword.
14167
14168 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14169 (ruby-syntax-general-delimiters-goto-beg)
14170 (ruby-syntax-propertize-general-delimiters): New functions.
14171 (ruby-syntax-propertize-function): Use them to handle GDL.
14172 (ruby-font-lock-keywords): Move old handling of GDL...
14173 (ruby-font-lock-syntactic-keywords): .. to here.
14174 (ruby-calculate-indent): Adjust indentation for GDL.
14175
14176 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14177
14178 * notifications.el (top): Remove unneeded declarations.
14179 (notifications-specification-version): Change to "1.2".
14180 (notifications-interface, notifications-notify-method)
14181 (notifications-close-notification-method): Fix docstring.
14182 (notifications-get-capabilities-method): New defconst.
14183 (notifications-notify): Add :action-items, :resident and
14184 :transient hints. Change "image_data" to "image-data" and
14185 "image_path" to "image-path".
14186 (notifications-get-capabilities): New defun.
14187
14188 2012-04-24 Leo Liu <sdl.web@gmail.com>
14189
14190 * progmodes/python.el: Move hideshow setup to the end.
14191
14192 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14193
14194 * window.el (handle-select-window): Clear echo area since this is
14195 no more done by read_char (Bug#11304).
14196
14197 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14198
14199 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14200 and `/ M' to filter-derived-mode.
14201 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14202 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14203 (ibuffer-mark-by-mode): Use default rather than initial-input.
14204 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14205
14206 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14207
14208 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14209 (ibuffer-filter-by-derived-mode): New filter.
14210 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14211
14212 2012-04-23 Andreas Politz <politza@fh-trier.de>
14213
14214 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14215
14216 2012-04-23 Chong Yidong <cyd@gnu.org>
14217
14218 * cus-edit.el (customize-apropos, customize-apropos-options):
14219 Disable matching of non-option variables (Bug#11176).
14220 (customize-option, customize-option-other-window)
14221 (customize-changed-options): Doc fix.
14222 (customize-apropos-options, customize-apropos-faces)
14223 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14224
14225 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14226 Fix word list splitting (Bug#11132).
14227 (apropos-symbol, apropos-keybinding, apropos-label)
14228 (apropos-property, apropos-function-button)
14229 (apropos-variable-button, apropos-misc-button): New faces.
14230 (apropos-symbol-face, apropos-keybinding-face)
14231 (apropos-label-face, apropos-property-face, apropos-match-face):
14232 Variables removed (Bug#8396).
14233 (apropos-library-button, apropos-format-plist, apropos-print)
14234 (apropos-print-doc, apropos-describe-plist): Callers changed.
14235
14236 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14237
14238 * net/xesam.el (xesam-mode-map): Use let-bound map in
14239 initialization. (Bug#11292)
14240
14241 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14242
14243 Preserve ispell session localwords when switching back to
14244 original buffer.
14245
14246 * textmodes/ispell.el (ispell-buffer-session-localwords):
14247 New buffer-local variable to hold buffer session localwords.
14248 (ispell-kill-ispell): Add option 'clear to delete session
14249 localwords.
14250 (ispell-command-loop, ispell-change-dictionary)
14251 (ispell-buffer-local-words): Preserve session localwords when
14252 needed.
14253
14254 * textmodes/flyspell.el (flyspell-process-localwords)
14255 (flyspell-do-correct): Preserve session localwords when needed.
14256
14257 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14258
14259 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14260 using obsolete `translation-table-for-input'.
14261 (ispell-word, ispell-process-line, ispell-complete-word):
14262 Use plain `insert' instead of removed `ispell-insert-word'.
14263
14264 2012-04-22 Chong Yidong <cyd@gnu.org>
14265
14266 * cus-edit.el (custom-variable-menu)
14267 (custom-variable-reset-saved, custom-face-menu)
14268 (custom-face-reset-saved): If there is no saved value, make the
14269 "reset-saved" operation bring back the default (Bug#9509).
14270 (custom-face-state): Properly detect themed faces.
14271
14272 * faces.el (face-spec-set): Stop supporting deprecated form of
14273 third arg.
14274
14275 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14276
14277 Move functions from C to Lisp. Make non-blocking method calls
14278 the default. Implement further D-Bus standard interfaces.
14279
14280 * net/dbus.el (dbus-message-internal): Declare function.
14281 Remove unneeded function declarations.
14282 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14283 (dbus-message-type-method-return, dbus-message-type-error)
14284 (dbus-message-type-signal): Declare variables. Remove local
14285 definitions.
14286 (dbus-interface-dbus, dbus-interface-peer)
14287 (dbus-interface-introspectable, dbus-interface-properties)
14288 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14289 Adapt docstring.
14290 (dbus-interface-objectmanager): New defconst.
14291 (dbus-call-method, dbus-call-method-asynchronously)
14292 (dbus-send-signal, dbus-method-return-internal)
14293 (dbus-method-error-internal, dbus-register-service)
14294 (dbus-register-signal, dbus-register-method): New defuns, moved
14295 from dbusbind.c
14296 (dbus-call-method-handler, dbus-setenv)
14297 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14298 New defuns.
14299 (dbus-call-method-non-blocking): Make it an obsolete function.
14300 (dbus-unregister-object, dbus-unregister-service)
14301 (dbus-handle-event, dbus-register-property)
14302 (dbus-property-handler): Obey the new structure of
14303 `bus-registered-objects'.
14304 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14305 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14306 Use `dbus-call-method'.
14307
14308 2012-04-22 Chong Yidong <cyd@gnu.org>
14309
14310 * cus-edit.el (custom-commands, custom-reset-menu)
14311 (Custom-reset-standard): Tweak labels.
14312 (custom-reset-button-menu): Change default to t.
14313 (custom-buffer-create-internal): For the custom-reset-button-menu
14314 case, put the revert button first.
14315 (custom-group-subtitle): New face.
14316 (custom-group-value-create): Align docstring to a specific column.
14317
14318 * wid-edit.el (widget-documentation-link-add): Don't handle
14319 indentation in this function.
14320 (widget-documentation-string-indent-to): New function.
14321 (widget-documentation-string-value-create): Use it.
14322
14323 * autorevert.el (auto-revert):
14324 * epg-config.el (epg):
14325 * ibuffer.el (ibuffer):
14326 * mpc.el (mpc):
14327 * ses.el (ses):
14328 * eshell/eshell.el (eshell):
14329 * net/ange-ftp.el (ange-ftp):
14330 * progmodes/ebnf2ps.el (postscript):
14331 * progmodes/flymake.el (flymake):
14332 * progmodes/prolog.el (prolog):
14333 * progmodes/verilog-mode.el (verilog-mode):
14334 * progmodes/which-func.el (which-func):
14335 * term/xterm.el (xterm):
14336 * textmodes/picture.el (picture):
14337 * textmodes/tildify.el (tildify):
14338 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14339 customization buffers.
14340
14341 2012-04-22 Alan Mackenzie <acm@muc.de>
14342
14343 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14344 Adding a ) can hide the resulting (..) from searches. Fix it.
14345 Bound the backward search to the position of the existing (.
14346
14347 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14348
14349 * progmodes/verilog-mode.el (verilog-mode): Check whether
14350 which-func-modes is t before adding verilog-mode.
14351 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14352
14353 2012-04-21 Leo Liu <sdl.web@gmail.com>
14354
14355 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14356
14357 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14358
14359 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14360 filling of the last column of a table (Bug#5635).
14361 (woman-find-next-control-line): New arg, specifying an additional
14362 regexp component for the control line.
14363 (woman2-roff-buffer): Use it.
14364 (woman-break-table): New function.
14365 (woman2-TS): Use it.
14366
14367 2012-04-21 Chong Yidong <cyd@gnu.org>
14368
14369 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14370 (woman-horizontal-escapes, woman-negative-vertical-space)
14371 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14372 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14373
14374 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14375
14376 * minibuffer.el (completion-file-name-table): Complete user names.
14377
14378 2012-04-20 Leo Liu <sdl.web@gmail.com>
14379
14380 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14381 and pcase-let*.
14382
14383 2012-04-20 Chong Yidong <cyd@gnu.org>
14384
14385 * server.el (server-execute): Respect initial-buffer-choice if it
14386 is a string and there are no files to open (Bug#2825).
14387 (server-create-window-system-frame, server-create-tty-frame):
14388 Don't switch buffers here.
14389 (server-process-filter): Only try to open a window system frame if
14390 compiled with graphical support (Bug#8314).
14391
14392 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14393
14394 * battery.el (battery-echo-area-format): Display remaining time
14395 for sysfs backend too (Bug#11269).
14396 (battery-linux-sysfs): Fix conditional for the charge.
14397
14398 2012-04-20 Chong Yidong <cyd@gnu.org>
14399
14400 * progmodes/gdb-mi.el (gdb): Revert previous change.
14401 (gdb-inferior-io--init-proc): New function.
14402 (gdb-init-1): Use it.
14403 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14404 responsible for allocating a new pty and hooking it to gdb when
14405 the old pty gets an EIO due to process exit.
14406 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14407 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14408 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14409
14410 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14411
14412 * window.el (window-min-size, window-sizable, window-min-delta)
14413 (window-max-delta, window--resizable, window-resizable)
14414 (window-total-size, window-full-height-p, window-full-width-p)
14415 (window-in-direction, window--resize-mini-window, window-resize)
14416 (window--resize-child-windows-normal)
14417 (window--resize-child-windows, window--resize-siblings)
14418 (window--resize-this-window, adjust-window-trailing-edge)
14419 (enlarge-window, shrink-window): Doc fixes.
14420
14421 2012-04-20 Chong Yidong <cyd@gnu.org>
14422
14423 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14424 New function to call delete-process on the gdb-inferior buffer's pty.
14425 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14426 pty process (Bug#11273).
14427 (gdb-update): New arg to suppress talking to the gdb process.
14428 (gdb-done-or-error): Use it.
14429 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14430 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14431 sentinel not being called.
14432
14433 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14434
14435 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14436
14437 2012-04-20 Glenn Morris <rgm@gnu.org>
14438
14439 * net/network-stream.el (open-network-stream): Doc fix.
14440
14441 2012-04-20 Chong Yidong <cyd@gnu.org>
14442
14443 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14444
14445 2012-04-20 Alan Mackenzie <acm@muc.de>
14446
14447 Ensure searching for keywords is case sensitive.
14448
14449 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14450 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14451 (c-defun-name, c-mark-function, c-cpp-define-name)
14452 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14453 (c-context-line-break): Bind case-fold-search to nil.
14454
14455 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14456 Bind case-fold-search to nil.
14457
14458 2012-04-20 Chong Yidong <cyd@gnu.org>
14459
14460 * mail/sendmail.el (mail-bury): Call return action with the right
14461 Rmail buffer (Bug#11242).
14462
14463 * server.el (server-process-filter): Handle corner case where both
14464 tty and nowait options are present (Bug#11102).
14465
14466 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14467
14468 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14469 (top level): Put into the executable the ident-style '$Id:' tag on
14470 windows-nt as well.
14471
14472 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14473
14474 * electric.el (electric-indent-post-self-insert-function): Check that
14475 electric-indent-mode is enabled in current buffer.
14476
14477 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14478
14479 * imenu.el (imenu-progress-message): Restore; it is "used" in
14480 erc/erc-imenu.el and net/snmp-mode.el.
14481
14482 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14483
14484 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14485 (mouse-avoidance-nudge-mouse): Remove unused binding.
14486
14487 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14488
14489 * descr-text.el (describe-char):
14490 * progmodes/python.el (python-describe-symbol):
14491 Don't call `toggle-read-only', set `buffer-read-only'.
14492
14493 * imenu.el (imenu-default-goto-function): Mark unused args.
14494 (imenu-progress-message): Remove obsolete macro; all callers changed.
14495
14496 * subr.el (keymap-canonicalize): Remove unused binding.
14497 (read-passwd): Mark unused arg.
14498
14499 * tutorial.el (tutorial--display-changes): Remove unused binding.
14500 (tutorial--save-tutorial-to): Remove unused variable.
14501
14502 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14503 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14504 (package-generate-autoloads, package-menu--generate)
14505 (package-menu--find-upgrades): Remove unused bindings.
14506
14507 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14508 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14509 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14510 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14511 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14512 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14513 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14514 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14515 (cua-delete-char-rectangle): Mark unused args.
14516 (cua-align-rectangle): Remove unused binding.
14517
14518 * mail/rmail.el (compilation--message->loc)
14519 (epa--find-coding-system-for-mime-charset): Declare.
14520
14521 * net/dbus.el (dbus-register-service): Declare.
14522 (dbus-name-owner-changed-handler): Remove unused binding.
14523
14524 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14525 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14526 (nxml-scan-backward-within): Mark unused arg.
14527 (nxml-dynamic-markup-word): Remove unused binding.
14528
14529 * mouse.el (mouse-menu-major-mode-map):
14530 * emacs-lisp/authors.el (authors-scan-change-log)
14531 (authors-add-to-author-list):
14532 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14533 * emacs-lisp/smie.el (smie-auto-fill):
14534 * mail/sendmail.el (mail-bury):
14535 * mail/unrmail.el (unrmail):
14536 * net/tls.el (open-tls-stream):
14537 * textmodes/picture.el (picture-mouse-set-point):
14538 Remove unused bindings.
14539
14540 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14541
14542 * net/tramp.el (tramp-action-password): Let-bind
14543 `enable-recursive-minibuffers' to t.
14544
14545 2012-04-18 Sam Steingold <sds@gnu.org>
14546
14547 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14548 instead of 'string to accommodate values like [f11].
14549 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14550 * progmodes/gdb-mi.el: Likewise.
14551
14552 2012-04-18 Leo Liu <sdl.web@gmail.com>
14553
14554 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14555 current buffer.
14556 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14557 LOCAL is nil.
14558
14559 2012-04-18 Chong Yidong <cyd@gnu.org>
14560
14561 * simple.el (line-move): Use forward-line if in batch mode
14562 (Bug#11053).
14563
14564 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14565
14566 * files.el (after-find-file): Do not try to add a final newline if
14567 the buffer is read-only (Bug#11156).
14568
14569 2012-04-17 Richard Stallman <rms@gnu.org>
14570
14571 * mail/rmail.el (rmail-start-mail):
14572 Pass (rmail-mail-return...) for the return-action.
14573 Pass (rmail-yank-current-message...) for the yank-action.
14574 (rmail-yank-current-message): New function.
14575 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14576 (rmail-reply): Likewise.
14577 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14578
14579 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14580 buffer, not the last. Reject temp buffers. Use the rmail-mode
14581 buffer, not newbuf.
14582
14583 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14584
14585 * server.el (server-ensure-safe-dir): Simplify.
14586
14587 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14588
14589 * emacs-lisp/smie.el: Provide smarter auto-filling.
14590 (smie-auto-fill): New function.
14591 (smie-setup): Use it.
14592
14593 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14594
14595 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14596
14597 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14598 (comment-indent): Use it.
14599
14600 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14601
14602 * ses.el: The overall change is to add cell renaming, that is
14603 setting fancy names for cell symbols other than name matching
14604 "\\`[A-Z]+[0-9]+\\'" regexp .
14605 (ses-localvars): Add ses--renamed-cell-symb-list.
14606 (ses-create-cell-variable): New defun.
14607 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14608 (ses-relocate-formula): Relocate formulas only for cells the
14609 symbols of which are not renamed, i.e. symbols whose names do not
14610 match regexp "\\`[A-Z]+[0-9]+\\'".
14611 (ses-relocate-all): Relocate values only for cells the symbols of
14612 which are not renamed.
14613 (ses-load): Create cells variables as the (ses-cell ...) are read,
14614 in order to check row col consistency with cell symbol name only
14615 for cells that are not renamed.
14616 (ses-replace-name-in-formula): New defun.
14617 (ses-rename-cell): New defun.
14618
14619 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14620
14621 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14622 New option (bug#11118).
14623 (perl-calculate-indent): Respect it.
14624
14625 2012-04-17 Glenn Morris <rgm@gnu.org>
14626
14627 * dired-aux.el (dired-mark-read-string): Doc fix.
14628
14629 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14630
14631 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14632 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14633
14634 2012-04-17 Glenn Morris <rgm@gnu.org>
14635
14636 * mouse.el (mouse-drag-track):
14637 * speedbar.el (speedbar-frame-mode):
14638 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14639
14640 2012-04-16 Leo Liu <sdl.web@gmail.com>
14641
14642 * progmodes/python.el: Trivial cleanup.
14643
14644 2012-04-16 Glenn Morris <rgm@gnu.org>
14645
14646 * vc/vc.el (vc-string-prefix-p):
14647 * vc/pcvs-util.el (cvs-string-prefix-p):
14648 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14649 * mpc.el (mpc-string-prefix-p):
14650 Make all of these into obsolete aliases for string-prefix-p.
14651 Update callers.
14652 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14653
14654 * textmodes/two-column.el: Move custom options to the start.
14655 (frame-width): Remove compat definition.
14656 (2C-associate-buffer, 2C-dissociate):
14657 Use with-current-buffer rather than save-excursion.
14658 (2C-dissociate): Force a mode-line update.
14659 (2C-autoscroll): Use ignore-errors.
14660
14661 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14662 Autoload trivia.
14663
14664 * emacs-lisp/cl-extra.el (*random-state*):
14665 Remove unnecessary declaration.
14666
14667 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14668
14669 * play/cookie1.el (cookie-snarf):
14670 Give an explicit error if input file cannot be read.
14671
14672 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14673
14674 * progmodes/perl-mode.el (c-macro-expand):
14675 Remove unnecessary autoload (it is in loaddefs.el).
14676
14677 * textmodes/picture.el (picture-desired-column)
14678 (picture-update-desired-column): Convert comments to doc-strings.
14679 (picture-substitute): Remove function.
14680 (picture-mode-map): Initialize in the defvar.
14681
14682 * woman.el: Remove eval-after-load for tar-mode.
14683 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14684 (woman-tar-extract-file): Autoload it.
14685
14686 * frame.el (automatic-hscrolling): Make this alias obsolete.
14687
14688 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14689
14690 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14691 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14692 (ispell-dictionary-base-alist): Revert to original XEmacs
14693 friendly version for default. [:alpha:] will be added in
14694 `ispell-set-spellchecker-params' if needed.
14695
14696 2012-04-16 Chong Yidong <cyd@gnu.org>
14697
14698 * image.el (imagemagick--file-regexp): New variable.
14699 (imagemagick-register-types): Use it.
14700 (imagemagick-types-inhibit): Add :set function. Allow new value
14701 of t to inhibit all types.
14702
14703 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14704 so we can preload it.
14705
14706 * loadup.el (fboundp): Preload regexp-opt, needed by
14707 imagemagick-register-types.
14708
14709 2012-04-15 Chong Yidong <cyd@gnu.org>
14710
14711 * frame.el (scrolling): Remove nearly unused customization group.
14712
14713 * scroll-all.el (scroll-all-mode): Move to windows group.
14714
14715 2012-04-15 Chong Yidong <cyd@gnu.org>
14716
14717 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14718
14719 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14720
14721 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14722 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14723
14724 2012-04-15 Glenn Morris <rgm@gnu.org>
14725
14726 * simple.el (process-file-side-effects): Doc fix.
14727
14728 2012-04-15 Glenn Morris <rgm@gnu.org>
14729
14730 * international/mule-cmds.el (set-language-environment): Doc fix.
14731
14732 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14733
14734 * server.el (server-auth-key, server-generate-key): Doc fixes.
14735 (server-get-auth-key): Doc fix. Use `string-match-p'.
14736 (server-start): Reflow docstring.
14737
14738 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14739
14740 * server.el (server-generate-key): `called-interactively-p'
14741 requires a parameter.
14742
14743 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14744
14745 * server.el (server-auth-key): New variable.
14746 (server-generate-key, server-get-auth-key): New function.
14747 (server-start): Use the new variable and functions to allow
14748 setting a permanent server key (bug#9423).
14749
14750 2012-04-14 Leo Liu <sdl.web@gmail.com>
14751
14752 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14753
14754 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14755
14756 Spelling fixes.
14757 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14758 Emacs uses American spelling.
14759
14760 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14761
14762 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14763 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14764 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14765 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14766
14767 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14768
14769 * progmodes/which-func.el (which-func-modes): Change default.
14770
14771 2012-04-14 Kim F. Storm <storm@cua.dk>
14772
14773 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14774 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14775
14776 2012-04-14 Chong Yidong <cyd@gnu.org>
14777
14778 * custom.el (custom-theme-set-variables): Doc fix.
14779
14780 2012-04-14 Glenn Morris <rgm@gnu.org>
14781
14782 * international/mule.el (set-auto-coding-for-load): Doc fix.
14783
14784 2012-04-14 Alan Mackenzie <acm@muc.de>
14785
14786 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14787 imenu work again for Objective C Mode. Correct the *-index values,
14788 these having been disturbed by a previous change in 2011-08.
14789
14790 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14791 Correct two search limits.
14792
14793 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14794
14795 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14796
14797 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14798
14799 * international/characters.el: Fix sorting.
14800
14801 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14802
14803 * international/characters.el: Add more missing Latin case pairs.
14804
14805 2012-04-14 Glenn Morris <rgm@gnu.org>
14806
14807 * files.el (dir-locals-set-class-variables): Doc fix.
14808
14809 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14810
14811 * international/characters.el: Add set-case-syntax-pair call for
14812 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14813 counterpart. (Bug#11209)
14814
14815 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14816
14817 2012-04-14 Glenn Morris <rgm@gnu.org>
14818
14819 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14820
14821 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14822
14823 * textmodes/ispell.el (ispell-dictionary-base-alist):
14824 Add data for Hebrew.
14825
14826 2012-04-14 Chong Yidong <cyd@gnu.org>
14827
14828 * net/rcirc.el (rcirc-cmd-quit):
14829 Revert 2012-03-18 change (Bug#11192).
14830
14831 2012-04-14 Glenn Morris <rgm@gnu.org>
14832
14833 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14834
14835 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14836
14837 * minibuffer.el (completion-in-region-mode-map):
14838 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14839
14840 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14841
14842 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14843
14844 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14845
14846 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14847 to allow `C-M-f' and `C-M-b' to move to the nearest path
14848 separator (bug#9511).
14849
14850 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14851
14852 * avoid.el: Require cl when compiling. And also move the
14853 `provide' to the end.
14854
14855 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14856
14857 * avoid.el (mouse-avoidance-banish-position): New variable.
14858 (mouse-avoidance-banish-destination): Use it (bug#10165).
14859
14860 2012-04-13 Leo Liu <sdl.web@gmail.com>
14861
14862 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14863
14864 2012-04-13 Ken Brown <kbrown@cornell.edu>
14865
14866 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14867 this is no longer needed now that cygstart understands file:// URLs.
14868 (browse-url-filename-alist): For the same reason, don't modify
14869 file:// URLs on Cygwin.
14870
14871 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14872
14873 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14874 the region on shift if the binding is already shifted (bug#11221).
14875
14876 2012-04-12 Glenn Morris <rgm@gnu.org>
14877
14878 * mail/mailpost.el: Move to obsolete/.
14879
14880 2012-04-12 Drew Adams <drew.adams@oracle.com>
14881
14882 * imenu.el (imenu--generic-function): Ignore invisible definitions
14883 (bug#10123).
14884
14885 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14886
14887 * hexl.el (hexl-bits): New variable.
14888 (hexl-options): Mention the variable in the doc string.
14889 (hexl-rulerise, hexl-line-displen): New functions.
14890 (hexl-mode): Mention the new variable.
14891 (hexl-mode, hexl-current-address, hexl-current-address):
14892 Use the displen.
14893 (hexl-ascii-start-column): New function.
14894 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14895 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14896
14897 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14898
14899 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14900 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14901 the encoding, as expected by hunspell.
14902
14903 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * battery.el (battery--linux-sysfs-regexp): New const.
14906 (battery-status-function): Use it. Remove yeeloong special case.
14907 (battery-yeeloong-sysfs): Remove.
14908 (battery-echo-area-format): Remove yeeloong special case.
14909
14910 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14911
14912 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14913 Reported by Noah Friedman.
14914
14915 * subr.el (read-passwd): Use read-string.
14916
14917 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14918
14919 * vcursor.el (vcursor-move): Increase the priority of the overlay
14920 (bug#9663).
14921
14922 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14923
14924 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14925 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14926
14927 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14928
14929 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14930 define-minor-mode (bug#10760).
14931
14932 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14933
14934 * progmodes/grep.el (rgrep): Tweak the find command line so
14935 that directories matching `grep-find-ignored-files' won't be
14936 pruned (bug#10351).
14937
14938 2012-04-11 Chong Yidong <cyd@gnu.org>
14939
14940 * startup.el (command-line): Remove support for long-obsolete
14941 variable font-lock-face-attributes.
14942
14943 2012-04-11 Glenn Morris <rgm@gnu.org>
14944
14945 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14946
14947 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 * window.el (window--state-get-1): Obey window-point-insertion-type.
14950
14951 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14952
14953 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14954 to previous function when point is on the first character of a
14955 function. Take care of that in `narrow-to-defun' (bug#6157).
14956
14957 2012-04-11 Glenn Morris <rgm@gnu.org>
14958
14959 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14960 not just file-errors.
14961
14962 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14963 (vc-bzr-sha1): Use internal sha1.
14964
14965 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14966
14967 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14968
14969 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14970
14971 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14972 that start in the middle of the line (bug#10496).
14973
14974 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14975
14976 * battery.el (battery-linux-proc-acpi): Only one battery is
14977 discharged at a time, but that seems to confuse battery.el when
14978 computing `rate-type' for the battery not being discharged
14979 (bug#10332).
14980
14981 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14984
14985 * international/quail.el: Use dolist and simplify.
14986 (quail-define-package, quail-update-keyboard-layout)
14987 (quail-define-rules): Use dolist.
14988 (quail-insert-kbd-layout, quail-get-translation): CSE.
14989
14990 * tmm.el: Use dolist, remove left over hook.
14991 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14992 Use dolist.
14993 (calendar-load-hook): Don't mess with it.
14994
14995 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14996 Use derived-mode-p. Run the diff asynchronously.
14997
14998 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14999
15000 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15001
15002 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15003
15004 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15005 (list-dynamic-libraries--loaded): New function.
15006 (list-dynamic-libraries--refresh): Use it.
15007
15008 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15009
15010 * progmodes/python.el (python-fill-paragraph):
15011 Make python-fill-region in a multiline string work when font-lock is
15012 disabled (bug#7018).
15013
15014 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
15015
15016 * language/european.el (cp775): Add oem/legacy (en)coding on
15017 DOS/MS Windows for the Baltic languages. There are still plenty
15018 of texts written in this encoding/codepage (bug#6519).
15019
15020 2012-04-10 Glenn Morris <rgm@gnu.org>
15021
15022 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15023 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15024
15025 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15026
15027 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15028 next-line "n" and previous-line "p" in order to make recentf more
15029 consistent with ibuffer, dired or org-mode (bug#9387).
15030
15031 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15032
15033 * image.el (put-image): Return the overlay created instead of the
15034 optional input string (bug#7834). Note that this may break code
15035 that is (for some reason or other) depending on `put-image'
15036 returning the string.
15037
15038 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15039
15040 * simple.el (zap-to-char): Allow zapping using input methods
15041 (bug#1580).
15042
15043 * textmodes/fill.el (fill-region): Leave point and mark where they
15044 were before filling (bug#5399).
15045
15046 2012-04-09 Glenn Morris <rgm@gnu.org>
15047
15048 * version.el (emacs-bzr-get-version):
15049 Handle lightweight checkouts of local branches.
15050
15051 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15052
15053 * international/characters.el: Recover lost case pairs. (Bug#11209)
15054
15055 2012-04-09 Chong Yidong <cyd@gnu.org>
15056
15057 * custom.el (custom-variable-p): Return nil for non-symbol
15058 arguments instead of signaling an error.
15059 (user-variable-p): Obsolete alias for custom-variable-p.
15060
15061 * apropos.el (apropos-variable):
15062 * files-x.el (read-file-local-variable):
15063 * simple.el (set-variable):
15064 * woman.el (woman-mini-help):
15065 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15066
15067 2012-04-09 Glenn Morris <rgm@gnu.org>
15068
15069 * startup.el (normal-top-level): Don't look for leim-list.el
15070 in places where it will not be found. (Bug#910)
15071
15072 * international/mule-cmds.el (set-default-coding-systems):
15073 * files.el (normal-mode):
15074 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15075 This function was removed with ucs-tables.el in 2008.
15076
15077 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15078
15079 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15080 ispell-encoding8-command to "-i", without a trailing space.
15081 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15082 separate command-line arguments, to specify the encoding, since
15083 that's how hunspell expects it.
15084
15085 2012-04-08 Glenn Morris <rgm@gnu.org>
15086
15087 * loadup.el: Load bindings before cus-start.
15088 This reduces somewhat the number of "rogue" settings in emacs -Q.
15089
15090 2012-04-07 Glenn Morris <rgm@gnu.org>
15091
15092 * version.el (emacs-bzr-get-version): New function.
15093 (emacs-bzr-version): New variable.
15094 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15095 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15096
15097 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15098
15099 * international/uni-bidi.el, international/uni-category.el:
15100 * international/uni-combining.el, international/uni-decimal.el:
15101 * international/uni-decomposition.el, international/uni-digit.el:
15102 * international/uni-lowercase.el, international/uni-mirrored.el:
15103 * international/uni-name.el, international/uni-numeric.el:
15104 * international/uni-titlecase.el, international/uni-uppercase.el:
15105 Update for Unicode 6.1.
15106
15107 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15108
15109 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15110
15111 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15112
15113 * window.el (shrink-window): Mention the `window-min-height'
15114 variable in the doc string.
15115
15116 2012-04-05 Bastien Guerry <bzg@altern.org>
15117
15118 * color.el (color-lighten-name): Fix typo.
15119
15120 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * server.el (server--on-display-p): New function.
15123 (server--on-display-p): Use it.
15124
15125 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15126
15127 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15128 (bug#11145).
15129
15130 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15131
15132 * comint.el (comint--common-quoted-suffix): Check string boundary
15133 before comparing (bug#11158).
15134 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15135
15136 2012-04-04 Chong Yidong <cyd@gnu.org>
15137
15138 * minibuffer.el (completion-extra-properties): Doc fix.
15139
15140 * subr.el (delayed-warnings-hook): Doc fix.
15141
15142 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15143
15144 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15145 selection (Bug#11159).
15146 (epa-insert-keys): Inform that the default public key will be
15147 exported if no key is selected.
15148
15149 2012-04-04 Richard Stallman <rms@gnu.org>
15150
15151 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15152
15153 2012-04-03 Chong Yidong <cyd@gnu.org>
15154
15155 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15156 mail-insert-file, not its obsolete alias mail-attach-file.
15157
15158 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15159
15160 * notifications.el (notifications-notify): Fix docstring.
15161
15162 2012-04-02 Glenn Morris <rgm@gnu.org>
15163
15164 * emacs-lisp/authors.el (authors-aliases): Another addition.
15165
15166 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15167
15168 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15169 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15170 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15171
15172 2012-04-01 Chong Yidong <cyd@gnu.org>
15173
15174 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15175 Handle root directory properly.
15176 (copy-directory): Caller changed.
15177
15178 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15179 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15180
15181 2012-03-31 Glenn Morris <rgm@gnu.org>
15182
15183 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15184
15185 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15186
15187 * calendar/calendar.el (calendar-window-list)
15188 (calendar-hide-window): Restore. (Bug#11140)
15189 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15190
15191 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15192
15193 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15194
15195 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15196 Check if file is a symlink (Bug#10489).
15197
15198 * files.el (copy-directory): Likewise.
15199
15200 2012-03-30 Chong Yidong <cyd@gnu.org>
15201
15202 * image.el (imagemagick-types-inhibit)
15203 (imagemagick-register-types): Doc fix.
15204
15205 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15206
15207 * textmodes/ispell.el (ispell-get-extended-character-mode):
15208 Disable extended-char-mode for hunspell. hunspell does not support it
15209 and treats ~word as ordinary words in pipe mode.
15210
15211 2012-03-30 Glenn Morris <rgm@gnu.org>
15212
15213 * tutorial.el (help-with-tutorial): Ensure local variables don't
15214 happen to make the buffer read-only. (Bug#11127)
15215
15216 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15217
15218 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15219 (perl-calculate-indent): Return `noindent' in strings.
15220
15221 2012-03-28 Sam Steingold <sds@gnu.org>
15222
15223 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15224 instead of the broken adhockery which does not prevent calendar
15225 buffers from being displayed at random after exit.
15226 (calendar-window-list, calendar-hide-window): Remove the broken
15227 adhockery.
15228
15229 2012-03-28 Glenn Morris <rgm@gnu.org>
15230
15231 * replace.el (query-replace-map): Doc fix.
15232
15233 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15234
15235 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15236 contents. (Bug#11109)
15237
15238 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15239
15240 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15241 (bug#11077).
15242 (avl-tree--check, avl-tree--check-node): New funs.
15243
15244 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15245
15246 * window.el (switch-to-visible-buffer): New option.
15247 (switch-to-prev-buffer, switch-to-next-buffer):
15248 Observe switch-to-visible-buffer. Make sure that checking for a window
15249 showing a buffer already is done on the same frame.
15250
15251 2012-03-27 Glenn Morris <rgm@gnu.org>
15252
15253 * startup.el (mail-host-address): Doc fix.
15254
15255 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15256
15257 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15258 than 197 variables.
15259
15260 2012-03-26 Ami Fischman <ami@fischman.org>
15261
15262 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15263
15264 2012-03-26 Glenn Morris <rgm@gnu.org>
15265
15266 * files.el (save-buffers-kill-emacs): Doc fix.
15267
15268 * startup.el (normal-top-level, command-line, command-line-1):
15269 Give them doc strings.
15270
15271 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15272
15273 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15274 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15275
15276 2012-03-25 Chong Yidong <cyd@gnu.org>
15277
15278 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15279 theme if it was previously enabled before (Bug#11031).
15280
15281 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15282 spec with custom-face-get-current-spec if its :shown-value is not
15283 determined yet (Bug#9337).
15284 (customize-create-theme, custom-theme-revert): Doc fixes.
15285
15286 * button.el (button-at): Minor addition to docstring.
15287
15288 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15289
15290 * vc/vc.el (vc-merge): Fix a prompt.
15291
15292 2012-03-24 Chong Yidong <cyd@gnu.org>
15293
15294 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15295 point (Bug#9623).
15296
15297 * button.el (button-at): Minor addition to docstring.
15298
15299 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * newcomment.el (comment-choose-indent): No space after BOL.
15302
15303 2012-03-22 Sam Steingold <sds@gnu.org>
15304
15305 * window.el (switch-to-prev-buffer): Revert last patch because the
15306 bug turned out to be an advertised feature (Elisp manual 28.14).
15307
15308 2012-03-22 Glenn Morris <rgm@gnu.org>
15309
15310 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15311 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15312
15313 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15314
15315 * net/network-stream.el (network-stream-open-starttls): Make error
15316 message under Windows be less misleading.
15317
15318 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15319
15320 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15321 understands (bug#9942).
15322
15323 2012-03-22 Chong Yidong <cyd@gnu.org>
15324
15325 * simple.el (end-of-visible-line): Handle return value of
15326 next-single-property-change properly (Bug#9371).
15327
15328 2012-03-22 Kenichi Handa <handa@m17n.org>
15329
15330 * international/quail.el (quail-insert-kbd-layout): Fix previous
15331 change. To avoid unwanted bidi reordering, use
15332 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15333
15334 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15335
15336 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15337 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15338 (ruby-beginning-of-indent): Be more careful with the difference
15339 between word-boundary and symbol boundary.
15340 (ruby-mode-syntax-table): Make : a symbol constituent.
15341
15342 2012-03-21 Andreas Politz <politza@fh-trier.de>
15343
15344 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15345
15346 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15347
15348 * progmodes/etags.el (tags-completion-at-point-function):
15349 Improve last fix.
15350
15351 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15352
15353 2012-03-21 Sam Steingold <sds@gnu.org>
15354
15355 * progmodes/etags.el (tags-completion-at-point-function):
15356 Avoid the error when point is inside the pattern.
15357
15358 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15359
15360 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15361 line (Bug#10855).
15362
15363 2012-03-21 Drew Adams <drew.adams@oracle.com>
15364
15365 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15366
15367 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15368
15369 * ido.el (ido-set-current-directory, ido-read-internal)
15370 (ido-choose-completion-string, ido-completion-help): Handle nil
15371 value of ido-completion-buffer (Bug#11008).
15372
15373 2012-03-21 Sam Steingold <sds@gnu.org>
15374
15375 * window.el (switch-to-prev-buffer): Do not switch to a visible
15376 window previous buffer, just like with the frame previous buffers.
15377
15378 2012-03-21 Chong Yidong <cyd@gnu.org>
15379
15380 * faces.el (make-face, make-empty-face, copy-face):
15381 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15382 Doc fixes.
15383
15384 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15385
15386 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15387 (widget-complete): Remove broken use of it.
15388
15389 2012-03-20 Chong Yidong <cyd@gnu.org>
15390
15391 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15392 Use string-width and truncate-string-width to handle arbitrary
15393 characters.
15394
15395 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15396
15397 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15398 to draw rectangles, not squares. (Regression introduced by revno
15399 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15400
15401 2012-03-18 Chong Yidong <cyd@gnu.org>
15402
15403 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15404 it is not yet defined (for temacs).
15405
15406 2012-03-18 Leo Liu <sdl.web@gmail.com>
15407
15408 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15409 prefix.
15410
15411 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15412
15413 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15414 (ispell-choices-win-default-height, ispell-silently-savep)
15415 (ispell-dictionary-alist, ispell-encoding8-command)
15416 (ispell-check-version, ispell-aspell-find-dictionary)
15417 (ispell-valid-dictionary-list, ispell-words-keyword)
15418 (ispell-get-word, ispell-internal-change-dictionary)
15419 (ispell-region, ispell-skip-region-list)
15420 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15421 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15422 (ispell-message-text-end, ispell-message)
15423 (ispell-buffer-local-parsing): Doc fix.
15424
15425 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15426
15427 * htmlfontify.el: Add support for code block fontification for ODT
15428 export (Bug #9914).
15429 (hfy-optimisations): Define new option
15430 `body-text-only'
15431 (hfy-fontify-buffer): Honor above setting.
15432 (hfy-begin-span, hfy-end-span): New routines factored out form
15433 `hfy-fontify-buffer'.
15434 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15435 that permit insertion of custom tags.
15436 (hfy-fontify-buffer): Use above handlers.
15437 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15438 (hfy-face-to-css): Re-defined to be a variable.
15439 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15440 over multiple runs. This is made possible by having the caller let
15441 bind a special variable `hfy-user-sheet-assoc'.
15442 (htmlfontify-string): New defun.
15443 (hfy-compile-face-map): Make sure that the last char in the
15444 buffer is correctly fontified.
15445 (hfy-face-resolve-face): Whitespace only change.
15446
15447 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15448
15449 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15450 message more clear.
15451
15452 2012-03-16 Leo Liu <sdl.web@gmail.com>
15453
15454 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15455
15456 2012-03-16 Alan Mackenzie <acm@muc.de>
15457
15458 Further optimize the handling of large macros.
15459
15460 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15461 limit to a call of `c-literal-limits'.
15462 (c-determine-+ve-limit): New function.
15463 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15464 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15465 In CASE 5B, restrict a search limit to 500.
15466 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15467
15468 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15469 Restrict macro bounds to +-500 from after-change's BEG END.
15470
15471 2012-03-16 Leo Liu <sdl.web@gmail.com>
15472
15473 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15474
15475 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15476
15477 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15478 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15479
15480 2012-03-16 Glenn Morris <rgm@gnu.org>
15481
15482 * view.el (view-buffer, view-buffer-other-window)
15483 (view-buffer-other-frame): Doc fixes re special mode-class.
15484
15485 * subr.el (eval-after-load): If named feature is provided not from
15486 a file, run after-load forms. (Bug#10946)
15487
15488 * calendar/calendar.el (calendar-insert-at-column):
15489 Handle non-unit-width characters a bit better. (Bug#10978)
15490
15491 2012-03-15 Chong Yidong <cyd@gnu.org>
15492
15493 * emacs-lisp/ring.el (ring-extend): New function.
15494 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15495
15496 * comint.el (comint-read-input-ring)
15497 (comint-add-to-input-history): Grow comint-input-ring lazily.
15498
15499 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15500
15501 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15502 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15503
15504 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15505 (imenu-add-to-menubar): Don't add a redundant index.
15506 (imenu-update-menubar): Handle a dynamically composed keymap.
15507
15508 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15509
15510 * mail/sendmail.el (mail-encode-header):
15511 Bind rfc2047-encode-encoded-words to nil.
15512
15513 2012-03-13 Glenn Morris <rgm@gnu.org>
15514
15515 * calendar/calendar.el (calendar-string-spread):
15516 Handle non-unit-width characters a bit better. (Bug#10978)
15517
15518 2012-03-13 Leo Liu <sdl.web@gmail.com>
15519
15520 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15521 directory and file as argument (Bug#10822).
15522
15523 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15524
15525 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15526 For dynamically generated code, follow $PC.
15527 (gdb-disassembly-handler-custom): Handle no function name case.
15528
15529 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15530
15531 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15532 * emulation/ws-mode.el (ws-query-replace):
15533 * sort.el (sort-regexp-fields):
15534 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15535
15536 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * dabbrev.el: Fix cycle completion order (bug#10963).
15539 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15540 (dabbrev-completion): Don't use an obarray; provide
15541 a cycle-sort-function.
15542
15543 2012-03-12 Leo Liu <sdl.web@gmail.com>
15544
15545 * simple.el (kill-new): Use equal-including-properties for comparison.
15546 (kill-do-not-save-duplicates): Doc fix.
15547
15548 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * dabbrev.el: Fix cycle completion (bug#10963).
15551 Use lexical binding and wrap to 80 columns.
15552 (dabbrev-completion): Delay computing the list of completions.
15553
15554 2012-03-12 Kenichi Handa <handa@m17n.org>
15555
15556 * international/quail.el (quail-insert-kbd-layout): Surround each
15557 row by LRO and PDF instead of inserting many LRMs. Pad the left
15558 and right of each non-spacing marks. Insert invisible space
15559 between lower and upper characters to prevent composition.
15560
15561 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * minibuffer.el (minibuffer-complete): Don't get confused when the
15564 function is run twice via different commands (bug#10958).
15565 (complete-with-action): Fix docstring.
15566
15567 2012-03-12 Chong Yidong <cyd@gnu.org>
15568
15569 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15570 (nxml-completion-at-point-function): New function.
15571 (nxml-mode): Use it.
15572 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15573
15574 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15575 Load generated autoloads file before byte compiling (Bug#10970).
15576 (package--make-autoloads-and-compile): New helper fun.
15577
15578 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15579
15580 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15581
15582 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15583
15584 * autorevert.el (auto-revert-handler): Ensure, that
15585 file-readable-p is applied only for local files or in
15586 auto-revert-tail-mode.
15587
15588 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15589
15590 * server.el (server-eval-at): Handle non-tcp connections.
15591 Decode result string.
15592
15593 * server.el (server-msg-size): New constant.
15594 (server-reply-print): New function.
15595 (server-eval-and-print): Use it.
15596 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15597 Handle -print-nonl.
15598
15599 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15600
15601 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15602 (Bug#10987).
15603
15604 2012-03-11 Chong Yidong <cyd@gnu.org>
15605
15606 * simple.el (goto-line): Doc fix (Bug#9938).
15607
15608 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15609
15610 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15611 when finished (Bug#10963).
15612
15613 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15614
15615 * window.el (split-window-below): Fix bug in case where
15616 split-window-keep-point is nil (Bug#10971).
15617
15618 2012-03-11 Juri Linkov <juri@jurta.org>
15619
15620 * replace.el (replace-highlight): Set isearch-word to nil
15621 unconditionally. (Bug#10887)
15622
15623 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15624
15625 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15626 mairix-replace-illegal-chars; all callers changed. Don't remove
15627 ^, ~, and = characters: they are meaningful in mairix search specs.
15628 (mairix-widget-create-query): Add usage information about mairix
15629 search forms: negating words, searching for substrings, etc.
15630
15631 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15632
15633 * international/fontset.el (font-encoding-alist): Add an entry for
15634 ksx1001 (Bug#5667).
15635
15636 2012-03-10 Richard Stallman <rms@gnu.org>
15637
15638 * mail/sendmail.el (mail-encode-header):
15639 Set rfc2047-encode-encoded-words.
15640
15641 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15642
15643 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15644 view buffer means not swapped.
15645 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15646 (rmail-write-region-annotate): Error if real text has disappeared.
15647
15648 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15649
15650 2012-03-10 Chong Yidong <cyd@gnu.org>
15651
15652 * emulation/cua-rect.el (cua--init-rectangles):
15653 * emulation/cua-base.el (cua--init-keymaps):
15654 Add delete-forward-char to remappings (Bug#9666).
15655
15656 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15657
15658 * speedbar.el (speedbar-unhighlight-one-tag-line):
15659 Avoid unhighlighting due to frame switching (Bug#10275).
15660
15661 2012-03-10 Chong Yidong <cyd@gnu.org>
15662
15663 * minibuffer.el (completion-in-region, completion-help-at-point):
15664 Give the completion field overlay a high priority (Bug#6830).
15665
15666 * dired.el (dired-goto-file): Recognize absolute file name
15667 listings (Bug#7126).
15668 (dired-goto-file-1): New helper function.
15669 (dired-toggle-read-only): Inhibit warnings.
15670
15671 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15672
15673 * net/dbus.el (dbus-property-handler): Return empty array if
15674 there are no properties.
15675
15676 2012-03-09 Leo Liu <sdl.web@gmail.com>
15677
15678 * savehist.el (savehist-printable): Stricter check for string
15679 value (Bug#10937).
15680
15681 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15682
15683 * mail/smtpmail.el (smtpmail-send-it):
15684 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15685 valid mbox format.
15686
15687 2012-03-09 Glenn Morris <rgm@gnu.org>
15688
15689 * files.el (dir-locals-find-file):
15690 Don't check result is regular, readable.
15691 (dir-locals-read-from-file): Demote errors.
15692
15693 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15694
15695 * international/quail.el (quail-insert-kbd-layout):
15696 Insert invisible LRM characters before each character in a keyboard
15697 layout cell, to prevent their reordering by bidi display engine.
15698 For details, see the discussion in
15699 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15700
15701 2012-03-08 Alan Mackenzie <acm@muc.de>
15702
15703 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15704 the starting position; make it extend the marked region when
15705 invoked repeatedly - all under appropriate circumstances.
15706 Fixes bugs #5525, #10906.
15707
15708 2012-03-08 Glenn Morris <rgm@gnu.org>
15709
15710 * files.el (locate-dominating-file, dir-locals-find-file):
15711 Undo 2012-03-06 change.
15712
15713 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15714
15715 * international/quail.el (quail-help):
15716 Force bidi-paragraph-direction be left-to-right. See discussion in
15717 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15718 for the reason.
15719
15720 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15721
15722 Avoid superfluous registering of signals. (Bug#10807)
15723
15724 * notifications.el (notifications-on-action-object)
15725 (notifications-on-close-object): New defvars.
15726 (notifications-on-action-signal, notifications-on-closed-signal):
15727 Unregister the signal if not needed any longer.
15728 (notifications-notify): Register `notifications-action-signal' or
15729 `notifications-closed-signal', if :on-action or :on-close has been
15730 passed as argument.
15731
15732 2012-03-07 Chong Yidong <cyd@gnu.org>
15733
15734 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15735 non-X platforms.
15736
15737 2012-03-06 Glenn Morris <rgm@gnu.org>
15738
15739 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15740 (x-disown-selection-internal, x-get-selection-internal):
15741 Doc fix (add arglist signatures). (Bug#10783)
15742
15743 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15744
15745 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15746 Handle breakpoints with no "type".
15747
15748 2012-03-06 Glenn Morris <rgm@gnu.org>
15749
15750 * files.el (locate-dominating-file): Add optional predicate argument.
15751 (dir-locals-find-file): Make use of above change.
15752
15753 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15754
15755 * info.el (Info-insert-dir): Also try "dir.gz".
15756
15757 2012-03-06 Glenn Morris <rgm@gnu.org>
15758
15759 * files.el (dir-locals-find-file):
15760 Ignore non-readable or non-regular files. (Bug#10928)
15761
15762 * files.el (locate-dominating-file): Doc fix.
15763
15764 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15765
15766 * calendar/calendar.el (calendar-set-mode-line):
15767 `getenv' returns a string. (Bug#10951)
15768
15769 2012-03-05 Leo Liu <sdl.web@gmail.com>
15770
15771 * simple.el (backward-delete-char-untabify): Constrain point to
15772 field (Bug#10939).
15773
15774 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15775
15776 2012-03-05 Chong Yidong <cyd@gnu.org>
15777
15778 * simple.el (count-words): If called from Lisp, return the word
15779 count, for symmetry with `count-lines'. Arglist changed.
15780 (count-words--message): Args changed. Consolidate counting code
15781 from count-words and count-words-region.
15782 (count-words-region): Caller changed.
15783 (count-lines-region): Make it an obsolete alias.
15784
15785 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15786
15787 * saveplace.el (save-place-to-alist)
15788 (save-place-ignore-files-regexp): Allow value nil to disable this
15789 feature.
15790
15791 2012-03-04 Chong Yidong <cyd@gnu.org>
15792
15793 * faces.el (face-spec-reset-face): For the default face, reset the
15794 attributes to default values (Bug#10748).
15795
15796 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15797
15798 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15799 previous patch: Check `message-send-mail-function', and not the
15800 default function (bug#10897).
15801
15802 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15803
15804 * notifications.el (notifications-on-action-signal)
15805 (notifications-on-closed-signal): Check for unique service name of
15806 incoming event. Fix error in removing entry.
15807 (top): Register for signals with wildcard service name.
15808 (notifications-notify): Use daemon unique service name for map entries.
15809
15810 2012-03-04 Chong Yidong <cyd@gnu.org>
15811
15812 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15813
15814 2012-03-04 Glenn Morris <rgm@gnu.org>
15815
15816 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15817 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15818 (expand-abbrev, define-abbrev-table): Doc fixes.
15819
15820 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15821
15822 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15823 `message-default-send-mail-function' and not `send-mail-function'
15824 when doing the prompting for `sendmail-query-once' before sending
15825 in Message buffers (bug#10897).
15826
15827 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15828 This is inconsistent with all the other stream functions, which leave
15829 the setting up to the higher levels (if so wanted) (bug#10931).
15830
15831 2012-03-02 Alan Mackenzie <acm@muc.de>
15832
15833 Depessimize the handling of very large macros.
15834
15835 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15836 (c-macro-cache-syntactic): New variables to implement a one
15837 element macro cache.
15838 (c-invalidate-macro-cache): New function.
15839 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15840 Adapt to use the new cache.
15841 (c-state-safe-place): Use better the cache of safe positions.
15842 (c-state-semi-nonlit-pos-cache)
15843 (c-state-semi-nonlit-pos-cache-limit):
15844 New variables for...
15845 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15846 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15847 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15848 Use c-state-semi-safe-place.
15849
15850 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15851 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15852
15853 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15854
15855 * jka-compr.el (jka-compr-call-process):
15856 Apply `file-accessible-directory-p' only when the default directory is
15857 not remote.
15858
15859 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15860
15861 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15862 access of FILE2, if FILE1 does not exist.
15863
15864 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15865 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15866
15867 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15868 Add "PAGER=" to `process-environment'.
15869
15870 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15871
15872 * progmodes/sql.el: Bug fix
15873 (sql-get-login-ext): Save login values in globals.
15874 (sql-get-login): Use new version of `sql-get-login-ext'.
15875 (sql-interactive-mode): Set global `sql-connection' to nil.
15876 (sql-connect): Set global values for connection.
15877 (sql-product-interactive): Save global values as buffer local.
15878
15879 2012-02-29 Leo Liu <sdl.web@gmail.com>
15880
15881 * abbrev.el (define-abbrevs): Reset sys to nil.
15882
15883 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15884
15885 * files.el (file-equal-p): Rename from `files-equal-p'.
15886 Return nil when one or both files don't exist.
15887 (file-subdir-of-p): Now only top directory must exists,
15888 return nil if it doesn't.
15889 (copy-directory): No need to test with `file-subdir-of-p' after
15890 creating dir.
15891 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15892 to `file-equal-p'.
15893
15894 2012-02-28 Glenn Morris <rgm@gnu.org>
15895
15896 * shell.el (shell-mode):
15897 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15898 * play/landmark.el (landmark-font-lock-face-O):
15899 * play/handwrite.el (handwrite):
15900 * play/gomoku.el (gomoku-O):
15901 * net/browse-url.el (browse-url-browser-display):
15902 * international/mule.el (define-charset):
15903 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15904 * filesets.el (filesets-find-file-delay):
15905 * eshell/em-xtra.el (eshell-xtra):
15906 * eshell/em-unix.el (eshell-grep):
15907 * emulation/viper.el (viper-mode):
15908 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15909 * emacs-lisp/easymenu.el (easy-menu-define):
15910 * calendar/timeclock.el (timeclock-use-display-time):
15911 * bs.el (bs-mode):
15912 * bookmark.el (bookmark-save-flag):
15913 Doc fix (standardize possessive apostrophe usage).
15914
15915 2012-02-27 Chong Yidong <cyd@gnu.org>
15916
15917 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15918 Fix key-binding lookup for ESC key (Bug#9146).
15919
15920 * font-lock.el (font-lock-specified-p): Rename from
15921 font-lock-spec-present. Callers changed.
15922
15923 2012-02-27 Daniel Hackney <dan@haxney.org>
15924
15925 * emacs-lisp/package.el (package-compute-transaction):
15926 Handle holding a package version to t in package-load-list.
15927
15928 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15929
15930 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15931 (tramp-get-inode, tramp-get-device): Use cached values.
15932
15933 2012-02-26 Alan Mackenzie <acm@muc.de>
15934
15935 Check there is a font-lock specification before doing initial
15936 fontification.
15937
15938 * font-core.el (font-lock-mode): Move the conditional from
15939 :after-hook to font-lock-initial-fontify.
15940 (font-lock-default-function): Move the check for a specification
15941 to font-lock-spec-present.
15942
15943 * font-lock.el (font-lock-initial-fontify): Call ...
15944 (font-lock-spec-present): New function.
15945
15946 2012-02-26 Jim Blandy <jimb@red-bean.com>
15947
15948 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15949 (gdb-send): Apply it to the operand of the '-interpreter-exec
15950 console' command, so that we can pass arguments with (say) quotes
15951 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15952
15953 2012-02-26 Chong Yidong <cyd@gnu.org>
15954
15955 * help-fns.el (describe-function-1): Clarify description of
15956 remapping (Bug#10844).
15957
15958 * files.el (files-equal-p): Doc fix.
15959 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15960 and quit the loop once a mismatch is found.
15961
15962 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15963
15964 * bs.el (bs--show-with-configuration): Don't throw an error
15965 if the window cannot be split; otherwise, subsequent calls to
15966 bs-show fail, restoring a stale window config. (Bug#10882)
15967
15968 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15969
15970 * term/ns-win.el (global-map): Bind ns-drag-file to
15971 ns-find-file (Bug#5855, Bug#10050).
15972
15973 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15974
15975 * calendar/parse-time.el (parse-time-string): Allow extractor to
15976 return nil.
15977
15978 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15979
15980 * net/tramp.el (tramp-file-name-for-operation):
15981 Add `files-equal-p' and `file-subdir-of-p'.
15982
15983 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15984 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15985 Add COPY-CONTENTS argument.
15986
15987 2012-02-25 Chong Yidong <cyd@gnu.org>
15988
15989 Add custom groups for VC backends, for consistency with vc-bzr.
15990
15991 * vc/vc-arch.el (vc-arch):
15992 * vc/vc-cvs.el (vc-cvs):
15993 * vc/vc-git.el (vc-git):
15994 * vc/vc-hg.el (vc-hg):
15995 * vc/vc-mtn.el (vc-mtn):
15996 * vc/vc-rcs.el (vc-rcs):
15997 * vc/vc-sccs.el (vc-sccs):
15998 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15999 All relevant defcustoms reassigned.
16000
16001 2012-02-25 Chong Yidong <cyd@gnu.org>
16002
16003 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16004
16005 * term/x-win.el (x-initialize-window-system): Reduce default for
16006 x-selection-timeout to 5 seconds (Bug#8869).
16007
16008 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16009
16010 * files.el (files-equal-p, file-subdir-of-p): New functions.
16011 (copy-directory): Error when trying to copy a directory on itself.
16012 Add missing copy-contents arg to tramp handler.
16013 * dired-aux.el (dired-copy-file-recursive): Same.
16014 (dired-create-files): Modify destination when source is equal to
16015 dest when copying files.
16016 Return also when dest is a subdir of source. (Bug#10489)
16017
16018 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16019
16020 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16021 (Bug#10874)
16022
16023 2012-02-23 Alan Mackenzie <acm@muc.de>
16024
16025 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16026 parameter "after-hook:" to allow the expansion to run code after
16027 the execution of the mode hooks.
16028
16029 * font-lock.el (font-lock-initial-fontify): New function extracted
16030 from font-lock-mode-internal.
16031
16032 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16033 :after-hook.
16034
16035 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16038 (completion--cache-all-sorted-completions): New function.
16039 (completion-all-sorted-completions): Use it.
16040 (completion--do-completion, minibuffer-force-complete):
16041 Use it to re-instate the flush hook.
16042
16043 * icomplete.el (icomplete-completions): Replace last fix with a better
16044 one (bug#10850).
16045
16046 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16047
16048 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16049 when it might call us back infinitely (bug#10797).
16050
16051 2012-02-23 Glenn Morris <rgm@gnu.org>
16052
16053 * minibuffer.el (completion-category-overrides): Doc fix.
16054
16055 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16056
16057 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16058 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16059
16060 2012-02-23 Glenn Morris <rgm@gnu.org>
16061
16062 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16063 (authors-obsolete-files-regexps, authors-ignored-files)
16064 (authors-ambiguous-files, authors-renamed-files-alist):
16065 Add more entries.
16066
16067 2012-02-23 Juri Linkov <juri@jurta.org>
16068
16069 * isearch.el (isearch-occur): Sync interactive spec with occur's
16070 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16071
16072 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16073
16074 2012-02-22 Juri Linkov <juri@jurta.org>
16075
16076 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16077 (ucs-insert): Doc fix. Check for hex digits in the string.
16078 Don't display `nil' in the error message. (Bug#10857)
16079
16080 2012-02-22 Alan Mackenzie <acm@muc.de>
16081
16082 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16083
16084 2012-02-22 Glenn Morris <rgm@gnu.org>
16085
16086 * ffap.el (ffap-c-path):
16087 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16088
16089 2012-02-22 Chong Yidong <cyd@gnu.org>
16090
16091 * custom.el (load-theme): Doc fix.
16092
16093 2012-02-22 Glenn Morris <rgm@gnu.org>
16094
16095 * dired-x.el (dired-guess-shell-alist-default):
16096 Remove escape sequences from nroff output. (Bug#172)
16097
16098 2012-02-21 Glenn Morris <rgm@gnu.org>
16099
16100 * vc/emerge.el (emerge-defvar-local):
16101 Set `permanent-local' property rather than unused `preserved'.
16102
16103 * textmodes/picture.el (picture-delete-char): New alias.
16104 (picture-mode-map): Use it. (Bug#10860)
16105 (picture-mode): Doc fix.
16106
16107 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16108
16109 * newcomment.el (uncomment-region-default): Remove unused binding.
16110
16111 2012-02-21 Glenn Morris <rgm@gnu.org>
16112
16113 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16114 (picture-self-insert, picture-tab-chars): Doc fix.
16115 (picture-mode-map): Fix C-a, C-e.
16116
16117 2012-02-20 Glenn Morris <rgm@gnu.org>
16118
16119 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16120
16121 2012-02-20 Leo Liu <sdl.web@gmail.com>
16122
16123 * icomplete.el (icomplete-completions): Check FROM arg before
16124 passing to substring (Bug#10850).
16125
16126 2012-02-19 Chong Yidong <cyd@gnu.org>
16127
16128 * comint.el: Require ansi-color.
16129 (comint-output-filter-functions): Add ansi-color-process-output.
16130
16131 * ansi-color.el: Don't set comint-output-filter-functions; it is
16132 now in the initial value defined in comint.el.
16133 (ansi-color-apply-face-function): New variable.
16134 (ansi-color-apply-on-region): Use it.
16135 (ansi-color-apply-overlay-face): New function.
16136
16137 * shell.el (shell): No need to require ansi-color.
16138 (shell-mode): Use ansi-color-apply-face-function to highlight
16139 color escapes using font-lock-face property (Bug#10835).
16140
16141 2012-02-19 Chong Yidong <cyd@gnu.org>
16142
16143 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16144 mode-line formats (Bug#10839).
16145
16146 2012-02-18 Glenn Morris <rgm@gnu.org>
16147
16148 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16149
16150 * mail/undigest.el (unforward-rmail-message): Doc fix.
16151
16152 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16153
16154 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16155
16156 * international/characters.el (script-list): Sync with the latest
16157 Unicode Character Database.
16158
16159 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16160
16161 * international/titdic-cnv.el: Remove duplicate coding tag.
16162 * language/cham.el: Likewise.
16163 * language/tai-viet.el: Likewise.
16164
16165 2012-02-18 Glenn Morris <rgm@gnu.org>
16166
16167 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16168 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16169 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16170 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16171 * calendar/holidays.el (holiday-bahai-holidays)
16172 (calendar-holidays, list-holidays):
16173 Use utf-8 Bahá'í in doc-strings, menus, etc.
16174
16175 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16176
16177 * saveplace.el (save-place-ignore-files-regexp): New variable
16178 allowing for excluding files from saving their location of point.
16179 The default value matches the temporary commit message editing
16180 files from Git, SVN, Bazaar, and Mercurial.
16181 (save-place-to-alist): Use it.
16182
16183 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16184 Stefan Monnier <monnier@iro.umontreal.ca>
16185
16186 * newcomment.el (uncomment-region-default): Don't leave extra space
16187 when an arg is provided (bug#8150).
16188
16189 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16190
16191 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16192
16193 2012-02-17 Glenn Morris <rgm@gnu.org>
16194
16195 * net/socks.el: Require network-stream. (Bug#10599)
16196
16197 2012-02-17 Kenichi Handa <handa@m17n.org>
16198
16199 * international/charprop.el:
16200 * international/uni-name.el:
16201 * international/uni-old-name.el:
16202 * international/uni-comment.el: Regenerate.
16203
16204 2012-02-16 Glenn Morris <rgm@gnu.org>
16205
16206 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16207 Interactively in calendar buffer, give an error if not on a date.
16208
16209 2012-02-15 Glenn Morris <rgm@gnu.org>
16210
16211 * shell.el (shell-delimiter-argument-list):
16212 Revert 2011-02-17 change. (Bug#8027)
16213
16214 2012-02-15 Chong Yidong <cyd@gnu.org>
16215
16216 * minibuffer.el (completion-at-point-functions): Doc fix.
16217
16218 * custom.el (defcustom): Doc fix; note use of defvar.
16219
16220 2012-02-15 Glenn Morris <rgm@gnu.org>
16221
16222 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16223 Doc fixes.
16224
16225 2012-02-14 Glenn Morris <rgm@gnu.org>
16226
16227 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16228
16229 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16230
16231 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16232 way the ports list is computed.
16233 (smtpmail-query-smtp-server): Prompt the user for a port number if
16234 we can't connect to any of the standard ports (bug#10810).
16235
16236 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16237
16238 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16239
16240 2012-02-13 Glenn Morris <rgm@gnu.org>
16241
16242 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16243
16244 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16245
16246 * net/gnutls.el (gnutls-trustfiles): New variable.
16247 (gnutls-negotiate): Use it.
16248
16249 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16250
16251 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16252 does its stuff if Gnus is running.
16253
16254 2012-02-13 Alan Mackenzie <acm@muc.de>
16255
16256 Fix a loop in c-set-fl-decl-start.
16257
16258 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16259 c-backward-syntactic-ws actually moves backwards.
16260
16261 2012-02-13 Leo Liu <sdl.web@gmail.com>
16262
16263 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16264 beginning so that all \C-o chars are removed.
16265
16266 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16267
16268 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16269
16270 2012-02-12 Alan Mackenzie <acm@muc.de>
16271
16272 Fix infinite loop with long macros.
16273 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16274
16275 2012-02-12 Chong Yidong <cyd@gnu.org>
16276
16277 * window.el (display-buffer): Doc fix (Bug#10785).
16278
16279 2012-02-12 Glenn Morris <rgm@gnu.org>
16280
16281 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16282 (x-disown-selection-internal, x-get-selection-internal):
16283 Sync docs with the xselect.c versions.
16284
16285 * allout-widgets.el: Add missing license notice.
16286
16287 2012-02-11 Glenn Morris <rgm@gnu.org>
16288
16289 * select.el (x-get-selection-internal, x-own-selection-internal)
16290 (x-disown-selection-internal):
16291 * x-dnd.el (x-get-selection-internal): Update declarations.
16292
16293 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16294
16295 * window.el (window-sides-slots):
16296 * tool-bar.el (tool-bar-position):
16297 * term/xterm.el (xterm-extra-capabilities):
16298 * ses.el (ses-self-reference-early-detection):
16299 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16300 (verilog-auto-wire-type)
16301 (verilog-auto-delete-trailing-whitespace)
16302 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16303 (verilog-auto-tieoff-declaration):
16304 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16305 (sql-oracle-statement-starters, sql-oracle-scan-on):
16306 * progmodes/prolog.el (prolog-align-comments-flag)
16307 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16308 (prolog-left-indent-regexp, prolog-paren-indent-p)
16309 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16310 (prolog-types, prolog-mode-specificators)
16311 (prolog-determinism-specificators, prolog-directives)
16312 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16313 (prolog-electric-dot-flag)
16314 (prolog-electric-dot-full-predicate-template)
16315 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16316 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16317 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16318 (prolog-program-switches, prolog-prompt-regexp)
16319 (prolog-debug-on-string, prolog-debug-off-string)
16320 (prolog-trace-on-string, prolog-trace-off-string)
16321 (prolog-zip-on-string, prolog-zip-off-string)
16322 (prolog-use-standard-consult-compile-method-flag)
16323 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16324 (prolog-imenu-max-lines, prolog-info-predicate-index)
16325 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16326 (prolog-char-quote-workaround):
16327 * progmodes/cc-vars.el (c-defun-tactic):
16328 * net/tramp.el (tramp-encoding-command-interactive)
16329 (tramp-local-end-of-line):
16330 * net/soap-client.el (soap-client):
16331 * net/netrc.el (netrc-file):
16332 * net/gnutls.el (gnutls):
16333 * minibuffer.el (completion-category-overrides)
16334 (completion-cycle-threshold)
16335 (completion-pcm-complete-word-inserts-delimiters):
16336 * man.el (Man-name-local-regexp):
16337 * mail/feedmail.el (feedmail-display-full-frame):
16338 * international/characters.el (glyphless-char-display-control):
16339 * eshell/em-ls.el (eshell-ls-date-format):
16340 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16341 (lisp-lambda-list-keyword-parameter-indentation)
16342 (lisp-lambda-list-keyword-parameter-alignment):
16343 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16344 * dired-x.el (dired-omit-verbose):
16345 * cus-theme.el (custom-theme-allow-multiple-selections):
16346 * calc/calc.el (calc-highlight-selections-with-faces)
16347 (calc-lu-field-reference, calc-lu-power-reference)
16348 (calc-note-threshold):
16349 * battery.el (battery-mode-line-limit):
16350 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16351 (archive-7z-update):
16352 * allout.el (allout-prefixed-keybindings)
16353 (allout-unprefixed-keybindings)
16354 (allout-inhibit-auto-fill-on-headline)
16355 (allout-flattened-numbering-abbreviation):
16356 * allout-widgets.el (allout-widgets-auto-activation)
16357 (allout-widgets-icons-dark-subdir)
16358 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16359 (allout-widgets-theme-dark-background)
16360 (allout-widgets-theme-light-background)
16361 (allout-widgets-item-image-properties-emacs)
16362 (allout-widgets-item-image-properties-xemacs)
16363 (allout-widgets-run-unit-tests-on-load)
16364 (allout-widgets-time-decoration-activity)
16365 (allout-widgets-hook-error-post-time)
16366 (allout-widgets-track-decoration):
16367 Add missing :version tags to new defcustoms and defgroups.
16368
16369 * progmodes/sql.el (sql-ansi-statement-starters)
16370 (sql-oracle-statement-starters): Add custom type.
16371
16372 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16373 (prolog-system-version): Give it a type.
16374
16375 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16376
16377 * term/pc-win.el (x-select-text, x-selection-owner-p)
16378 (x-own-selection-internal, x-disown-selection-internal)
16379 (x-get-selection-internal): Sync doc strings and argument lists
16380 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16381
16382 2012-02-11 Leo Liu <sdl.web@gmail.com>
16383
16384 * progmodes/python.el (python-end-of-statement): Fix infinite
16385 loop. (Bug#10788)
16386
16387 2012-02-10 Glenn Morris <rgm@gnu.org>
16388
16389 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16390 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16391
16392 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16393
16394 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16395 about SMTP before checking the From header.
16396
16397 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16398 into own function for reuse by emacsbug.el.
16399
16400 2012-02-10 Leo Liu <sdl.web@gmail.com>
16401
16402 * subr.el (condition-case-unless-debug): Rename from
16403 condition-case-no-debug. All callers changed.
16404 (with-demoted-errors): Fix caller.
16405
16406 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16407 * nxml/rng-valid.el (rng-do-some-validation):
16408 * emacs-lisp/package.el (package-refresh-contents)
16409 (package-menu-execute):
16410 * desktop.el (desktop-create-buffer):
16411 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16412
16413 2012-02-10 Glenn Morris <rgm@gnu.org>
16414
16415 * textmodes/bibtex.el:
16416 Add missing :version tags for new/changed defcustoms.
16417
16418 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16419
16420 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16421
16422 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16423 (smtpmail-via-smtp): Use it, or fall back on the From address.
16424 (smtpmail-send-it): Ditto.
16425
16426 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16427
16428 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16429 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16430 (byte-compile-tmp-var): New const.
16431 (byte-compile-defvar): Use it to minimize .elc size.
16432 Just use `defvar' rather than simulate it (bug#10761).
16433
16434 2012-02-09 Glenn Morris <rgm@gnu.org>
16435
16436 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16437
16438 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16439 Add :version tags.
16440
16441 * progmodes/compile.el (compilation-error-screen-columns)
16442 (compilation-first-column, compilation-filter-start): Doc fixes.
16443
16444 * vc/log-view.el (log-view-toggle-entry-display):
16445 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16446
16447 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16448 (report-emacs-bug-can-use-xdg-email):
16449 (report-emacs-bug-insert-to-mailer): Doc fixes.
16450 (report-emacs-bug): Message fix.
16451
16452 * net/browse-url.el (browse-url-can-use-xdg-open)
16453 (browse-url-xdg-open): Doc fixes.
16454
16455 * electric.el (electric-indent-mode, electric-pair-mode)
16456 (electric-layout-rules, electric-layout-mode): Doc fixes.
16457 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16458
16459 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16460
16461 * server.el (server-unselect-display): Don't inadvertently kill
16462 the current buffer. (Bug#10729)
16463
16464 2012-02-08 Glenn Morris <rgm@gnu.org>
16465
16466 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16467 (sql-list-table): Doc fixes.
16468
16469 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16470 Comment out (does nothing).
16471
16472 * completion.el (dynamic-completion-mode):
16473 * dirtrack.el (dirtrack-debug-mode):
16474 * electric.el (electric-layout-mode):
16475 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16476 * face-remap.el (text-scale-mode, buffer-face-mode):
16477 * iimage.el (iimage-mode):
16478 * image-mode.el (image-transform-mode):
16479 * minibuffer.el (completion-in-region-mode):
16480 * scroll-lock.el (scroll-lock-mode):
16481 * simple.el (next-error-follow-minor-mode):
16482 * tar-mode.el (tar-subfile-mode):
16483 * tooltip.el (tooltip-mode):
16484 * vcursor.el (vcursor-use-vcursor-map):
16485 * wid-browse.el (widget-minor-mode):
16486 * emulation/tpu-edt.el (tpu-edt-mode):
16487 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16488 * international/iso-ascii.el (iso-ascii-mode):
16489 * language/thai-util.el (thai-word-mode):
16490 * mail/supercite.el (sc-minor-mode):
16491 * net/goto-addr.el (goto-address-mode):
16492 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16493 * progmodes/cwarn.el (cwarn-mode):
16494 * progmodes/flymake.el (flymake-mode):
16495 * progmodes/glasses.el (glasses-mode):
16496 * progmodes/hideshow.el (hs-minor-mode):
16497 * progmodes/pascal.el (pascal-outline-mode):
16498 * textmodes/enriched.el (enriched-mode):
16499 * vc/smerge-mode.el (smerge-mode):
16500 Doc fixes (minor mode argument).
16501
16502 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16503
16504 * ls-lisp.el (ls-lisp-sanitize): New function.
16505 (ls-lisp-insert-directory): Use it to fix or remove any elements
16506 in file-alist with missing attributes. (Bug#4673)
16507
16508 2012-02-07 Alan Mackenzie <acm@muc.de>
16509
16510 Fix spurious recognition of c-in-knr-argdecl.
16511
16512 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16513 putative K&R region.
16514
16515 2012-02-07 Alan Mackenzie <acm@muc.de>
16516
16517 * progmodes/cc-engine.el (c-forward-objc-directive):
16518 Prevent looping in "#pragma mark @implementation".
16519
16520 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16521
16522 * notifications.el (notifications-on-closed-signal): Make `reason'
16523 optional. (Bug#10744)
16524
16525 2012-02-07 Glenn Morris <rgm@gnu.org>
16526
16527 * emacs-lisp/easy-mmode.el (define-minor-mode):
16528 Doc fixes for the macro and the mode it defines.
16529
16530 * image.el (imagemagick-types-inhibit): Doc fix.
16531
16532 * cus-start.el (imagemagick-render-type): Add it.
16533
16534 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16535
16536 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16537 Set the default at load time, too, so that `font-lock-fontify-buffer'
16538 can be called without setting up the entire mode first. This fixes
16539 a bug in `mm-inline-text' with C MIME parts.
16540
16541 2012-02-06 Chong Yidong <cyd@gnu.org>
16542
16543 * simple.el (list-processes--refresh): Delete exited processes
16544 (Bug#8094).
16545
16546 * comint.el (comint-next-prompt): next-single-char-property-change
16547 and prev-single-char-property-change never return nil (Bug#8657).
16548
16549 * custom.el (defcustom): Doc fix (Bug#9711).
16550
16551 2012-02-05 Chong Yidong <cyd@gnu.org>
16552
16553 * cus-edit.el (custom-variable-reset-backup): Quote the value
16554 before storing it in the customized-value property (Bug#6712).
16555 (custom-display): Add a customization type tag.
16556 (custom-buffer-create-internal): Improve tooltip message.
16557
16558 * wid-edit.el (widget-field-value-get): New optional arg to
16559 suppress trailing whitespace truncation.
16560 (character): Use it (Bug#2689).
16561
16562 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16563
16564 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16565 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16566
16567 2012-02-05 Chong Yidong <cyd@gnu.org>
16568
16569 * cus-edit.el (custom-variable-value-create): For mismatched
16570 types, show the current value (Bug#7600).
16571
16572 * custom.el (defcustom): Doc fix.
16573
16574 2012-02-05 Glenn Morris <rgm@gnu.org>
16575
16576 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16577
16578 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16579
16580 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16581 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16582 (pp-last-sexp): Use `looking-at-p'.
16583
16584 2012-02-04 Glenn Morris <rgm@gnu.org>
16585
16586 * files.el (revert-buffer):
16587 Doc fix (mention revert-buffer-in-progress-p).
16588
16589 * emacs-lisp/ert-x.el (ert-simulate-command):
16590 Check deferred-action-list (which is obsolete) is bound.
16591
16592 * subr.el (with-wrapper-hook): Doc fixes.
16593
16594 * simple.el (filter-buffer-substring-functions)
16595 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16596
16597 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16598
16599 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16600 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16601
16602 2012-02-04 Leo Liu <sdl.web@gmail.com>
16603
16604 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16605
16606 2012-02-04 Glenn Morris <rgm@gnu.org>
16607
16608 * image.el (image-extension-data): Add obsolete alias.
16609
16610 * isearch.el (isearch-update): Doc fix.
16611
16612 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16613
16614 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16615
16616 2012-02-03 Glenn Morris <rgm@gnu.org>
16617
16618 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16619 (image-animate-timeout): Doc fix.
16620
16621 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16622
16623 2012-02-02 Glenn Morris <rgm@gnu.org>
16624
16625 * server.el (server-auth-dir): Doc fix.
16626 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16627
16628 * subr.el (run-mode-hooks): Doc fix.
16629
16630 2012-02-02 Juri Linkov <juri@jurta.org>
16631
16632 * image-mode.el (image-toggle-display-image): Remove tautological
16633 `major-mode' from the `derived-mode-p' test.
16634
16635 2012-02-02 Kenichi Handa <handa@m17n.org>
16636
16637 * composite.el (compose-region): Cancel previous change.
16638
16639 2012-02-02 Kenichi Handa <handa@m17n.org>
16640
16641 * composite.el (compose-region, compose-string): Signal error for
16642 a null string component (Bug#6988).
16643
16644 2012-02-01 Chong Yidong <cyd@gnu.org>
16645
16646 * view.el (view-buffer-other-window, view-buffer-other-frame):
16647 Handle special modes like view-buffer (Bug#10650).
16648 (view-buffer): Simplify.
16649
16650 * frame.el (set-frame-font): Tweak meaning of third argument.
16651
16652 * dynamic-setting.el (font-setting-change-default-font):
16653 Use set-frame-font (Bug#9982).
16654
16655 2012-02-01 Glenn Morris <rgm@gnu.org>
16656
16657 * progmodes/compile.el (compilation-internal-error-properties):
16658 Respect compilation-first-column in the "*compilation*" buffer.
16659
16660 * emacs-lisp/easy-mmode.el (define-minor-mode):
16661 Relax :variable's test for a named function.
16662
16663 2012-01-31 Alan Mackenzie <acm@muc.de>
16664
16665 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16666 off by one error.
16667
16668 2012-01-31 Chong Yidong <cyd@gnu.org>
16669
16670 * frame.el (set-frame-font): New arg ALL-FRAMES.
16671
16672 * menu-bar.el (menu-set-font): Use set-frame-font.
16673
16674 * faces.el (face-spec-reset-face): Don't apply unspecified
16675 attribute values to the default face.
16676
16677 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16678
16679 * progmodes/cwarn.el (cwarn): Remove dead link.
16680 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16681 Remove * from defcustom docstrings.
16682 (turn-on-cwarn-mode): Make obsolete.
16683 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16684 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16685
16686 2012-01-31 Glenn Morris <rgm@gnu.org>
16687
16688 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16689 Fix :variable handling of mode a symbol not equal to modefun.
16690 Allow named functions to be used as the cdr of :variable.
16691
16692 2012-01-30 Glenn Morris <rgm@gnu.org>
16693
16694 * emacs-lisp/authors.el (authors-fixed-entries):
16695 Remove reference to deleted file rnewspost.el.
16696
16697 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16698
16699 * window.el (window-with-parameter): Remove unused variable `windows'.
16700 (window--side-check): Remove unused variable `code'.
16701 (window--resize-siblings): Remove unused variable `first'.
16702 (adjust-window-trailing-edge): Remove unused variable `failed'.
16703 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16704 Use `let', not `let*'.
16705 (balance-windows-2): Remove unused variable `found'.
16706 (window--state-put-2): Remove unused variable `splits'.
16707 (window-state-put): Remove unused variable `selected'.
16708 (same-window-p): Use `string-match-p'.
16709 (display-buffer-assq-regexp): Remove unused variable `value'.
16710 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16711 Mark argument ALIST as ignored.
16712 (pop-to-buffer): Remove unused variable `old-window'.
16713
16714 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16715
16716 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16717 and .lzma compressed files.
16718
16719 2012-01-29 Chong Yidong <cyd@gnu.org>
16720
16721 * frame.el (window-system-default-frame-alist): Doc fix.
16722
16723 * dynamic-setting.el (font-setting-change-default-font): Don't
16724 change the default face if SET-FONT argument is non-nil (Bug#9982).
16725
16726 2012-01-29 Samuel Bronson <naesten@gmail.com>
16727
16728 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16729
16730 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16731
16732 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16733 breakpoints in files outside current directory (Bug#6098).
16734
16735 2012-01-29 Chong Yidong <cyd@gnu.org>
16736
16737 * progmodes/python.el: Require ansi-color at top-level.
16738
16739 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16740 Define and use in Emacs Lisp mode (Bug#9360).
16741 (lisp-mode-abbrev-table): Add doc.
16742 (lisp-mode-variables): Don't set local-abbrev-table.
16743 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16744
16745 2012-01-28 Roland Winkler <winkler@gnu.org>
16746
16747 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16748
16749 2012-01-28 Roland Winkler <winkler@gnu.org>
16750
16751 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16752 (bibtex-set-dialect): Use it. Either set global values of
16753 dialect-dependent variables or bind these variables buffer-locally
16754 (Bug#10254).
16755 (bibtex-mode): Call bibtex-set-dialect via
16756 hack-local-variables-hook.
16757 (bibtex-dialect): Update docstring.
16758 Add safe-local-variable predicate.
16759 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16760 bibtex-set-dialect.
16761 (bibtex-mode-map): Define menu for each dialect.
16762 (bibtex-entry): Fix docstring.
16763
16764 2012-01-28 Chong Yidong <cyd@gnu.org>
16765
16766 * eshell/esh-arg.el (eshell-quote-argument): New function.
16767
16768 * eshell/esh-ext.el (eshell-invoke-batch-file):
16769 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16770 first arg to eshell-parse-command (Bug#10523).
16771
16772 2012-01-28 Drew Adams <drew.adams@oracle.com>
16773
16774 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16775 `default-directory' is non-nil.
16776
16777 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16778
16779 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16780 line that displays system-configuration-options. (Bug#9924)
16781
16782 2012-01-28 Drew Adams <drew.adams@oracle.com>
16783
16784 * descr-text.el (describe-char): Show information about POS, in
16785 addition to information about the character at POS. Improve and
16786 update the doc string. Change "code point" to "code point in
16787 charset", to avoid confusion with the character's Unicode code
16788 point shown above that. (Bug#10129)
16789
16790 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16791
16792 * descr-text.el (describe-char): Show the raw character, not only
16793 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16794 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16795 for the reasons.
16796
16797 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16798
16799 * emacs-lisp/package.el (package-install):
16800 Run package-refresh-contents if there is no archive yet (Bug#9798).
16801
16802 2012-01-28 Chong Yidong <cyd@gnu.org>
16803
16804 * emacs-lisp/package.el (package-maybe-load-descriptor):
16805 New function, split from package-maybe-load-descriptor.
16806 (package-maybe-load-descriptor): Use it.
16807 (package-download-transaction): Fully load required packages
16808 inside the loop, so that `require' calls work (Bug#10593).
16809 (package-install): No need to call package-initialize now.
16810
16811 2012-01-28 Chong Yidong <cyd@gnu.org>
16812
16813 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16814
16815 * tooltip.el (tooltip-mode): Doc fix.
16816 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16817
16818 * frame.el (set-cursor-color): Doc fix (Bug#352).
16819
16820 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16821 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16822
16823 * cus-edit.el (custom-buffer-create-internal): Fix search button
16824 action (Bug#10542).
16825 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16826
16827 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16828
16829 * dired.el (dired-mark-files-regexp):
16830 Include any subdirectory components. (Bug#10445)
16831
16832 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16833
16834 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16835 Handle [host]:port syntax. (Bug#10533)
16836
16837 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16838
16839 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16840
16841 2012-01-26 Glenn Morris <rgm@gnu.org>
16842
16843 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16844 * term.el (term-raw-escape-map): Use Control-X-prefix.
16845 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16846
16847 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16848
16849 * window.el (window-state-get, window--state-get-1): Don't deal
16850 with fixed-sizeness of windows. Simplify code.
16851
16852 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16853
16854 * window.el (window--state-get-1, window--state-put-2):
16855 Don't save and restore the mark.
16856
16857 2012-01-25 Chong Yidong <cyd@gnu.org>
16858
16859 * custom.el (custom-variable-p): Doc fix.
16860
16861 2012-01-25 Glenn Morris <rgm@gnu.org>
16862
16863 * dired.el (dired-goto-file): Handle some of the more common
16864 characters that `ls -b' escapes. (Bug#10596)
16865
16866 * progmodes/compile.el (compilation-next-error-function):
16867 Respect compilation-first-column in the "*compilation*" buffer.
16868 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16869
16870 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16871
16872 2012-01-24 Glenn Morris <rgm@gnu.org>
16873
16874 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16875
16876 2012-01-24 Julien Danjou <julien@danjou.info>
16877
16878 * color.el (color-rgb-to-hsl): Fix value computing.
16879 (color-hue-to-rgb): New function.
16880 (color-hsl-to-rgb): New function.
16881 (color-clamp, color-saturate-hsl, color-saturate-name)
16882 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16883 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16884
16885 2012-01-24 Glenn Morris <rgm@gnu.org>
16886
16887 * vc/vc-rcs.el (vc-rcs-create-tag):
16888 * vc/vc-sccs.el (vc-sccs-create-tag):
16889 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16890
16891 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16892
16893 * eshell/esh-util.el (eshell-read-hosts-file):
16894 Skip comment lines. (Bug#10549)
16895
16896 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16897
16898 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16899
16900 * subr.el (display-delayed-warnings): Doc fix.
16901 (collapse-delayed-warnings): New function to collapse identical
16902 adjacent warnings.
16903 (delayed-warnings-hook): Add it.
16904
16905 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16906
16907 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16908
16909 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16910 (tramp-default-user-alist): Don't add "pscp".
16911 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16912 property "login-as", if set. (Bug#10530)
16913
16914 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16915
16916 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16917 "plink1" and "psftp". (Bug#10530)
16918
16919 2012-01-21 Kenichi Handa <handa@m17n.org>
16920
16921 * international/mule-cmds.el (prefer-coding-system): Show a
16922 warning message if the default value of file-name-coding-system
16923 was not changed.
16924
16925 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16926
16927 * windmove.el (windmove-reference-loc):
16928 Fix windmove-reference-loc miscalculation.
16929
16930 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16931
16932 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16933 default unit.
16934
16935 2012-01-21 Glenn Morris <rgm@gnu.org>
16936
16937 * international/mule.el (auto-coding-alist): Add .tbz.
16938
16939 * files.el (local-enable-local-variables): Doc fix.
16940 (inhibit-local-variables-regexps): Rename from
16941 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16942 Doc fix. Add some extensions from auto-coding-alist.
16943 (inhibit-local-variables-suffixes):
16944 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16945 (inhibit-local-variables-p):
16946 New function, extracted from set-auto-mode-1.
16947 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16948 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16949 (hack-local-variables): Doc fix. Make the mode-only case
16950 respect enable-local-variables and friends.
16951 Respect inhibit-local-variables-regexps for file-locals, but
16952 not for directory-locals.
16953 (set-visited-file-name):
16954 Take account of inhibit-local-variables-regexps.
16955 Whether it applies may change as the file name is changed.
16956 * jka-cmpr-hook.el (jka-compr-install):
16957 * jka-compr.el (jka-compr-uninstall):
16958 Update for inhibit-first-line-modes-suffixes name change.
16959
16960 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16961
16962 * help-macro.el (make-help-screen): Temporarily restore original
16963 binding for minor-mode-map-alist (Bug#10454).
16964
16965 2012-01-19 Julien Danjou <julien@danjou.info>
16966
16967 * color.el (color-name-to-rgb): Use the white color to find the max
16968 color component value and return correctly computed values.
16969 (color-name-to-rgb): Add missing float conversion for max value.
16970
16971 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16972
16973 * window.el (window--state-get-1, window-state-get): Do not use
16974 special state value for window-persistent-parameters.
16975 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16976 (window--state-put-2): Reset all window parameters to nil before
16977 assigning values of persistent parameters.
16978
16979 2012-01-18 Alan Mackenzie <acm@muc.de>
16980
16981 Eliminate sluggishness and hangs in fontification of "semicolon
16982 deserts".
16983
16984 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16985 Change value 10000 -> 3000.
16986 (c-state-safe-place): Reformulate so it doesn't stack up an
16987 infinite number of wrong entries in c-state-nonlit-pos-cache.
16988 (c-determine-limit-get-base, c-determine-limit): New functions to
16989 determine backward search limits disregarding literals.
16990 (c-find-decl-spots): Amend commenting.
16991 (c-cheap-inside-bracelist-p): New function which detects "={".
16992
16993 * progmodes/cc-fonts.el
16994 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16995 backward search.
16996 (c-font-lock-declarations): Fix an occurrence of point being
16997 undefined. Check additionally for point being in a bracelist or
16998 near a macro invocation without a semicolon so as to avoid a
16999 fruitless time consuming search for a declarator. Give a more
17000 precise search limit for declarators using the new
17001 c-determine-limit.
17002
17003 2012-01-18 Glenn Morris <rgm@gnu.org>
17004
17005 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17006 (set-auto-mode): Doc fixes.
17007
17008 2012-01-17 Glenn Morris <rgm@gnu.org>
17009
17010 * isearch.el (search-nonincremental-instead): Fix doc typo.
17011
17012 * dired.el (dired-insert-directory): Handle newlines in directory name.
17013 (dired-build-subdir-alist): Unescape newlines in directory name.
17014
17015 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17016
17017 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17018 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17019 (tramp-action-terminal): Use it. (Bug#10530)
17020
17021 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17024
17025 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17026
17027 * window.el (window-state-ignored-parameters): Remove variable.
17028 (window--state-get-1): Rename argument MARKERS to IGNORE.
17029 Handle persistent window parameters. Make copy of clone-of
17030 parameter only if requested. (Bug#10348)
17031 (window--state-put-2): Install a window parameter only if it has
17032 a non-nil value or an existing parameter shall be overwritten.
17033
17034 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17035
17036 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17037
17038 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17039
17040 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17041 don't pass the (nil) value of `upnode' to string-match.
17042
17043 2012-01-14 Chong Yidong <cyd@gnu.org>
17044
17045 * startup.el (command-line): Fix X resource class for cursorColor.
17046 Fix values recognized by the cursorBlink resource.
17047
17048 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17049
17050 * epg.el (epg--make-temp-file): Avoid permission race condition
17051 when running on old Emacs versions (bug#10403).
17052
17053 2012-01-14 Glenn Morris <rgm@gnu.org>
17054
17055 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17056
17057 2012-01-13 Alan Mackenzie <acm@muc.de>
17058
17059 Fix filling for when filladapt mode is enabled.
17060
17061 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17062 c-mask-paragraph, pass in `fill-paragraph' rather than
17063 `fill-region-as-paragraph'. (This is a reversion of a previous
17064 change.)
17065 * progmodes/cc-mode.el (c-basic-common-init):
17066 Make fill-paragraph-handle-comment buffer local and set it to nil.
17067
17068 2012-01-13 Glenn Morris <rgm@gnu.org>
17069
17070 * dired.el (dired-switches-escape-p): New function.
17071 (dired-insert-directory): Use dired-switches-escape-p.
17072 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17073
17074 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17075
17076 2012-01-12 Glenn Morris <rgm@gnu.org>
17077
17078 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17079 changes in adaptive-fill-regexp. (Bug#10276)
17080
17081 2012-01-11 Alan Mackenzie <acm@muc.de>
17082
17083 Fix Emacs bug #10463 - put `widen's around the critical spots.
17084
17085 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17086 widen around each invocation of c-state-pp-to-literal. Remove an
17087 unused let variable.
17088
17089 2012-01-11 Glenn Morris <rgm@gnu.org>
17090
17091 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17092 Doc fix.
17093
17094 2012-01-10 Chong Yidong <cyd@gnu.org>
17095
17096 * net/network-stream.el (network-stream-open-starttls):
17097 Avoid emitting a confusing error message when the server gives a bad
17098 response to the capability command.
17099
17100 2012-01-10 Glenn Morris <rgm@gnu.org>
17101
17102 * mail/unrmail.el (unrmail): Tweak previous change.
17103
17104 2012-01-09 Chong Yidong <cyd@gnu.org>
17105
17106 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17107
17108 2012-01-08 Alan Mackenzie <acm@muc.de>
17109
17110 Optimize font locking in long enum definitions.
17111
17112 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17113 arm to a cond form to handle enums.
17114 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17115 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17116
17117 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17118
17119 * files.el (move-file-to-trash): Preserve default file modes on error.
17120 (Bug#10401)
17121
17122 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17123
17124 * faces.el (set-face-attribute): Clarify the meaning of the nil
17125 frame (bug#10294).
17126
17127 * subr.el (with-selected-frame): Mention that the selected frame
17128 is restored (bug#9980).
17129
17130 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17131 (bug#9759).
17132
17133 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17134 (password-read): Don't autoload unused function.
17135
17136 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17137
17138 * progmodes/which-func.el (which-func-mode): Turn into a
17139 non-interactive function and mark as obsolete (bug#10428).
17140
17141 2012-01-06 Chong Yidong <cyd@gnu.org>
17142
17143 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17144 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17145 functions, along with 1 and -1.
17146
17147 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17148
17149 * time.el (display-time-load-average)
17150 (display-time-default-load-average): Doc fixes. See the thread
17151 starting at
17152 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17153 for the details.
17154
17155 2012-01-06 Glenn Morris <rgm@gnu.org>
17156
17157 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17158 has no messages. (Bug#10377)
17159
17160 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17161 than Info-edit. (Bug#10385)
17162
17163 * time.el (display-time-load-average, display-time-next-load-average):
17164 Doc fixes.
17165
17166 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17167 local setting of buffer-read-only to the input buffer. (Bug#10419)
17168
17169 * calendar/calendar.el (calendar-mode):
17170 Locally set scroll-margin to 0. (Bug#10379)
17171
17172 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17173
17174 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17175
17176 2012-01-05 Glenn Morris <rgm@gnu.org>
17177
17178 * eshell/em-unix.el (diff-no-select): Autoload it.
17179 (eshell/diff): Use diff-no-select. (Bug#10420)
17180
17181 2012-01-05 Chong Yidong <cyd@gnu.org>
17182
17183 * shell.el (shell-dynamic-complete-functions): Revert last change.
17184 (shell-command-completion-function): New function.
17185 (shell-completion-vars): Use it to implement
17186 shell-completion-execonly (Bug#10417).
17187
17188 * custom.el (enable-theme): Don't set custom-safe-themes.
17189
17190 * cus-theme.el (custom-theme-merge-theme):
17191 Ignore custom-enabled-themes and custom-safe-themes.
17192
17193 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17194
17195 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17196 first prompt in `sql-interacive-mode'.
17197 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17198 keywords.
17199 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17200 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17201 context of original buffer. Invoke `sql-login-hook'.
17202
17203 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17204
17205 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17206 letters in cite-prefix.
17207
17208 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17209
17210 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17211
17212 2012-01-03 Chong Yidong <cyd@gnu.org>
17213
17214 * shell.el (shell-dynamic-complete-functions):
17215 Put pcomplete-completions-at-point, so as to try
17216 comint-filename-completion first (Bug#10417).
17217
17218 2012-01-02 Richard Stallman <rms@gnu.org>
17219
17220 * battery.el (battery-status-function):
17221 Detect when to use battery-yeeloong-sysfs.
17222 (battery-echo-area-format): Add string for Yeeloong.
17223 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17224 (battery-yeeloong-sysfs): New function.
17225
17226 2012-01-02 Chong Yidong <cyd@gnu.org>
17227
17228 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17229 (dirtrack): Merge code for handling relative filenames in prompt
17230 from shell-dir-cookie-watcher.
17231 (dirtrack-debug-message): New arg to avoid excess format calls.
17232
17233 * shell.el (shell-dir-cookie-re): Variable deleted.
17234 (shell-dir-cookie-watcher): Function deleted.
17235 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17236 with dirtrack-mode.
17237
17238 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17239
17240 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17241 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17242 libgnutls-26.dll.
17243
17244 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17245
17246 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17247
17248 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17249
17250 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17251 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17252
17253 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17254
17255 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17256 also for alternative shells.
17257 (tramp-open-connection-setup-interactive-shell): Check, whether
17258 the shell is a busybox.
17259 (tramp-send-command): Don't suppress multiple prompts for
17260 busyboxes, it hurts.
17261
17262 2011-12-28 Chong Yidong <cyd@gnu.org>
17263
17264 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17265 (gdb-get-source-file): Move mode line update to
17266 gdb-get-source-file (Bug#10087).
17267
17268 2011-12-25 Chong Yidong <cyd@gnu.org>
17269
17270 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17271 gud-gdb-marker-filter without taking it as an argument.
17272 (gud-gdb-run-command-fetch-lines): Caller changed.
17273 (gud-gdb-completion-function): New variable.
17274 (gud-gdb-completion-at-point): Use it.
17275 (gud-gdb-completions-1): Split from gud-gdb-completions.
17276
17277 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17278 function as separate arguments.
17279 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17280 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17281 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17282 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17283 (gdb-stopped, def-gdb-auto-update-trigger)
17284 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17285 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17286 Callers changed.
17287 (gud-gdbmi-completions): New function.
17288 (gdb): Use it for generating the completion table.
17289
17290 2011-12-24 Alan Mackenzie <acm@muc.de>
17291
17292 Introduce a mechanism to widen the region used in context font
17293 locking. Use this to protect declarations from losing their contexts.
17294
17295 * progmodes/cc-langs.el (c-before-font-lock-functions):
17296 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17297 (c-before-context-fontification-functions): New defvar, a list of
17298 functions to be run just before context (etc.) font locking.
17299
17300 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17301 New, functionality extracted from
17302 c-neutralize-syntax-in-and-mark-CPP.
17303 (c-in-after-change-fontification): New variable.
17304 (c-after-change): Set c-in-after-change-fontification.
17305 (c-set-fl-decl-start): Rejig its interface, so it can be called
17306 from both after-change and context fontifying.
17307 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17308 New functions.
17309 (c-standard-font-lock-fontify-region-function): New variable.
17310 (c-font-lock-fontify-region): New function.
17311
17312 2011-12-24 Juri Linkov <juri@jurta.org>
17313
17314 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17315 (Bug#10348)
17316
17317 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17318
17319 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17320 existence of source file. (Bug#10325)
17321
17322 2011-12-23 Alan Mackenzie <acm@muc.de>
17323
17324 Fix unstable fontification inside templates.
17325
17326 * progmodes/cc-langs.el (c-before-font-lock-functions):
17327 Newly created from the singular version. The (c c++ objc) entry now
17328 additionally has c-set-fl-decl-start. The other languages (apart
17329 from AWK) have that as a single entry.
17330
17331 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17332 The functionality for "local" declarations has been extracted to
17333 c-set-fl-decl-start.
17334
17335 * progmodes/cc-mode.el (c-common-init, c-after-change):
17336 Changes due to pluralisation of c-before-font-lock-functions.
17337 (c-set-fl-decl-start): New function, extracted from
17338 c-font-lock-enclosing-decls and enhanced.
17339
17340 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17341
17342 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17343
17344 2011-12-22 Juri Linkov <juri@jurta.org>
17345
17346 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17347
17348 2011-12-22 Chong Yidong <cyd@gnu.org>
17349
17350 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17351
17352 2011-12-21 Drew Adams <drew.adams@oracle.com>
17353
17354 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17355
17356 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17357
17358 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17359
17360 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17361
17362 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17363 highlighting and support. Fix up comments for capitalization.
17364 (cfengine-mode-debug): New var.
17365 (cfengine3-mode): Change the modeline indicator to "CFE3".
17366 (cfengine3-font-lock-keywords): Improve defun highlighting.
17367 (cfengine2-actions): Rename from `cfengine-actions'.
17368 (cfengine2-font-lock-keywords): Rename from
17369 `cfengine-font-lock-keywords'.
17370 (cfengine2-imenu-expression): Rename from
17371 `cfengine-imenu-expression'.
17372 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17373 (cfengine2-beginning-of-defun): Rename from
17374 `cfengine-beginning-of-defun'.
17375 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17376 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17377 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17378 modeline indicator to "CFE2".
17379 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17380 (cfengine-mode-abbrevs): Mark obsolete.
17381
17382 2011-12-21 Chong Yidong <cyd@gnu.org>
17383
17384 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17385 filename argument.
17386
17387 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17388
17389 * window.el (window-normalize-buffer-to-display): Remove.
17390 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17391
17392 2011-12-19 Chong Yidong <cyd@gnu.org>
17393
17394 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17395 Don't signal an error in a predicate function; return non-nil.
17396 (vc-dir-mark-file): Move the error here.
17397 (vc-dir-mark-unmark): If acting on the region, keep going if one
17398 of the entries cannot be marked/unmarked.
17399 (vc-dir-mark-all-files): If current entry is a directory, mark
17400 only child files, as documented.
17401
17402 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17403
17404 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17405 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17406 addition.
17407
17408 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17409
17410 * term/ns-win.el (ns-get-selection-internal)
17411 (ns-store-selection-internal): Declare.
17412 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17413 Declare as obsolete.
17414 (ns-get-pasteboard, ns-paste-secondary):
17415 Use ns-get-selection-internal.
17416 (ns-set-pasteboard, ns-copy-including-secondary):
17417 Use ns-store-selection-internal.
17418
17419 2011-12-17 Chong Yidong <cyd@gnu.org>
17420
17421 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17422 (vc-deduce-fileset): Doc fix.
17423
17424 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17425
17426 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17427
17428 2011-12-13 Sam Steingold <sds@gnu.org>
17429
17430 * man.el (Man-getpage-in-background): When running under a
17431 window-system, ignore $MANWIDTH and $COLUMNS.
17432
17433 2011-12-15 Kenichi Handa <handa@m17n.org>
17434
17435 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17436 (setup-ethiopic-environment-internal): Comment out key-binding for
17437 ethio-toggle-punctuation.
17438
17439 2011-12-13 Alan Mackenzie <acm@muc.de>
17440
17441 Add the switch statement to AWK Mode.
17442
17443 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17444 "default" to the keywords regexp.
17445
17446 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17447 expression as the rest.
17448 (c-nonlabel-token-key): Allow string literals for AWK.
17449 Refactor for the other modes.
17450
17451 Large brace-block initialisation makes CC Mode slow: Fix.
17452 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17453 routines. Limit backward searching in c-font-lock-enclosing.decl.
17454
17455 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17456 pp-state and literal type in addition to the limits.
17457 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17458 (c-state-literal-at): Use the above new defun.
17459 (c-slow-in-literal, c-fast-in-literal): Remove.
17460 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17461
17462 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17463 being in a literal. Add a limit for backward searching.
17464
17465 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17466 c-slow-in-literal.
17467
17468 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17469
17470 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17471
17472 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17473
17474 * window.el (delete-other-windows): Use correct frame in call to
17475 window-with-parameter.
17476
17477 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17478
17479 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17480 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17481 (makefile-gmake-statements, makefile-makepp-statements):
17482 Use it and add new makepp keywords.
17483 (makefile-makepp-font-lock-keywords): Add new patterns.
17484 (makefile-match-function-end): Match new [...] and [[...]].
17485
17486 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17487
17488 * ses.el (ses-call-printer-return, ses-cell-property-get)
17489 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17490 (ses-create-cell-variable, ses-reset-header-string)
17491 (ses-cell-set-formula, ses-repair-cell-reference-all)
17492 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17493 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17494 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17495 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17496 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17497 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17498 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17499 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17500 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17501 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17502 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17503 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17504
17505 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17506
17507 * ses.el: The overall change is to add cell renaming, that is
17508 setting fancy names for cell symbols other than name matching
17509 "\\`[A-Z]+[0-9]+\\'" regexp .
17510 (ses-create-cell-variable): New defun.
17511 (ses-relocate-formula): Relocate formulas only for cells the
17512 symbols of which are not renamed, i.e. symbols whose names do not
17513 match regexp "\\`[A-Z]+[0-9]+\\'".
17514 (ses-relocate-all): Relocate values only for cells the symbols of
17515 which are not renamed.
17516 (ses-load): Create cells variables as the (ses-cell ...) are read,
17517 in order to check row col consistency with cell symbol name only
17518 for cells that are not renamed.
17519 (ses-replace-name-in-formula): New defun.
17520 (ses-rename-cell): New defun.
17521
17522 2011-12-11 Chong Yidong <cyd@gnu.org>
17523
17524 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17525 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17526
17527 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17528
17529 * window.el (other-window): Fix docstring.
17530
17531 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17532
17533 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17534 `from' or `to' address before taking its substring.
17535 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17536 encoded name is chopped in the middle of the encoded string, and
17537 thus displayed encoded.
17538
17539 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17540
17541 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17542
17543 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17544
17545 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17546 to use texinfo-update-node and commands that call it if the
17547 Texinfo file uses @node lines without next/prev/up pointers.
17548 Correct outdated description about texinfo-master-menu.
17549 (texinfo-all-menus-update, texinfo-master-menu)
17550 (texinfo-update-node, texinfo-every-node-update)
17551 (texinfo-multiple-files-update): Doc fix. Warn against updating
17552 all the @node lines.
17553 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17554 argument is numeric. Explain better in the doc string what the
17555 function really does.
17556 (texinfo-insert-master-menu-list): Improve the error message
17557 displayed if there's no menu in the Top node.
17558 (Bug#2975) See also this thread:
17559 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17560
17561 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17562
17563 * speedbar.el (speedbar-supported-extension-expressions):
17564 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17565
17566 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17567
17568 * printing.el (pr-mode-alist):
17569 * simple.el (filter-buffer-substring-functions)
17570 (completion-list-insert-choice-function):
17571 * window.el (window-with-parameter, window-atom-root)
17572 (window-sides-slots, window-size-fixed, window-min-delta)
17573 (window-max-delta, window--resize-mini-window)
17574 (window--resize-child-windows-normal, window-tree)
17575 (delete-other-windows, quit-window, split-window)
17576 (display-buffer-record-window, special-display-buffer-names)
17577 (special-display-regexps, special-display-popup-frame)
17578 (same-window-p, split-window-sensibly)
17579 (display-buffer-overriding-action, display-buffer-alist)
17580 (display-buffer-base-action, display-buffer, switch-to-buffer)
17581 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17582 (fit-window-to-buffer, recenter-positions)
17583 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17584 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17585 and remove unneeded backslashes in docstrings.
17586
17587 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17588
17589 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17590
17591 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17592 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17593 end in ".mk".
17594 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17595 when reading the makefile (bug#10116).
17596
17597 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17598
17599 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17600 (bug#10116).
17601
17602 2011-12-06 Glenn Morris <rgm@gnu.org>
17603
17604 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17605
17606 2011-12-06 Chong Yidong <cyd@gnu.org>
17607
17608 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17609
17610 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17611
17612 * textmodes/table.el (table-shorten-cell): Fix typo.
17613
17614 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17615
17616 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17617
17618 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17619
17620 * descr-text.el (describe-char): Fix display of strong
17621 right-to-left characters and directional embeddings and overrides.
17622
17623 * simple.el (what-cursor-position): Fix display of codepoints of
17624 strong right-to-left characters.
17625
17626 2011-12-05 Chong Yidong <cyd@gnu.org>
17627
17628 * faces.el (read-color): Doc fix.
17629
17630 2011-12-05 Glenn Morris <rgm@gnu.org>
17631
17632 * align.el (align--set-marker): Add doc-string.
17633 Don't try to move something that is not a marker. (Bug#10216)
17634
17635 2011-12-04 Glenn Morris <rgm@gnu.org>
17636
17637 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17638 overly zealous deletion of trailing whitespace.
17639
17640 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17641
17642 * server.el (server-delete-client): On Windows, do not try to delete
17643 the only terminal.
17644 (server-process-filter): On Windows, treat requests for a tty frame as
17645 if they were for a GUI frame if the running server is in GUI mode.
17646
17647 2011-12-03 Glenn Morris <rgm@gnu.org>
17648
17649 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17650
17651 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17652
17653 * electric.el: Streamline electric-indent's hook.
17654 (electric-indent-chars): Revert to simple list.
17655 (electric-indent-functions): New var.
17656 (electric-indent-post-self-insert-function): Use it.
17657
17658 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17659 there's no inferior buffer (bug#10196).
17660 (prolog-consult-compile): Don't use toggle-read-only.
17661
17662 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17663
17664 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17665 interrupt. (Bug#10187)
17666
17667 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17668
17669 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17670 (bug#9160).
17671
17672 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17673 (bug#10191).
17674
17675 2011-12-02 Juri Linkov <juri@jurta.org>
17676
17677 * info.el (Info-search): Display "end of manual" when Isearch
17678 reaches the end of single-file Info manual. (Bug#9918)
17679
17680 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17681
17682 * isearch.el (isearch-message-prefix): Run the input method part
17683 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17684
17685 2011-12-02 Juri Linkov <juri@jurta.org>
17686
17687 * isearch.el (isearch-occur): Use `word-search-regexp' for
17688 `isearch-word'.
17689 (isearch-search-and-update): Add condition for `isearch-word' and
17690 call `word-search-regexp'. (Bug#10145)
17691
17692 2011-12-01 Glenn Morris <rgm@gnu.org>
17693
17694 * eshell/em-hist.el (eshell-hist-initialize):
17695 Handle eshell-history-size nil and HISTSIZE set or unset.
17696 (eshell-history-file-name, eshell-history-size): Fix custom type.
17697
17698 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17699
17700 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17701
17702 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17703
17704 * progmodes/verilog-mode.el (verilog-pretty-expr):
17705 Rework verilog-pretty-expr to handle new assignment operators in system
17706 verilog, such as += *= and the like.
17707 (verilog-assignment-operator-re): Regular expression to find the
17708 assigment operator in a verilog assignment.
17709 (verilog-assignment-operation-re): Regular expression to find an
17710 assignment statement for pretty-expr.
17711 (verilog-in-attribute-p): Query returns true if point is in an
17712 attribute context; used to skip these for expression line up from
17713 pretty-expr.
17714 (verilog-in-parameter-p): Query returns true if point is in an
17715 parameter definition context; used to skip these for expression
17716 line up from pretty-expr.
17717 (verilog-in-parenthesis-p): Query returns true if point is in a
17718 parenthetical expression, specifically ( ) but not [ ] or { };
17719 used by pretty-expr.
17720 (verilog-just-one-space): If there is no space, don't add one.
17721 (verilog-get-lineup-indent-2): Specifically skip just attribute
17722 contexts for expression lineup, rather than skipping all
17723 parenthetical expressions.
17724 (verilog-calculate-indent): Fix comment, and fix indent.
17725 (verilog-do-indent): Indent declarations in lists (suggested by
17726 Joachim Lechner).
17727 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17728 skeleton items.
17729 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17730 by Alain Mellan).
17731
17732 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17733
17734 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17735 parameters with embedded comments. Reported by Ray Stevens.
17736 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17737 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17738 Reported by Tim Holt.
17739 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17740 instantiated by upper module causing wrong expansion until AUTOed a
17741 second time. Reported by K C Buckenmaier.
17742 (verilog-diff-auto): Fix showing .* as a difference when
17743 `verilog-auto-star-save' off. Reported by Dan Dever.
17744 (verilog-auto-reset, verilog-read-always-signals)
17745 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17746 temporary signals in reset list if
17747 verilog-auto-reset-blocking-in-non is nil, and match assignment
17748 style to each signal's assignment type, bug381.
17749 Reported by Thomas Esposito.
17750 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17751 (verilog-uvm-statement-re): Support UVM indentation and
17752 highlighting, with old OVM keywords only.
17753 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17754 Support AUTOTIEOFF creating non-wire data types.
17755 Suggested by Jonathan Greenlaw.
17756 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17757 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17758 (verilog-inject-sense, verilog-read-inst-pins)
17759 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17760 Fix mismatching parenthesis inside commented out code when deleting
17761 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17762 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17763 non-numeric vector width. Reported by Alex Reed.
17764 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17765 detecting signals with parameter widths. Reported by Alex Reed.
17766 (verilog-auto-delete-trailing-whitespace):
17767 With `verilog-auto-delete-trailing-whitespace' remove trailing
17768 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17769 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17770 Fix verilog-scan-cache corruption when running user AUTO expansion
17771 hooks that call indentation routines.
17772 (verilog-simplify-range-expression): Fix typo ignoring lower case
17773 identifiers.
17774 (verilog-delete-auto): Fix delete-autos to also remove user created
17775 automatics, as long as they start with AUTO.
17776 (verilog-batch-diff-auto, verilog-diff-auto)
17777 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17778 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17779 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17780 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17781 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17782 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17783 is disabled and its cache will get corrupt, causing AUTOS not to
17784 expand. Instead use only -quick functions.
17785 (verilog-scan-region): Fix scanning over escaped quotes.
17786 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17787 (verilog-re-search-backward-quick)
17788 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17789 related functions now ignore strings, to fix misparsing of strings
17790 with magic comments embedded in them.
17791 (verilog-read-auto-template):
17792 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17793 Reported by Brad Dobbie.
17794 (verilog-read-auto-template):
17795 Fix 'verilog-auto-inst-template-numbers' with comments.
17796 Reported by Brad Dobbie.
17797 (verilog-auto-inst, verilog-auto-inst-param)
17798 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17799 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17800 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17801 debugging templates without merge conflicts, bug357.
17802 Reported by Brad Dobbie.
17803 (verilog-read-auto-template):
17804 Fix verilog-auto-inst-template-numbers with multiple templates.
17805 Reported by Brad Dobbie.
17806 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17807 abbrevs so user won't be asked to save.
17808 (verilog-read-auto-lisp-present): Fix to start at beginning of
17809 buffer in case called outside of verilog-auto.
17810 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17811 to "X-2". Reported by Matthew Myers.
17812 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17813 all inputs from module templates. Reported by Leith Johnson.
17814 (verilog-module-inside-filename-p): Fix locating programs as with
17815 modules.
17816 (verilog-auto-inst-port): Fix vl-width expressions when using
17817 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17818 (verilog-decls-get-regs, verilog-decls-get-signals,
17819 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17820 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17821 verilog-read-decls): Combine reg and wire structures into one var
17822 structure to represent SystemVerilog concepts.
17823 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17824 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17825 (verilog-auto-wire-type, verilog-insert-definition):
17826 Add verilog-auto-wire-type and AUTOLOGIC to support using
17827 SystemVerilog "logic" keyword instead of "wire"/"reg".
17828 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17829 to declares outputs that also have assignments (presumably in an
17830 ifdef or generate if so there's not a driver conflict).
17831 Reported by Matthew Myers.
17832 (verilog-auto-declare-nettype, verilog-insert-definition):
17833 Add verilog-auto-declare-nettype to fix declarations using
17834 `default_nettype none. Reported by Julian Gorfajn.
17835 (verilog-read-always-signals-recurse, verilog-read-decls)
17836 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17837 malformed end statement, bug325. Reported by Joshua Wise and
17838 Andrew Drake.
17839 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17840 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17841 when expanding .* in interfaces, bug320.
17842 Reported by Pierre-David Pfister.
17843 (verilog-read-module-name): Fix import statements between module
17844 name and open parenthesis, bug317.
17845 Reported by Pierre-David Pfister.
17846 (verilog-simplify-range-expression): Fix simplification of
17847 multiplications inside AUTOWIRE connections, bug303.
17848 (verilog-auto-inst-port): Support parameter expansion in
17849 multidimensional arrays.
17850 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17851 after "assert property". Reported by Julian Gorfajn.
17852 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17853 with multiplication, bug303.
17854 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17855 Reported by Jan Frode Lonnum.
17856
17857 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17858
17859 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17860 (hfy-shell-file-name, hfy-shell):
17861 * international/fontset.el (x-decompose-font-name): Fix typos.
17862
17863 2011-11-29 Ken Brown <kbrown@cornell.edu>
17864
17865 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17866 (gdb-version): Remove defvar.
17867 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17868 (gdb-gud-context-command, gdb-non-stop-handler)
17869 (gdb-current-context-command, gdb-stopped): Use it.
17870 (gdb-init-1): Enable pretty printing here.
17871 (gdb-non-stop-handler): Don't enable pretty-printing here.
17872 Check to see if the target supports non-stop mode; if not, turn off
17873 non-stop mode. Use the following.
17874 (gdb-check-target-async): New defun.
17875 (gud-watch, gdb-stopped): Fix whitespace.
17876 (gdb-get-source-file): Don't try to display the source file if
17877 `gdb-main-file' is nil.
17878
17879 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17880
17881 * align.el: Try to generate fewer markers (bug#10047).
17882 (align--set-marker): New macro.
17883 (align-region): Use it.
17884
17885 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17886
17887 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17888
17889 2011-11-29 Chong Yidong <cyd@gnu.org>
17890
17891 * indent.el (indent-for-tab-command, indent-according-to-mode):
17892 Doc fix.
17893 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17894
17895 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17896
17897 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17898 aware of remote file names. (Bug#10124)
17899
17900 2011-11-29 Chong Yidong <cyd@gnu.org>
17901
17902 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17903
17904 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17905
17906 * files.el (find-file): Don't use force-same-window (bug#10144).
17907 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17908 use pop-to-buffer if the selected window can't be used.
17909 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17910
17911 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17912
17913 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17914 special-mode-map.
17915
17916 2011-11-28 Chong Yidong <cyd@gnu.org>
17917
17918 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17919
17920 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17921
17922 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17923 gdb-get-source-file-list on gdb-create-source-file-list.
17924
17925 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17926
17927 * whitespace.el (whitespace-newline): Use a different foreground
17928 color for 16-color light-background displays.
17929
17930 2011-11-24 Chong Yidong <cyd@gnu.org>
17931
17932 * window.el (display-buffer--special-action): Doc fix.
17933
17934 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17935
17936 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17937 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17938 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17939 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17940 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17941 (avl-tree-stack-first):
17942 * emacs-lisp/cconv.el (cconv--analyse-use):
17943 * net/gnutls.el (gnutls-negotiate): Fix typos.
17944
17945 2011-11-24 Glenn Morris <rgm@gnu.org>
17946
17947 * lpr.el (lpr-windows-system, lpr-lp-system):
17948 * mail/binhex.el (binhex-begin-line):
17949 * progmodes/grep.el (grep-history, grep-find-history):
17950 * textmodes/flyspell.el:
17951 * vc/pcvs-defs.el (cvs-global-menu):
17952 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17953 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17954 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17955
17956 * net/tls.el: Fix case of "GnuTLS".
17957
17958 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17959
17960 * version.el (emacs-build-system): Give it a doc-string.
17961
17962 2011-11-24 Juri Linkov <juri@jurta.org>
17963
17964 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17965
17966 2011-11-24 Glenn Morris <rgm@gnu.org>
17967
17968 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17969 if called on a non-mime message just toggle the headers. (Bug#8006)
17970
17971 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17972
17973 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17974 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17975 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17976 (allout-rebullet-heading, allout-open-sibtopic)
17977 (allout-toggle-current-subtree-encryption)
17978 (allout-toggle-subtree-encryption, allout-encrypt-string)
17979 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17980 (allout-distinctive-bullets-string, allout-auto-activation):
17981 * window.el (window-normalize-buffer-to-display):
17982 * progmodes/verilog-mode.el (verilog-batch-indent):
17983 * textmodes/bibtex.el (bibtex-field-braces-opt)
17984 (bibtex-field-strings-opt):
17985 * vc/cvs-status.el (cvs-tree-merge):
17986 Fix typos.
17987
17988 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17989
17990 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17991 `non-essential' to t, in order to avoid remote connections.
17992
17993 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17994
17995 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17996 On MS-DOS and MS-Windows, compare with loaddefs.el
17997 case-insensitively.
17998
17999 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18000
18001 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18002
18003 2011-11-23 Glenn Morris <rgm@gnu.org>
18004
18005 * paths.el (rmail-file-name): Reformat the doc-string so that it
18006 is picked up.
18007
18008 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18009 (rmail-auto-file): Ignore case in the "special" field names,
18010 as mail-fetch-field does for all others.
18011
18012 * mail/rmail.el (rmail-forward):
18013 * mail/rmailkwd.el (rmail-set-label):
18014 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18015 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18016
18017 * mail/rmail.el (rmail-current-message): Doc fix.
18018
18019 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18020
18021 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18022
18023 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18024
18025 2011-11-22 Glenn Morris <rgm@gnu.org>
18026
18027 * mail/rmailmm.el (test-rmail-mime-handler)
18028 (test-rmail-mime-bulk-handler)
18029 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18030
18031 2011-11-21 Juri Linkov <juri@jurta.org>
18032
18033 * calc/calc.el (calc-read-key-sequence):
18034 Let-bind `input-method-function' to nil. (Bug#10018)
18035
18036 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18037
18038 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18039 Tell the caller that the next line needs recomputation, even
18040 though it doesn't start a sexp (bug#10094).
18041
18042 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18043
18044 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18045
18046 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18047
18048 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18049 Use force-same-window.
18050
18051 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18052
18053 * descr-text.el (describe-char-unicode-data):
18054 * json.el (json-string-escape):
18055 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18056 (Footnote-unicode, Footnote-style-p):
18057 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18058
18059 2011-11-20 Chong Yidong <cyd@gnu.org>
18060
18061 * window.el (replace-buffer-in-windows): Restore interactive spec.
18062
18063 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18064
18065 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18066
18067 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18068 (byte-compile-global-not-obsolete-vars): New var.
18069 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18070 Use it.
18071 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18072
18073 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18074
18075 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18076 * progmodes/pascal.el (electric-pascal-equal):
18077 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18078 * xml.el (xml-substitute-special): Fix typos.
18079
18080 2011-11-20 Glenn Morris <rgm@gnu.org>
18081
18082 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18083 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18084 Doc fixes.
18085 (rmail-decode-mime-charset): Mark as obsolete.
18086
18087 * mail/rmailsum.el (rmail-message-regexp-p-1):
18088 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18089 Before using mime functions, check they are set. (Bug#10077)
18090
18091 2011-11-19 Juri Linkov <juri@jurta.org>
18092
18093 * info.el (Info-finder-find-node): Use `package--builtins' instead
18094 of `package-alist'. Use node names formed by the pattern "Keyword "
18095 and the keyword name.
18096
18097 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18098
18099 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18100
18101 2011-11-19 Juri Linkov <juri@jurta.org>
18102
18103 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18104 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18105 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18106 `old-history', `old-history-forward'. Add let-binding
18107 `window-selected'. Remove calls to `kill-buffer',
18108 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18109 before calling `Info-find-node', so `Info-find-node-2' will reread
18110 the Info file. Restore window positions only when `window-selected'
18111 is non-nil.
18112
18113 2011-11-19 Juri Linkov <juri@jurta.org>
18114
18115 * isearch.el (isearch-lazy-highlight-new-loop):
18116 Remove condition `(not isearch-error)'. (Bug#9918)
18117
18118 * misearch.el (multi-isearch-search-fun): Add condition
18119 `(not bound)' to ignore lazy-highlighting search.
18120 Add the search-failed message "end of multi" when the end of
18121 multi-sequence is reached. Uncapitalize the search-failed
18122 message "Repeat for next buffer".
18123
18124 * info.el (Info-search): Add the search-failed message
18125 "end of the manual" when the end of the manual is reached
18126 in Isearch mode.
18127
18128 2011-11-19 Juri Linkov <juri@jurta.org>
18129
18130 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18131 Use non-destructive `remove' instead of `delete' because
18132 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18133 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18134
18135 2011-11-19 Juri Linkov <juri@jurta.org>
18136
18137 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18138 to nil instead of binding `search-ring' and `regexp-search-ring'.
18139 (Bug#9185)
18140
18141 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18142
18143 * simple.el (line-move): Force movement by logical lines for any
18144 hscrolled window, not only when auto-hscroll-mode is on.
18145 (line-move-visual): Update doc string to that effect. (Bug#10076)
18146
18147 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18148
18149 * language/european.el (macintosh): Define as alias for mac-roman.
18150
18151 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18152
18153 * mail/rmailmm.el (rmail-mime-display-header)
18154 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18155 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18156 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18157 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18158 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18159 of a raw aref.
18160 (rmail-mime-entity-segment): To get past the tagline, move forward
18161 2 more lines, to account for the 2 empty lines that precede and
18162 follow the line with the buttons.
18163 (rmail-mime-update-tagline): Move one more line, to get past the
18164 empty line that follows the buttons in the tagline. (Bug#9520)
18165
18166 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18167
18168 * window.el (window-max-delta-1, window-min-delta-1)
18169 (window-min-size-1, window-state-get-1, window-state-put-1)
18170 (window-state-put-2): Use "window--" prefix.
18171
18172 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18173
18174 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18175 (smie-warning-count): New var.
18176 (smie-set-prec2tab): Use it.
18177 (smie-bnf->prec2): Improve warnings. Add docstring.
18178 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18179 (smie-bnf--set-class): New function.
18180 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18181 corner case.
18182
18183 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18184 (compilation-error-properties, compilation-move-to-column):
18185 Handle compilation-first-column while in the target buffer.
18186
18187 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18188 Don't hardcode point-min==1.
18189
18190 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18191 (eshell-rewrite-for-command): Remove workaround.
18192 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18193 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18194 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18195
18196 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18197
18198 2011-11-17 Glenn Morris <rgm@gnu.org>
18199
18200 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18201 Ignore buffer-local generated-autoload-file if it is the same
18202 as the global value. (Bug#10049)
18203
18204 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18205
18206 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18207 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18208 (reftex-toc-previous-heading, reftex-toc-max-level)
18209 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18210 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18211 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18212 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18213 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18214 (reftex-toc-rename-label, reftex-toc-visit-location)
18215 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18216 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18217 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18218 leaving "*toc*" only for references to the buffer.
18219
18220 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18221
18222 * window.el (window-resize, delete-window, split-window):
18223 Replace window-splits by window-combination-resize.
18224 * cus-start.el (window-splits): Replace by window-combination-resize.
18225
18226 2011-11-17 Glenn Morris <rgm@gnu.org>
18227
18228 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18229 Make bash entry derive from sh entry, not shell entry.
18230
18231 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18232
18233 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18234 local file name.
18235
18236 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18237
18238 * menu-bar.el (menu-bar-file-menu):
18239 * printing.el (pr-ps-utility):
18240 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18241 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18242 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18243 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18244 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18245 (icalendar--convert-cyclic-to-ical)
18246 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18247 (icalendar--convert-ical-to-diary)
18248 (icalendar--convert-recurring-to-diary)
18249 (icalendar--convert-non-recurring-all-day-to-diary)
18250 (icalendar-import-format-sample):
18251 * progmodes/idlw-shell.el (idlwave-shell-mode):
18252 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18253 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18254 (vhdl-ps-print-init): Fix typos.
18255
18256 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18257
18258 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18259 FSF and collapse date sequence, obscure author/maintainer email address
18260 better, remove extra version line, track relocation of author's webpage.
18261
18262 * progmodes/python.el (python-pdbtrack-input-prompt)
18263 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18264 regular python pdb prompts. Adjustments shamelessly taken exactly as
18265 suggested in EmacsWiki page (tiny change):
18266 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18267
18268 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18269
18270 * expand.el (expand-pos, expand-index, expand-point):
18271 Remove redundant info from docstring.
18272 (expand-add-abbrevs): Doc fix.
18273 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18274 (expand-sample-perl-mode-expand-list): Fix typos.
18275
18276 * net/dbus.el (dbus-event-member-name):
18277 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18278 * term/pc-win.el (msdos-create-frame-with-faces):
18279 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18280
18281 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18282
18283 * window.el (split-window, window-state-get-1)
18284 (window-state-put-1, window-state-put-2): Rename occurrences of
18285 window-nest to window-combination-limit.
18286 * cus-start.el (window-nest): Rename to window-combination-limit.
18287
18288 2011-11-16 Chong Yidong <cyd@gnu.org>
18289
18290 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18291 regexp (Bug#10033).
18292
18293 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18294
18295 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18296 `completing-read' will remove *Completions* and will preserve
18297 current-buffer for us.
18298 (tmm-add-prompt): Users of *Completions* will always (re)set its
18299 major mode.
18300 (tmm-old-comp-map): Remove.
18301
18302 2011-11-16 Glenn Morris <rgm@gnu.org>
18303
18304 * mail/rmailedit.el: Require rmailmm when compiling.
18305 (rmail-old-mime-state): New declaration.
18306 (rmail-edit-current-message): If editing a mime message,
18307 edit the "raw" message from the mbox buffer.
18308 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18309
18310 2011-11-15 Glenn Morris <rgm@gnu.org>
18311
18312 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18313 which wasn't being used. Add optional arg to force given state.
18314 (rmail-mime): Add optional arg to force given state.
18315
18316 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18317
18318 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18319 * frame.el (display-mm-dimensions-alist):
18320 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18321 (outline-move-subtree-down):
18322 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18323 (newsticker--treeview-do-get-node):
18324 * net/quickurl.el (quickurl-list-buffer-name):
18325 * progmodes/dcl-mode.el (dcl-mode):
18326 * progmodes/gdb-mi.el (gdb-mapcar*):
18327 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18328
18329 2011-11-15 Glenn Morris <rgm@gnu.org>
18330
18331 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18332 in a boolean sense, so just make it a boolean, and fix the doc.
18333 (rmail-show-mime-function, rmail-mime-feature)
18334 (rmail-require-mime-maybe): Doc fixes.
18335 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18336
18337 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18338
18339 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18340
18341 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18342 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18343 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18344 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18345
18346 2011-11-15 Glenn Morris <rgm@gnu.org>
18347
18348 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18349 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18350 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18351 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18352 (rmail-mime, rmail-show-mime): Doc fixes.
18353
18354 * term/ns-win.el (mode-line-frame-identification):
18355 Leave it alone. (Bug#10051)
18356
18357 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18358
18359 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18360 Handle empty buffers. (Bug#9978)
18361
18362 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18363
18364 * international/mule.el (define-charset):
18365 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18366 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18367 * progmodes/verilog-mode.el (verilog-backward-token):
18368 * textmodes/ispell.el (lookup-words):
18369 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18370
18371 2011-11-14 Glenn Morris <rgm@gnu.org>
18372
18373 * progmodes/executable.el
18374 (executable-make-buffer-file-executable-if-script-p):
18375 Handle file-modes returning nil.
18376
18377 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18378 message - not necessary, and causes problems. (Bug#9831)
18379
18380 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18381
18382 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18383
18384 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18385 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18386 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18387
18388 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18389
18390 * window.el (window-resize, delete-window): Use window-splits
18391 variable instead of function.
18392 (window-state-get-1, window-state-put-2, window-state-put):
18393 Don't deal with windows' splits status.
18394
18395 2011-11-12 Glenn Morris <rgm@gnu.org>
18396
18397 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18398 (apropos-documentation): Doc fixes.
18399
18400 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18401
18402 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18403 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18404
18405 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18406
18407 * electric.el (electric-indent-post-self-insert-function): Make it
18408 possible for a char to only indent in some circumstances.
18409 (electric-indent-mode): Simplify.
18410
18411 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18412
18413 * window.el (windows-with-parameter): Remove unused function.
18414 (windows-at-side): Rename to window-at-side-list.
18415 (window-check, window-atom-check, window-atom-check-1)
18416 (window-side-check, window-size-ignore, window-size-fixed-1)
18417 (window-in-direction-2): Prefix with "window--".
18418 (window-tree-1): Rename to window--subtree, fix doc-string.
18419
18420 2011-11-11 Glenn Morris <rgm@gnu.org>
18421
18422 * subr.el (eval-after-load): If FILE is already loaded,
18423 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18424
18425 2011-11-10 Glenn Morris <rgm@gnu.org>
18426
18427 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18428 Call svn via vc-svn-command rather than vc-do-command.
18429 (vc-svn-command): Add --non-interactive. (Bug#9993)
18430 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18431
18432 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18433 Add toggle-read-only. (Bug#7292)
18434 * files.el (toggle-read-only): Mention that it should only
18435 be used interactively. (Bug#10006)
18436
18437 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18438
18439 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18440 Adjust regexp for OCaml warnings.
18441
18442 * electric.el (electric-pair-post-self-insert-function): Let user
18443 turn it off buffer-locally (bug#9932).
18444
18445 * progmodes/python.el (python-beginning-of-statement):
18446 Rewrite (bug#2703).
18447
18448 * progmodes/compile.el: Better handle TABs (bug#9749).
18449 (compilation-internal-error-properties)
18450 (compilation-next-error-function): Obey the target buffer's
18451 compilation-error-screen-columns.
18452
18453 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18454
18455 * progmodes/meta-mode.el: Remove obsolete comments.
18456 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18457 Fix typos in docstrings.
18458
18459 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18460
18461 * window.el (window-size-fixed-p): Rewrite doc-string.
18462 (window-resizable-p): Rename to window--resizable-p. Update callers.
18463 (window--resizable): New function. Make all callers of
18464 window-resizable call window--resizable instead.
18465 (window-resizable): Rewrite in terms of window--resizable.
18466
18467 2011-11-08 Glenn Morris <rgm@gnu.org>
18468
18469 * progmodes/delphi.el (delphi-mode-syntax-table):
18470 Let define-derived-mode define a proper syntax table. (Bug#9994)
18471
18472 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18473
18474 * window.el: Stay away from defsubst.
18475 (window-list-no-nils): Remove.
18476 (window-state-get-1, window-state-get): Use backquote instead.
18477
18478 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18479
18480 * emacs-lisp/find-func.el (find-function-read):
18481 Fix incorrect use of default argument in `completing-read'.
18482
18483 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18484
18485 * window.el (display-buffer-function, special-display-function):
18486 Mention display-buffer-record-window but do not mention
18487 help-setup parameter in doc-strings.
18488 (window-min-delta): Fix doc-string typo.
18489
18490 2011-11-08 Chong Yidong <cyd@gnu.org>
18491
18492 * window.el (window-total-height, window-total-width): Doc fix.
18493 (window-body-size): Move from C.
18494 (window-body-height, window-body-width): Move to C.
18495
18496 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18497
18498 * window.el: Make special-display like display-buffer-alist (bug#9532).
18499 (display-buffer--special-action): New function, morphed
18500 from display-buffer--special.
18501 (display-buffer): Use it to handle special-display-buffers at higher
18502 priority (just after display-buffer-alist).
18503 (display-buffer-fallback-action, display-buffer--other-frame-action)
18504 (pop-to-buffer-same-window): Remove display-buffer--special.
18505
18506 2011-11-07 Glenn Morris <rgm@gnu.org>
18507
18508 * calendar/cal-menu.el (cal-menu-set-date-title):
18509 Do nothing if not in a calendar. (Bug#9976)
18510
18511 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18512
18513 * files.el (find-file): Always use selected-window.
18514
18515 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18516
18517 * window.el (window-combinations): Make WINDOW argument
18518 mandatory. Rewrite doc-string.
18519 (walk-window-subtree, window-atom-check, window-min-delta)
18520 (window-max-delta, window--resize-this-window)
18521 (window--resize-root-window-vertically, window-tree)
18522 (balance-windows, window-state-put): Rewrite doc-strings as to
18523 not mention the term "subwindow".
18524 (window--resize-subwindows-skip-p): Rename to
18525 window--resize-child-windows-skip-p.
18526 (window--resize-subwindows-normal): Rename to
18527 window--resize-child-windows-normal.
18528 (window--resize-subwindows): Rename to
18529 window--resize-child-windows.
18530 (window-or-subwindow-p): Rename to window--in-subtree-p.
18531
18532 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18533
18534 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18535 Ensure that mbox format messages end in two newlines (Bug#9974).
18536
18537 2011-11-06 Chong Yidong <cyd@gnu.org>
18538
18539 * window.el (window-combination-p): Function deleted; its
18540 side-effect is not used in any existing code.
18541 (window-combinations, window-combined-p): Call window-*-child
18542 directly.
18543
18544 2011-11-05 Chong Yidong <cyd@gnu.org>
18545
18546 * window.el (window-valid-p): Rename from window-any-p.
18547 (window-size-ignore, window-state-get): Callers changed.
18548 (window-normalize-window): Rename from window-normalize-any-window.
18549 New arg LIVE-ONLY, replacing window-normalize-live-window.
18550 (window-normalize-live-window): Delete.
18551 (window-combination-p, window-combined-p, window-combinations)
18552 (walk-window-subtree, window-atom-root, window-min-size)
18553 (window-sizable, window-sizable-p, window-size-fixed-p)
18554 (window-min-delta, window-max-delta, window-resizable)
18555 (window-resizable-p, window-full-height-p, window-full-width-p)
18556 (window-current-scroll-bars, window-point-1, set-window-point-1)
18557 (window-at-side-p, window-in-direction, window-resize)
18558 (adjust-window-trailing-edge, maximize-window, minimize-window)
18559 (window-deletable-p, delete-window, delete-other-windows)
18560 (record-window-buffer, unrecord-window-buffer)
18561 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18562 (quit-window, split-window, window-state-put)
18563 (set-window-text-height, fit-window-to-buffer)
18564 (shrink-window-if-larger-than-buffer): Callers changed.
18565
18566 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18567
18568 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18569 rfc2047-decode-string.
18570 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18571 warnings.
18572
18573 * window.el (window-body-height, window-body-width): Mention in
18574 the doc string that the return values are in frame's canonical
18575 units. (Bug#9949)
18576
18577 2011-11-03 Alan Mackenzie <acm@muc.de>
18578
18579 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18580 change in cc-engine.el.
18581
18582 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18583
18584 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18585
18586 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18587
18588 * window.el (quit-window): Call unrecord-window-buffer after
18589 showing another buffer in the window. (Bug#9937)
18590 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18591
18592 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18593
18594 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18595 Accept status with more than 9 shelves. (Bug#9935)
18596 Reported by Colin D Bennett <colin@gibibit.com>.
18597
18598 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18599
18600 * help.el (with-help-window): Don't reference
18601 temp-buffer-show-specifiers in doc-string.
18602
18603 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18604
18605 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18606 menu-item.
18607
18608 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18609
18610 * whitespace.el: New version 13.2.2.
18611 (whitespace-newline-mode): Disable properly. Reported by Sarah
18612 <EmacsWiki>.
18613
18614 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18615
18616 * net/newst-treeview.el: Remove "Time-stamp".
18617 (newsticker--group-manage-orphan-feeds): Do not call
18618 newsticker--treeview-tree-update.
18619 (newsticker-treeview-update, newsticker-treeview):
18620 Call newsticker--treeview-tree-update if necessary.
18621
18622 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18623
18624 * window.el (window-iso-combination-p, window-iso-combined-p)
18625 (window-iso-combinations): Remove "iso-" infix.
18626 Suggested by Chong Yidong.
18627 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18628 (window-max-delta-1, window-resize, window--resize-siblings)
18629 (window--resize-this-window, adjust-window-trailing-edge)
18630 (split-window, balance-windows-1)
18631 (shrink-window-if-larger-than-buffer):
18632 * calendar/calendar.el (calendar-generate-window):
18633 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18634
18635 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18636
18637 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18638 in place (bug#9907).
18639 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18640 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18641 (eshell-structure-basic-command, eshell-rewrite-while-command)
18642 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18643 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18644 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18645 (eshell-do-pipelines-synchronously, eshell-eval-command):
18646 Use backquotes and prefer setq to set.
18647 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18648 (eshell-macrop): Use functionp.
18649 (eshell-do-eval): Handle multiple expressions in `while' body.
18650
18651 2011-10-30 Chong Yidong <cyd@gnu.org>
18652
18653 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18654 instead of set-mark (Bug#9810).
18655
18656 2011-10-30 Chong Yidong <cyd@gnu.org>
18657
18658 * window.el (split-window-below, split-window-right): Rename from
18659 split-window-above-each-other and split-window-side-by-side
18660 respectively. All callers changed.
18661 (split-window-sensibly, split-window-sensibly): Use them.
18662 (split-window-keep-point): Doc fix.
18663
18664 * isearch.el: Add isearch-scroll property to split-window-below
18665 and split-window-right.
18666
18667 * follow.el (follow-mode):
18668 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18669 * progmodes/ada-xref.el (ada-gdb-application):
18670 * emulation/vip.el (vip-buffer-in-two-windows):
18671 * image-dired.el (image-dired-dired-with-window-configuration):
18672 * dired-x.el (dired-do-find-marked-files):
18673 * dired.el (dired-pop-to-buffer):
18674 * bs.el (bs--show-with-configuration):
18675 * vc/emerge.el (emerge-setup-windows):
18676 * textmodes/two-column.el (2C-two-columns):
18677 * textmodes/reftex-toc.el (reftex-toc):
18678 * progmodes/gdb-mi.el (gdb-setup-windows):
18679 * progmodes/fortran.el (fortran-window-create):
18680 * net/newst-treeview.el (newsticker--treeview-window-init):
18681 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18682 * emulation/tpu-edt.el (tpu-gold-map):
18683 * emulation/crisp.el (crisp-mode-map):
18684 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18685
18686 2011-10-29 Chong Yidong <cyd@gnu.org>
18687
18688 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18689
18690 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18691
18692 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18693 forged Ispell output (Bug#7904).
18694
18695 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18696
18697 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * doc-view.el: Avoid ugly errors about not finding nil.
18700 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18701 (doc-view-dvipdf-program, doc-view-unoconv-program)
18702 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18703 Avoid nil or absolute file name as default value.
18704 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18705
18706 2011-10-28 Alan Mackenzie <acm@muc.de>
18707
18708 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18709
18710 2011-10-28 Alan Mackenzie <acm@muc.de>
18711
18712 Amend the handling of c-beginning/end-of-defun in nested declaration
18713 scopes.
18714
18715 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18716 cc-langs.el. Change it to a defcustom.
18717
18718 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18719 cc-vars.el.
18720
18721 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18722 Prevent "class foo : bar" being spuriously recognized as a label.
18723
18724 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18725 Add parameter `inclusive' (to include enclosing braces in the region).
18726 (c-widen-to-enclosing-decl-scope): New function.
18727 (c-while-widening-to-decl-block): New macro.
18728 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18729 outward for defun boundaries, and correspondingly change symbol
18730 `respect-enclosure' to `go-outward'.
18731 (c-declaration-limits): Change algorithm to report only the "innermost"
18732 defun's boundaries.
18733
18734 2011-10-28 Deniz Dogan <deniz@dogan.se>
18735
18736 * net/rcirc.el (rcirc-mode): Use hard newlines.
18737
18738 2011-10-28 Alan Mackenzie <acm@muc.de>
18739
18740 Amend to indent and fontify macros "which include their own semicolon"
18741 correctly, using the "virtual semicolon" mechanism.
18742
18743 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18744
18745 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18746 Recode to scan one line at a time rather than having \n and \r
18747 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18748 (c-forward-label): Amend for virtual semicolons.
18749 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18750
18751 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18752 of the new C macros.
18753
18754 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18755 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18756 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18757 (c-opt-cpp-macro-define): Make into a full language variable.
18758 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18759 AWK Mode (including \n, \r) removed, no longer needed.
18760
18761 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18762 Invoke c-make-macro-with-semi-re.
18763
18764 * progmodes/cc-vars.el (c-macro-with-semi-re):
18765 (c-macro-names-with-semicolon): New variables.
18766 (c-make-macro-with-semi-re): New function.
18767
18768 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18769
18770 * vc/log-edit.el: Fill empty field rather than adding new one.
18771 (log-edit-add-field): New function.
18772 (log-edit-insert-changelog): Use it.
18773
18774 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18775
18776 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18777
18778 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18779
18780 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18781 (gdb--check-interpreter): New function.
18782 (gdb): Use it.
18783
18784 2011-10-27 Glenn Morris <rgm@gnu.org>
18785
18786 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18787 (least-positive-float, least-negative-float)
18788 (least-positive-normalized-float, least-negative-normalized-float)
18789 (float-epsilon, float-negative-epsilon):
18790 Remove unnecessary declarations.
18791
18792 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18793 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18794 (least-positive-float, least-negative-float)
18795 (least-positive-normalized-float, least-negative-normalized-float)
18796 (float-epsilon, float-negative-epsilon): Add doc-strings,
18797 based on those in cl.texi.
18798
18799 * files.el (set-visited-file-name): If the major-mode changed,
18800 reload the local variables. (Bug#9796)
18801
18802 2011-10-27 Chong Yidong <cyd@gnu.org>
18803
18804 * subr.el (change-major-mode-after-body-hook): New hook.
18805 (run-mode-hooks): Run it.
18806
18807 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18808 Use change-major-mode-before-body-hook.
18809
18810 * simple.el (fundamental-mode):
18811 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18812 change introducing fundamental-mode-hook.
18813
18814 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18815
18816 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18817
18818 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18819
18820 * ido.el (ido-file-name-all-completions-1): Do not require
18821 tramp.el explicitly. (Bug#7583)
18822
18823 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18824
18825 * progmodes/octave-mod.el:
18826 * progmodes/octave-inf.el: Update maintainer.
18827
18828 2011-10-26 Chong Yidong <cyd@gnu.org>
18829
18830 * subr.el (with-wrapper-hook): Rewrite doc.
18831
18832 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18833
18834 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18835 filenames "/method:foo:". (Bug#9793)
18836
18837 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18838
18839 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18840 (bug#9865).
18841
18842 2011-10-24 Glenn Morris <rgm@gnu.org>
18843
18844 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18845
18846 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18847
18848 * notifications.el: Add the requirement of a running D-Bus session
18849 bus to the Commentary.
18850
18851 2011-10-24 Juri Linkov <juri@jurta.org>
18852
18853 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18854 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18855 (Bug#9364)
18856
18857 2011-10-24 Juri Linkov <juri@jurta.org>
18858
18859 * info.el (Info-following-node-name-re): Add newline to the list
18860 of allowed characters for leading space. (Bug#9824)
18861
18862 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18863
18864 * progmodes/octave-inf.el (inferior-octave-mode-map):
18865 Fix C-c C-h binding.
18866 * progmodes/octave-mod.el (octave-help): Remove.
18867
18868 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18869
18870 Sync with Tramp 2.2.3.
18871
18872 * net/tramp-cache.el (top): Pacify byte-compiler using
18873 `init-file-user' and `site-run-file'.
18874
18875 * net/trampver.el: Update release number.
18876
18877 2011-10-23 Chong Yidong <cyd@gnu.org>
18878
18879 * files.el (toggle-read-only): Remove obsolete comment about
18880 version control.
18881
18882 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18883 for toggle-read-only. Note that this hasn't called vc-next-action
18884 since 2008-05-02, though it wasn't documented at the time.
18885
18886 * vc/ediff-init.el (ediff-toggle-read-only-function):
18887 Use toggle-read-only.
18888
18889 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18890
18891 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18892 of c-parse-state.
18893
18894 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18895 correct faulty logical expression.
18896 (c-parse-state-state, c-record-parse-state-state):
18897 (c-replay-parse-state-state): New defvar/defuns.
18898 (c-debug-parse-state): Use new functions.
18899
18900 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18901
18902 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18903 last fix. Use window-in-direction correctly.
18904
18905 2011-10-21 Chong Yidong <cyd@gnu.org>
18906
18907 * progmodes/idlwave.el (idlwave-mode):
18908 * progmodes/vera-mode.el (vera-mode): No need to set
18909 require-final-newline; that's done in prog-mode.
18910 Suggested by Stefan Monnier.
18911
18912 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18913
18914 * mouse.el (mouse-drag-window-above)
18915 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18916 (mouse-drag-mode-line-1, mouse-drag-header-line)
18917 (mouse-drag-vertical-line-rightward-window): Remove.
18918 (mouse-drag-line): New function.
18919 (mouse-drag-mode-line, mouse-drag-header-line)
18920 (mouse-drag-vertical-line): Call mouse-drag-line.
18921 * window.el (window-at-side-p, windows-at-side): New functions.
18922
18923 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18924
18925 * tar-mode.el (tar-grind-file-mode):
18926 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18927
18928 2011-10-21 Chong Yidong <cyd@gnu.org>
18929
18930 * progmodes/idlwave.el (idlwave-mode):
18931 * progmodes/vera-mode.el (vera-mode):
18932 Use mode-require-final-newline.
18933
18934 2011-10-20 Glenn Morris <rgm@gnu.org>
18935
18936 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18937
18938 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18939
18940 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18941
18942 2011-10-20 Chong Yidong <cyd@gnu.org>
18943
18944 * emulation/cua-base.el (cua-mode):
18945 * mail/footnote.el (footnote-mode):
18946 * mail/mailabbrev.el (mail-abbrevs-mode):
18947 * net/xesam.el (xesam-minor-mode):
18948 * progmodes/bug-reference.el (bug-reference-mode):
18949 * progmodes/cap-words.el (capitalized-words-mode):
18950 * progmodes/compile.el (compilation-minor-mode)
18951 (compilation-shell-minor-mode):
18952 * progmodes/gud.el (gud-tooltip-mode):
18953 * progmodes/hideif.el (hide-ifdef-mode):
18954 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18955 * progmodes/subword.el (subword-mode):
18956 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18957 * progmodes/which-func.el (which-function-mode):
18958 * term/tvi970.el (tvi970-set-keypad-mode):
18959 * term/vt100.el (vt100-wide-mode):
18960 * textmodes/flyspell.el (flyspell-mode):
18961 * textmodes/ispell.el (ispell-minor-mode):
18962 * textmodes/nroff-mode.el (nroff-electric-mode):
18963 * textmodes/paragraphs.el (use-hard-newlines):
18964 * textmodes/refill.el (refill-mode):
18965 * textmodes/reftex.el (reftex-mode):
18966 * textmodes/rst.el (rst-minor-mode):
18967 * textmodes/sgml-mode.el (html-autoview-mode)
18968 (sgml-electric-tag-pair-mode):
18969 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18970 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18971 * emulation/crisp.el (crisp-mode):
18972 * emacs-lisp/eldoc.el (eldoc-mode):
18973 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18974 minor mode behavior.
18975
18976 2011-10-19 Juri Linkov <juri@jurta.org>
18977
18978 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18979 the list of hard-coded chars with escape-glyph face.
18980
18981 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18982
18983 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18984
18985 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18986
18987 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18988 running process.
18989
18990 2011-10-19 Glenn Morris <rgm@gnu.org>
18991
18992 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18993 Ignore ignored files. (Bug#9726)
18994
18995 2011-10-19 Chong Yidong <cyd@gnu.org>
18996
18997 Doc fix for minor modes, stating that an omitted argument enables
18998 the mode unconditionally when called from Lisp.
18999
19000 * abbrev.el (abbrev-mode):
19001 * allout.el (allout-mode):
19002 * autoinsert.el (auto-insert-mode):
19003 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19004 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19005 (global-auto-revert-mode):
19006 * battery.el (display-battery-mode):
19007 * composite.el (global-auto-composition-mode)
19008 (auto-composition-mode):
19009 * delsel.el (delete-selection-mode):
19010 * desktop.el (desktop-save-mode):
19011 * dired-x.el (dired-omit-mode):
19012 * dirtrack.el (dirtrack-mode):
19013 * doc-view.el (doc-view-minor-mode):
19014 * double.el (double-mode):
19015 * electric.el (electric-indent-mode, electric-pair-mode):
19016 * emacs-lock.el (emacs-lock-mode):
19017 * epa-hook.el (auto-encryption-mode):
19018 * follow.el (follow-mode):
19019 * font-core.el (font-lock-mode):
19020 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19021 * help.el (temp-buffer-resize-mode):
19022 * hilit-chg.el (highlight-changes-mode)
19023 (highlight-changes-visible-mode):
19024 * hi-lock.el (hi-lock-mode):
19025 * hl-line.el (hl-line-mode, global-hl-line-mode):
19026 * icomplete.el (icomplete-mode):
19027 * ido.el (ido-everywhere):
19028 * image-file.el (auto-image-file-mode):
19029 * image-mode.el (image-minor-mode):
19030 * iswitchb.el (iswitchb-mode):
19031 * jka-cmpr-hook.el (auto-compression-mode):
19032 * linum.el (linum-mode):
19033 * longlines.el (longlines-mode):
19034 * master.el (master-mode):
19035 * mb-depth.el (minibuffer-depth-indicate-mode):
19036 * menu-bar.el (menu-bar-mode):
19037 * minibuf-eldef.el (minibuffer-electric-default-mode):
19038 * mouse-sel.el (mouse-sel-mode):
19039 * msb.el (msb-mode):
19040 * mwheel.el (mouse-wheel-mode):
19041 * outline.el (outline-minor-mode):
19042 * paren.el (show-paren-mode):
19043 * recentf.el (recentf-mode):
19044 * reveal.el (reveal-mode, global-reveal-mode):
19045 * rfn-eshadow.el (file-name-shadow-mode):
19046 * ruler-mode.el (ruler-mode):
19047 * savehist.el (savehist-mode):
19048 * scroll-all.el (scroll-all-mode):
19049 * scroll-bar.el (scroll-bar-mode):
19050 * server.el (server-mode):
19051 * shell.el (shell-dirtrack-mode):
19052 * simple.el (auto-fill-mode, transient-mark-mode)
19053 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19054 (line-number-mode, column-number-mode, size-indication-mode)
19055 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19056 * strokes.el (strokes-mode):
19057 * time.el (display-time-mode):
19058 * t-mouse.el (gpm-mouse-mode):
19059 * tool-bar.el (tool-bar-mode):
19060 * tooltip.el (tooltip-mode):
19061 * type-break.el (type-break-mode-line-message-mode)
19062 (type-break-query-mode):
19063 * view.el (view-mode):
19064 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19065 (global-whitespace-mode, global-whitespace-newline-mode):
19066 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19067
19068 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19069 Fix autogenerated docstring.
19070
19071 2011-10-19 Juri Linkov <juri@jurta.org>
19072
19073 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19074 by checking environment variables "DESKTOP_SESSION" and
19075 "XDG_CURRENT_DESKTOP". (Bug#9779)
19076
19077 2011-10-19 Juri Linkov <juri@jurta.org>
19078
19079 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19080 (browse-url-chromium-program, browse-url-chromium-arguments):
19081 New defcustoms.
19082 (browse-url-default-browser): Check for `browse-url-chromium' and
19083 call `browse-url-chromium-program'.
19084 (browse-url-chromium): New command. (Bug#9779)
19085
19086 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19087
19088 * facemenu.el (list-colors-duplicates): On Windows, detect more
19089 duplicates by assuming that only colors matching "^System" are
19090 special "system colors". (Bug#9722)
19091
19092 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19093
19094 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19095 to distinguish the author from the committer.
19096
19097 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19098
19099 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19100
19101 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19102
19103 * international/mule.el (sgml-html-meta-auto-coding-function):
19104 Add support for detecting encoding in HTML5 specified only as
19105 <meta charset="UTF-8">. Implementation just makes http-equiv and
19106 content-type parts from HTML4 encoding string optional. (Bug#9716)
19107
19108 2011-10-18 Glenn Morris <rgm@gnu.org>
19109
19110 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19111
19112 2011-10-18 Chong Yidong <cyd@gnu.org>
19113
19114 * faces.el (cursor): Doc fix.
19115
19116 2011-10-17 Chong Yidong <cyd@gnu.org>
19117
19118 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19119
19120 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19121
19122 * dirtrack.el (dirtrack): Support shell buffers with path
19123 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19124
19125 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19126
19127 * json.el: Bump version to 1.3 and note change in History.
19128 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19129
19130 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19131
19132 * comint.el (comint-insert-input, comint-send-input)
19133 (comint-get-old-input-default, comint-backward-matching-input)
19134 (comint-next-prompt): Use nil instead of `input' for field property of
19135 past user input (bug#114).
19136
19137 * minibuffer.el (completion--replace): Inherit surrounding properties
19138 (bug#114).
19139 (minibuffer-complete-and-exit): Use it.
19140
19141 * comint.el (comint--table-subvert): Quote the all-completions output
19142 (bug#9160).
19143
19144 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19145
19146 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19147
19148 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19149 window on right of selected. (Bug#9350) Reword other window
19150 entries and separate them from frame entries.
19151
19152 2011-10-15 Glenn Morris <rgm@gnu.org>
19153
19154 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19155 Doc fixes.
19156
19157 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19158
19159 * net/network-stream.el (network-stream-open-starttls):
19160 Improve detection of failure due to lack of TLS support.
19161
19162 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19163 putting the input text in front and in bold.
19164
19165 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19166
19167 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19168
19169 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19170 empty buffer.
19171
19172 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19173 unread-command-events rather than pushing yet-another event.
19174
19175 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19176
19177 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19178 the explanation of the possible choices. Make the options passed
19179 to completing-read shorter.
19180
19181 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19182
19183 * textmodes/flyspell.el (flyspell-large-region): Make sure
19184 extended character mode is used if defined (Bug#1339).
19185
19186 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19187
19188 * simple.el (what-cursor-position): Fix the display of the
19189 character info for LRE, LRO, RLE, and RLO characters by appending
19190 an invisible PDF.
19191
19192 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19193
19194 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19195 even in case of error; add debug spec; simplify data flow.
19196 (with-timeout-handler): Remove.
19197
19198 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19199
19200 Fix Bug#6019, Bug#9315.
19201
19202 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19203 complete `buffer-file-name', the local file name part could look
19204 remotely (for example on VMS).
19205
19206 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19207 `tramp-run-real-handler'.
19208 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19209 already quoted by '"'.
19210
19211 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19212 Let `file-name-handler-alist' be nil, the local file name part
19213 could look remotely (for example on VMS).
19214
19215 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19216
19217 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19218 from here...
19219 (flyspell-post-command-hook): ...to here.
19220
19221 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19222
19223 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19224 if not needed.
19225 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19226 using completion. Protect against "slow" callers.
19227 Remove the "message hack".
19228
19229 2011-10-11 Juri Linkov <juri@jurta.org>
19230
19231 * isearch.el (isearch-lazy-highlight-word): New variable.
19232 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19233 Use it. (Bug#9727)
19234
19235 2011-10-11 Glenn Morris <rgm@gnu.org>
19236
19237 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19238 like f90-previous-statement does.
19239
19240 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19241
19242 * eshell/eshell.el (eshell-command): History should be saved
19243 only in interactive use, to avoid error.
19244
19245 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19246
19247 * minibuffer.el (completion-file-name-table): Fix last change,
19248 i.e. ignore normal errors but not the other ones.
19249
19250 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19251
19252 * window.el (special-display-buffer-names)
19253 (special-display-regexps): Remove some remnants of earlier
19254 changes from doc-strings.
19255 (quit-windows-on): New function.
19256
19257 * vc/vc.el (vc-revert, vc-rollback):
19258 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19259 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19260 (Bug#6183) (Bug#7074) (Bug#7447)
19261
19262 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19263
19264 * window.el (frame-auto-hide-function): Add version tag.
19265 (Bug#9699)
19266
19267 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19268
19269 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19270 condition.
19271
19272 2011-10-09 Leo Liu <sdl.web@gmail.com>
19273
19274 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19275 (Bug#9701)
19276
19277 2011-10-08 Glenn Morris <rgm@gnu.org>
19278
19279 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19280 before the first code statement zero indent. (Bug#9690)
19281
19282 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19283
19284 * simple.el (count-words-region): Always count in the region.
19285 Report the number of lines and characters too.
19286 (count-words): New command, which counts in the buffer if the
19287 region is inactive, as count-words-region used to.
19288 (count-words--message): New function. Handle plurals.
19289 (count-lines-region): Make it an alias for count-words-region.
19290
19291 * bindings.el (esc-map): Replace count-lines-region with
19292 count-words-region.
19293
19294 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19295
19296 * window.el (window--delete): Delete dedicated frame
19297 unconditionally when argument KILL is non-nil. (Bug#9699)
19298 (switch-to-buffer): Fix doc-string typo.
19299
19300 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19301
19302 * eshell/eshell.el (eshell-command): Avoid using hooks.
19303
19304 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19305
19306 * bindings.el ([M-left],[M-right]): Bind to left-word and
19307 right-word respectively.
19308
19309 2011-10-07 Glenn Morris <rgm@gnu.org>
19310
19311 * cus-start.el (debug-on-quit): Fix custom type.
19312
19313 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19314
19315 * subr.el (define-key-after): Clarify that the function is not
19316 useful for non-menu keymaps.
19317
19318 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19319
19320 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19321
19322 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19323 in current minibuffer (Fix bug with recursive minibuffers).
19324
19325 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19326
19327 * progmodes/gdb-mi.el (gdb): Doc fix.
19328
19329 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19330
19331 * window.el (frame-auto-hide-function): New option replacing
19332 frame-auto-delete. Suggested by Stefan Monnier.
19333 (window--delete): Call frame-auto-hide-function instead of
19334 investigating frame-auto-delete.
19335 (window-point-1, set-window-point-1): New functions.
19336 (window-in-direction, record-window-buffer, window-state-get-1)
19337 (display-buffer-record-window): Use window-point-1 instead of
19338 window-point.
19339 (set-window-buffer-start-and-point): Use set-window-point-1.
19340
19341 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19344
19345 2011-10-05 Glenn Morris <rgm@gnu.org>
19346
19347 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19348 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19349
19350 2011-10-05 Leo Liu <sdl.web@gmail.com>
19351
19352 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19353 works with buffer object.
19354
19355 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19356
19357 * mpc.el (mpc-tool-bar-map): Add labels.
19358
19359 2011-10-04 Glenn Morris <rgm@gnu.org>
19360
19361 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19362
19363 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19364
19365 * window.el (window--delete): New function.
19366 (frame-auto-delete): Resuscitate option.
19367 (bury-buffer, replace-buffer-in-windows)
19368 (quit-window): Rewrite using window--delete.
19369 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19370 Pass display-buffer-mark-dedicated to window--display-buffer-2
19371 (Bug#9639).
19372
19373 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19374
19375 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19376 returns a list (bug#9554). Add remote file name completion.
19377 * comint.el (comint--table-subvert): Curry and get quote&unquote
19378 functions as arguments.
19379 (comint--complete-file-name-data): Adjust call accordingly.
19380 * pcomplete.el (pcomplete--table-subvert): Remove.
19381 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19382
19383 * minibuffer.el (completion-table-case-fold): Use currying.
19384 (completion--styles-type, completion--cycling-threshold-type):
19385 New constants.
19386 (completion-styles, completion-category-overrides)
19387 (completion-cycle-threshold): Use them.
19388 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19389 completion-table-case-fold.
19390
19391 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19392
19393 * minibuffer.el (completion-category-overrides): Fix type of styles
19394 and add more user friendly tags (bug#9660).
19395
19396 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19397
19398 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19399 (mule-input-method-string): New widget.
19400 (default-input-method, language-info-custom-alist): Use it.
19401
19402 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19403
19404 * pcomplete.el: Require comint.
19405 (pcomplete--common-suffix): Remove.
19406 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19407 (pcomplete--table-subvert): Sync with comint--table-subvert.
19408 (pcomplete--entries): Use comint-completion-file-name-table.
19409 * comint.el (comint-unquote-filename): Simplify.
19410 (comint-completion-file-name-table): New function (bug#9616).
19411 (comint--complete-file-name-data): Use it.
19412
19413 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19414 (pcmpl-gnu-tar-buffer): Remove.
19415 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19416 around. Make sure pcomplete-suffix-list is only changed temporarily.
19417 Don't look inside the tar's file if it's too large.
19418
19419 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19420
19421 * cus-edit.el (custom-mode-map):
19422 * epa.el (epa-key-list-mode-map):
19423 * man.el (Man-mode-map):
19424 * startup.el (splash-screen-keymap):
19425 * simple.el (special-mode-map): Use scroll-up-command and
19426 scroll-down-command.
19427
19428 * progmodes/idlw-help.el (idlwave-help-mode-map):
19429 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19430 * net/newst-plainview.el (newsticker-mode-map):
19431 * emulation/ws-mode.el (wordstar-mode-map):
19432 * emulation/vi.el (vi-com-map):
19433 * calc/calc-graph.el (calc-graph-show-dumb):
19434 * term/sun.el (terminal-init-sun):
19435 * term/ns-win.el (global-map):
19436 * progmodes/grep.el (grep-mode-map):
19437 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19438 * mail/rmail.el (rmail-mode-map):
19439 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19440
19441 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19442 custom-safe-themes as special.
19443
19444 2011-10-01 Julien Danjou <julien@danjou.info>
19445
19446 * notifications.el (notifications-notify): Fix docstring.
19447
19448 2011-10-01 Per Starbäck <per@starback.se>
19449
19450 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19451
19452 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19453
19454 * startup.el (command-line-1): Fix last fix by inserting
19455 initial-scratch-message into *scratch* before displaying it.
19456 (Bug#9605) and (Bug#9636)
19457
19458 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19459
19460 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19461 window is hscrolled, move by logical lines. (Bug#9607)
19462 (line-move-visual): Update the doc string to the above effect.
19463
19464 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19465
19466 * window.el (display-buffer-record-window): When WINDOW is the
19467 selected window use `point' instead of `window-point'. (Bug#9626)
19468
19469 * startup.el (command-line-1): Use insert-before-markers when
19470 inserting initial-scratch-message. (Bug#9605)
19471
19472 * help.el (help-window): Remove variable.
19473
19474 2011-09-29 Glenn Morris <rgm@gnu.org>
19475
19476 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19477
19478 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19479
19480 * descr-text.el (describe-char-categories): Accept category
19481 descriptions more than one line long.
19482
19483 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19484
19485 * simple.el (delete-trailing-whitespace): Fix last change.
19486
19487 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19488 Don't confuse "y => 3" as the beginning of a `y' operation.
19489
19490 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19491 object has more than 4 slots (bug#9613).
19492
19493 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19494
19495 * subr.el (with-output-to-temp-buffer):
19496 * net/quickurl.el (quickurl, quickurl-browse-url):
19497 Fix typos in docstrings.
19498
19499 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19500
19501 * minibuffer.el (completion-styles)
19502 (completion-category-overrides): Cross reference each other in doc
19503 strings.
19504
19505 2011-09-27 Glenn Morris <rgm@gnu.org>
19506
19507 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19508 to split-string. (Bug#9606)
19509
19510 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19511
19512 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19513 (bug#9615).
19514
19515 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19516
19517 * emacs-lisp/package.el (list-packages): Fix echo area message.
19518
19519 2011-09-27 Leo Liu <sdl.web@gmail.com>
19520
19521 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19522
19523 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19524
19525 * net/dbus.el (dbus-unregister-object): Don't release services for
19526 registered signals. (Bug#9581)
19527
19528 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19529
19530 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19531 function that picks between cfengine 2 and 3 support
19532 automatically. Update docs accordingly.
19533
19534 2011-09-22 Kenichi Handa <handa@m17n.org>
19535
19536 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19537 ZERO.
19538 (indian-itrans-v5-table-for-tamil): New variable.
19539 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19540
19541 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19542
19543 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19544 that's true if the current command involved collapsing of text.
19545 It's reset to false at the beginning of the next command.
19546 (allout-post-command-business): Move the cursor to the beginning
19547 of entry if the cursor is hidden and collapsing activity just
19548 happened.
19549
19550 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19551
19552 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19553 tracking (Bug#9541).
19554
19555 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19556
19557 * net/newst-reader.el (newsticker-html-renderer)
19558 (newsticker-show-news): Automatically load html rendering package
19559 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19560 because w3m-fill-column is let-bound" and the error "Symbol's value
19561 as variable is void: w3m-fill-column".
19562
19563 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19564
19565 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19566 Release services only if they are defined. (Bug#9581)
19567
19568 2011-09-23 Richard Stallman <rms@gnu.org>
19569
19570 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19571 distinguish start of paragraph from start of its text.
19572
19573 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19574
19575 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19576 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19577 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19578
19579 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19580
19581 * international/mule-diag.el (mule-diag): Insert a newline after
19582 each fontset description.
19583
19584 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19585
19586 * simple.el (delete-trailing-whitespace):
19587 Document last change; simplify.
19588
19589 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19590
19591 * simple.el (delete-trailing-whitespace): Also delete
19592 extra newlines at the end of the buffer.
19593
19594 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19595 (picture-newline): Use forward-line so as to ignore fields.
19596
19597 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19598
19599 * subr.el (with-wrapper-hook): Fix edebug spec.
19600
19601 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19602
19603 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19604 (bug#4538).
19605
19606 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19607
19608 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19609 Fix nasty bug using wrong cached values.
19610
19611 2011-09-23 Alan Mackenzie <acm@muc.de>
19612
19613 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19614
19615 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19616
19617 * window.el (pop-to-buffer): Ensure right window is selected if we
19618 chose another frame.
19619
19620 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19621
19622 * simple.el (what-cursor-position): Use get-char-property-change
19623 and next-single-char-property-change, to be able to show display
19624 properties that come from overlays as well as text properties.
19625
19626 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19627
19628 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19629
19630 * cmuscheme.el (run-scheme, switch-to-scheme):
19631 * cus-edit.el (customize-group, custom-buffer-create)
19632 (customize-browse):
19633 * info.el (info):
19634 * shell.el (shell):
19635 * mail/sendmail.el (mail):
19636 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19637
19638 2011-09-22 Richard Stallman <rms@gnu.org>
19639
19640 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19641 move back only to line beg, don't move back over blank lines.
19642
19643 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19644
19645 * files.el (copy-directory): Set directory attributes only in case
19646 they could be retrieved from the source directory. (Bug#9565)
19647
19648 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19649
19650 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19651 (hs-find-block-beginning, hs-hide-level-recursive):
19652 Ignore strings as well as comments. (Bug#9502)
19653
19654 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19655
19656 * progmodes/sql.el (sql-comint-postgres):
19657 Convert port number to a string. (Bug#9566)
19658
19659 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19660
19661 * window.el (quit-window): Undedicate window when switching to
19662 previous buffer. Reported by Thierry Volpiatto
19663 <thierry.volpiatto@gmail.com>.
19664 (special-display-popup-frame): When popping up a new frame reset
19665 its previous buffers to nil. Simplify code.
19666
19667 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19668
19669 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19670 and process filter, as done also in `shell-command'.
19671
19672 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19673
19674 * window.el (set-window-buffer-start-and-point):
19675 Call set-window-start with NOFORCE argument t.
19676 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19677 (quit-window): Reword doc-string. Handle new format of
19678 quit-restore parameter. Don't delete window if it has a
19679 previous buffer we can show instead of the present one.
19680 (display-buffer-record-window): Rewrite using a new format for
19681 the quit-restore window parameter
19682 (special-display-popup-frame, display-buffer-same-window)
19683 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19684 (display-buffer-pop-up-window, display-buffer-use-some-window):
19685 Adapt symbol passed to display-buffer-record-window.
19686 * help.el (help-window-setup): Handle new format of quit-restore
19687 parameter.
19688
19689 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19690
19691 * faces.el (face-list): Fix docstring (bug#9564).
19692
19693 * window.el (display-buffer--action-function-custom-type):
19694 Don't include internal functions in the Custom interface.
19695
19696 2011-09-20 Juri Linkov <juri@jurta.org>
19697
19698 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19699 (Info-forward-node, Info-backward-node, Info-next-preorder)
19700 (Info-last-preorder): Use it. (Bug#9528)
19701
19702 2011-09-20 Juri Linkov <juri@jurta.org>
19703
19704 * info.el (Info-last-preorder): Visit last menu item only when
19705 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19706
19707 2011-09-20 Julien Danjou <julien@danjou.info>
19708
19709 * password-cache.el (password-cache-remove): Remove entries even if the
19710 value is nil, so that password with a nil value (negative caching) is
19711 possible to invalidate.
19712
19713 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19714
19715 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19716 all whitespace around breakpoint. (Bug#9553)
19717 (f90-find-breakpoint): Only break at whitespace inside a comment.
19718
19719 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19720
19721 * minibuffer.el (completion-file-name-table): Keep track of errors.
19722 (completion-table-with-predicate): Handle the case where pred1 is nil.
19723 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19724
19725 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19726
19727 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19728 (debugger-return-value): Signal an error if the debugging context does
19729 not await any return value.
19730
19731 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19732 * image-mode.el (image-toggle-display-text)
19733 (image-toggle-display-image): Stay away from evil `intangible'.
19734
19735 2011-09-19 Leo Liu <sdl.web@gmail.com>
19736
19737 * replace.el (occur-revert-arguments): Make it permanent-local.
19738 (occur-mode): Don't call font-lock-defontify.
19739
19740 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19741
19742 * net/ldap.el (ldap-search-internal): Don't push empty search
19743 result (Bug#9508).
19744
19745 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19746
19747 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19748
19749 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19750
19751 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19752 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19753
19754 2011-09-18 Juri Linkov <juri@jurta.org>
19755
19756 * buff-menu.el (Buffer-menu-mode-map):
19757 * dired.el (dired-mode-map):
19758 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19759 (lisp-interaction-mode-map):
19760 * emacs-lisp/package.el (package-menu-mode-map):
19761 * epa.el (epa-key-list-mode-map):
19762 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19763 (menu-bar-options-menu):
19764 * outline.el (outline-mode-menu-bar-map):
19765 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19766 * vc/vc-dir.el (vc-dir-menu-map):
19767 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19768 Capitalize non-function content words in menu item strings.
19769
19770 * dired.el (dired-mode-map): Add menu item for
19771 `image-dired-dired-toggle-marked-thumbs'.
19772
19773 2011-09-18 Juri Linkov <juri@jurta.org>
19774
19775 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19776 to `isearch-case-fold-search' and restore its original value
19777 after the `isearch-mode' call.
19778
19779 2011-09-18 Juri Linkov <juri@jurta.org>
19780
19781 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19782 because `zgrep' returns 1 for successful matches (bug#9226).
19783
19784 2011-09-18 Juri Linkov <juri@jurta.org>
19785
19786 * info.el (Info-extract-menu-node-name): Check the second match
19787 for empty string (second test-case of bug#9528).
19788 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19789 intermediate nodes to the history (first test-case of bug#9528).
19790
19791 2011-09-18 Juri Linkov <juri@jurta.org>
19792
19793 * info.el (Info-mode-syntax-table): New variable.
19794 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19795
19796 2011-09-18 Juri Linkov <juri@jurta.org>
19797
19798 * info.el (Info-file-supports-index-cookies):
19799 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19800 outputs one more line for long file names (bug#4142).
19801
19802 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19803
19804 * newcomment.el (comment-normalize-vars): If prompting for
19805 comment-start, set comment-start-skip too (Bug#8424).
19806
19807 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19808
19809 * icomplete.el: Fix previous fix of Bug#5849.
19810 (icomplete-mode): Don't set completion-show-inline-help.
19811 (icomplete-minibuffer-setup): Set completion-show-inline-help
19812 locally during icompletion.
19813
19814 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19815
19816 * woman.el (woman2-process-escapes): Don't delete unrecognized
19817 escapes (Bug#7843).
19818
19819 * files.el (inhibit-first-line-modes-regexps): Add image files.
19820 (hack-local-variables-prop-line): Return nil for malformed
19821 prop-lines (Bug#9044).
19822
19823 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19824
19825 * net/tramp.el (top): Don't require 'shell.
19826 (tramp-methods): Fix docstring.
19827 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19828 Return complete remote file name. Handle "smb" case.
19829 Use `tramp-tmpdir', if defined for the respective method.
19830 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19831
19832 * net/tramp-compat.el (top): Require 'shell.
19833
19834 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19835 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19836 `tramp-current-host'.
19837 (tramp-get-remote-tmpdir): Remove.
19838
19839 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19840 `tramp-tmpdir' entries.
19841 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19842 (tramp-smb-handle-file-attributes): Ignore errors.
19843 (tramp-smb-wait-for-output): Check also for process end.
19844
19845 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19846
19847 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19848 when sending QUIT (bug#9312).
19849
19850 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19851
19852 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19853 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19854 occur-mode-display-occurrence.
19855 (occur-edit-mode): Add usage message.
19856 (occur-cease-edit): New command.
19857 (occur-after-change-function): Use text properties to find the
19858 position of the prefix text.
19859 (occur-engine): Set stickiness of prefix text properties.
19860
19861 2011-09-17 Glenn Morris <rgm@gnu.org>
19862
19863 * progmodes/etags.el (complete-tag):
19864 Fix call to completion-in-region. (Bug#9526)
19865
19866 2011-09-17 Juri Linkov <juri@jurta.org>
19867
19868 * textmodes/ispell.el (ispell-word): Add to the error message
19869 the word, ispell program name and current dictionary (bug#9121).
19870 (ispell-tex-arg-end): Capitalize "error" in the error message.
19871
19872 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19873
19874 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19875 check. (Bug#4251)
19876
19877 2011-09-17 Juri Linkov <juri@jurta.org>
19878
19879 * window.el (window-safe-min-height, window-safe-min-width):
19880 Fix typos (followup to bug#9522).
19881
19882 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19883
19884 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19885
19886 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19887
19888 * simple.el (line-move): If goal-column is set, move by logical
19889 lines, not by display lines. (Bug#971)
19890 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19891 to reflect the above change.
19892
19893 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19894
19895 * image.el (imagemagick-register-types): Use regexp-opt.
19896
19897 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19898
19899 * window.el (display-buffer-base-action): Rename from
19900 display-buffer-default-action. Make default value empty.
19901 (display-buffer-overriding-action): Convert to defvar.
19902 (display-buffer-fallback-action): New var.
19903
19904 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19905
19906 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19907 declaration.
19908 (package--add-to-archive-contents): If there is a duplicate entry
19909 with an older version, remove it.
19910 (package-menu-mark-delete, package-menu-mark-install)
19911 (package-menu-mark-unmark): Make unused args optional.
19912 (package-menu-mark-obsolete-for-deletion):
19913 Use package-menu-get-status instead of a regexp search.
19914 (package-menu-get-status): Use tabulated-list-entry.
19915 (package-menu-mark-upgrades): New command.
19916 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19917 (package-menu-execute): Do installation before deletion.
19918 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19919 instead of checking major-mode.
19920 (package-menu--find-upgrades): New function.
19921
19922 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19923
19924 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19925 passwords in the log buffer.
19926 (smtpmail-process-filter): Update the process marker so that the
19927 "broken by peer" status message is inserted in the right place.
19928
19929 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19930
19931 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19932 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19933 bibtex-completion-at-point-function.
19934 (bibtex-completion-at-point-function): Use them.
19935
19936 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19937
19938 * mpc.el (mpc-constraints-tag-lookup): New function.
19939 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19940 also to browser "album|playlist".
19941
19942 2011-09-14 Juri Linkov <juri@jurta.org>
19943
19944 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19945 (isearch-edit-string): Use length of `isearch-string' when
19946 `isearch-fail-pos' returns nil.
19947 (isearch-message): Remove duplicate code and call
19948 `isearch-fail-pos' with arg `t'.
19949
19950 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19951
19952 * replace.el (occur-mode-goto-occurrence): Don't force using other
19953 window (Bug#9499).
19954
19955 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19956
19957 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19958
19959 * window.el (display-buffer-window): Remove.
19960 (display-buffer-record-window): Use help-setup window parameter
19961 instead of variable display-buffer-window.
19962 (display-buffer-function, special-display-buffer-names)
19963 (special-display-function): Mention help-setup parameter instead
19964 of display-buffer-window in doc-string.
19965 * help.el (help-window-setup): New argument help-window.
19966 Use help-window-setup parameter instead of display-buffer-window.
19967 Reword some messages.
19968 (with-help-window): Pass window used for displaying the buffer
19969 to help-window-setup. Don't set display-buffer-window.
19970
19971 2011-09-13 Glenn Morris <rgm@gnu.org>
19972
19973 * emacs-lisp/debug.el (debugger-make-xrefs):
19974 Preserve point. (Bug#9462)
19975
19976 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19977
19978 * window.el (window-deletable-p): Use next-frame.
19979
19980 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19981
19982 * window.el (window-auto-delete): Remove.
19983 (window-deletable-p): Remove argument FORCE. Don't deal with
19984 dedication and previous buffers.
19985 (switch-to-prev-buffer): Don't delete window.
19986 (delete-windows-on): Delete a window's frame if and only if the
19987 window is dedicated.
19988 (replace-buffer-in-windows): Delete buffer's window or frame if
19989 and only if window is dedicated.
19990 (quit-window): Handle quit-restore as before last change.
19991 (bury-buffer): Delete window only if window-deletable-p returns t.
19992
19993 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19994
19995 * window.el (window-deletable-p): Never delete the last frame on a
19996 given terminal.
19997
19998 2011-09-13 Glenn Morris <rgm@gnu.org>
19999
20000 * help.el (describe-key-briefly): Copy previous standard-output change.
20001
20002 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20003
20004 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20005
20006 2011-09-13 Glenn Morris <rgm@gnu.org>
20007
20008 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20009 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20010
20011 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20012
20013 * dired-aux.el (dired-mark-read-string): Don't return default
20014 value on empty input (Bug#9361).
20015 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20016 Omit initial minibuffer contents.
20017 (dired-do-chmod): Signal an error on empty input.
20018 (dired-mark-read-string): Don't return default on empty input.
20019
20020 * files.el (file-modes-symbolic-to-number): Doc fix.
20021
20022 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20023
20024 * international/mule-cmds.el (ucs-completions): Remove.
20025 (read-char-by-name): Use complete-with-action instead; add metadata.
20026
20027 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20028
20029 * window.el (display-buffer--action-function-custom-type)
20030 (display-buffer--action-custom-type): New vars.
20031 (display-buffer-alist, display-buffer-default-action)
20032 (display-buffer-overriding-action): Add defcustom types.
20033
20034 * frame.el (delete-other-frames): Doc fix (Bug#276).
20035
20036 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20037
20038 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20039
20040 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20041
20042 Change modes that used same-window-* vars to use switch-to-buffer.
20043
20044 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20045 Use switch-to-buffer.
20046
20047 * cus-edit.el (customize-group, custom-buffer-create)
20048 (customize-browse, custom-buffer-create-other-window):
20049 Use switch-to-buffer or switch-to-buffer-other-window.
20050
20051 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20052 (Info-prev, Info-up, Info-speedbar-goto-node)
20053 (info-display-manual): Use switch-to-buffer.
20054 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20055
20056 * mail/sendmail.el (mail): Use switch-to-buffer.
20057 (mail-recover): Use switch-to-buffer-other-window.
20058
20059 * cmuscheme.el (run-scheme, switch-to-scheme):
20060 * ielm.el (ielm):
20061 * shell.el (shell):
20062 * net/rlogin.el (rlogin):
20063 * net/telnet.el (telnet, rsh):
20064 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20065
20066 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20067
20068 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20069
20070 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20071
20072 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20073 so don't mention it (bug#9301).
20074 (dired-sort-toggle-or-edit): Clarify string further.
20075
20076 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20077 match `x', `w32' and `ns', like the manual says (bug#9029).
20078
20079 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20080 (process-kill-buffer-query-function): Mention the buffer name in
20081 the query.
20082
20083 * image-mode.el (image-next-line): The line parameter is mandatory
20084 (bug#9258).
20085
20086 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20087 which can be useful (bug#9301).
20088
20089 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20090
20091 * subr.el (match-string): Mention that the current buffer should
20092 be the same as the search was done in (bug#9282).
20093
20094 * facemenu.el: Disable the remove-* commands if the mark isn't
20095 active (bug#9162).
20096
20097 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20098
20099 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20100 of display-buffer.
20101 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20102
20103 * replace.el (occur-mode-goto-occurrence)
20104 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20105 and display-buffer.
20106
20107 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20108 display-buffer.
20109
20110 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20111 special-display and same-window variables.
20112 (mail-other-window): Use switch-to-buffer-other-window.
20113 (mail-other-frame): USe switch-to-buffer-other-frame.
20114
20115 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20116 Use display-buffer-other-frame.
20117 (gdb-display-gdb-buffer): Use pop-to-buffer.
20118
20119 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20120
20121 * progmodes/python.el: Don't set same-window-buffer-names.
20122
20123 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20124
20125 * window.el (display-buffer-alist): Add *Python*.
20126
20127 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20128
20129 * window.el (display-buffer-alist): Add entry for buffers
20130 previously handled same-window-*.
20131 (display-buffer-alist, display-buffer-default-action)
20132 (display-buffer-overriding-action): Mark as risky.
20133 (display-buffer-alist): Document action function changes.
20134 (display-buffer--same-window-action)
20135 (display-buffer--other-frame-action): New variables.
20136 (switch-to-buffer, display-buffer-other-frame): Use them.
20137 (display-buffer): Rename reuse-frame entry to reusable-frames.
20138 (display-buffer-reuse-selected-window): Function deleted.
20139 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20140 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20141 (display-buffer-special): New function.
20142 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20143 display-buffer-reuse-or-pop-window. Split off special-display
20144 part into display-buffer-special.
20145 (display-buffer-use-some-window): Don't perform any special
20146 pop-up-frames handling.
20147 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20148 (display-buffer--maybe-same-window): Rename from
20149 display-buffer-maybe-same-window.
20150
20151 * info.el: Don't set same-window-regexps.
20152 (info-setup): New function.
20153 (info-other-window, info): Call it.
20154
20155 * cus-edit.el: Don't set same-window-regexps.
20156 (customize-group): New argument.
20157 (customize-group-other-window): Use it.
20158 (customize-face, customize-face-other-window): Likewise.
20159 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20160
20161 * net/rlogin.el:
20162 * net/telnet.el:
20163 * progmodes/gud.el: Don't set same-window-regexps.
20164
20165 * cmuscheme.el:
20166 * ielm.el:
20167 * shell.el:
20168 * mail/sendmail.el:
20169 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20170
20171 2011-09-10 Juri Linkov <juri@jurta.org>
20172
20173 * isearch.el (isearch-edit-string): Remove obsolete mention of
20174 `C-w' (`isearch-yank-word-or-char') from docstring.
20175 (isearch-query-replace): Fix typo in docstring (bug#9466).
20176
20177 2011-09-10 Juri Linkov <juri@jurta.org>
20178
20179 * paren.el (show-paren-function): Don't show escaped parens.
20180 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20181
20182 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20183
20184 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20185 (mm-default-file-encoding): Remove autoload forms, they are
20186 replaced with autoload cookies in mml.el and mm-encode.el.
20187 (mail-add-attachment): New command.
20188 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20189 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20190 the doc string.
20191 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20192
20193 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20194
20195 * simple.el (count-words-region): Use buffer if there's no region
20196 (bug#9429).
20197
20198 2011-09-09 Juri Linkov <juri@jurta.org>
20199
20200 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20201 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20202 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20203
20204 2011-09-09 Alan Mackenzie <acm@muc.de>
20205
20206 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20207 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20208
20209 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20210
20211 Fix for Savannah bug#9392.
20212 * simple.el (mail-encode-mml): New defvar.
20213
20214 * mail/rmail.el (mail-encode-mml): Add a defvar.
20215 (rmail-enable-mime-composing): Default to t.
20216 (rmail-forward): Use MIME method of forwarding only if both
20217 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20218 Set mail-encode-mml non-nil if the MIME method was used.
20219
20220 * mail/sendmail.el (mml-to-mime): Add autoload form.
20221 (mail-encode-mml): Add a defvar.
20222 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20223 to nil.
20224 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20225 message through mml-to-mime, and reset mail-encode-mml to nil.
20226
20227 2011-09-09 Glenn Morris <rgm@gnu.org>
20228
20229 * woman.el (woman-if-body): When processing an .el block,
20230 do not delete the next .el block as well. (Bug#9447)
20231 (woman-special-characters): Add oq, cq, and hy characters.
20232
20233 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20234
20235 * window.el (window-deletable-p): Make sure window is live before
20236 invoking window-prev-buffers.
20237
20238 2011-09-08 Leo Liu <sdl.web@gmail.com>
20239
20240 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20241
20242 2011-09-08 Juri Linkov <juri@jurta.org>
20243
20244 * progmodes/compile.el (compilation-environment): Make it
20245 a defcustom (bug#8340).
20246
20247 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20248
20249 * window.el (frame-auto-delete): Rename to window-auto-delete.
20250 Make it control auto-deletion of windows and/or frames.
20251 (window-deletable-p): New argument FORCE. Rewrite conditions
20252 for deleting window/frame. (Bug#9419)
20253 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20254 Rewrite handling of case when window/frame can be deleted.
20255 (delete-windows-on): Call window-deletable-p with new FORCE
20256 argument t. (Bug#9456)
20257
20258 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20259
20260 * help-mode.el (help-mode): Restore autoload.
20261
20262 2011-09-07 Juri Linkov <juri@jurta.org>
20263
20264 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20265 `compilation-environment'. Set buffer-local
20266 `compilation-environment' to `thisenv' later after (funcall mode).
20267 (Bug#8340)
20268
20269 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20270 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20271 instead of replacing its value. (Bug#8340)
20272
20273 2011-09-07 Juri Linkov <juri@jurta.org>
20274
20275 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20276 based on text properties put by `grep-filter' instead of matching
20277 escape sequences.
20278 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20279 to the value of `grep-error-screen-columns' (bug#9438).
20280
20281 2011-09-07 Juri Linkov <juri@jurta.org>
20282
20283 * simple.el (next-error-highlight, next-error-highlight-no-select):
20284 Doc fix (bug#9432).
20285
20286 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20287
20288 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20289 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20290
20291 2011-09-07 Leo Liu <sdl.web@gmail.com>
20292
20293 * net/rcirc.el (rcirc-mode): Conditionally initialize
20294 rcirc-input-ring.
20295
20296 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20297
20298 * emacs-lisp/find-func.el (find-function-C-source): Only set
20299 find-function-C-source-directory after checking that we found a source
20300 file there (bug#9440).
20301
20302 2011-09-06 Alan Mackenzie <acm@muc.de>
20303
20304 * isearch.el (isearch-other-meta-char): Wherever a key list is
20305 unread, "unread" the prefix arg, too. This fixes bug #8901.
20306
20307 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20308
20309 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20310
20311 2011-09-05 Juri Linkov <juri@jurta.org>
20312
20313 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20314
20315 2011-09-05 Juri Linkov <juri@jurta.org>
20316
20317 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20318 keeping point where processing of grep matches begins, and
20319 continue to delete remaining escape sequences from the same point.
20320 (grep-filter): Make leading zero optional in "0?1;31m" because
20321 git-grep emits "\033[1;31m" escape sequences unlike expected
20322 "\033[01;31m" as GNU Grep does (bug#9408).
20323 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20324
20325 2011-09-05 Juri Linkov <juri@jurta.org>
20326
20327 * subr.el (y-or-n-p): Capitalize "yes".
20328
20329 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20330
20331 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20332 `tramp-cache-unload-hook' where appropriate.
20333 (tramp-methods): Rename `tramp-remote-sh' to
20334 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20335 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20336
20337 * net/tramp-sh.el (top): Don't require 'shell.
20338 (tramp-methods): Add `tramp-remote-shell' and
20339 `tramp-remote-shell-args' entries.
20340 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20341 (tramp-sh-handle-shell-command): Remove.
20342 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20343 Use `tramp-remote-shell'.
20344
20345 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20346
20347 * mail/sendmail.el (sendmail-query-once-function): Delete.
20348 (sendmail-query-once): Save directly to send-mail-function.
20349 Update message-send-mail-function too.
20350
20351 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20352
20353 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20354
20355 * progmodes/python.el (python-mode-map): Use correct function to
20356 start python interpreter from menu-bar (as reported by Geert
20357 Kloosterman).
20358 (inferior-python-mode-map): Fix typo.
20359 (python-shell-map): Remove.
20360
20361 2011-09-03 Deniz Dogan <deniz@dogan.se>
20362
20363 * net/rcirc.el (rcirc-print): Simplify code for
20364 rcirc-scroll-show-maximum-output. There is no need to walk
20365 through all windows to find the right one.
20366
20367 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20368
20369 * help.el (help-return-method): Doc fix.
20370
20371 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20372
20373 * window.el (window-deletable-p): Don't return a non-nil value
20374 when there's a buffer that was shown in the window before.
20375 (Bug#9419)
20376 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20377 Set window's previous buffers to nil.
20378
20379 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20380
20381 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20382 newline before and after the tag line, so it doesn't interfere
20383 with determining the paragraph direction of bidirectional text.
20384
20385 2011-09-03 Leo Liu <sdl.web@gmail.com>
20386
20387 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20388
20389 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20390
20391 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20392 (pop-to-buffer): Change interactive spec. Pass second argument
20393 directly to display-buffer.
20394 (display-buffer): Fix interactive spec. Use functionp to
20395 distinguish between a function and a list of functions.
20396
20397 * abbrev.el (edit-abbrevs):
20398 * arc-mode.el (archive-extract):
20399 * autoinsert.el (auto-insert):
20400 * bookmark.el (bookmark-bmenu-list):
20401 * files.el (find-file):
20402 * view.el (view-buffer):
20403 * progmodes/compile.el (compilation-goto-locus):
20404 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20405
20406 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20407
20408 * window.el (display-buffer-alist): Doc fix.
20409 (display-buffer): Add docstring. Don't treat
20410 display-buffer-default specially.
20411 (display-buffer-reuse-selected-window)
20412 (display-buffer-same-window, display-buffer-maybe-same-window)
20413 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20414 (display-buffer-pop-up-window)
20415 (display-buffer-reuse-or-pop-window)
20416 (display-buffer-use-some-window): New functions.
20417 (display-buffer-default-action): Use them.
20418 (display-buffer-default): Delete.
20419 (pop-to-buffer-1): Fix choice of actions.
20420
20421 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20422
20423 * minibuffer.el (completion--insert-strings): Don't get confused by
20424 completion entries that end with an LF char.
20425
20426 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20427
20428 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20429
20430 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20431
20432 * window.el (display-buffer): Restore interactive spec.
20433 (display-buffer-same-window, display-buffer-other-window):
20434 New functions.
20435 (pop-to-buffer-1): New function. Use the above.
20436 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20437 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20438
20439 * view.el (view-buffer-other-window, view-buffer-other-frame):
20440 Just use pop-to-buffer.
20441
20442 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20443
20444 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20445
20446 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20447
20448 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20449
20450 2011-08-31 Richard Stallman <rms@gnu.org>
20451
20452 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20453 of the separation of rmail-view-buffer from rmail-buffer.
20454 If you say no to "replace original", the decrypt is in the
20455 view buffer. If you say yes, the decrypt goes into the
20456 rmail buffer also.
20457
20458 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20459
20460 * window.el (display-buffer-window): Rewrite doc-string.
20461 (display-buffer-record-window): New function.
20462 (display-buffer-macro-specifiers)
20463 (display-buffer-even-window-sizes, display-buffer-set-height)
20464 (display-buffer-set-width, display-buffer-in-window)
20465 (display-buffer-reuse-window, display-buffer-split-specifiers)
20466 (display-buffer-side-specifiers, display-buffer-split-window-1)
20467 (display-buffer-split-window, display-buffer-split-atom-window)
20468 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20469 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20470 (display-buffer-other-window-means-other-frame)
20471 (display-buffer-normalize-special)
20472 (display-buffer-normalize-default)
20473 (display-buffer-normalize-argument)
20474 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20475 (display-buffer-normalize-specifiers, display-buffer-frame)
20476 (display-buffer-same-window, display-buffer-same-frame)
20477 (display-buffer-other-window)
20478 (display-buffer-same-frame-other-window)
20479 (display-buffer-other-frame, pop-to-buffer-same-window)
20480 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20481 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20482 (switch-to-buffer-same-frame)
20483 (switch-to-buffer-other-window-same-frame)
20484 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20485 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20486 (display-buffer-alist-set): Remove.
20487 (display-buffer-function, special-display-buffer-names)
20488 (special-display-regexps, special-display-function):
20489 In doc-string refer to display-buffer-window and quit-restore
20490 parameter.
20491 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20492 (special-display-frame-alist, special-display-popup-frame)
20493 (same-window-buffer-names, same-window-regexps, same-window-p)
20494 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20495 (split-window-preferred-function, split-height-threshold)
20496 (split-width-threshold, window-splittable-p)
20497 (split-window-sensibly, window--try-to-split-window)
20498 (window--frame-usable-p, even-window-heights)
20499 (window--even-window-heights, window--display-buffer-1)
20500 (window--display-buffer-2, display-buffer-other-frame):
20501 Restore old Emacs 23 code, order and doc-strings where applicable.
20502 (display-buffer-default, display-buffer-assq-regexp): New functions.
20503 (display-buffer-alist): Rewrite doc-string.
20504 (display-buffer-default-action)
20505 (display-buffer-overriding-action): New variables.
20506 (display-buffer, switch-to-buffer): Rewrite.
20507 (pop-to-buffer): Restore Emacs 23 behavior but use
20508 window-normalize-buffer-to-display.
20509 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20510 Restore Emacs 23 behavior but use
20511 window-normalize-buffer-to-switch-to.
20512 (pop-to-buffer-same-window): Rewrite.
20513 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20514 Rewrite using Emacs 23 options.
20515
20516 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20517
20518 * net/tramp.el (tramp-root-regexp): Remove.
20519 (tramp-completion-file-name-regexp-unified)
20520 (tramp-completion-file-name-regexp-separate)
20521 (tramp-completion-file-name-regexp-url): Don't use leading volume
20522 letter on w32 systems. (Bug#5303, Bug#9311)
20523 (tramp-drop-volume-letter): Simplify definition.
20524 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20525
20526 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20527
20528 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20529 (bug#9356).
20530
20531 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20532
20533 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20534
20535 2011-08-29 Juri Linkov <juri@jurta.org>
20536
20537 * isearch.el (isearch-done): Don't display message "Mark saved"
20538 when arg `edit' is non-nil to prevent its flicker in the echo area.
20539
20540 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20541
20542 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20543 obsolete packages for deletion.
20544
20545 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20546
20547 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20548 (help-mode): Derive help-mode from special-mode. Don't invoke
20549 view-mode from help-mode.
20550 (help-xref-override-view-map): Remove.
20551 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20552 view-mode is not used anymore.
20553
20554 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20555
20556 * server.el (server-port): Doc fix.
20557
20558 * cus-theme.el (custom-theme-choose-mode): Inherit from
20559 special-mode (Bug#9124).
20560 (custom-theme-choose-mode-map): Add special-mode to parent.
20561
20562 2011-08-28 Alan Mackenzie <acm@muc.de>
20563
20564 * progmodes/cc-fonts.el
20565 (c-make-font-lock-BO-decl-search-function): New function.
20566 (c-basic-matchers-after - "Fontify the clauses after various
20567 keywords"): Extract the three keyword lists for the 3 erroneous
20568 constructs from the list of four, and use the new function above
20569 in place of an old one.
20570
20571 2011-08-28 Deniz Dogan <deniz@dogan.se>
20572
20573 * net/rcirc.el (rcirc-insert-prev-input)
20574 (rcirc-insert-next-input): Remove unused argument.
20575
20576 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20577
20578 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20579
20580 2011-08-27 Alan Mackenzie <acm@muc.de>
20581
20582 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20583 handle function pointer parameters properly.
20584
20585 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20586
20587 * window.el (display-buffer-reuse-window): Fix case where
20588 selected window was reused with non-nil OTHER-WINDOW argument.
20589 (Bug#9381)
20590
20591 2011-08-27 Deniz Dogan <deniz@dogan.se>
20592
20593 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20594 oftc's NickServ messages.
20595
20596 2011-08-27 Glenn Morris <rgm@gnu.org>
20597
20598 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20599
20600 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20601
20602 * emacs-lisp/package.el (package-install): Call package-initialize
20603 if called interactively.
20604
20605 2011-08-26 Leo Liu <sdl.web@gmail.com>
20606
20607 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20608
20609 2011-08-25 Juri Linkov <juri@jurta.org>
20610
20611 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20612 `search-whitespace-regexp' (bug#9364).
20613
20614 2011-08-25 Juri Linkov <juri@jurta.org>
20615
20616 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20617 `regexp-search-ring' to their global values to protect from
20618 updating by `read-from-minibuffer' (bug#9185).
20619
20620 2011-08-25 Juri Linkov <juri@jurta.org>
20621
20622 * textmodes/ispell.el (ispell-command-loop): Add newline
20623 at the end of the "Use option `i'..." line.
20624
20625 2011-08-25 Juri Linkov <juri@jurta.org>
20626
20627 * battery.el (display-battery-mode): If `battery-status-function'
20628 or `battery-mode-line-format' is nil, display the message and set
20629 `display-battery-mode' to nil (bug#9363).
20630
20631 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20632
20633 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20634 bidi-string-mark-left-to-right; they are unnecessary now.
20635
20636 2011-08-25 Deniz Dogan <deniz@dogan.se>
20637
20638 * net/quickurl.el: Documentation typo fixes.
20639
20640 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20641
20642 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20643
20644 2011-08-25 Glenn Morris <rgm@gnu.org>
20645
20646 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20647
20648 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20649 (smtpmail-via-smtp): Handle nil response from smtp.
20650
20651 2011-08-24 Juri Linkov <juri@jurta.org>
20652
20653 * proced.el (proced-marked): Inherit from `error' instead of
20654 `font-lock-warning-face'.
20655
20656 * ibuffer.el (ibuffer-marked-face): Change default face from
20657 `font-lock-warning-face' to `warning'.
20658 (ibuffer-deletion-face): Change default face from
20659 `font-lock-type-face' to `error'.
20660
20661 * battery.el (battery-update): Use the face `error' instead of
20662 `font-lock-warning-face' (bug#6117).
20663
20664 2011-08-24 Juri Linkov <juri@jurta.org>
20665
20666 * faces.el (success): Change face color from "Green3" to
20667 "ForestGreen" on light background (bug#9353).
20668
20669 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20670
20671 * window.el (quit-window): Rename from quit-restore-window.
20672 Use same arglist as old quit-window.
20673 (frame-auto-delete): Doc fix.
20674
20675 * view.el (view-mode-exit): Use quit-window.
20676
20677 2011-08-24 Juri Linkov <juri@jurta.org>
20678
20679 * isearch.el (isearch-ring-adjust1): Start visiting previous
20680 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20681 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20682 for empty search string (when the last search string is reused
20683 automatically) to adjust the isearch ring to the last element and
20684 prepare the correct index for further M-p commands (bug#9185).
20685
20686 2011-08-24 Kenichi Handa <handa@m17n.org>
20687
20688 * international/ucs-normalize.el: If decomposition property of
20689 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20690 nil.
20691 (nfd, nfkd): Likewise.
20692
20693 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20694
20695 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20696 from process filters aren't reliably transmitted to the surrounding
20697 accept-process-output.
20698 (mpc-proc-check): New function.
20699 (mpc-proc-sync): Use it (bug#8293)
20700
20701 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20702
20703 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20704 Add compatibility functions (bug#9313).
20705
20706 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20707
20708 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20709
20710 * international/uni-bidi.el: Regenerate.
20711
20712 2011-08-23 Kenichi Handa <handa@m17n.org>
20713
20714 * international/charprop.el:
20715 * international/uni-bidi.el:
20716 * international/uni-category.el:
20717 * international/uni-combining.el:
20718 * international/uni-comment.el:
20719 * international/uni-decimal.el:
20720 * international/uni-decomposition.el:
20721 * international/uni-digit.el:
20722 * international/uni-lowercase.el:
20723 * international/uni-mirrored.el:
20724 * international/uni-name.el:
20725 * international/uni-numeric.el:
20726 * international/uni-old-name.el:
20727 * international/uni-titlecase.el:
20728 * international/uni-uppercase.el: Regenerate.
20729
20730 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20731
20732 * help.el (help-window-setup): Fix message displayed when other
20733 window is reused. (Bug#9341)
20734
20735 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20736
20737 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20738 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20739
20740 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20741 Mark obsolete.
20742 * shell.el (shell-parse-pcomplete-arguments): New function.
20743 (shell-completion-vars): Use it instead (bug#9160).
20744
20745 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20746
20747 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20748 strings and comments (bug#9333).
20749
20750 * emacs-lisp/debug.el (debug-arglist): New function.
20751 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20752 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20753
20754 2011-08-22 Juri Linkov <juri@jurta.org>
20755
20756 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20757 Revert regexp that highlights output switches to its old
20758 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20759
20760 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20761 to check for empty output (bug#9226).
20762
20763 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20764
20765 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20766 symbol-constituent as the default, as that stops font-lock from
20767 working properly (Bug#8843).
20768
20769 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20770
20771 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20772 `coding-system-for-*' around the process open call to avoid
20773 auth-source side effects.
20774 (smtpmail-try-auth-methods): Expand the secret password.
20775 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20776 probe hangs.
20777
20778 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20779
20780 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20781
20782 * emacs-lisp/find-func.el (find-function-noselect): New arg
20783 lisp-only.
20784
20785 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20786 signal an error for built-in functions (Bug#6664).
20787
20788 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20789
20790 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20791 (smtpmail-try-auth-methods): Use it.
20792
20793 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20794
20795 * font-lock.el (font-lock-fontify-region)
20796 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20797 (font-lock-default-unfontify-buffer)
20798 (font-lock-default-fontify-region)
20799 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20800
20801 * progmodes/compile.el (compilation-error-properties):
20802 Fix confusion between file struct and message struct (Bug#9319).
20803 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20804 `ant' regexp.
20805
20806 * net/browse-url.el (browse-url-firefox): Don't call
20807 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20808
20809 2011-08-20 Glenn Morris <rgm@gnu.org>
20810
20811 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20812
20813 * tutorial.el (tutorial--default-keys): Update some default bindings.
20814
20815 * files.el (hack-local-variables): Fully ignore case for "mode:".
20816
20817 2011-08-20 Alan Mackenzie <acm@muc.de>
20818
20819 Resolve invalid use of a regexp in regexp-opt.
20820
20821 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20822 detection for a java annotation.
20823
20824 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20825 detection for a java annotation.
20826
20827 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20828 handling for java.
20829 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20830
20831 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20832
20833 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20834 (Bug#9274).
20835
20836 2011-08-20 Alan Mackenzie <acm@muc.de>
20837
20838 Fontify CPP expressions correctly when starting in the middle of
20839 such a construct. Mainly for when jit-lock etc. starts a chunk
20840 here.
20841
20842 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20843 variable.
20844 (c-make-font-lock-search-form): New function, extracted from
20845 c-make-font-lock-search-function.
20846 (c-make-font-lock-search-function): Use the above function.
20847 (c-make-font-lock-context-search-function): New function.
20848 (c-cpp-matchers): Enhance the preprocessor expression case with
20849 the above function
20850 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20851 which takes an expression.
20852
20853 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20854
20855 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20856
20857 * window.el (display-buffer-reuse-window)
20858 (display-buffer-pop-up-window): Don't reuse or split a side
20859 window.
20860
20861 2011-08-19 Glenn Morris <rgm@gnu.org>
20862
20863 * files.el (hack-local-variables-prop-line, hack-local-variables):
20864 Downcase "Mode:". (Bug#9331)
20865
20866 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20867
20868 * international/characters.el: Add L and R categories.
20869
20870 * subr.el (bidi-string-mark-left-to-right): Rename from
20871 string-mark-left-to-right. Use category search.
20872
20873 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20874
20875 2011-08-18 Juri Linkov <juri@jurta.org>
20876
20877 * faces.el (error, warning, success): New faces with definitions
20878 copied from old default values of `font-lock-warning-face',
20879 `compilation-warning', `compilation-info' (bug#6117).
20880
20881 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20882
20883 * progmodes/compile.el (compilation-error): Inherit from `error'.
20884 (compilation-warning): Inherit from `warning'.
20885 (compilation-info): Inherit from `success'.
20886
20887 * dired.el (dired-marked): Inherit from `warning'.
20888 (dired-flagged): Inherit from `error'.
20889
20890 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20891
20892 * mail/smtpmail.el (auth-source): Require to avoid problems with
20893 binding variables (bug#9298). Also clean up some unused
20894 autoloads.
20895
20896 * net/network-stream.el (network-stream-open-starttls):
20897 Support using starttls.el without using gnutls-cli.
20898
20899 2011-08-17 Juri Linkov <juri@jurta.org>
20900
20901 * progmodes/grep.el (rgrep): Handle the case when
20902 `grep-find-command' is a cons cell (bug#9278).
20903
20904 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20905
20906 * window.el (display-buffer-pop-up-frame): Run frame creation
20907 function with BUFFER current (as special-display-popup-frame
20908 does). Reported by Drew Adams.
20909
20910 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20911
20912 * epa-mail.el: Simplify GnuPG group expansion using
20913 epg-expand-group.
20914 (epa-mail-group-alist, epa-mail-group-modtime)
20915 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20916 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20917 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20918 Remove.
20919
20920 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20921
20922 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20923
20924 2011-08-16 Alan Mackenzie <acm@muc.de>
20925
20926 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20927 Correct, to avoid the inside of macros.
20928
20929 2011-08-16 Richard Stallman <rms@gnu.org>
20930
20931 * epa-mail.el: Handle GnuPG group definitions.
20932 (epa-mail-group-alist, epa-mail-group-modtime)
20933 (epa-mail-gnupg-conf-file): New variables.
20934 (epa-mail-parse-groups, epa-mail-sync-groups)
20935 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20936 (epa-mail-expand-recipients): New functions.
20937 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20938
20939 * mail/rmail.el (rmail-epa-decrypt): New command.
20940
20941 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20942 Don't bind buffer-read-only, just inhibit-read-only.
20943 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20944 (epa-decrypt-armor-in-region): Make error message clearer.
20945
20946 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20947
20948 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20949 and "a2b" to "ab" for `prefix'.
20950
20951 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20952
20953 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20954 filter groups.
20955 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20956 Fourquet (Bug#8804).
20957
20958 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20959
20960 * startup.el (argi): Declare as global variable (bug#9275).
20961
20962 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20963
20964 * subr.el (string-mark-left-to-right): Search the entire string
20965 for RTL script, not just the terminating character. Doc fix.
20966
20967 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20968
20969 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20970 New function.
20971 (js--regexp-literal, js-syntax-propertize-function): Remove.
20972 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20973 (js-mode-map): Don't rebind electric keys.
20974 (js-insert-and-indent): Remove.
20975 (js-mode): Setup electric-layout and electric-indent instead.
20976
20977 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20978
20979 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20980
20981 * epa.el (epa-progress-callback-function): Fix the logic of
20982 displaying progress.
20983 * epa-file.el (epa-file-insert-file-contents): Make progress
20984 display more user-friendly.
20985 (epa-file-write-region): Ditto.
20986
20987 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20988
20989 * subr.el (string-mark-left-to-right): New function.
20990
20991 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20992 Use string-mark-left-to-right.
20993 (list-buffers-noselect): Caller changed.
20994
20995 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20996 Use string-mark-left-to-right.
20997 (tabulated-list-print): Recenter after moving point.
20998
20999 2011-08-10 Juri Linkov <juri@jurta.org>
21000
21001 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21002 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21003 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21004
21005 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21006
21007 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21008 (Bug#7554).
21009
21010 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21011
21012 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21013 character. (Bug#6594)
21014
21015 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21016
21017 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21018 (image-dired--with-db-file): New macro.
21019 (image-dired-write-tags, image-dired-remove-tag)
21020 (image-dired-create-gallery-lists, image-dired-write-comments)
21021 (image-dired-get-comment, image-dired-mark-tagged-files)
21022 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21023 (image-dired-gallery-generate): Use insert-file-contents.
21024
21025 * time.el (display-time-world-list, display-time-world-display):
21026 * time-stamp.el (time-stamp-string):
21027 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21028 set-time-zone-rule (Bug#7337).
21029
21030 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21031
21032 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21033 (epg-error-to-string, epg-errors-to-string): New function.
21034 (epg-wait-for-completion): Reverse errors list.
21035 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21036 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21037 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21038 (epg-sign-keys, epg-generate-key-from-file)
21039 (epg-generate-key-from-string): Format errors by using
21040 epg-errors-to-string (bug#9255).
21041 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21042
21043 2011-08-07 Juri Linkov <juri@jurta.org>
21044
21045 * faces.el (list-faces-display): Remove extra angle bracket
21046 from `help-mode-map'.
21047
21048 * info.el (Info-history-toc-nodes): Doc fix.
21049
21050 * longlines.el (longlines-mode): Doc fix.
21051
21052 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21053
21054 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21055 of statements and in a few more cases (bug#9183).
21056
21057 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21058 New functions.
21059 (cl-transform-lambda): Use them (bug#9239).
21060
21061 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21062
21063 * window.el (display-buffer-same-window)
21064 (display-buffer-same-frame, display-buffer-other-window)
21065 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21066 (pop-to-buffer-other-window)
21067 (pop-to-buffer-same-frame-other-window)
21068 (pop-to-buffer-other-frame): Make them defuns.
21069 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21070
21071 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21072
21073 * subr.el (make-composed-keymap): Move from C. Change calling
21074 convention, and improve docstring to bring attention to a subtle point.
21075 * minibuffer.el (completing-read-default): Adjust accordingly.
21076
21077 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21078
21079 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21080 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21081
21082 * net/trampver.el: Update release number.
21083
21084 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21085
21086 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21087 "in" (bug#9190).
21088
21089 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21090
21091 * mail/sendmail.el (sendmail-query-once): Restore the current
21092 buffer after querying (bug#9074).
21093
21094 * dired.el (dired-flagged): Use different faces for marked and
21095 flagged files (bug#6117).
21096
21097 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21098 (bug#4433).
21099
21100 * ido.el (ido-mode): Switch off the message if called
21101 non-interactively.
21102
21103 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21104 before 587, since it appears that that's more likely to work for
21105 more people.
21106
21107 * cus-edit.el (custom-file): When running under emacs -q, always
21108 refuse to save the customizations, even if the .emacs file doesn't
21109 exist.
21110
21111 * info.el: Remove the `Info-beginning-of-buffer' function
21112 (bug#8325).
21113
21114 * net/network-stream.el (network-stream-open-starttls):
21115 Use `starttls-available-p' to see whether starttls.el can be used.
21116
21117 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21118
21119 * window.el (display-buffer-in-window): Don't set dedicated status
21120 of window here (Bug#9215).
21121 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21122 (display-buffer-pop-up-side-window)
21123 (display-buffer-in-side-window): Set dedicated status of window here.
21124
21125 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21126
21127 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21128 before binding generated-autoload-file.
21129
21130 2011-08-01 Deniz Dogan <deniz@dogan.se>
21131
21132 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21133
21134 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21135
21136 Sync with Tramp 2.2.2.
21137
21138 * net/trampver.el: Update release number.
21139
21140 2011-07-30 Juri Linkov <juri@jurta.org>
21141
21142 * dired-aux.el (dired-touch-initial): Remove function.
21143 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21144 current time, and `default' to the last modification time of the
21145 current marked file (bug#6887).
21146
21147 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21148
21149 * simple.el (goto-line): Use string-to-number to provide a
21150 numeric argument to read-number (bug#9163).
21151
21152 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21153
21154 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21155 connection process, it could be nil.
21156
21157 2011-07-27 Leo Liu <sdl.web@gmail.com>
21158
21159 Simplify url handling in rcirc-mode.
21160
21161 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21162 (rcirc-browse-url-at-mouse): Remove.
21163 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21164
21165 2011-07-26 Alan Mackenzie <acm@muc.de>
21166
21167 Fontify bitfield declarations properly.
21168
21169 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21170 (c-symbol-chars): Now exported as a lang variable.
21171 (c-not-primitive-type-keywords): New lang variable.
21172
21173 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21174 QT keyword "more" to prevent "more slots: ...." being spuriously
21175 parsed as a bitfield declaration.
21176
21177 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21178 Refactor and enhance to handle bitfield declarations.
21179 (c-punctuation-in): New function.
21180 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21181 declarations properly.
21182
21183 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21184
21185 * calendar/icalendar.el (icalendar--all-events): Take care of
21186 multiple vcalendars in a single file.
21187 (icalendar--convert-float-to-ical): Checkdoc fixes.
21188
21189 2011-07-25 Deniz Dogan <deniz@dogan.se>
21190
21191 * image.el (insert-image): Clarifying docstring.
21192
21193 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21194
21195 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21196 `tramp-send-command-and-check' if there is no error.
21197 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21198
21199 2011-07-22 Alan Mackenzie <acm@muc.de>
21200
21201 Prevent cc-langs.elc being loaded at run time.
21202
21203 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21204 cc-langs.
21205
21206 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21207 "(require 'cc-langs)". Quote a form so it will evaluate at
21208 (cc-mode's) compilation time.
21209
21210 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21211
21212 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21213 loading. (Bug#9114)
21214
21215 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21216
21217 * window.el (display-buffer-pop-up-window)
21218 (display-buffer-pop-up-side-window)
21219 (display-buffer-in-side-window): Call display-buffer-set-height
21220 and display-buffer-set-width after setting the new window's
21221 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21222
21223 2011-07-20 Sam Steingold <sds@gnu.org>
21224
21225 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21226 (etags-tags-included-tables): Call `convert-standard-filename' on
21227 the file names contained in TAGS so that windows Emacs can handle
21228 TAGS files created by cygwin ctags.
21229
21230 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21231
21232 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21233 which apparently didn't work.
21234
21235 2011-07-19 Roland Winkler <winkler@gnu.org>
21236
21237 * proced.el (proced-send-signal): For *Marked Processes* buffer
21238 put point at beginning of buffer.
21239
21240 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21241
21242 * proced.el (proced-format): Make header lines align with the text
21243 (bug#1779).
21244
21245 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21246
21247 * view.el (view-buffer): Allow running in `special' modes if we're
21248 visiting a file (bug#8615).
21249
21250 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21251
21252 * window.el (display-buffer-alist-of-strings-p)
21253 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21254 New functions.
21255 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21256 more accurately.
21257
21258 2011-07-18 Alan Mackenzie <acm@muc.de>
21259
21260 Fontify declarators properly when, e.g., a jit-lock chunk begins
21261 inside a declaration.
21262
21263 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21264
21265 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21266 New function.
21267 (c-complex-decl-matchers): Insert reference to
21268 c-font-lock-enclosing-decls.
21269
21270 * progmodes/cc-engine.el (c-backward-single-comment):
21271 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21272 to nil around calls to (forward-comment -1).
21273
21274 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21275
21276 * image.el (put-image): Doc typo fix.
21277
21278 * progmodes/etags.el (tags-search): Doc typo fix.
21279
21280 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21281 password if we get errors 550 to 554.
21282
21283 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21284
21285 * net/gnutls.el (gnutls-log-level): Remove.
21286
21287 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21288 indentation character (bug#6380).
21289
21290 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21291
21292 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21293 to clarify what the problem is (bug#4291).
21294
21295 * simple.el (current-kill): Clarify what
21296 `interprogram-paste-function' does (bug#7500).
21297 (auto-fill-mode): Document `auto-fill-function' in relation to
21298 `auto-fill-mode' (bug#2470).
21299
21300 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21301
21302 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21303 method if slot is read-only (bug#9035).
21304
21305 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21306
21307 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21308 * window.el (pop-to-buffer): Select window used even if it was
21309 selected before, see discussion of (Bug#8615), (Bug#6954).
21310 Pass argument NORECORD on to select-frame-set-input-focus.
21311
21312 2011-07-15 Glenn Morris <rgm@gnu.org>
21313
21314 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21315 Respect help-form.
21316
21317 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21318
21319 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21320 (gnutls-negotiate): Use it.
21321
21322 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21323
21324 * net/gnutls.el (gnutls-negotiate):
21325 Upcase `gnutls-algorithm-priority'.
21326
21327 2011-07-15 Glenn Morris <rgm@gnu.org>
21328
21329 * jka-compr.el (jka-compr-verbose): Move from here...
21330 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21331 Add missing :version tag.
21332 * info.el: No need to require jka-compr when compiling.
21333
21334 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21335
21336 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21337 (gnutls-negotiate): Use it.
21338
21339 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21340
21341 * info.el (Info-beginning-of-buffer): New command.
21342 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21343 announcing `b' as the key (bug#8325).
21344 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21345
21346 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21347
21348 * international/mule-cmds.el
21349 (describe-specified-language-support): Make the error message
21350 clearer (bug#8905).
21351
21352 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21353
21354 * isearch.el (isearch-barrier): Add a doc string, since it's
21355 mentioned in a function doc string (bug#8678).
21356
21357 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21358
21359 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21360 buffer argument (Bug#9083) and self-identifying label argument.
21361
21362 2011-07-15 Glenn Morris <rgm@gnu.org>
21363
21364 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21365
21366 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21367
21368 * man.el (Man-fontify-manpage): Fix message when formatting the
21369 man page (bug#7929).
21370
21371 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21372
21373 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21374 argument LRM; if non-nil, append an invisible LRM character to the
21375 buffer name.
21376 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21377 last argument non-nil, when formatting buffer names.
21378 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21379 paragraph direction.
21380
21381 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21382
21383 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21384 the man page name (bug#7929).
21385
21386 * image.el (put-image): Mention the `put-image' overlay property
21387 (bug#7834).
21388
21389 * scroll-bar.el (set-scroll-bar-mode): Mention that
21390 `scroll-bar-mode' lists the values (bug#7772).
21391
21392 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21393 command (bug#7729).
21394
21395 * rect.el (apply-on-rectangle): Return the point after the last
21396 operation.
21397 (string-rectangle): Go to the point after the last operation
21398 (bug#7522).
21399
21400 * printing.el (pr-toggle-region): Clarify the documentation
21401 slightly (bug#7493).
21402
21403 * time.el (display-time-update):
21404 Allow `display-time-mail-function' to return nil (bug#7158).
21405 Fix suggested by Detlev Zundel.
21406
21407 * vc/diff.el (diff): Clarify the order the file names are read
21408 (bug#7111).
21409
21410 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21411 the doc string (bug#7015).
21412
21413 * font-lock.el (font-lock-maximum-decoration): Mention what
21414 numeric levels mean (bug#6935).
21415
21416 * startup.el (initial-buffer-choice): Don't mention the `none'
21417 selection, which is against policy.
21418
21419 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21420
21421 * window.el (display-buffer-normalize-special):
21422 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21423
21424 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21425
21426 * subr.el (version<, version<=, version=): Mention "-CVS" and
21427 "-12345" alpha version numbers.
21428
21429 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21430
21431 * bindings.el: Add advertised binding for set-mark-command
21432 (Bug#5772).
21433
21434 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21435
21436 * bindings.el (mode-line-other-buffer):
21437 * bookmark.el (bookmark-bmenu-2-window):
21438 * bs.el (bs-cycle-next, bs-cycle-previous):
21439 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21440 switch-to-buffer.
21441
21442 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21443 Delete.
21444
21445 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21446
21447 * follow.el (follow-debug-message, follow-redisplay):
21448 * jka-cmpr-hook.el (with-auto-compression-mode):
21449 Fix typos in docstrings.
21450
21451 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21452
21453 * subr.el (with-silent-modifications): Clarify somewhat what the
21454 macro inhibits (bug#6525).
21455
21456 * simple.el (eval-expression): Note what it does if called
21457 interactively (bug#6495).
21458
21459 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21460
21461 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21462 Use pop-to-buffer buffer-or-name if it is nil.
21463
21464 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21465 Remove switch-to-buffer.
21466
21467 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21468
21469 * files.el (make-directory): Clarify that an error will be raised
21470 if there's an error (bug#6397).
21471
21472 * startup.el (initial-buffer-choice): Add `none' as a choice
21473 (bug#6234).
21474
21475 * subr.el (add-hook): Clarify section about buffer-local hooks
21476 (bug#6218).
21477
21478 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21479
21480 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21481
21482 * tabify.el (untabify): Preserve the current column so that point
21483 doesn't move (bug#6032).
21484
21485 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21486
21487 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21488 Rewrite to avoid awkward possessive "s" (bug#5986).
21489
21490 2011-07-13 Glenn Morris <rgm@gnu.org>
21491
21492 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21493 (dired-insert-directory): Give a message the first time
21494 if ls is found not to support --dired.
21495
21496 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21497
21498 * simple.el (toggle-truncate-lines): Clarify what is toggled
21499 (bug#5580). Text by Drew Adams.
21500
21501 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21502
21503 * simple.el (blink-matching-open): Make the error message from the
21504 last change less verbose.
21505
21506 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21507
21508 * font-lock.el (font-lock-comment-face): Use the high contrast
21509 "yellow" color for font-lock-comment-face on low color terminals
21510 using a dark background color (bug#4221).
21511
21512 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21513
21514 * dired.el (dired-insert-set-properties): Make the doc string
21515 reflect what it does now (bug#5325).
21516
21517 * simple.el (blink-matching-open): Say that we were unable to find
21518 the match within the limit, if we're limited (bug#5122).
21519
21520 * international/mule-cmds.el (prefer-coding-system): Add an
21521 example (bug#4869).
21522
21523 * progmodes/etags.el (tags-search): Document `file-list-form'
21524 (bug#4731).
21525
21526 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21527
21528 * net/browse-url.el (browse-url-default-browser)
21529 (browse-url-browser-function): Make the default browser choice a
21530 bit more logical (bug#4300). Also clean up the doc string.
21531
21532 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21533
21534 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21535 binary endings (bug#4440).
21536
21537 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21538
21539 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21540 which can be pretty annoying (bug#8971).
21541
21542 * jka-compr.el (jka-compr-verbose): New variable, and use
21543 throughout (bug#8971).
21544
21545 * info.el (Info-find-file): Fall back on the installation
21546 directory if we can't find the info node anywhere else.
21547
21548 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21549
21550 * vc/vc.el (vc-revert-file):
21551 Don't set file time-stamp in the past. (Bug#5181)
21552
21553 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21554
21555 * files.el (after-find-file): Give a better error message when
21556 trying to find a symlink that points to a file that doesn't exist
21557 (bug#4398).
21558
21559 * progmodes/cc-vars.el: Remove (probably) misleading comment
21560 (bug#4396).
21561
21562 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21563
21564 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21565
21566 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21567
21568 * mouse-sel.el: Hack restoring functionality, while keeping
21569 compatibility with 2010-07-03 changes to mouse selection.
21570 (mouse-sel-primary-overlay): New var.
21571 (mouse-sel-selection-alist): Use it.
21572 (mouse-sel-mode): Doc fix; remove points that are default features
21573 of mouse.el.
21574
21575 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21576
21577 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21578 Fix previous fix (bug#2490).
21579
21580 2011-07-12 Roland Winkler <winkler@gnu.org>
21581
21582 * textmodes/bibtex.el (bibtex-initialize):
21583 Use pop-to-buffer-same-window.
21584 (bibtex-search-entries): Fix interactive call.
21585
21586 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21587
21588 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21589 Fontise bytecomp Error lines more correctly (bug#2490).
21590 Fix suggested by Johan Bockgård.
21591
21592 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21593
21594 * dired-x.el (dired-guess-default): Use `delete-dups'.
21595
21596 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21597
21598 * dired.el (dired-mark-prompt):
21599 * dired-aux.el (dired-read-shell-command): Doc fix.
21600
21601 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21602
21603 * mail/sendmail.el (sendmail-query-once):
21604 Use `customize-save-variable' unconditionally, now that it works under
21605 emacs -Q.
21606
21607 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21608
21609 * cus-edit.el (custom-file): Take an optional no-error variable.
21610 (customize-save-variable): Set the variable, and give a warning if
21611 running under "emacs -q".
21612
21613 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21614
21615 * loadhist.el (unload-feature-special-hooks):
21616 Add `auto-coding-functions', `fill-nobreak-predicate' and
21617 `find-directory-functions' (bug#5327).
21618
21619 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21620
21621 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21622
21623 * cus-edit.el (custom-guess-name-alist): -alist variables should
21624 use the `alist' type (bug#3120). Suggested by Drew Adams.
21625
21626 * printing.el: Add documentation to all the `pr-toggle-' commands.
21627
21628 2011-07-11 Leo Liu <sdl.web@gmail.com>
21629
21630 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21631 backends where it makes sense (bug#2623).
21632
21633 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21634
21635 * dired-x.el (dired-guess-default): Remove duplicate shell command
21636 entries (bug#2028).
21637 (dired-guess-default): Fix grammar in doc string (bug#2028).
21638 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21639
21640 * subr.el (remove-duplicates): New conveniency function.
21641
21642 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21643
21644 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21645 (bug#1526).
21646
21647 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21648
21649 * window.el (display-buffer-normalize-default): Don't invert
21650 meaning of even-window-heights. Reported by Eli Zaretskii
21651 <eliz@gnu.org>.
21652
21653 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21654
21655 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21656
21657 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21658
21659 * window.el (display-buffer): Fix arguments to
21660 display-buffer-reuse-window in last change.
21661
21662 * faces.el (link): Use a less saturated blue on light backgrounds.
21663
21664 * startup.el (fancy-startup-text, fancy-about-text)
21665 (fancy-startup-tail): Use font-lock faces, for background safety.
21666
21667 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21668
21669 * emulation/viper-cmd.el (viper-change-state-to-vi):
21670 Limit triggering of abbrev expansion (Bug#9038).
21671
21672 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21673
21674 * window.el (display-buffer-default-specifiers): Remove.
21675 (display-buffer-macro-specifiers): Remove default specifiers.
21676 (display-buffer-alist): Default to nil.
21677 (display-buffer-reuse-window): New optional argument other-window.
21678 (display-buffer-pop-up-window): Allow splitting internal
21679 windows. Check whether a live window was created.
21680 (display-buffer-other-window-means-other-frame)
21681 (display-buffer-normalize-arguments): Rename to
21682 display-buffer-normalize-argument and rewrite. Set the
21683 other-window specifier.
21684 (display-buffer-normalize-special): New function.
21685 (display-buffer-normalize-options): Rename to
21686 display-buffer-normalize-default and rewrite.
21687 (display-buffer-normalize-options-inhibit): Remove.
21688 (display-buffer-normalize-specifiers): Rewrite.
21689 (display-buffer): Process other-window specifier and call
21690 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21691 more faithfully.
21692 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21693 (display-buffer-alist-set): Don't handle 'unset default values.
21694 (display-buffer-in-window, display-buffer-alist-set):
21695 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21696 <tassilo@member.fsf.org>.
21697
21698 2011-07-09 Leo Liu <sdl.web@gmail.com>
21699
21700 * register.el (insert-register): Restore accidental change on
21701 2011-06-26. (Bug#9028)
21702
21703 2011-07-09 Glenn Morris <rgm@gnu.org>
21704
21705 * subr.el (remq): Handle the empty list. (Bug#9024)
21706
21707 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21708
21709 * mail/sendmail.el (send-mail-function): No longer delay custom
21710 initialization.
21711 * custom.el (custom-initialize-delay): Doc fix.
21712
21713 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21714
21715 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21716
21717 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21718
21719 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21720 human-friendly prompt.
21721
21722 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21723
21724 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21725 provided by a particular plugin.
21726
21727 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21728
21729 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21730 save customizations (with "emacs -Q"), just set the variable
21731 instead of erroring out.
21732
21733 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21734
21735 2011-07-08 Juri Linkov <juri@jurta.org>
21736
21737 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21738 (archive-zip-update-case): Use 7z if found by `executable-find'.
21739 The order of searching the available programs is the same as in
21740 `archive-zip-extract' (bug#8968).
21741
21742 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21743
21744 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21745 (menu-bar-options-menu): Tweak descriptions.
21746
21747 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21748
21749 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21750 menu items into verb phrases (bug#1421). Also refill to fit under
21751 80 columns.
21752
21753 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21754
21755 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21756 (Info-read-node-name): Doc fix (Bug#1084).
21757
21758 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21759 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21760 (end-of-sexp, beginning-of-sexp)
21761 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21762 (forward-symbol, forward-same-syntax, word-at-point)
21763 (sentence-at-point): Doc fix (Bug#1144).
21764
21765 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21766
21767 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21768 should cover it (bug#1281).
21769
21770 * cus-edit.el (custom-show): Mark as obsolete.
21771
21772 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21773 negotiation fails, then possibly try again with a non-encrypted
21774 connection (bug#9017).
21775
21776 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21777 be used.
21778
21779 2011-07-07 Richard Stallman <rms@gnu.org>
21780
21781 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21782 property, and handle its changed format.
21783 Look for the correct line number.
21784 Use file's line contents (but not past first =) to find
21785 correct line in message.
21786
21787 2011-07-07 Kenichi Handa <handa@m17n.org>
21788
21789 * international/characters.el (build-unicode-category-table):
21790 Delete it.
21791 (unicode-category-table): Set it by unicode-property-table-internal.
21792
21793 * international/mule-cmds.el (char-code-property-alist): Move to
21794 to src/chartab.c.
21795 (get-char-code-property): Call unicode-property-table-internal to
21796 load a file. Call get-unicode-property-internal where necessary.
21797 (put-char-code-property): Call unicode-property-table-internal to
21798 load a file. Call put-unicode-property-internal where necessary.
21799 put-unicode-property-internal where necessary.
21800 (char-code-property-description):
21801 Call unicode-property-table-internal to load a file.
21802
21803 * international/charprop.el:
21804 * international/uni-bidi.el:
21805 * international/uni-category.el:
21806 * international/uni-combining.el:
21807 * international/uni-comment.el:
21808 * international/uni-decimal.el:
21809 * international/uni-decomposition.el:
21810 * international/uni-digit.el:
21811 * international/uni-lowercase.el:
21812 * international/uni-mirrored.el:
21813 * international/uni-name.el:
21814 * international/uni-numeric.el:
21815 * international/uni-old-name.el:
21816 * international/uni-titlecase.el:
21817 * international/uni-uppercase.el: Regenerate.
21818
21819 * loadup.el: Load international/charprop.el before
21820 international/characters.
21821
21822 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21823
21824 * window.el (next-buffer, previous-buffer): Signal an error if
21825 called from a minibuffer window.
21826
21827 * bindings.el: Revert 2011-07-04 change.
21828
21829 2011-07-06 Richard Stallman <rms@gnu.org>
21830
21831 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21832 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21833 Treat markers like ints.
21834 (rmail-mime-entity): Doc fix.
21835
21836 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21837
21838 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21839 defcustom again for backwards compatibility.
21840
21841 * simple.el (shell-command-on-region): Fill.
21842
21843 * dired-aux.el (dired-kill-line): Add a doc string.
21844
21845 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21846 to "\\sw\\|\\s_" (bug#358).
21847
21848 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21849 (dired-unmark-backward): Ditto.
21850 (dired-flag-backup-files): Ditto.
21851
21852 * dired-x.el (dired-mark-sexp): Ditto.
21853
21854 2011-07-06 Richard Stallman <rms@gnu.org>
21855
21856 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21857 (rmail-mime-entity): New arg TRUNCATED.
21858 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21859 New functions.
21860 (rmail-mime-save): Warn if entity is truncated.
21861 (rmail-mime-toggle-hidden): Likewise, for showing.
21862 (rmail-mime-process-multipart): Record when an entity is truncated.
21863
21864 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21865 if ENTITY is a string.
21866
21867 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21868
21869 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21870 of faces when `M-C-x'-ing their definitions (bug#8378).
21871 Also clean up the code slightly.
21872
21873 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21874 because that makes the colors go away.
21875
21876 * mail/sendmail.el (send-mail-function): Change the default to
21877 `sendmail-query-once'.
21878 (sendmail-query-once): Add an autoload cookie.
21879
21880 * net/network-stream.el (network-stream-open-starttls): Try using
21881 a plain connection even if the server offered STARTTLS, and we
21882 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21883 capability. This should make smtpmail.el work in slightly more
21884 configurations.
21885
21886 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21887
21888 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21889 New defun.
21890 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21891
21892 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21893
21894 * progmodes/sql.el: Version 3.0
21895 (sql-product-alist): Add product :completion-object,
21896 :completion-column, and :statement attributes.
21897 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21898 (sql-mode-syntax-table): Mark all punctuation.
21899 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21900 ansi keywords.
21901 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21902 (sql-mode-oracle-font-lock-keywords): Improve.
21903 (sql-oracle-show-reserved-words): New function for development.
21904 (sql-product-font-lock): Simplify for source code buffers.
21905 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21906 New functions.
21907 (sql-highlight-product): Set product specific syntax table.
21908 (sql-mode-map): Add statement movement functions.
21909 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21910 New variable.
21911 (sql-statement-regexp, sql-beginning-of-statement)
21912 (sql-end-of-statement, sql-signum): New functions.
21913 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21914 (sql-show-sqli-buffer): Bug fix.
21915 (sql-interactive-mode): Store connection data as buffer local.
21916 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21917 with sql-interactive-mode.
21918 (sql-save-connection): Save buffer local settings.
21919 (sql-connection-menu-filter): Change menu entry name.
21920 (sql-product-interactive): Bug fix.
21921 (sql-preoutput-hold): New variable.
21922 (sql-interactive-remove-continuation-prompt): Bug fixes.
21923 (sql-debug-redirect): New variable.
21924 (sql-str-literal): New function.
21925 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21926 Redesign.
21927 (sql-oracle-save-settings, sql-oracle-restore-settings)
21928 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21929 (sql-completion-object, sql-completion-column)
21930 (sql-completion-sqlbuf): New variables.
21931 (sql-build-completions-1, sql-build-completions)
21932 (sql-try-completion): New functions.
21933 (sql-read-table-name): Use them.
21934 (sql-contains-names): New buffer local variable.
21935 (sql-list-all, sql-list-table): Use it.
21936 (sql-oracle-completion-types): New variable.
21937 (sql-oracle-completion-object, sql-sqlite-completion-object)
21938 (sql-postgres-completion-object): New functions.
21939
21940 2011-07-06 Glenn Morris <rgm@gnu.org>
21941
21942 * window.el (pop-to-buffer): Doc fix.
21943
21944 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21945
21946 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21947
21948 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21949
21950 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21951
21952 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21953
21954 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21955
21956 * button.el (button): Inherit from link face. Suggested by Dan
21957 Nicolaescu.
21958
21959 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21960
21961 * progmodes/gdb-mi.el: Fit in 80 columns.
21962 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21963 switch-to-buffer.
21964
21965 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21966 if imenu is simply not configured (bug#8941).
21967
21968 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21969
21970 * allout.el (allout-post-undo-hook): New allout outline-change
21971 event hook to signal undo activity.
21972 (allout-post-command-business): Run allout-post-undo-hook if an
21973 undo just occurred.
21974 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21975 * allout-widgets.el (allout-widgets-after-undo-function):
21976 Ensure the integrity of the current item's decoration after it has been
21977 in the vicinity of an undo.
21978 (allout-widgets-mode): Include allout-widgets-after-undo-function
21979 on the new allout-post-undo-hook.
21980
21981 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21982
21983 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21984 Let define-derived-mode define it.
21985 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21986 cycles of abbrev-table inheritance (bug#8998).
21987
21988 2011-07-05 Roland Winkler <winkler@gnu.org>
21989
21990 * textmodes/bibtex.el: Add support for biblatex.
21991 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21992 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21993 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21994 (bibtex-entry-alist, bibtex-field-alist): New variables.
21995 (bibtex-entry-field-alist): Obsolete alias for
21996 bibtex-BibTeX-entry-alist.
21997 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21998 (bibtex-set-dialect): New command.
21999 (bibtex-entry-type, bibtex-entry-head)
22000 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22001 Bind via bibtex-set-dialect.
22002 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22003 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22004 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22005 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22006 Define via bibtex-set-dialect.
22007 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22008 Obey bibtex-no-opt-remove-re.
22009 (bibtex-vec-push, bibtex-vec-incr): New functions.
22010 (bibtex-format-entry, bibtex-field-list)
22011 (bibtex-print-help-message, bibtex-validate)
22012 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22013
22014 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22015
22016 * progmodes/compile.el (compilation-goto-locus):
22017 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22018 * bs.el (bs-cycle-next, bs-cycle-previous):
22019 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22020 * bindings.el (mode-line-other-buffer):
22021 * autoinsert.el (auto-insert):
22022 * arc-mode.el (archive-extract):
22023 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22024
22025 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22026
22027 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22028 Fix check of `emacs-lock-unlockable-modes'.
22029 Coerce true values of `emacs-lock--try-unlocking' to t.
22030
22031 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22032
22033 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22034 * emacs-lock.el: New file.
22035
22036 2011-07-05 Julien Danjou <julien@danjou.info>
22037
22038 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22039 than `boundp' to check if face is set.
22040
22041 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22042
22043 * register.el (registerv-make):
22044 * window.el (window-min-height): Fix typos in docstrings.
22045
22046 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22047
22048 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22049 Update doc string.
22050
22051 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22052
22053 * server.el (server-execute): Catch quit and call
22054 `server-return-error' to pass the error back to emacsclient and
22055 close the connection (bug#8942).
22056
22057 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22058
22059 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22060 insecure exception for current topic. Also note that auto-saves
22061 are handled differently.
22062
22063 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22064 State variables for tracking auto-save inhibition situation.
22065
22066 (allout-write-contents-hook-handler): Rename from
22067 'allout-write-file-hook-handler', and describe how it depends on
22068 write-contents-functions sensitivity to non-nil value to prevent
22069 file write.
22070
22071 (allout-auto-save-hook-handler): Remove. auto-save does not check
22072 this in individual buffers, only in the starting buffer, so this
22073 is not the right way for us to inhibit auto-save in a buffer
22074 according to its condition.
22075
22076 (allout-mode): Use new allout-write-contents-hook-handler, and
22077 only with write-contents-functions. Remove auto-save provisions -
22078 they're implemented elsewhere.
22079
22080 (allout-before-change-handler): If undo is in progress, note that
22081 for attention of allout-post-command-business.
22082
22083 (allout-post-command-business): If the command we're following was
22084 an undo, check for change in the status of encrypted items and
22085 adjust auto-save inhibitions accordingly.
22086
22087 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22088 according to whether there are or aren't any plain-text topics
22089 pending encryption.
22090
22091 (allout-inhibit-auto-save-info-for-decryption):
22092 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22093 if there are plain-text topics pending encryption.
22094
22095 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22096 buffer-saved-size and some allout state to not inhibit auto-saves
22097 if there are no longer any plain-text topics pending encryption.
22098
22099 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22100 No longer provide for exemption of the current topic.
22101
22102 2011-07-04 Juri Linkov <juri@jurta.org>
22103
22104 Add 7z operations to delete and save changed members (bug#8968).
22105 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22106 New defcustoms.
22107 (archive-7z-write-file-member): New function.
22108 (archive-7z-summarize): Fix the number of dashes in the
22109 listing output.
22110
22111 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22112
22113 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22114 (bug#8958).
22115
22116 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22117
22118 * bindings.el: Ignore next-buffer and previous-buffer in
22119 minibuffer-local-map.
22120
22121 * font-lock.el (font-lock-builtin-face): Change light background
22122 color to dark slate blue (Bug#6693).
22123
22124 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22125
22126 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22127
22128 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22129
22130 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22131 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22132 Add switch-to-buffer.
22133
22134 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22135
22136 * isearch.el (isearch-search-fun-function): Clarify further the
22137 meaning of the function returned.
22138
22139 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22140
22141 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22142
22143 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22144 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22145 Use it.
22146 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22147 `tramp-default-remote-path' does not exist.
22148 (tramp-send-command-and-read): New optional argument NOERROR.
22149 (tramp-open-connection-setup-interactive-shell)
22150 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22151 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22152 (tramp-process-sentinel): Flush also process' connection property.
22153 (tramp-sh-handle-start-file-process): Do not set process
22154 sentinel. It is done now ...
22155 (tramp-maybe-open-connection): ... here. (Bug#8929)
22156
22157 2011-07-04 MON KEY <monkey@sandpframing.com>
22158
22159 * play/animate.el (animate-string): Doc fixes and allow changing
22160 the buffer name (bug#5417).
22161
22162 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22163
22164 * play/animate.el (animation-buffer-name): Rename from *animate*.
22165
22166 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22167
22168 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22169 This is simpler and helps future-proof the code.
22170 (timer-until): Use time-subtract and float-time.
22171 (timer--time-less-p): Use time-less-p.
22172
22173 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22174
22175 * type-break.el (timep): Use the value of `float-time' to avoid a
22176 byte-compiler warning.
22177
22178 * server.el (server-eval-and-print): Return any result, even nil.
22179
22180 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22181
22182 * type-break.el: Accept time formats that the builtins accept.
22183 (timep, type-break-time-difference): Accept any format that
22184 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22185 This is simpler and helps future-proof the code.
22186 (type-break-time-difference): Round rather than ignoring
22187 subseconds components.
22188
22189 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22190
22191 * info.el (Info-apropos-matches): Make non-interactive, since it
22192 doesn't seem to do anything useful as a command (bug#8829).
22193
22194 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22195
22196 * frame.el (frame-background-mode, frame-set-background-mode):
22197 Move from faces.el.
22198 (frame-default-terminal-background): New function.
22199
22200 * custom.el (custom-push-theme): Don't record faces in `changed'
22201 theme; this doesn't work correctly for per-frame face settings.
22202 (disable-theme): Use face-set-after-frame-default to reset faces.
22203 (custom--frame-color-default): New function.
22204
22205 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22206
22207 * dired.el (dired-flagging-regexp): Remove unused variable
22208 (bug#8769).
22209
22210 2011-03-29 Kevin Ryde <user42@zip.com.au>
22211
22212 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22213 `perl-Test2' extend to match possible "fail #N" rep count
22214 (bug#8377).
22215
22216 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22217
22218 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22219 `smtpmail-via-smtp' now returns the error instead of nil.
22220
22221 * isearch.el (isearch-search-fun-function): Clarify the doc string
22222 (bug#8101).
22223
22224 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22225
22226 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22227 unnecessary spaces (bug#8987).
22228
22229 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22230
22231 * net/network-stream.el (open-network-stream): Use the
22232 :end-of-capability command thoughout.
22233
22234 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22235
22236 * net/network-stream.el (open-network-stream): Add the
22237 :end-of-capability command parameter, used by pop3.el.
22238
22239 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22240
22241 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22242
22243 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22244 for list)" (bug#6475).
22245
22246 * files.el (file-expand-wildcards): Ignore non-readable
22247 sub-directories while trying to find matches instead of signaling
22248 an error (bug#6297).
22249
22250 * man.el (Man-reference-regexp): Allow matching possible
22251 word-wrapped references (bug#6289).
22252
22253 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22254 for consistency with the other vc buffers (bug#6197).
22255 (vc-checkin): Ditto.
22256
22257 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22258
22259 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22260
22261 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22262
22263 * custom.el (defcustom): Clarify that :set is only used in the
22264 Customize user interface (bug#6089).
22265
22266 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22267 associated with a file, refuse to run instead of erroring out
22268 (bug#6084).
22269
22270 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22271 the doc string, since it appears that using `fill-column' always
22272 controls the width (bug#7845).
22273
22274 * simple.el (shell-command-on-region): Say where the error output
22275 went if `shell-command-default-error-buffer' is set (bug#6857).
22276
22277 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22278
22279 * allout.el (allout-yank-processing): Adjust cursor position for
22280 backwards-deleted space.
22281
22282 (allout-rebullet-heading): Register changes with
22283 allout-exposure-changed-hook, so the modified topic is properly
22284 decorated.
22285
22286 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22287
22288 * minibuffer.el (completion-in-region): Document PREDICATE
22289 (bug#7136).
22290
22291 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22292 of keyword/argument pairs (bug#6904).
22293
22294 * replace.el (multi-occur):
22295 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22296
22297 2011-07-02 Drew Adams <drew.adams@oracle.com>
22298
22299 * dired.el (dired-mark-if): Make the message about whether it's
22300 marking or unmarking clearer (bug#8523).
22301
22302 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22303
22304 * disp-table.el (display-table-print-array): New function.
22305 (describe-display-table): Use it to print the vectors more pretty
22306 (Bug#8859).
22307
22308 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22309
22310 * window.el (window-state-get-1): Don't assign clone numbers.
22311 Add clone-of item to list of window parameters.
22312 (window-state-put-2): Don't process clone numbers.
22313 (display-buffer-alist): Fix doc-string.
22314
22315 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22316
22317 * subr.el (remq): Don't allocate if it's not needed.
22318 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22319 (keymap--merge-bindings): New functions.
22320 (keymap-canonicalize): Use them to refine the canonicalization.
22321 * minibuffer.el (minibuffer-local-completion-map)
22322 (minibuffer-local-must-match-map): Move initialization from C.
22323 (minibuffer-local-filename-completion-map): Move initialization from C;
22324 don't inherit from anything here.
22325 (minibuffer-local-filename-must-match-map): Make obsolete.
22326 (completing-read-default): Use make-composed-keymap to combine
22327 minibuffer-local-filename-completion-map with either
22328 minibuffer-local-must-match-map or
22329 minibuffer-local-filename-completion-map.
22330
22331 2011-07-01 Glenn Morris <rgm@gnu.org>
22332
22333 * type-break.el (type-break-time-sum): Use dolist.
22334
22335 * textmodes/flyspell.el (flyspell-word-search-backward):
22336 Replace CL function.
22337
22338 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22339
22340 * mouse.el (mouse--strip-first-event): New function.
22341 (function-key-map): Use it to map fringe clicks to normal clicks
22342 by default.
22343
22344 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22345 (vc-bzr-revision-completion-table): Add support for annotate and date.
22346
22347 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22348 inherit from parent.
22349
22350 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22351
22352 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22353 (dired-show-file-type): Doc fixup (bug#8818).
22354
22355 * dired.el (dired-mode): Fix up the doc string as suggested by
22356 Drew Adams (bug#8817).
22357
22358 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22359 cookie, since the manual says that it should be possible to add
22360 this function to `find-file-hook' (bug#8709).
22361
22362 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22363
22364 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22365 here. Noted Ted Zlatanov as the maintainer.
22366 (cfengine-common-settings, cfengine-common-syntax): New functions
22367 to set up common things between `cfengine-mode' and
22368 `cfengine3-mode'.
22369 (cfengine3-mode): New mode.
22370 (cfengine3-defuns cfengine3-defuns-regex
22371 (cfengine3-class-selector-regex cfengine3-category-regex)
22372 (cfengine3-vartypes cfengine3-font-lock-keywords)
22373 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22374 (cfengine3-indent-line): Add from cfengine3.el.
22375
22376 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22377
22378 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22379
22380 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22381
22382 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22383
22384 * window.el (same-window-buffer-names, same-window-regexps)
22385 (same-window-p, special-display-frame-alist)
22386 (special-display-popup-frame, special-display-function)
22387 (special-display-buffer-names, special-display-regexps)
22388 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22389 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22390 (split-window-preferred-function, split-height-threshold)
22391 (split-width-threshold, even-window-heights)
22392 (display-buffer-mark-dedicated, window-splittable-p)
22393 (split-window-sensibly, window-safely-shrinkable-p):
22394 Un-obsolete.
22395 (display-buffer): Don't spread args with function specifier
22396 because special-display-popup-frame won't like it.
22397
22398 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22399
22400 Time-stamp simplifications and fixes.
22401 These improve accuracy slightly, and future-proof the code
22402 against some potential changes to current-time format.
22403
22404 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22405 by using time-since and float-time.
22406
22407 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22408 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22409 + NNN microseconds".
22410
22411 * type-break.el (type-break-time-sum): Rewrite using time-add.
22412
22413 * play/hanoi.el (hanoi-current-time-float): Remove.
22414 All uses replaced by float-time.
22415
22416 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22417 This yields a more-accurate answer.
22418 (rng-time-to-float): Remove; no longer needed.
22419
22420 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22421
22422 * calendar/timeclock.el (timeclock-seconds-to-time):
22423 Defalias to seconds-to-time, since they're the same thing.
22424
22425 * emacs-lisp/elp.el (elp-elapsed-time):
22426 * emacs-lisp/benchmark.el (benchmark-elapse):
22427 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22428
22429 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22430
22431 * window.el (bury-buffer): Don't iconify the only frame.
22432 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22433 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22434
22435 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22436
22437 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22438 Add mouse-yank-primary.
22439
22440 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22441
22442 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22443
22444 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22445
22446 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22447 (find-library-name): Use it to find relative load names when provided
22448 absolute file name (bug#8803).
22449
22450 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22451
22452 * textmodes/flyspell.el (flyspell-word): Consider words that
22453 differ only in case as potential doublons (bug#5687).
22454
22455 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22456 Remove two rather uninteresting debugging-like messages to make
22457 debbugs.el more silent.
22458
22459 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22460 a password-like phrase.
22461
22462 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22463
22464 * progmodes/cc-guess.el: New file.
22465
22466 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22467
22468 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22469 derived from `c-basic-common-init'.
22470
22471 * progmodes/cc-mode.el (top-level): Require cc-guess.
22472 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22473
22474 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22475
22476 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22477
22478 2011-06-30 Alan Mackenzie <acm@muc.de>
22479
22480 * progmodes/cc-engine.el (c-guess-continued-construct):
22481 Correct the handling of template-args-cont, particularly for when font
22482 lock is disabled. Name this case as "CASE G".
22483
22484 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22485
22486 * allout.el (allout-yank-processing): Fix injection of extra space
22487 between bullet and non-whitespace character in first topic when
22488 pasting, ensuring that the actual spacing in the pasted topic
22489 following the bullet char is preserved. This extra space was
22490 causing pasted encrypted topics to get a decrypted status even
22491 when the content was actually still encrypted. Now the decryption
22492 status from before the paste is preserved.
22493
22494 (allout-flag-region): Set all allout overlays so they evaporate
22495 when reduced to zero length (evanescent), to prevent overlay
22496 leakage.
22497
22498 2011-06-30 Glenn Morris <rgm@gnu.org>
22499
22500 * w32-fns.el (w32-charset-info-alist): Declare.
22501
22502 * find-dired.el (find-grep-options): Simplify.
22503
22504 * term/ns-win.el (ns-set-resource): Declare.
22505
22506 * ses.el (row, col): Declare dynamic variables honestly.
22507
22508 * textmodes/reftex-parse.el (index-tags): Declare.
22509
22510 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22511
22512 * cus-edit.el (customize-push-and-save): New function.
22513
22514 * files.el (hack-local-variables-confirm): Use it.
22515
22516 * custom.el (load-theme): New arg NO-CONFIRM.
22517 Use customize-push-and-save (Bug#8720).
22518 (custom-enabled-themes): Doc fix.
22519
22520 * cus-theme.el (customize-create-theme)
22521 (custom-theme-merge-theme): Callers to load-theme changed.
22522
22523 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22524
22525 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22526 short URLs have at least one dot in them (bug #7614).
22527
22528 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22529 nil, because using a pty is apparently too slow (bug #895).
22530
22531 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22532
22533 * mail/sendmail.el (sendmail-query-once): New function.
22534 (sendmail-query-once-function): New variable.
22535
22536 2011-06-29 Glenn Morris <rgm@gnu.org>
22537
22538 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22539
22540 * ses.el (top-level): Require cl when compiling.
22541 (ses-set-localvars): Fix error statement.
22542 Call it at compile time to silence a storm of warnings.
22543
22544 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22545
22546 * window.el (normalize-live-buffer): Rename to
22547 window-normalize-buffer.
22548 (normalize-live-frame): Rename to window-normalize-frame.
22549 (normalize-any-window): Rename to window-normalize-any-window.
22550 (normalize-live-window): Rename to window-normalize-live-window.
22551 (make-window-atom): Rename to window-make-atom.
22552 (window-resize-reset): Rename to window--resize-reset.
22553 (window-resize-reset-1): Rename to window--resize-reset-1.
22554 (resize-mini-window): Rename to window--resize-mini-window.
22555 (resize-subwindows-skip-p): Rename to
22556 window--resize-subwindows-skip-p.
22557 (resize-subwindows-normal): Rename to
22558 window--resize-subwindows-normal.
22559 (resize-subwindows): Rename to window--resize-subwindows.
22560 (resize-other-windows): Rename to window--resize-siblings.
22561 (resize-this-window): Rename to window--resize-this-window.
22562 (resize-root-window): Rename to window--resize-root-window.
22563 (resize-root-window-vertically): Rename to
22564 window--resize-root-window-vertically.
22565 (normalize-buffer-to-display): Rename to
22566 window-normalize-buffer-to-display.
22567 (normalize-buffer-to-switch-to): Rename to
22568 window-normalize-buffer-to-switch-to.
22569 Correspondingly update all callers of the functions listed
22570 above.
22571 (display-buffer-alist, display-buffer-normalize-arguments)
22572 (display-buffer-normalize-options, display-buffer)
22573 (display-buffer-alist-set): Use "function" instead of
22574 "fun-with-args".
22575
22576 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22577
22578 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22579 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22580 debbugs.gnu.org. Mention acknowledgment email.
22581
22582 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22583
22584 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22585 buffer multibyteness, since it shouldn't matter.
22586
22587 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22588
22589 * window.el (display-buffer-in-side-window): Handle dedicated
22590 windows as in display-buffer-reuse-window.
22591 (display-buffer-normalize-alist): Use value of override
22592 specifier.
22593 (display-buffer-normalize-specifiers): Use value of
22594 other-window-means-other-frame specifier.
22595 (display-buffer-alist): Rewrite some texts in widgets.
22596 (display-buffer): Spread arguments when calling function
22597 specified by fun-with-args.
22598
22599 2011-06-28 Deniz Dogan <deniz@dogan.se>
22600
22601 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22602 Unnest `let'.
22603
22604 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22605 selectors (Bug#5732).
22606 (css-proprietary-nmstart-re): Use `regexp-opt'.
22607
22608 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22609
22610 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22611 (eshell-ls-date-format): New defcustom.
22612 (eshell-ls-file): Use it.
22613
22614 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22615
22616 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22617
22618 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22619
22620 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22621 (ange-ftp-make-tmp-name): New arg.
22622 (ange-ftp-file-local-copy): Use it.
22623
22624 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22625
22626 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22627 no-conversion (Bug#8870).
22628
22629 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22630
22631 * window.el (window-right, window-left, window-child)
22632 (window-child-count, window-last-child)
22633 (window-iso-combination-p, walk-window-tree-1)
22634 (window-atom-check-1, window-tree-1, delete-window)
22635 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22636 new naming conventions - window-vchild, window-hchild,
22637 window-next and window-prev are now called window-top-child,
22638 window-left-child, window-next-sibling and window-prev-sibling
22639 respectively.
22640 (resize-window-reset): Rename to window-resize-reset.
22641 (resize-window-reset-1): Rename to window-resize-reset-1.
22642 (resize-window): Rename to window-resize.
22643 (window-min-height, window-min-width)
22644 (resize-mini-window, resize-this-window, resize-root-window)
22645 (resize-root-window-vertically, adjust-window-trailing-edge)
22646 (enlarge-window, shrink-window, maximize-window)
22647 (minimize-window, delete-window, quit-restore-window)
22648 (split-window, balance-windows, balance-windows-area-adjust)
22649 (balance-windows-area, window-state-put-2)
22650 (display-buffer-even-window-sizes, display-buffer-set-height)
22651 (display-buffer-set-width, set-window-text-height)
22652 (fit-window-to-buffer): Rename all "resize-window" prefixed
22653 calls to use the "window-resize" prefix convention.
22654 (display-buffer-alist): Fix symbol for label specifier.
22655 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22656 corresponding specifier.
22657 Reported by Juanma Barranquero <lekktu@gmail.com>.
22658
22659 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22660
22661 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22662 convention.
22663 (ses-call-printer): Does not pass an empty string to formatter when the
22664 cell is empty to keep from barking printer Calc math-format-value.
22665
22666 2011-06-27 Richard Stallman <rms@gnu.org>
22667
22668 * battery.el (battery-mode-line-limit): New variable.
22669 (battery-update): Handle it.
22670
22671 * mail/rmailmm.el (rmail-mime-process-multipart):
22672 Handle truncated messages.
22673
22674 2011-06-27 Glenn Morris <rgm@gnu.org>
22675
22676 * progmodes/flymake.el (flymake-err-line-patterns):
22677 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22678
22679 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22680
22681 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22682 (ses--clean-!, ses--clean-_): New functions.
22683 (ses-range): Add configurability of readout order, and conversion
22684 to Calc vector.
22685
22686 * ses.el (ses-repair-cell-reference-all): New function.
22687 (ses-cell-symbol): Set macro as safe, so that it can be used in
22688 formulas.
22689
22690 * ses.el: Update cycle detection algorithm.
22691 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22692 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22693 (ses-set-localvars): New function.
22694 (ses-make-cell): Add property-list as a cell element.
22695 (ses-cell-property-get-fun, ses-cell-property-get)
22696 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22697 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22698 New functions.
22699 (ses-cell-property-set, ses-cell-property-pop)
22700 (ses-cell-property-get-handle): New macro.
22701 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22702 New aliases, used for code readability.
22703 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22704 cycle detection.
22705 (ses-self-reference-early-detection): New defcustom.
22706 (ses-formula-references): Robustify against self-referring cells.
22707 (ses-mode): Use ses-set-localvars.
22708 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22709 before lauching the update processing.
22710 (ses-initialize-Dijkstra-attempt): New function.
22711 (ses-recalculate-cell): Update for cycle detection based on
22712 Dijkstra algorithm.
22713
22714 * ses.el: Fix commenting and indenting convention.
22715
22716 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22717
22718 * bs.el (bs-cycle-next): Complete last change.
22719
22720 2011-06-27 Drew Adams <drew.adams@oracle.com>
22721
22722 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22723
22724 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22725
22726 * net/network-stream.el (network-stream-open-starttls):
22727 Don't re-get capabilities unless we've reestablished connection.
22728 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22729
22730 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22731 to binary to possibly avoid line encoding issues on Windows (among
22732 other things).
22733
22734 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22735
22736 * net/network-stream.el (open-network-stream): Return an :error
22737 saying what the problem was, if possible.
22738
22739 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22740 server.
22741
22742 * net/network-stream.el (network-stream-open-starttls): If we
22743 wanted to use STARTTLS, and the server offered it, but we weren't
22744 able to because we had no STARTTLS support, then close the connection.
22745 (open-network-stream): Return an :error element, if present.
22746
22747 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22748
22749 * hl-line.el (hl-line-sticky-flag): Doc fix.
22750 (global-hl-line-sticky-flag): New option (Bug#8323).
22751 (global-hl-line-highlight): Obey it.
22752
22753 * vc/vc.el (vc-revert-show-diff): Default to t.
22754
22755 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22756
22757 * allout-widgets.el (allout-widgets-post-command-business):
22758 Stop decorating intermediate isearch matches. They're not being
22759 undecorated when an isearch is continued past, and isearch
22760 automatically collapses them. This leads to "widget leaks", where
22761 decorated items accumulate in collapsed areas. Lines with lots of
22762 hidden widgets can slow down cursor travel, substantially.
22763 Too much complicated machinery would be needed to ensure undecoration,
22764 so we're doing without this nicety.
22765
22766 (allout-widgets-tally-string): Don't try to do a hash-table-count
22767 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22768 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22769 *Messages* when allout-widgets-maintain-tally is t.
22770
22771 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22772
22773 * window.el (display-buffer-normalize-argument): Rename to
22774 display-buffer-normalize-arguments. Handle special meaning of
22775 LABEL argument. Respect special-display-function when popping up
22776 a new frame. Fix code searching for a window showing the buffer
22777 on another frame.
22778 (display-buffer-normalize-specifiers):
22779 Call display-buffer-normalize-arguments.
22780 (display-buffer-in-window): Don't undedicate the window if its
22781 buffer remains the same.
22782 Reported by Drew Adams <drew.adams@oracle.com>.
22783 (display-buffer-alist): Add choice for same-window macro
22784 specfier.
22785 (display-buffer): Mention special meaning of LABEL argument in
22786 doc-string. Fix quoting. Don't pop up a new frame even as
22787 fallback.
22788
22789 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22790
22791 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22792 avoid deleting the current window in some cases (bug#8911).
22793
22794 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22795
22796 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22797 (Bug#8934)
22798
22799 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22800
22801 * net/network-stream.el (network-stream-open-starttls):
22802 Use built-in TLS support if `gnutls-available-p' is true.
22803 (network-stream-open-tls): Ditto.
22804
22805 2011-06-26 Leo Liu <sdl.web@gmail.com>
22806
22807 * register.el (registerv): New struct.
22808 (registerv-make): New function.
22809 (jump-to-register, describe-register-1, insert-register):
22810 Support the jump-func, print-func and insert-func slot of a registerv
22811 struct. (Bug#8415)
22812
22813 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22814
22815 * vc/vc.el (vc-revert-show-diff): New defcustom.
22816 (vc-diff-internal): New arg specifying diff buffer.
22817 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22818 reuse an existing *vc-diff* buffer (Bug#8927).
22819
22820 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22821
22822 2011-06-26 Glenn Morris <rgm@gnu.org>
22823
22824 * progmodes/f90.el (f90-critical-indent): New option.
22825 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22826 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22827 (f90-mode): Doc fix.
22828 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22829 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22830 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22831 (f90-match-end): Handle block, critical.
22832
22833 2011-06-25 Glenn Morris <rgm@gnu.org>
22834
22835 * calendar/diary-lib.el (diary-included-files): Doc fix.
22836 (diary-include-files): New function, extracted from
22837 diary-include-other-diary-files and diary-mark-included-diary-files.
22838 (diary-include-other-diary-files, diary-mark-included-diary-files):
22839 Just call diary-include-files.
22840 (diary-mark-entries): Reset diary-included-files on first call.
22841
22842 * calendar/diary-lib.el (diary-mark-entries)
22843 (diary-mark-included-diary-files):
22844 Visit included diary-files in temp buffers.
22845
22846 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22847 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22848 (f90-start-block-re, f90-imenu-generic-expression)
22849 (f90-looking-at-program-block-start, f90-no-block-limit):
22850 Add support for submodules.
22851
22852 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22853 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22854
22855 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22856
22857 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22858 buffer-file-type before setting its value, to avoid disastrous
22859 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22860
22861 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22862
22863 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22864
22865 * ses.el (ses-unload-function):
22866 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22867
22868 * proced.el (proced-unload-function):
22869 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22870
22871 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22872
22873 * server.el (server-create-window-system-frame): Add parameters arg.
22874 (server-process-filter): Doc fix. Handle frame-parameters.
22875
22876 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22877
22878 Fix bug#8730, bug#8781.
22879
22880 * loadhist.el (unload--set-major-mode): New function.
22881 (unload-feature): Use it.
22882
22883 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22884 (python-unload-function): New function.
22885
22886 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22887
22888 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22889
22890 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22891
22892 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22893 the candidates list.
22894
22895 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22896
22897 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22898
22899 2011-06-23 Richard Stallman <rms@gnu.org>
22900
22901 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22902 (rmail-variables): Set next-error-move-function.
22903 (rmail-what-message): Take argument POS.
22904 (rmail-next-error-move): New function.
22905
22906 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22907
22908 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22909 messages for adjacent non-terminals.
22910
22911 2011-06-23 Richard Stallman <rms@gnu.org>
22912
22913 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22914 (rmail-show-message-1): Preserve buffer modified flag.
22915 (rmail-start-mail): Don't specify use of rmail-mail-return;
22916 that's done by mail-bury now.
22917 (rmail-mail-return): Handle arg NEWBUF.
22918
22919 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22920
22921 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22922 SIZE is a number.
22923
22924 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22925
22926 * window.el (get-lru-window, get-mru-window)
22927 (get-largest-window): Never return a minibuffer window.
22928 (display-buffer-pop-up-window): Fix a bug that could lead to
22929 reusing the minibuffer window.
22930 (display-buffer): Pass original specifier argument to
22931 display-buffer-function instead of the normalized one.
22932 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22933
22934 2011-06-22 Leo Liu <sdl.web@gmail.com>
22935
22936 * minibuffer.el (completing-read-function)
22937 (completing-read-default): Move from minibuf.c.
22938
22939 2011-06-22 Richard Stallman <rms@gnu.org>
22940
22941 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22942 to Rmail even if not started by a special Rmail command.
22943
22944 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22945 Copy the buffer currently showing just one message.
22946
22947 2011-06-22 Roland Winkler <winkler@gnu.org>
22948
22949 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22950 (bibtex-clean-entry): First delete the old key so that a
22951 customized algorithm for generating the new key does not get
22952 confused by the old key.
22953 (bibtex-url): Obey regexp of first step.
22954 (bibtex-search-entries): Do not use add-to-list with local
22955 list-var.
22956
22957 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22958
22959 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22960 stored a user name, then query for the password first, instead of
22961 waiting for SMTP to give an error message and the trying again.
22962
22963 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22964
22965 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22966 BUFFER in call-process.
22967
22968 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22969
22970 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22971 QUIT twice.
22972 (smtpmail-try-auth-methods): Require user name and password from
22973 auth-source.
22974
22975 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22976
22977 * window.el (display-buffer-default-specifiers)
22978 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22979 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22980 (split-window): Normalize SIDE argument (Bug#8916).
22981
22982 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22983 (special-display-frame-alist, special-display-popup-frame):
22984 Remove duplicate declarations. These are now in window.el.
22985
22986 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22987
22988 * mail/smtpmail.el (smtpmail-via-smtp):
22989 Set :use-starttls-if-possible so that we always use STARTTLS if the
22990 server supports it. SMTP servers that support STARTTLS commonly
22991 require it.
22992
22993 * net/network-stream.el (network-stream-open-starttls): Support
22994 upgrading to STARTTLS always, even if we don't have built-in support.
22995 (open-network-stream): Add the :always-query-capabilities keyword.
22996
22997 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22998 upgrades with `open-network-stream', and rely solely on
22999 auth-source for all credentials. Big changes throughout the file,
23000 but in particular:
23001 (smtpmail-auth-credentials): Remove.
23002 (smtpmail-starttls-credentials): Remove.
23003 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23004 MAIL FROM, too.
23005
23006 * net/network-stream.el (network-stream-open-starttls):
23007 Provide support for client certificates both for external and built-in
23008 STARTTLS.
23009 (auth-source): Require.
23010 (open-network-stream): Document the :client-certificate keyword.
23011 (network-stream-certificate): Change cert-cert to cert and
23012 cert-key to key.
23013
23014 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23015
23016 * net/tramp-cache.el (top): Don't load the persistency file when
23017 "emacs -Q" has been called.
23018
23019 2011-06-21 Tim Harper <timcharper@gmail.com>
23020
23021 * term/ns-win.el (ns-initialize-window-system):
23022 Set application-specific `ApplePressAndHoldEnabled' system
23023 resource to NO as it is not yet supported by the NS port.
23024
23025 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23026
23027 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23028 (list-dynamic-libraries): ...not here.
23029
23030 2011-06-21 Leo Liu <sdl.web@gmail.com>
23031
23032 * subr.el (sha1): Implement sha1 using secure-hash.
23033
23034 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23035
23036 * window.el (display-buffer-alist): In default value do not
23037 enforce searching a window on any but the selected frame.
23038 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23039 (display-buffer-select-window): Remove function.
23040 (display-buffer-in-window): When a window on another frame gets
23041 reused, do not select it any more but just raise its frame if
23042 necessary (Bug#8851) and (Bug#8856).
23043 (display-buffer-normalize-options): Handle pop-up-frames related
23044 options more faithfully.
23045 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23046 window if it is on another frame.
23047 (display-buffer-alist, display-buffer-default-specifiers):
23048 Don't make new frame unsplittable by default.
23049 (display-buffer-normalize-argument): Fix doc-string typo and use
23050 'same-frame-other-window instead of 'other-window when associating
23051 with display-buffer-macro-specifiers.
23052
23053 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23054
23055 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23056 New functions.
23057 (5x5-mode-map, 5x5-mode-menu): Bind them.
23058 (5x5-draw-grid): Tweak the solver's rendering.
23059
23060 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23061
23062 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23063 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23064
23065 2011-06-21 Drew Adams <drew.adams@oracle.com>
23066
23067 * menu-bar.el: Use function variable instead of switch-to-buffer.
23068 (menu-bar-select-buffer-function): New variable.
23069 (menu-bar-update-buffers): Use it (bug#8876).
23070
23071 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23072
23073 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23074 variable's status.
23075
23076 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23077
23078 * x-dnd.el (x-dnd-version-from-flags)
23079 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23080 and long as number (Bug#8899).
23081 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23082
23083 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23084
23085 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23086 (completion-try-completion, completion-all-completions): Compute the
23087 metadata argument if it's missing; make it optional (bug#8795).
23088
23089 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23090 (widget-complete): Use new :completion-function property.
23091 (widget-completions-at-point): New function.
23092 (default): Use :completion-function instead of :complete.
23093 (widget-default-completions): Rename from widget-default-complete;
23094 Rewrite.
23095 (widget-string-complete, widget-file-complete, widget-color-complete):
23096 Remove functions.
23097 (file, symbol, function, variable, coding-system, color):
23098 * international/mule-cmds.el (default-input-method, charset)
23099 (language-info-custom-alist):
23100 * cus-edit.el (face): Use new property :completions.
23101
23102 * progmodes/pascal.el (pascal-completions-at-point): New function.
23103 (pascal-mode): Use it.
23104 (pascal-mode-map): Use completion-at-point.
23105 (pascal-toggle-completions): Make obsolete.
23106 (pascal-complete-word, pascal-show-completions):
23107 * progmodes/octave-mod.el (octave-complete-symbol):
23108 Redefine as obsolete alias.
23109 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23110 Signal absence of completion info for old Octave,
23111 (inferior-octave-complete): Redefine as obsolete alias.
23112 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23113 (meta-completions-at-point): Rename from meta-complete-symbol and
23114 adapt it for use on completion-at-point-functions.
23115 (meta-common-mode): Use it.
23116 (meta-looking-at-backward, meta-match-buffer): Remove.
23117 (meta-complete-symbol): Redefine as obsolete alias.
23118 (meta-common-mode-map): Use completion-at-point.
23119 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23120 (makefile-mode-map): Use completion-at-point.
23121 (makefile-completions-at-point): Rename from makefile-complete and
23122 adapt it for use on completion-at-point-functions.
23123 (makefile-mode): Use it.
23124 (makefile-complete): Redefine as obsolete alias.
23125
23126 2011-06-20 Deniz Dogan <deniz@dogan.se>
23127
23128 * net/rcirc.el: Delete trailing whitespaces once and for all.
23129
23130 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23131
23132 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23133
23134 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23135
23136 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23137
23138 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23139
23140 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23141
23142 * window.el (display-buffer-other-window-means-other-frame):
23143 Call display-buffer-normalize-alist.
23144 (display-buffer-normalize-specifiers-1): Rename to
23145 display-buffer-normalize-argument. New argument other-frame.
23146 Rewrite.
23147 (display-buffer-normalize-specifiers-2): Rename to
23148 display-buffer-normalize-options.
23149 (display-buffer-normalize-alist-1): New function.
23150 (display-buffer-normalize-specifiers-3): Rename to
23151 display-buffer-normalize-alist.
23152 Call display-buffer-normalize-alist-1.
23153 (display-buffer-normalize-options-inhibit): New variable.
23154 (display-buffer-normalize-specifiers): Rewrite calling
23155 display-buffer-normalize-alist,
23156 display-buffer-normalize-argument, and
23157 display-buffer-normalize-options. Don't call the latter if
23158 display-buffer-normalize-options-inhibit is non-nil.
23159 (frame-auto-delete): New option.
23160 (window-deletable-p): Use frame-auto-delete.
23161 (window-list-no-nils, window-state-ignored-parameters)
23162 (window-state-get-1, window-state-get, window-state-put-list)
23163 (window-state-put-1, window-state-put-2, window-state-put):
23164 New functions.
23165 (display-buffer-normalize-options): Move special-display-p group
23166 after pop-up-frame group (Bug#8851) and (Bug#8856).
23167
23168 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23169
23170 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23171 groups (Bug#8776).
23172 (rx-submatch-n): New function.
23173 (rx): Document it.
23174
23175 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23176 (Bug#8768).
23177
23178 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23179
23180 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23181
23182 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23183 anytime existing face settings are present (Bug#8889).
23184
23185 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23186 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23187 Remove unused argument.
23188
23189 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23190
23191 * window.el (display-buffer-default-specifiers):
23192 Remove pop-up-frame. Add pop-up-window-min-height,
23193 pop-up-window-min-width, and another reuse-window specifier
23194 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23195 (display-buffer-normalize-specifiers-2):
23196 Handle split-height-threshold and split-width-threshold also when
23197 pop-up-windows is unset. Add a reuse-window specifier for the
23198 case popping up a new window fails.
23199 (special-display-popup-frame): Remove double quoting.
23200 (display-buffer-normalize-specifiers-1): Fix thinko.
23201
23202 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23203
23204 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23205 according to comint-completion-addsuffix.
23206
23207 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23208 (pcomplete-suffix-list): Mark as obsolete.
23209 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23210 pcomplete-seen in the closure.
23211 (pcomplete-comint-setup): Setup completion-at-point as well.
23212 (pcomplete--entries): New function.
23213 (pcomplete--env-regexp): New var.
23214 (pcomplete-entries): Rewrite to work with partial-completion and
23215 without relying on pcomplete-suffix-list.
23216 (pcomplete-pare-list): Remove, unused.
23217
23218 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23219
23220 * window.el (display-buffer-alist): Set pop-up-window-min-height
23221 and pop-up-window-min-width in default value. Reported by
23222 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23223 other-window-means-other-frame.
23224 (display-buffer-macro-specifiers): Comment out entry for
23225 other-window specifier.
23226 (display-buffer-other-window-means-other-frame): New function.
23227 (display-buffer-normalize-specifiers-1): New arguments
23228 buffer-name and label. Treat other-window case specially.
23229 (display-buffer-normalize-specifiers-2): Treat other-window case
23230 specially.
23231 (display-buffer-normalize-specifiers-3): New function.
23232 (display-buffer-normalize-specifiers):
23233 Call display-buffer-normalize-specifiers-3.
23234
23235 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23236
23237 * window.el (same-window-p): Fix two typos introduced when
23238 adding with-no-warnings.
23239 (display-buffer-normalize-specifiers-1): Don't check
23240 pop-up-frames for 'unset initialization.
23241 (display-buffer-normalize-specifiers-2): Major rewrite using
23242 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23243 (pop-up-frames, display-buffer-reuse-frames)
23244 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23245 Suggested by David Engster <deng@randomsample.de>.
23246 (even-window-heights): Initialize to 'unset.
23247 (display-buffer-alist-set): Handle new 'unset initializations.
23248 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23249 other window case.
23250
23251 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23252
23253 * window.el (display-buffer-normalize-specifiers-1):
23254 Respect current value of pop-up-frames for most reasonable values of
23255 second argument of display-buffer (Bug#8865).
23256 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23257 (switch-to-buffer-other-window-same-frame)
23258 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23259 Adams (Bug#8875).
23260 (display-buffer): Don't check noninteractive when calling
23261 display-buffer-pop-up-frame.
23262 (display-buffer-pop-up-frame): Never pop up a frame in
23263 noninteractive mode (Bug#8857).
23264 (enlarge-window, shrink-window): Don't report an error when the
23265 window can't be resized as requested (Bug#8862).
23266
23267 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23268
23269 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23270
23271 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23272
23273 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23274
23275 2011-06-15 Alan Mackenzie <acm@muc.de>
23276
23277 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23278 for declarators, disable knr checking to speed up for normal files.
23279 2: Refactor, replacing a sequence of nested if forms by a cond form.
23280
23281 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23282
23283 * net/network-stream.el (open-network-stream): Add the keyword
23284 :always-query-capabilities for the case where you want to force a
23285 `plain' network connection, but the protocol still requires the
23286 capabilitiy command (i.e., SMTP and EHLO).
23287
23288 * subr.el (process-live-p): Rename from `process-alive-p' for
23289 consistency with other `-live-p' functions.
23290
23291 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23292
23293 * window.el (same-window-buffer-names, same-window-regexps)
23294 (special-display-frame-alist, special-display-popup-frame)
23295 (special-display-function, special-display-buffer-names)
23296 (special-display-regexps, pop-up-frame-alist)
23297 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23298 (pop-up-windows, split-window-preferred-function)
23299 (split-height-threshold, split-width-threshold, even-window-heights)
23300 (display-buffer-mark-dedicated): Don't encourage the use of
23301 display-buffer-alist from Elisp code.
23302
23303 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23304
23305 * progmodes/python.el (python-mode): Derive from prog-mode.
23306 * progmodes/ps-mode.el (ps-mode):
23307 * progmodes/mixal-mode.el (mixal-mode):
23308 * progmodes/cfengine.el (cfengine-mode):
23309 * progmodes/ld-script.el (ld-script-mode): Likewise.
23310
23311 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23312
23313 * window.el (display-buffer-alist): Trim default value to avoid
23314 popping up a new frame (Bug#8857) or reusing an arbitrary window
23315 on another frame.
23316 (display-buffer): Do not fall back on popping up a new frame in
23317 batch mode (Bug#8857).
23318
23319 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23320
23321 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23322 (custom-theme-summary): New function.
23323 (customize-themes): Use it.
23324
23325 2011-06-13 Glenn Morris <rgm@gnu.org>
23326
23327 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23328
23329 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23330
23331 * help.el (help-window): Remove variable.
23332 (help-window-point-marker, temp-buffer-max-height)
23333 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23334 (help-print-return-message): Don't set help-window.
23335 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23336 (help-window-setup-finish): Remove.
23337 (help-window-display-message, help-window-setup)
23338 (with-help-window): Major rewrite based on new
23339 display-buffer-window variable.
23340
23341 * help-mode.el (help-mode-finish): Remove help-window related
23342 code.
23343
23344 * view.el (view-exits-all-viewing-windows): Remove reference to
23345 view-return-to-alist in doc-string.
23346 (view-return-to-alist): Make obsolete.
23347 (view-buffer): Call pop-to-buffer-same-window and remove
23348 undo-window code.
23349 (view-buffer-other-window): Call pop-to-buffer-other-window and
23350 simplify code. Ignore second argument.
23351 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23352 simplify code. Ignore second argument.
23353 (view-return-to-alist-update): Make obsolete.
23354 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23355 Rewrite using quit-restore window parameters.
23356 (view-mode-exit): Rename second argument to EXIT-ONLY.
23357 Rewrite using quit-restore-window.
23358 (View-exit, View-exit-and-edit, View-leave, View-quit)
23359 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23360 appropriate arguments.
23361 (view-end-message): Use quit-restore window parameter.
23362
23363 * window.el (display-buffer-function): Rewrite doc-string.
23364 (display-buffer-window, display-buffer-alist): New variables.
23365 (display-buffer-split-specifiers)
23366 (display-buffer-side-specifiers)
23367 (display-buffer-macro-specifiers): New constants.
23368 (display-buffer-even-window-sizes, display-buffer-set-height)
23369 (display-buffer-set-width, display-buffer-select-window)
23370 (display-buffer-in-window, display-buffer-reuse-window)
23371 (display-buffer-split-window-1, display-buffer-split-window)
23372 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23373 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23374 (display-buffer-in-side-window, normalize-buffer-to-display)
23375 (display-buffer-normalize-specifiers-1)
23376 (display-buffer-normalize-specifiers-2)
23377 (display-buffer-normalize-specifiers, display-buffer-frame):
23378 New functions.
23379 (display-buffer): Major rewrite.
23380 (display-buffer-other-window, display-buffer-other-frame)
23381 (pop-to-buffer, switch-to-buffer-other-window)
23382 (switch-to-buffer-other-frame): Rewrite.
23383 (display-buffer-same-window, display-buffer-same-frame)
23384 (display-buffer-same-frame-other-window)
23385 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23386 (pop-to-buffer-other-window)
23387 (pop-to-buffer-same-frame-other-window)
23388 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23389 (switch-to-buffer-other-window-same-frame): New functions.
23390 (same-window-p, special-display-p): Rewrite disabling warnings.
23391 Make obsolete.
23392 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23393 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23394 Make obsolete
23395 (same-window-buffer-names, same-window-regexps)
23396 (special-display-frame-alist, special-display-popup-frame)
23397 (special-display-function, special-display-buffer-names)
23398 (special-display-regexps, pop-up-frame-alist)
23399 (pop-up-frame-function, split-window-preferred-function)
23400 (split-height-threshold, split-width-threshold)
23401 (even-window-heights): Make obsolete.
23402
23403 2011-06-12 Glenn Morris <rgm@gnu.org>
23404
23405 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23406 Misc simplifications.
23407
23408 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23409
23410 * window.el (window-safely-shrinkable-p): Restore function which
23411 was inadvertently removed in change from 2011-06-11. Declare as
23412 obsolete.
23413
23414 * calendar/calendar.el (calendar-generate-window):
23415 Use window-iso-combined-p instead of combination of one-window-p and
23416 window-safely-shrinkable-p.
23417
23418 2011-06-12 Glenn Morris <rgm@gnu.org>
23419
23420 * progmodes/fortran.el (fortran-mode-syntax-table):
23421 * progmodes/f90.el (f90-mode-syntax-table):
23422 Set % to punctuation. (Bug#8820)
23423 (f90-find-tag-default): Remove, no longer needed.
23424
23425 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23426
23427 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23428
23429 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23430
23431 * image.el (image-animated-p): Return animation delay in seconds.
23432 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23433 (image-animate-timeout): Remove DELAY argument. Don't assume
23434 every subimage has the same delay; get it from image-animated-p.
23435 (image-animate): Caller changed.
23436
23437 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23438
23439 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23440 to ignored backtrace functions.
23441
23442 2011-06-11 Glenn Morris <rgm@gnu.org>
23443
23444 * calendar/appt.el (appt-disp-window-function): Doc fix.
23445 (appt-check): Handle overlapping appointments. (Bug#8337)
23446
23447 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23448
23449 * window.el (window-tree-1, window-tree): New functions, moving
23450 the latter to window.el.
23451 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23452 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23453 (bw-refresh-edges): Remove.
23454 (balance-windows-1, balance-windows-2): New functions.
23455 (balance-windows): Rewrite in terms of window tree functions,
23456 balance-windows-1 and balance-windows-2.
23457 (bw-adjust-window): Remove.
23458 (balance-windows-area-adjust): New function with functionality of
23459 bw-adjust-window but using resize-window.
23460 (set-window-text-height): Rewrite doc-string.
23461 Use normalize-live-window and resize-window.
23462 (enlarge-window-horizontally, shrink-window-horizontally):
23463 Rename argument to DELTA.
23464 (window-buffer-height): New function.
23465 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23466 Rewrite using new window resize routines.
23467 (kill-buffer-and-window, mouse-autoselect-window-select):
23468 Use ignore-errors instead of condition-case.
23469 (quit-window): Call delete-frame instead of delete-windows-on
23470 for the only buffer on frame.
23471
23472 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23473
23474 * loadup.el (top-level): Load window before files for the sake
23475 of replace-buffer-in-windows.
23476
23477 * files.el (read-buffer-to-switch)
23478 (switch-to-buffer-other-window)
23479 (switch-to-buffer-other-frame, display-buffer-other-frame):
23480 Move to window.el.
23481
23482 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23483 (previous-buffer): Move to window.el.
23484
23485 * bindings.el (unbury-buffer): Move to window.el.
23486
23487 * window.el (delete-other-windows-vertically): Move after
23488 definition of delete-other-windows.
23489 (other-window, delete-windows-on, replace-buffer-in-windows):
23490 Move here from window.c.
23491 (record-window-buffer, unrecord-window-buffer)
23492 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23493 (switch-to-next-buffer): New functions.
23494 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23495 from simple.el. Call switch-to-next-buffer.
23496 (previous-buffer): Move here from simple.el.
23497 Call switch-to-prev-buffer.
23498 (bury-buffer): Move here from buffer.c. Switch to previous
23499 buffer when window cannot be deleted.
23500 (unbury-buffer): Move here from bindings.el.
23501 (ctl-x-map): Move binding for other-window from window.c to
23502 here.
23503 (read-buffer-to-switch, switch-to-buffer-other-window)
23504 (switch-to-buffer-other-frame): Move here from files.el.
23505 (normalize-buffer-to-switch-to): New functions.
23506 (switch-to-buffer): Move here from buffer.c.
23507 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23508
23509 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23510
23511 * window.el (window-min-height, window-min-width): Move here
23512 from window.c. Add defcustoms and rewrite doc-strings.
23513 (resize-mini-window, resize-window): New functions.
23514 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23515 Move here from window.c.
23516 (maximize-window, minimize-window): New functions.
23517 (delete-window, delete-other-windows, split-window): Move here
23518 from window.c.
23519 (window-split-min-size): New function.
23520 (split-window-keep-point): Mention split-window-above-each-other
23521 instead of split-window-vertically.
23522 (split-window-above-each-other, split-window-vertically):
23523 Rename split-window-vertically to split-window-above-each-other
23524 and provide defalias for old definition.
23525 (split-window-side-by-side, split-window-horizontally):
23526 Rename split-window-horizontally to split-window-side-by-side
23527 and provide defalias for the old definition.
23528 (ctl-x-map): Move bindings for delete-window,
23529 delete-other-windows and enlarge-window here from window.c.
23530 Replace bindings for split-window-vertically and
23531 split-window-horizontally by bindings for
23532 split-window-above-each-other and split-window-side-by-side.
23533
23534 * cus-start.el (all): Remove entries for window-min-height and
23535 window-min-width. Add entries for window-splits and
23536 window-nest.
23537
23538 2011-06-09 Glenn Morris <rgm@gnu.org>
23539
23540 * calendar/appt.el (appt-mode-line): New function.
23541 (appt-check, appt-disp-window): Use it.
23542
23543 * files.el (hack-one-local-variable-eval-safep):
23544 Allow minor-modes with explicit +/-1 arguments.
23545
23546 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23547
23548 * term/xterm.el (xterm): Add defgroup.
23549 (xterm-extra-capabilities): Add defcustom to supply known xterm
23550 capabilities, skip querying them, or query them (default).
23551 (terminal-init-xterm): Use it.
23552 (terminal-init-xterm-modify-other-keys): New function to set up
23553 modifyOtherKeys support to simplify `terminal-init-xterm'.
23554
23555 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23556
23557 * window.el (resize-window-reset, resize-window-reset-1)
23558 (resize-subwindows-skip-p, resize-subwindows-normal)
23559 (resize-subwindows, resize-other-windows, resize-this-window)
23560 (resize-root-window, resize-root-window-vertically)
23561 (window-deletable-p, window-or-subwindow-p)
23562 (frame-root-window-p): New functions.
23563
23564 2011-06-09 Glenn Morris <rgm@gnu.org>
23565
23566 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23567 (ange-ftp-get-files): Use it.
23568
23569 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23570
23571 * mail/sendmail.el (mail-recover-1, mail-recover):
23572 * files.el (recover-file, recover-session):
23573 Handle dired-listing-switches not being just a single short option.
23574
23575 2011-06-09 Glenn Morris <rgm@gnu.org>
23576
23577 * calendar/appt.el (appt-display-message, appt-disp-window):
23578 Handle lists of appointments.
23579
23580 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23581
23582 * window.el (one-window-p): Move down in code.
23583 Rewrite doc-string.
23584 (window-current-scroll-bars): Rewrite doc-string.
23585 Normalize live window argument.
23586 (walk-windows, get-window-with-predicate, count-windows):
23587 Rewrite doc-string. Use window-list-1.
23588 (window-in-direction-2, window-in-direction, get-mru-window):
23589 New functions.
23590
23591 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23592
23593 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23594 Doc fix (Bug#8713).
23595
23596 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23597
23598 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23599
23600 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23601
23602 * loadhist.el (unload-feature-special-hooks):
23603 Add `comint-output-filter-functions'.
23604
23605 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23606
23607 * calendar/appt.el (appt-check): Move some initializations into the let.
23608
23609 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23610
23611 * window.el (window-height): Defalias to window-total-height.
23612 (window-width): Defalias to window-body-width.
23613
23614 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23615
23616 * image-mode.el (image-toggle-animation): New command.
23617 (image-mode-map): Bind it to RET.
23618 (image-mode): Update message.
23619 (image-toggle-display-image): Avoid a spurious cache flush.
23620 (image-transform-rotation): Doc fix.
23621 (image-transform-properties): Return quickly in the normal case.
23622 (image-animate-loop): Rename from image-animate-max-time.
23623
23624 * image.el (image-animate-max-time): Move to image-mode.el.
23625 (create-animated-image): Remove unnecessary function.
23626 (image-animate): Rename from image-animate-start. New arg.
23627 (image-animate-stop): Remove; just use image-animate-timer.
23628 (image-animate-timer): Use car-safe.
23629 (image-animate-timeout): Rename argument.
23630
23631 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23632
23633 * window.el (get-lru-window, get-largest-window): Move here from
23634 window.c. Rename first argument to ALL-FRAMES.
23635 Rephrase doc-strings.
23636 (get-buffer-window-list): Rewrite using window-list-1.
23637 Rephrase doc-string.
23638 (window-safe-min-height, window-safe-min-width): New constants.
23639 (window-size-ignore, window-min-size, window-min-size-1)
23640 (window-sizable, window-sizable-p, window-size-fixed-1)
23641 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23642 (window-max-delta-1, window-max-delta, window-resizable)
23643 (window-resizable-p, window-total-height, window-total-width)
23644 (window-body-width): New functions.
23645 (window-full-height-p, window-full-width-p): Rewrite using
23646 window-total-size.
23647 (window-body-height): Rewrite using window-body-size.
23648
23649 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23650
23651 * window.el (window-right, window-left, window-child)
23652 (window-child-count, window-last-child, window-any-p)
23653 (normalize-live-buffer, normalize-live-frame)
23654 (normalize-any-window, normalize-live-window)
23655 (window-iso-combination-p, window-iso-combined-p)
23656 (window-iso-combinations)
23657 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23658 (windows-with-parameter, window-with-parameter)
23659 (window-atom-root, make-window-atom, window-atom-check-1)
23660 (window-atom-check, window-side-check, window-check):
23661 New functions.
23662 (ignore-window-parameters, window-sides, window-sides-vertical)
23663 (window-sides-slots): New variables.
23664 (window-size-fixed): Move down in code. Minor doc-string fix.
23665
23666 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23667
23668 * comint.el (comint-dynamic-complete-as-filename)
23669 (comint-dynamic-complete-filename): Correctly call
23670 completion-in-region.
23671
23672 2011-06-05 Deniz Dogan <deniz@dogan.se>
23673
23674 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23675 in last change.
23676
23677 2011-06-05 Deniz Dogan <deniz@dogan.se>
23678
23679 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23680 (rcirc): Use it to prompt for encryption.
23681
23682 2011-06-05 Roland Winkler <winkler@gnu.org>
23683
23684 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23685 (bibtex-search-entries): New command bound to C-c C-a.
23686 (bibtex-display-entries): New function.
23687
23688 2011-06-05 Roland Winkler <winkler@gnu.org>
23689
23690 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23691 (bibtex-insert-kill): After yanking insert newline if necessary.
23692 (bibtex-initialize): Call bibtex-string-files-init only once.
23693 (bibtex-mode): Do not call easy-menu-add.
23694 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23695 (bibtex-yank): Set arg properly if nil.
23696
23697 2011-06-05 Roland Winkler <winkler@gnu.org>
23698
23699 * textmodes/bibtex.el (bibtex-search-entry-globally):
23700 New variable.
23701 (bibtex-search-entry): Use it.
23702
23703 2011-06-05 Roland Winkler <winkler@gnu.org>
23704
23705 * textmodes/bibtex.el (bibtex-entry-format): New option
23706 sort-fields.
23707 (bibtex-format-entry, bibtex-reformat): Honor this option.
23708 (bibtex-parse-entry): Return fields in proper order.
23709
23710 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23711
23712 * doc-view.el (doc-view-remove-if): Move computation of result out
23713 of `dolist' to silence misleading lexical-binding warning.
23714
23715 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23716
23717 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23718 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23719
23720 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23721
23722 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23723 "SunOS 5.10".
23724
23725 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23726
23727 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23728 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23729 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23730 (tramp-parse-putty):
23731 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23732 (tramp-completion-function-alist-ssh)
23733 (tramp-completion-function-alist-telnet)
23734 (tramp-completion-function-alist-su)
23735 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23736 cookie.
23737
23738 * net/tramp-ftp.el:
23739 * net/tramp-sh.el:
23740 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23741 load "tramp.el" `tramp-set-completion-function'.
23742
23743 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23744
23745 * shell.el: Require and use pcomplete.
23746 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23747 (shell-completion-vars): Set pcomplete-default-completion-function.
23748
23749 2011-06-04 Deniz Dogan <deniz@dogan.se>
23750
23751 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23752 `memq' (Bug#8799).
23753
23754 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23755
23756 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23757
23758 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23759
23760 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23761 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23762 * vc/log-view.el (log-view-beginning-of-defun):
23763 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23764 (smerge-refine-forward, smerge-refine-chopup-region):
23765 Silence warning for unused `dotimes' counter variables.
23766
23767 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23768
23769 * net/tramp.el (tramp-with-progress-reporter): Rename from
23770 with-progress-reporter. Use `declare'.
23771 * net/tramp-smb.el:
23772 * net/tramp-sh.el:
23773 * net/tramp-gvfs.el: Update all uses.
23774
23775 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23776
23777 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23778 buffer isn't killed before making it current.
23779
23780 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23781
23782 Silence various byte-compiler warnings.
23783 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23784 `access-type' and new obsolescence format.
23785 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23786 new format.
23787 (byte-compile-check-variable): New `access-type' argument.
23788 Only warn if the access-type is obsolete.
23789 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23790 (byte-compile-variable-set): Adjust callers.
23791 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23792 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23793 setting it as obsolete.
23794 * simple.el (minibuffer-completing-symbol):
23795 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23796 access as obsolete.
23797 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23798 obsolete yet.
23799 * international/quail.el (quail-mouse-choose-completion): Remove unused
23800 code referring to obsolete var.
23801 (quail-choose-completion-string): Remove.
23802 * server.el (server-clients-with, server-kill-buffer-query-function)
23803 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23804 * proced.el (proced-send-signal):
23805 * emacs-lisp/lisp.el (lisp-complete-symbol):
23806 Replace completion-annotate-function with completion-extra-properties.
23807
23808 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23809
23810 * simple.el (goto-line): Use read-number.
23811 (overriding-map-is-bound): Remove.
23812 (saved-overriding-map): Change default.
23813 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23814 Take the map as argument.
23815 (universal-argument, negative-argument, digit-argument): Use it.
23816 (restore-overriding-map): Adjust.
23817 (do-auto-fill): Use fill-forward-paragraph.
23818 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23819
23820 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23821 (minibuffer-inactive-mode): New major mode.
23822 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23823 the *Messages* buffer" hack.
23824 (mouse-popup-menubar): Don't burp if the event is a normal key.
23825
23826 Miscellaneous tweaks.
23827 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23828 lexical scoping as in subr.el's dolist and dotimes.
23829 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23830 Silence compiler warning.
23831 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23832 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23833 * international/ccl.el (ccl-compile): Trivial simplification.
23834 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23835 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23836 `printflag' argument.
23837 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23838 Purecopy the whole obsolescence data.
23839
23840 2011-06-01 Leo Liu <sdl.web@gmail.com>
23841
23842 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23843 improve doc-string as suggested by Marco Pessotto
23844 <melmothx@gmail.com>.
23845 (rcirc-print): Fix last change.
23846
23847 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23848
23849 * minibuffer.el (complete-with-action): Return nil for the metadata and
23850 boundaries of non-functional tables.
23851 (completion-table-dynamic): Return nil for the metadata.
23852 (completion-table-with-terminator): Add default case, using
23853 complete-with-action.
23854 (completion--metadata): New function.
23855 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23856 to try and avoid pathological performance problems.
23857 (completion--embedded-envvar-table): Return `category' metadata.
23858
23859 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23860
23861 * subr.el (process-alive-p): New tiny convenience function.
23862
23863 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23864
23865 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23866 content but also its previous major mode.
23867
23868 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23869
23870 * emacs-lisp/debug.el (debug): Restore the previous content of the
23871 *Backtrace* buffer when we exit with C-M-c.
23872
23873 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23874
23875 * minibuffer.el: Add metadata method to completion tables.
23876 (completion-category-overrides): New defcustom.
23877 (completion-metadata, completion--field-metadata)
23878 (completion-metadata-get, completion--styles)
23879 (completion--cycle-threshold): New functions.
23880 (completion-try-completion, completion-all-completions):
23881 Add `metadata' argument to choose completion-styles.
23882 (completion--do-completion): Use metadata to choose cycling.
23883 (completion-all-sorted-completions): Use metadata for sorting.
23884 Remove :completion-cycle-penalty which is not needed any more.
23885 (completion--try-word-completion): Add `metadata' argument.
23886 (minibuffer-completion-help): Check metadata for annotation function
23887 and sorting.
23888 (completion-file-name-table): Return `category' metadata.
23889 (minibuffer-completing-file-name): Make obsolete.
23890 * simple.el (minibuffer-completing-symbol): Make obsolete.
23891 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23892 completion-try-completion.
23893
23894 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23895
23896 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23897
23898 2011-05-30 Leo Liu <sdl.web@gmail.com>
23899
23900 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23901 (rcirc-print): Decode all incoming messages (bug#8744).
23902 (rcirc-decode-coding-system): Allow value nil for automatic coding
23903 system detection.
23904
23905 2011-06-01 Glenn Morris <rgm@gnu.org>
23906
23907 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23908
23909 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23910
23911 * image.el (image-animate-max-time): Allow nil and t values.
23912 Default to nil.
23913 (create-animated-image): Doc fix.
23914 (image-animate-start): Remove second arg; just use
23915 image-animate-max-time.
23916 (image-animate-timeout): Doc fix. Args changed.
23917
23918 * image-mode.el (image-toggle-display-image): Ensure that the
23919 image spec passed to the animate timer is the same object as in
23920 the buffer's display property (Bug#6981).
23921 (image-transform-properties): Doc fix.
23922
23923 * image.el (image-animate-max-time): Default to nil.
23924
23925 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23926
23927 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23928 entire buffer list (Bug#8184).
23929
23930 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23931
23932 * image.el (imagemagick-types-inhibit)
23933 (imagemagick-register-types): Doc fix.
23934
23935 2011-05-29 Deniz Dogan <deniz@dogan.se>
23936
23937 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23938 default.
23939
23940 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23941
23942 * select.el: Don't perform clipboard-manager saving in hooks;
23943 leave the hooks empty.
23944
23945 2011-05-28 Leo Liu <sdl.web@gmail.com>
23946
23947 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23948 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23949 (occur-edit-mode): New major mode (Bug#8463).
23950 (occur-after-change-function): New function.
23951 (occur-engine): Give Occur tags a read-only property.
23952
23953 2011-05-28 Kevin Ryde <user42@zip.com.au>
23954
23955 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23956
23957 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23958
23959 * bindings.el (help-echo): Make the initial non-indicator dash
23960 empty on graphical terminals (Bug#7295).
23961
23962 * files.el (auto-mode-alist): Move config rule after the
23963 in-stripping one (Bug#8547).
23964
23965 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23966
23967 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23968 setting (Bug#8740).
23969
23970 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23971
23972 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23973 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23974 (Bug#8539).
23975
23976 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23977
23978 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23979
23980 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23981
23982 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23983 (hs-hide-block-at-point, hs-find-block-beginning)
23984 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23985 (Bug#8279).
23986
23987 2011-05-28 Glenn Morris <rgm@gnu.org>
23988
23989 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23990
23991 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23992
23993 * help-fns.el (describe-function-1): If the function is a derived
23994 major mode, print the parent mode.
23995
23996 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23997 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23998
23999 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24000
24001 * minibuffer.el (completion--capf-wrapper): Check applicability before
24002 returning non-nil for non-exclusive completion data.
24003 * progmodes/etags.el (tags-completion-at-point-function):
24004 * info-look.el (info-lookup-completions-at-point): Mark as
24005 non-exclusive.
24006 (info-complete): Adjust accordingly.
24007
24008 * info-look.el: Convert to lexical-binding and completion-at-point.
24009 (info-lookup-completions-at-point): New function.
24010 (info-complete): Use it and completion-in-region.
24011
24012 2011-05-28 Drew Adams <drew.adams@oracle.com>
24013
24014 * isearch.el: Let M-e start with point at the first mismatched char.
24015 (isearch-fail-pos): New function.
24016 (isearch-edit-string): Use it.
24017
24018 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24019
24020 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24021
24022 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24023
24024 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24025 traversal functions for avl-trees.
24026 (avl-tree--stack): New struct.
24027 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24028 (avl-tree-enter): Add optional `updatefun' arg.
24029 (avl-tree--do-enter): Add optional `updatefun' arg.
24030 Change return value.
24031 (avl-tree-delete): Add optional `test' and `nilflag' args.
24032 (avl-tree--do-delete): Add `test' and `nilflag' args.
24033 Change return value.
24034 (avl-tree-member): Add optional `nilflag'
24035 (avl-tree-member-p): New function.
24036 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24037 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24038 (avl-tree-stack-empty-p): New functions.
24039
24040 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24041 avl-tree--del-balance1 and make it work both ways.
24042 (avl-tree--del-balance2): Remove.
24043 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24044 make it work both ways.
24045 (avl-tree--enter-balance2): Remove.
24046 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24047 New macros.
24048 (avl-tree--mapc, avl-tree-map): Add direction argument.
24049
24050 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24051
24052 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24053
24054 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24055
24056 * select.el: Support clipboard managers with built-in function
24057 x-clipboard-manager-save, via delete-frame-functions and
24058 kill-emacs-hook.
24059 (xselect-convert-to-targets): Add MULTIPLE target to list.
24060 (xselect-convert-to-save-targets): New function.
24061
24062 2011-05-27 Kenichi Handa <handa@m17n.org>
24063
24064 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24065 let-binding rfc2047-encode-encoded-words to nil.
24066
24067 2011-05-27 Glenn Morris <rgm@gnu.org>
24068
24069 * mail/emacsbug.el: Don't require url-util.
24070
24071 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24072
24073 * files.el (set-auto-mode):
24074 Also respect mode: entries at the end of the file. (Bug#8586)
24075
24076 2011-05-26 Glenn Morris <rgm@gnu.org>
24077
24078 * files.el (hack-local-variables-prop-line, hack-local-variables):
24079 Downcase mode names, as seems to be traditional.
24080 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24081
24082 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24083 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24084
24085 2011-05-25 Julien Danjou <julien@danjou.info>
24086
24087 * textmodes/rst.el (rst-define-level-faces): Do not define face
24088 symbol if it is already defined.
24089
24090 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24091
24092 * play/5x5.el (5x5-new-game, 5x5-randomize):
24093 Reset 5x5-solver-output to nil when a new grid is cast.
24094 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24095 these debugging traces, as defmacro breaks the compiled code.
24096
24097 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24098
24099 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24100
24101 2011-05-24 Leo Liu <sdl.web@gmail.com>
24102
24103 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24104 (vc-bzr-sha1): Adapt.
24105
24106 * sha1.el: Remove. Function `sha1' is now builtin.
24107
24108 * bindings.el: Provide sha1 feature.
24109
24110 2011-05-24 Kenichi Handa <handa@m17n.org>
24111
24112 * mail/sendmail.el: Require `rfc2047'.
24113 (mail-insert-from-field): Do not perform RFC2047 encoding.
24114 (mail-encode-header): New function.
24115 (sendmail-send-it): Set buffer-file-coding-system of the work
24116 buffer to the return value of select-message-coding-system.
24117 Call mail-encode-header.
24118
24119 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24120
24121 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24122
24123 * mail/supercite.el (sc-default-cite-frame):
24124 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24125
24126 2011-05-24 Glenn Morris <rgm@gnu.org>
24127
24128 * progmodes/python.el (brm-menu): Declare.
24129
24130 * emulation/viper.el (viper-set-hooks): Declare.
24131
24132 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24133 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24134 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24135 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24136 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24137 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24138
24139 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24140
24141 Add an :exit-function for completion-at-point.
24142
24143 * minibuffer.el (completion--done): New fun.
24144 (completion--do-completion): Use it. New arg `expect-exact'.
24145 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24146 since completion--do-completion does it for us now.
24147 (minibuffer-force-complete): Use completion--done and
24148 completion--replace. Handle sole-completion case with more care.
24149 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24150 (completion-extra-properties): New var.
24151 (completion-annotate-function): Make obsolete.
24152 (minibuffer-completion-help): Adjust accordingly.
24153 Use completion-list-insert-choice-function.
24154 (completion-at-point, completion-help-at-point):
24155 Bind completion-extra-properties.
24156 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24157 * simple.el (completion-list-insert-choice-function): New var.
24158 (completion-setup-function): Preserve it.
24159 (choose-completion): Pay attention to it, shuffle the code a bit.
24160 (choose-completion-string): New arg `insert-function'.
24161
24162 * textmodes/bibtex.el: Convert to lexical binding.
24163 (bibtex-mode-map): Use completion-at-point.
24164 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24165 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24166 (bibtex-complete): Define as obsolete alias.
24167 (bibtex-complete-internal): Remove.
24168 (bibtex-format-entry): Remove unused sub-group in regexp.
24169 * shell.el (shell--command-completion-data)
24170 (shell-environment-variable-completion):
24171 * pcomplete.el (pcomplete-completions-at-point):
24172 * comint.el (comint--complete-file-name-data): Use :exit-function
24173 instead of completion-table-with-terminator so it also works for
24174 choose-completion.
24175
24176 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24177
24178 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24179
24180 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24181 (bug#8710).
24182
24183 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24184
24185 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24186
24187 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24188 customization variable and implement: If non-nil, auto-fill will
24189 be inhibited while on topic's header line.
24190
24191 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24192
24193 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24194 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24195 always have a solution in grid size = 5 cases.
24196 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24197 (5x5-solver-output, 5x5-log-buffer): New vars.
24198 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24199 Make these variables buffer local to achieve 5x5 multi-session-ness.
24200 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24201 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24202 (5x5-solve-suggest): New funs.
24203 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24204 randomize a grid so that we ensure that there is always a solution.
24205 (5x5-make-random-grid): Allow other movement than flipping.
24206
24207 2011-05-23 Kevin Ryde <user42@zip.com.au>
24208
24209 * emacs-lisp/advice.el (ad-read-advised-function):
24210 Use `function-called-at-point' as the default, if it has
24211 advice and passes PREDICATE.
24212
24213 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24214
24215 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24216 byte-compile-lambda if it's actually a lambda.
24217
24218 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24219 Fix function quoting. Use backquote better.
24220
24221 2011-05-22 Yuanle Song <sylecn@gmail.com>
24222
24223 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24224 matching (Bug#8516).
24225
24226 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24227
24228 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24229 different face (Bug#8178).
24230
24231 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24232
24233 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24234 defface (Bug#8144).
24235
24236 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24237
24238 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24239 funcall as well (bug#8712). Warn when performing those conversions.
24240 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24241
24242 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24243
24244 2011-05-22 Glenn Morris <rgm@gnu.org>
24245
24246 * files.el (hack-local-variables-prop-line): Small simplifications.
24247 (hack-local-variables, hack-local-variables-prop-line):
24248 If MODE-ONLY, return the mode, rather than just `t'.
24249
24250 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24251
24252 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24253
24254 2011-05-21 Glenn Morris <rgm@gnu.org>
24255
24256 * files.el (hack-local-variables-prop-line, hack-local-variables):
24257 If only interested in the mode, don't bother doing the other stuff.
24258
24259 * image-mode.el (image-after-revert-hook):
24260 Redraw all frames on which the image is visible. (Bug#8567)
24261
24262 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24263
24264 * wid-edit.el (widget-checklist-match-inline):
24265 Fix 2011-04-19 change. (Bug#8649)
24266
24267 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24268
24269 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24270 Also allow singlespace after single-letter capitals followed by a dot.
24271
24272 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24273 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24274
24275 2011-05-20 Nix <nix@esperi.org.uk>
24276
24277 * files.el (basic-save-buffer-2):
24278 Fix handling of break-hardlink-on-save with non-existent files.
24279
24280 2011-05-19 Deniz Dogan <deniz@dogan.se>
24281
24282 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24283 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24284
24285 2011-05-19 Glenn Morris <rgm@gnu.org>
24286
24287 * progmodes/f90.el (f90-type-def-re):
24288 Handle "type, bind(c)". (Bug#8691)
24289
24290 * emacs-lisp/autoload.el (batch-update-autoloads):
24291 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24292
24293 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24294
24295 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24296 property for the correct connection in case of multihops.
24297
24298 2011-05-18 Glenn Morris <rgm@gnu.org>
24299
24300 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24301 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24302
24303 Rationalize calendar handling of day and month abbrev-arrays.
24304 * calendar/calendar.el (calendar-customized-p): New function.
24305 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24306 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24307 Add :set function.
24308 (calendar-abbrev-length, calendar-day-abbrev-array)
24309 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24310 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24311 Elements may no longer be nil.
24312 (calendar-day-name, calendar-month-name):
24313 Update for changed nature of abbrev arrays.
24314 * calendar/diary-lib.el (diary-name-pattern):
24315 Update for changed nature of abbrev arrays.
24316 (diary-mark-entries-1): Update calendar-make-alist calls.
24317 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24318 * calendar/cal-html.el (cal-html-day-abbrev-array):
24319 Simply inherit from calendar-day-abbrev-array.
24320
24321 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24322
24323 * progmodes/grep.el (grep-mode): Disable default
24324 compilation-directory-matcher setting (bug#8684).
24325
24326 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24327
24328 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24329 instead of "head" and "tail". There were problems with SunOS 5.9,
24330 and it performs better.
24331
24332 2011-05-17 Glenn Morris <rgm@gnu.org>
24333
24334 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24335
24336 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24337 Replace obsolete function.
24338
24339 * shell.el (pcomplete-parse-arguments-function): Declare.
24340
24341 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24342 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24343 (appt-check): Doc fixes.
24344 (appt-disp-window-function, appt-delete-window-function):
24345 Remove needless special case in custom :type.
24346 (appt-display-count): Default to 0, not nil.
24347 (appt-check): Reset appt-display-count to 0, not nil.
24348
24349 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24350
24351 * progmodes/python.el (python-font-lock-keywords):
24352 Add the Python 3.X keyword "nonlocal" (bug#8639).
24353
24354 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24355
24356 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24357
24358 2011-05-16 Kevin Ryde <user42@zip.com.au>
24359
24360 * info-look.el (makefile-automake-mode): New setups, looking in
24361 automake manual, then makefile-mode.
24362 (makefile-mode): Remove automake manual, have it just in
24363 makefile-automake-mode since there's various things different or
24364 not relevant to plain make.
24365 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24366 believe a hypothetical automake-mode would go to makefile-mode,
24367 not the other way around.
24368
24369 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24370
24371 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24372 hunk-end tags (Bug#8672).
24373
24374 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24375 vc-annotate-show-diff-revision-at-line (Bug#8671).
24376
24377 2011-05-14 Glenn Morris <rgm@gnu.org>
24378
24379 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24380 in the middle of an existing one with multiple authors. (Bug#8645)
24381 (change-log-font-lock-keywords): Also handle multiple author lines
24382 with leading tabs. (Bug#8644)
24383
24384 * calendar/appt.el (appt-check): Rename some local variables.
24385 Some simplification/reordering.
24386
24387 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24388 (feedmail-sendmail-f-doesnt-sell-me-out)
24389 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24390 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24391 (feedmail-queue-runner-message-sender): Set :version.
24392 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24393 (bbdb-dwim-net-address, vm-mail): Declare.
24394 (feedmail-binmail-gnulinuxish-template):
24395 Rename from feedmail-binmail-linuxish-template.
24396 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24397 Use insert-buffer-substring.
24398
24399 2011-05-14 Bill Carpenter <bill@carpenter.org>
24400
24401 * mail/feedmail.el (feedmail-patch-level): Increase.
24402 (feedmail-debug): New custom group.
24403 (feedmail-confirm-outgoing-timeout)
24404 (feedmail-sendmail-f-doesnt-sell-me-out)
24405 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24406 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24407 (feedmail-sender-line, feedmail-from-line)
24408 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24409 (feedmail-spray-this-address)
24410 (feedmail-spray-address-fiddle-plex-list)
24411 (feedmail-queue-use-send-time-for-date)
24412 (feedmail-queue-use-send-time-for-message-id)
24413 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24414 (feedmail-buffer-eating-function):
24415 Doc fixes.
24416 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24417 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24418 (feedmail-message-action-scroll-down): New functions.
24419 (feedmail-queue-directory, feedmail-queue-draft-directory):
24420 Use expand-file-name.
24421 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24422 Remove C-v help entry.
24423 (feedmail-queue-buffer-file-name): New variable.
24424 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24425 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24426 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24427 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24428 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24429 (feedmail-message-action-toggle-spray)
24430 (feedmail-run-the-queue-no-prompts)
24431 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24432 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24433 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24434 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24435 (feedmail-envelope-deducer, feedmail-fiddle-from)
24436 (feedmail-fiddle-sender, feedmail-default-date-generator)
24437 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24438 (feedmail-fiddle-spray-address)
24439 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24440 (feedmail-fiddle-list-of-fiddle-plexes)
24441 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24442 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24443 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24444 Change default. Doc fix.
24445 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24446 (feedmail-binmail-linuxish-template): New constant.
24447 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24448 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24449 (feedmail-send-it): Add debug call.
24450 Use feedmail-queue-buffer-file-name, and
24451 feedmail-send-it-immediately-wrapper.
24452 (feedmail-message-action-send): Add debug call.
24453 Use feedmail-send-it-immediately-wrapper.
24454 (feedmail-queue-express-to-queue): Add debug call.
24455 Run feedmail-queue-express-hook.
24456 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24457 (feedmail-message-action-help-blat):
24458 Rename from feedmail-queue-send-edit-prompt-help-first.
24459 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24460 Check line-endings. Handle errors better.
24461 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24462 Doc fix. Add debug call.
24463 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24464 Use feedmail-queue-send-edit-prompt-inner.
24465 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24466 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24467 from feedmail-queue-send-edit-prompt.
24468 (feedmail-queue-send-edit-prompt-help)
24469 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24470 (feedmail-tidy-up-slug): Add debug call.
24471 Respect feedmail-queue-slug-suspect-regexp.
24472 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24473 (feedmail-dump-message-to-queue): Add debug call.
24474 Expand queue-directory.
24475 (feedmail-dump-message-to-queue): Change message slightly.
24476 Use feedmail-say-chatter.
24477 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24478 (feedmail-send-it-immediately-wrapper): New function.
24479 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24480 Insert empty string rather than newline. Handle full-frame case.
24481 Use catch/throw. Use feedmail-say-chatter.
24482 (feedmail-fiddle-from): Try mail-host-address.
24483 (feedmail-default-message-id-generator): Doc fix.
24484 Bind system-time-locale. Handle missing end.
24485 (feedmail-fiddle-x-mailer): Add debug call.
24486 Handle feedmail-x-mailer-line being nil.
24487 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24488 Add debug call. Use buffer-substring-no-properties.
24489 (feedmail-say-debug, feedmail-say-chatter): New functions.
24490 (feedmail-find-eoh): Give an explicit error.
24491
24492 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24493
24494 * net/newst-treeview.el (newsticker-treeview-face): Change default
24495 family from helvetica to sans.
24496 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24497 etc/images/newsticker.
24498
24499 * net/newst-reader.el (newsticker-feed-face): Change default
24500 family from helvetica to sans.
24501
24502 * net/newst-plainview.el (newsticker-new-item-face)
24503 (newsticker-old-item-face, newsticker-immortal-item-face)
24504 (newsticker-obsolete-item-face, newsticker-date-face)
24505 (newsticker-statistics-face): Change default family from
24506 helvetica to sans.
24507 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24508 etc/images/newsticker.
24509
24510 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24511 (newsticker--process-auto-mark-filter-match): Tell user about
24512 auto-marking.
24513
24514 2011-05-13 Didier Verna <didier@xemacs.org>
24515
24516 Common Lisp indentation improvements on defmethod and lambda-lists.
24517 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24518 TODO entries.
24519 (lisp-lambda-list-keyword-parameter-indentation)
24520 (lisp-lambda-list-keyword-parameter-alignment)
24521 (lisp-lambda-list-keyword-alignment): New customizable user options.
24522 (lisp-indent-defun-method): Improve docstring.
24523 (extended-loop-p): Fix comment.
24524 (lisp-indent-lambda-list-keywords-regexp): New variable.
24525 (lisp-indent-lambda-list): New function.
24526 (lisp-indent-259): Use it.
24527 (lisp-indent-defmethod): Support for more than one
24528 method qualifier and properly indent methods lambda-lists.
24529 (defgeneric): Provide a missing common-lisp-indent-function property.
24530
24531 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24532
24533 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24534 bounds for the empty string (bug#8667).
24535
24536 2011-05-13 Glenn Morris <rgm@gnu.org>
24537
24538 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24539
24540 * mail/sendmail.el (sendmail-program): Try executable-find first.
24541 (sendmail-send-it): `sendmail-program' cannot be unbound.
24542
24543 * calendar/appt.el (appt-make-list): Simplify.
24544 (appt-time-msg-list): Doc fix.
24545 (appt-check): Change mode-line message at the time of the appointment.
24546
24547 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24548
24549 * progmodes/ld-script.el (ld-script-keywords)
24550 (ld-script-builtins): Update keywords list.
24551
24552 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24553
24554 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24555
24556 * shell.el (shell-completion-vars): New function.
24557 (shell-mode):
24558 * simple.el (read-shell-command): Use it.
24559 (blink-matching-open): No need for " [...]" in minibuffer-message.
24560
24561 2011-05-12 Glenn Morris <rgm@gnu.org>
24562
24563 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24564 (appt-check): Simplify.
24565
24566 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24567
24568 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24569 literal "/dev/null".
24570
24571 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24572
24573 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24574 Fix typo.
24575
24576 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24577
24578 * progmodes/which-func.el (which-function):
24579 Use add-log-current-defun instead of add-log-current-defun-function,
24580 which might not be defined (Bug#8260).
24581
24582 2011-05-12 Glenn Morris <rgm@gnu.org>
24583
24584 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24585 Let byte-compile-initial-macro-environment always take precedence.
24586
24587 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24588
24589 * net/rcirc.el: Add support for SSL/TLS connections.
24590 (rcirc-server-alist): New field `encryption'.
24591 (rcirc): Check `encryption' settings.
24592 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24593 Merge make-local-variable into `set'.
24594 (rcirc--connection-open-p): New function.
24595 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24596 the process is not a network process (e.g. running gnutls-cli).
24597 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24598 Make rcirc-(en|de)code-coding-system local here.
24599 (rcirc-mode): Merge make-local-variable into `set'.
24600 (rcirc-parent-buffer): Make permanent buffer-local.
24601 (rcirc-multiline-minor-mode): Don't do it here.
24602 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24603 there's no server buffer.
24604
24605 2011-05-11 Glenn Morris <rgm@gnu.org>
24606
24607 * newcomment.el (comment-kill): Prefix "unused" local.
24608
24609 * term/w32console.el (get-screen-color): Declare.
24610
24611 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24612 Handle symbol elements of byte-compile-initial-macro-environment.
24613
24614 2011-05-10 Leo Liu <sdl.web@gmail.com>
24615
24616 * bookmark.el (bookmark-bmenu-mode-map):
24617 Bind bookmark-bmenu-search to `/'.
24618
24619 * mail/footnote.el: Convert to utf-8 encoding.
24620 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24621 (Footnote-unicode): New function.
24622 (footnote-style-alist): Add unicode style to the list.
24623 (footnote-style): Doc fix.
24624
24625 2011-05-10 Jim Meyering <meyering@redhat.com>
24626
24627 Fix doubled-word typos.
24628 * international/quail.el (quail-insert-kbd-layout): and and -> and
24629 * kermit.el: and and -> and
24630 * net/ldap.el (ldap-search-internal): to to -> to
24631 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24632 * progmodes/js.el (js-mode): and and -> and
24633 * textmodes/artist.el (artist-move-to-xy): at at -> at
24634 (artist-draw-region-trim-line-endings): if if -> if
24635 And Safetyc -> Safety.
24636 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24637
24638 2011-05-10 Glenn Morris <rgm@gnu.org>
24639 Stefan Monnier <monnier@iro.umontreal.ca>
24640
24641 * files.el (hack-one-local-variable-eval-safep):
24642 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24643
24644 2011-05-10 Glenn Morris <rgm@gnu.org>
24645
24646 * calendar/diary-lib.el (diary-list-entries-hook)
24647 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24648 (diary-nongregorian-marking-hook, diary-list-entries)
24649 (diary-include-other-diary-files, diary-mark-entries)
24650 (diary-mark-included-diary-files): Doc fixes.
24651
24652 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24653
24654 * misc.el: Require tabulated-list.el during compilation.
24655
24656 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24657
24658 * progmodes/compile.el (compilation-start):
24659 Run compilation-filter-hook for the async case too.
24660 (compilation-filter-hook): Doc fix.
24661
24662 2011-05-09 Deniz Dogan <deniz@dogan.se>
24663
24664 * wdired.el: Remove outdated installation comment. Fix usage
24665 comment.
24666
24667 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24668
24669 * misc.el: Implement new command `list-dynamic-libraries'.
24670 (list-dynamic-libraries--loaded-only-p): New variable.
24671 (list-dynamic-libraries--refresh): New function.
24672 (list-dynamic-libraries): New command.
24673
24674 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24675
24676 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24677 Fix the ant regexp to handle end-line and end-column info from jikes.
24678 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24679 higher priority to avoid clobbering by gnu.
24680
24681 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24682
24683 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24684 if the face has existing theme settings (Bug#8454).
24685
24686 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24687
24688 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24689 Only match variables declared via `my' or `our' (Bug#8261).
24690
24691 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24692 special file names `.' and `..' (Bug#8259).
24693
24694 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24695
24696 * progmodes/grep.el (grep-mode-font-lock-keywords):
24697 Remove buffer-changing entries.
24698 (grep-filter): New function.
24699 (grep-mode): Add it to compilation-filter-hook.
24700
24701 * progmodes/compile.el (compilation-filter-hook)
24702 (compilation-filter-start): New defvars.
24703 (compilation-filter): Call compilation-filter-hook prior to
24704 updating the process mark.
24705
24706 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24707
24708 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24709
24710 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24711
24712 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24713 mailclient-send-it even if window-system is nil. (Bug#8595)
24714
24715 * term/w32console.el (terminal-init-w32console):
24716 Call get-screen-color and use its output to set the frame
24717 background-mode. (Bug#8597)
24718
24719 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24720
24721 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24722 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24723 New functions.
24724 (defgeneric, eieio--defmethod): Use them.
24725 (eieio-defgeneric): Remove.
24726 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24727
24728 2011-05-07 Glenn Morris <rgm@gnu.org>
24729
24730 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24731 Use let rather than let*.
24732 (timeclock-find-discrep): Remove unused local.
24733
24734 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24735
24736 * calendar/appt.el (appt-time-msg-list): Doc fix.
24737
24738 2011-05-06 Noah Friedman <friedman@splode.com>
24739
24740 * apropos.el (apropos-print-doc): Only use
24741 emacs-lisp-docstring-fill-column when it is bound to an integer,
24742 per that variable's documentation.
24743
24744 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24745
24746 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24747 and warnings are not silently discarded (e.g. use -d instead of -P).
24748
24749 2011-05-06 Glenn Morris <rgm@gnu.org>
24750
24751 * calendar/appt.el (appt-message-warning-time): Doc fix.
24752 (appt-warning-time-regexp): New option.
24753 (appt-make-list): Respect appt-message-warning-time.
24754
24755 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24756 New options.
24757 (diary-add-to-list): Strip comments from the displayed string.
24758 (diary-mode): Set comment-start and comment-end.
24759
24760 * vc/diff-mode.el (smerge-refine-subst): Declare.
24761 (diff-refine-hunk): Don't require smerge-mode when compiling.
24762
24763 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24764
24765 * simple.el (list-processes): Return nil as the docstring says.
24766
24767 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24768
24769 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24770 to "".
24771 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24772 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24773 determining of binary transfer. (Bug#7383)
24774
24775 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24776
24777 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24778 Fix port computation bug. (Bug#8618)
24779
24780 2011-05-05 Glenn Morris <rgm@gnu.org>
24781
24782 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24783
24784 * simple.el (shell-dynamic-complete-functions)
24785 (comint-dynamic-complete-functions): Declare.
24786
24787 * net/network-stream.el (gnutls-negotiate):
24788 * simple.el (tabulated-list-print): Fix declarations.
24789
24790 * progmodes/gud.el (syntax-symbol, syntax-point):
24791 Remove unnecessary and incorrect declarations.
24792
24793 * emacs-lisp/check-declare.el (check-declare-scan):
24794 Handle byte-compile-initial-macro-environment in bytecomp.el.
24795
24796 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24797
24798 Fix earlier half-done eieio-defmethod change (bug#8338).
24799 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24800 Streamline and change calling convention.
24801 (defmethod): Adjust accordingly and simplify.
24802 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24803 new eieio--defmethod.
24804 (slot-boundp): Minor CSE simplification.
24805
24806 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24807
24808 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24809 (glasses-make-readable): Use glasses-separate-capital-groups.
24810
24811 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24812
24813 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24814 (warning-series): Doc fix.
24815 (display-warning): Don't try to create the buffer if we just found it.
24816
24817 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24818
24819 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24820 (autoload-find-generated-file): New function.
24821 (generate-file-autoloads): Bind generated-autoload-file to
24822 buffer-file-name.
24823 (update-file-autoloads, update-directory-autoloads):
24824 Use autoload-find-generated-file. If called interactively, prompt for
24825 output file (Bug#7989).
24826 (batch-update-autoloads): Doc fix.
24827
24828 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24829
24830 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24831
24832 2011-05-04 Glenn Morris <rgm@gnu.org>
24833
24834 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24835 function, so it follows changes in calendar-date-style.
24836 (diary-fancy-date-matcher): New function.
24837 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24838 (diary-fancy-font-lock-fontify-region-function):
24839 Use diary-fancy-date-pattern as a function.
24840
24841 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24842 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24843
24844 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24845
24846 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24847 instead of positional arguments. Allow :keylist and :crlfiles
24848 arguments.
24849 (open-gnutls-stream): Call it.
24850
24851 * net/network-stream.el (network-stream-open-starttls): Adjust to
24852 call `gnutls-negotiate' with :process and :hostname arguments.
24853
24854 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24855
24856 * minibuffer.el (completion--message): New function.
24857 (completion--do-completion, minibuffer-complete)
24858 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24859 (completion--do-completion): Don't ignore completion-auto-help when in
24860 icomplete-mode.
24861
24862 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24863 internal encoding (e.g. tibetan zero is not whitespace).
24864 (global-whitespace-mode): Prefer save-current-buffer.
24865 (whitespace-trailing-regexp): Remove useless save-match-data.
24866 (whitespace-empty-at-bob-regexp): Minor simplification.
24867
24868 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24869
24870 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24871
24872 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24873
24874 * textmodes/ispell.el (ispell-add-per-file-word-list):
24875 Use `concat' to create string for insertion.
24876
24877 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24878
24879 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24880 Avoid open-line which runs post-self-insert-hook.
24881 (bibtex-fill-entry): Remove unused `end' var.
24882
24883 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24884
24885 * textmodes/ispell.el (ispell-add-per-file-word-list):
24886 Protect against `nil' value of `comment-start' (Bug#8579).
24887
24888 2011-05-03 Leo Liu <sdl.web@gmail.com>
24889
24890 * isearch.el (isearch-yank-pop): New command.
24891 (isearch-mode-map): Bind it to `M-y'.
24892 (isearch-forward): Mention it.
24893
24894 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24895
24896 * simple.el (minibuffer-complete-shell-command): Remove.
24897 (minibuffer-local-shell-command-map): Use completion-at-point.
24898 (read-shell-command): Setup completion vars here instead.
24899 (read-expression-map): Bind TAB to symbol completion.
24900
24901 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24902 error directly rather via storing it into `results'.
24903
24904 2011-05-02 Leo Liu <sdl.web@gmail.com>
24905
24906 * vc/diff.el: Fix description.
24907
24908 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24909
24910 * server.el (server-eval-at): New function.
24911
24912 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24913
24914 * net/network-stream.el (open-network-stream): Take a :nowait
24915 parameter and pass it on to `make-network-process'.
24916 (network-stream-open-plain): Ditto.
24917
24918 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24919
24920 * faces.el (face-spec-set-match-display): Don't match toolkit
24921 options on terminal frames.
24922
24923 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24924
24925 * progmodes/pascal.el: Use lexical binding.
24926 (pascal-mode-map): Remove author preferences.
24927
24928 * pcomplete.el (pcomplete-std-complete): Don't abuse
24929 completion-at-point.
24930
24931 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24932
24933 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24934 removing code that has been dead since 1991 or so.
24935
24936 * startup.el (command-line): When warning about "_emacs", use a
24937 delayed warning to allow the user to filter it out.
24938
24939 2011-04-28 Deniz Dogan <deniz@dogan.se>
24940
24941 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24942 user has not joined.
24943
24944 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24945
24946 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24947 aren't any completions at point.
24948
24949 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24950
24951 * subr.el (display-delayed-warnings): New function.
24952 (delayed-warnings-hook): New variable.
24953
24954 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24955
24956 * minibuffer.el (completion-at-point, completion-help-at-point):
24957 Don't presume that a given completion-at-point-function will always
24958 use the same calling convention.
24959
24960 * pcomplete.el (pcomplete-completions-at-point):
24961 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24962 pcomplete-seen is non-nil.
24963 (pcomplete-comint-setup): Also recognize the new comint/shell
24964 completion functions.
24965 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24966 pcomplete-seen is non-nil.
24967
24968 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24969
24970 * calendar/icalendar.el (diary-lib): Add require statement.
24971 (icalendar--create-uid): Read out a uid from a text-property on
24972 the first character in the entry. This allows for code to add its
24973 own uid to the entry.
24974 (icalendar--convert-float-to-ical): Add export of
24975 `diary-float'-entries save for those with the optional DAY
24976 argument.
24977
24978 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24979
24980 * subr.el (shell-quote-argument): Use alternate escaping strategy
24981 when we spot a variable reference in a string.
24982
24983 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24984
24985 * cus-start.el (all): Define customization for debug-on-event.
24986
24987 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24988
24989 * subr.el (shell-quote-argument): Escape correctly under Windows.
24990
24991 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24992
24993 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24994
24995 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24996
24997 * net/tramp.el (tramp-process-actions): Add POS argument.
24998 Delete region between POS and (pos).
24999
25000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25001 Use `nil' position in `tramp-process-actions' call.
25002 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25003
25004 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25005 position in `tramp-process-actions' call.
25006
25007 * net/trampver.el: Update release number.
25008
25009 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25010
25011 * custom.el (defcustom): Obey lexical-binding.
25012
25013 Fix octave-inf completion problems reported by Alexander Klimov.
25014 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25015 Inherit from octave-mode-syntax-table.
25016 (inferior-octave-mode): Set info-lookup-mode.
25017 (inferior-octave-completion-at-point): New function.
25018 (inferior-octave-complete): Use it and completion-in-region.
25019 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25020 comint-filename-completion.
25021 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25022 symbol elements which shouldn't be word elements.
25023 (octave-font-lock-keywords, octave-beginning-of-defun)
25024 (octave-function-header-regexp): Adjust regexps accordingly.
25025 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25026
25027 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25028
25029 * net/gnutls.el (gnutls-errorp): Declare before first use.
25030
25031 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25032
25033 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25034 verify-error, and verify-hostname-error parameters. Check whether
25035 default trustfile exists before going to use it. Add missing
25036 argument to gnutls-message-maybe call. Return value.
25037 Reported by Claudio Bley <claudio.bley@gmail.com>.
25038 (open-gnutls-stream): Add usage example.
25039
25040 * net/network-stream.el (network-stream-open-starttls): Give host
25041 parameter to `gnutls-negotiate'.
25042 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25043 * subr.el (shell-quote-argument): Escape correctly under Windows.
25044
25045 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25046
25047 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25048 Use correct match group (bug#8438).
25049
25050 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25051
25052 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25053 (package-menu--generate): New arg specifying packages to show.
25054 (package-menu-refresh, package-menu-execute, list-packages):
25055 Callers changed.
25056 (package-show-package-list): New function, replacing deleted
25057 package--list-packages (renamed because it is non-internal).
25058
25059 * finder.el (finder-list-matches): Use package-show-package-list
25060 instead of deleted package--list-packages.
25061
25062 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25063 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25064 (vc-annotate-mode-map): Bind it to RET.
25065
25066 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25067
25068 * progmodes/etags.el (next-file): Don't use set-buffer to change
25069 buffers (Bug#8478).
25070
25071 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25072
25073 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25074
25075 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25076 (apropos-accumulator): Doc fix.
25077 (apropos-function, apropos-macro, apropos-command)
25078 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25079 (apropos-plist): Add face property.
25080 (apropos-symbols-internal): Fix indentation.
25081 (apropos-print): Simplify help, and recognize apropos-multi-type.
25082 (apropos-print-doc): Use button-type-get to extract the button's
25083 face property. Fill docstring (Bug#8352).
25084
25085 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25086
25087 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25088
25089 * play/mpuz.el (mpuz-silent): Doc fix.
25090 (mpuz-mode-map): Use mapc.
25091 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25092 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25093 Fix typos in docstrings.
25094
25095 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25096 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25097
25098 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25099
25100 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25101
25102 * minibuffer.el (completion--do-completion): Avoid the "Next char
25103 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25104
25105 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25106 mouse-2 into unread-command-events, it is interpreted correctly.
25107
25108 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25109 (image-toggle-display): Doc fix.
25110
25111 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25112
25113 * textmodes/page.el (what-page): Use line-number-at-pos to
25114 calculate line number (Bug#6825).
25115
25116 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25117
25118 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25119 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25120 Pass argument NO-DEFAULT to `find-tag-interactive'.
25121
25122 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25123
25124 Lexical-binding cleanup.
25125
25126 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25127 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25128 * progmodes/ada-prj.el (ada-prj-initialize-values)
25129 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25130 (ada-prj-show-value):
25131 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25132 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25133 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25134 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25135 * progmodes/bug-reference.el (bug-reference-push-button):
25136 * progmodes/fortran.el (fortran-line-length):
25137 * progmodes/glasses.el (glasses-change):
25138 * progmodes/octave-mod.el (octave-fill-paragraph):
25139 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25140 (python-pdbtrack-grub-for-buffer, python-sentinel):
25141 * progmodes/sql.el (sql-save-connection):
25142 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25143 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25144 Mark unused parameters.
25145
25146 * progmodes/compile.el (compilation--flush-directory-cache)
25147 (compilation--flush-parse, compile-internal): Mark unused parameters.
25148 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25149 (compilation-next-error-function): Remove unused variable `timestamp'.
25150
25151 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25152 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25153
25154 * progmodes/dcl-mode.el (dcl-end-of-command):
25155 Remove unused variable `start'.
25156 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25157 (dcl-option-value-basic, dcl-option-value-offset)
25158 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25159 Mark unused parameters.
25160 (dcl-save-local-variable): Remove unused variable `val'.
25161 (mode): Declare.
25162
25163 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25164 Mark unused parameters.
25165 (delphi-ignore-changes): Move before first use.
25166 (delphi-charset-token-at): Remove unused variable `start'.
25167 (delphi-else-start): Remove unused variable `if-count'.
25168 (delphi-comment-block-start, delphi-comment-block-end):
25169 Remove unused variable `kind'.
25170 (delphi-indent-line): Remove unused variable `new-point'.
25171
25172 * progmodes/ebrowse.el (ebrowse-files-list)
25173 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25174 Mark unused parameters. Don't quote `lambda'.
25175 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25176 Don't quote `lambda'.
25177 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25178 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25179 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25180 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25181 Use `ignore-errors'.
25182 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25183 (ebrowse-view/find-file-and-search-pattern)
25184 (ebrowse-view/find-member-declaration/definition):
25185 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25186 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25187 Rename parameter PREFIX-ARG to PREFIX.
25188 (ebrowse-tags-read-name): Remove unused variables `start' and
25189 `member-info'.
25190 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25191 to `tags-file'.
25192
25193 * progmodes/etags.el (local-find-tag-hook): Declare.
25194 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25195 Mark unused parameters.
25196
25197 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25198 (executable-interpret): Mark unused parameter.
25199
25200 * progmodes/flymake.el (flymake-process-sentinel)
25201 (flymake-after-change-function)
25202 (flymake-create-temp-with-folder-structure)
25203 (flymake-get-include-dirs-dot): Mark unused parameters.
25204 (flymake-safe-delete-directory): Remove unused variable `err'.
25205
25206 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25207 (speedbar-timer-fn, speedbar-line-text)
25208 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25209 (speedbar-center-buffer-smartly): Declare functions.
25210 (gdb-find-watch-expression): Remove unused variable `array'.
25211 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25212 (gdb-starting): Mark unused parameters.
25213 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25214 (gdb-table-string): Remove unused variable `res'.
25215 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25216 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25217 (gdb-display-buffer): Remove unused variable `cur-size'.
25218
25219 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25220 allow lexical-binding compilation.
25221 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25222 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25223 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25224 Mark unused parameters.
25225 (gud-gdb-marker-filter): Remove unused variable `match'.
25226 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25227 lambda expressions and funcall them, instead of using `fset'.
25228
25229 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25230 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25231
25232 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25233 variable `header-beg'; use `let'.
25234
25235 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25236 `restart', `last-sexp' and `at-do'.
25237
25238 * progmodes/js.el (js--debug): Mark unused parameter.
25239 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25240 (js--splice-into-items): Remove unused variable `item'.
25241 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25242
25243 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25244 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25245 (makefile-complete): Remove unused variable `try'.
25246 (makefile-fill-paragraph, makefile-match-function-end):
25247 Mark unused parameters.
25248
25249 * progmodes/octave-inf.el (inferior-octave-complete):
25250 Remove unused variable `proc'.
25251 (inferior-octave-output-digest): Mark unused parameter.
25252
25253 * progmodes/perl-mode.el (perl-calculate-indent):
25254 Remove unused variable `err'.
25255
25256 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25257 (prolog-indent-line): Mark unused parameters.
25258 (prolog-indent-line): Remove unused variable `beg'.
25259
25260 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25261 (reporter-dont-compact-list): Declare.
25262
25263 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25264 Remove unused variable `char'.
25265 (sh-debug): Mark unused parameter.
25266 (sh-get-indent-info): Remove unused variable `start'.
25267 (sh-calculate-indent): Remove unused variable `var'.
25268
25269 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25270 (simula-electric-keyword): Remove unused variable `null'.
25271 (simula-search-backward, simula-search-forward): Remove unused
25272 variables `begin' and `end'.
25273
25274 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25275 Remove unused variable `pos'.
25276 (vera-electric-tab, vera-comment-uncomment-region):
25277 Mark unused parameters.
25278 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25279
25280 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25281
25282 * emacs-lisp/package.el (package--builtins, package-alist)
25283 (package-load-descriptor, package-built-in-p, package-activate)
25284 (define-package, package-installed-p)
25285 (package-compute-transaction, package-buffer-info)
25286 (package--push): Doc fix. Distinguish more clearly between
25287 version strings and version lists.
25288
25289 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25290
25291 Lexical-binding cleanup.
25292
25293 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25294 (5x5-make-mutate-best):
25295 * play/fortune.el (fortune-in-buffer):
25296 * play/gomoku.el (gomoku-init-display):
25297 * play/solitaire.el (solitaire, solitaire-do-check):
25298 * play/tetris.el (tetris-default-update-speed-function):
25299 Mark unused parameters.
25300
25301 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25302 (bubbles--shift): Remove unused variable `char-org'.
25303 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25304 (bubbles--show-images): Remove unused variable `char'.
25305
25306 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25307 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25308 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25309 (decipher-analyze-buffer): Use ?\s.
25310 (decipher-make-checkpoint): Remove unused variable `mapping'.
25311
25312 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25313
25314 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25315 Remove unused variable `result'; use `let'.
25316
25317 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25318 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25319 (gametree-children-shown-p, gametree-compute-reduced-score):
25320 Use `ignore-errors'.
25321
25322 * play/handwrite.el (ps-lpr-switches): Declare.
25323 (handwrite): Remove unused variables `pmin' and `lastp'.
25324
25325 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25326
25327 * play/landmark.el (landmark-init-display)
25328 (landmark-update-naught-weights): Mark unused parameters.
25329 (landmark-y): Remove unused variable `noise'. Simplify.
25330 (landmark-human-plays): Remove unused variable `score'.
25331
25332 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25333 (mpuz-try-proposal): Remove unused variable `game'.
25334
25335 * play/zone.el (life-patterns): Declare.
25336
25337 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25338
25339 * vc/vc.el (ediff-vc-internal): Declare function.
25340
25341 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25342
25343 * shell.el: Use lexical-binding and std completion UI.
25344 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25345 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25346 comint-preoutput-filter-functions rather than on
25347 comint-output-filter-functions.
25348 (shell-command-completion, shell--command-completion-data)
25349 (shell-filename-completion, shell-environment-variable-completion)
25350 (shell-c-a-p-replace-by-expanded-directory): New functions.
25351 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25352 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25353 (shell-dynamic-complete-environment-variable): Use them.
25354 (shell-dynamic-complete-as-environment-variable)
25355 (shell-dynamic-complete-as-command): Remove.
25356 (shell-match-partial-variable): Match past point.
25357 * comint.el: Clean up use of completion-at-point-functions.
25358 (comint-completion-at-point): New function.
25359 (comint-mode): Use it completion-at-point-functions.
25360 (comint-dynamic-complete): Make it obsolete.
25361 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25362 (comint-c-a-p-replace-by-expanded-history): New function.
25363 (comint-dynamic-complete-functions)
25364 (comint-replace-by-expanded-history): Use it.
25365 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25366 termination strings. Try harder to avoid second try-completion.
25367 (completion-in-region-mode-map): Disable bindings that don't work yet.
25368
25369 * comint.el: Use lexical-binding. Require CL.
25370 (comint-dynamic-complete-functions): Use comint-filename-completion.
25371 (comint-completion-addsuffix): Tweak custom type.
25372 (comint-filename-completion, comint--common-suffix)
25373 (comint--common-quoted-suffix, comint--table-subvert)
25374 (comint--complete-file-name-data): New functions.
25375 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25376 (comint-dynamic-list-filename-completions): Use them.
25377 (comint-dynamic-simple-complete): Make obsolete.
25378
25379 * minibuffer.el (completion-in-region-mode):
25380 Keep completion-in-region-mode--predicate global.
25381 (completion-in-region--postch):
25382 Assume completion-in-region-mode--predicate is not null.
25383
25384 * progmodes/flymake.el (flymake-start-syntax-check-process):
25385 Obey `dir'. Simplify.
25386
25387 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25388 we're in VC after all.
25389
25390 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25391
25392 * vc/vc.el (vc-diff-build-argument-list-internal)
25393 (vc-version-ediff, vc-ediff): New commands.
25394 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25395
25396 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25397
25398 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25399 add sanity check.
25400
25401 * obsolete/erc-hecomplete.el: Make obsolete.
25402 * obsolete/: Standardize obsolescence info in the header.
25403
25404 2011-04-20 Glenn Morris <rgm@gnu.org>
25405
25406 * calendar/solar.el (solar-horizontal-coordinates):
25407 Use the longitude argument rather than `calendar-longitude'.
25408 (solar-date-next-longitude): Remove unused locals.
25409
25410 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25411
25412 * whitespace.el: New version 13.2.1.
25413
25414 2011-04-20 felix <EmacsWiki> (tiny change)
25415
25416 * whitespace.el (global-whitespace-mode): Keep highlight when
25417 switching between major modes on a file.
25418
25419 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25420
25421 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25422 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25423 multi-line comments as well.
25424
25425 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25426
25427 Lexical-binding cleanup.
25428
25429 * arc-mode.el (archive-mode-revert):
25430 * cmuscheme.el (scheme-interactively-start-process):
25431 * custom.el (custom-initialize-delay):
25432 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25433 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25434 * emacs-lock.el (emacs-lock-clear-sentinel):
25435 * ezimage.el (defezimage):
25436 * follow.el (follow-avoid-tail-recenter):
25437 * fringe.el (set-fringe-mode-1):
25438 * generic-x.el (bat-generic-mode-compile):
25439 * help-mode.el (help-info-variable, help-do-xref)
25440 (help-mode-revert-buffer):
25441 * help.el (view-emacs-todo):
25442 * iswitchb.el (iswitchb-completion-help):
25443 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25444 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25445 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25446 * locate.el (locate-update):
25447 * longlines.el (longlines-encode-region)
25448 (longlines-after-change-function):
25449 * outline.el (outline-isearch-open-invisible):
25450 * ps-def.el (declare-function, charset-dimension, char-width)
25451 (encode-char):
25452 * ps-mule.el (ps-mule-plot-string):
25453 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25454 (recentf-edit-list-select, recentf-edit-list-validate)
25455 (recentf-open-files-action):
25456 * rect.el (delete-whitespace-rectangle-line)
25457 (rectangle-number-line-callback):
25458 * register.el (window-configuration-to-register)
25459 (frame-configuration-to-register):
25460 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25461 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25462 (xselect-convert-to-targets, xselect-convert-to-delete)
25463 (xselect-convert-to-filename, xselect-convert-to-charpos)
25464 (xselect-convert-to-lineno, xselect-convert-to-colno)
25465 (xselect-convert-to-os, xselect-convert-to-host)
25466 (xselect-convert-to-user, xselect-convert-to-class)
25467 (xselect-convert-to-name, xselect-convert-to-integer)
25468 (xselect-convert-to-atom, xselect-convert-to-identity):
25469 * subr.el (declare, ignore, process-kill-without-query)
25470 (text-clone-maintain):
25471 * terminal.el (te-get-char, te-tic-sentinel):
25472 * tool-bar.el (tool-bar-make-keymap):
25473 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25474 * type-break.el (type-break-mode, type-break-noninteractive-query):
25475 * view.el (View-back-to-mark):
25476 * wid-browse.el (widget-browse-action, widget-browse-widget)
25477 (widget-browse-widgets, widget-browse-sexp):
25478 * widget.el (define-widget-keywords):
25479 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25480 Mark unused parameters.
25481
25482 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25483 (align-areas): Remove unused variable `look'.
25484 (align-region): Remove unused variables `real-end' and `pos-list'.
25485
25486 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25487
25488 * bindings.el (mode-line-modified, mode-line-remote):
25489 Mark unused parameters.
25490 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25491
25492 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25493 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25494
25495 * comint.el (comint-history-isearch-pop-state)
25496 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25497 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25498 (comint-substitute-in-file-name): Doc fix.
25499
25500 * completion.el (cmpl-statistics-block): Mark unused parameter.
25501 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25502 (save-completions-to-file, load-completions-from-file):
25503 Remove unused local variable `e'.
25504
25505 * composite.el (compose-chars): Remove unused variable `len'.
25506 (lgstring-insert-glyph): Remove unused variable `g'.
25507 (compose-glyph-string): Remove unused variables `ascent',
25508 `descent', `lbearing' and `rbearing'.
25509 (compose-glyph-string-relative): Remove unused variables
25510 `lbearing', `rbearing' and `wadjust'.
25511 (compose-gstring-for-graphic): Remove unused variables `header',
25512 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25513 (compose-gstring-for-terminal): Remove unused variables `header'
25514 and `nchars'. Use `let', not `let*'.
25515
25516 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25517 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25518 (Custom-buffer-done, custom-buffer-create-internal)
25519 (custom-browse-visibility-action, custom-browse-group-tag-action)
25520 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25521 (widget-magic-mouse-down-action, custom-toggle-parent)
25522 (custom-add-parent-links, custom-toggle-hide-variable)
25523 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25524 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25525 (custom-face-menu-create, custom-variable-menu-create, get)
25526 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25527 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25528 (customize-apropos): Remove unused variable `tests'.
25529 (custom-group-value-create): Remove unused variable `hidden-p'.
25530 (sort-fold-case): Declare.
25531
25532 * cus-theme.el (custom-reset-standard-faces-list)
25533 (custom-reset-standard-variables-list): Declare.
25534 (customize-create-theme, custom-theme-revert, custom-theme-write)
25535 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25536 Mark unused parameters.
25537
25538 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25539
25540 * delim-col.el (delimit-columns-max): Move defvar before first use.
25541
25542 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25543 (describe-char): Don't quote `lambda'. Mark unused parameter.
25544
25545 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25546 (auto-insert): Declare.
25547 (desktop-restore-file-buffer): Rename desktop-* parameters;
25548 mark unused ones.
25549 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25550 (desktop-buffer): Rename desktop-* parameters.
25551
25552 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25553 (dframe-reposition-frame-xemacs, dframe-help-echo)
25554 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25555 Mark unused parameters.
25556
25557 * dired-aux.el (backup-extract-version-start, overwrite-query)
25558 (overwrite-backup-query, rename-regexp-query)
25559 (rename-non-directory-query): Declare.
25560 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25561 (dired-add-entry): Remove unused variable `orig-file-name'.
25562 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25563 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25564 `dired-copy-preserve-time' directly.
25565 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25566 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25567
25568 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25569 (dired-virtual-revert, dired-make-relative-symlink):
25570 Mark unused parameters.
25571 (manual-program): Declare.
25572 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25573 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25574 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25575
25576 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25577
25578 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25579
25580 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25581 Declare.
25582
25583 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25584
25585 * electric.el (Electric-command-loop): Rename parameter
25586 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25587
25588 * expand.el (expand-in-literal): Remove unused variable `here'.
25589
25590 * facemenu.el (facemenu-add-new-color):
25591 Remove unused variable `docstring'.
25592
25593 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25594 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25595 (face-attr-construct): Mark unused parameter. Doc fix.
25596 (read-color): Remove unused variable `hex-string'.
25597
25598 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25599 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25600 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25601 (display-buffer-other-frame): Remove unused variable `old-window'.
25602 (kill-buffer-hook): Declare.
25603 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25604 Mark unused parameters.
25605 (after-find-file): Pass 1 to `auto-save-mode', not t.
25606
25607 * files-x.el (auto-insert): Declare.
25608 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25609
25610 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25611 variable `buf'. Mark unused parameter.
25612 (find-lisp-insert-directory): Mark unused parameter.
25613
25614 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25615 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25616 (format-common-tail): Remove, unused.
25617 (format-deannotate-region): Remove unused variable `loc'.
25618 (format-annotate-region): Remove unused variable `p'.
25619 (format-annotate-single-property-change): Remove unused variables
25620 `default' and `tail'.
25621
25622 * forms.el (read-file-filter): Declare.
25623 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25624
25625 * frame.el (frame-creation-function-alist): Mark unused parameter.
25626 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25627
25628 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25629 Remove unused parameters.
25630 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25631 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25632
25633 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25634 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25635 (hfy-prepare-tag-map): Mark unused parameters.
25636 (htmlfontify-buffer): Use `called-interactively-p'.
25637
25638 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25639 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25640 (ibuffer-do-occur): Mark unused parameters.
25641 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25642 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25643
25644 * ibuffer.el: Don't quote `lambda'.
25645 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25646 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25647 Mark unused parameters.
25648
25649 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25650 (ido-completing-read): Mark unused parameters.
25651 (ido-copy-current-word): Mark unused parameters;
25652 remove unused variable `name'.
25653 (ido-sort-merged-list): Remove unused parameter `dirs'.
25654
25655 * ielm.el (ielm-input-sender): Mark unused parameter.
25656 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25657 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25658 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25659 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25660 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25661
25662 * image-dired.el (image-dired-display-thumbs): Remove unused
25663 variables `curr-file' and `count'.
25664 (image-dired-remove-tag): Remove unused variable `start'.
25665 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25666 variable `curr-file'
25667 (image-dired-rotate-original): Remove unused variable `temp-file'.
25668 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25669 Remove unused variable `file'.
25670 (image-dired-gallery-generate): Remove unused variable `curr'.
25671 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25672
25673 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25674
25675 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25676
25677 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25678
25679 * isearch.el (minibuffer-history-symbol): Declare.
25680 (isearch-edit-string): Remove unused variable `err'.
25681 (isearch-message-prefix, isearch-message-suffix):
25682 Mark unused parameters.
25683
25684 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25685
25686 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25687
25688 * makesum.el (double-column): Remove unused variable `cnt'.
25689
25690 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25691 (ido-ignore-item-temp-list): Declare.
25692
25693 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25694 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25695 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25696 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25697 `mouse-col-delta'.
25698
25699 * mouse-sel.el (mouse-extend-internal):
25700 Remove unused variable `orig-window-frame'.
25701
25702 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25703 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25704 Move declarations before first use.
25705 (pcomplete-opt): Mark unused parameters; doc fix.
25706
25707 * proced.el (proced-revert): Mark unused parameter.
25708 (proced-send-signal): Remove unused variable `err'.
25709
25710 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25711 Rename parameter PREFIX-ARG to ARG.
25712 (ps-basic-plot-string, ps-basic-plot-whitespace):
25713 Mark unused parameters.
25714
25715 * replace.el (replace-count): Define.
25716 (occur-revert-function): Mark unused parameters.
25717 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25718 (isearch-case-fold-search, isearch-string): Declare.
25719 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25720 bind `case-fold-search'. Remove unused variables `beg' and `end',
25721 and simplify.
25722 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25723 COUNT and bind `replace-count'.
25724 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25725 to COUNT.
25726
25727 * savehist.el (print-readably, print-string-length): Declare.
25728
25729 * shadowfile.el (shadow-expand-cluster-in-file-name):
25730 Remove unused variable `cluster'.
25731 (shadow-copy-file): Remove unused variable `i'.
25732 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25733 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25734 (shadow-define-literal-group, shadow-define-regexp-group)
25735 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25736
25737 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25738 (shell): Use `called-interactively-p'.
25739 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25740
25741 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25742 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25743 (delete-backward-char): Remove unused variable `ocol'.
25744 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25745 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25746 (event-apply-hyper-modifier, event-apply-shift-modifier)
25747 (event-apply-control-modifier, event-apply-meta-modifier):
25748 Mark unused parameters.
25749 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25750 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25751
25752 * speedbar.el (speedbar-ignored-directory-expressions)
25753 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25754 (speedbar-find-file, speedbar-dir-follow)
25755 (speedbar-directory-buttons-follow, speedbar-tag-find)
25756 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25757 (speedbar-buffers-line-directory, speedbar-buffer-click):
25758 Mark unused parameters.
25759 (speedbar-tag-file): Remove unused variable `mode'.
25760 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25761
25762 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25763
25764 * talk.el (talk): Remove unused variable `display'.
25765
25766 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25767 (tar-write-region-annotate): Mark unused parameter.
25768
25769 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25770 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25771 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25772 warning by another.
25773
25774 * time-stamp.el (time-stamp-string-preprocess):
25775 Remove unused variable `require-padding'.
25776
25777 * tree-widget.el (widget-glyph-enable): Declare.
25778 (tree-widget-action): Mark unused parameter.
25779
25780 * w32-fns.el (x-get-selection): Mark unused parameter.
25781 (autoload-make-program, generated-autoload-file): Declare.
25782
25783 * wdired.el (wdired-revert): Mark unused parameters.
25784 (wdired-xcase-word): Remove unused variable `err'.
25785
25786 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25787 (whitespace-help-scroll): Remove unused variable `data-help'.
25788
25789 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25790 (widget-image-insert, widget-after-change, default)
25791 (widget-default-format-handler, widget-default-notify)
25792 (widget-default-prompt-value, widget-info-link-action)
25793 (widget-url-link-action, widget-function-link-action)
25794 (widget-variable-link-action, widget-file-link-action)
25795 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25796 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25797 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25798 (widget-insert-button-action, widget-delete-button-action, visibility)
25799 (widget-documentation-link-action, widget-documentation-string-action)
25800 (widget-const-prompt-value, widget-regexp-match, symbol)
25801 (widget-coding-system-prompt-value)
25802 (widget-key-sequence-value-to-external, sexp)
25803 (widget-sexp-value-to-internal, character, vector, cons)
25804 (widget-choice-prompt-value, widget-boolean-prompt-value)
25805 (widget-color--choose-action): Mark unused parameters.
25806 (widget-item-match-inline, widget-choice-match-inline)
25807 (widget-checklist-match, widget-checklist-match-inline)
25808 (widget-group-match): Rename parameter VALUES to VALS.
25809 (widget-field-value-set): Remove unused variable `size'.
25810 (widget-color-action): Remove unused variables `value' and `start'.
25811
25812 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25813 variable `dir'. Doc fix.
25814 (windmove-find-other-window): Don't pass it.
25815
25816 * window.el (count-windows): Mark unused parameter.
25817 (bw-adjust-window): Remove unused variable `err'.
25818
25819 * woman.el (woman-file-name): Remove unused variable `default'.
25820 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25821 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25822 (global-font-lock-mode): Declare.
25823 (woman-decode-region): Mark unused parameter.
25824 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25825
25826 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25827 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25828 (x-dnd-handle-moz-url): Remove unused variable `title'.
25829 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25830
25831 * xml.el (xml-parse-tag, xml-parse-attlist):
25832 Remove unused variable `pos'.
25833
25834 2011-04-19 Glenn Morris <rgm@gnu.org>
25835
25836 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25837 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25838 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25839 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25840 * calendar/cal-html.el (cal-html-insert-minical):
25841 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25842 (calendar-mark-date-pattern):
25843 Prefix "unused" locals.
25844
25845 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25846 optional argument `style'.
25847
25848 * calendar/appt.el (appt-make-list):
25849 * calendar/cal-china.el (calendar-chinese-date-string):
25850 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25851 (diary-hebrew-yahrzeit):
25852 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25853 * calendar/calendar.el (calendar-generate-window):
25854 * calendar/time-date.el (time-to-days):
25855 Remove unused local variables.
25856
25857 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25858
25859 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25860 glyphless-char-display table.
25861 (tabulated-list-glyphless-char-display): New var.
25862
25863 2011-04-18 Sam Steingold <sds@gnu.org>
25864
25865 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25866 to acknowledgments.
25867
25868 2011-04-17 Glenn Morris <rgm@gnu.org>
25869
25870 * calendar/diary-lib.el (diary-sexp-entry):
25871 * calendar/holidays.el (holiday-sexp):
25872 Set debug-on-error rather than the removed stack-trace-on-error.
25873
25874 2011-04-16 Glenn Morris <rgm@gnu.org>
25875
25876 * progmodes/f90.el: Use lexical-binding.
25877 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25878
25879 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25880
25881 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25882 (mail-mode): Setup mailalias completion here instead.
25883 * mail/mailalias.el: Use lexical-binding.
25884 (pattern, mailalias-done): Declare dynamic.
25885 (mail-completion-at-point-function): New function, from mail-complete.
25886 (mail-complete): Use it.
25887 (mail-completion-expand): New function.
25888 (mail-get-names): Use it.
25889 (mail-directory, mail-directory-process, mail-directory-stream):
25890 Don't use `pattern' for lexically bound arg.
25891
25892 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25893
25894 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25895 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25896 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25897
25898 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25899 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25900 (byte-interactive-p): Define them again, for use when inlining
25901 old code.
25902
25903 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25904
25905 * loadup.el: Use `string-to-number', not `string-to-int'.
25906
25907 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25908
25909 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25910 gud-gdb-complete-command.
25911 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25912 (gud-gdb-completion-at-point): New function.
25913 (gud-gdb-completions): Remove.
25914
25915 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25916
25917 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25918 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25919 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25920 whether `executable-find' is bound.
25921
25922 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25923
25924 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25925
25926 * minibuffer.el (completion-in-region-mode-predicate)
25927 (completion-in-region-mode--predicate): New vars.
25928 (completion-in-region, completion-in-region--postch)
25929 (completion-in-region-mode): Use them.
25930 (completion--capf-wrapper): Also return the hook function.
25931 (completion-at-point, completion-help-at-point):
25932 Adjust and provide a predicate.
25933
25934 Preserve arg names for advice of subr and lexical functions (bug#8457).
25935 * help-fns.el (help-function-arglist): Consolidate the subr and
25936 new-byte-code cases. Add argument `preserve-names' to extract names
25937 from the docstring when needed.
25938 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25939 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25940 (ad-arglist): Use help-function-arglist's new arg.
25941 (ad-definition-type): Use cond.
25942
25943 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25944
25945 * autorevert.el (auto-revert-handler):
25946 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25947 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25948 Don't quote lambda.
25949
25950 * image-mode.el (image-transform-set-scale):
25951 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25952
25953 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25954
25955 * net/network-stream.el (network-stream-open-starttls): Only do
25956 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25957 Upgrades via gnutls-cli are too slow to be done opportunistically.
25958
25959 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25960
25961 * dframe.el (dframe-current-frame): Remove spurious quote.
25962
25963 2011-04-12 Glenn Morris <rgm@gnu.org>
25964
25965 * calendar/cal-tex.el (cal-tex-end-document):
25966 Try to automatically use latin1 input if needed.
25967
25968 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25969 Don't try to cons a mark onto an empty element.
25970
25971 2011-04-11 Leo Liu <sdl.web@gmail.com>
25972
25973 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25974 buffers.
25975 (ido-kill-buffer-at-head): Support killing virtual buffers.
25976
25977 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25978
25979 * minibuffer.el (completion-show-inline-help): New var.
25980 (completion--do-completion, minibuffer-complete)
25981 (minibuffer-force-complete, minibuffer-complete-word):
25982 Inhibit minibuffer messages if completion-show-inline-help is nil.
25983
25984 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25985 to avoid interference from inline help (Bug#5849).
25986
25987 2011-04-10 Leo Liu <sdl.web@gmail.com>
25988
25989 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25990 Fix typo.
25991
25992 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25993
25994 * image-mode.el (image-toggle-display-image): Signal an error if
25995 not in Image mode.
25996 (image-transform-mode, image-transform-resize)
25997 (image-transform-set-rotation): Doc fix.
25998 (image-transform-set-resize): Delete.
25999 (image-transform-set-scale, image-transform-fit-to-height)
26000 (image-transform-fit-to-width): Handle image-toggle-display-image
26001 and image-transform-resize directly.
26002
26003 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26004
26005 * doc-view.el (doc-view-fit-width-to-window)
26006 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26007 New functions for fitting the shown image to the Emacs window size.
26008 (doc-view-mode-map): Add bindings for the new functions.
26009
26010 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26011
26012 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26013 Fix typo in docstring.
26014
26015 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26016
26017 * files.el (file-size-human-readable): Produce one digit after
26018 decimal, like "ls -lh" does.
26019
26020 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26021 the file size representation.
26022
26023 * simple.el (list-processes): If async subprocesses are not
26024 available, error out with a clear error message.
26025
26026 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26027
26028 * help.el (help-form-show): New function, to be called from C.
26029 Put help-form output in a buffer named differently than *Help*.
26030
26031 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26032
26033 * files.el (file-size-human-readable): New function.
26034
26035 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26036 computing the representation inline. Don't require `cl'.
26037
26038 2011-04-08 Glenn Morris <rgm@gnu.org>
26039
26040 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26041
26042 * net/browse-url.el (browse-url-firefox):
26043 Test system-type, not system-configuration.
26044
26045 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26046 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26047 Use log-edit-empty-buffer-p. (Bug#7598)
26048
26049 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26050 (rlogin-mode-map): Initialize in the defvar.
26051 (rlogin): Use ignore-errors.
26052
26053 * replace.el (occur-mode-map): Some fixes for menu items.
26054
26055 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26056
26057 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26058
26059 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26060
26061 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26062 issuing unused warnings.
26063
26064 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26065 macro directly.
26066
26067 * simple.el: Lisp reimplement of list-processes. Based on an
26068 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26069 (process-menu-mode): New major mode.
26070 (list-processes--refresh, list-processes):
26071 (process-menu-visit-buffer): New functions.
26072
26073 * files.el (save-buffers-kill-emacs): Don't assume any return
26074 value of list-processes, which is undocumented anyway.
26075
26076 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26077
26078 * emacs-lisp/tabulated-list.el: New file.
26079
26080 * emacs-lisp/package.el: Use Tabulated List mode.
26081 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26082 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26083 table format using Tabulated List mode variables.
26084 (package--push): New macro, replacing package-list-maybe-add.
26085 (package-menu--generate): Use package--push. Renamed from
26086 package--generate-package-list.
26087 (package-menu-refresh, list-packages): Use it.
26088 (package-menu--print-info): Rename from package-print-package.
26089 Return insertion data instead of inserting it directly.
26090 (package-menu-describe-package, package-menu-execute):
26091 Use tabulated-list-get-id.
26092 (package-menu-mark-delete, package-menu-mark-install)
26093 (package-menu-mark-unmark, package-menu-backup-unmark)
26094 (package-menu-mark-obsolete-for-deletion):
26095 Use tabulated-list-put-tag.
26096 (package--list-packages, package-menu-revert)
26097 (package-menu-get-package, package-menu-get-version)
26098 (package-menu-sort-by-column): Functions deleted.
26099 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26100 (package-menu--status-predicate, package-menu--version-predicate)
26101 (package-menu--name-predicate)
26102 (package-menu--description-predicate): Handle arguments in the
26103 Tabulated List format.
26104 (package-list-packages-no-fetch): Call list-packages.
26105
26106 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26107
26108 * files.el (after-find-file-from-revert-buffer): Remove variable.
26109 (after-find-file): Don't bind it.
26110 (revert-buffer-in-progress-p): New variable.
26111 (revert-buffer): Bind it.
26112 Pass nil for `after-find-file-from-revert-buffer'.
26113
26114 * saveplace.el (save-place-find-file-hook): Use new variable
26115 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26116
26117 2011-04-06 Glenn Morris <rgm@gnu.org>
26118
26119 * Makefile.in (AUTOGEN_VCS): New variable.
26120 (autoloads): Use $AUTOGEN_VCS.
26121
26122 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26123 * calendar/calendar.el (calendar-mode-map):
26124 Check for toolkit scroll bars. (Bug#8305)
26125
26126 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26127
26128 * minibuffer.el (completion-in-region--postch)
26129 (completion-in-region-mode): Remove unnecessary messages.
26130
26131 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26132
26133 * font-lock.el (font-lock-refresh-defaults):
26134 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26135 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26136
26137 * info.el (Info-directory-list, Info-read-node-name-2)
26138 (Info-split-parameter-string): Doc fixes.
26139 (Info-virtual-nodes): Reflow docstring.
26140 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26141 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26142 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26143 Fix typos in docstrings.
26144 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26145 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26146 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26147 (Info-restore-desktop-buffer): Mark unused parameters.
26148 (Info-directory-find-file, Info-directory-find-node)
26149 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26150 (Info-virtual-index-find-node, Info-apropos-find-file)
26151 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26152 Mark unused parameters; fix typos in docstrings.
26153 (Info-virtual-index): Remove unused local variable `nodename'.
26154
26155 2011-04-05 Deniz Dogan <deniz@dogan.se>
26156
26157 * net/rcirc.el: Update my e-mail address.
26158 (rcirc-mode-map): Remove M-o binding.
26159
26160 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26161
26162 * startup.el (command-line): Save the cursor's theme-face
26163 directly, instead of using face-override-spec.
26164
26165 * custom.el (load-theme): Minor optimization in assigning faces.
26166
26167 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26168
26169 * help-fns.el (describe-variable): Complete all variables having
26170 documentation, including keywords.
26171 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26172
26173 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26174
26175 Convert to lexical-binding.
26176
26177 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26178 (bs--get-marked-string, bs--get-modified-string)
26179 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26180 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26181 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26182
26183 * ehelp.el (electric-help-execute-extended)
26184 (electric-help-ctrl-x-prefix):
26185 * hexl.el (hexl-revert-buffer-function):
26186 * linum.el (linum-after-change, linum-after-scroll):
26187 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26188
26189 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26190
26191 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26192
26193 * epa-dired.el:
26194 * epa-mail.el:
26195 * epa-hook.el:
26196 * epa-file.el:
26197 * epa.el:
26198 * epg.el: Use lexical binding.
26199
26200 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26201
26202 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26203
26204 * textmodes/flyspell.el (flyspell-word): Recognize default
26205 dictionary case for flyspell-mark-duplications-exceptions.
26206 Use regexp matching for languages.
26207 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26208 default dictionary (Bug#7926).
26209
26210 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26211
26212 * emacs-lisp/package.el (package--with-work-buffer):
26213 Recognize https URLs.
26214
26215 * net/network-stream.el: Move from gnus/proto-stream.el.
26216 Change prefix to network-stream throughout.
26217 (open-protocol-stream): Merge into open-network-stream, leaving
26218 open-protocol-stream as an alias. Handle nil BUFFER args.
26219
26220 * subr.el (open-network-stream): Move to net/network-stream.el.
26221
26222 2011-04-02 Glenn Morris <rgm@gnu.org>
26223
26224 * find-dired.el (find-exec-terminator): New option.
26225 (find-ls-option): Test for -ls support.
26226 (find-ls-subdir-switches): Test for -b in find-ls-option.
26227 (find-dired, find-grep-dired): Doc fixes.
26228 (find-dired): Use find-exec-terminator.
26229
26230 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26231 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26232 (find-name-arg): Remove purecopy.
26233
26234 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26235 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26236 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26237 accordingly. Don't add the null-device if not needed.
26238
26239 * files.el (save-some-buffers): Doc fix.
26240
26241 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26242
26243 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26244
26245 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26246
26247 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26248 Use `dolist' rather than `mapcar'.
26249
26250 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26251
26252 Add lexical binding.
26253
26254 * subr.el (apply-partially): Use new closures rather than CL.
26255 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26256 (dolist, dotimes): Use slightly different expansion for lexical code.
26257 (functionp): Move to C.
26258 (letrec): New macro.
26259 (with-wrapper-hook): Use it and apply-partially instead of CL.
26260 (eval-after-load): Preserve lexical-binding.
26261 (save-window-excursion, with-output-to-temp-buffer): Turn them
26262 into macros.
26263
26264 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26265
26266 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26267 than the arglist.
26268 (help-add-fundoc-usage): Don't add `Not documented'.
26269 (help-function-arglist): Handle closures, subroutines, and new
26270 byte-code-functions.
26271 (help-make-usage): Remove leading underscores.
26272 (describe-function-1): Handle closures.
26273 (describe-variable): Use special-variable-p for completion.
26274
26275 * files.el (lexical-binding): Declare safe.
26276
26277 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26278 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26279 (pcase): Add `let' pattern.
26280 Change memoization so it actually works.
26281 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26282 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26283 <let>: New case.
26284
26285 * emacs-lisp/macroexp.el: Use lexical binding.
26286 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26287 Don't convert ' to #' without checking that it's indeed quoting
26288 a lambda.
26289
26290 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26291 Use eval-sexp-add-defvars.
26292 (eval-sexp-add-defvars): New fun.
26293
26294 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26295
26296 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26297 Don't autoload.
26298 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26299 than the internal `byte-compile-lambda'.
26300 (defmethod): Don't hide code under quotes.
26301 (eieio-defmethod): New `code' argument.
26302
26303 * emacs-lisp/eieio-comp.el: Remove.
26304
26305 * emacs-lisp/edebug.el (edebug-eval-defun)
26306 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26307 (edebug-toggle): Avoid `eval'.
26308
26309 * emacs-lisp/disass.el (disassemble-internal): Handle new
26310 `closure' objects.
26311 (disassemble-1): Handle new byte codes.
26312
26313 * emacs-lisp/cl.el (pushnew): Silence warning.
26314
26315 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26316 (cl-byte-compile-throw): Remove.
26317 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26318
26319 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26320 closures.
26321
26322 * emacs-lisp/cconv.el: New file.
26323
26324 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26325 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26326 (byte-compile-initial-macro-environment):
26327 Handle declare-function here.
26328 (byte-compile--lexical-environment): New var.
26329 (byte-stack-ref, byte-stack-set, byte-discardN)
26330 (byte-discardN-preserve-tos): New lap codes.
26331 (byte-interactive-p): Don't use any more.
26332 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26333 New macros.
26334 (byte-compile-lapcode): Use them and handle new lap codes.
26335 (byte-compile-obsolete): Remove.
26336 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26337 (byte-compile-arglist-warn): Check late def of inlinable funs.
26338 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26339 since they should have been expanded by now.
26340 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26341 (byte-compile-from-buffer): Remove unused second arg.
26342 (byte-compile-preprocess): New function.
26343 (byte-compile-toplevel-file-form): New function to distinguish
26344 file-form calls from outside from file-form calls from hunk-handlers.
26345 (byte-compile-file-form): Simplify.
26346 (byte-compile-file-form-defsubst): Remove.
26347 (byte-compile-file-form-defmumble): Simplify now that
26348 byte-compile-lambda always returns a byte-code-function.
26349 (byte-compile): Preprocess.
26350 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26351 Remove, not used any more.
26352 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26353 (byte-compile-make-args-desc): New funs.
26354 (byte-compile-lambda): Handle lexical functions. Always return
26355 a byte-code-function.
26356 (byte-compile-reserved-constants): New var, to make up room for
26357 closed-over variables.
26358 (byte-compile-constants-vector): Obey it.
26359 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26360 (byte-compile-macroexpand-declare-function): New function.
26361 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26362 byte-code-functions.
26363 (byte-compile-form): Check obsolescence here.
26364 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26365 (byte-compile-variable-ref): Remove.
26366 (byte-compile-dynamic-variable-op): New fun.
26367 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26368 (byte-compile-variable-set): New funs.
26369 (byte-compile-discard): Add 2 args.
26370 (byte-compile-stack-ref, byte-compile-stack-set)
26371 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26372 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26373 macroexpand-all instead.
26374 (byte-compile-quote-form): Remove.
26375 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26376 (byte-compile-bind, byte-compile-unbind): New funs.
26377 (byte-compile-let): Handle let* and lexical binding.
26378 (byte-compile-let*): Remove.
26379 (byte-compile-catch, byte-compile-unwind-protect)
26380 (byte-compile-track-mouse, byte-compile-condition-case):
26381 Handle a new :fun-body form, used for lexical scoping.
26382 (byte-compile-save-window-excursion)
26383 (byte-compile-with-output-to-temp-buffer): Remove.
26384 (byte-compile-defun): Simplify.
26385 (byte-compile-stack-adjustment): New fun.
26386 (byte-compile-out): Use it.
26387 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26388
26389 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26390 handler any more.
26391
26392 * emacs-lisp/byte-opt.el: Use lexical binding.
26393 (byte-inline-lapcode): Remove (to bytecomp).
26394 (byte-compile-inline-expand): Pay attention to inlining to/from
26395 lexically bound code.
26396 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26397 any more.
26398 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26399 any more and don't call compiler-macros.
26400 (byte-compile-splice-in-already-compiled-code): Remove.
26401 (byte-code): Don't inline any more.
26402 (disassemble-offset): Receive `bytes' as argument rather than via
26403 dynamic scoping.
26404 (byte-compile-tag-number): Declare before first use.
26405 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26406 `return' even if make-spliceable.
26407 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26408 obsolete interactive-p.
26409 (byte-optimize-lapcode): Optimize new lap-codes.
26410 Don't trip up on new form of `byte-constant' lap code.
26411
26412 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26413
26414 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26415
26416 * custom.el (custom-initialize-default, custom-declare-variable):
26417 Use `defvar'.
26418
26419 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26420 New variables.
26421 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26422 (COMPILE_FIRST): Add macroexp and cconv.
26423 * makefile.w32-in: Mirror changes in Makefile.in.
26424
26425 * vc/cvs-status.el:
26426 * vc/diff-mode.el:
26427 * vc/log-edit.el:
26428 * vc/log-view.el:
26429 * vc/smerge-mode.el:
26430 * textmodes/bibtex-style.el:
26431 * textmodes/css-mode.el:
26432 * startup.el:
26433 * uniquify.el:
26434 * minibuffer.el:
26435 * newcomment.el:
26436 * reveal.el:
26437 * server.el:
26438 * mpc.el:
26439 * emacs-lisp/smie.el:
26440 * doc-view.el:
26441 * dired.el:
26442 * abbrev.el: Use lexical binding.
26443
26444 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26445
26446 * info.el (info-display-manual): New function.
26447
26448 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26449
26450 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26451
26452 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26453
26454 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26455 an entry for that server in rcirc-authinfo. (Bug#8385)
26456
26457 2011-03-31 Glenn Morris <rgm@gnu.org>
26458
26459 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26460
26461 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26462
26463 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26464
26465 * progmodes/python.el (python-default-interpreter)
26466 (python-python-command-args, python-jython-command-args)
26467 (python-which-shell, python-which-args, python-which-bufname)
26468 (python-file-queue, python-comint-output-filter-function)
26469 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26470 variables and functions.
26471
26472 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26473
26474 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26475 (completion-in-region-mode): New minor mode.
26476 (completion-in-region): Use it.
26477 (completion-in-region--data, completion-in-region-mode-map): New vars.
26478 (completion-in-region--postch): New function.
26479 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26480 New vars.
26481 (completion--capf-wrapper): New function.
26482 (completion-at-point): Use it to track well-behavedness of
26483 hook functions.
26484 (completion-help-at-point): New command.
26485
26486 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26487
26488 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26489 syntax class to search for whitespace on a single line
26490 (Message-ID: <4D938140.4030905@redhat.com>).
26491
26492 2011-03-30 Leo Liu <sdl.web@gmail.com>
26493
26494 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26495 New commands.
26496 (edit-abbrevs-map): Bind them here.
26497 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26498
26499 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26500
26501 * allout.el (allout-hide-by-annotation, allout-flag-region):
26502 Reduce possibility of overlay leakage by making them volatile.
26503
26504 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26505 hash is not shared between buffers. Mode initialization is
26506 responsible for giving it a useful starting value.
26507 (allout-item-span): Reduce possibility of overlay leakage by
26508 making them volatile.
26509 (allout-widgets-count-buttons-in-region): Add diagnostic function
26510 for tracking down button overlay leaks.
26511
26512 2011-03-29 Leo Liu <sdl.web@gmail.com>
26513
26514 * ido.el (ido-read-internal): Use the default history var
26515 minibuffer-history if no HISTORY is specified.
26516
26517 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26518
26519 * net/imap.el (imap-shell-open, imap-process-connection-type):
26520 Use imap-process-connection-type for 'shell' streams as well as
26521 Kerberos, SSL, other subprocesses.
26522
26523 2011-03-28 Leo Liu <sdl.web@gmail.com>
26524
26525 * abbrev.el (abbrev-table-empty-p): New function.
26526 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26527 nonempty ones. (Bug#5937)
26528
26529 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26530
26531 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26532
26533 2011-03-27 Leo Liu <sdl.web@gmail.com>
26534
26535 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26536 for foreground and background colors.
26537 (ansi-color-make-color-map): Adapt.
26538
26539 2011-03-25 Leo Liu <sdl.web@gmail.com>
26540
26541 * midnight.el (midnight-time-float): Remove. Note it calculates
26542 the microsecond component incorrectly and seconds-to-time does the
26543 same job.
26544 Remove redundant (require 'timer).
26545
26546 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26547 (ido-completions): Remove unused arguments. (Bug#8329)
26548
26549 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26550
26551 * minibuffer.el (completion--flush-all-sorted-completions):
26552 Remove itself from hook.
26553 (completion-at-point): Let the functions perform the completion
26554 immediately and return nil or t.
26555 * comint.el (comint-dynamic-complete-functions): Now identical to
26556 completion-at-point-functions.
26557 (comint-dynamic-list-input-ring): Remove unused var `index'.
26558 (comint--match-partial-filename, comint--unquote&expand-filename):
26559 New funs, split from comint-match-partial-filename.
26560 (comint-dynamic-complete): Use completion-at-point.
26561 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26562
26563 2011-03-24 Drew Adams <drew.adams@oracle.com>
26564
26565 * thingatpt.el: Support `defun'.
26566
26567 2011-03-23 Leo Liu <sdl.web@gmail.com>
26568
26569 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26570
26571 * help-mode.el (help-mode-finish): Tweak regexp.
26572
26573 2011-03-23 Glenn Morris <rgm@gnu.org>
26574
26575 * eshell/esh-opt.el (eshell-eval-using-options):
26576 Do not bind unused local variable `eshell-option-stub'.
26577
26578 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26579
26580 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26581
26582 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26583 keymap variable in `with-no-warnings' to avoid a warning when the
26584 keymap has been already `defconst'ed.
26585
26586 2011-03-22 Leo Liu <sdl.web@gmail.com>
26587
26588 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26589 encode all chars in abbrevs; otherwise use emacs-mule or
26590 utf-8-emacs. (Bug#8308)
26591
26592 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26593
26594 * simple.el (backward-delete-char-untabify):
26595 Avoid warning about using `delete-backward-char'.
26596
26597 * image.el (image-type-file-name-regexps): Make it variable.
26598 `imagemagick-register-types' modifies it, and the user may want
26599 to add new extensions for known image types.
26600 (imagemagick-register-types): Throw error if not using ImageMagick.
26601
26602 2011-03-22 Leo Liu <sdl.web@gmail.com>
26603
26604 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26605 located before rcirc-prompt-end-marker.
26606 (rcirc-complete): Error if point is not after rcirc prompt.
26607 Handle the case when table is nil.
26608 (rcirc-user-authenticated): Define to fix compiler warning.
26609
26610 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26611
26612 * custom.el (custom--inhibit-theme-enable): Make it affect only
26613 custom-theme-set-variables and custom-theme-set-faces.
26614 (provide-theme): Ignore custom--inhibit-theme-enable.
26615 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26616 (custom-enabling-themes): Delete variable.
26617 (enable-theme): Accept only loaded themes as arguments.
26618 Ignore the special custom-enabled-themes variable.
26619 (custom-enabled-themes): Forbid themes from setting this.
26620 Eliminate use of custom-enabling-themes.
26621 (custom-push-theme): Quote "changed" custom var entry.
26622
26623 2011-03-21 Leo Liu <sdl.web@gmail.com>
26624
26625 * ido.el (ido-read-internal): Add ido-selected to history instead
26626 of user input.
26627
26628 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26629
26630 * subr.el (deferred-action-list, deferred-action-function):
26631 Mark obsolete.
26632
26633 2011-03-21 Leo Liu <sdl.web@gmail.com>
26634
26635 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26636 change on 2011-02-13 (bug#8309).
26637
26638 * minibuffer.el (read-file-name-function): Change default value.
26639 (read-file-name--defaults): Rename from read-file-name-defaults.
26640 (read-file-name-default): Rename from read-file-name.
26641 (read-file-name): Call read-file-name-function.
26642
26643 2011-03-21 Glenn Morris <rgm@gnu.org>
26644
26645 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26646 Doc fixes.
26647
26648 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26649
26650 * cus-theme.el: Add missing provide statement.
26651 (customize-create-theme): Extract theme value correctly.
26652 (custom-theme-visit-theme): Autoload.
26653 (customize-create-theme): Prompt before inserting default faces.
26654
26655 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26656
26657 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26658 units and musical notes.
26659
26660 2011-03-20 Leo Liu <sdl.web@gmail.com>
26661
26662 * ido.el (ido-read-internal): Use completing-read-default.
26663 (ido-completing-read): Fix compatibility with completing-read.
26664
26665 2011-03-20 Christian Ohler <ohler@gnu.org>
26666
26667 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26668 (ert-delete-all-tests): Use `called-interactively-p' rather than
26669 `interactive-p'.
26670 (ert--make-xrefs-region): Respect END.
26671
26672 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26673
26674 * dired-aux.el (dired-create-directory): Signal an error if the
26675 directory already exists (Bug#8246).
26676
26677 * facemenu.el (list-colors-display): Call list-faces-display
26678 inside with-help-window.
26679 (list-colors-print): Use display property to align the final
26680 column, instead of checking window-width.
26681
26682 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26683
26684 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26685 windows-nt systems.
26686 (emerge-protect-metachars): Quote correctly for ms-dos and
26687 windows-nt systems.
26688
26689 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26690
26691 * info.el (info-initialize): Replace all uses of `:' with
26692 path-separator for compatibility with non-Unix systems.
26693 Cache quoting of path-separator. (Bug#8258)
26694
26695 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26696
26697 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26698 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26699 (mouse-avoidance-mode): Fix typos in docstrings.
26700
26701 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26702
26703 * startup.el (package-subdirectory-regexp): Move from package.el.
26704 Omit \\` and \\', and let callers add them.
26705
26706 * emacs-lisp/package.el (package-strip-version)
26707 (package-load-all-descriptors): Add \\` and \\' to
26708 package-subdirectory-regexp before using it.
26709 (package-untar-buffer): New arg DIR; ensure that file untars only
26710 into this expected directory. Remove superfluous delete-region.
26711 (package-unpack): Caller changed.
26712 (package-tar-file-info): Use package-subdirectory-regexp.
26713
26714 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26715
26716 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26717 diff-mode-shared-map (bug#8284).
26718 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26719
26720 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26721
26722 * calendar/time-date.el (format-seconds): Use assoc instead of
26723 assoc-string, since assoc-string doesn't exist in XEmacs.
26724
26725 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26726
26727 * custom.el (custom-known-themes): Reflow docstring.
26728 (custom-theme-load-path): Fix typo in docstring.
26729 (load-theme): Fix typo in error message.
26730 (custom-available-themes, custom-variable-theme-value):
26731 Use `let', not `let*'.
26732
26733 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26734
26735 * calc/README: Mention inclusion of musical notes.
26736
26737 * calc/calc-units.el (calc-lu-quant): Rename from
26738 `calc-logunits-quantity'.
26739 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26740 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26741 (calc-db): Rename from `calc-dblevel'.
26742 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26743 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26744 (calc-np): Rename from `calc-nplevel'.
26745 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26746 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26747 (calc-lu-plus): Rename from `calc-logunits-add'.
26748 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26749 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26750 (calc-lu-minus): Rename from `calc-logunits-sub'.
26751 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26752 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26753 (calc-lu-times): Rename from `calc-logunits-mul'.
26754 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26755 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26756 (calc-lu-divide): Rename from `calc-logunits-div'.
26757 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26758 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26759
26760 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26761 functions being autoloaded.
26762
26763 * calc/calc.el (calc-lu-power-reference): Rename from
26764 `calc-logunits-power-reference'.
26765 (calc-lu-field-reference): Rename from
26766 `calc-logunits-field-reference'.
26767
26768 * calc/calc-help.el (calc-l-prefix-help):
26769 Mention musical note functions.
26770
26771 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26772
26773 * minibuffer.el (completion-all-sorted-completions):
26774 Use :completion-cycle-penalty text property if present.
26775
26776 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26777
26778 * allout.el (allout-yank-processing): Adjust for new rebulleting
26779 regime so bullet being yanked is used without prompting the user
26780 for a choice.
26781
26782 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26783
26784 * startup.el (command-line): Warn the user that _emacs is deprecated.
26785
26786 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26787
26788 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26789 (delphi-verbose, delphi-comment-face, delphi-string-face)
26790 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26791 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26792 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26793 (delphi-new-comment-line, delphi-font-lock-defaults)
26794 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26795 Fix typos in docstrings.
26796
26797 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26798
26799 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26800 Invert the roles of character and string values for INSTEAD, so a
26801 string is used for the more common case of a defaulting prompt.
26802
26803 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26804
26805 * progmodes/ruby-mode.el (ruby-backward-sexp):
26806 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26807 * play/gamegrid.el (gamegrid-make-face):
26808 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26809 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26810 * notifications.el (notifications-notify):
26811 * net/xesam.el (xesam-search-engines):
26812 * net/quickurl.el (quickurl-list-insert):
26813 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26814
26815 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26816
26817 * startup.el (command-line): Update package subdirectory regexp.
26818
26819 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26820
26821 * allout.el (allout-abbreviate-flattened-numbering)
26822 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26823
26824 * subr.el (read-char-choice): Only show the cursor after the prompt,
26825 not after the answer.
26826
26827 2011-03-15 Kevin Ryde <user42@zip.com.au>
26828
26829 * help-fns.el (variable-at-point): Skip leading quotes, if any
26830 (bug#8253).
26831
26832 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26833
26834 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26835 warning message.
26836
26837 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26838
26839 * shell.el (shell): When called interactively, offer to change the
26840 shell file name on remote hosts.
26841
26842 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26843
26844 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26845 integration for LDAP parameters. The host, base, user or binddn,
26846 and secret tokens can be specified in a netrc file, for instance.
26847 This is optional because an `auth-source' parameter must be
26848 specified in the search attributes.
26849
26850 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26851
26852 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26853
26854 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26855
26856 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26857 into declaration. Remove redundant and harmful binding.
26858
26859 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26860
26861 * files.el (file-ownership-preserved-p): Pass `integer' as an
26862 explicit 2nd argument to `file-attributes'. If the file's owner
26863 is the Administrators group on Windows, and the current user is
26864 Administrator, consider that a match.
26865
26866 * server.el (server-ensure-safe-dir): Consider server directory
26867 safe on MS-Windows if its owner is the Administrators group while
26868 the current Emacs user is Administrator. Use `=' to compare
26869 numerical UIDs, since they could be integers or floats.
26870
26871 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26872
26873 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26874
26875 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26876
26877 Sync with Tramp 2.2.1.
26878
26879 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26880
26881 * net/trampver.el: Update release number.
26882
26883 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26884
26885 * progmodes/compile.el (compilation--previous-directory): Fix up
26886 various nil/dead-marker mismatches (bug#8014).
26887 (compilation-directory-properties, compilation-error-properties):
26888 Don't call it at a position past the one we're about to change.
26889
26890 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26891 Disable obsolescence warnings in the file that declares it.
26892
26893 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26894
26895 * allout-widgets.el (allout-widgets-tally):
26896 Initialize allout-widgets-tally as a hash table rather than nil to
26897 prevent mode-line redisplay warnings. Also, clarify the module
26898 description and fix a comment typo.
26899
26900 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26901
26902 * help-fns.el (describe-variable): Don't complete keywords.
26903 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26904
26905 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26906
26907 * emacs-lisp/package.el (package-version-join): Impose a standard
26908 string representation for pre/alpha/beta version lists.
26909 (package-unpack-single): Standardize the directory name by passing
26910 it through package-version-join.
26911 (package-strip-rcs-id): Accept any version string that does not
26912 signal an error in version-to-list.
26913
26914 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26915
26916 * simple.el (delete-trailing-whitespace): Return nil for the
26917 benefit of `write-file-functions'.
26918
26919 2011-03-10 Glenn Morris <rgm@gnu.org>
26920
26921 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26922
26923 * vc/vc-git.el (vc-git-program): New option.
26924 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26925 (vc-git--call): Use it.
26926
26927 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26928
26929 * cus-edit.el (Custom-newline): If no button at point, look
26930 for a subgroup button at start-of-line. (Bug#2298)
26931
26932 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26933
26934 2011-03-10 Julien Danjou <julien@danjou.info>
26935
26936 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26937 `cursor-type' is nil.
26938
26939 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26940
26941 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26942
26943 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26944
26945 * allout.el: Change so yank of distinctive-bullet items
26946 preserves the existing header prefix, rebulleting it if necessary,
26947 rather than replacing it. This is necessary for proper operation
26948 of cooperative addons like allout-widgets.
26949 (allout-make-topic-prefix, allout-rebullet-heading):
26950 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26951 value as alternate bullet to be used, instead of prompting the user
26952 for a bullet character.
26953
26954 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26955
26956 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26957 Do not use `tramp-file-name-port', because this returns also
26958 `tramp-default-port'.
26959
26960 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26961
26962 * net/rcirc.el (rcirc-handler-001): Remove useless
26963 with-rcirc-process-buffer.
26964 (rcirc-check-auth-status): Swap arguments to string-match.
26965
26966 2011-03-09 Glenn Morris <rgm@gnu.org>
26967
26968 * shell.el (shell-mode):
26969 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26970
26971 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26972 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26973
26974 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26975
26976 * emacs-lisp/package.el (package-refresh-contents)
26977 (package-menu-execute): Use condition-case-no-debug.
26978
26979 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26980
26981 * simple.el (shell-command-to-string): Use `process-file'.
26982
26983 * emacs-lisp/package.el (package-tar-file-info): Handle also
26984 remote files.
26985
26986 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26987 Use `equal' for upload base check.
26988
26989 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26990
26991 * textmodes/texinfo.el (texinfo-environments):
26992 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26993
26994 2011-03-08 Glenn Morris <rgm@gnu.org>
26995
26996 * cus-start.el (cursor-in-non-selected-windows):
26997 Fix :set quoting oddness. (Bug#8192)
26998
26999 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27000 in some setf expressions. (Bug#2159)
27001
27002 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27003
27004 * custom.el (custom-available-themes): Return themes in
27005 alphabetical order.
27006
27007 See ChangeLog.15 for earlier changes.
27008
27009 ;; Local Variables:
27010 ;; coding: utf-8
27011 ;; End:
27012
27013 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27014
27015 This file is part of GNU Emacs.
27016
27017 GNU Emacs is free software: you can redistribute it and/or modify
27018 it under the terms of the GNU General Public License as published by
27019 the Free Software Foundation, either version 3 of the License, or
27020 (at your option) any later version.
27021
27022 GNU Emacs is distributed in the hope that it will be useful,
27023 but WITHOUT ANY WARRANTY; without even the implied warranty of
27024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27025 GNU General Public License for more details.
27026
27027 You should have received a copy of the GNU General Public License
27028 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.