* lisp/isearch.el (minibuffer-local-isearch-map): Bind "\r" to `exit-minibuffer'
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-15 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4 `exit-minibuffer' instead of
5 `isearch-nonincremental-exit-minibuffer'.
6 (isearch-edit-string): Remove mention of
7 `isearch-nonincremental-exit-minibuffer' from docstring.
8 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9 (isearch-forward-exit-minibuffer)
10 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11
12 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * loadup.el: Just use unversioned DOC.
15
16 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
17 literals as extending to EOB.
18 (nxml-last-fontify-end): Remove unused variable.
19 (nxml-after-change1): Use with-silent-modifications.
20 (nxml-extend-after-change-region): Simplify.
21 (nxml-extend-after-change-region1): Remove function.
22 (nxml-after-change1): Don't adjust for dependent regions.
23 (nxml-fontify-matcher): Simplify.
24 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
25 (xmltok-add-dependent): Remove function.
26 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
27 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
28 (xmltok-scan-prolog-after-processing-instruction-open): Treat
29 unclosed <[[, <?, comment, and other literals as extending to EOB.
30 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
31 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
32 Remove functions.
33 (rng-do-some-validation-1): Don't mark dependent regions.
34 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
35 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
36 (nxml-clear-dependent-regions): Remove functions.
37 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
38 (nxml-ensure-scan-up-to-date):
39 Don't clear&mark dependent regions.
40
41 2013-05-15 Leo Liu <sdl.web@gmail.com>
42
43 * progmodes/octave.el (octave-goto-function-definition):
44 Improve and fix callers.
45
46 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
49 the setter (bug#14387).
50
51 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
52 surrounding group (bug#14402).
53
54 2013-05-14 Juri Linkov <juri@jurta.org>
55
56 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
57 (Bug#14390)
58
59 2013-05-14 Glenn Morris <rgm@gnu.org>
60
61 * progmodes/f90.el (f90-imenu-generic-expression):
62 Fix typo in 2013-05-08 change. (Bug#14402)
63
64 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
65
66 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
67 Remove signals for which replies are never received.
68
69 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
70
71 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
72 (gdb-handler-alist, gdb-handler-number): Remove variables.
73 (gdb-handler-list): New variable.
74 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
75 (gdb-pending-handler-p, gdb-handle-reply)
76 (gdb-remove-all-pending-triggers): New functions.
77 (gdb-discard-unordered-replies): New defcustom.
78 (gdb-handler): New defstruct.
79 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
80 instead of gdb-pending-triggers. Update docstring.
81 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
82 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
83 (gdb-var-update-handler, def-gdb-auto-update-trigger)
84 (def-gdb-auto-update-handler, gdb-get-changed-registers)
85 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
86 (gdb-frame-handler): Pending triggers are now automatically managed.
87 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
88 Remove argument.
89 (gdb-input): Automatically handles pending triggers. Update docstring.
90 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
91 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
92 Update comments.
93 (gdb-done-or-error): Now use gdb-handle-reply.
94
95 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
96
97 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
98 gdb-debug-log.
99
100 2013-05-14 Glenn Morris <rgm@gnu.org>
101
102 * subr.el (user-emacs-directory-warning): New option.
103 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
104
105 2013-05-14 Leo Liu <sdl.web@gmail.com>
106
107 * progmodes/octave.el (octave-font-lock-keywords): Fix error
108 during redisplay.
109 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
110 (octave-font-lock-texinfo-comment): Fix invalid search bound
111 error: wrong side of point.
112
113 2013-05-14 Glenn Morris <rgm@gnu.org>
114
115 * progmodes/flymake.el (flymake-xml-program): New option.
116 (flymake-xml-init): Use it.
117
118 * term/xterm.el: Provide a feature.
119
120 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
121
122 2013-05-13 Glenn Morris <rgm@gnu.org>
123
124 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
125 Add compat aliases as a hack workaround. (Bug#14384)
126
127 2013-05-13 Leo Liu <sdl.web@gmail.com>
128
129 * progmodes/octave.el (octave-indent-comment): Fix indentation for
130 ###, and %!.
131 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
132 C-M-q.
133 (octave-comment-start-skip): Include %!.
134 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
135
136 2013-05-12 Leo Liu <sdl.web@gmail.com>
137
138 * progmodes/octave.el (inferior-octave-startup): Store the value
139 of __octave_srcdir__ for octave-source-directories.
140 (inferior-octave-check-process): New function refactored out of
141 inferior-octave-send-list-and-digest.
142 (octave-source-directories)
143 (octave-find-definition-filename-function): New variables.
144 (octave-source-directories)
145 (octave-find-definition-default-filename): New functions.
146 (octave-find-definition): Improve to find functions implemented in C++.
147
148 2013-05-12 Glenn Morris <rgm@gnu.org>
149
150 * calendar/diary-lib.el (diary-outlook-format-1):
151 Don't include dayname in the output. (Bug#14349)
152
153 2013-05-11 Glenn Morris <rgm@gnu.org>
154
155 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
156
157 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
158 Treat cc-provide like provide.
159
160 2013-05-11 Kevin Ryde <user42@zip.com.au>
161
162 * cus-dep.el (custom-make-dependencies):
163 Use generated-autoload-load-name for the sake of files such
164 such cedet/semantic/bovine/c.el, where the base file name
165 is not in load-path. (Bug#5277)
166
167 2013-05-11 Glenn Morris <rgm@gnu.org>
168
169 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
170 Provide features.
171
172 2013-05-11 Leo Liu <sdl.web@gmail.com>
173
174 * progmodes/octave.el (octave-indent-comment): Improve.
175 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
176 (octave-eldoc-function-signatures, octave-eldoc-function):
177 New functions.
178 (octave-mode, inferior-octave-mode): Add eldoc support.
179
180 2013-05-11 Richard Stallman <rms@gnu.org>
181
182 * epa.el (epa-decrypt-file): Take output file name as argument
183 and read it using `interactive'.
184
185 2013-05-11 Leo Liu <sdl.web@gmail.com>
186
187 * progmodes/octave.el (octave-beginning-of-line)
188 (octave-end-of-line): Check before using up-list because it jumps
189 out of more syntactic contructs since moving to smie.
190 (octave-indent-comment): New function.
191 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
192 (octave-begin-keywords, octave-end-keywords)
193 (octave-reserved-words, octave-smie-bnf-table)
194 (octave-smie-rules): Add new keywords from Octave 3.6.4.
195
196 2013-05-11 Glenn Morris <rgm@gnu.org>
197
198 * faces.el (internal-face-x-get-resource):
199 * frame.el (ns-display-monitor-attributes-list):
200 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
201
202 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
203
204 * calc/calc-menu.el: Make it loadable in isolation.
205
206 * net/eudcb-bbdb.el: Make it loadable without bbdb.
207 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
208 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
209 (eudc-bbdb-query-internal): Require 'bbdb.
210
211 * lpr.el (lpr-headers-switches):
212 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
213
214 * progmodes/sql.el (sql-login-params): Fix and improve :type.
215
216 * emulation/edt-mapper.el: In batch mode, error rather than hang.
217
218 * term.el (term-set-escape-char): Make it idempotent.
219
220 2013-05-10 Leo Liu <sdl.web@gmail.com>
221
222 * progmodes/octave.el (inferior-octave-completion-table):
223 No longer a function and all uses changed. Use cache to speed up
224 completion due to bug#11906.
225 (octave-beginning-of-defun): Re-write to be more general.
226
227 2013-05-10 Glenn Morris <rgm@gnu.org>
228
229 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
230
231 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * comint.el (comint-redirect-send-command-to-process): Use :around
234 rather than :override for comint-redirect-filter.
235 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
236 Call it instead of comint-redirect-original-filter-function (which
237 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
238
239 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
240
241 * frame.el (display-monitor-attributes-list): Add NS case.
242 (ns-display-monitor-attributes-list): Declare.
243
244 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
245
246 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
247
248 2013-05-09 Glenn Morris <rgm@gnu.org>
249
250 * international/fontset.el (vertical-centering-font-regexp):
251 Set standard-value.
252
253 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
254
255 * bookmark.el (bookmark-search-delay):
256 * cus-start.el (vertical-centering-font-regexp):
257 * ps-mule.el (ps-mule-font-info-database-default):
258 * ps-print.el (ps-default-fg, ps-default-bg):
259 * type-break.el (type-break-good-break-interval):
260 * whitespace.el (whitespace-indentation-regexp)
261 (whitespace-space-after-tab-regexp):
262 * emacs-lisp/testcover.el (testcover-1value-functions)
263 (testcover-noreturn-functions, testcover-progn-functions)
264 (testcover-prog1-functions):
265 * emulation/viper-init.el (viper-emacs-state-cursor-color):
266 * eshell/em-glob.el (eshell-glob-translate-alist):
267 * play/tetris.el (tetris-tty-colors):
268 * progmodes/cpp.el (cpp-face-default-list):
269 * progmodes/flymake.el (flymake-allowed-file-name-masks):
270 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
271 (idlwave-help-browser-generic-args):
272 * progmodes/make-mode.el (makefile-special-targets-list):
273 * progmodes/python.el (python-shell-virtualenv-path):
274 * progmodes/verilog-mode.el (verilog-active-low-regexp)
275 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
276 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
277 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
278 * textmodes/reftex-vars.el (reftex-format-label-function):
279 * textmodes/remember.el (remember-diary-file): Fix custom types.
280
281 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
282 Add :version.
283
284 2013-05-09 Leo Liu <sdl.web@gmail.com>
285
286 * progmodes/octave.el (inferior-octave-completion-at-point):
287 Restore file completion. (Bug#14300)
288 (inferior-octave-startup): Fix incorrect highlighting for the
289 first prompt.
290
291 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * progmodes/ruby-mode.el: First cut at SMIE support.
294 (ruby-use-smie): New var.
295 (ruby-smie-grammar): New constant.
296 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
297 (ruby-smie--forward-token, ruby-smie--backward-token)
298 (ruby-smie-rules): New functions.
299 (ruby-mode-variables): Setup SMIE if applicable.
300
301 2013-05-08 Eli Zaretskii <eliz@gnu.org>
302
303 * simple.el (line-move-visual): Signal beginning/end of buffer
304 only if vertical-motion moved less than it was requested. Avoids
305 silly incorrect error messages when there are display strings with
306 multiple newlines at EOL.
307
308 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
311 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
312 (prolog-char-quote-workaround):
313 * progmodes/cperl-mode.el (cperl-under-as-char):
314 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
315 Mark as obsolete.
316 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
317 their declaration.
318 (vhdl-mode-syntax-table-init): Remove.
319
320 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
321 last change.
322
323 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
324 syntax for "_".
325 (ld-script-font-lock-keywords):
326 Change regexps to use things like \_< and \_>.
327
328 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
329 Change all regexps to use things like \_< and \_>.
330
331 * progmodes/autoconf.el (autoconf-definition-regexp)
332 (autoconf-font-lock-keywords, autoconf-current-defun-function):
333 Handle a _ with symbol syntax.
334 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
335
336 * progmodes/ada-mode.el (ada-mode-abbrev-table):
337 Consolidate declaration.
338 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
339 the declaration.
340 (ada-create-syntax-table): Remove.
341 (ada-capitalize-word): Don't mess with the syntax of "_" since it
342 already has the right syntax nowadays.
343 (ada-goto-next-word): Don't change the syntax of "_".
344
345 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
346 with-wrapper-hook.
347
348 2013-05-08 Sam Steingold <sds@gnu.org>
349
350 * thingatpt.el (thing-at-point): Accept optional second argument
351 NO-PROPERTIES to strip the text properties from the return value.
352 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
353 to `thing-at-point' instead of stripping the properties ourselves.
354 Also, when `thing-at-point' fails to find a url, prepend "http://"
355 to the filename at point on the assumption that the user is
356 pointing at something like gnu.org/gnu.
357
358 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
359
360 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
361 * faces.el (crm-separator):
362 Silence byte-compiler.
363
364 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
365 (tool-bar-map): Remove unneeded defvars.
366
367 2013-05-08 Leo Liu <sdl.web@gmail.com>
368
369 Re-work a fix for bug#10994 based on Le Wang's patch.
370 * ido.el (ido-remove-consecutive-dups): New helper.
371 (ido-completing-read): Use it.
372 (ido-chop): Revert fix for bug#10994.
373
374 2013-05-08 Adam Spiers <emacs@adamspiers.org>
375
376 * cus-edit.el (custom-save-variables):
377 Pretty-print long values. (Bug#14187)
378
379 2013-05-08 Glenn Morris <rgm@gnu.org>
380
381 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
382 (m4-mode-syntax-table): Init in the defvar.
383 (m4-mode-abbrev-table): Let define-derived-mode define it.
384
385 2013-05-08 Tom Tromey <tromey@redhat.com>
386
387 * progmodes/m4-mode.el (m4-mode-syntax-table):
388 Do not treat "_" as word constituent. (Bug#14167)
389
390 2013-05-07 Glenn Morris <rgm@gnu.org>
391
392 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
393 Remove explicit eshell-isearch-cancel-map.
394
395 * progmodes/f90.el (f90-smart-end-names): New option.
396 (f90-smart-end): Doc fix.
397 (f90-end-block-optional-name): New constant.
398 (f90-block-match): Respect f90-smart-end-names.
399
400 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * progmodes/octave.el (octave-smie-forward-token): Be more careful
403 about implicit semi-colons (bug#14218).
404
405 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
406
407 * frame.el (display-monitor-attributes-list)
408 (frame-monitor-attributes): New functions.
409
410 2013-05-06 Leo Liu <sdl.web@gmail.com>
411
412 * progmodes/octave.el (octave-syntax-propertize-function): Change
413 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
414 (octave-font-lock-keywords): Use octave-operator-regexp.
415 (octave-completion-at-point): Rename from
416 octave-completion-at-point-function.
417 (inferior-octave-directory-tracker): Robustify.
418 (octave-text-functions): Remove and fix its uses. No such things
419 any more.
420
421 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * emacs-lisp/trace.el (trace--display-buffer): New function.
424 (trace-make-advice): Use it.
425
426 2013-05-06 Juri Linkov <juri@jurta.org>
427
428 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
429 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
430 Doc fix.
431 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
432 in the help string. (Bug#12985)
433
434 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
435
436 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
437
438 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
439
440 * progmodes/perl-mode.el: Add support for here documents.
441 (perl-syntax-propertize-function): Match here-doc markers.
442 (perl-syntax-propertize-special-constructs): Find their end.
443 (perl-imenu-generic-expression): Use [:alnum:].
444
445 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
446 (advice--add-function): Refresh the advice if already present
447 (bug#14317).
448
449 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
450
451 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
452
453 2013-05-06 Glenn Morris <rgm@gnu.org>
454
455 * w32-fns.el (w32-charset-info-alist): Declare.
456
457 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
458 of its defcustom properties.
459 (eshell-cmpl-initialize): No need to load pcomplete.
460
461 * generic-x.el: No need to require comint when compiling.
462
463 * net/eudc-export.el: Make it loadable without bbdb.
464 (top-level): Use require rather than load-library.
465 (eudc-create-bbdb-record, eudc-bbdbify-phone)
466 (eudc-batch-export-records-to-bbdb)
467 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
468 Require bbdb.
469
470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
473 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
474 some tweaks, instead.
475
476 2013-05-05 Leo Liu <sdl.web@gmail.com>
477
478 * progmodes/octave.el (octave-font-lock-keywords)
479 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
480 (inferior-octave-send-list-and-digest): Improve error message.
481 (octave-mode, inferior-octave-mode): Use setq-local.
482 (octave-help): Set info-lookup-mode.
483
484 2013-05-05 Richard Stallman <rms@gnu.org>
485
486 * vc/compare-w.el (compare-windows-whitespace):
487 Treat no-break space as whitespace.
488
489 * mail/rmailsum.el (rmail-summary-rmail-update):
490 Detect empty summary and don't change selected message.
491 (rmail-summary-goto-msg): Likewise.
492
493 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
494 Doc fixes, rename args.
495
496 2013-05-05 Alan Mackenzie <acm@muc.de>
497
498 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
499
500 2013-05-05 Juri Linkov <juri@jurta.org>
501
502 * info.el (Info-read-subfile): Use (point-min) instead of (point)
503 to not add the length of the summary segment to the return value.
504 (Bug#14125)
505
506 2013-05-05 Leo Liu <sdl.web@gmail.com>
507
508 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
509 (inferior-octave-output-filter): Remove.
510 (octave-send-region, inferior-octave-startup): Fix callers.
511 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
512 (octave-binary-file-extensions): New user variable.
513 (octave-find-definition): Confirm if opening binary files.
514 (octave-help-file): Use octave-find-definition to get the binary
515 confirmation.
516 (octave-help): Adjust for octave-help-file change.
517
518 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
521 Merge the two entries that handle function definitions.
522 (pascal--syntax-propertize): New const.
523 (pascal-mode): Use it. Use setq-local.
524
525 2013-05-04 Glenn Morris <rgm@gnu.org>
526
527 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
528 (diary-from-outlook): Respect diary-from-outlook-function.
529
530 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
533 Move the declaration from C.
534 (read-minibuffer, eval-minibuffer): Move from C.
535 (completion-setup-function): Avoid minibuffer-completion-contents.
536
537 2013-05-03 Leo Liu <sdl.web@gmail.com>
538
539 * progmodes/octave.el (octave-font-lock-keywords): Do not
540 dehighlight 'end' in comments or strings.
541 (octave-completing-read, octave-goto-function-definition):
542 New helpers.
543 (octave-help-buffer): New user variable.
544 (octave-help-file, octave-help-function): New button types.
545 (octave-help): New command and bind it to C-h ;.
546 (octave-find-definition): New command and bind it to M-.
547 (user-error): Alias to error if not defined.
548
549 2013-05-02 Leo Liu <sdl.web@gmail.com>
550
551 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
552 for \. (bug#14332)
553 (octave-font-lock-keywords): Include [ and {.
554
555 2013-05-02 Leo Liu <sdl.web@gmail.com>
556
557 * progmodes/octave.el (inferior-octave-startup-file): Change default.
558 (inferior-octave): Remove calling comint-mode and return the buffer.
559 (inferior-octave-startup): Cosmetic changes.
560
561 2013-05-02 Leo Liu <sdl.web@gmail.com>
562
563 * progmodes/octave.el (octave-syntax-propertize-function):
564 Include the case when ' is at line beginning. (Bug#14336)
565
566 2013-05-02 Glenn Morris <rgm@gnu.org>
567
568 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
569 * desktop.el (vc-dir-mode): Just autoload it here.
570
571 2013-05-02 Alan Mackenzie <acm@muc.de>
572
573 Eliminate variable c-standard-font-lock-fontify-region-function.
574 * progmodes/cc-mode.el
575 (c-standard-font-lock-fontify-region-function): Remove.
576 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
577
578 2013-05-01 Leo Liu <sdl.web@gmail.com>
579
580 * progmodes/octave.el: Compatible with older emacs-24 releases.
581 (inferior-octave-has-built-in-variables): Remove. Built-in
582 variables were removed from Octave in 2007.
583 (inferior-octave-startup): Fix uses.
584 (comint-line-beginning-position): Remove compatibility code for
585 emacs 21.
586
587 2013-05-01 Juri Linkov <juri@jurta.org>
588
589 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
590
591 2013-05-01 Juri Linkov <juri@jurta.org>
592
593 * comint.el (comint-previous-matching-input): Don't print message
594 "History item: %d" when `isearch-mode' is active.
595 (comint-history-isearch-message): Print message "History item: %d"
596 when `comint-input-ring-index' is not empty and this function is
597 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
598
599 2013-05-01 Leo Liu <sdl.web@gmail.com>
600
601 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
602 definitions. Use completion-at-point to insert keywords.
603 (octave-abbrev-start): Remove.
604 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
605
606 2013-04-30 Leo Liu <sdl.web@gmail.com>
607
608 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
609 change.
610
611 2013-04-30 Alan Mackenzie <acm@muc.de>
612
613 Handle arbitrarily long C++ member initialisation lists.
614 * progmodes/cc-engine.el (c-back-over-member-initializers):
615 new function.
616 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
617 (most) member init lists.
618
619 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
620
621 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
622 variable.
623
624 2013-04-30 Leo Liu <sdl.web@gmail.com>
625
626 * progmodes/octave.el (octave-variables): Remove. No builtin
627 variables any more. All converted to functions.
628 (octave-font-lock-keywords, octave-completion-at-point-function):
629 Fix uses.
630 (octave-font-lock-texinfo-comment): New user variable.
631 (octave-texinfo-font-lock-keywords): New variable for texinfo
632 comment block.
633 (octave-function-comment-block): New face.
634 (octave-font-lock-texinfo-comment): New function.
635 (octave-mode): Font lock texinfo comment block.
636
637 2013-04-29 Leo Liu <sdl.web@gmail.com>
638
639 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
640 indexing expression.
641 (octave-continuation-string): Do not use \.
642 (inferior-octave-complete-impossible): Remove.
643 (inferior-octave-completion-table)
644 (inferior-octave-completion-at-point): Remove its uses.
645 (inferior-octave-startup): completion_matches was introduced to
646 Octave in 1996 so safe to assume it.
647 (octave-function-file-comment): Improve to follow how Octave does it.
648 (octave-update-function-file-comment): Tweak.
649
650 2013-04-29 Leo Liu <sdl.web@gmail.com>
651
652 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
653 (inferior-octave-startup): Remove inferior-octave-startup-hook.
654 (octave-function-file-comment): Fix typo.
655 (octave-sync-function-file-names): Use read-char-choice.
656
657 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
658
659 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
660 to t for the less important warnings.
661
662 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
663
664 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
665
666 2013-04-27 Glenn Morris <rgm@gnu.org>
667
668 * vc/log-view.el (log-view-current-entry):
669 Treat "---" separator lines as part of the following rev. (Bug#14169)
670
671 2013-04-27 Juri Linkov <juri@jurta.org>
672
673 * subr.el (read-number): Doc fix about using it by interactive
674 code letter `n'. (Bug#14254)
675
676 2013-04-27 Juri Linkov <juri@jurta.org>
677
678 * desktop.el (desktop-auto-save-timeout): New option.
679 (desktop-file-checksum): New variable.
680 (desktop-save): Add optional arg `auto-save' and don't auto-save
681 if nothing changed.
682 (desktop-auto-save-timer): New variable.
683 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
684 (after-init-hook): Call `desktop-auto-save-set-timer'.
685 Suggested by Reuben Thomas <rrt@sc3d.org> in
686 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
687
688 2013-04-27 Leo Liu <sdl.web@gmail.com>
689
690 * progmodes/octave.el (octave-function-file-p)
691 (octave-skip-comment-forward, octave-function-file-comment)
692 (octave-update-function-file-comment): New functions.
693 (octave-mode-map): Bind C-c ; to
694 octave-update-function-file-comment.
695 (octave-mode-menu): Add octave-update-function-file-comment.
696 (octave-mode, inferior-octave-mode): Fix doc-string.
697 (octave-insert-defun): Conform to Octave's coding convention.
698 (Bug#14285)
699
700 * files.el (basic-save-buffer): Don't let errors in
701 before-save-hook prevent saving buffer.
702
703 2013-04-20 Roland Winkler <winkler@gnu.org>
704
705 * faces.el (read-face-name): Use completing-read if arg multiple
706 is nil.
707
708 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
709
710 * ls-lisp.el (ls-lisp-insert-directory): If no files are
711 displayed, move point to after the totals line.
712 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
713 for the details.
714
715 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * emacs-lisp/package.el (package-autoload-ensure-default-file):
718 Add current dir to the load-path.
719 (package-generate-autoloads): Don't rely on
720 autoload-ensure-default-file.
721
722 2013-04-26 Reuben Thomas <rrt@sc3d.org>
723
724 * textmodes/remember.el (remember-store-in-files): Document that
725 the file name format is passed to `format-time-string'.
726
727 2013-04-26 Leo Liu <sdl.web@gmail.com>
728
729 * progmodes/octave.el (octave-sync-function-file-names): New function.
730 (octave-mode): Use it in before-save-hook.
731
732 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
735 (bug#14274).
736
737 * progmodes/octave.el (octave-smie-forward-token): Properly skip
738 \n and comment, even if it's not an implicit ; (bug#14218).
739
740 2013-04-26 Glenn Morris <rgm@gnu.org>
741
742 * subr.el (read-number): Once more use `read' rather than
743 `string-to-number', to trap non-numeric input. (Bug#14254)
744
745 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
746
747 * emacs-lisp/syntax.el (syntax-propertize-multiline):
748 Use `syntax-multiline' text property consistently instead of
749 `font-lock-multiline'. (bug#14237).
750
751 2013-04-26 Glenn Morris <rgm@gnu.org>
752
753 * emacs-lisp/shadow.el (list-load-path-shadows):
754 No longer necessary to check for duplicate simple.el, since
755 2012-07-07 change to init_lread to not include installation lisp
756 directories in load-path when running uninstalled. (Bug#14270)
757
758 2013-04-26 Leo Liu <sdl.web@gmail.com>
759
760 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
761 (octave-mode, inferior-octave-mode): Use setq-local.
762 (octave-not-in-string-or-comment-p): Rename to
763 octave-in-string-or-comment-p.
764 (octave-in-comment-p, octave-in-string-p)
765 (octave-in-string-or-comment-p): Replace defsubst with defun.
766
767 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
768
769 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
770
771 2013-04-25 Bastien Guerry <bzg@gnu.org>
772
773 * textmodes/remember.el (remember-data-directory)
774 (remember-directory-file-name-format): Fix custom types.
775
776 2013-04-25 Leo Liu <sdl.web@gmail.com>
777
778 * progmodes/octave.el (octave-completion-at-point-function):
779 Make use of inferior octave process.
780 (octave-initialize-completions): Remove.
781 (inferior-octave-completion-table): New function.
782 (inferior-octave-completion-at-point): Use it.
783 (octave-completion-alist): Remove.
784
785 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * progmodes/opascal.el: Use font-lock and syntax-propertize.
788 (opascal-mode-syntax-table): New var.
789 (opascal-literal-kind, opascal-is-literal-end)
790 (opascal-literal-token-at): Rewrite.
791 (opascal--literal-start-re, opascal-font-lock-keywords)
792 (opascal--syntax-propertize): New constants.
793 (opascal-font-lock-defaults): Adjust.
794 (opascal-mode): Use them. Set comment-<foo> variables as well.
795 (delphi-comment-face, opascal-comment-face, delphi-string-face)
796 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
797 (delphi-other-face, opascal-other-face): Remove face variables.
798 (opascal-save-state): Remove macro.
799 (opascal-fontifying-progress-step): Remove constant.
800 (opascal--ignore-changes): Remove var.
801 (opascal-set-token-property, opascal-parse-next-literal)
802 (opascal-is-stable-literal, opascal-complete-literal)
803 (opascal-is-literal-start, opascal-face-of)
804 (opascal-parse-region, opascal-parse-region-until-stable)
805 (opascal-fontify-region, opascal-after-change)
806 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
807 (opascal-debug-parse-region, opascal-debug-parse-window)
808 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
809 (opascal-debug-fontify-buffer): Remove.
810 (opascal-debug-mode-map): Adjust accordingly.
811
812 2013-04-25 Leo Liu <sdl.web@gmail.com>
813
814 Merge octave-mod.el and octave-inf.el into octave.el with some
815 cleanups.
816 * progmodes/octave.el: New file renamed from octave-mod.el.
817 * progmodes/octave-inf.el: Merged into octave.el.
818 * progmodes/octave-mod.el: Renamed to octave.el.
819
820 2013-04-25 Tassilo Horn <tsdh@gnu.org>
821
822 * textmodes/reftex-vars.el
823 (reftex-label-ignored-macros-and-environments): New defcustom.
824
825 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
826
827 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
828
829 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
830 (smie-indent-keyword): Improve the check to ensure that the next
831 comment is really on the same line.
832 (smie-indent-comment): Don't align with a subsequent closer (or eob).
833
834 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
835 semi-colons if the line is not otherwise empty (bug#14218).
836
837 2013-04-25 Glenn Morris <rgm@gnu.org>
838
839 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
840
841 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * progmodes/opascal.el (opascal-set-token-property): Rename from
844 opascal-set-text-properties and only set `token' (bug#14134).
845 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
846 (opascal-literal-text-properties): Remove.
847 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
848 Adjust callers.
849
850 2013-04-24 Reuben Thomas <rrt@sc3d.org>
851
852 * textmodes/remember.el (remember-handler-functions): Add an
853 option for a new handler `remember-store-in-files'.
854 (remember-data-directory, remember-directory-file-name-format):
855 New options.
856 (remember-store-in-files): New function to store remember notes
857 as separate files within a directory.
858
859 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
860
861 * progmodes/compile.el (compilation-next-error-function):
862 Pass "formats" to compilation-find-file (bug#11777).
863
864 2013-04-24 Glenn Morris <rgm@gnu.org>
865
866 * vc/vc-bzr.el (vc-bzr-print-log):
867 * vc/vc-hg.el (vc-hg-print-log):
868 * vc/vc-svn.el (vc-svn-print-log):
869 Fix START-REVISION with LIMIT != 1. (Bug#14168)
870
871 * vc/vc-bzr.el (vc-bzr-print-log):
872 * vc/vc-cvs.el (vc-cvs-print-log):
873 * vc/vc-git.el (vc-git-print-log):
874 * vc/vc-hg.el (vc-hg-print-log):
875 * vc/vc-mtn.el (vc-mtn-print-log):
876 * vc/vc-rcs.el (vc-rcs-print-log):
877 * vc/vc-sccs.el (vc-sccs-print-log):
878 * vc/vc-svn.el (vc-svn-print-log):
879 * vc/vc.el (vc-print-log-internal): Doc fixes.
880
881 2013-04-23 Glenn Morris <rgm@gnu.org>
882
883 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
884 Remove venerable code attempting to avoid substitute-command-keys.
885
886 2013-04-23 Tassilo Horn <tsdh@gnu.org>
887
888 * textmodes/reftex-vars.el (reftex-label-regexps):
889 Call `reftex-compile-variables' after changes to this variable.
890
891 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
894 Use lexical-binding.
895 (jit-lock-force-redisplay): Use markers, check buffer's continued
896 existence and beware narrowed buffers.
897 (jit-lock-fontify-now): Adjust call accordingly.
898
899 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
902 to avoid misleading the user.
903
904 2013-04-22 Leo Liu <sdl.web@gmail.com>
905
906 * info-look.el: Prefer latex2e.info. (Bug#14240)
907
908 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
909
910 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
911
912 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
913 * net/tramp.el (tramp-call-process): ... here
914 (tramp-set-completion-function, tramp-parse-putty):
915 * net/tramp-adb.el (tramp-adb-execute-adb-command):
916 * net/tramp-gvfs.el (tramp-gvfs-send-command):
917 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
918 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
919 (tramp-call-local-coding-command): Use `tramp-call-process'
920 instead of `tramp-compat-call-process'.
921
922 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
923 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
924 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
925 (tramp-find-inline-compress):Improve traces.
926 (tramp-maybe-send-script): Check for Perl binary.
927 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
928
929 2013-04-22 Daiki Ueno <ueno@gnu.org>
930
931 * epg.el (epg-context-pinentry-mode): New function.
932 (epg-context-set-pinentry-mode): New function.
933 (epg--start): Pass --pinentry-mode option to gpg command.
934
935 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
936
937 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
938 `comint-dynamic-complete' is obsolete since 24.1, replaced by
939 `completion-at-point'. (Bug#13774)
940
941 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
942 default key binding for `describe-distribution' has been moved to
943 `C-h C-o'. (Bug#13970)
944
945 2013-04-21 Glenn Morris <rgm@gnu.org>
946
947 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
948 Add doc strings.
949 (vc-print-log): Clarify interactive prompt.
950
951 2013-04-20 Glenn Morris <rgm@gnu.org>
952
953 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
954 No longer include timestamp etc information.
955
956 2013-04-20 Roland Winkler <winkler@gnu.org>
957
958 * faces.el (read-face-name): Bug fix, return just one face if arg
959 multiple is nil. (Bug#14209)
960
961 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
964 (remove-function): Autoload.
965
966 * comint.el (comint-redirect-original-filter-function): Remove.
967 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
968 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
969 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
970 * progmodes/prolog.el (prolog-consult-compile):
971 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
972 Use add/remove-function instead.
973 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
974 (gud-tooltip-process-output, gud-tooltip-tips):
975 Use add/remove-function instead.
976 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
977 (scheme-interaction-mode, exit-scheme-interaction-mode):
978 Use add/remove-function instead.
979
980 * vc/vc-dispatcher.el: Use lexical-binding.
981 (vc--process-sentinel): Rename from vc-process-sentinel.
982 Change last arg to be the code to run. Don't use vc-previous-sentinel
983 and vc-sentinel-commands any more.
984 (vc-exec-after): Allow code to be a function. Use add/remove-function.
985 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
986
987 2013-04-19 Masatake YAMATO <yamato@redhat.com>
988
989 * progmodes/sh-script.el (sh-imenu-generic-expression):
990 Handle function names with a single character. (Bug#14111)
991
992 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
993
994 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
995 for subroutines defined in an eval (bug#14182).
996
997 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
998
999 * bookmark.el (bookmark-completing-read): Improve handling of empty
1000 string (bug#14176).
1001
1002 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1005
1006 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1007
1008 New faster Imenu implementation (bug#14058).
1009 * progmodes/python.el:
1010 (python-imenu-prev-index-position):
1011 (python-imenu-format-item-label-function)
1012 (python-imenu-format-parent-item-label-function)
1013 (python-imenu-format-parent-item-jump-label-function):
1014 New vars.
1015 (python-imenu-format-item-label)
1016 (python-imenu-format-parent-item-label)
1017 (python-imenu-format-parent-item-jump-label)
1018 (python-imenu--put-parent, python-imenu--build-tree)
1019 (python-imenu-create-index, python-imenu-create-flat-index)
1020 (python-util-popn): New functions.
1021 (python-mode): Set imenu-create-index-function to
1022 python-imenu-create-index.
1023
1024 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * winner.el (winner-active-region): Use region-active-p, activate-mark
1027 and deactivate-mark (bug#14225).
1028
1029 * simple.el (deactivate-mark): Don't inline it.
1030
1031 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1032
1033 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1034
1035 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1036
1037 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1038 file extensions from the archive-mode entry in order to prefer
1039 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1040
1041 2013-04-18 Leo Liu <sdl.web@gmail.com>
1042
1043 * bindings.el (help-event-list): Add ?\?.
1044
1045 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * subr.el (with-wrapper-hook): Declare obsolete.
1048 * simple.el (filter-buffer-substring-function): New hook.
1049 (filter-buffer-substring): Use it.
1050 (filter-buffer-substring-functions): Mark obsolete.
1051 * minibuffer.el (completion-in-region-function): New hook.
1052 (completion-in-region): Use it.
1053 (completion-in-region-functions): Mark obsolete.
1054 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1055 * abbrev.el (abbrev-expand-function): New hook.
1056 (expand-abbrev): Use it.
1057 (abbrev-expand-functions): Mark obsolete.
1058 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1059 and :filter-return.
1060
1061 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1062
1063 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1064 and do not care about match data.
1065
1066 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1069 completion tables when completing error conditions and
1070 `declare' arguments.
1071 (lisp-complete-symbol, field-complete): Mark as obsolete.
1072 (check-parens): Unmatched parens are user errors.
1073 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1074
1075 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1076
1077 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1078 command changed buffer (ie. `flyspell-pre-buffer' is not current
1079 buffer), which prevents making decisions based on invalid value of
1080 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1081 cause an error when `flyspell-pre-point' was nil after switching
1082 buffers.
1083 (flyspell-post-command-hook): No longer needs to change buffers when
1084 checking pre-word. While at it remove unnecessary progn.
1085
1086 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1087
1088 * textmodes/ispell.el (ispell-add-per-file-word-list):
1089 Fix `flyspell-correct-word-before-point' error when accepting
1090 words and `coment-padding' is an integer by using
1091 `comment-normalize-vars' (Bug #14214).
1092
1093 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1094
1095 New defun movement commands.
1096 * progmodes/python.el (python-nav--syntactically)
1097 (python-nav--forward-defun, python-nav-backward-defun)
1098 (python-nav-forward-defun): New functions.
1099
1100 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1101
1102 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1103 (python-syntax-context): Use named compiler-macro for backwards
1104 compatibility with Emacs 24.x.
1105
1106 2013-04-17 Leo Liu <sdl.web@gmail.com>
1107
1108 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1109 octave-hide-process-buffer.
1110
1111 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1114 (bug#14216).
1115
1116 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1117
1118 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1119 Fix adjustment of offset when receiving incomplete responses from GDB
1120 (bug#14129).
1121
1122 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1123
1124 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1125 python-mode-abbrev-table.
1126 (python-skeleton-define): Adjust accordingly.
1127 (python-mode-abbrev-table): New table that inherits from it so that
1128 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1129
1130 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1131 (abbrev-symbol): Use it.
1132 (abbrev--before-point): Use it since we already handle inheritance.
1133
1134 2013-04-16 Leo Liu <sdl.web@gmail.com>
1135
1136 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1137 binding to info-lookup-symbol.
1138
1139 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1140
1141 * minibuffer.el (completion--twq-all):
1142 * term/ns-win.el (ns-initialize-window-system):
1143 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1144
1145 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1148 global bindings.
1149
1150 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1151
1152 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1153
1154 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1155 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1156 to nil.
1157 (ruby-end-of-defun): Remove the unused arg, change the docstring
1158 to reflect that this function is only used as the value of
1159 `end-of-defun-function'.
1160 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1161 to reflect an earlier change that beginning/end-of-defun functions
1162 jump between methods in a class definition, as well as top-level
1163 functions.
1164
1165 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * minibuffer.el (minibuffer-complete): Don't just scroll
1168 a *Completions* that's been iconified.
1169 (minibuffer-force-complete): Make sure repetitions do cycle when going
1170 through completion-in-region -> minibuffer-complete.
1171
1172 2013-04-15 Alan Mackenzie <acm@muc.de>
1173
1174 Correct the placement of c-cpp-delimiters when there're #s not at
1175 col 0.
1176
1177 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1178 place a submatch around the #.
1179 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1180 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1181 on the #, not BOL.
1182
1183 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1186 (advice--member-p): New arg `name'.
1187 (advice--add-function, advice-member-p): Use it (bug#14202).
1188
1189 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1190
1191 Reformulate java imenu-generic-expression.
1192 The old expression contained ill formed regexps.
1193
1194 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1195 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1196 (cc-imenu-java-method-arg-regexp): New defconsts.
1197 (cc-imenu-java-build-type-args-regex): New defun.
1198 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1199 handling of spaces in the regexp.
1200
1201 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1202
1203 * textmodes/ispell.el (ispell-command-loop): Remove
1204 flyspell highlight of a word when ispell accepts it (bug #14178).
1205
1206 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1209 uses code from the previous `ange-ftp-run-real-handler'.
1210 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1211 only in case that function exist. This is needed for proper
1212 unloading of Tramp.
1213
1214 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1215
1216 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1217
1218 * textmodes/reftex.el (reftex-compile-variables): Use it.
1219
1220 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * files.el (normal-mode): Only use default major-mode if no other mode
1223 was specified.
1224
1225 * emacs-lisp/trace.el (trace-values): New function.
1226
1227 * files.el: Allow : in local variables (bug#14089).
1228 (hack-local-variable-regexp): New var.
1229 (hack-local-variables-prop-line, hack-local-variables): Use it.
1230
1231 2013-04-13 Roland Winkler <winkler@gnu.org>
1232
1233 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1234 data before it gets modified by bibtex-beginning-of-entry.
1235
1236 2013-04-13 Roland Winkler <winkler@gnu.org>
1237
1238 * textmodes/bibtex.el (bibtex-url): Doc fix.
1239
1240 2013-04-13 Roland Winkler <winkler@gnu.org>
1241
1242 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1243 does not visit a BibTeX file, exclude it from the list of buffers
1244 returned by bibtex-initialize.
1245
1246 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1247
1248 * window.el (split-window): Remove interactive form, since as a
1249 command this function is a special case of split-window-below.
1250 Correct doc string.
1251
1252 2013-04-12 Roland Winkler <winkler@gnu.org>
1253
1254 * faces.el (read-face-name): Do not override value of arg default.
1255 Allow single faces and strings as default values. Remove those
1256 elements from return value that are not faces.
1257 (describe-face): Simplify.
1258 (face-at-point): New optional args thing and multiple so that this
1259 function can provide the same functionality previously provided by
1260 read-face-name.
1261 (make-face-bold, make-face-unbold, make-face-italic)
1262 (make-face-unitalic, make-face-bold-italic, invert-face)
1263 (modify-face, read-face-and-attribute): Use face-at-point.
1264
1265 * cus-edit.el (customize-face, customize-face-other-window)
1266 * cus-theme.el (custom-theme-add-face)
1267 * face-remap.el (buffer-face-set)
1268 * facemenu.el (facemenu-set-face): Use face-at-point.
1269
1270 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1271
1272 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1273
1274 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1275
1276 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1277 off leading { and trailing } from field values.
1278
1279 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/timer.el (timer--check): New function.
1282 (timer--time, timer-set-function, timer-event-handler): Use it.
1283 (timer-set-idle-time): Simplify.
1284 (timer--activate): CSE.
1285 (timer-event-handler): Give more info in error message.
1286 (internal-timer-start-idle): New function, moved from C.
1287
1288 * mpc.el (mpc-proc): Add `restart' argument.
1289 (mpc-proc-cmd): Use it.
1290 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1291 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1292 less often.
1293
1294 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1295
1296 * progmodes/sh-script.el: Implement `sh-mode' own
1297 `add-log-current-defun-function' (bug#14112).
1298 (sh-current-defun-name): New function.
1299 (sh-mode): Use the function.
1300
1301 2013-04-09 Bastien Guerry <bzg@gnu.org>
1302
1303 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1304
1305 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1308
1309 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1310 timer (bug#14156).
1311
1312 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1313
1314 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1315 declaration.
1316
1317 2013-04-07 Leo Liu <sdl.web@gmail.com>
1318
1319 * pcmpl-x.el: New file.
1320
1321 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1322
1323 Do not set x-display-name until X connection is established.
1324 This is needed to prevent from weird situation described at
1325 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1326 * frame.el (make-frame): Set x-display-name after call to
1327 window system initialization function, not before.
1328 * term/x-win.el (x-initialize-window-system): Add optional
1329 display argument and use it.
1330 * term/w32-win.el (w32-initialize-window-system):
1331 * term/ns-win.el (ns-initialize-window-system):
1332 * term/pc-win.el (msdos-initialize-window-system):
1333 Add compatible optional display argument.
1334
1335 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1336
1337 * files.el (normal-backup-enable-predicate): On MS-Windows and
1338 MS-DOS compare truenames of temporary-file-directory and of the
1339 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1340 don't fail comparison by compare-strings. Also, compare file
1341 names case-insensitively on MS-Windows and MS-DOS.
1342
1343 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1346 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1347
1348 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1349
1350 * whitespace.el (whitespace-color-on, whitespace-color-off):
1351 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1352
1353 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1354
1355 * ispell.el (ispell-set-spellchecker-params):
1356 Really set `ispell-args' for all equivs.
1357
1358 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * ido.el (ido-completions): Use extra elements of ido-decorations
1361 (bug#14143).
1362 (ido-decorations): Update docstring.
1363
1364 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1365
1366 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1367 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1368 nil during initialization, in order not to miss changes since the
1369 file was opened. (Bug#14140)
1370
1371 2013-04-05 Leo Liu <sdl.web@gmail.com>
1372
1373 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1374
1375 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1376
1377 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1378
1379 2013-04-04 Glenn Morris <rgm@gnu.org>
1380
1381 * electric.el (electric-pair-inhibit-predicate): Add :version.
1382
1383 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1386 when a package is required several times (bug#14082).
1387
1388 2013-04-04 Roland Winkler <winkler@gnu.org>
1389
1390 * faces.el (read-face-name): Behave as promised by the docstring.
1391 Assume that arg default is a list of faces.
1392 (describe-face): Call read-face-name with list of default faces.
1393
1394 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1395
1396 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1397 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1398 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1399 the header.
1400 (bookmark-exit-hook-internal): Save even if list is empty.
1401
1402 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1403
1404 * emacs-lisp/package.el (package-pinned-packages): New var.
1405 (package--add-to-archive-contents): Obey it (bug#14118).
1406
1407 2013-04-03 Alan Mackenzie <acm@muc.de>
1408
1409 Handle `parse-partial-sexp' landing inside a comment opener
1410 (Bug#13244). Also adapt to the new values of element 7 of a parse
1411 state.
1412
1413 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1414 parameter `not-in-delimiter'. Handle being inside comment opener.
1415 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1416 character in case we're typing a '*' after a '/'.
1417 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1418 instead by passing the parameter to c-state-pp-to-literal.
1419
1420 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1421 for elt. 7 of a parse state.
1422
1423 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1424
1425 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1426 * international/latin1-disp.el, international/mule-util.el:
1427 * language/cyril-util.el, language/european.el, language/ind-util.el:
1428 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1429 * language/tibetan.el, language/viet-util.el:
1430 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1431
1432 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1435 (electric-pair-post-self-insert-function): Use it.
1436 (electric-pair-default-inhibit): New function, extracted from
1437 electric-pair-post-self-insert-function.
1438
1439 2013-03-31 Roland Winkler <winkler@gnu.org>
1440
1441 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1442
1443 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1446
1447 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1448
1449 Un-indent after "pass" and "return" statements (Bug#13888)
1450 * progmodes/python.el (python-indent-block-enders): New var.
1451 (python-indent-calculate-indentation): Use it.
1452
1453 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1454
1455 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1456 defun. Defining it as defalias could introduce too eager
1457 byte-compiler optimization. (Bug#14030)
1458
1459 2013-03-30 Chong Yidong <cyd@gnu.org>
1460
1461 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1462
1463 2013-03-30 Leo Liu <sdl.web@gmail.com>
1464
1465 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1466 (kmacro-execute-from-register): Pass the keyboard macro to
1467 kmacro-call-macro or repeating won't work correctly.
1468
1469 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1470
1471 * progmodes/subword.el: Back to using `forward-symbol'.
1472
1473 * subr.el (forward-whitespace, forward-symbol)
1474 (forward-same-syntax): Move from thingatpt.el.
1475
1476 2013-03-29 Leo Liu <sdl.web@gmail.com>
1477
1478 * kmacro.el (kmacro-to-register): New command.
1479 (kmacro-execute-from-register): New function.
1480 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1481
1482 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * mpc.el: Use defvar-local and setq-local.
1485 (mpc--proc-connect): Connection failures are not bugs.
1486 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1487 (mpc-volume-map): Bind to the up-events.
1488
1489 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1490
1491 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1492 instead of `forward-symbol'.
1493
1494 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1497 (edebug--recursive-edit): Use it.
1498 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1499 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1500
1501 2013-03-28 Leo Liu <sdl.web@gmail.com>
1502
1503 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1504
1505 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1506
1507 * facemenu.el (list-colors-callback): New defvar.
1508 (list-colors-redisplay): New function.
1509 (list-colors-display): Install list-colors-redisplay as the
1510 revert-buffer-function. (Bug#14063)
1511
1512 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1515 and suffixes don't overlap (bug#14061).
1516
1517 * case-table.el: Use lexical-binding.
1518 (case-table-get-table): New function.
1519 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1520
1521 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1522
1523 * progmodes/subword.el: Add `superword-mode' to do word motion
1524 over symbol_words (parallels and leverages `subword-mode' which
1525 does word motion inside MixedCaseWords).
1526
1527 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1528
1529 * eshell/em-unix.el: Move su and sudo to...
1530 * eshell/em-tramp.el: ...Eshell tramp module.
1531
1532 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1535 Change return value to be a sexp. Delay `get-buffer' to after
1536 restoring the desktop (bug#13951).
1537
1538 2013-03-26 Leo Liu <sdl.web@gmail.com>
1539
1540 * register.el: Move semantic tag handling back to
1541 cedet/semantic/senator.el. (Bug#14052)
1542
1543 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1546 into the prompt either (bug#13963).
1547
1548 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1551 part of "(error-foo)".
1552
1553 2013-03-24 Juri Linkov <juri@jurta.org>
1554
1555 * replace.el (list-matching-lines-prefix-face): New defcustom.
1556 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1557 `occur-engine' if `face-differs-from-default-p' returns t.
1558 (occur-engine): Add `,' inside backquote construct to evaluate
1559 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1560 Pass `prefix-face' to the functions `occur-context-lines' and
1561 `occur-engine-add-prefix'.
1562 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1563 `prefix-face' and propertize the prefix with `prefix-face'.
1564 (Bug#14017)
1565
1566 2013-03-24 Leo Liu <sdl.web@gmail.com>
1567
1568 * nxml/rng-valid.el (rng-validate-while-idle)
1569 (rng-validate-quick-while-idle): Guard against deleted buffer.
1570 (Bug#13999)
1571
1572 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1573 is the last entry in kill-buffer-hook.
1574
1575 * files.el (kill-buffer-hook): Doc fix.
1576
1577 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1580 Make it safe-local.
1581
1582 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1583
1584 2013-03-23 Leo Liu <sdl.web@gmail.com>
1585
1586 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1587 Remove.
1588
1589 * nxml/rng-valid.el (rng-validate-mode)
1590 (rng-after-change-function, rng-do-some-validation):
1591 * nxml/rng-maint.el (rng-validate-buffer):
1592 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1593 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1594 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1595 (nxml-extend-after-change-region): Use with-silent-modifications.
1596
1597 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1598 timer-idle-list.
1599
1600 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1601 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1602 timer-idle-list. (Bug#13999)
1603
1604 2013-03-23 Juri Linkov <juri@jurta.org>
1605
1606 * info.el (info-index-match): New face.
1607 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1608 main pattern and add text properties with the new face to matches
1609 in index entries relative to the beginning of the index entry.
1610 (Bug#14015)
1611
1612 2013-03-21 Eric Ludlam <zappo@gnu.org>
1613
1614 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1615 Inhibit read only while inserting objects.
1616
1617 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1618
1619 * progmodes/cfengine.el: Update docs to mention
1620 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1621 symbol motion. Remove "_" from the word syntax.
1622
1623 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1624
1625 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1626 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1627
1628 2013-03-20 Juri Linkov <juri@jurta.org>
1629
1630 * info.el (Info-next-reference-or-link)
1631 (Info-prev-reference-or-link): New functions.
1632 (Info-next-reference, Info-prev-reference): Use them.
1633 (Info-try-follow-nearest-node): Handle footnote navigation.
1634 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1635
1636 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1639 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1640
1641 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1642
1643 Suppress unnecessary non-ASCII chatter during build process.
1644 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1645 (batch-skkdic-convert): Suppress most of the chatter.
1646 It's not needed so much now that machines are faster,
1647 and its non-ASCII component was confusing; see Dmitry Gutov in
1648 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1649
1650 2013-03-20 Leo Liu <sdl.web@gmail.com>
1651
1652 * ido.el (ido-chop): Fix bug#10994.
1653
1654 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1655
1656 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1657 Remove vars.
1658 (whitespace-color-on, whitespace-color-off):
1659 Use `font-lock-fontify-buffer' (Bug#13817).
1660
1661 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1664 remapping in mode-line.
1665 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1666
1667 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1668
1669 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1670 value for `whitespace-line' face (Bug#13875).
1671 (whitespace-font-lock-keywords): Change description.
1672 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1673 the constructed keywords instead.
1674 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1675
1676 2013-03-19 Leo Liu <sdl.web@gmail.com>
1677
1678 * progmodes/compile.el (compilation-display-error): New command.
1679 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1680 C-o. (Bug#13992)
1681
1682 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1683
1684 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1685
1686 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1687
1688 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1689
1690 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1691
1692 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1693
1694 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1695 * net/tramp-gvfs.el (top):
1696 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1697 (tramp-handle-shell-command): Use it.
1698 (tramp-dissect-file-name): Raise an error when hostname is a
1699 method name, and neither method nor user is specified.
1700
1701 * net/trampver.el: Update release number.
1702
1703 2013-03-18 Leo Liu <sdl.web@gmail.com>
1704
1705 Make sure eldoc can be turned off properly.
1706 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1707 eldoc-mode.
1708 (eldoc-display-message-p): Revert last change.
1709 (eldoc-display-message-no-interference-p)
1710 (eldoc-print-current-symbol-info): Tweak.
1711
1712 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1713
1714 * doc-view.el (doc-view-new-window-function): Check the new window
1715 overlay's display property instead the char property of the
1716 buffer's first char. Use `with-selected-window' instead of
1717 `save-window-excursion' with `select-window'.
1718 (doc-view-document->bitmap): Check the current doc-view overlay's
1719 display property instead the char property of the buffer's first char.
1720
1721 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1722
1723 Automate the build of ja-dic.el (Bug#13984).
1724 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1725 from the input, rather than assume that it's been done for us by the
1726 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1727 the current date into a ja-dic.el comment, as that complicates
1728 regression testing.
1729
1730 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * whitespace.el: Fix double evaluation.
1733 (whitespace-space, whitespace-hspace, whitespace-tab)
1734 (whitespace-newline, whitespace-trailing, whitespace-line)
1735 (whitespace-space-before-tab, whitespace-indentation)
1736 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1737 obsolete defvars.
1738 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1739 (whitespace-color-on): Use a single font-lock-add-keywords call.
1740 Fix double-evaluation of face variables.
1741
1742 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1743
1744 * net/tramp-adb.el (tramp-adb-parse-device-names):
1745 Use `start-process' instead of `call-process'. Otherwise, the
1746 function might be blocked under MS Windows. (Bug#13299)
1747
1748 2013-03-17 Leo Liu <sdl.web@gmail.com>
1749
1750 Extend eldoc to display info in the mode-line. (Bug#13978)
1751 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1752 (eldoc-mode-line-string): New variable.
1753 (eldoc-minibuffer-message): New function.
1754 (eldoc-message-function): New variable.
1755 (eldoc-message): Use it.
1756 (eldoc-display-message-p)
1757 (eldoc-display-message-no-interference-p):
1758 Support eldoc-post-insert-mode.
1759
1760 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1761 (eval-expression): Run it.
1762
1763 2013-03-17 Roland Winkler <winkler@gnu.org>
1764
1765 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1766 strings in the list of return values.
1767
1768 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1769
1770 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1771 radix before checking for HMS forms.
1772
1773 2013-03-16 Leo Liu <sdl.web@gmail.com>
1774
1775 * progmodes/scheme.el: Add indentation and font-locking for λ.
1776 (Bug#13975)
1777
1778 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1781 token before point (bug#13942).
1782
1783 2013-03-16 Leo Liu <sdl.web@gmail.com>
1784
1785 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1786
1787 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1788
1789 * startup.el (command-line-normalize-file-name): Fix handling of
1790 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1791 <xfq.free@gmail.com> in
1792 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1793
1794 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1795
1796 Sync with Tramp 2.2.7.
1797
1798 * net/trampver.el: Update release number.
1799
1800 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1801
1802 * doc-view.el Fix bug#13887.
1803 (doc-view-insert-image): Don't modify overlay associated to
1804 non-live windows, and implement horizontal centering of image in
1805 case it's smaller than the window.
1806 (doc-view-new-window-function): Force redisplay of new windows on
1807 doc-view buffers.
1808
1809 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1810
1811 * saveplace.el (save-place-alist-to-file): Don't sort
1812 `save-place-alist', just pretty-print it (bug#13882).
1813
1814 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1817 whether `default-file-name-coding-system' is bound. It isn't in
1818 XEmacs.
1819
1820 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1823 backquotes for `obsolete' (bug#13929).
1824
1825 * international/mule.el (find-auto-coding): Include file name in
1826 obsolescence warning (bug#13922).
1827
1828 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1829
1830 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1831 for CFEngine 3-specific indentation.
1832 (cfengine3-indent-line): Use it. Fix up category regex.
1833 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1834
1835 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * type-break.el (type-break-file-name):
1838 * textmodes/remember.el (remember-data-file):
1839 * strokes.el (strokes-file):
1840 * shadowfile.el (shadow-initialize):
1841 * saveplace.el (save-place-file):
1842 * ps-bdf.el (bdf-cache-file):
1843 * progmodes/idlwave.el (idlwave-config-directory):
1844 * net/quickurl.el (quickurl-url-file):
1845 * international/kkc.el (kkc-init-file-name):
1846 * ido.el (ido-save-directory-list-file):
1847 * emulation/viper.el (viper-custom-file-name):
1848 * emulation/vip.el (vip-startup-file):
1849 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1850 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1851
1852 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1853
1854 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1855 * language/thai-word.el: Switch to UTF-8.
1856
1857 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1860
1861 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1862
1863 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1864 Use with-current-buffer and don't move point.
1865 (net-utils-run-simple): Remove useless code.
1866 (net-utils-remove-ctl-m): Remove unused custom.
1867
1868 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1869
1870 * international/characters.el (glyphless-set-char-table-range): New fun.
1871 (update-glyphless-char-display): Use it (bug#13744).
1872
1873 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1874
1875 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1876 namespaces in the syntax, indent closer for hanging brace
1877 correctly, allow single-quote delimited 'strings', and make
1878 `cfengine3-mode' the default.
1879
1880 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1881
1882 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1883 Use lexical-binding. Fix up docstring according to conventions.
1884 (gdbmi-debug-mode): New var.
1885 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1886 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1887 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1888 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1889 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1890 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1891 (gdbmi-bnf-incomplete-record-result): New functions.
1892 (gdb-car<): Remove function.
1893 (gdbmi-record-list): Remove variable.
1894 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1895 (gdbmi-bnf-result-state-configs): New const.
1896 (gud-gdbmi-marker-filter): Rewrite.
1897 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1898 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1899 Add `token' argument.
1900 (gdb-done, gdb-error): New functions.
1901 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1902
1903 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * term/xterm.el (xterm--report-background-handler): Don't burp
1906 upon timeout.
1907 (xterm--version-handler): Extract from terminal-init-xterm.
1908 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1909 Allow multiple handlers.
1910 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1911
1912 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1913 (xterm--report-background-handler, xterm--query): New functions.
1914 (terminal-init-xterm): Use them.
1915
1916 2013-03-11 Michael R. Mauger <michael@mauger.com>
1917
1918 * progmodes/sql.el Version 3.2
1919 Please note that my address changed to <michael@mauger.com>;
1920 the <mmaug@yahoo.com> address remains active.
1921 (sql-connection-alist): Updates documentation to fix bug#13715.
1922 (sql-connect): Handle missing `sql-connection-alist' correctly.
1923 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1924 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1925 property.
1926 (sql-default-value): New function.
1927 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1928 values were not used.
1929 (sql-rename-buffer): Make sure alternate buffer name has no text
1930 properties.
1931 (sql-input-sender, sql-execute-feature): Fetch variable with
1932 `buffer-local-value' rather than `with-current-buffer'.
1933 (sql-*): Use #' function syntax consistently.
1934 (sql-*): Use message/error/user-error consistently.
1935
1936 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * xt-mouse.el (xterm-mouse-event-read): Remove.
1939 (xterm-mouse--read-event-sequence-1000)
1940 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1941
1942 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * term/xterm.el (xterm-function-map): Support format used with
1945 formatOtherKeys=1 (bug#13839).
1946
1947 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1948 (with-no-warnings): Use `declare'.
1949
1950 * whitespace.el (whitespace-enable-predicate): New variable.
1951 (whitespace-enable-predicate): Use it.
1952
1953 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1954 (comint-output-filter, comint-update-fence):
1955 Use with-silent-modifications.
1956
1957 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1958
1959 * replace.el (occur-read-regexp-defaults-function): New var.
1960 (occur-read-regexp-defaults): New defun.
1961 (occur-read-primary-args): Propagate above change (bug#13892).
1962
1963 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1966
1967 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1968
1969 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1970
1971 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1972 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1973 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1974 New defconst.
1975 (tramp-gvfs-file-name-handler-alist) [directory-files]
1976 [directory-files-and-attributes, file-exists-p, file-modes]:
1977 Use Tramp default handler.
1978 [file-acl, file-selinux-context, process-file, set-file-acl]:
1979 [set-file-modes, set-file-selinux-context, shell-command]:
1980 [start-file-process]: Remove handler.
1981 [verify-visited-file-modtime]: New handler.
1982 (tramp-gvfs-dbus-string-to-byte-array)
1983 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1984 calls of `dbus-string-to-byte-array' and
1985 `tramp-gvfs-dbus-byte-array-to-string'.
1986 (tramp-gvfs-handle-copy-file)
1987 (tramp-gvfs-handle-delete-directory)
1988 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1989 (tramp-gvfs-handle-file-directory-p)
1990 (tramp-gvfs-handle-file-executable-p)
1991 (tramp-gvfs-handle-file-name-all-completions)
1992 (tramp-gvfs-handle-file-readable-p)
1993 (tramp-gvfs-handle-file-writable-p)
1994 (tramp-gvfs-handle-insert-directory)
1995 (tramp-gvfs-handle-insert-file-contents)
1996 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1997 (tramp-gvfs-handle-set-visited-file-modtime)
1998 (tramp-gvfs-handle-write-region): Rewrite.
1999 (tramp-gvfs-handle-file-acl)
2000 (tramp-gvfs-handle-file-selinux-context)
2001 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2002 (tramp-gvfs-handle-set-file-modes)
2003 (tramp-gvfs-handle-set-file-selinux-context)
2004 (tramp-gvfs-handle-shell-command)
2005 (tramp-gvfs-handle-start-file-process)
2006 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2007 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2008 over the symlinks. Fix user handling.
2009 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2010 of the D-Bus signals.
2011 (tramp-gvfs-connection-mounted-p): Handle different names of the
2012 D-Bus methods.
2013 (tramp-gvfs-mount-spec-entry): New defun.
2014 (tramp-gvfs-mount-spec): Use it.
2015 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2016 there is a share name. Handle different names of the D-Bus
2017 signals and methods. Set connection properties needed for
2018 `tramp-check-cached-permissions'.
2019 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2020 Return t or nil.
2021
2022 * net/tramp.el (tramp-backtrace): Move up.
2023 (tramp-error): Dump a backtrace into the debug buffer when
2024 `tramp-verbose > 9.
2025 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2026 (tramp-file-mode-permissions, tramp-get-local-uid)
2027 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2028 tramp-sh.el.
2029
2030 * net/tramp-sh.el (tramp-file-mode-type-map)
2031 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2032 (tramp-file-mode-permissions, tramp-get-local-uid)
2033 (tramp-get-local-gid): Move to tramp.el.
2034
2035 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 Separate mouse-1-click-follows-link from mouse-drag-region.
2038 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2039 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2040 (mouse-drag-line, mouse-drag-track):
2041 Remove mouse-1-click-follows-link code.
2042 (mouse--remap-link-click-p): Remove.
2043
2044 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2045
2046 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2047 (hi-lock-read-regexp-defaults): New defun.
2048 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2049 (hi-lock-face-phrase-buffer): Propagate above change.
2050 Update docstring (bug#13892).
2051
2052 * subr.el (find-tag-default-as-regexp): New defun.
2053 * replace.el (read-regexp): Propagate above change.
2054
2055 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2056
2057 * calc/calc-units.el (calc-convert-units): Fix the way that default
2058 new units are stored.
2059
2060 2013-03-07 Matthias Meulien <orontee@gmail.com>
2061
2062 * bookmark.el: Define a face to highlight bookmark names in
2063 bookmark menu buffers, where the default is a bold face similarly
2064 to buffer names in buffer menu buffers.
2065 (bookmark-menu-bookmark): New face to highlight bookmark names.
2066 (bookmark-insert-location): Remove duplicated text property to
2067 conform to buffer list (see `list-buffers').
2068 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2069 `bookmark-menu-bookmark' to bookmark names.
2070
2071 2013-03-07 Matthias Meulien <orontee@gmail.com>
2072 Karl Fogel <kfogel@red-bean.com>
2073
2074 * bookmark.el: Display the bookmark list header similarly to the
2075 buffer list header (see `list-buffers'), where the default is now
2076 an immovable/immutable header line.
2077 (bookmark-bmenu-use-header-line): New variable.
2078 (bookmark-bmenu-inline-header-height): New name for
2079 `bookmark-bmenu-header-height', to avoid confusion with the code
2080 for the new immovable header. All references changed.
2081 (bookmark-bmenu-set-header): New function.
2082 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2083 Conditionalize header construction accordingly.
2084 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2085 the inline header height.
2086 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2087 Conditionalize the skipping of the inline header height.
2088
2089 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2090
2091 * progmodes/js.el (js--multi-line-declaration-indentation):
2092 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2093
2094 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2095
2096 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2097 Only propertize regexp when not inside a string (Bug#13885).
2098
2099 2013-03-06 Alan Mackenzie <acm@muc.de>
2100
2101 Correct the position of point in some line-up functions.
2102 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2103 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2104 point at column 0 rather than at a random place in the line.
2105
2106 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2107
2108 * net/tramp-compat.el (tramp-compat-delete-directory):
2109 Implement TRASH argument.
2110
2111 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2112
2113 Keep pre-existing highlighting in completion candidates (Bug#13250).
2114 * minibuffer.el (completions-first-difference): State that the
2115 face is "added" in the docstring.
2116 (completions-common-part): Same. And don't inherit from default.
2117 (completion-hilit-commonality): Prepend 'completions-common-part
2118 and 'completion-first-difference faces to the 'face property,
2119 instead of replacing the value(s).
2120 (completion--insert-strings): Same with 'completions-annotations face.
2121 (completion-hilit-commonality): Use 'face instead of
2122 'font-lock-face, because it gets priority if the completion
2123 strings already have 'face set.
2124
2125 2013-03-04 Alan Mackenzie <acm@muc.de>
2126
2127 Replace `last-command-event' by `last-command-char' in XEmacs.
2128 * progmodes/cc-defs.el (c-last-command-char): New macro.
2129 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2130 (c-semi&comma-no-newlines-before-nonblanks)
2131 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2132 in place of `last-command-event'.
2133 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2134 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2135 (c-electric-paren, c-electric-continued-statement): Use the new
2136 macro in place of `last-command-event'.
2137
2138 2013-03-04 Glenn Morris <rgm@gnu.org>
2139
2140 * files.el (inhibit-local-variables-regexps):
2141 Add .diff and .patch. (Bug#13862)
2142
2143 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2146 whether the "su" command is available on the device.
2147
2148 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2151 (tramp-adb-handle-process-file): Remove superfluous setting.
2152 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2153 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2154 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2155
2156 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2159 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2160 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2161 Use dict-key rather than dict-name for the error message.
2162
2163 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2164
2165 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2166 when reverting (bug#13831).
2167
2168 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2169
2170 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2171 Always expand affix-file before storing to protect against changed
2172 `default-directory'.
2173 (ispell-print-if-debug): Make sure message is printed at the end
2174 of the debug buffer.
2175
2176 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/tramp.el (tramp-obsolete-methods): New defconst.
2179 (tramp-warned-obsolete-methods): New defvar.
2180 (tramp-find-method): Check for obsolete methods. Map them to a
2181 replacement method if appropriate.
2182
2183 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2184 Remove methods.
2185 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2186 "ssh2" and "plink1".
2187
2188 2013-02-28 Dale Sedivec <dale@codefu.org>
2189
2190 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2191 Return valid syntax-table property value when converting
2192 quotes within text from string syntax to punctuation syntax (bug#13844).
2193
2194 2013-02-28 Juri Linkov <juri@jurta.org>
2195
2196 * dired-aux.el (dired-diff): If file at point is a backup file,
2197 use its original as the default value, and reverse the order
2198 of arguments to the `diff' call. Doc fix. (Bug#13772)
2199
2200 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2201
2202 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2203 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2204
2205 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2206
2207 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2208
2209 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2210 Ask hunspell about available and default dictionaries.
2211 (ispell-parse-hunspell-affix-file): Extract relevant info from
2212 hunspell affix file.
2213 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2214 `ispell-dictionary-alist' entry for given dictionary after info
2215 provided by `ispell-parse-hunspell-affix-file'.
2216 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2217 of parsed hunspell dicts and associated affix files.
2218 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2219 of parsed hunspell dicts and associated parameters.
2220 (ispell-set-spellchecker-params):
2221 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2222 previously done.
2223 (ispell-start-process):
2224 Call `ispell-hunspell-fill-dictionary-entry' for current
2225 dictionary if it is not initialized.
2226
2227 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * imenu.el: Comment nitpicks.
2230
2231 2013-02-28 Sam Steingold <sds@gnu.org>
2232
2233 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2234 See <http://stackoverflow.com/questions/14720205>.
2235
2236 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2237
2238 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2239 (net-utils-mode): Use it.
2240 (net-utils--revert-cmd): New var.
2241 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2242 (traceroute): Use net-utils-run-simple.
2243
2244 2013-02-28 Glenn Morris <rgm@gnu.org>
2245
2246 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2247
2248 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2251 (doc-view-fallback-mode): Remove overlays here.
2252 (doc-view-toggle-display): Instead of here. Don't throw away
2253 image-mode-winprops-alist.
2254 (doc-view-goto-page): Don't mess with hscroll.
2255
2256 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2257
2258 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2259 &optional (bug#13819).
2260
2261 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2262
2263 * net/tramp-adb.el (tramp-adb-parse-device-names)
2264 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2265
2266 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2269 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2270 defined. POSIX environments fall back to the "C" locale then and
2271 emit a warning, which shall be suppressed.
2272
2273 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2274
2275 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2276 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2277
2278 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2281
2282 2013-02-25 Juri Linkov <juri@jurta.org>
2283
2284 * replace.el (read-regexp): Let-bind `default' to the first
2285 element of `defaults' if it's a list, otherwise it should be
2286 a string or nil. Let-bind `suggestions' to `defaults' if it's
2287 a list, otherwise make a list with the string value. Doc fix.
2288 (Bug#13805)
2289
2290 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2291
2292 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2293 that match "\`\.#", to avoid compiling lock files, even if they
2294 are readable (as they are on MS-Windows).
2295
2296 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * files.el (basic-save-buffer): Remove redundant directory-creation.
2299
2300 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2301
2302 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2303 Add option to force `pi' to remain symbolic.
2304 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2305 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2306 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2307 derivatives, when necessary.
2308
2309 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2310
2311 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2312 (ps-mode-octal-region): Use string-make-unibyte.
2313
2314 2013-02-23 Glenn Morris <rgm@gnu.org>
2315
2316 * emulation/viper-cmd.el (viper-submit-report):
2317 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2318 * progmodes/vera-mode.el (vera-mode-help-address):
2319 * textmodes/artist.el (artist-maintainer-address):
2320 * textmodes/reftex.el (reftex-report-bug):
2321 * vc/ediff-util.el (ediff-submit-report):
2322 Add bug-gnu-emacs to bug report address.
2323
2324 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2325 Remove bug report entries.
2326 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2327
2328 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2329 (byte-compile-file, byte-compile-from-buffer):
2330 Use separate input/output buffers for each level of recursive
2331 byte-compile-file calls. (Bug#13787)
2332
2333 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2334
2335 * net/tramp.el (tramp-methods): Fix docstring.
2336 (tramp-ssh-controlmaster-options): Rename it from
2337 `tramp-ssh-controlmaster-template'. Return a string.
2338 (tramp-default-method): Adapt check for
2339 `tramp-ssh-controlmaster-options'.
2340
2341 * net/tramp-sh.el (tramp-methods):
2342 Replace `tramp-ssh-controlmaster-template' by "%c".
2343 (tramp-do-copy-or-rename-file-out-of-band)
2344 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2345 that it is applied for the first hop only.
2346
2347 2013-02-22 Juri Linkov <juri@jurta.org>
2348
2349 * isearch.el (isearch-lazy-highlight-new-loop):
2350 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2351 to `isearch-other-end' if it is not nil. (Bug#13402)
2352
2353 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2354 to `match-beg'.
2355
2356 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2357 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2358 and `isearch-error' to nil.
2359
2360 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2361
2362 * progmodes/python.el (python-info-current-defun):
2363 Enhance match-data cluttering prevention.
2364
2365 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2366
2367 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2368
2369 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2370 Handle multibyte file names.
2371
2372 2013-02-22 Glenn Morris <rgm@gnu.org>
2373
2374 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2375 (sgml-transformation-function): Give it a :set function.
2376 (sgml-tag): Doc fix.
2377
2378 * cmuscheme.el (scheme-buffer):
2379 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2380 * progmodes/tcl.el (inferior-tcl-buffer):
2381 * textmodes/tex-mode.el (tex-command): Doc fixes.
2382
2383 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2384
2385 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2386
2387 2013-02-21 Bastien Guerry <bzg@gnu.org>
2388
2389 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2390
2391 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2392
2393 * progmodes/python.el (python-info-current-defun):
2394 Enhance match-data cluttering prevention.
2395
2396 2013-02-21 Glenn Morris <rgm@gnu.org>
2397
2398 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2399 loaded while outline-regexp is let bound. (Bug#9584)
2400
2401 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2402
2403 * progmodes/python.el (python-info-current-defun): Fix failed
2404 defun name retrieval because of unwanted match-data cluttering.
2405
2406 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2407
2408 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2409 defconst. Apply independent check for ControlPersist.
2410
2411 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2412 temporarily, via "env".
2413
2414 2013-02-21 Glenn Morris <rgm@gnu.org>
2415
2416 * info.el (Info-enable-edit): Remove.
2417 (Info-edit): Disable it rather than using Info-enable.
2418 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2419 (Info-cease-edit): Make editing of Info files obsolete.
2420
2421 * informat.el (Info-tagify):
2422 Handle buffers not visiting files. (Bug#13763)
2423
2424 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2427
2428 2013-02-21 Glenn Morris <rgm@gnu.org>
2429
2430 * files.el (basic-save-buffer): Move check for existing parent
2431 directory after hooks. (Bug#13773)
2432
2433 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * simple.el (command-execute): Move from C. Add obsolete check.
2436 (extended-command-history): Move from C.
2437
2438 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2439
2440 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2441 (jka-compr-mode-alist-additions): Handle .txz suffix for
2442 XZ-compressed tar archives (bug#13770).
2443
2444 2013-02-20 Bastien Guerry <bzg@gnu.org>
2445
2446 * outline.el (outline-regexp, outline-heading-end-regexp):
2447 Make variables, not options (bug#13731).
2448
2449 2013-02-20 Glenn Morris <rgm@gnu.org>
2450
2451 * image.el (image-current-frame): Change from variable to function.
2452 (image-show-frame): Rename from image-nth-frame. Update callers.
2453 * image-mode.el (image-multi-frame): New variable.
2454 (image-mode-map, image-mode, image-goto-frame):
2455 Use image-multi-frame rather than image-current-frame.
2456 (image-mode, image-goto-frame): Use image-current-frame as
2457 function rather than as variable.
2458
2459 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2460 * emacs-lisp/cl-macs.el (cl--make-type-test)
2461 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2462
2463 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2464
2465 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2466 (tramp-get-file-property, tramp-set-file-property)
2467 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2468 (tramp-flush-file-property, tramp-flush-directory-property):
2469 Rename argument to KEY.
2470 (tramp-flush-connection-property): Simplify a little bit.
2471 (tramp-connection-property-p): New defun.
2472 (top): Reapply saved values only if there isn't a corresponding
2473 entry in `tramp-connection-properties'.
2474
2475 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2476
2477 * progmodes/python.el (python-indent-context):
2478 Fix python-info-line-ends-backslash-p call.
2479 (python-info-line-ends-backslash-p)
2480 (python-info-beginning-of-backslash): Respect line-number argument.
2481 (python-info-current-line-comment-p):
2482 Fix behavior when not at beginning-of-line.
2483 (python-util-position): Remove function.
2484 (python-util-goto-line): New function.
2485
2486 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2487
2488 * eshell/em-unix.el (eshell/su): Require tramp.
2489 (eshell/sudo): Require tramp. Remove now unnecessary check.
2490
2491 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2492 `tramp-current-connection' in order to avoid an error when several
2493 commands are invoked in a short time in eshell and friends.
2494
2495 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 Cleanup some of EIEIO's namespace.
2498 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2499 Use it to define all the class-* and object-* field accessors (renamed
2500 to eieio--class-* and eieio--object-*). Update all uses.
2501 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2502 class-num-slots and object-num-slots.
2503 (eieio--check-type): New macro.
2504 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2505 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2506 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2507 (object-assoc-list-safe): Use it.
2508 (eieio-defclass): Tighten regexp.
2509 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2510 Remove unreachable code.
2511 (object-class-fast): Declare obsolete.
2512 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2513 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2514 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2515 Rename from class-name, object-name, object-set-name-string,
2516 object-class, object-class-name, class-parents, class-children,
2517 class-precedence-list, class-parent; with obsolete alias.
2518 (class-of, class-direct-superclasses, class-direct-subclasses):
2519 Declare obsolete.
2520 (eieio-defmethod): Use `memq'; remove unreachable code.
2521 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2522 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2523 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2524
2525 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2526
2527 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2528 commentary.
2529
2530 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2531
2532 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2533 Use font-lock-keyword-face for macros and special forms (bug#8345).
2534
2535 2013-02-17 Didier Verna <didier@didierverna.net>
2536
2537 * net/network-stream.el (network-stream-open-starttls):
2538 Check that response to the starttls-command is non-nil. (Bug#13706)
2539
2540 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2543 Don't assume all identifier chars have syntax word.
2544 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2545 Remove bar-not-symbol. Adjust callers.
2546 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2547
2548 2013-02-17 Leo Liu <sdl.web@gmail.com>
2549
2550 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2551
2552 2013-02-17 Glenn Morris <rgm@gnu.org>
2553
2554 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2555
2556 * image-mode.el (image-mode-map): Add image-dired menu entry.
2557
2558 * image-dired.el (tumme): Make this alias obsolete.
2559
2560 2013-02-16 Glenn Morris <rgm@gnu.org>
2561
2562 * image.el (image-animated-types): Remove.
2563 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2564 (image-animated-p): Make obsolete alias.
2565 (image-animate, image-nth-frame, image-animate-timeout):
2566 Use image-multi-frame-p.
2567 (image-animate-timeout): If no delay, use image-default-frame-delay.
2568 * image-mode.el (image-mode, image-toggle-animation):
2569 Use image-multi-frame-p. (Bug#763, bug#10739)
2570 (image-mode): Adjust startup message for a multi-frame image.
2571
2572 * image-mode.el (image-mode-map): Give it a menu.
2573
2574 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-cache.el (tramp-connection-properties): New customer
2577 option.
2578 (tramp-get-connection-property): Use it.
2579
2580 * net/tramp-compat.el (top): Require 'trampver.
2581
2582 * net/tramp-sh.el (tramp-remote-process-environment):
2583 Set tramp-autoload cookie.
2584
2585 2013-02-16 Kevin Ryde <user42@zip.com.au>
2586
2587 * info-look.el (info-lookup-select-mode): If major-mode has no
2588 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2589
2590 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2591
2592 * replace.el (read-regexp): Tighten the regexp that matches tag.
2593 When tag is retrieved with `find-tag-default', use regexp that
2594 matches tag at point. Also update docstring (Bug#13687).
2595
2596 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2597
2598 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2599 add watch for the file, not its parent directory, since w32notify
2600 sets up the watch for the directory internally. (Bug#13725)
2601
2602 2013-02-16 Glenn Morris <rgm@gnu.org>
2603
2604 * image.el (image-default-frame-delay): New variable.
2605 (image-animated-p): Use image-default-frame-delay.
2606 (image-minimum-frame-delay): New constant.
2607 (image-animate-timeout): Use image-minimum-frame-delay.
2608
2609 * image.el (image-nth-frame): New, split from image-animate-timeout.
2610 (image-animate-timeout): Use image-nth-frame.
2611 * image-mode.el (image-goto-frame, image-next-frame)
2612 (image-previous-frame): New commands.
2613 (image-mode-map): Add new frame commands.
2614
2615 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2616
2617 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2618 If col-desc already has help-echo, use it. (Bug#13563)
2619
2620 2013-02-16 Glenn Morris <rgm@gnu.org>
2621
2622 * image.el (image-current-frame): New variable.
2623 (image-animate-timeout): Set image-current-frame.
2624 * image-mode.el (image-mode): For animated images,
2625 display a frame counter via mode-line-process.
2626
2627 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2628
2629 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2632
2633 2013-02-15 Alan Mackenzie <acm@muc.de>
2634
2635 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2636 global minor mode has been enabled, call the minor mode function
2637 for a new buffer once only, after the major mode hook, whilst
2638 allowing that hook explicitly to disable the minor mode.
2639 (MODE-disable-in-buffer): New (generated) function.
2640 (disable-MODE): New (generated) buffer local variable.
2641
2642 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2643
2644 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2645 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2646 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2647 `ido-next-match' and `ido-prev-match' resply.
2648 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2649 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2650 `icomplete-backward-completions' (Bug#13708).
2651
2652 2013-02-15 Glenn Morris <rgm@gnu.org>
2653
2654 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2655
2656 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2659 (goto-address-fontify-region): Use them instead of narrowing, so
2660 syntax-ppss has access to the whole buffer.
2661
2662 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2663
2664 * progmodes/python.el: Explain how to restore "cc-mode"-like
2665 forward-sexp movement in header documentation (Bug#13642).
2666 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2667 comments and strings (GH bug 114).
2668
2669 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2670
2671 * progmodes/python.el (python-info-current-defun): Fix current
2672 defun detection (Bug#13618).
2673
2674 2013-02-15 Chong Yidong <cyd@gnu.org>
2675
2676 * xml.el (xml-parse-string): Fix typo in handling of bad character
2677 references.
2678
2679 2013-02-15 Glenn Morris <rgm@gnu.org>
2680
2681 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2682
2683 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2684
2685 * net/tramp.el (tramp-debug-message):
2686 Add `tramp-condition-case-unless-debug'.
2687 (tramp-debug-on-error): New defvar.
2688 (tramp-condition-case-unless-debug): New defun.
2689 (tramp-file-name-handler): Use it.
2690
2691 2013-02-14 Juri Linkov <juri@jurta.org>
2692
2693 * info.el (Info-isearch-filter): Treat non-nil values of
2694 `search-invisible' including its default value `open'
2695 like the value `t' to match hidden text. (Bug#13402)
2696
2697 2013-02-14 Glenn Morris <rgm@gnu.org>
2698
2699 * help-fns.el (find-lisp-object-file-name): Give special treatment
2700 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2701
2702 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2703
2704 * net/quickurl.el (quickurl-save-urls):
2705 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2706
2707 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2710 depth for unfinished percent literal. Not using it in the caller.
2711 (ruby-move-to-block): Jump over multiline literals of all types,
2712 ignoring code-looking contents inside them.
2713 (ruby-add-log-current-method): Improve performance at the expense
2714 of accuracy. `ruby-block-contains-point' is relatively slow, so
2715 only use it for method and singleton class blocks.
2716
2717 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2718
2719 Use ControlMaster where applicable. (Bug#13677)
2720
2721 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2722 replacing `tramp-detect-ssh-controlmaster'.
2723 (tramp-default-method): Use it.
2724
2725 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2726 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2727 arguments.
2728 [scpc, rsyncc]: Remove methods.
2729 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2730 and "ssh2_old".
2731 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2732 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2733
2734 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * emacs-lisp/package.el (package--initialized): Move before first use.
2737
2738 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2739
2740 * icomplete.el (icomplete-hide-common-prefix): New user option.
2741 (icomplete-first-match): New face.
2742 (icomplete-completions): Correct handling of "complete but not
2743 unique" (Bug#12638).
2744
2745 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2746
2747 * descr-text.el (describe-char): Display the script (bug#13698).
2748
2749 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * tmm.el: Use lexical-binding and current-active-maps.
2752 (tmm-menubar): Use map-keymap and pcase.
2753 (tmm--completion-table): New function.
2754 (tmm-prompt): Use it to fix the menu order.
2755 (tmm-get-keybind): Use current-active-maps.
2756
2757 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2758
2759 Add dired-hide-details-mode. (Bug#6799)
2760
2761 * locate.el (locate-mode): Set parent mode property to dired-mode.
2762
2763 * find-dired.el (find-dired): Call dired-insert-set-properties on
2764 initial information line. Set process mark on end of buffer.
2765 (find-dired-sentinel):
2766 Call dired-insert-set-properties on summary.
2767
2768 * dired.el (dired-hide-details-hide-symlink-targets)
2769 (dired-hide-details-hide-information-lines): New options.
2770 (dired-insert-directory):
2771 Set properties after final treatment of output.
2772 (dired-insert-set-properties):
2773 Set dired-hide-details-* properties.
2774 (dired-mode-map): Bind dired-hide-details-mode.
2775 (dired-mode): Set buffer-invisibility-spec to a list.
2776 (dired-next-line): Skip hidden lines.
2777 (dired-previous-line): Use dired-next-line.
2778 (dired-hide-details-mode): New minor mode.
2779 (dired-hide-details-update-invisibility-spec): New function.
2780
2781 2013-02-13 Glenn Morris <rgm@gnu.org>
2782
2783 * play/yow.el: Move to obsolete/. (Bug#9384)
2784
2785 2013-02-13 Juri Linkov <juri@jurta.org>
2786
2787 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2788 to select `ediff-control-frame' and set input focus correctly on Xfce.
2789 (Bug#12218)
2790
2791 2013-02-13 Juri Linkov <juri@jurta.org>
2792
2793 * image-mode.el (image-mode-map):
2794 * doc-view.el (doc-view-mode-map):
2795 * vc/ediff-util.el (ediff-setup-keymap):
2796 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2797
2798 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2799
2800 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2801 performance. Instead of recalculating indentation fully for each
2802 line, sum up indentation depth based only on visited lines.
2803 (ruby-parse-partial): Increase the depth after "do" even when END
2804 is right after it.
2805 (ruby-parse-partial): When END is in the middle of a percent
2806 literal, increase the depth if the delimiter chars belong to the
2807 paren syntax class.
2808
2809 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2810
2811 * play/fortune.el (fortune-compile): Also make the compiled file
2812 if it does not exist at all, not just if it is old. (Bug#5338)
2813
2814 2013-02-13 Glenn Morris <rgm@gnu.org>
2815
2816 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2817
2818 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2819
2820 * lisp/emacs-lisp/package.el (package-menu-execute):
2821 Add optional noquery argument. (Bug#13625)
2822
2823 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2824
2825 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2826 if DIR exists and PARENTS is non-nil.
2827
2828 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2829
2830 * progmodes/js.el (js--multi-line-declaration-indentation):
2831 Silence byte-compiler warning.
2832
2833 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2836
2837 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2838 only if it doesn't exist.
2839
2840 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2841 Set process marker.
2842
2843 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2844
2845 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2846 UserInstallation when calling soffice to work around LibreOffice
2847 bug 37531.
2848
2849 2013-02-12 Glenn Morris <rgm@gnu.org>
2850
2851 * files.el (basic-save-buffer):
2852 Offer to create a non-existing directory. (Bug#3016)
2853
2854 * calc/calc-graph.el (calc-graph-show-dumb):
2855 * calendar/calendar.el (calendar-mode-map):
2856 * cus-edit.el (custom-mode-map):
2857 * ehelp.el (electric-help-map):
2858 * emulation/vip.el (vip-mode-map):
2859 * epa.el (epa-key-list-mode-map):
2860 * info.el (Info-mode-map):
2861 * mail/rmail.el (rmail-mode-map):
2862 * mail/rmailsum.el (rmail-summary-mode-map):
2863 * man.el (Man-mode-map):
2864 * net/newst-plainview.el (newsticker-mode-map):
2865 * progmodes/cpp.el (cpp-edit-mode-map):
2866 * progmodes/grep.el (grep-mode-map):
2867 * progmodes/idlw-help.el (idlwave-help-mode-map):
2868 * simple.el (special-mode-map):
2869 * startup.el (splash-screen-keymap):
2870 * view.el (view-mode-map):
2871 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2872
2873 2013-02-11 Elias Pipping <pipping@lavabit.com>
2874
2875 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2876 (bug#13679).
2877
2878 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2881
2882 2013-02-11 Glenn Morris <rgm@gnu.org>
2883
2884 * vc/diff.el (diff-use-labels): New variable.
2885 (diff-no-select): Use --label rather than -L, and first
2886 check that it is supported. (Bug#11067)
2887
2888 * files.el (enable-dir-local-variables): New variable.
2889 (hack-dir-local-variables): Respect enable-dir-local-variables.
2890 * tutorial.el (help-with-tutorial):
2891 Ignore directory-local variables. (Bug#11127)
2892
2893 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2894 (vc-svn-global-switches): ... to here. (Bug#13513)
2895
2896 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2897
2898 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2899 Handle "foo (bar, default: xxx): " prompts.
2900
2901 2013-02-10 Chong Yidong <cyd@gnu.org>
2902
2903 * files.el (basic-save-buffer-1): Do not set
2904 buffer-file-coding-system-explicit (Bug#4533).
2905
2906 * mail/emacsbug.el (report-emacs-bug): Change binding of
2907 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2908
2909 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2910
2911 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2912 * calc/calc-units.el (calc-convert-units): Use new variable.
2913
2914 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2915
2916 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2917
2918 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2919 buffer-file-type.
2920
2921 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2922 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2923 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2924 coding-system-for-write instead.
2925
2926 * jka-compr.el (jka-compr-write-region): Don't bind
2927 buffer-file-type.
2928
2929 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2930 buffer-file-type.
2931
2932 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2933 (insert-file-contents-literally): Remove reference to
2934 file-name-buffer-file-type-alist.
2935
2936 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2937 make-obsolete.
2938 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2939 (find-buffer-file-type-coding-system): Remove references to
2940 find-buffer-file-type-match, find-buffer-file-type, and
2941 buffer-file-type.
2942 Don't put find-buffer-file-type-coding-system into
2943 file-coding-system-alist.
2944 (find-file-binary, find-file-text): Bind coding-system-for-read
2945 instead of file-name-buffer-file-type-alist.
2946
2947 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2948
2949 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2950 converter (Bug#13622).
2951 (doc-view-unoconv-program): Make obsolete alias.
2952 (doc-view-odf->pdf-converter-program): New variable.
2953 (doc-view-odf->pdf-converter-function): New variable.
2954 (doc-view-mode-p): Use it.
2955 (doc-view-odf->pdf-converter-unoconv):
2956 Rename from `doc-view-odf->pdf-converter-unoconv'.
2957 (doc-view-odf->pdf-converter-soffice): New function.
2958 (doc-view-convert-current-doc):
2959 Use `doc-view-odf->pdf-converter-function'.
2960
2961 2013-02-09 Chong Yidong <cyd@gnu.org>
2962
2963 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2964 view-echo-area-messages (Bug#13340).
2965
2966 * help.el (view-echo-area-messages): Use display-buffer.
2967
2968 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2969 (Bug#13561).
2970
2971 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2974 Eval body right away, now that we do eager macroexpansion (bug#13605).
2975
2976 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2977 (fundamental-mode): Use run-mode-hooks.
2978
2979 * eshell/esh-proc.el (eshell/kill): Fix last change.
2980 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2981
2982 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2983
2984 * eshell/esh-proc.el (eshell/kill): Rewrite.
2985
2986 * eshell/em-ls.el (show-almost-all): Declare.
2987 (eshell-do-ls): Add support for -A argument.
2988
2989 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2990
2991 * icomplete.el (icomplete-forward-completions)
2992 (icomplete-backward-completions): Handle corner case (bug#13602).
2993
2994 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2997 be nil. Handle this. (Bug#13636)
2998
2999 2013-02-07 Richard Stallman <rms@gnu.org>
3000
3001 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3002 `save-buffer-coding-system'.
3003
3004 2013-02-07 Alan Mackenzie <acm@muc.de>
3005
3006 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3007 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3008 (c-parse-state-get-strategy): Don't return 'BOD any more.
3009 (c-append-lower-brace-pair-to-state-cache):
3010 Extra parameter HERE instead of narrowing.
3011 Widen to top of buffer before searching backwards for a brace pair.
3012 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3013 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3014 Narrow to parameter HERE, in place of being called narrowed.
3015 (c-remove-stale-state-cache): Extra parameter HERE in place of
3016 narrowing. Check there's an open brace in the cache before
3017 searching for its match.
3018 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3019 (c-parse-state-1): Don't narrow here for 'forward strategy,
3020 instead passing extra parameter HERE to several functions.
3021 Remove 'BOD strategy.
3022
3023 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3024
3025 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3026 used to install the package.
3027
3028 2013-02-06 Glenn Morris <rgm@gnu.org>
3029
3030 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3031 if we can't get user input. (Bug#6567)
3032
3033 * startup.el (command-line): If simple.el is missing,
3034 test and warn about for some possible causes.
3035
3036 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3037
3038 * cus-start.el (all): Add ns-use-native-fullscreen.
3039
3040 2013-02-05 Glenn Morris <rgm@gnu.org>
3041
3042 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3043
3044 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3045 Fix directory creation in fallback case.
3046
3047 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3048
3049 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3050 (vc-update-change-log): Use dolist.
3051
3052 2013-02-04 Chong Yidong <cyd@gnu.org>
3053
3054 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3055 code from ffap.el.
3056 (thing-at-point-beginning-of-url-regexp): New var.
3057 (thing-at-point-uri-schemes): Update list of URI schemes.
3058 (thing-at-point-url-regexp): Variable deleted.
3059 (thing-at-point-markedup-url-regexp): Disallow newlines.
3060 (thing-at-point-newsgroup-regexp)
3061 (thing-at-point-newsgroup-heads)
3062 (thing-at-point-default-mail-uri-scheme): New variables.
3063 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3064 method to find the possible bounds of the URI at point.
3065 New optional argument to find ill-formed URIs.
3066 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3067 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3068 the scheme-adding heuristics from ffap-url-at-point.
3069 (thing-at-point--bounds-of-well-formed-url): New function.
3070 Do parens matching to decide whether to include parens in the URI
3071 (Bug#9153).
3072
3073 * ffap.el: Require thingatpt.
3074 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3075 All URI-valid characters are now recognized (Bug#5673).
3076 (ffap-string-at-point): Use use-region-p.
3077 (ffap-url-regexp): Extra character is handled by thing-at-point.
3078 (ffap-string-at-point-mode-alist): Allow parentheses.
3079 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3080 Convert to aliases; code moved to thingatpt.el.
3081 (ffap-gnus-hook): Use setq-local.
3082
3083 2013-02-04 Glenn Morris <rgm@gnu.org>
3084
3085 * emacs-lisp/ert.el (ert--explain-format-atom):
3086 Don't try to print non-characters as characters. (Bug#13543)
3087
3088 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3089
3090 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3091 (tramp-backtrace): New defun.
3092 (tramp-handle-insert-file-contents): Use `visit' when inserting
3093 the local copy.
3094
3095 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3096 Use `remote-file-name-inhibit-cache'.
3097
3098 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3101 (bug#13614).
3102
3103 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3104 current-load-list (bug#13366).
3105
3106 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3107
3108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3109 Identify g++ template instantiation trace. (Bug#12287)
3110 (compilation-mode-hook, compilation-start-hook)
3111 (compilation-window-height): Simplify docstrings. (Bug#13379)
3112
3113 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * mouse.el (mouse-drag-track): Always deactivate the mark before
3116 running the final event's command since that command is in charge of
3117 activating the mark if needed (bug#13523).
3118
3119 2013-02-02 Juri Linkov <juri@jurta.org>
3120
3121 * replace.el (perform-replace): Move let-bindings of isearch-*
3122 variables deeper to the loop that searches for the next match.
3123 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3124 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3125 (Bug#13579)
3126
3127 * isearch.el (isearch-search-fun-default): Check for null
3128 first element of isearch-cmds as a precaution when it's used
3129 with inactive isearch.
3130
3131 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3132
3133 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3134 error when buffer in question is narrowed so position 1 is out of
3135 visible part.
3136
3137 2013-02-02 Glenn Morris <rgm@gnu.org>
3138
3139 * textmodes/remember.el (remember-clipboard): Doc fix.
3140
3141 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3144 properties (bug#13179).
3145
3146 2013-02-02 Juri Linkov <juri@jurta.org>
3147
3148 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3149 instead of hard-coded default face `match'. (Bug#9438)
3150
3151 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3152
3153 * vc/vc-arch.el (vc-arch-registered):
3154 * vc/vc-bzr.el (vc-bzr-registered):
3155 * vc/vc-cvs.el (vc-cvs-registered):
3156 * vc/vc-git.el (vc-git-registered):
3157 * vc/vc-hg.el (vc-hg-registered):
3158 * vc/vc-mtn.el (vc-mtn-registered):
3159 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3160 (Bug#13139)
3161
3162 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3163 prefix argument. (Bug#11656)
3164
3165 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3166
3167 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3168
3169 2013-02-01 Glenn Morris <rgm@gnu.org>
3170
3171 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3172 if the backend is known not to support it.
3173
3174 * imenu.el (imenu-default-create-index-function):
3175 Tweak infinite loop test to check for forward motion as well as none.
3176
3177 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3178
3179 * net/soap-client.el (soap-invoke): Encode the string for
3180 `url-request-data' as UTF-8.
3181 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3182
3183 2013-02-01 Glenn Morris <rgm@gnu.org>
3184
3185 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3186
3187 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3188
3189 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * net/tramp.el (tramp-tramp-file-p): Comment check for
3192 `string-as-unibyte'. The function does not exist on XEmacs, and
3193 likely we need another approach.
3194
3195 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3196 `tramp-gw-*' variables are bound.
3197
3198 2013-01-31 Glenn Morris <rgm@gnu.org>
3199
3200 * files.el (basic-save-buffer-2): Choose coding system for
3201 writing the file before backing it up, to reduce delay between
3202 backing up and writing the new version. (Bug#13522)
3203
3204 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3205
3206 * simple.el (cycle-spacing): New command.
3207 (just-one-space): Use it.
3208
3209 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3212 (opascal-newline-always-indents): Remove custom.
3213 (opascal-tab, opascal-newline): Remove commands.
3214 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3215 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3216 (opascal-save-match-data): Remove, use save-match-data instead.
3217 (opascal-save-state): Use with-silent-modifications.
3218
3219 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3220 (bug#13585).
3221
3222 2013-01-30 Juri Linkov <juri@jurta.org>
3223
3224 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3225 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3226 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3227
3228 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3231 column if we're just deleting the backslashes.
3232 (makefile-fill-paragraph): Use eolp.
3233
3234 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3235
3236 * autorevert.el (auto-revert-use-notify): Fix docstring.
3237
3238 2013-01-30 Leo Liu <sdl.web@gmail.com>
3239
3240 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3241
3242 2013-01-30 Glenn Morris <rgm@gnu.org>
3243
3244 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3245 unread-command-events twice in some cases. This tries to implement
3246 the 2012-07-26 changes in a different way. (Bug#13560)
3247
3248 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3249
3250 * progmodes/python.el
3251 (python-pdbtrack-comint-output-filter-function): Enhancements on
3252 stacktrace detection. (thanks @gnovak)
3253
3254 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3257 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3258 Use defvar-local.
3259 (jit-lock-register): Use setq-local.
3260
3261 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3262
3263 * calc-units.el (math-default-units-table): Remove initial value.
3264 (calc-convert-units): Treat expressions where all the units cancel as
3265 if they didn't have units.
3266
3267 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3268
3269 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3270 (tramp-completion-reread-directory-timeout): Fix type.
3271 (tramp-connection-min-time-diff): New defcustom.
3272
3273 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3274
3275 2013-01-30 Glenn Morris <rgm@gnu.org>
3276
3277 * imenu.el (imenu-default-create-index-function):
3278 Put back a version of the infinite loop test removed 2013-01-23.
3279
3280 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3281
3282 * progmodes/python.el (python-shell-parse-command):
3283 Find python-shell-interpreter with modified environment.
3284
3285 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3288
3289 2013-01-29 Alan Mackenzie <acm@muc.de>
3290
3291 Amend to fontify /regexp/s in actions correctly.
3292 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3293 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3294 are no longer included.
3295 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3296 What used to be these variables without "-line" in the name.
3297 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3298 (c-awk-non-arith-op-bra-re): Now also matches {.
3299 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3300 "return", and "case".
3301 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3302 by /.
3303 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3304 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3305
3306 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3307
3308 * autorevert.el (auto-revert-use-notify):
3309 Use `custom-initialize-default' for initialization. (Bug#13583)
3310
3311 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3312
3313 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3314 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3315 in `tramp-file-name-handler'.
3316 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3317 compatibility.
3318 (tramp-compute-multi-hops): Check, whether
3319 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3320
3321 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3324 (bug#13297).
3325
3326 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3327
3328 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3329 checks made superfluous by the \_< operator.
3330 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3331 temporarily) broken indentation.
3332 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3333 Highlight nested constants, too. \_< broke that.
3334
3335 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3336
3337 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3338 instead of "\\b".
3339
3340 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3341
3342 * autorevert.el (auto-revert-handler): Notifications which result
3343 from a saved file shall not be taken into account. (Bug#13557)
3344
3345 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3346
3347 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3348 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3349 (lisp-mode): Pass t for it. (Bug#13556)
3350
3351 2013-01-25 Alan Mackenzie <acm@muc.de>
3352
3353 AWK Mode: Fix indentation bug at top level. Bug #12274.
3354
3355 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3356 just before CASE 5D.
3357
3358 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3359
3360 * net/socks.el (socks-nslookup-host): Use string-to-number.
3361
3362 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3363
3364 * autorevert.el (auto-revert-remote-files)
3365 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3366 (auto-revert-notify-enabled, auto-revert-use-notify)
3367 (auto-revert-notify-watch-descriptor-hash-list)
3368 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3369 (auto-revert-notify-event-descriptor)
3370 (auto-revert-notify-event-action)
3371 (auto-revert-notify-event-file-name): Doc fix.
3372 (global-auto-revert-mode): Reorder checks.
3373 (auto-revert-notify-rm-watch): Respect changed values of
3374 `auto-revert-notify-watch-descriptor-hash-list'.
3375 (auto-revert-notify-add-watch): Check for
3376 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3377 `inotify-add-watch'. Watch `default-directory' instead of
3378 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3379 has a changed meaning now. (Bug#13540)
3380 (auto-revert-notify-handler): Change implementation wrt events
3381 returning from a directory.
3382 (auto-revert-handler): Reorder implementation for checks of remote
3383 files.
3384 (auto-revert-buffers): Fix parentheses error.
3385
3386 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3387
3388 * progmodes/python.el: Enhancements to header documentation about
3389 skeletons. (Bug#5716)
3390
3391 * imenu.el (imenu-default-create-index-function): Remove useless
3392 infinite loop check. (Bug#13438)
3393
3394 2013-01-25 Alan Mackenzie <acm@muc.de>
3395
3396 Fix a bug in the state cache mechanism. Refactor this a bit.
3397
3398 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3399 `cache-pos' element from the return value.
3400 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3401 buffer to enable proper searching from beyond HERE. Amend the
3402 test for detecting the sought brace pair. Amend the value written
3403 to the "brace desert cache" when the brace isn't found.
3404 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3405 and several other variables analogously.
3406 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3407 parameter to a locally calculated variable.
3408 (c-parse-state-1): Change the calling conventions to the two
3409 defuns involving `cache-pos'.
3410
3411 2013-01-25 Chong Yidong <cyd@gnu.org>
3412
3413 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3414
3415 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3416
3417 * paren.el (show-paren-function): Make sure to set 'priority and
3418 'face only if the overlay does exist.
3419
3420 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3421
3422 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3423
3424 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3425 basic attributes.
3426 (tramp-sh-handle-set-file-acl): Improve error checking.
3427
3428 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3429
3430 * doc-view.el (doc-view-display): Force mode line update until all
3431 document is converted. Suggested by Stefan Monnier (Bug#13164).
3432
3433 2013-01-23 Bastien Guerry <bzg@gnu.org>
3434
3435 * paren.el (show-paren-function): Make sure an overlay exists
3436 before trying to delete it. Also use `pos' as a position only
3437 when it is an integer.
3438
3439 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3440
3441 * play/gametree.el (gametree-break-line-here): Use point-marker.
3442
3443 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3444
3445 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3446 Mark descriptive parts with `display' property.
3447
3448 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3449
3450 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3451 New variable to map standard dict names to hunspell ones.
3452 (ispell-set-spellchecker-params): Make sure specific dict names
3453 are used for standard dicts with hunspell.
3454
3455 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3456
3457 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3458 chars for note (%N) and url (%U).
3459 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3460
3461 2013-01-21 Juri Linkov <juri@jurta.org>
3462
3463 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3464 in addition to existing separate binding `meta f10' in `global-map'.
3465 (Bug#13484)
3466
3467 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3468
3469 Improve XEmacs compatibility.
3470
3471 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3472
3473 * net/tramp-adb.el (top): Require `time-date'.
3474 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3475 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3476 Use `tramp-file-name-handler'.
3477 (tramp-adb-maybe-open-connection):
3478 Use `tramp-compat-set-process-query-on-exit-flag'.
3479
3480 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3481 Use `tramp-compat-funcall'.
3482
3483 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3484 `tramp-compat-funcall'.
3485
3486 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3487
3488 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3489 reimplementation using "adb shell command ..." instead of running
3490 remote shell interactively.
3491
3492 2013-01-20 Glenn Morris <rgm@gnu.org>
3493
3494 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3495 Add native profiler menu entries.
3496
3497 * profiler.el (profiler-running-p): New function.
3498 (profiler-cpu-profile): Use profiler-running-p.
3499 (profiler-report-mode-map): Add some more menu entries.
3500
3501 2013-01-19 Glenn Morris <rgm@gnu.org>
3502
3503 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3504 fixes 2012-12-07 change. (Bug#13499)
3505
3506 2013-01-19 Leo Liu <sdl.web@gmail.com>
3507
3508 * dired.el (dired-get-marked-files): Prune erroneous values due to
3509 last change. (Bug#13152)
3510
3511 2013-01-19 Glenn Morris <rgm@gnu.org>
3512
3513 * progmodes/etags.el (tags-table-check-computed-list):
3514 Preserve point in tags buffer. (Bug#13412)
3515
3516 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3517
3518 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3519 Chong Yidong <cyd@gnu.org>
3520
3521 * image-mode.el (image-next-file, image-previous-file):
3522 New commands (Bug#8453).
3523 (image-mode-map): Bind them to n and p.
3524 (image-mode--images-in-directory): New helper function.
3525
3526 2013-01-19 Chong Yidong <cyd@gnu.org>
3527
3528 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3529 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3530 save and restore the old window configuration.
3531
3532 2013-01-18 Leo Liu <sdl.web@gmail.com>
3533
3534 * progmodes/js.el: Tweak autoload cookie for alias.
3535
3536 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3537
3538 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3539 buffer local, again. This was lost with the fix on 2013-01-12.
3540
3541 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3542
3543 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3544 order to support several eshell buffers in parallel.
3545
3546 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3547
3548 * autorevert.el (auto-revert-use-notify): In the :set function, do
3549 not modify `kill-buffer-hook'.
3550 (auto-revert-notify-rm-watch):
3551 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3552 (auto-revert-notify-add-watch): Do not call
3553 `auto-revert-notify-rm-watch', but add it to a buffer local
3554 `kill-buffer-hook'.
3555
3556 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3559 call to `eval' rather than a backquoted lambda.
3560
3561 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3564 to return an explicit nil.
3565 (advice--remove-function): Change accordingly.
3566
3567 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3568 the use of nadvice.el.
3569
3570 * progmodes/which-func.el (which-function): Silence imenu errors
3571 (bug#13433).
3572
3573 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3574
3575 * progmodes/sql.el (sql-imenu-generic-expression):
3576 (sql-mode-font-lock-object-name): Match schema qualified names.
3577 (sql-connect): Use string keys.
3578 (sql-product-interactive): Wait for interpreter prompt.
3579 (sql-comint-oracle): Set process coding based on NLS_LANG.
3580
3581 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3582
3583 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3584 (sql-interactive-remove-continuation-prompt):
3585 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3586
3587 2013-01-14 Leo Liu <sdl.web@gmail.com>
3588
3589 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3590 (Bug#13420)
3591
3592 2013-01-14 Glenn Morris <rgm@gnu.org>
3593
3594 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3595 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3596
3597 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3598
3599 * progmodes/python.el (python-nav-end-of-statement):
3600 Fix cornercase when handling multiline strings.
3601
3602 2013-01-13 Richard Stallman <rms@gnu.org>
3603
3604 * mail/sendmail.el (mail-position-on-field): Add doc string.
3605
3606 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3607 Get current message boundaries and pass them to
3608 message-forward-make-body-mime. Minor style changes.
3609
3610 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3611
3612 * cus-start.el (all): Avoid warnings about
3613 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3614
3615 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3616
3617 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3618
3619 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3622 (jit-lock--debug-fontifying): New var.
3623 (jit-lock--debug-fontify): New function.
3624 * subr.el (condition-case-unless-debug): Don't prevent catching the
3625 error, just let the debbugger run.
3626 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3627 timer code and don't drop errors silently.
3628
3629 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3630
3631 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3632 `permanent-local' property.
3633 (auto-revert-notify-handler): Use `file-equal-p'.
3634
3635 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3636
3637 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3638 file notification by ACTION. For filtering by file name, compare
3639 only the non-directory part of the file name.
3640
3641 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * autorevert.el: Use cl-lib instead of cl.
3644
3645 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3646 (vc-bzr-checkin): Use it.
3647 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3648 will preserve match-data.
3649
3650 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3651
3652 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3653 (js--declaration-keyword-re): New var.
3654 (js--multi-line-declaration-indentation): New function.
3655 (js--proper-indentation): Use it.
3656
3657 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3658
3659 * calc/calc.el (calc-highlight-selections-with-faces)
3660 (calc-dispatch):
3661 * comint.el (comint-history-isearch-message):
3662 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3663 * ffap.el (ffap-string-at-point-region, ffap-next)
3664 (ffap-string-at-point, ffap-string-around)
3665 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3666 (ffap-literally):
3667 * font-lock.el (font-lock-keywords-alist)
3668 (font-lock-removed-keywords-alist):
3669 * help-mode.el (help-xref-symbol-regexp):
3670 * info.el (Info-find-emacs-command-nodes):
3671 * international/mule.el (add-to-coding-system-list):
3672 * isearch.el (isearch-message-function, isearch-fail-pos):
3673 * misearch.el (multi-isearch-next-buffer-function):
3674 * newcomment.el (comment-box):
3675 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3676 (pr-setting-database):
3677 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3678 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3679 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3680 (pike-font-lock-keywords-3):
3681 * progmodes/compile.el (compile):
3682 * progmodes/etags.el (tags-table-files)
3683 (tags-table-files-function, tags-included-tables-function):
3684 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3685 (gdb-restore-windows):
3686 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3687 (ps-n-up-filling-database):
3688 * server.el (server-buffer, server-log):
3689 * simple.el (newline, delete-backward-char, delete-forward-char)
3690 (minibuffer-history-isearch-message, kill-line, track-eol)
3691 (temporary-goal-column):
3692 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3693 (flyspell-default-deplacement-commands):
3694 * textmodes/ispell.el (ispell-accept-output):
3695 * textmodes/sgml-mode.el (html-tag-help):
3696 * vc/compare-w.el (compare-ignore-whitespace)
3697 (compare-ignore-case, compare-windows-dehighlight):
3698 * vc/diff.el (diff):
3699 * whitespace.el (whitespace-point)
3700 (whitespace-font-lock-refontify, whitespace-bob-marker)
3701 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3702
3703 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3704
3705 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3706 (auto-revert-notify-rm-watch): Ignore errors.
3707 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3708 inotify, and '(size last-write-time) for w32notify.
3709 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3710 watch fails - this is a fallback to the file modification check.
3711 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3712 (auto-revert-notify-event-action)
3713 (auto-revert-notify-event-file-name): New defuns.
3714 (auto-revert-notify-handler): Use them. Implement first
3715 plausibility checks.
3716 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3717
3718 2013-01-11 Julien Danjou <julien@danjou.info>
3719
3720 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3721 max are almost equal. Also return the correct value for V which is
3722 already between 0 and 1.
3723
3724 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3725
3726 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3727
3728 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3729
3730 * autorevert.el (auto-revert-notify-rm-watch)
3731 (auto-revert-notify-add-watch): Fix typos in w32notify function
3732 names.
3733
3734 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3735
3736 * autorevert.el (auto-revert-notify-enabled): Move up.
3737 (auto-revert-use-notify): New defcustom.
3738 (auto-revert-mode, global-auto-revert-mode)
3739 (auto-revert-notify-add-watch, auto-revert-handler)
3740 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3741 `auto-revert-notify-enabled'.
3742
3743 2013-01-10 Elias Pipping <pipping@exherbo.org>
3744
3745 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3746 * doc-view.el (doc-view-document->bitmap):
3747 Use doc-view-single-page-converter-function instead of
3748 single-page-converter arg; adjust callers.
3749
3750 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3751
3752 * progmodes/which-func.el (which-function): Understand Semantic's use
3753 of overlays in imenu--index-alist.
3754
3755 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3756
3757 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3758 (Man-man-k-use-anchor): New var.
3759 (Man-parse-man-k): New function.
3760 (Man-completion-table): Use it.
3761 (man): Flush the completion cache between uses.
3762
3763 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3764
3765 * autorevert.el: Add file watch support.
3766 (auto-revert-notify-enabled): New defconst.
3767 (auto-revert-notify-watch-descriptor-hash-list)
3768 (auto-revert-notify-watch-descriptor)
3769 (auto-revert-notify-modified-p): New defvars.
3770 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3771 (auto-revert-notify-handler): New defuns.
3772 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3773 when mode is disabled.
3774 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3775 (auto-revert-buffers): Add file watches for active buffers.
3776
3777 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3778
3779 * cus-start.el (toplevel): Only allow float values for
3780 scroll-up-aggressively and scroll-down-aggressively.
3781 Allow any number for line-spacing.
3782
3783 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3786 (doc-view-pdf->png-converter-function): Use mupdf if available.
3787 (doc-view-djvu->png-converter-function)
3788 (doc-view-ps->png-converter-function): Remove.
3789 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3790 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3791 (doc-view-already-converted-p): Adjust accordingly.
3792 (doc-view-mode-p): Simplify.
3793 (doc-view-enlarge): Use setq-local.
3794 (doc-view-pdf->png-converter-ghostscript)
3795 (doc-view-djvu->png-converter-ddjvu)
3796 (doc-view-pdf->png-converter-mupdf): Rework to call
3797 doc-view-start-process directly.
3798 (doc-view-pdf/ps->png): Simplify accordingly.
3799 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3800 (doc-view-document->bitmap): Rename from doc-view-document->png.
3801 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3802 (doc-view-set-slice-from-bounding-box): Fix completion table.
3803 (doc-view-mode): Use add-hook for after-revert-hook.
3804
3805 2013-01-10 Glenn Morris <rgm@gnu.org>
3806
3807 * emacs-lisp/authors.el (authors-ignored-files)
3808 (authors-valid-file-names, authors-renamed-files-alist):
3809 Add some more entries.
3810
3811 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3814 `t' pseudo-window entry.
3815
3816 2013-01-10 Alan Mackenzie <acm@muc.de>
3817
3818 Fix bugs in the c-parse-state mechanism. Reuse some markers
3819 instead of continually generating new ones.
3820
3821 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3822 (c-state-old-cpp-end-marker): New variables.
3823 (c-append-lower-brace-pair-to-state-cache): Start a backward
3824 search for "}" definitively outside CPP constructs.
3825 (c-remove-stale-state-cache): Inform the caller of a need to
3826 search back for a brace pair in certain circumstances.
3827 (c-state-maybe-marker): New macro.
3828 (c-parse-state): Reuse markers when appropriate.
3829
3830 2013-01-10 Glenn Morris <rgm@gnu.org>
3831
3832 * simple.el (execute-extended-command): Doc fix.
3833 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3834
3835 2013-01-10 Chong Yidong <cyd@gnu.org>
3836
3837 * faces.el (read-face-name): Doc fix.
3838
3839 2013-01-10 Roland Winkler <winkler@gnu.org>
3840
3841 * emacs-lisp/crm.el: Allow any regexp for separators.
3842 (crm-default-separator): All spaces around the default comma separator.
3843 (crm--completion-command): New macro.
3844 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3845 (crm-complete-and-exit): Handle non-single-char separators.
3846
3847 2013-01-09 Elias Pipping <pipping@lavabit.com>
3848
3849 * doc-view.el: Add support for DjVu (bug#13164).
3850 (doc-view-djvu->png-converter-function): New config var.
3851 (doc-view-single-page-converter-function, doc-view--image-type)
3852 (doc-view--image-file-extension): New vars.
3853 (doc-view-mode): Initialize them.
3854 (doc-view-goto-page): Use them.
3855 (doc-view-mode-p): Add support for ddjvu.
3856 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3857 (doc-view-set-up-single-converter): New funs.
3858 (doc-view-pdf/ps->png): Extend for djvu.
3859 (doc-view-document->png): Rename from doc-view-pdf->png.
3860 (doc-view-convert-current-doc): Handle djvu.
3861 (doc-view-insert-image, doc-view-display)
3862 (doc-view-already-converted-p): Don't hardcode png.
3863 (doc-view-set-doc-type): Recognize djvu docs.
3864
3865 2013-01-09 Elias Pipping <pipping@lavabit.com>
3866
3867 * doc-view.el: Add support for mupdf converter (bug#13164).
3868 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3869 (doc-view-ps->png-converter-function): New config vars.
3870 (doc-view-pdf->png-converter-ghostscript)
3871 (doc-view-ps->png-converter-ghostscript)
3872 (doc-view-pdf->png-converter-mupdf): New functions.
3873 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3874
3875 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3876
3877 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3878 first in session cache: When `tramp-own-remote-path' is in
3879 `tramp-remote-path', the remote path is only set in the session
3880 cache.
3881
3882 2013-01-09 Glenn Morris <rgm@gnu.org>
3883
3884 * emacs-lisp/trace.el (trace-function-foreground)
3885 (trace-function-background): Doc fix.
3886
3887 2013-01-09 Juri Linkov <juri@jurta.org>
3888
3889 * international/mule-cmds.el (read-char-by-name): Move let-binding
3890 of completion-ignore-case around completing-read to fix regression
3891 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3892 `string-match-p' using the nil value of `case-fold-search' and
3893 `completion-ignore-case' in `completion-pcm--all-completions'.
3894 (Bug#12615).
3895
3896 2013-01-09 Glenn Morris <rgm@gnu.org>
3897
3898 * progmodes/compile.el (compilation-parse-errors):
3899 Fix typo. (Bug#13369)
3900
3901 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3902
3903 * comint.el (comint-send-input): Check size of buffer before
3904 waiting for process output, in case already accepted. (Bug#13290)
3905
3906 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3907
3908 Spelling fixes.
3909 * net/tramp-adb.el (tramp-adb-get-toolbox):
3910 Fix misspelling of 'unknown'.
3911
3912 2013-01-08 Juri Linkov <juri@jurta.org>
3913
3914 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3915 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3916 Use underline style wave on terminals that support it. (Bug#13000)
3917
3918 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3921 the predicate returns nil.
3922
3923 * simple.el: Use lexical-binding.
3924 (primitive-undo): Use pcase.
3925 (minibuffer-history-isearch-push-state): Use a closure.
3926
3927 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3928
3929 * simple.el (primitive-undo): Move from undo.c.
3930
3931 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3934 (cvs-mode-remove-handled): Use it (bug#13380).
3935
3936 * emacs-lisp/nadvice.el (advice--tweak): New function.
3937 (advice--remove-function, advice--subst-main): Use it.
3938
3939 * emacs-lisp/advice.el: Update commentary.
3940
3941 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3942
3943 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3944 Remove spurious entry.
3945
3946 2013-01-08 Glenn Morris <rgm@gnu.org>
3947
3948 * net/tramp.el (tramp-default-host-alist): Add :version.
3949
3950 2013-01-08 Juri Linkov <juri@jurta.org>
3951
3952 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3953 single completion. (Bug#12456)
3954 (info--manual-names): Expand node completions into an explicit list
3955 before appending it to another list. Filter out internal buffers
3956 with the leading space in the buffer name. (Bug#10771)
3957
3958 2013-01-08 Juri Linkov <juri@jurta.org>
3959
3960 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3961 that defaults to the Top node.
3962 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3963 the short format (FILENAME) goes to the Top node.
3964 (Info-build-node-completions): Rename arg `file' to `filename'.
3965 (Bug#13365)
3966
3967 2013-01-07 Bastien Guerry <bzg@gnu.org>
3968
3969 * menu-bar.el (menu-bar-search-documentation-menu):
3970 Use `apropos-user-option' and fix the help message.
3971
3972 2013-01-07 Bastien Guerry <bzg@gnu.org>
3973
3974 * apropos.el (apropos-do-all): Update docstring.
3975 (apropos-user-option-button): New face.
3976 (apropos-user-option): Rename from `apropos-variable' and update
3977 docstring.
3978 (apropos-variable): Rewrite, now show all variables by default.
3979 (apropos-print): Mention "User option" instead of "Variable" when
3980 printing doc for user options. (Bug#13276)
3981
3982 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3983
3984 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3985 Handle filename correctly, when parsing "source -> target" symlink
3986 output.
3987 (tramp-adb-handle-set-file-times): New defun.
3988
3989 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3992 advice list when the interactive-spec of ad-Advice-* changes.
3993
3994 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3995
3996 * wid-edit.el (widget-default-get): Work for inlined elements.
3997 (Bug#12670)
3998
3999 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4000
4001 * net/tramp.el (tramp-default-host-alist): New defcustom.
4002 (tramp-find-host): Use it.
4003 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4004 `eshell-directory-change-hook'.
4005
4006 * net/tramp-adb.el (top): Add adb specific entry in
4007 `tramp-default-host-alist'.
4008 (tramp-adb-file-name-host): Remove function.
4009 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4010 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4011
4012 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4013
4014 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4015
4016 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4017
4018 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4019
4020 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4021 consist of more than one digit.
4022 (tramp-adb-file-name-handler-alist):
4023 Use `tramp-handle-file-exists-p' consistently.
4024 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4025 (tramp-adb-handle-file-exists-p): Remove function.
4026 (tramp-adb-file-name-host): New defun.
4027 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4028 Use it.
4029 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4030
4031 2013-01-06 Chong Yidong <cyd@gnu.org>
4032
4033 * vc/vc.el (vc-next-action): Detect buffer modifications
4034 conflicting with locking VCS operation (Bug#11490).
4035
4036 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4037
4038 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4039
4040 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4041 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4042
4043 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4044
4045 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4046 parsing of ls output using regular expression (handle filenames
4047 with spaces). Use virtual device number.
4048 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4049 cleanup).
4050
4051 2013-01-04 Daiki Ueno <ueno@gnu.org>
4052
4053 * epg.el: Silence byte-compiler warnings.
4054 (epg--start): Use delete-char instead of delete-backward-char.
4055 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4056
4057 2013-01-04 Daiki Ueno <ueno@gnu.org>
4058
4059 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4060 Suggested by Eli Zaretskii <eliz@gnu.org>.
4061
4062 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4063
4064 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4065 non-negative integers. Otherwise, the default values are used.
4066 (tramp-convert-file-attributes): Convert uid and gid to integers.
4067
4068 2013-01-04 Glenn Morris <rgm@gnu.org>
4069
4070 * term.el (term-handle-colors-array): Ensure face attributes
4071 are fully specified, not nil. (Bug#13337)
4072
4073 * term.el (term-default-fg-color, term-default-bg-color):
4074 Fix custom type.
4075
4076 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4077 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4078 rather than 'jka-compr being loaded. (Bug#13338)
4079
4080 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4081
4082 * icomplete.el (icomplete-completions):
4083 Honor icomplete-prospects-height once more following
4084 2012-11-29 changes. (Bug#13224)
4085
4086 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4089 of called-interactively-p as well (bug#13237).
4090
4091 * view.el (view--enable, view--disable): Rename from view-mode-enable
4092 and view-mode-disable and assume it's called from view-mode.
4093 (view-mode-enable, view-mode-disable): Redefine as obsolete
4094 compatibility layer above view-mode.
4095 (view-mode-enter): Call `view-mode'.
4096
4097 * files.el (after-find-file): Call `view-mode'.
4098
4099 * doc-view.el (doc-view-scale-internally): New var.
4100 (doc-view-enlarge, doc-view-insert-image): Obey it.
4101
4102 2013-01-03 Daiki Ueno <ueno@gnu.org>
4103
4104 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4105 exist. (Bug#13344)
4106
4107 2013-01-03 Glenn Morris <rgm@gnu.org>
4108
4109 * mail/rmail.el (rmail-set-header-1): Ignore case.
4110 Handle multi-line headers. (Bug#13330)
4111
4112 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4113 Handle paragraph starting at beginning of buffer.
4114
4115 * subr.el (eval-after-load): Don't purecopy the form, so that it
4116 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4117
4118 * emacs-lisp/byte-run.el (defun): Place cl declarations
4119 after any interactive spec. (Bug#13265)
4120
4121 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4122
4123 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4124 defun. Don't check for DECL if DOCSTRING isn't a string.
4125 (defun): Likewise.
4126
4127 2013-01-02 Glenn Morris <rgm@gnu.org>
4128
4129 * eshell/em-cmpl.el (eshell-pcomplete):
4130 More thoroughly imitate pcomplete. (Bug#13293)
4131
4132 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4133 Return nil for empty path elements. (Bug#13296)
4134
4135 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4136
4137 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4138 order to improve efficiency (Based on Daniel Colascione's
4139 <dancol@dancol.org> patch). (Bug#13182)
4140
4141 2013-01-02 Glenn Morris <rgm@gnu.org>
4142
4143 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4144
4145 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4146
4147 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4148 neither DOCSTRING nor DECL was given. (Bug#13316)
4149
4150 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4151
4152 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4153 `error' call.
4154 (tramp-do-copy-or-rename-file): Ignore errors when calling
4155 `set-file-extended-attributes'.
4156
4157 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4158 Add handler for `file-acl'.
4159 (tramp-smb-handle-file-acl): New defun.
4160
4161 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4162
4163 * calc/README: Mention ISO 8601 week-numbering dates.
4164
4165 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4166
4167 * view.el (view-mode-enable): New argument run-view-mode-hook.
4168 Run view-mode-hook only when it's non-nil (Bug#13315).
4169 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4170 argument t.
4171
4172 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4173
4174 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4175 (No device connected, invalid device name). (Bug #13299)
4176
4177 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4178
4179 * window.el (window-resizable--p): Rename to window-resizable-p.
4180 (window-resize-no-error): New function.
4181
4182 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4183 broken in fix from 2012-12-28.
4184
4185 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * subr.el (special-form-p): Don't signal errors on undef aliases.
4188
4189 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4190
4191 * calc/calc-forms.el (math-parse-date): Try using
4192 `math-parse-iso-date' when it looks like it might be needed.
4193 Allow times of 24:00.
4194 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4195 of 24:00.
4196
4197 2012-12-30 Glenn Morris <rgm@gnu.org>
4198
4199 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4200 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4201 (rmail-summary-displayed, rmail-summary): Declare.
4202 (mairix-rmail-display): Just require rmail.
4203
4204 2012-12-30 Chong Yidong <cyd@gnu.org>
4205
4206 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4207 check for the tarball contents.
4208
4209 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4210
4211 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4212 tarfile content listings (Bug#13136).
4213
4214 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4215
4216 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4217 Insert the undecoded text of the message being forwarded. (Bug#9521)
4218
4219 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4220
4221 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4222 integers, if they are real numbers. (Bug#13282)
4223
4224 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4225 Return `t' on success.
4226
4227 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4228 Add handler for `set-file-selinux-context'.
4229
4230 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4233 (tramp-sh-handle-set-file-acl): Return `t' on success.
4234
4235 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4236
4237 * files.el (backup-buffer-copy, basic-save-buffer-2):
4238 If set-file-extended-attributes fails, fall back on set-file-modes
4239 instead of signaling an error. (Bug#13298)
4240 (basic-save-buffer): Likewise.
4241
4242 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4243
4244 * progmodes/python.el: Support other commands triggering
4245 python-indent-line so indentation cycling continues to work.
4246 (python-indent-trigger-commands): New defcustom.
4247 (python-indent-line): Use it.
4248
4249 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4250
4251 * progmodes/python.el (python-shell-send-region): Add blank lines
4252 for non sent code so backtraces remain correct.
4253
4254 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4255
4256 * progmodes/python.el: Remove cl dependency.
4257 (python-syntax-count-quotes): Replace incf call.
4258 (python-fill-string): Replace setf call.
4259
4260 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4261
4262 * info.el (info-other-window): New arg, for consistency with info.
4263
4264 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4265
4266 * mail/rmail.el (rmail-maybe-display-summary):
4267 Rewrite (Bug#13066).
4268
4269 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 * epg.el (epg--start): Modify process-environment locally.
4272
4273 2012-12-28 Daiki Ueno <ueno@gnu.org>
4274
4275 * epg.el: Support pinentry-curses.
4276 Suggested by Werner Koch in
4277 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4278 (epg-agent-file, epg-agent-mtime): New variable.
4279 (epg--start): Record the modified time of gpg-agent socket file,
4280 to restore Emacs frame after pinentry-curses termination.
4281 (epg-wait-for-completion): Restore Emacs frame here.
4282
4283 2012-12-27 Juri Linkov <juri@jurta.org>
4284
4285 * info.el (Info-file-completions): New variable.
4286 (Info-read-node-name-1): Complete node names in the Info file
4287 when a file name is given. Call `Info-build-node-completions'
4288 with a file name.
4289 (Info-build-node-completions): Add new arg `file'. When it is
4290 non-nil, visit it in a temporary buffer and cache its completions in
4291 `Info-current-file-completions'. Move most of the function body to
4292 `Info-build-node-completions-1'.
4293 (Info-build-node-completions-1): New function with the body from
4294 `Info-build-node-completions'. (Bug#12456)
4295
4296 2012-12-27 Juri Linkov <juri@jurta.org>
4297
4298 * frame.el (frame-maximization-style): Remove user option.
4299 (cycle-frame-maximized): Remove function.
4300 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4301 (toggle-frame-fullscreen): New command bound to <f11> instead of
4302 `toggle-frame-maximized'.
4303 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4304
4305 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4306
4307 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4308
4309 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4310 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4311 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4312 for `file-accessible-directory-p'. (Bug#13275)
4313
4314 2012-12-27 Sam Steingold <sds@gnu.org>
4315
4316 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4317 continuations, see <http://stackoverflow.com/questions/3582436>.
4318
4319 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4320
4321 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4322 "module" and "def" to have indentation before them.
4323 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4324
4325 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4326
4327 2012-12-27 Alan Mackenzie <acm@muc.de>
4328
4329 Speed up fontification where there's large brace blocks.
4330 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4331 to a call of c-beginning-of-decl-1.
4332
4333 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4334
4335 * comint.el (comint-adjust-window-point): New function.
4336 (comint-postoutput-scroll-to-bottom):
4337 Call comint-adjust-window-point (Bug#13248).
4338
4339 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4340
4341 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4342 Rakefile regexp.
4343 (auto-mode-alist): Associate .gemspec files with ruby-mode
4344 (https://bugs.ruby-lang.org/issues/5453).
4345
4346 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4347
4348 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4349 Suppress coloring, if possible (required for BusyBox based systems like
4350 CyanogenMod).
4351 (tramp-adb-handle-file-attributes)
4352 (tramp-adb-handle-insert-directory)
4353 (tramp-adb-handle-file-name-all-completions): Use it.
4354 (tramp-adb-get-toolbox): New defun. Check for remote shell
4355 implementation (BusyBox or Toolbox).
4356
4357 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4358
4359 * startup.el (initial-buffer-choice): Allow function as value
4360 (Bug#13251).
4361 (command-line-1): Handle case where initial-buffer-choice
4362 specifies a function.
4363 * server.el (server-execute): Handle case where
4364 initial-buffer-choice specifies a function.
4365
4366 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4367
4368 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4369 its own function.
4370 (smtpmail-try-auth-methods): Forget the user name/password if the
4371 login is unsuccessful (bug#12424).
4372
4373 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4374
4375 * notifications.el (notifications-notify): Protect body with
4376 `with-demoted-errors'.
4377
4378 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4379 Check properties of remote device. Restart connection, if there is a
4380 change.
4381
4382 2012-12-21 Chong Yidong <cyd@gnu.org>
4383
4384 * sort.el (sort-subr): Doc fix (Bug#13056).
4385
4386 2012-12-21 Bastien Guerry <bzg@gnu.org>
4387
4388 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4389
4390 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4391
4392 * simple.el (process-file): Overwrite stderr file, if exists.
4393
4394 2012-12-21 Daiki Ueno <ueno@gnu.org>
4395
4396 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4397 (epg-error): Set `error-message' property.
4398
4399 2012-12-21 Chong Yidong <cyd@gnu.org>
4400
4401 * international/mule-cmds.el (read-char-by-name): Signal an error
4402 if the user does not supply a valid character (Bug#13177).
4403
4404 * simple.el (transpose-subr-1): Preserve marker positions by
4405 changing the insertion sequence (Bug#13122).
4406
4407 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4408
4409 * simple.el (kill-region): Deactivate mark even for empty regions
4410 (Bug#13169).
4411
4412 2012-12-21 Chong Yidong <cyd@gnu.org>
4413
4414 * help-fns.el (describe-variable): Make sure we get the right
4415 buffer name (Bug#13105). Suggested by Kelly Dean.
4416
4417 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4418
4419 * comint.el (comint-redirect-previous-input-string): New variable.
4420 (comint-redirect-setup, comint-redirect-cleanup)
4421 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4422 (comint-redirect-preoutput-filter): Fix verbose message.
4423
4424 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4425
4426 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4427 is too long for Tramp. See discussion in
4428 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4429
4430 * progmodes/compile.el (compilation-start): Remove line escape
4431 template.
4432
4433 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4434
4435 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4436 Adjust comment.
4437
4438 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4439
4440 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4441 following non-comment text (bug#13207).
4442 (lm-header-multiline): Continuation lines need to be indented more than
4443 the first line.
4444 (lm-homepage): New function.
4445 (lm-with-file): Don't be confused if narrowing is in effect.
4446
4447 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4448
4449 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4450 very beginning of a hunk (e.g. killing the first line).
4451
4452 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4453
4454 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4455 and text properties from returned ACL string.
4456 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4457 for "setfacl" command.
4458
4459 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4460
4461 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4462 `tramp-cleanup-this-connection', when the process has died.
4463 (Bug#13151)
4464
4465 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4468
4469 2012-12-17 Kevin Ryde <user42@zip.com.au>
4470
4471 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4472
4473 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4474
4475 Add support for preserving ACL entries of files.
4476
4477 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4478 `set-file-acl' handlers.
4479
4480 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4481 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4482
4483 * net/tramp-compat.el (tramp-compat-copy-file):
4484 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4485
4486 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4487 Add `file-acl' and `set-file-acl' handlers.
4488 (tramp-gvfs-handle-copy-file):
4489 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4490 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4491 New defuns.
4492
4493 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4494 Add `file-acl' and `set-file-acl' handlers.
4495 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4496 (tramp-sh-handle-set-file-acl): New defuns.
4497 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4498 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4499
4500 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4501 Add `file-acl' and `set-file-acl' handlers.
4502 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4503
4504 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4505
4506 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4507 use pop-to-buffer with NORECORD argument t. As buffer name, use
4508 *Metahelp* with a leading space (Bug#13190).
4509
4510 2012-12-16 Romain Francoise <romain@orebokech.com>
4511
4512 * files.el (file-extended-attributes)
4513 (set-file-extended-attributes): New functions.
4514 (backup-buffer): Use them to handle both SELinux context and ACL
4515 entries.
4516 (backup-buffer-copy): Work with an alist of extended attributes,
4517 rather than an SELinux context.
4518 (basic-save-buffer-2): Ditto.
4519
4520 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4521
4522 * battery.el (battery-bsd-apm): New function.
4523
4524 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4525
4526 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4527 standard date formats.
4528
4529 2012-12-15 Juri Linkov <juri@jurta.org>
4530
4531 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4532 `isearch-insert-char-by-name'.
4533 (with-isearch-suspended): New defmacro with body mostly from
4534 `isearch-edit-string' except the part that sets
4535 `isearch-new-string' and `isearch-new-message'.
4536 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4537 body that sets `isearch-new-string' and `isearch-new-message'.
4538 (isearch-insert-char-by-name): New command.
4539 * international/mule-cmds.el (read-char-by-name): Let-bind
4540 `enable-recursive-minibuffers' to t.
4541 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4542
4543 2012-12-15 Juri Linkov <juri@jurta.org>
4544
4545 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4546 (Bug#13175)
4547
4548 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4549
4550 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4551 the prompt. (Bug#13045)
4552
4553 2012-12-14 Glenn Morris <rgm@gnu.org>
4554
4555 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4556 Try to include filename in non-bytecomp warning. (Bug#13132)
4557
4558 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4559
4560 Fix permissions bugs with setgid directories etc. (Bug#13125)
4561 * files.el (backup-buffer): Don't rely on 9th output of
4562 file-attributes, as it's now a placeholder. Instead, use the new
4563 optional arg of file-ownership-preserved-p.
4564 (file-ownership-preserved-p): New optional arg GROUP.
4565 Fix mishandling of setuid directories that would cause this
4566 function to return t when it should have returned nil.
4567 Document what happens if the file does not exist, and when
4568 it's not known whether the ownership will be preserved.
4569 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4570 Likewise.
4571 (tramp-get-local-gid): Use group-gid for integer, as that's
4572 faster and more reliable.
4573
4574 2012-12-14 Julien Danjou <julien@danjou.info>
4575
4576 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4577 Update keywords list, data type and PL/pgSQL.
4578
4579 2012-12-14 Dave Abrahams <dave@boostpro.com>
4580
4581 * vc/ediff-util.el (ediff-buffer-type): New function.
4582 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4583 rather than taking it as as argument.
4584 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4585
4586 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4587
4588 * json.el: Add pretty-print option (bug#12634).
4589 (json-encoding-separator, json-encoding-default-indentation)
4590 (json--encoding-current-indentation, json-encoding-pretty-print)
4591 (json-encoding-lisp-style-closings): New vars.
4592 (json--with-indentation): New macro.
4593 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4594 (json-encode-array): Use it to obey json-encoding-pretty-print.
4595 (json-pretty-print-buffer, json-pretty-print): New commands.
4596
4597 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4598
4599 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4600 Extract `ruby-syntax-propertize-expansions'.
4601 (ruby-syntax-propertize-expansions): Only change syntax on
4602 certain string delimiters, to punctuation. This way the common
4603 functions like forward-word and thing-at-point still work.
4604 (ruby-match-expression-expansion): Improve readability.
4605 (ruby-block-contains-point): New function.
4606 (ruby-add-log-current-method): Handle several edge cases.
4607
4608 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4609
4610 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4611 unload-feature finishes even when aborting an ongoing edebug session.
4612 Also, do not worry about edebug-mode, unload-feature takes care of it.
4613
4614 2012-12-13 Andreas Schwab <schwab@suse.de>
4615
4616 * net/tls.el (tls-program): Update customize type.
4617
4618 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4621 (edebug-setup-hook, cl-read-load-hooks): Use it.
4622 (edebug-unload-function): New function. (Bug#13163)
4623
4624 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4625
4626 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4627 Otherwise, there could be errors in autoloading. (Bug#13151)
4628
4629 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4630
4631 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4632 sequences.
4633
4634 2012-12-13 Alan Mackenzie <acm@muc.de>
4635
4636 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4637 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4638 around `forward-comment' not recognizing ^M as whitespace.
4639
4640 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4641
4642 * progmodes/python.el (python-skeleton-class)
4643 (python-skeleton-def): Do not add space after defun name.
4644
4645 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4648 (cl--symbol-function): Remove (now that funbound is like nil).
4649
4650 2012-12-12 Glenn Morris <rgm@gnu.org>
4651
4652 * button.el (button--area-button-p): Fix typo.
4653
4654 2012-12-12 Sam Steingold <sds@gnu.org>
4655
4656 * frame.el (frame-maximization-style): New user option.
4657 (toggle-frame-maximized): Toggle frame maximization according to
4658 `frame-maximization-style', bound to <f11>.
4659 (cycle-frame-maximized): Cycle between all maximization styles and
4660 non-maximized frame, bound to shift-<f11>.
4661
4662 2012-12-12 David Cadé <codename68@gmail.com>
4663
4664 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4665
4666 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4667
4668 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4669 (eieio-override-prin1): Don't quote kewords and booleans.
4670 (object-write) <eieio-default-superclass>: Don't put closing parens
4671 on new line, avoid needless empty lines, align values that are objects
4672 with the slot keyword (instead of beginning on the same line).
4673 (eieio-list-prin1): Align value with slot keyword; increase
4674 eieio-print-depth before printing members of the list.
4675
4676 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4677
4678 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4679 a display text-property.
4680 (report-emacs-bug-hook): Don't bother deleting it any more.
4681
4682 * hilit-chg.el (highlight-save-buffer-state): Delete.
4683 Use with-silent-modifications instead.
4684 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4685
4686 * button.el: Handle buttons in display text-properties.
4687 (button--area-button-p, button--area-button-string):
4688 Use (STRING . STRING-POS) representation instead of just STRING.
4689
4690 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4691
4692 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4693 subdirectory be skipped.
4694
4695 2012-12-11 Glenn Morris <rgm@gnu.org>
4696
4697 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4698
4699 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4700 Treat preprocessor lines embedded in continuations like comments.
4701 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4702
4703 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4704
4705 * calc/calc.el (calc-standard-date-formats): Add more date
4706 formats.
4707 * calc/calc-forms.el (math-parse-iso-date): New function.
4708 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4709 (math-parse-iso-date-validate): Add extra error checking.
4710 (calc-date-notation): Add ability to access new date formats.
4711
4712 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4715 font-lock as well as when there's no text-property.
4716
4717 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4718
4719 * hi-lock.el: Refine the choice of default face.
4720 (hi-lock-keyword->face): New function. Use it wherever we used
4721 cadadadr instead.
4722 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4723 (hi-lock--last-face): Remove var.
4724 (hi-lock--unused-faces): New var to replace it.
4725 (hi-lock-read-face-name): Use/maintain it.
4726 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4727 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4728 if it has another face.
4729
4730 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4731
4732 * subr.el (w32notify-handle-event): New function.
4733 (inotify-handle-event): Doc fix.
4734
4735 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4736
4737 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4738
4739 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4740
4741 * simple.el (just-one-space): Doc fix.
4742
4743 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4744
4745 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4746
4747 2012-12-10 Le Wang <l26wang@gmail.com>
4748
4749 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4750 narrowed buffer (bug#12361).
4751
4752 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * vc/vc-hooks.el (vc-state): Doc fix.
4755
4756 2012-12-10 Glenn Morris <rgm@gnu.org>
4757
4758 * mail/rmail.el (rmail-maybe-display-summary):
4759 Preserve buffer, in case select-window changes it. (Bug#13066)
4760
4761 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4764 cl-load-hook where they belong.
4765
4766 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4769
4770 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4771
4772 Parallelize byte compilation on MS-Windows.
4773 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4774 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4775 (WINS_BASIC): Define as concatenation of the above.
4776 (compile): Subdivide into 4 separate and independent jobs that can
4777 be run in parallel.
4778 (compile0-CMD, compile0-SH): New targets for compiling
4779 COMPILE_FIRST files, which are prerequisites for the rest of the
4780 byte-compilation.
4781 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4782 New targets for parallel compilation with cmd.exe.
4783 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4784 compiling under a Unixy shell.
4785
4786 2012-12-09 Chong Yidong <cyd@gnu.org>
4787
4788 * simple.el (set-mark-default-inactive): Delete this
4789 accidentally-introduced option.
4790 (set-mark-command, exchange-point-and-mark): Remove calls.
4791
4792 2012-12-09 Glenn Morris <rgm@gnu.org>
4793
4794 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4795 Respect a defcustom's :set function, if appropriate. (Bug#109)
4796 (eval-defun): Doc fix.
4797
4798 2012-12-08 Juri Linkov <juri@jurta.org>
4799
4800 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4801 (Info-fontify-node, Info-bookmark-make-record): Remove the
4802 file extension from Info-current-file (Bug#13016).
4803
4804 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4807 point, still provide some default.
4808 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4809 names, since we don't use it right now. Actually return the list.
4810 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4811
4812 2012-12-07 Chong Yidong <cyd@gnu.org>
4813
4814 * novice.el (disabled-command-function): Remove a spurious help
4815 xref (Bug#13043). Suggested by Kelly Dean.
4816
4817 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4818 syntax is specified (Bug#13025).
4819
4820 * info.el (Info-set-mode-line): Remove the file extension from
4821 Info-current-file if there is one (Bug#13016).
4822
4823 2012-12-07 Glenn Morris <rgm@gnu.org>
4824
4825 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4826 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4827 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4828 and rmail-mime-decoded. (Bug#9841)
4829
4830 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4831 (batch-unrmail, unrmail): Doc fixes.
4832 (unrmail): Respect unrmail-mbox-format.
4833 * mail/rmail.el (rmail-mbox-format): New option.
4834 (rmail-show-message-1): Respect rmail-mbox-format.
4835
4836 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4839
4840 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4843 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4844 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4845 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4846 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4847 (cl-progv): Don't rely on dynamic scoping to find the body.
4848 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4849 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4850 (cl-declaim): Use backquotes.
4851 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4852 Use "cl--" prefix for the object's tag.
4853
4854 * ses.el: Use advice-add/remove.
4855 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4856 (copy-region-as-kill, yank): Use advice-add.
4857 (ses-unload-function): Use advice-remove.
4858
4859 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4860
4861 * button.el: Make them work in header-lines (bug#12817).
4862 (button-map): Add bindings for header-line and mode-line use.
4863 (button-get, button-put, button-label): `button' may now be a string.
4864 (button-activate): Don't make it a defsubst.
4865 (button--area-button-p, button--area-button-string): New functions.
4866 (make-text-button): Fix the return value when `beg' was a string.
4867 (push-button): Handle the mode-line case.
4868
4869 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4870
4871 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4872 (sql-signum): Remove. Use `cl-signum' instead.
4873 (sql-read-passwd): Remove; use read-passwd instread.
4874 (sql-get-login-ext): Use read-string.
4875 (sql-get-login): Use dolist and pcase.
4876 (sql--completion-table): Rename from sql-try-completion.
4877 Use complete-with-action.
4878 (sql-mode): Don't change abbrev-all-caps globally.
4879 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4880 (sql-postgres-completion-object): Initialize vars in their `let'.
4881 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4882 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4883 (sql-comint-interbase): Use a single append, without setq.
4884 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4885
4886 * hi-lock.el: Rework the default face and the serialize regexp code.
4887 (hi-lock--auto-select-face-defaults): Remove.
4888 (hi-lock-string-serialize-serial): Remove.
4889 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4890 make weak.
4891 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4892 equal string.
4893 (hi-lock-set-pattern): Adjust accordingly.
4894 (hi-lock--regexps-at-point): Simplify accordingly.
4895 (hi-lock--auto-select-face-defaults): Remove.
4896 (hi-lock--last-face): New var to replace it.
4897 (hi-lock-read-face-name): Rewrite (bug#11095).
4898 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4899
4900 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4901
4902 * net/tramp.el (tramp-replace-environment-variables):
4903 Hide compiler warning.
4904 (tramp-file-name-for-operation): Remove `executable-find',
4905 `start-process', `call-process' and `call-process-region'.
4906
4907 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4908
4909 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4910 compatibility.
4911
4912 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4913
4914 2012-12-06 Chong Yidong <cyd@gnu.org>
4915
4916 * ffap.el (ffap-replace-file-component): Fix typo.
4917
4918 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4921 fix open-paren-like token test (bug#12785).
4922
4923 2012-12-06 Glenn Morris <rgm@gnu.org>
4924
4925 * mail/rmailsum.el (rmail-new-summary): Tweak for
4926 rmail-maybe-display-summary changing buffer. (Bug#13066)
4927
4928 2012-12-06 Juri Linkov <juri@jurta.org>
4929
4930 * info.el (Info-fontify-node): Don't hide the last newline.
4931 (Bug#12272)
4932
4933 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4934
4935 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4936 so as to enable message-read-from-minibuffer to expand mail aliases.
4937
4938 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4941 the `intangible' property.
4942 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4943
4944 2012-12-05 Deniz Dogan <deniz@dogan.se>
4945
4946 * net/rcirc.el (rcirc-urls): Update documentation.
4947 (rcirc-condition-filter): New function.
4948 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4949 and exclude consecutive duplicate URLs (Bug#6082).
4950
4951 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4952
4953 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4954 Check return code of copy command.
4955
4956 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4957 Use group `tramp'. Add version.
4958
4959 2012-12-05 Chong Yidong <cyd@gnu.org>
4960
4961 * ffap.el (ffap-url-regexp): Don't require matching at front of
4962 string (Bug#4952).
4963 (ffap-url-p): If only a substring matches, return that.
4964 (ffap-url-at-point): Use the return value of ffap-url-p.
4965 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4966 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4967 (ffap-guess-file-name-at-point): Likewise.
4968 (ffap-replace-file-component): Fix typo.
4969
4970 * info.el (info-display-manual): Add existing Info buffers, whose
4971 files may not be in Info-directory-list, to the completion.
4972 (info--manual-names): New helper function.
4973
4974 2012-12-05 Glenn Morris <rgm@gnu.org>
4975
4976 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4977 New functions, for detecting and resolving conflicts. (Bug#10709)
4978
4979 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4980
4981 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4982 (hi-lock-auto-select-face-defaults): New buffer local variable.
4983 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4984 (hi-lock-unface-buffer): Prompt user with useful defaults.
4985 With prefix arg, unhighlight all hi-lock patterns in buffer.
4986
4987 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4990
4991 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4992
4993 * Makefile.in (TRAMP_SRC):
4994 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4995
4996 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4997
4998 * net/tramp-adb.el: New package.
4999
5000 2012-12-04 Chong Yidong <cyd@gnu.org>
5001
5002 * terminal.el: Move to obsolete/.
5003
5004 * longlines.el: Move to obsolete/.
5005
5006 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5007 Remove code referring to longlines mode.
5008
5009 2012-12-03 Juri Linkov <juri@jurta.org>
5010
5011 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5012
5013 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5014
5015 * textmodes/ispell.el (ispell-init-process)
5016 (ispell-start-process, ispell-internal-change-dictionary):
5017 Make sure personal dictionary name is expanded after initial
5018 `default-directory' value. Use expanded strings for
5019 keep/restart checks and for value (Bug#13019).
5020
5021 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5022
5023 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5024
5025 2012-12-03 Leo Liu <sdl.web@gmail.com>
5026
5027 * files.el (dir-locals-read-from-file): Check file non-empty
5028 before reading. (Bug#13038)
5029
5030 2012-12-03 Glenn Morris <rgm@gnu.org>
5031
5032 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5033 Remove any version extension before checking filename. (Bug#13006)
5034 (jka-compr-compression-info-list): Belated :version bump.
5035
5036 2012-12-03 Chong Yidong <cyd@gnu.org>
5037
5038 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5039
5040 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5041 (buffer-menu): Doc fix (Bug#12294).
5042
5043 2012-12-03 Roland Winkler <winkler@gnu.org>
5044
5045 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5046 of diary-show-all-entries in the diary buffer (Bug#12994).
5047
5048 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5049
5050 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5051 "<STDIN>". This is binary safe.
5052
5053 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5054
5055 * calc/calc-forms.el (math-absolute-from-iso-dt)
5056 (math-date-to-iso-dt, math-parse-iso-date-validate)
5057 (math-iso-dt-to-date): New functions.
5058 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5059 (math-fd-isoweekday): New variables.
5060 (calc-date-notation, math-parse-standard-date, math-format-date)
5061 (math-format-date-part): Add support for more formatting codes.
5062
5063 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5064
5065 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5066 current buffer's file name when called interactively (Bug#12488).
5067
5068 2012-12-02 Juri Linkov <juri@jurta.org>
5069
5070 * info.el (info-display-manual): Don't clobber an existing Info
5071 buffer (Bug#10770). Add completion (Bug#10771).
5072
5073 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5074
5075 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5076 before using it for comparison (Bug#5297).
5077
5078 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5079
5080 * textmodes/css-mode.el (css-current-defun-name): New function.
5081 (css-mode): Use it.
5082
5083 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5084 (html-mode): Use it.
5085
5086 2012-12-01 Chong Yidong <cyd@gnu.org>
5087
5088 Modularize add-log-current-defun (Bug#2224).
5089 Suggested by Jari Aalto.
5090
5091 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5092 (add-log-current-defun): Move mode-specific code to other files.
5093 (add-log-lisp-like-modes, add-log-c-like-modes)
5094 (add-log-tex-like-modes): Variables deleted.
5095
5096 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5097 (lisp-mode-variables): Use it.
5098
5099 * progmodes/cc-mode.el (c-common-init):
5100 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5101 add-log-current-defun-function.
5102
5103 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5104 (m4-mode): Use it.
5105
5106 * progmodes/perl-mode.el (perl-current-defun-name): New.
5107 (perl-mode): Use it.
5108
5109 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5110 Use lisp-current-defun-name.
5111
5112 * textmodes/tex-mode.el (tex-current-defun-name): New.
5113 (tex-common-initialization): Use it.
5114
5115 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5116 (texinfo-mode): Use it.
5117
5118 2012-12-01 Chong Yidong <cyd@gnu.org>
5119
5120 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5121 * progmodes/autoconf.el (autoconf-mode):
5122 * progmodes/js.el (js-mode):
5123 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5124 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5125 * progmodes/perl-mode.el (perl-mode):
5126 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5127 * textmodes/css-mode.el (css-mode):
5128 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5129 (sgml-tags-invisible, sgml-guess-indent):
5130 * textmodes/tex-mode.el (tex-common-initialization)
5131 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5132 (doctex-mode, plain-tex-mode, latex-mode):
5133 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5134
5135 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5136
5137 * vc/vc-hg.el (vc-hg-next-revision):
5138 Ensure use of default "tip" output format. (Bug#6968)
5139
5140 2012-12-01 Kim F. Storm <storm@cua.dk>
5141
5142 * startup.el (fancy-startup-tail): Add a clickable link
5143 (Bug#2176).
5144
5145 2012-12-01 Chong Yidong <cyd@gnu.org>
5146
5147 * startup.el (fancy-startup-tail): Improve the message about
5148 auto-save files (Bug#2176).
5149
5150 * files.el (recover-session): Improve the descriptive message, and
5151 use substitute-command-keys.
5152
5153 2012-12-01 Glenn Morris <rgm@gnu.org>
5154
5155 * ido.el (ido-file-internal):
5156 Handle other-window, other-frame for dired. (Bug#13036)
5157
5158 2012-11-30 Glenn Morris <rgm@gnu.org>
5159
5160 * icomplete.el (icomplete-separator): Fix :version.
5161
5162 2012-11-30 Chong Yidong <cyd@gnu.org>
5163
5164 * shell.el (shell): For C-u M-x shell, use an inactive shell
5165 buffer as the default (Bug#1975).
5166 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5167 (shell-mode): Use them to reapply ansi colorization if Shell mode
5168 is re-enabled.
5169
5170 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5171
5172 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5173
5174 2012-11-30 Samuel Bronson <naesten@gmail.com>
5175
5176 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5177 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5178
5179 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5180
5181 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5182 by move-to-column (Bug#3234).
5183
5184 2012-11-30 Chong Yidong <cyd@gnu.org>
5185
5186 * longlines.el (longlines-wrap-line, longlines-encode-region):
5187 Preserve text properties (Bug#1425).
5188
5189 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5190
5191 * vc/vc.el (vc-register): Allow registering a file which is
5192 already registered with a different backend (Bug#10589).
5193
5194 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5195 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * icomplete.el: Change separator; add ido-style commands.
5198 (icomplete-show-key-bindings): Remove custom var.
5199 (icomplete-get-keys): Remove function.
5200 (icomplete-forward-completions, icomplete-backward-completions):
5201 New commands.
5202 (icomplete-minibuffer-map): New var.
5203 (icomplete-minibuffer-setup): Use it.
5204 (icomplete-exhibit): Don't delay if the list of completions is known.
5205 (icomplete-separator): New custom.
5206 (icomplete-completions): Use it.
5207 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5208 (minibuffer-force-complete-and-exit): New command.
5209 (minibuffer--complete-and-exit): New function extracted from
5210 minibuffer-complete-and-exit.
5211 (minibuffer-complete-and-exit): Use it.
5212
5213 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5214 error message when the file doesn't exist (bug#12974).
5215
5216 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5217
5218 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5219
5220 2012-11-29 Glenn Morris <rgm@gnu.org>
5221
5222 * files.el (hack-dir-local-variables): Warn if try to set
5223 coding via dir-locals, since it doesn't work. (Bug#7169)
5224
5225 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5226 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5227 Set buffer-local value of desktop-save-buffer.
5228 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5229 New functions.
5230 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5231 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5232
5233 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5234 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5235 Doc fix.
5236 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5237 Doc fixes.
5238
5239 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5240
5241 * calc/calc-forms.el (calc-date-notation): Fix regexp
5242 used to find time codes. Fix symbol for seconds.
5243
5244 2012-11-27 Glenn Morris <rgm@gnu.org>
5245
5246 * emacs-lisp/derived.el (derived-mode-make-docstring):
5247 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5248
5249 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5252 lexically scoped variables (bug#13005).
5253
5254 2012-11-27 Glenn Morris <rgm@gnu.org>
5255
5256 * vc/vc-hooks.el (vc-mistrust-permissions):
5257 Default to t, to avoid data-loss. (Bug#11490)
5258
5259 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5260
5261 * progmodes/python.el (python-indent-guess-indent-offset):
5262 If indentation is guessed make python-indent-offset buffer-local.
5263
5264 Fix Imenu regression.
5265 * progmodes/python.el (python-nav-beginning-of-defun):
5266 Fix forward movement when statement(s) separates point from defun.
5267 (python-imenu-prev-index-position): New function.
5268
5269 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5270
5271 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5272
5273 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5274 Don't set buffer-file-type. Return nil. (Bug#12989)
5275
5276 2012-11-27 Glenn Morris <rgm@gnu.org>
5277
5278 * hippie-exp.el (hippie-expand-try-functions-list):
5279 Re-autoload it. (Bug#12982)
5280
5281 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5282
5283 * descr-text.el (describe-char-padded-string):
5284 Call internal-char-font only on GUI frames. (Bug#11964)
5285
5286 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5287
5288 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5289 and obsoletion message.
5290
5291 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5294 the constructs to keep outside of the `cl-block' (bug#12977).
5295
5296 2012-11-27 Chong Yidong <cyd@gnu.org>
5297
5298 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5299 keep reading until we get the up-event anyway, in order to process
5300 the up-event for mouse-1-click-follows-link (Bug#12971).
5301
5302 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5305 base function is not yet defined (bug#12965).
5306 (ad-activate-advised-definition): Use ad-compile-function.
5307 (ad-activate): Use cond.
5308
5309 2012-11-25 Leo Liu <sdl.web@gmail.com>
5310
5311 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5312 (Bug#12979)
5313
5314 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5315
5316 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5317 reftex-section-info-function in order to be compatible with
5318 Texinfo integration.
5319
5320 * textmodes/reftex.el (reftex-section-pre-regexp)
5321 (reftex-section-post-regexp, reftex-section-info-function):
5322 New variable.
5323 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5324 reftex-section-post-regexp, and reftex-section-info-function in order
5325 to be compatible with Texinfo integration.
5326
5327 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5328 use reftex-section-pre-regexp variable in order to be compatible with
5329 Texinfo integration.
5330
5331 2012-11-25 Chong Yidong <cyd@gnu.org>
5332
5333 * faces.el: Make face-spec-set more analogous to setq.
5334 (face-spec-set): Change the third arg to specify whether this
5335 function is being called via defface, customize, or a third party.
5336 Set the appropriate symbol properties. Clear the override spec if
5337 setting via Custom. Initialize face if necessary. (Bug#4988)
5338 (face-spec-recalc): Allow theme faces to completely replace the
5339 defface spec, in the same way as custom faces (Bug#8454).
5340
5341 * cus-face.el (custom-declare-face): Move face initialization to
5342 face-spec-set.
5343 (custom-theme-set-faces): Don't initialize the face name here, as
5344 that is now done in face-spec-set.
5345
5346 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5347 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5348 Simplify by using the new arg to face-spec-set.
5349
5350 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5351 reset face-override-spec too, and use custom-declare-face.
5352
5353 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5354
5355 * term/ns-win.el (ns-initialize-window-system): Move creation of
5356 fontsets here (Bug#11964).
5357
5358 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5359
5360 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5361 cell renaming.
5362
5363 2012-11-24 Chong Yidong <cyd@gnu.org>
5364
5365 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5366 obsolete.
5367
5368 * custom.el (custom-theme-set-variables): Use a topological sort
5369 for ordering by custom dependencies (Bug#12952).
5370 (custom--sort-vars, custom--sort-vars-1): New functions.
5371
5372 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5375 lexical-binding (bug#12938).
5376
5377 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5378
5379 * image-mode.el (image-transform-check-size): Use assertions only
5380 for images of type imagemagick.
5381
5382 Otherwise no error, image-transform-fit-to-{width,height} is
5383 silently ignored, as before. Doc fix.
5384
5385 2012-11-24 Chong Yidong <cyd@gnu.org>
5386
5387 * faces.el (color-defined-p): Doc fix (Bug#12853).
5388
5389 2012-11-24 Juri Linkov <juri@jurta.org>
5390
5391 * dired.el (dired-mark): Add optional arg `interactive'.
5392 Check for `use-region-p' if `interactive' is non-nil.
5393 (dired-unmark, dired-flag-file-deletion): Add optional arg
5394 `interactive'. Call `dired-mark' with the arg `interactive'.
5395 (Bug#10624)
5396
5397 * wdired.el: Revert 2012-10-17 change partly and replace it with
5398 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5399 (wdired-finish-edit): Add marks for new file names to
5400 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5401 after `revert-buffer'.
5402 (wdired-do-renames): Remove calls to `dired-remove-file',
5403 `dired-add-file', `dired-add-entry'. (Bug#11795)
5404
5405 2012-11-24 Alan Mackenzie <acm@muc.de>
5406
5407 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5408
5409 Fix bugs in the state cache. Enhance a debugging mechanism.
5410 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5411 "brace at column zero" strategy for C++.
5412 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5413 (c-parse-state-point): New variable.
5414 (c-record-parse-state-state): Record old parse state with
5415 `copy-tree'. Record previous value of point.
5416 (c-debug-parse-state-double-cons): New debugging function.
5417 (c-debug-parse-state): Call the above new function.
5418 (c-toggle-parse-state-debug): Output a confirmatory message.
5419
5420 * progmodes/cc-mode.el (c-before-change, c-after-change):
5421 Call c-invalidate-state-cache from `c-before-change' instead of
5422 `c-after-change'.
5423
5424 2012-11-23 Chong Yidong <cyd@gnu.org>
5425
5426 * find-cmd.el (find-constituents): Add executable, ipath,
5427 readable, samefile, writable, daystart, regextype (Bug#12856).
5428
5429 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5432
5433 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5434
5435 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5436 definition. This fixes a bootstrap failure.
5437 (calc-gregorian-switch): In menu, put dates before regions.
5438 This is easier to follow, lines up better in the menu, and lets us
5439 coalesce regions that switch at the same time. Give country
5440 names, not "Vatican", as that's better for non-expert users.
5441 Use names that are stable between the date of switch and now, e.g.,
5442 Bohemia and Moravia (which existed then and now) and not
5443 Czechoslovakia (which didn't exist then and doesn't exist now).
5444 What is now the U.S. mostly did not switch at the same time as
5445 Britain, so omit the U.S. Correct spelling of "Britain".
5446 Catholic Switzerland was too much of a mess, so omit it.
5447
5448 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5449
5450 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5451 after the variable is changed.
5452
5453 2012-11-21 Daniel Colascione <dancol@dancol.org>
5454
5455 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5456 in SQL declarations for font-lock.
5457 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5458
5459 2012-11-21 Glenn Morris <rgm@gnu.org>
5460
5461 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5462 (face-italic-p): Add optional argument "inherit".
5463
5464 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5465 Remove -p suffix from names, for consistency with other set-face-*.
5466 (set-face-inverse-video): Fix interactive spec.
5467 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5468 * textmodes/table.el (table--update-cell-face):
5469 Use set-face-inverse-video rather than now obsolete alias.
5470
5471 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5472
5473 * simple.el (line-move): Don't call line-move-partial if
5474 scroll-conservatively is in effect. (Bug#12927)
5475
5476 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5479 Fallback on completion-at-point rather than
5480 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5481 (eshell-cmpl-initialize): Setup completion-at-point.
5482
5483 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5484
5485 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5486
5487 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5488
5489 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5490 are remote, check out-of-band property for both.
5491
5492 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5495 code rewrite.
5496
5497 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5498
5499 More minor time fixes.
5500 * calendar/time-date.el: Commentary fix.
5501 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5502 too much other code depends on (0 0) time stamps.
5503 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5504 Add a couple of FIXME comments.
5505
5506 Minor cleanup for times as lists of four integers.
5507 * files.el (dir-locals-directory-cache):
5508 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5509 Doc fixes.
5510 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5511 * ps-bdf.el (bdf-file-newer-than-time):
5512 Process four-integers time stamps, not two. Doc fixes.
5513
5514 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * uniquify.el (uniquify-managed): Use defvar-local.
5517 (rename-buffer, create-file-buffer): Advise with advice-add.
5518 (uniquify-unload-function): Unadvise accordingly.
5519
5520 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5521 (trace-buffer): Don't purecopy.
5522 (trace-entry-message, trace-exit-message): Add `context' arg.
5523 (trace--timer): New var.
5524 (trace-make-advice): Adjust for use in nadvice.
5525 Add `context' argument. Delay `display-buffer' via a timer.
5526 (trace-function-internal): Use advice-add.
5527 (trace--read-args): New function.
5528 (trace-function-foreground, trace-function-background): Use it.
5529 (trace-function): Rename to trace-function-foreground and redefine as
5530 an alias to that new name.
5531 (untrace-function, untrace-all): Adjust to the use of nadvice.
5532
5533 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5534
5535 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5536
5537 * subr.el (called-interactively-p-functions): New var.
5538 (internal--called-interactively-p--get-frame): New macro.
5539 (called-interactively-p, interactive-p): Rewrite in Lisp.
5540 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5541 (called-interactively-p-functions): Use it.
5542 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5543 (called-interactively-p-functions): Use it.
5544 * allout.el (allout-called-interactively-p): Don't assume
5545 called-interactively-p is a subr.
5546
5547 2012-11-20 Glenn Morris <rgm@gnu.org>
5548
5549 * profiler.el (profiler-report-mode-map): Add a menu.
5550 No need to bind `q' because we derive from special-mode.
5551 (profiler-report-find-entry): Handle calls from the menu-bar.
5552
5553 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * emacs-lisp/byte-run.el (defun-declarations-alist):
5556 Allow a compiler-macro to be a lambda expression.
5557
5558 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5559 eval-when-compile.
5560 (python-syntax-context): Add compiler-macro.
5561 (python-font-lock-keywords): Simplify with De Morgan.
5562
5563 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5564
5565 * files.el (load-file): Require match in minibuffer selection, as was
5566 the case in Emacs-20 before we changed the spec to allow .elc files
5567 (bug#12935).
5568
5569 * json.el: Don't require cl since we don't use it.
5570 * color.el: Don't require cl.
5571 (color-complement): `caddr' -> `nth 2'.
5572
5573 * calendar/time-date.el (time-to-seconds): De-obsolete.
5574
5575 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5576
5577 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5578 year numbers.
5579 (math-date-to-julian-dt): Adjust the initial approximation for the
5580 year to deal with the new definition of the DATE.
5581
5582 2012-11-19 Daniel Colascione <dancol@dancol.org>
5583
5584 * term/w32-win.el (cygwin-convert-path-from-windows):
5585 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5586
5587 2012-11-18 Chong Yidong <cyd@gnu.org>
5588
5589 * filecache.el (file-cache--read-list): New function.
5590 (file-cache-add-directory-list, file-cache-add-file-list)
5591 (file-cache-delete-file-list, file-cache-delete-directory-list):
5592 Use it to read a list of files or directories (Bug#12846).
5593 (file-cache-add-file, file-cache-add-directory)
5594 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5595 (file-cache-delete-directory): Print an message.
5596
5597 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5598
5599 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5600 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5601
5602 2012-11-18 Glenn Morris <rgm@gnu.org>
5603
5604 * image.el (insert-image, insert-sliced-image): Doc fix.
5605
5606 2012-11-18 Chong Yidong <cyd@gnu.org>
5607
5608 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5609 (Bug#12810).
5610
5611 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5612
5613 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5614 response when the target file is in a subdirectory (Bug#12757).
5615
5616 2012-11-18 Chong Yidong <cyd@gnu.org>
5617
5618 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5619
5620 2012-11-18 Glenn Morris <rgm@gnu.org>
5621
5622 * emacs-lisp/cl-lib.el (face-underline-p):
5623 Use set-face-underline rather than the alias set-face-underline-p.
5624
5625 * window.el (with-temp-buffer-window): Doc fix.
5626 * subr.el (with-output-to-temp-buffer):
5627 Add doc xref to with-temp-buffer-window.
5628
5629 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5632 * calc/calc.el (math-format-date-cache): Declare.
5633
5634 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5635
5636 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5637 It also uses January 1, 1 AD as its day number 1.
5638 * calc/calc-forms.el (math-julian-date-beginning)
5639 (math-julian-date-beginning-int): Implement this.
5640
5641 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5642
5643 * descr-text.el (quail-find-key):
5644 * dired.el (desktop-file-name):
5645 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5646 * generic-x.el (comint-mode, comint-exec):
5647 * image-dired.el (widget-forward):
5648 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5649 (speedbar-change-expand-button-char)
5650 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5651 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5652 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5653 (widget-field-action, widget-value-set):
5654 * speedbar.el (imenu--make-index-alist):
5655 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5656 (ring-length, ring-insert):
5657 * vcursor.el (compare-windows-skip-whitespace):
5658 * woman.el (dired-get-filename):
5659 Declare functions.
5660
5661 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5662
5663 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5664
5665 * calc/calc.el (calc-gregorian-switch): New variable.
5666
5667 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5668 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5669 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5670 (math-leap-year-p): Add option to distinguish between Julian
5671 and Gregorian calendars.
5672 (math-day-number): Use `math-day-in-year' to do the computations.
5673 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5674 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5675 to do the computations.
5676 (math-date-to-dt): Use `math-date-to-julian-dt' and
5677 `math-date-to-gregorian-dt' to do the computations.
5678 (calcFunc-weekday, math-format-date-part): Use the new version of
5679 the DATE to determine the weekday.
5680 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5681 when necessary.
5682
5683 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5684
5685 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5686 Cygwin; otherwise use 'file:'. (Bug#12914)
5687 (cygwin-convert-path-from-windows): Declare, to avoid
5688 byte-compiler warnings.
5689
5690 2012-11-17 Andreas Politz <politza@fh-trier.de>
5691
5692 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5693 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5694 prefix and negative numeric prefix args (Bug#12795).
5695
5696 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5697
5698 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5699 Don't signal an error with a score that is too low to add to the
5700 list of top scores. (Bug#12779)
5701
5702 2012-11-17 Chong Yidong <cyd@gnu.org>
5703
5704 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5705
5706 * filecache.el (file-cache-add-file): Handle relative file name in
5707 the argument (Bug#12694).
5708
5709 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5710
5711 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5712
5713 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5716
5717 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5718
5719 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5720
5721 * window.el (enlarge-window, shrink-window): Don't mention return
5722 value in doc-string (Bug#12896).
5723 (window--display-buffer): Don't resize frames - it won't work
5724 with all window managers and defeat pop-up-frame-alist.
5725 (display-buffer-alist): In doc-string explain that CONDITION can
5726 be a function and which arguments are passed to it (Bug#12854).
5727 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5728 expressions (Bug#12854).
5729 (display-buffer): Pass ACTION argument to
5730 display-buffer-assq-regexp.
5731
5732 2012-11-16 Glenn Morris <rgm@gnu.org>
5733
5734 * window.el (fit-frame-to-buffer-bottom-margin)
5735 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5736
5737 * faces.el (face-underline-p): Use face-attribute-specified-or.
5738
5739 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5740
5741 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5742
5743 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5746
5747 2012-11-16 Glenn Morris <rgm@gnu.org>
5748
5749 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5750 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5751
5752 * faces.el (face-underline-p): Doc fix. Handle :underline being
5753 things other than `t' (a string, a list).
5754 (face-inverse-video-p): Doc fix.
5755 (set-face-underline): Rename it back from set-face-underline-p.
5756 Doc fix. Allow interactive input of values other than t.
5757 (read-face-attribute): Apply formatting to :underline,
5758 since like :box and :stipple it can take list values.
5759
5760 * term.el (ansi-term): Don't let C-x escape-char binding
5761 clobber the more standard C-c binding. (Bug#12842)
5762
5763 * subr.el (set-temporary-overlay-map): Doc fix.
5764
5765 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5766
5767 * window.el (record-window-buffer)
5768 (display-buffer-record-window): When copying the markers to
5769 window-point preserve window-point-insertion-type. (Bug#12588)
5770
5771 2012-11-16 Glenn Morris <rgm@gnu.org>
5772
5773 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5774 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5775 Use new names for hooks rather than obsolete aliases.
5776
5777 2012-11-15 Daniel Colascione <dancol@dancol.org>
5778
5779 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5780 prefix instead of "file:" so that when FILE-NAME begins with "//",
5781 as it does when the target file is on a network share, url-handler
5782 isn't confused.
5783
5784 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5787 a preactivated advice from an old advice.el; they're not compatible!
5788
5789 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5790
5791 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5792 Fix string-spec case.
5793
5794 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5795
5796 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5799 (advice--buffer-local-function-sample): New var.
5800 (advice--set-buffer-local, advice--buffer-local): New functions.
5801 (add-function, remove-function): Use them.
5802
5803 2012-11-15 Drew Adams <drew.adams@oracle.com>
5804
5805 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5806
5807 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5810 potential binding of print-gensym to t, and prettify (back)quotes in
5811 case they appear in args's default values (bug#12884).
5812
5813 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5816 (advice-eval-interactive-spec): New function.
5817 (advice--make-interactive-form): Support around advice (bug#12844).
5818
5819 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5820
5821 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5822 more strict. Add docstring.
5823 (ruby-expression-expansion-re): Extract from
5824 `ruby-match-expression-expansion'.
5825 (ruby-syntax-propertize-function): After everything else, search
5826 for expansions in string literals, mark their insides as
5827 whitespace syntax and save match data for font-lock.
5828 (ruby-font-lock-keywords): Use the 2nd group from expression
5829 expansion matches.
5830 (ruby-match-expression-expansion): Use the match data saved to the
5831 text property in ruby-syntax-propertize-function.
5832
5833 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5836 (bug#12879).
5837
5838 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5839
5840 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5841 start/end keyword a bit harder. Works with different values of N.
5842 Add more comments.
5843 (ruby-end-of-block): Update accordingly.
5844
5845 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * woman.el (woman-file-name): Don't mess with unread-command-events
5848 (bug#12861).
5849
5850 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5851 Remove out of date self-require hack.
5852 (ad-do-advised-functions): Use simple `dolist'.
5853 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5854 (ad-advice-definition): Redefine as functions.
5855 (ad-advice-classes): Move before first use.
5856 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5857 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5858 (ad--defalias-fset): Remove functions.
5859 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5860 (ad-get-orig-definition): Rewrite.
5861 (ad-make-advised-definition-docstring): Change base docstring.
5862 (ad-real-orig-definition): Rewrite.
5863 (ad-map-arglists): Change name of called function.
5864 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5865 (ad-make-advised-definition): Simplify.
5866 (ad-assemble-advised-definition): Tweak for new calling context.
5867 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5868 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5869 function and call ad-activate if needed.
5870 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5871 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5872 (ad-compile-function): Compile ad-Advice-*.
5873 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5874 (ad-start-advice, ad-stop-advice): Remove.
5875
5876 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5877
5878 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5879 period before class method names, not after. Remove handling of
5880 one impossible case. Add comments.
5881
5882 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 * emacs-lisp/advice.el: Remove support for freezing.
5885 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5886 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5887 Remove support for `freeze'.
5888
5889 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5890 override the default.
5891 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5892 cl--dotimes/dolist.
5893 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5894 `cl' is loaded.
5895
5896 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5897 from add-advice.
5898 (advice--strip-macro): New function.
5899 (advice--defalias-fset): Use them to handle macros.
5900 (advice-add): Use them.
5901 (advice-member-p): Correctly handle macros.
5902
5903 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5904
5905 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5906 Never font-lock the beginning of singleton class as heredoc.
5907
5908 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5911
5912 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5913
5914 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5915 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5916 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5917
5918 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5919
5920 Fix end-of-defun misbehavior.
5921 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5922 python-beginning-of-defun-function. Handle nested defuns
5923 correctly.
5924 (python-nav-end-of-defun): Rename from
5925 python-end-of-defun-function. Ensure forward movement.
5926 (python-info-current-defun): Reimplement to work as intended
5927 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5928 parent defuns as soon as possible.
5929
5930 2012-11-13 Glenn Morris <rgm@gnu.org>
5931
5932 * progmodes/flymake.el (flymake-error-bitmap)
5933 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5934 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5935
5936 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5937
5938 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5939 backward, always stop at indentation. Reverts the change from
5940 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5941
5942 2012-11-13 Glenn Morris <rgm@gnu.org>
5943
5944 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5945 Add ibuffer-filter-by-derived-mode.
5946
5947 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5948 the same name shadowing each other.
5949
5950 * window.el (with-temp-buffer-window): Doc tweak.
5951
5952 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5953
5954 * help.el (temp-buffer-max-height):
5955 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5956 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5957
5958 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * emacs-lisp/nadvice.el: New package.
5961 * subr.el (special-form-p): New function.
5962 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5963 (elp-all-instrumented-list): Remove var.
5964 (elp-not-profilable): Remove elp-wrapper.
5965 (elp-profilable-p): Use autoloadp and special-form-p.
5966 (elp--advice-name): New const.
5967 (elp-instrument-function): Use advice-add.
5968 (elp--instrumented-p): New predicate.
5969 (elp-restore-function): Use advice-remove.
5970 (elp-restore-all, elp-reset-all): Use mapatoms.
5971 (elp-set-master): Use elp--instrumented-p.
5972 (elp--make-wrapper): Rename from elp-wrapper, return a function
5973 suitable for advice-add. Use cl-inf.
5974 (elp-results): Use mapatoms+elp--instrumented-p.
5975 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5976 (debug-function-list): Remove var.
5977 (debug): Rename arg, and then let-bind it explicitly inside.
5978 (debugger-setup-buffer): Rename arg.
5979 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5980 (debugger-frame-number): Adjust to new debug-on-entry setup.
5981 (debug--implement-debug-on-entry): Rename from
5982 implement-debug-on-entry, add argument.
5983 (debugger-special-form-p): Remove, use special-form-p instead.
5984 (debug-on-entry): Use advice-add.
5985 (debug--function-list): New function.
5986 (cancel-debug-on-entry): Use it, along with advice-remove.
5987 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5988 (debugger-list-functions): Use debug--function-list instead of
5989 debug-function-list.
5990 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5991 (ad-special-form-p): Remove, use special-form-p instead.
5992 (ad-set-advice-info): Use add-function and remove-function.
5993 (ad--defalias-fset): Adjust accordingly.
5994
5995 2012-11-10 Glenn Morris <rgm@gnu.org>
5996
5997 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5998 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5999 (report-emacs-bug-create-existing-bugs-buffer)
6000 (report-emacs-bug-parse-query-results)
6001 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6002
6003 * term.el (term-default-fg-color, term-default-bg-color):
6004 Make obsolete, rather than just saying "deprecated" in the doc.
6005
6006 * term.el (term): Rename from `term-face'.
6007 (term-current-face, ansi-term-color-vector)
6008 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6009 Update all users.
6010
6011 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6012
6013 * server.el (server-create-window-system-frame): Handle Nextstep
6014 specially (Bug#12780).
6015
6016 2012-11-10 Glenn Morris <rgm@gnu.org>
6017
6018 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6019 Unautoload, and make obsolete. (Bug#7449)
6020
6021 2012-11-10 Chong Yidong <cyd@gnu.org>
6022
6023 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6024 rename from diff-remove-trailing-whitespace (Bug#12831).
6025
6026 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6029 miscompilation of trace.el.
6030
6031 2012-11-10 Glenn Morris <rgm@gnu.org>
6032
6033 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6034
6035 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6038 (bug#12812).
6039
6040 2012-11-10 Chong Yidong <cyd@gnu.org>
6041
6042 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6043 a defcustom with an appropriate :set function.
6044 (minibuffer-default--in-prompt-regexps): New function.
6045
6046 2012-11-10 Glenn Morris <rgm@gnu.org>
6047
6048 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6049 (define-modify-macro): Doc fixes.
6050
6051 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6052 (gv-define-simple-setter): Update doc of `fix-return'.
6053
6054 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6057 twice when `fix-return' is set (bug#12813).
6058
6059 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6060 gv-define-simple-setter (bug#12812).
6061
6062 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6063 (bug#12756).
6064
6065 2012-11-10 Glenn Morris <rgm@gnu.org>
6066
6067 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6068
6069 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6070 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6071 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6072 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6073
6074 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6075
6076 2012-11-10 Leo Liu <sdl.web@gmail.com>
6077
6078 * ido.el (ido-set-matches-1): Improve flex matching performance by
6079 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6080
6081 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6084 (ad--defalias-fset): New function.
6085 (ad-safe-fset): Remove.
6086 (ad-make-freeze-definition): Use cl-letf*.
6087
6088 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * subr.el (dolist): Don't bind VAR in RESULT.
6091
6092 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6093 (fset, documentation): Don't save real def since we don't advise.
6094 (ad-do-advised-functions): Remove problematic `result-form'.
6095 (ad-safe-fset): `ad-real-fset' => `fset'.
6096 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6097 uses CL's dolist internally.
6098 (ad-arglist): Remove unused arg `name'.
6099 (ad-docstring, ad-make-advised-docstring):
6100 `ad-real-documentation' => `documentation'.
6101 (warning-suppress-types): Declare.
6102 (ad-set-arguments): Simple CSE.
6103 (ad-recover-normality): Sanity check.
6104
6105 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6106 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6107
6108 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6109
6110 * ses.el: symbol to coordinate mapping is made by symbol property
6111 `ses-cell'. This means that the same mapping is done for all SES
6112 sheets. That is good enough for cells with standard A1 names, but
6113 not for named cell. So a hash map is added for the latter.
6114 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6115 (ses-sym-rowcol): Use hashmap for named cell.
6116 (ses-is-cell-sym-p): New defun.
6117 (ses-decode-cell-symbol): New defun.
6118 (ses-create-cell-variable): Add cell to hashmap when name is not
6119 A1-like.
6120 (ses-rename-cell): Check that cell new name is not already in
6121 spreadsheet with the use of ses-is-cell-sym-p
6122 (ses-rename-cell): Use hash map for named cells, but accept also
6123 renaming back to A1-like.
6124
6125 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * emacs-lisp/advice.el: Use new dynamic docstrings.
6128 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6129 Use dynamic-docstring-function instead of ad-advice-info.
6130 (ad--make-advised-docstring): New function extracted from
6131 ad-make-advised-docstring.
6132 (ad-make-advised-docstring): Use it.
6133 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6134 from sql-help.
6135 (sql-help): Use it with dynamic-docstring-function.
6136
6137 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6138
6139 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * files.el (hack-one-local-variable--obsolete): New function.
6142 (hack-one-local-variable): Use it for obsolete settings.
6143
6144 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6145 the new name.
6146
6147 * progmodes/js.el (js--filling-paragraph): New var.
6148 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6149 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6150 less sneaky.
6151
6152 2012-11-08 Julien Danjou <julien@danjou.info>
6153
6154 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6155 `auto-mode-alist' (Bug#12835).
6156
6157 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6160 (perl--prettify-symbols-alist): New const.
6161 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6162 New functions.
6163 (perl-font-lock-keywords-2): Use them.
6164 (perl-electric-noindent-p): New function.
6165 (perl-mode): Use it to set up electric-indent-mode.
6166 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6167 (perl-mode-map): Remove bindings for them.
6168 (perl-imenu-generic-expression, perl-outline-level):
6169 Match functions&packages in column>0.
6170
6171 * env.el (env--substitute-vars-regexp): New const.
6172 (substitute-env-vars): Use it. Add `only-defined' arg.
6173 * net/tramp.el (tramp-replace-environment-variables): Use it.
6174
6175 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6176 Byte-compile *before* eval in eval-and-compile.
6177 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6178 (byte-compile-file-form-autoload): Don't hide actual definition.
6179 (byte-compile-maybe-guarded): Accept `functionp' as well.
6180
6181 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6182
6183 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6184
6185 * notifications.el (notifications-get-server-information-method):
6186 New defconst.
6187 (notifications-get-capabilities): Fix docstring.
6188 (notifications-get-server-information): New defun.
6189
6190 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6191
6192 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6193 readability.
6194
6195 * textmodes/ispell.el: Experimental support for support debugging.
6196 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6197 buffer for ispell.
6198 (ispell-print-if-debug): New function to print stuff to
6199 `ispell-debug-buffer' if debugging is enabled.
6200 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6201 show some debugging info.
6202 (ispell-buffer-with-debug): New function that creates a debugging
6203 buffer and calls `ispell-buffer' with debugging enabled.
6204
6205 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6206 comment in autoconf mode. (Bug#12768)
6207
6208 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6209
6210 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6211 frame-first-window, frame-root-window, frame-selected-window,
6212 minibuffer-selected-window, minibuffer-window,
6213 window-absolute-pixel-edges, window-at, window-body-height,
6214 window-body-width, window-display-table, window-combination-limit,
6215 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6216 window-inside-edges, window-inside-pixel-edges, window-left-child,
6217 window-left-column, window-margins, window-next-buffers,
6218 window-next-sibling, window-new-normal, window-new-total,
6219 window-normal-size, window-parameter, window-parameters, window-parent,
6220 window-pixel-edges, window-point, window-prev-buffers,
6221 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6222 window-start, window-text-height, window-top-child, window-top-line,
6223 window-total-height, window-total-width and window-use-time to the list
6224 of functions without side-effects.
6225 (toplevel): Add window-valid-p to the list of error-free functions
6226 without side-effects.
6227
6228 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6229
6230 * textmodes/ispell.el (ispell-program-name):
6231 Update spellchecker parameters when customized.
6232
6233 2012-11-04 Glenn Morris <rgm@gnu.org>
6234
6235 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6236
6237 2012-11-04 Chong Yidong <cyd@gnu.org>
6238
6239 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6240 same-window-* variables.
6241
6242 2012-11-04 Juri Linkov <juri@jurta.org>
6243
6244 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6245 (isearch-describe-key, isearch-describe-mode): Use a display
6246 action instead of binding same-window-* variables (Bug#10040).
6247
6248 2012-11-03 Glenn Morris <rgm@gnu.org>
6249
6250 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6251 Rename handler properties back from cl-- to cl-. (Bug#12788)
6252
6253 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6254
6255 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6256
6257 * term/pc-win.el: Don't load term/internal from here.
6258
6259 * loadup.el: Load term/internal from here.
6260
6261 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6262
6263 * progmodes/python.el (inferior-python-mode): Fix hang in
6264 jit-lock (Bug#12645).
6265
6266 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6267
6268 * window.el (switch-to-visible-buffer)
6269 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6270
6271 2012-11-03 Glenn Morris <rgm@gnu.org>
6272
6273 * emacs-lisp/cl-lib.el (cl--random-time):
6274 Rename from cl-random-time. (Bug#12773)
6275 (cl--gensym-counter, cl--random-state): Update callers.
6276 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6277
6278 2012-11-03 Chong Yidong <cyd@gnu.org>
6279
6280 * cus-start.el: Make cursor-type customizable (Bug#11633).
6281
6282 2012-11-02 Glenn Morris <rgm@gnu.org>
6283
6284 * filecache.el: No need to load find-lisp when compiling.
6285 (find-lisp-find-files): Autoload it.
6286 (file-cache-add-directory-recursively): Don't require find-lisp.
6287
6288 * image.el (image-type-from-file-name): Trivial simplification.
6289
6290 * emacs-lisp/bytecomp.el (byte-compile-eval):
6291 Decouple "noruntime" and "cl-functions" warnings.
6292
6293 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6294
6295 * play/gomoku.el (gomoku-display-statistics): Update mode line
6296 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6297
6298 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6299
6300 * window.el (quit-restore-window): If the window has been
6301 created on an existing frame and ended up as the sole window on
6302 that frame, do not delete it (Bug#12764).
6303
6304 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6307 Rename from sh--inside-arithmetic-expression, handle more cases
6308 (bug#11263).
6309
6310 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6311 (sh-font-lock-open-heredoc): Use it (bug#12770).
6312
6313 2012-10-30 Glenn Morris <rgm@gnu.org>
6314
6315 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6316
6317 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6318
6319 2012-10-29 Chong Yidong <cyd@gnu.org>
6320
6321 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6322 function key is stored in a keyboard macro (Bug#4894).
6323
6324 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6325
6326 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6329 header comments".
6330 (diff-unified->context, diff-context->unified)
6331 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6332
6333 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6334
6335 * files.el (find-alternate-file): Only ask one question (bug#12487).
6336
6337 2012-10-29 Chong Yidong <cyd@gnu.org>
6338
6339 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6340 Suggested by Dan Nicolaescu (Bug#6326).
6341
6342 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6343
6344 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6345
6346 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6347
6348 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6349
6350 * face-remap.el (face-remap-add-relative): Handle the case where a
6351 face-remapping-alist entry is a cons cell (Bug#12762).
6352
6353 2012-10-29 Kevin Ryde <user42@zip.com.au>
6354
6355 * woman.el (woman-parse-numeric-value): Handle picas correctly
6356 (Bug#12639).
6357
6358 2012-10-29 Glenn Morris <rgm@gnu.org>
6359
6360 * emacs-lisp/cl.el (defsetf): Doc fix.
6361
6362 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6365 syntax to the matching opener, if any (bug#12547).
6366 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6367 matching open as a "case-(".
6368 (sh-smie-rc-grammar): Add a corresponding rule for it.
6369
6370 2012-10-28 Daniel Hackney <dan@haxney.org>
6371
6372 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6373 "PKGNAME-autoloads.el" in case we created it.
6374
6375 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6378 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6379 (completion--twq-all): Disable too-strict assertions.
6380
6381 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6382
6383 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6384
6385 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6386 text to match the real keybindings.
6387
6388 2012-10-27 Juri Linkov <juri@jurta.org>
6389
6390 * wdired.el (wdired-keep-marker-rename): New defcustom.
6391 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6392 (Bug#11795)
6393
6394 * dired.el (dired-keep-marker-rename): Add reference to
6395 `wdired-keep-marker-rename' in the docstring.
6396 Add default character value ?R to display initially in
6397 Customization UI instead of ?@.
6398
6399 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6400
6401 * window.el (display-buffer): In doc-string describe
6402 window-height and window-width alist entries.
6403
6404 * time.el (display-time-world): Restore fit-window-to-buffer
6405 behavior.
6406
6407 2012-10-27 Chong Yidong <cyd@gnu.org>
6408
6409 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6410
6411 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6412
6413 * minibuffer.el (completion-category-overrides): New completion
6414 category `bookmark' (bug#11131).
6415
6416 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6419 Silence bogus compiler warnings for ad-do-it.
6420
6421 * bookmark.el (bookmark-completing-read): Set the completion category
6422 to `bookmark' (bug#11131).
6423
6424 2012-10-26 Bastien <bzg@altern.org>
6425 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * face-remap.el: Use lexical-binding.
6428 (text-scale-adjust): Improve docstring. Use itself for the temporary
6429 overlay-map bindings, so as to repeat the "Use..." message each time.
6430
6431 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * emacs-lisp/macroexp.el (macroexp--expand-all):
6434 Obey byte-compile-warning-enabled-p (bug#12486).
6435
6436 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6437 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6438
6439 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6440
6441 * mouse.el (mouse-drag-line): Move last form into preceding when
6442 clause (Bug#12731).
6443
6444 * help.el (resize-temp-buffer-window): Fix doc-string.
6445
6446 2012-10-25 David Engster <deng@randomsample.de>
6447
6448 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6449 Remove. This feature is already integrated in imenu.
6450
6451 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6452 always loaded. Require `speedbar' unconditionally.
6453
6454 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6455
6456 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6457
6458 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6459
6460 * net/ldap.el (ldap-search-internal): The official ldif format starts
6461 with a "version: 1" header (bug#12724).
6462
6463 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6464 (bug#12721).
6465
6466 2012-10-25 Glenn Morris <rgm@gnu.org>
6467
6468 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6469
6470 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * minibuffer.el (minibuffer-force-complete): Use one more marker
6473 for the temporary-overlay-map command (bug#12619).
6474
6475 2012-10-24 Chong Yidong <cyd@gnu.org>
6476
6477 * time.el (display-time-world-mode): Derive from special-mode.
6478 (display-time-world): Use display-buffer (Bug#12708).
6479 (display-time-world-mode-map): Variable deleted.
6480 (display-time-world-display): Wrap the final delete-char inside
6481 inhibit-read-only.
6482
6483 2012-10-24 Chong Yidong <cyd@gnu.org>
6484
6485 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6486 Doc fix.
6487
6488 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6489
6490 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * minibuffer.el (completion--all-sorted-completions-location): New var.
6493 (completion--cache-all-sorted-completions)
6494 (completion--flush-all-sorted-completions): Use it.
6495 (completion-in-region, completion-in-region--postch)
6496 (completion-at-point, completion-help-at-point): Use markers in
6497 completion-in-region--data (bug#12619).
6498
6499 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * progmodes/compile.el (compilation-start): Try to handle common
6502 quoting of `cd' argument (bug#12640).
6503
6504 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6505 (bug#12671).
6506
6507 2012-10-23 Glenn Morris <rgm@gnu.org>
6508
6509 * progmodes/gud.el (gud-menu-map):
6510 Check gdb-active-process is bound. (Bug#12358)
6511
6512 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * repeat.el (repeat): Set real-this-command (bug#12232).
6515
6516 * htmlfontify.el (hfy-post-html-hook):
6517 * filesets.el (filesets-cache-fill-content-hook):
6518 * arc-mode.el (archive-extract-hook):
6519 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6520 * net/rcirc.el (rcirc-sentinel-functions)
6521 (rcirc-receive-message-functions, rcirc-activity-functions)
6522 (rcirc-print-functions):
6523 * net/dbus.el (dbus-event-error-functions):
6524 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6525 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6526 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6527 * term/sun.el (sun-raw-prefix-hooks):
6528 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6529
6530 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6531
6532 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6533 Set `tramp-chunksize' to 1. This improves the performance.
6534 (tramp-smb-wait-for-output): Add timeout to
6535 `tramp-accept-process-output' calls.
6536
6537 2012-10-23 Chong Yidong <cyd@gnu.org>
6538
6539 * faces.el (font-list-limit): Define as an obsolete variable.
6540
6541 * startup.el (command-line):
6542 * cus-start.el: Don't refer to font-list-limit.
6543
6544 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6545
6546 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * subr.el (internal-temp-output-buffer-show): Rename from
6549 temp-output-buffer-show, since previously compiled files expect this name.
6550
6551 2012-10-23 Glenn Morris <rgm@gnu.org>
6552
6553 * image.el (image-type-from-file-name): If multiple types match,
6554 return the first one that is supported. (Bug#9045)
6555
6556 2012-10-22 Glenn Morris <rgm@gnu.org>
6557
6558 * image.el (imagemagick-enabled-types): Doc fix.
6559
6560 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6561
6562 * progmodes/which-func.el (which-func-current): The hash-table may have
6563 an explicit nil (bug#12338).
6564
6565 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * electric.el (electric-pair-delete-selection-self-insert-function):
6568 Rename to electric-pair-will-use-region, return a boolean.
6569 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6570
6571 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6572 (delete-selection-pre-hook): Use use-region-p.
6573 (delete-selection-self-insert-function): Remove.
6574 (self-insert-command): Obey self-insert-uses-region-functions.
6575 (self-insert-iso): Revert to previous setting, since we don't actually
6576 know what that command does.
6577 (delete-selection-self-insert-hooks): Remove.
6578
6579 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6580
6581 * delsel.el (delete-selection-helper): New function, extracted from
6582 delete-selection-pre-hook.
6583 (delete-selection-pre-hook): Use it.
6584 (delete-selection-self-insert-function): New function.
6585 (delete-selection-self-insert-hooks): New hook.
6586 (self-insert-command, self-insert-iso): Use it.
6587 * electric.el (electric-pair-syntax): New function, extracted from
6588 electric-pair-post-self-insert-function.
6589 (electric-pair-post-self-insert-function): Use it.
6590 (electric-pair-delete-selection-self-insert-function): New function.
6591 (electric-pair-mode): Require delsel and setup
6592 delete-selection-self-insert-hooks (bug#11520).
6593
6594 2012-10-20 Chong Yidong <cyd@gnu.org>
6595
6596 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6597 no changes to show (Bug#12586).
6598
6599 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6600 list explicitly (Bug#12571).
6601
6602 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6603
6604 * progmodes/flymake.el (flymake-create-temp-inplace):
6605 Use file-truename.
6606
6607 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6608
6609 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6610
6611 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6612
6613 * calc/calc-units.el (math-extract-units): Properly extract powers
6614 of units.
6615
6616 2012-10-20 Daniel Colascione <dancol@dancol.org>
6617
6618 * frame.el (make-frame): Set x-display-name as we used to in order
6619 to unbreak creating an X11 frame from an Emacs daemon started
6620 without a display.
6621
6622 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6625 the same completion-field (bug#12221).
6626
6627 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6628
6629 * emacs-lisp/debug.el (debug): Record height of debugger window
6630 also when debugger will be back (Bug#8789).
6631
6632 2012-10-18 Chong Yidong <cyd@gnu.org>
6633
6634 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6635 Convert to defcustom.
6636 (gdb-get-source-file): Don't bind pop-up-windows.
6637
6638 * progmodes/gud.el (gud-display-line): Don't specially re-use
6639 other frames for the gdb-mi case (Bug#12648).
6640
6641 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * emacs-lisp/advice.el: Clean up commentary a bit.
6644 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6645 (byte-code-function-p): Never redefine.
6646
6647 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6648
6649 2012-10-18 Glenn Morris <rgm@gnu.org>
6650
6651 * dired.el (dired-sort-toggle): Some ls implementations only allow
6652 a single option string. (Bug#12666)
6653
6654 * minibuffer.el (completion-cycle-threshold): Doc fix.
6655
6656 2012-10-17 Kenichi Handa <handa@gnu.org>
6657
6658 * international/mule.el (set-keyboard-coding-system):
6659 Recover input meta mode when the new coding system doesn not use 8-bit.
6660 Supply TERMINAL arg to set-input-meta-mode.
6661
6662 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6663
6664 * wdired.el (wdired-old-marks): New variable.
6665 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6666 (wdired-do-renames): Move point with renamed file and don't lose
6667 mark status (Bug#11795).
6668
6669 2012-10-16 Juri Linkov <juri@jurta.org>
6670
6671 * replace.el (query-replace-help): Mention multi-buffer replacement
6672 keys in the Help message. (Bug#12655)
6673
6674 2012-10-15 Chong Yidong <cyd@gnu.org>
6675
6676 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6677
6678 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6679
6680 * window.el (display-buffer): Doc fix.
6681
6682 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6683 Adjust the msft regexp to the output of Studio 2010, and move msft
6684 before edg-1. See the discussion on emacs-devel,
6685 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6686 for the details.
6687
6688 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6691 (oset): Move uses of object-class-fast macro after its definition.
6692
6693 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6694
6695 2012-10-13 Chong Yidong <cyd@gnu.org>
6696
6697 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6698 enabled, re-enable it (Bug#11963).
6699
6700 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6701
6702 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6703 non-nil, restore window configuration (Bug#12623).
6704
6705 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * help-fns.el (describe-variable, describe-function-1):
6708 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6709
6710 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6711
6712 2012-10-12 Glenn Morris <rgm@gnu.org>
6713
6714 * mail/rmailsum.el (rmail-header-summary):
6715 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6716
6717 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6718
6719 * progmodes/python.el (python-mode-map):
6720 Replace subtitute-key-definition with proper command remapping.
6721 (python-nav--up-list): Fix behavior for blocks on the same level.
6722
6723 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6726
6727 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6728 changes to the format of load-history.
6729
6730 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6731 completion-ignore-case in case that var is buffer-local (bug#12615).
6732
6733 2012-10-11 Kenichi Handa <handa@gnu.org>
6734
6735 * international/eucjp-ms.el: Re-generated.
6736
6737 2012-10-10 Kenichi Handa <handa@gnu.org>
6738
6739 * select.el (xselect--encode-string): If a coding is specified for
6740 selection, and that is compatible with COMPOUND_TEXT, use it.
6741
6742 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6743
6744 * window.el (switch-to-buffer-preserve-window-point): New option.
6745 (switch-to-buffer):
6746 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6747
6748 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6751 Don't document nil as a useful value (bug#12583).
6752
6753 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6754
6755 * net/tramp.el (tramp-debug-message):
6756 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6757 (with-tramp-progress-reporter): Rename from
6758 `tramp-with-progress-reporter'.
6759 (with-tramp-file-property, with-tramp-connection-property):
6760 Move from tramp-cache.el, rename from `with-file-property' and
6761 `with-connection-property', respectively.
6762
6763 * net/tramp-cache.el: Remove `with-file-property' and
6764 `with-connection-property'.
6765
6766 * net/tramp.el:
6767 * net/tramp-gvfs.el:
6768 * net/tramp-sh.el:
6769 * net/tramp-smb.el: Adapt callees.
6770
6771 * net/trampver.el: Update release number.
6772
6773 2012-10-09 Glenn Morris <rgm@gnu.org>
6774
6775 * w32-fns.el (set-message-beep):
6776 * term/w32-win.el (set-message-beep): Update declarations.
6777
6778 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6781 (mode-line-widen, mode-line-input-method-map)
6782 (mode-line-coding-system-map, mode-line-remote)
6783 (mode-line-unbury-buffer, mode-line-bury-buffer)
6784 (mode-line-next-buffer, mode-line-previous-buffer):
6785 Replace save-selected-window+select-window => with-selected-window.
6786
6787 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6788 * progmodes/cc-vars.el (bq-process): Remove, unused.
6789
6790 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6791
6792 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6793
6794 Implemented `backward-up-list'-like navigation.
6795 * progmodes/python.el (python-nav-up-list)
6796 (python-nav-backward-up-list): New functions.
6797 (python-mode-map): Define substitute key for backward-up-list to
6798 python-nav-backward-up-list.
6799
6800 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6801
6802 * progmodes/python.el (python-fill-paragraph): Rename from
6803 python-fill-paragraph-function. Fixed fill-paragraph for
6804 decorators (Bug#12605).
6805
6806 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6807
6808 * progmodes/python.el (python-shell-output-filter): Handle extra
6809 carriage return in OSX (Bug#12409).
6810
6811 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6812
6813 Fix shell handling of unbalanced quotes and parens in output.
6814 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6815 (python-syntax-propertize-function): Use it.
6816 (python-shell-output-syntax-table): New var.
6817 (inferior-python-mode): Prevent unbalanced parens/quotes from
6818 previous output mess with current input context.
6819
6820 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6821
6822 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6823 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6824
6825 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6826
6827 * ffap.el (ffap-replace-file-component): Support Tramp file name
6828 syntax, not only ange-ftp's one.
6829
6830 2012-10-08 Glenn Morris <rgm@gnu.org>
6831
6832 * cus-start.el (message-log-max): Set :version.
6833
6834 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6835
6836 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6837
6838 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6839 the minibuffer window (Bug#10851).
6840
6841 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6842
6843 Enhancements on forward-sexp movement.
6844 * progmodes/python.el (python-nav-beginning-of-statement)
6845 (python-nav-end-of-statement): Return point-marker.
6846 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6847 (python-info-current-symbol)
6848 (python-info-statement-starts-block-p): Rename from
6849 python-info-beginning-of-block-p.
6850 (python-info-statement-ends-block-p): Rename from
6851 python-info-end-of-block-p.
6852 (python-info-beginning-of-statement-p)
6853 (python-info-end-of-statement-p)
6854 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6855 New functions.
6856
6857 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6860 frame-selected-windows.
6861
6862 2012-10-08 Daniel Colascione <dancol@dancol.org>
6863
6864 * battery.el (battery-status-function): Check for
6865 w32-battery-status itself, not system-time windows-nt.
6866
6867 * frame.el: Require cl-lib.
6868 (display-format-alist): New variable mapping frame types to
6869 functions that initialize them.
6870 (window-system-for-display): New function: interprets
6871 display-format-alist.
6872 (make-frame-on-display): Remove existing display-selection logic
6873 and just forward to make-frame, which will now DTRT.
6874 (make-frame): Restructure to use window-system-for-display to
6875 figure out how to create a frame on a given display.
6876 (display-mouse-p): Look for frame-type w32, not a particular
6877 system-type.
6878
6879 * loadup.el: Load w32 lisp code when we have the w32 feature.
6880
6881 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6882 system-type windows-nt.
6883
6884 * server.el (server-create-window-system-frame): Look for window
6885 type.
6886 (server-proces-filter): Only force a window system when windows-nt
6887 _and_ w32. Explain why.
6888
6889 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6890 of window systems we configure for the mode.
6891
6892 * startup.el (command-line): Mark window system is initialized
6893 after we've done it.
6894
6895 * common-win.el (x-select-text): Look for w32, not windows-nt.
6896
6897 * ns-win.el: Require cl-lib. Add ourselves to
6898 display-format-alist.
6899 (ns-initialize-window-system): Assert we're not initialized twice.
6900
6901 * w32-win.el: Enable lexical binding; require cl-lib; add
6902 ourselves to display-format-alist.
6903 (w32-handle-dropped-file): Convert incoming dropped files from
6904 Windows paths to Cygwin ones before passing them on to the rest of
6905 Emacs.
6906 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6907 (w32-initialize-window-system): Assert we're not initialized twice.
6908
6909 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6910 (x-initialize-window-system): Assert we're not initialized twice.
6911
6912 * w32-common-fns.el: New File.
6913 (w32-version, w32-using-nt, w32-get-clipboard-data)
6914 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6915 (w32-charset-info-alist, x-last-selected, text)
6916 (x-get-selection-value, x-selection-value): Move here.
6917
6918 * w32-fns.el: Require w32-common-fns.
6919 (w32-version, w32-using-nt, w32-get-clipboard-data)
6920 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6921 (w32-charset-info-alist, x-last-selected, text)
6922 (x-get-selection-value, x-selection-value): Move to
6923 w32-common-fns.
6924
6925 * w32-vars.el:
6926 (w32-allow-system-shell, w32-system-shells): Define only in
6927 non-cygwin case.
6928
6929 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6932 (read-passwd): Remove a few more potential sources of leaks.
6933
6934 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6935
6936 * progmodes/python.el (inferior-python-mode)
6937 (python-shell-make-comint): Fix initialization of local
6938 variables copied from parent buffer.
6939
6940 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6941
6942 * term/ns-win.el (ns-read-file-name): Update declaration to match
6943 nsfns.m.
6944 (ns-respond-to-change-font): Change fontsize separately so we are sure
6945 it is set when font is acted upon.
6946
6947 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6948
6949 Enhancements to indentation.
6950 * progmodes/python.el (python-indent-context): Give priority to
6951 inside-string context. Make comments indentation markers.
6952 (python-indent-region): Do not mess with strings, unless it's the
6953 enclosing set of quotes.
6954
6955 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * window.el (internal--before-save-selected-window)
6958 (internal--after-save-selected-window): New functions extracted from
6959 save-selected-window. Make sure we return the `alist' we construct.
6960 (save-selected-window): Use them.
6961
6962 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6963 Use with-selected-window.
6964
6965 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6966 forms that define macros (bug#12593).
6967
6968 2012-10-07 Kenichi Handa <handa@gnu.org>
6969
6970 * international/mule-conf.el (compound-text-with-extensions):
6971 Add :mime-charset property as x-ctext.
6972
6973 2012-10-07 Stefan Merten <smerten@oekonux.de>
6974
6975 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6976 (rst-indent-literal-normal, rst-indent-literal-minimized)
6977 (rst-indent-comment): Correct :version tag.
6978 (rst-official-cvs-rev): Correct version string.
6979
6980 2012-10-07 Glenn Morris <rgm@gnu.org>
6981
6982 * mail/rmailmm.el (rmail-mime-process-multipart):
6983 Do not confuse a multipart message with an epilogue
6984 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6985
6986 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6987
6988 Fix shell output retrieval and comint-prompt-regexp init.
6989 * progmodes/python.el (inferior-python-mode):
6990 (python-shell-make-comint): Fix initialization of
6991 comint-prompt-regexp from copied file local variables.
6992 (python-shell-fetched-lines): Remove var.
6993 (python-shell-output-filter-in-progress): Rename from
6994 python-shell-fetch-lines-in-progress.
6995 (python-shell-output-filter-buffer): Rename from
6996 python-shell-fetch-lines-string.
6997 (python-shell-fetch-lines-filter): Delete function.
6998 (python-shell-output-filter): New function.
6999 (python-shell-send-string-no-output): Use them.
7000
7001 2012-10-07 Glenn Morris <rgm@gnu.org>
7002
7003 * hi-lock.el (hi-lock-process-phrase):
7004 Try to make it less fragile. (Bug#7161)
7005
7006 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7007
7008 2012-10-06 Glenn Morris <rgm@gnu.org>
7009
7010 * ehelp.el (electric-help-mode): Use help-mode rather than
7011 non-existent mode `help'.
7012 (electric-help-map): Use button-buffer-map. (Bug#10917)
7013
7014 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7015 (reftex-create-bibtex-footer): Fix custom types.
7016
7017 * progmodes/sh-script.el (sh-indent-after-continuation):
7018 Add explicit :group.
7019
7020 * textmodes/rst.el (rst-preferred-decorations)
7021 (rst-shift-basic-offset): Clarify obsolescence versions.
7022
7023 * profiler.el (profiler): Add missing group :version tag.
7024 * avoid.el (mouse-avoidance-banish-position):
7025 * proced.el (proced-renice-command):
7026 * calc/calc.el (calc-ensure-consistent-units):
7027 * calendar/icalendar.el (icalendar-import-format-uid):
7028 * net/tramp.el (tramp-save-ad-hoc-proxies):
7029 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7030 * progmodes/flymake.el (flymake-error-bitmap)
7031 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7032 * progmodes/sh-script.el (sh-indent-after-continuation):
7033 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7034 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7035 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7036 (vhdl-array-index-record-field-in-sensitivity-list)
7037 (vhdl-indent-comment-like-next-code-line):
7038 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7039 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7040 (reftex-cite-key-separator, reftex-create-bibtex-header)
7041 (reftex-create-bibtex-footer):
7042 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7043 (rst-indent-literal-normal, rst-indent-literal-minimized)
7044 (rst-indent-comment): Add missing custom :version tags.
7045
7046 * calendar/timeclock.el (timeclock-modeline-display):
7047 Add missing obsolete alias for renamed user option.
7048
7049 * strokes.el (strokes-modeline-string):
7050 * emulation/crisp.el (crisp-mode-modeline-string):
7051 * eshell/esh-mode.el (eshell-status-in-modeline):
7052 Aliases to defcustoms must come before the defcustom.
7053
7054 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7055 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7056 (cal-tex-cursor-week-monday): Doc fixes.
7057 (cal-tex-cursor-week2-summary): Doc fix.
7058 Rename from cal-tex-cursor-week-at-a-glance.
7059
7060 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7061 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7062
7063 * calendar/calendar.el (calendar-mode-map):
7064 Add cal-tex-cursor-week2-summary.
7065
7066 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7069
7070 * subr.el (read-passwd-map): New var.
7071 (read-passwd): Use `read-string' again.
7072 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7073
7074 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7075
7076 * register.el (append-to-register, prepend-to-register):
7077 Deactivate mark, as does `copy-to-register' (bug#12389).
7078
7079 2012-10-06 Chong Yidong <cyd@gnu.org>
7080
7081 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7082
7083 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7084
7085 * international/characters.el: Fix simple mistake ((car chars) ->
7086 elt), delete duplicated code.
7087
7088 2012-10-06 Glenn Morris <rgm@gnu.org>
7089
7090 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7091
7092 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7093
7094 * color.el (color-hsl-to-rgb): Fix incorrect results for
7095 small and large hue values. (Bug#12559)
7096
7097 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7098
7099 Enhancements to docstring formatting when filling paragraphs.
7100 * progmodes/python.el (python-fill-docstring-style): Rename from
7101 python-fill-string-style. Added new style.
7102 (python-fill-string): Use new style. Better checks for
7103 docstrings.
7104
7105 2012-10-05 Glenn Morris <rgm@gnu.org>
7106
7107 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7108
7109 * color.el (color-name-to-rgb, color-rgb-to-hex)
7110 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7111 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7112 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7113 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7114
7115 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7116
7117 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7120 to get the correct size across symlinks.
7121
7122 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7123
7124 2012-10-04 Juri Linkov <juri@jurta.org>
7125
7126 * replace.el (query-replace-interactive): Declare obsolete.
7127 (query-replace-read-from): Add the last incremental search string
7128 to the list of default values accessible via M-n.
7129 (map-query-replace-regexp): Use `read-regexp'.
7130 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7131 (map-query-replace-regexp, replace-string, replace-regexp):
7132 Fix docstrings to replace mentions of `query-replace-interactive'
7133 with alternatives. (Bug#12526)
7134
7135 2012-10-04 Juri Linkov <juri@jurta.org>
7136
7137 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7138 (dired-pop-to-buffer): Declare obsolete.
7139 (dired-mark-pop-up): Doc fix.
7140
7141 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7142
7143 Allow user to set docstring style for fill-paragraph.
7144 * progmodes/python.el
7145 (python-fill-comment-function, python-fill-string-function)
7146 (python-fill-decorator-function, python-fill-paren-function):
7147 Remove :safe for defcustoms.
7148 (python-fill-string-style): New defcustom
7149 (python-fill-paragraph-function): Enhance context detection.
7150 (python-fill-string): Honor python-fill-string-style settings.
7151
7152 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7153
7154 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7155 after setting its buffer (Bug#10805).
7156
7157 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7158
7159 Fix cornercase for string syntax.
7160 * progmodes/python.el (python-syntax-propertize-function):
7161 Simplify and enhance the regexp for unescaped quotes. Now it also
7162 matches quotes in weird situations like the single quote in
7163 "something\"'".
7164 (python-syntax-stringify): Simplify num-quotes detecting code.
7165
7166 2012-10-03 Glenn Morris <rgm@gnu.org>
7167
7168 * help-macro.el (three-step-help):
7169 Revert 2012-09-29 change. (Bug#12567)
7170
7171 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7172
7173 * menu-bar.el (kill-this-buffer): Don't do anything when
7174 `menu-frame' is not alive or visible (Bug#8184).
7175
7176 * emacs-lisp/debug.el (debug): When quitting the debugger window
7177 restore current buffer (Bug#12502).
7178
7179 2012-10-02 Chong Yidong <cyd@gnu.org>
7180
7181 * progmodes/hideif.el (hif-lookup, hif-defined):
7182 Handle semantic-c-takeover-hideif.
7183
7184 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7185
7186 Change sampling interval units from ms to ns.
7187 * profiler.el (profiler-sampling-interval): Change units
7188 from ms to ns, multiplying the default by 1000000 so that
7189 it remains 1 ms.
7190 (profiler-report-cpu-line-format): Give enough room for
7191 the maximum counters on 64-bit hosts.
7192 (profiler-report-render-calltree-1): Call them "CPU samples",
7193 not "Time (ms)", since they are not milliseconds now (and
7194 never really were).
7195
7196 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7197
7198 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7199 Fix querying BBDB for entries without a last name (Bug#11580).
7200
7201 2012-10-02 Chong Yidong <cyd@gnu.org>
7202
7203 * emacs-lisp/eieio.el: Restore Version header.
7204
7205 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * vc/diff-mode.el (diff--auto-refine-data): New var.
7208 (diff-hunk): Use it to delay refinement.
7209 (diff-mode): Remove overlays when we turn off font-lock.
7210
7211 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7212 (table-initialize-table-fixed-width-mode)
7213 (table-set-table-fixed-width-mode): Remove functions.
7214 (table-command-list): Move initialization into declaration.
7215 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7216 (table-with-cache-buffer): Use `declare'.
7217 (table-span-cell): Simplify via CSE.
7218 (table-fixed-width-mode): Use define-minor-mode.
7219 (table-call-interactively, table-funcall, table-apply): Remove.
7220 (table-function): New function, to replace them.
7221
7222 * bookmark.el (bookmark-search-pattern): Remove var.
7223 (bookmark-read-search-input): Remove function.
7224 (bookmark-bmenu-search): Reimplement using a minibuffer.
7225
7226 * faces.el (modeline): Remove obsolete face name.
7227
7228 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7229 and give a non-nil default value.
7230 (add-change-log-entry): Simplify accordingly.
7231
7232 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7233
7234 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7235 (vc-git-log-edit-toggle-amend): New function.
7236 (vc-git-log-edit-toggle-signoff): New function.
7237 (vc-git-log-edit-mode): New major mode.
7238 (vc-git-log-edit-mode-map): Keymap for it.
7239 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7240
7241 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7242 header names.
7243 (log-edit-toggle-header): New function.
7244 (log-edit-extract-headers): Accept function values in HEADERS alist.
7245
7246 2012-10-01 David Engster <deng@randomsample.de>
7247
7248 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7249 from symbol property and change message to be more consistent with
7250 Emacs proper.
7251 (eieio-describe-generic): Add filename for each implementation.
7252 Fix indices for generic and normal methods.
7253 (eieio-method-def, eieio-class-def): New buttons.
7254 (eieio-help-find-method-definition)
7255 (eieio-help-find-class-definition): New functions.
7256 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7257 class, constructor and method definitions.
7258
7259 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7260 information in symbol property.
7261 (scoped-class): Remove.
7262 (eieio-slot-name-index, call-next-method): Check if it is bound.
7263
7264 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7265
7266 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7267 (eieio-custom-mode): New major mode.
7268 (eieio-customize-object): Use it.
7269
7270 2012-10-01 Eric Ludlam <zappo@gnu.org>
7271
7272 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7273 specifying the expected class, and whether subclassing is allowed.
7274 (eieio-persistent-convert-list-to-object):
7275 (eieio-persistent-validate/fix-slot-value)
7276 (eieio-persistent-slot-type-is-class-p): New functions.
7277 (eieio-named::slot-missing): Doc fix.
7278
7279 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7280 Stop using unused publd variable.
7281
7282 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7283 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7284 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7285 (eieio-speedbar-handle-click): Do not specify a class for the
7286 method. Fixes method invocation order problems with EDE.
7287
7288 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7291 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7292
7293 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7294
7295 * bookmark.el (bookmark-version-control): Give tags in the
7296 :type choices (Bug#12309), and improve doc string.
7297 (bookmark-write-file): Bind `print-circle' to `t' to allow
7298 circular custom bookmark types. (Bug#12503)
7299
7300 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7301
7302 Revert the FOLLOW-SYMLINKS change for file-attributes.
7303 * files.el (remote-file-name-inhibit-cache, after-find-file):
7304 * time.el (display-time-file-nonempty-p): Undo last change.
7305
7306 * profiler.el (profiler-sampling-interval): Change default back to 1.
7307 See Stefan Monnier in
7308 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7309
7310 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7311
7312 Shell output catching a la gud-gdb.
7313 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7314 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7315 New Vars.
7316 (python-shell-fetch-lines-filter): New function.
7317 (python-shell-send-string-no-output): Use them.
7318
7319 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7320
7321 * profiler.el (profiler-sampling-interval): Rename from
7322 profiler-sample-interval.
7323 (profiler-sampling-interval): Default to 10.
7324 (profiler-find-profile): New command (was profiler-find-log).
7325 (profiler-find-profile-other-window): New command.
7326 (profiler-find-profile-other-frame): New command.
7327 (profiler-profile): Introduce API-level data structure.
7328
7329 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7330
7331 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7332 * files.el (remote-file-name-inhibit-cache):
7333 * time.el (display-time-file-nonempty-p): Use it.
7334 * files.el (after-find-file): Don't chase links before calling
7335 file-exists-p, as file-exists-p already does the right thing.
7336
7337 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7338
7339 Merge from standalone RefTeX repository.
7340
7341 The following ChangeLog entries are shortened versions of the
7342 original ones with file paths adapted. A not so strongly edited
7343 version of the original ChangeLog can be found in the commit log.
7344
7345 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7346 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7347 Correctly handle new value type returned by `reftex-citation'.
7348
7349 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7350 that entries with whitespace at various places are found.
7351 Doc fix. Include entries that are cross-referenced from cited entries.
7352 Include @String definitions in the resulting bib file. Add header
7353 and footer defined in `reftex-create-bibtex-header' and
7354 `reftex-create-bibtex-footer'.
7355 (reftex-do-citation): Make it possible again to insert
7356 non-existent entries. Save match data when asking for optional
7357 arguments. Return all keys, not just the first one.
7358 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7359 all citations in the same line.
7360 (reftex-parse-bibtex-entry): Accept additional optional argument
7361 `raw' and keep quotes or braces if it is non-nil. Match fields
7362 containing hyphens besides word constituents.
7363 (reftex-get-string-refs): New function.
7364 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7365 and ask if it should be reread in case it did.
7366 (reftex-pop-to-bibtex-entry)
7367 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7368 entries with spaces or tabs in front of arguments.
7369 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7370 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7371 Match entries containing numbers and symbol constituents.
7372 (reftex-do-citation, reftex-figure-out-cite-format):
7373 Use `reftex-cite-key-separator'.
7374
7375 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7376 (reftex-mouse-view-crossref): Explain why point is set.
7377
7378 * textmodes/reftex-global.el: Whitespace changes.
7379
7380 * textmodes/reftex-index.el: Move provide statement to end of
7381 file.
7382 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7383 (reftex-index-visit-phrases-buffer): Set marker when visiting
7384 buffer. This allows for returning from the phrases file to the
7385 file one was just editing instead of the file where the last
7386 phrases was added from.
7387 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7388 punctuation syntax as it usually is not used as string quote in
7389 TeX-related modes and may occur unmatched. The change also
7390 prevents fontification of quoted content.
7391 (reftex-index-phrases-mode): Use it.
7392
7393 * textmodes/reftex-parse.el (reftex-parse-from-file):
7394 Move backward one char if a `\' was matched after a section macro.
7395 (reftex-parse-from-file): Use beginning of match instead of end as
7396 bound.
7397
7398 * textmodes/reftex-ref.el: Adapt creation of
7399 `reftex-<package>-<macro>' functions to new structure of
7400 `reftex-ref-style-alist'.
7401 (reftex-reference): Use `reftex-ref-style-list' function.
7402 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7403 reference macro if `reftex-ref-macro-prompt' is non-nil.
7404 (reftex-reference): Pass refstyle to `reftex-format-special'.
7405 Determine reference macro by looking at
7406 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7407 Use only one special format function.
7408 (reftex-varioref-vref, reftex-fancyref-fref)
7409 (reftex-fancyref-Fref): Remove definitions. The functions are now
7410 generated from `reftex-ref-style-alist'.
7411 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7412 Remove.
7413 (reftex-format-special): New function.
7414
7415 * textmodes/reftex-sel.el
7416 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7417 of `reftex-ref-style-alist'. Remove code for testing macro type.
7418 (reftex-select-toggle-varioref)
7419 (reftex-select-toggle-fancyref): Remove.
7420 (reftex-select-cycle-ref-style-internal)
7421 (reftex-select-cycle-ref-style-forward)
7422 (reftex-select-cycle-ref-style-backward): New functions.
7423 (reftex-select-label-map): Use `v' and `V' for general cycling
7424 through reference styles. Add `p' for switching between number
7425 and page reference types.
7426
7427 * textmodes/reftex-toc.el (reftex-re-enlarge):
7428 Call `enlarge-window' only if there is something to do because in Emacs
7429 the horizontal version throws an error even if the parameter is 0.
7430
7431 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7432 (reftex-plug-into-AUCTeX): Doc fix.
7433 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7434 string. Adapt to new name.
7435 (reftex-ref-style-alist): Change structure so that it is not
7436 possible to use multiple different package names within a style.
7437 Remove the symbols for symbols for macro type distinction.
7438 Add characters for macro selection.
7439 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7440 (reftex-create-bibtex-footer): New variables.
7441 (reftex-format-ref-function): Mention third argument of special
7442 format function.
7443 (reftex-ref-style-alist, reftex-ref-style-default-list):
7444 New variables.
7445 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7446 to new implementation. Mark as obsolete. Add compatibility code
7447 for honoring the variable values in case they are set.
7448 (reftex-cite-format-builtin, reftex-bibliography-commands):
7449 Add support for ConTeXt.
7450 (reftex-format-ref-function, reftex-format-cite-function):
7451 Fix custom type.
7452 (reftex-cite-key-separator): New variable.
7453
7454 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7455 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7456 `reftex-syntax-table' because parens have to retain their paren
7457 syntax in order for parsing of BibTeX entries like @book(...) to
7458 work.
7459 (reftex-in-comment): Do not error out if `comment-start-skip' is
7460 not set. Deal correctly with escaped comment characters.
7461 (reftex-tie-multifile-symbols): Add doc string.
7462 Initialize `reftex-ref-style-list'.
7463 (reftex-untie-multifile-symbols): Add doc string.
7464 (reftex-add-index-macros): Doc fix.
7465 (reftex-ref-style-activate, reftex-ref-style-toggle)
7466 (reftex-ref-style-list): New functions.
7467 (reftex-mode-menu): Use them. Adapt to new structure of
7468 `reftex-ref-style-alist'.
7469 (reftex-select-with-char): Kill the RefTeX Select buffer when
7470 done.
7471 (reftex-remove-if): New function.
7472 (reftex-erase-all-selection-and-index-buffers)
7473 (reftex-mode-menu): Reference styles are now computed from
7474 `reftex-ref-style-alist'. Fix typo.
7475 (reftex-report-bug): New function.
7476 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7477 algorithms with O(n log n). Introduce optional argument SORT (not
7478 yet used).
7479
7480 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7481
7482 Enhancements for triple-quote string syntax.
7483 * progmodes/python.el (python-syntax-propertize-function):
7484 Match both quote cases in one regexp.
7485 (python-syntax-stringify): Handle matches properly.
7486
7487 2012-09-30 Juri Linkov <juri@jurta.org>
7488
7489 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7490 to nil around the call to `insert' to prevent
7491 directory time modification by lock_file. (Bug#2295)
7492 * tar-mode.el (tar-summarize-buffer): Idem.
7493
7494 2012-09-30 Juri Linkov <juri@jurta.org>
7495
7496 * facemenu.el (list-colors-sort): Add option "Luminance".
7497 (list-colors-sort-key): Implement it.
7498
7499 * vc/diff-mode.el (diff-refine-removed):
7500 * vc/ediff-init.el (ediff-fine-diff-A):
7501 * vc/smerge-mode.el (smerge-refined-removed):
7502 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7503
7504 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7505
7506 * term/ns-win.el (x-file-dialog): New function.
7507
7508 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7509
7510 * ido.el (ido-max-directory-size): Default to nil; the current
7511 default is small for POSIX systems, and impractical on Windows 7
7512 now that lstat returns directory sizes for NTFS.
7513
7514 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7515
7516 In buffer display functions handle window-height/window-width
7517 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7518 * window.el (window--display-buffer): New argument ALIST.
7519 Obey window-height and window-width alist entries.
7520 (window--try-to-split-window): New argument ALIST.
7521 Bind window-combination-limit to t when the window's size shall be
7522 changed and window-combination-limit equals `window-size'.
7523 (display-buffer-in-atom-window)
7524 (display-buffer-in-major-side-window)
7525 (display-buffer-in-side-window, display-buffer-same-window)
7526 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7527 (display-buffer-pop-up-window, display-buffer-below-selected)
7528 (display-buffer-at-bottom, display-buffer-in-previous-window)
7529 (display-buffer-use-some-window): Adjust all callers of
7530 window--display-buffer and window--try-to-split-window.
7531 (fit-frame-to-buffer): New option.
7532 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7533 is non-nil.
7534 (display-buffer-in-major-side-window): Evaluate window-height /
7535 window-width alist entries.
7536
7537 * help.el (temp-buffer-resize-frames)
7538 (temp-buffer-resize-regexps): Remove options.
7539 (temp-buffer-resize-mode): Adjust doc-string.
7540 (resize-temp-buffer-window): Don't consult
7541 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7542 temp-buffer-resize-frames.
7543
7544 * dired.el (dired-mark-pop-up):
7545 Call display-buffer-below-selected with a fit-window-to-buffer alist
7546 entry.
7547
7548 2012-09-30 Chong Yidong <cyd@gnu.org>
7549
7550 * server.el (server-host): Document the security implications.
7551 (server-auth-key): Doc fix.
7552
7553 * startup.el (initial-buffer-choice): Doc fix.
7554
7555 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7556
7557 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7558 restriction change.
7559
7560 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7561
7562 * help-fns.el (help-fns--obsolete): Fix last change.
7563
7564 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7567 (minor-mode-map-alist): Remove redundant code.
7568
7569 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7570 visited in a buffer.
7571 (cvs-insert-visited-file): New function.
7572 (find-file-hook): Use it.
7573
7574 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7575
7576 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7577 chose face.
7578 (log-edit-empty-buffer-p): Don't require a space after a header.
7579
7580 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7581
7582 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7583
7584 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7585 a proper minor-mode.
7586
7587 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7588
7589 2012-09-29 Glenn Morris <rgm@gnu.org>
7590
7591 * winner.el (winner-mode): Remove variable (let define-minor-mode
7592 handle it).
7593 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7594 Doc fixes.
7595 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7596 (winner-mode): Use define-minor-mode.
7597
7598 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7599 the full definition in loaddefs, rather than duplicating it.
7600
7601 * help-macro.el (three-step-help): No need to autoload defcustom.
7602
7603 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7604 (inferior-lisp-program, inferior-lisp-load-command)
7605 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7606 No need to autoload defcustoms.
7607
7608 * hippie-exp.el (hippie-expand-try-functions-list)
7609 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7610 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7611 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7612 (hippie-expand-only-buffers): No need to autoload defcustoms.
7613 * progmodes/vhdl-mode.el (vhdl-line-expand):
7614 Explicitly load hippie-exp, so it does not get autoloaded
7615 while hippie-expand-try-functions-list is let-bound.
7616
7617 2012-09-28 Glenn Morris <rgm@gnu.org>
7618
7619 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7620
7621 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7622 Only "cl.el" counts as cl these days.
7623
7624 2012-09-28 Juri Linkov <juri@jurta.org>
7625
7626 Display archive errors in the echo area instead of inserting
7627 to the file buffer.
7628
7629 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7630 to STDERR-TEST that can be a regexp matching a successful output.
7631 Create a temporary file and redirect stderr to it. Search for
7632 STDERR-TEST in the stderr output and display it in the echo area
7633 if no match is found.
7634 (archive-extract-by-file): New function like
7635 `archive-extract-by-stdout' but extracting archives to files
7636 and looking for successful matches in stdout. Function body is
7637 mostly copied from `archive-rar-extract'.
7638 (archive-rar-extract): Use `archive-extract-by-file'.
7639 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7640
7641 2012-09-28 Leo Liu <sdl.web@gmail.com>
7642
7643 * pcomplete.el (pcomplete-show-completions):
7644 Use minibuffer-message to make pcomplete usable in minibuffer.
7645
7646 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7647
7648 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * type-break.el: Use lexical-binding.
7651 (type-break-mode): Use define-minor-mode.
7652
7653 * emacs-lisp/pcase.el (pcase--mark-used): New.
7654 (pcase--u1): Use it (bug#12512).
7655
7656 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7657 in load-history with the right file name.
7658
7659 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7660
7661 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7662 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7663 (doc-view-get-bounding-box): Make bounding box slicing work for
7664 ODF and DVI documents.
7665
7666 2012-09-28 Glenn Morris <rgm@gnu.org>
7667
7668 * type-break.el (type-break-mode, type-break-interval)
7669 (type-break-good-rest-interval, type-break-keystroke-threshold):
7670 No need to autoload.
7671 (type-break-good-rest-interval, type-break-keystroke-threshold):
7672 Add :set-after.
7673
7674 2012-09-28 Chong Yidong <cyd@gnu.org>
7675
7676 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7677 Add :version tag.
7678
7679 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7682
7683 2012-09-27 Glenn Morris <rgm@gnu.org>
7684
7685 * faces.el (x-display-name): Declare (for without-x builds).
7686
7687 * linum.el (linum-format): Don't autoload it. Improve :type.
7688
7689 * progmodes/tcl.el: Don't require outline when compiling.
7690 (outline-regexp, outline-level): Declare.
7691 * textmodes/sgml-mode.el: Don't require outline when compiling.
7692 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7693
7694 * term.el (term-ansi-reset):
7695 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7696
7697 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7698 files for RCS and SCCS. (Bug#9781)
7699
7700 2012-09-27 Chong Yidong <cyd@gnu.org>
7701
7702 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7703 change; value should be t.
7704
7705 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * image-mode.el: Use lexical-binding.
7708 (image-mode-winprops): Use t to stand for the window of
7709 a buffer that's not displayed.
7710 * doc-view.el (doc-view-new-window-function): Handle the new
7711 t in winprops.
7712 (doc-view-enlarge): Make it a real nop if the size is not changed.
7713 (doc-view-display): Handle the case where the buffer is not (yet?)
7714 displayed in any window.
7715 (doc-view-saved-settings): New var.
7716 (doc-view-mode): Use it.
7717 (doc-view-fallback-mode): Set it.
7718
7719 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7720 Set lexical-binding.
7721 (minibuffer-eldef-shorten-default): New var.
7722 (minibuffer-default-in-prompt-regexps): Use it for new default.
7723 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7724
7725 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7726
7727 * international/uni-bidi.el:
7728 * international/uni-category.el:
7729 * international/uni-name.el:
7730 * international/uni-numeric.el: Regenerate.
7731
7732 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7733 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * profiler.el: New file.
7736
7737 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7740 (testcover-reinstrument): Simplify with CSE.
7741
7742 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7745
7746 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7747
7748 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7749 (verilog-auto-input, verilog-auto-insert-lisp)
7750 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7751 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7752 (verilog-auto-unused, verilog-auto-wire)
7753 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7754 newline. Reported by Andrew Jones.
7755 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7756 Reported by Brad Dobbie.
7757 (verilog-batch-delete-trailing-whitespace):
7758 Create verilog-batch-delete-trailing-whitespace.
7759 Reported by Brad Dobbie.
7760 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7761 parameters from another module. Reported by Dan Katz.
7762 (verilog-auto, verilog-auto-assign-modport)
7763 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7764 AUTOINOUTMODPORT for UVM interface module shell generation.
7765 Reported by Brad Dobbie.
7766 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7767 standard behavior.
7768 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7769 Reported by Matt Martin.
7770
7771 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7772
7773 * window.el (window--resize-child-windows): When resizing child
7774 windows proportionally, process them in reverse order to
7775 preserve the "when splitting a window the new one gets the odd
7776 line" behavior.
7777 (window--resize-root-window-vertically): When resizing the
7778 minibuffer window try to affect only windows at the bottom of the
7779 frame. (Bug#12419)
7780
7781 2012-09-25 Chong Yidong <cyd@gnu.org>
7782
7783 * subr.el (declare): Doc fix.
7784
7785 * help-fns.el (help-fns--obsolete): Handle macros properly.
7786
7787 2012-09-25 Chong Yidong <cyd@gnu.org>
7788
7789 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7790 this function obsolete.
7791
7792 * calendar/cal-x.el (calendar-two-frame-setup)
7793 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7794 * calendar/calendar.el (american-calendar, european-calendar)
7795 (calendar-for-loop):
7796 * comint.el (comint-dynamic-simple-complete)
7797 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7798 * desktop.el (desktop-load-default):
7799 * dired-x.el (dired-omit-here-always)
7800 (dired-hack-local-variables, dired-default-directory):
7801 * emacs-lisp/derived.el (derived-mode-class):
7802 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7803 * emacs-lock.el (toggle-emacs-lock):
7804 * epa.el (epa-display-verify-result):
7805 * epg.el (epg-sign-keys, epg-start-sign-keys)
7806 (epg-passphrase-callback-function):
7807 * eshell/esh-util.el (eshell-for):
7808 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7809 (eshell-add-to-window-buffer-names):
7810 * files.el (locate-file-completion):
7811 * imenu.el (imenu-example--create-c-index)
7812 (imenu-example--create-lisp-index)
7813 (imenu-example--lisp-extract-index-name)
7814 (imenu-example--name-and-position):
7815 * international/mule-cmds.el (princ-list):
7816 * international/mule-diag.el (decode-codepage-char):
7817 * international/mule-util.el (detect-coding-with-priority):
7818 * iswitchb.el (iswitchb-read-buffer):
7819 * mail/mailalias.el (mail-complete):
7820 * mail/sendmail.el (mail-sent-via):
7821 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7822 (mouse-major-mode-menu):
7823 * password-cache.el (password-read-and-add):
7824 * pcomplete.el (pcomplete-parse-comint-arguments):
7825 * progmodes/sh-script.el (sh-maybe-here-document):
7826 * replace.el (query-replace-regexp-eval):
7827 * savehist.el (savehist-load):
7828 * simple.el (choose-completion-delete-max-match):
7829 * term.el (term-dynamic-simple-complete):
7830 * vc/ediff-init.el (ediff-check-version):
7831 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7832 * vc/vc.el (vc-diff-switches-list):
7833 * view.el (view-return-to-alist-update): Likewise.
7834
7835 * subr.el (eval-next-after-load, makehash, insert-string)
7836 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7837 mark obsolete.
7838 (mode-line-inverse-video): Variable deleted.
7839
7840 * international/mule-util.el (string-to-sequence): Remove.
7841
7842 * calendar/calendar.el (calendar-version):
7843 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7844 (icalendar-convert-diary-to-ical):
7845 * cus-edit.el (custom-mode):
7846 * ansi-color.el (ansi-color-unfontify-region):
7847 * international/latin1-disp.el (latin1-char-displayable-p):
7848 * progmodes/cwarn.el (turn-on-cwarn-mode):
7849 * progmodes/which-func.el (which-func-update-1):
7850 Use define-obsolete-function-alias.
7851
7852 * net/newst-backend.el (newsticker-cache-filename):
7853 * net/newst-treeview.el (newsticker-groups-filename):
7854 Fix incorrect obsolescence declaration.
7855
7856 * allout.el (allout-passphrase-hint-string): Likewise.
7857 (allout-init): Use a declare form to mark obsolete.
7858
7859 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7860 this applies to functions.
7861
7862 * iswitchb.el (iswitchb-read-buffer): Move code of
7863 iswitchb-define-mode-map here, and delete that obsolete function.
7864
7865 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7866 font-lock-reference-face.
7867
7868 2012-09-25 Glenn Morris <rgm@gnu.org>
7869
7870 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7871 Doc fixes.
7872
7873 * eshell/em-term.el (eshell-term-name):
7874 Default to term-term-name. (Bug#12485)
7875
7876 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7877
7878 * progmodes/python.el (python-shell-send-buffer): Better handling
7879 of "if __name__ == '__main__':" conditionals when sending the buffer.
7880
7881 2012-09-24 Glenn Morris <rgm@gnu.org>
7882
7883 * eshell/esh-cmd.el (eshell-find-alias-function):
7884 Tighten up file-name regexp. (Bug#12499)
7885
7886 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7887
7888 Enhancements for triple-quote string syntax.
7889 * progmodes/python.el (python-quote-syntax): Remove.
7890 (python-syntax-propertize-function): New value.
7891 (python-syntax-count-quotes, python-syntax-stringify):
7892 New functions.
7893
7894 2012-09-24 Chong Yidong <cyd@gnu.org>
7895
7896 * mail/supercite.el (sc-version): Remove obsolete function.
7897 (sc-describe): Don't mark as obsolete, since it is bound.
7898 (sc-submit-bug-report): Remove.
7899
7900 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7901 (cvs-commit-buffer-require-final-newline): Remove.
7902 (log-edit-require-final-newline)
7903 (log-edit-changelog-full-paragraphs): Default to t.
7904
7905 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7906 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7907 * vc/vc.el (vc-checkout-carefully): Likewise.
7908
7909 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7910 (emerge-version): Remove.
7911
7912 * progmodes/compile.el (compile-internal): Remove.
7913 (compilation-parse-errors-function): Fix typo.
7914
7915 * international/mule.el (set-char-table-default): Remove.
7916 (set-coding-priority, make-coding-system, generic-char-p)
7917 (charset-list, charset-bytes, charset-id): Use declare to mark
7918 functions as obsolete.
7919
7920 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7921 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7922 * vc/vc-hooks.el (vc-default-registered): Don't use
7923 vc-master-templates.
7924
7925 * font-lock.el (font-lock-reference-face):
7926 Use define-obsolete-variable-alias.
7927
7928 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7929 * calendar/calendar.el (calendar-font-lock-keywords):
7930 * calendar/diary-lib.el (diary-font-lock-keywords)
7931 (diary-fancy-font-lock-keywords):
7932 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7933 * textmodes/reftex-index.el (reftex-insert-index):
7934 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7935 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7936 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7937 * progmodes/prolog.el (prolog-font-lock-keywords):
7938 * progmodes/idlwave.el (idlwave-idl-keywords):
7939 * progmodes/ada-mode.el (ada-font-lock-keywords):
7940 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7941
7942 2012-09-24 Glenn Morris <rgm@gnu.org>
7943
7944 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7945
7946 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7947
7948 * progmodes/python.el (python-indent-line): More consistent cursor
7949 movement behavior.
7950
7951 2012-09-23 Stefan Merten <smerten@oekonux.de>
7952
7953 * textmodes/rst.el: Fix compiler warning.
7954
7955 2012-09-23 Roland Winkler <winkler@gnu.org>
7956
7957 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7958 Transcribe also LaTeX hyphenation.
7959 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7960 bibtex-reformat-previous-options.
7961
7962 2012-09-23 Roland Winkler <winkler@gnu.org>
7963
7964 * proced.el (proced-renice-command): New variable.
7965 (proced-marked-processes): New function.
7966 (proced-with-processes-buffer): New macro.
7967 (proced-send-signal): Use them.
7968 (proced-renice): New command bound to r.
7969
7970 2012-09-23 Roland Winkler <winkler@gnu.org>
7971
7972 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7973 ibuffer-saved-filter-groups has one element, shortcut the call of
7974 completing-read. (Bug#12331)
7975
7976 2012-09-23 Chong Yidong <cyd@gnu.org>
7977
7978 * bindings.el (mode-line-toggle-read-only):
7979 * bs.el (bs-toggle-readonly):
7980 * buff-menu.el (Buffer-menu-toggle-read-only):
7981 * dired.el (dired-toggle-read-only):
7982 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7983
7984 2012-09-23 Chong Yidong <cyd@gnu.org>
7985
7986 * image.el (image-type-available-p): Adapt to init-image-library
7987 argument changes.
7988
7989 2012-09-22 Juri Linkov <juri@jurta.org>
7990
7991 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7992 `dired-toggle-read-only'. (Bug#12462)
7993
7994 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7995
7996 * subr.el (temp-output-buffer-show): New function.
7997 (with-output-to-temp-buffer): Call temp-output-buffer-show
7998 instead of internal-temp-output-buffer-show.
7999
8000 2012-09-22 Chong Yidong <cyd@gnu.org>
8001
8002 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8003 (Bug#12462).
8004
8005 * repeat.el (repeat): Doc fix (Bug#12348).
8006
8007 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8008 (Bug#10909).
8009
8010 * simple.el (shell-command-on-region): Doc fix.
8011 (read-only-mode): Doc fix.
8012
8013 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8014
8015 * emacs-lisp/timer.el (run-with-idle-timer)
8016 (timer-activate-when-idle): Warn against reinvoking an idle timer
8017 from within its own timer action. (Bug#12447)
8018
8019 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8020
8021 * cus-start.el (window-combination-limit): Add new optional
8022 values.
8023 * window.el (temp-buffer-window-show)
8024 (window--try-to-split-window): Handle new values of
8025 window-combination-limit (Bug#1806).
8026 (split-window): Test window-combination-limit for t instead of
8027 non-nil.
8028 (display-buffer-at-bottom): New buffer display action function.
8029 * help.el (temp-buffer-resize-regexps): New option.
8030 (temp-buffer-resize-mode): Rewrite doc-string.
8031 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8032 Don't resize reused window. Suggested by Glenn Morris.
8033
8034 2012-09-22 Stefan Merten <smerten@oekonux.de>
8035
8036 * textmodes/rst.el: Revamp section title faces.
8037 (rst-official-version)
8038 (rst-package-emacs-version-alist): Sync with official version
8039 V1.4.0.
8040 (rst-faces-defaults, rst-set-level-default)
8041 (rst-level-face-max, rst-level-face-base-color)
8042 (rst-level-face-base-light, rst-level-face-format-light)
8043 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8044 (rst-adornment-faces-alist): Match new setup.
8045 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8046 (rst-level-5, rst-level-6): New faces.
8047
8048 2012-09-22 Chong Yidong <cyd@gnu.org>
8049
8050 * simple.el (undo): Handle indirect buffers (Bug#8207).
8051
8052 2012-09-21 Leo Liu <sdl.web@gmail.com>
8053
8054 IDO: Disable match re-ordering for buffer switching.
8055 * ido.el (ido-buffer-disable-smart-matches): New variable.
8056 (ido-set-matches-1): Use it. (Bug#2042)
8057
8058 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8059
8060 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8061 Fix 2011-05-17 change. (Bug#12418)
8062
8063 2012-09-21 Leo Liu <sdl.web@gmail.com>
8064
8065 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8066
8067 2012-09-21 Glenn Morris <rgm@gnu.org>
8068
8069 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8070 Be more robust about locating simple.el.
8071
8072 2012-09-21 Glenn Morris <rgm@gnu.org>
8073
8074 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8075
8076 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8077
8078 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8079
8080 2012-09-20 Juri Linkov <juri@jurta.org>
8081
8082 * replace.el (query-replace-read-from): Use `read-regexp' instead
8083 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8084 (occur-read-primary-args): Use `read-regexp' instead of
8085 `read-string'.
8086 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8087 `read-from-minibuffer'.
8088 * isearch.el (isearch-occur): Use `read-regexp' instead of
8089 `read-string'.
8090 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8091 `read-from-minibuffer'.
8092 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8093 of `read-string'. (Bug#7567)
8094
8095 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8096 and allow accepting a list of strings prepended to a list of
8097 standard default values. Doc fix. (Bug#12321)
8098
8099 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8100
8101 * replace.el (read-regexp): Don't add ": " when PROMPT already
8102 ends with a colon and space. (Bug#12321)
8103
8104 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8105
8106 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8107 error.
8108
8109 2012-09-20 Stefan Merten <smerten@oekonux.de>
8110
8111 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8112 Fixes feature request bug#11711.
8113 (rst-mode): Create `imenu-create-index-function'.
8114 (rst-get-stripped-line): Delete after refactoring.
8115 (rst-section-tree, rst-section-tree-rec)
8116 (rst-section-tree-point): Refactor and document properly.
8117 (rst-imenu-find-adornments-for-position)
8118 (rst-imenu-convert-cell, rst-imenu-create-index):
8119 New function.
8120
8121 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8122
8123 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8124 (macroexp--expand-all): Use it.
8125 (macroexp--funcall-and-return): Remove by folding it into its sole
8126 caller (macroexp--warn-and-return).
8127 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8128 Use macroexp--obsolete-warning.
8129
8130 * calc/calc.el: Fix last change by removing the whole chunk, since it
8131 was only needed back when Calc was not bundled.
8132
8133 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8134
8135 * emacs-lisp/debug.el (debug): Restore assignment to
8136 debugger-old-buffer removed on 2012-09-08.
8137
8138 2012-09-20 Juri Linkov <juri@jurta.org>
8139
8140 * dired-aux.el (dired-diff): Remove (require 'diff) since
8141 `diff-latest-backup-file' is now autoloaded.
8142
8143 2012-09-20 Chong Yidong <cyd@gnu.org>
8144
8145 * vc/diff.el (diff-latest-backup-file): Autoload.
8146
8147 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * calc/calc.el: Remove redundant autoload shape check.
8150 (sel-mode): Don't defvar.
8151 (calc-get-stack-element): Add `sel-mode' arg instead.
8152 (calc-top, calc-top-list): Pass it this additional argument.
8153 * calc/calc-store.el (calc-store-map):
8154 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8155 (calc-map-equation, calc-outer-product, calc-inner-product):
8156 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8157
8158 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8159
8160 2012-09-19 Juri Linkov <juri@jurta.org>
8161
8162 * dired-aux.el (dired-diff): Add (require 'diff) because
8163 `diff-latest-backup-file' is not autoloaded.
8164 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8165 of `dired-get-filename' to t to not report error when there is
8166 no default file on the current line.
8167
8168 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8171 macroexp--eval-if-compile.
8172 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8173 (macroexp--expand-all): Use them (bug#12371).
8174
8175 * doc-view.el (doc-view-guess-paper-size)
8176 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8177
8178 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8179
8180 New feature: set optimal slice from BoundingBox information.
8181 * doc-view.el (doc-view-mode-map): Add keybinding.
8182 (doc-view-menu): Add menu entry.
8183 (doc-view-set-slice): Adapt docstring.
8184 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8185 (doc-view-scale-bounding-box)
8186 (doc-view-set-slice-from-bounding-box): New functions.
8187 (doc-view-paper-sizes): New defvar.
8188
8189 2012-09-19 Glenn Morris <rgm@gnu.org>
8190
8191 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8192 (byte-compile-log-warning): Autoload. (Bug#12371)
8193
8194 * calendar/calendar.el (calendar-american-month-header)
8195 (calendar-european-month-header, calendar-iso-month-header)
8196 (calendar-month-header): New options.
8197 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8198 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8199
8200 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8201
8202 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8203
8204 2012-09-18 Juri Linkov <juri@jurta.org>
8205
8206 * dired-aux.el (dired-diff): Restore original functionality of
8207 getting the default value, but keep new feature of using the
8208 latest existing backup file (`diff-latest-backup-file').
8209
8210 2012-09-18 Juri Linkov <juri@jurta.org>
8211
8212 * dired.el (dired-mark): If the region is active in Transient Mark
8213 mode, mark all files in the active region. Doc fix.
8214 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8215 Doc fix. (Bug#10624)
8216
8217 2012-09-18 Juri Linkov <juri@jurta.org>
8218
8219 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8220 attributes for M-n are pulled from the file at point.
8221 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8222 Suggested by Drew Adams. (Bug#10624)
8223
8224 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8225
8226 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8227 whitespace after "end".
8228 (ruby-do-end-to-brace): Collapse block to one line if it fits
8229 within fill-column.
8230
8231 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8232
8233 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8234 value.
8235 (debug): Don't remove debugger window when debugger is expected
8236 to be back.
8237
8238 2012-09-18 Chong Yidong <cyd@gnu.org>
8239
8240 * custom.el (defface): Doc fix.
8241
8242 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8243
8244 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8245
8246 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8247 to initialize query-on-exit; then test that instead (bug#12288).
8248
8249 2012-09-17 Stefan Merten <smerten@oekonux.de>
8250
8251 * textmodes/rst.el: Add support for `testcover'.
8252 (rst-defcustom-testcover, rst-testcover-add-compose)
8253 (rst-testcover-add-1value): New functions.
8254 (rst-portable-mark-active-p): Replace by `use-region-p'.
8255 (rst-update-section, rst-classify-adornment)
8256 (rst-find-title-line): Mark `1value' forms.
8257 (rst-classify-adornment): Remove superfluous form.
8258 (rst-update-section, rst-get-adornments-around)
8259 (rst-adornment-complete-p, rst-get-next-adornment)
8260 (rst-adjust, rst-promote-region)
8261 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8262 (rst-find-pfx-in-region, rst-section-tree-rec)
8263 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8264 (rst-toc-node, rst-toc, rst-forward-section)
8265 (rst-iterate-leftmost-paragraphs)
8266 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8267 (rst-bullet-list-region)
8268 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8269 (rst-compile-find-conf, rst-compile)
8270 (rst-repeat-last-character): Fix style.
8271
8272 2012-09-17 Chong Yidong <cyd@gnu.org>
8273
8274 * comint.el (comint--complete-file-name-data): Don't add a space
8275 if the status is `sole'; that adds a gratuitous space in the
8276 completion-cycling case (Bug#12092).
8277
8278 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8279
8280 2012-09-17 Richard Stallman <rms@gnu.org>
8281
8282 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8283 only in the mime-shown mode, not in raw mode.
8284 (rmail-mime): Toggle off mime by displaying the message without
8285 mime processing. (Bug#12305)
8286
8287 * mail/rmail.el (rmail-retry-failure):
8288 Turn off mime processing first. (Bug#12037)
8289
8290 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8291
8292 2012-09-17 Chong Yidong <cyd@gnu.org>
8293
8294 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8295 (shell-dynamic-complete-functions): Convert to defcustom.
8296 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8297
8298 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8299 * comint.el (comint-prompt-read-only):
8300 * custom.el (defcustom):
8301 * hi-lock.el (hi-lock-mode):
8302 * ibuffer.el (ibuffer-formats):
8303 * ielm.el (ielm-prompt-read-only):
8304 * novice.el (disable-command):
8305 * saveplace.el (toggle-save-place):
8306 * speedbar.el (speedbar-supported-extension-expressions):
8307 * startup.el (auto-save-list-file-prefix, init-file-user)
8308 (after-init-hook, inhibit-startup-echo-area-message):
8309 * strokes.el (strokes-help):
8310 * time-stamp.el (time-stamp):
8311 * calendar/calendar.el (calendar, diary-file):
8312 * calendar/diary-lib.el (diary-mail-entries, diary)
8313 (diary-list-entries-hook):
8314 * calendar/holidays.el (holidays, calendar-holidays):
8315 * calendar/lunar.el (lunar-phases):
8316 * calendar/solar.el (sunrise-sunset):
8317 * emulation/edt.el (edt-load-keys):
8318 * emulation/viper.el (viper-mode):
8319 * eshell/em-alias.el (eshell-command-aliases-list):
8320 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8321 * international/ogonek.el (ogonek-information):
8322 * net/tramp-cmds.el (tramp-bug):
8323 * net/quickurl.el (quickurl-reread-hook-postfix):
8324 * play/decipher.el (decipher-font-lock-keywords):
8325 * progmodes/cc-styles.el (c-set-style):
8326 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8327 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8328 * progmodes/octave-mod.el (octave-mode):
8329 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8330 * progmodes/verilog-mode.el (verilog-read-defines):
8331 * textmodes/two-column.el (2C-mode): Likewise.
8332
8333 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8334
8335 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8336 that holds many addresses.
8337
8338 2012-09-16 Chong Yidong <cyd@gnu.org>
8339
8340 * align.el (align-areas): Call the indication function with
8341 positions instead of markers for arguments (Bug#12343).
8342
8343 * files.el (parse-colon-path): Use split-string (Bug#12351).
8344
8345 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8346 (display-buffer-function): Mark as obsolete.
8347
8348 * progmodes/compile.el (compilation-parse-errors): Accept list
8349 values similar to font-lock-keywords (Bug#12136).
8350 Suggested by Oleksandr Manzyuk.
8351 (compilation-error-regexp-alist): Doc fix.
8352
8353 2012-09-15 Glenn Morris <rgm@gnu.org>
8354
8355 * version.el (emacs-bzr-version-bzr): New function.
8356 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8357
8358 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8359 checkouts, check the parent dirstate matches the branch.
8360 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8361 empty string.
8362
8363 * version.el (emacs-bzr-version): Doc fix.
8364 (emacs-bzr-version-dirstate): New function.
8365 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8366 is local try and check that it matches the branch. If not, just
8367 use dirstate information. (Bug#12441)
8368
8369 2012-09-14 Juri Linkov <juri@jurta.org>
8370
8371 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8372 (Bug#12399)
8373
8374 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8377
8378 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8379 Remove obsolete byte-compiler hack that tried to silence some warnings.
8380 (edebug-submit-bug-report): Remove.
8381 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8382 Remove aliases, use the un-prefixed name instead.
8383 (edebug-pop-to-buffer): Consider other frames.
8384 (edebug-original-read):: Make it more obvious that it's always defined.
8385 (edebug--make-form-data-entry, edebug--form-data-name)
8386 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8387 single-dashed name, and implement with cl-defstruct.
8388 (edebug-set-form-data-entry): Use the standard accessors.
8389 (edebug-make-top-form-data-entry): Use push.
8390 (edebug-no-match): Drop useless `funcall'.
8391 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8392 to functions.
8393 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8394 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8395 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8396 (easy-menu-define, with-custom-print): Remove redundant specs.
8397 (edebug-outside-overriding-local-map)
8398 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8399 (edebug--display): Bind unread-command-events directly to nil rather
8400 than binding it to unread-command-events and later setting it to nil.
8401 (edebug--display): Kill edebug-eval-buffer here...
8402 (edebug--recursive-edit): ...rather than here.
8403 Bind standard-output and standard-input.
8404 (edebug-eval): Check cl-macroexpand-all is fboundp.
8405 (edebug-temp-display-freq-count): Fix last change.
8406
8407 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8408 * subr.el (noreturn, 1value): Add `debug' spec.
8409 * emacs-lisp/advice.el: Require cl-lib.
8410 (ad-copy-tree): Remove, use copy-tree instead.
8411 (ad-dolist): Remove use dolist or cl-dolist instead.
8412 (ad-do-return): Remove, use cl-return instead.
8413 (defadvice): Add `debug' spec.
8414
8415 2012-09-13 Juri Linkov <juri@jurta.org>
8416
8417 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8418 (Bug#12399)
8419
8420 2012-09-13 Glenn Morris <rgm@gnu.org>
8421
8422 * calc/calc.el (math-compose-expr):
8423 * calc/calc-ext.el (math-compose-expr):
8424 * progmodes/cc-defs.el (cl-macroexpand-all):
8425 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8426 (cl-macroexpand-all): Update declarations.
8427
8428 * vc/vc.el: No need to require ediff.
8429 (ediff-load-version-control): Declare.
8430 (ediff-vc-internal): Fix declaration.
8431 (vc-version-ediff): Require ediff.
8432
8433 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8434
8435 Use a more backwards-compatible timer format (Bug#12430).
8436 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8437 being right after USECS, as that better supports old code that
8438 inadvisedly looked directly at the timer vector.
8439
8440 2012-09-13 Kenichi Handa <handa@gnu.org>
8441
8442 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8443 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8444 `coding-priority' property of these language environment.
8445
8446 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8447
8448 Fix glitches caused by addition of psec to timers (Bug#12430).
8449 * image.el (image-animate-timer):
8450 * time.el (display-time-world-timer):
8451 Use timer--function and timer--args rather than raw access to
8452 timer vector.
8453
8454 2012-09-13 Glenn Morris <rgm@gnu.org>
8455
8456 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8457 If not compiling a file, try using load-file-name.
8458
8459 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8462 Fix last change.
8463 (edebug-update-eval-list): Use `push'.
8464
8465 * emacs-lisp/edebug.el: Use lexical-binding.
8466 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8467 Mark unused args with underscore.
8468 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8469 (edebug-form-data): Use defvar-local.
8470 (edebug-make-before-and-after-form, edebug-make-after-form):
8471 Use backquote.
8472 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8473 Not dynamically scoped any more.
8474 (edebug--enter-trace): Add arguments `function' and `args'.
8475 Rename from edebug-enter-trace.
8476 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8477 (edebug--update-coverage): Add `after-index' and `value' args.
8478 Rename from edebug-update-coverage.
8479 (edebug-slow-after): Call it accordingly.
8480 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8481 edebug-recursive-edit.
8482 (edebug--display): Call it accordingly. Add args `value',
8483 `offset-index', and `arg-mode'. Rename from edebug-display.
8484 (edebug-debugger, edebug): Call it accordingly.
8485 (edebug-eval-display-list): Use dolist.
8486
8487 2012-09-12 Juri Linkov <juri@jurta.org>
8488
8489 * info.el (Info-search): Don't check for isearch-mode and
8490 isearch-regexp before let-binding search-spaces-regexp to
8491 Info-search-whitespace-regexp.
8492 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8493 search-whitespace-regexp if isearch-lax-whitespace or
8494 isearch-regexp-lax-whitespace is non-nil.
8495 (Info-mode): Don't set local variable search-whitespace-regexp.
8496 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8497
8498 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8501 (debugger-env-macro): Remove support for unread-command-char.
8502
8503 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8504 the temporary map re-appearing on emulation-mode-map-alists.
8505
8506 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8507 since 22.1.
8508
8509 * ehelp.el (with-electric-help): Accept functions in
8510 electric-help-form-to-execute.
8511 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8512 And replace unread-command-char -> unread-command-events.
8513
8514 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8515
8516 Sync with Tramp 2.2.6.
8517
8518 * net/tramp.el (tramp-accept-process-output): Don't use
8519 JUST-THIS-ONE in the XEmacs case.
8520
8521 * net/trampver.el: Update release number.
8522
8523 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8524
8525 * emacs-lisp/debug.el (debugger-previous-window-height):
8526 New variable.
8527 (debug): When debugger-jumping-flag is non-nil try to restore
8528 height of debugger window. (Bug#8789)
8529
8530 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8533 overriding-local-map and pre/post-command-hook here.
8534 (edebug-recursive-edit): Do it here instead (bug#12345).
8535 (edebug-outside-unread-command-char): Remove all uses of
8536 unread-command-char.
8537
8538 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8539 inhibit-debugger is bound instead.
8540
8541 2012-09-11 Bastien Guerry <bzg@gnu.org>
8542
8543 * subr.el (set-temporary-overlay-map): Add a docstring.
8544 (Bug#12346)
8545
8546 2012-09-11 Bastien Guerry <bzg@gnu.org>
8547
8548 * minibuffer.el (completion-table-subvert): Fix docstring.
8549 (Bug#12347)
8550
8551 2012-09-11 Bastien Guerry <bzg@gnu.org>
8552
8553 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8554
8555 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8556
8557 * progmodes/sql.el: Version 3.1
8558 (sql-db2-escape-newlines): New variable.
8559 (sql-escape-newlines-filter): Use it.
8560
8561 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8562
8563 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8564
8565 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8566
8567 * vc/diff-mode.el (diff-mode-menu):
8568 Bind diff-remove-trailing-whitespace.
8569
8570 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8573 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8574 (emacs-lisp-byte-code-mode): New functions.
8575 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8576 (eval-defun-2): Remove bogus interactive spec.
8577 (lisp-indent-line): Remove redundant whole-exp code, now done in
8578 indent-according-to-mode.
8579 (save-match-data): Remove redundant indent data.
8580
8581 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8582 Use `declare'.
8583
8584 2012-09-09 Juri Linkov <juri@jurta.org>
8585
8586 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8587 (replace-lax-whitespace, query-replace-regexp)
8588 (query-replace-regexp-eval, replace-regexp): Doc fix.
8589 (perform-replace, replace-highlight): Let-bind
8590 isearch-lax-whitespace to replace-lax-whitespace and
8591 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8592
8593 * isearch.el (isearch-query-replace): Let-bind
8594 replace-lax-whitespace to isearch-lax-whitespace and
8595 replace-regexp-lax-whitespace to
8596 isearch-regexp-lax-whitespace. (Bug#10885)
8597
8598 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8601
8602 2012-09-09 Alan Mackenzie <acm@muc.de>
8603
8604 * progmodes/cc-engine.el (c-state-cache-init):
8605 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8606 (c-record-parse-state-state):
8607 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8608
8609 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8610
8611 * register.el (register-separator): Rename from
8612 separator-register. All uses changed. Doc fix.
8613 (register): Fix version.
8614
8615 2012-09-09 Chong Yidong <cyd@gnu.org>
8616
8617 * replace.el (query-replace-map): Bind four new symbols for
8618 requesting window scrolling.
8619
8620 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8621 query-replace-map (Bug#8948).
8622
8623 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8624
8625 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8626 since they are now in query-replace-map.
8627
8628 * window.el (scroll-other-window-down): Make the arg optional.
8629
8630 2012-09-09 Chong Yidong <cyd@gnu.org>
8631
8632 * files.el (hack-local-variables-confirm): Use quit-window to kill
8633 the *Local Variables* buffer.
8634
8635 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8636
8637 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8638 not just expect to be at its beginning. Adjust callees.
8639 Succeed when do-end block has no space before the pipe character.
8640 (ruby-brace-to-do-end): When the original block is one-liner,
8641 convert to multiline. Reindent the result.
8642
8643 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8644
8645 * register.el (register): New group.
8646 (separator-register): New user option.
8647 (increment-register): Route it to `append-to-register', if
8648 register contains text. Implication is that `C-x r +' can now be
8649 used for appending to a text register (bug#12217).
8650 (append-to-register, prepend-to-register): Add separator based on
8651 `separator-register'.
8652
8653 2012-09-08 Alan Mackenzie <acm@muc.de>
8654
8655 AWK Mode: make auto-newline work when there's "==" in the pattern.
8656 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8657 correctly.
8658 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8659 Test more rigorously for "=" token.
8660
8661 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8662
8663 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8664 Only fail when reached LIMIT.
8665
8666 2012-09-08 Chong Yidong <cyd@gnu.org>
8667
8668 * dired.el (dired-mode-map): Don't bind M-=.
8669
8670 * dired-aux.el (dired-diff): Use backup file as default.
8671
8672 2012-09-08 Drew Adams <drew.adams@oracle.com>
8673
8674 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8675
8676 2012-09-08 Chong Yidong <cyd@gnu.org>
8677
8678 * subr.el (syntax-after, syntax-class): Doc fix.
8679
8680 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8681
8682 * window.el (display-buffer-in-previous-window): New buffer
8683 display action function.
8684
8685 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8686 (debugger-previous-window): New variable.
8687 (debug): Rewrite using display-buffer-in-previous-window,
8688 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8689
8690 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8693
8694 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8695
8696 * progmodes/python.el (python-shell-send-string):
8697 When default-directory is remote, create temp file on remote
8698 filesystem.
8699 (python-shell-send-file): When file is remote, pass local view of
8700 file paths to remote Python interpreter. (Bug#12340)
8701
8702 2012-09-07 Chong Yidong <cyd@gnu.org>
8703
8704 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8705
8706 * files.el (after-find-file): Don't fail on a read-only buffer if
8707 require-final-newline is `visit' or `visit-save' (Bug#11156).
8708
8709 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8710
8711 * userlock.el (ask-user-about-supersession-threat):
8712 Use read-char-choice (Bug#12093).
8713
8714 2012-09-07 Chong Yidong <cyd@gnu.org>
8715
8716 * subr.el (buffer-narrowed-p): New function.
8717
8718 * ses.el (ses-widen):
8719 * simple.el (count-words--buffer-message):
8720 * net/browse-url.el (browse-url-of-buffer): Use it.
8721
8722 * simple.el (count-words-region): Don't signal an error if there
8723 is a non-nil prefix arg and the mark is not set.
8724
8725 * help.el (describe-key-briefly): Allow the message to be seen
8726 when invoked from the minibuffer (Bug#7014).
8727
8728 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8729
8730 * progmodes/ruby-mode.el (ruby-end-of-defun)
8731 (ruby-beginning-of-defun): Simplify, allow indentation before
8732 block beginning and end keywords.
8733 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8734 (ruby-end-of-defun): Expect that the point is at the beginning of
8735 the defun.
8736
8737 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8740 (bug#12367).
8741 (cl--make-usage-args): Strip _ from argument names.
8742
8743 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8744
8745 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8746 obsolete alias speedbar-key-map.
8747 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8748 (vhdl-index-menu-init): Don't use obsolete variable
8749 font-lock-maximum-size.
8750
8751 2012-09-06 Chong Yidong <cyd@gnu.org>
8752
8753 * frame.el (window-system-version): Mark as obsolete.
8754
8755 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8756 of obsolete variable speedbar-key-map.
8757
8758 2012-09-06 Juri Linkov <juri@jurta.org>
8759
8760 * replace.el (replace-lax-whitespace): New defcustom.
8761 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8762 (replace-string, replace-regexp): Mention it in docstrings.
8763 (perform-replace, replace-highlight): Let-bind
8764 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8765 to the values of replace-lax-whitespace and regexp-flag.
8766 Don't let-bind search-whitespace-regexp. (Bug#10885)
8767
8768 * isearch.el (isearch-query-replace): Let-bind
8769 replace-lax-whitespace instead of let-binding
8770 replace-search-function and replace-re-search-function.
8771 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8772 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8773 (isearch-toggle-symbol): Set isearch-regexp to nil
8774 in isearch-word mode (like in isearch-toggle-word).
8775
8776 2012-09-06 Juri Linkov <juri@jurta.org>
8777
8778 * replace.el (replace-search-function)
8779 (replace-re-search-function): Set default values to nil.
8780 (perform-replace): Let-bind isearch-related variables based on
8781 replace-related values, call `isearch-search-fun' and let-bind
8782 the result to `search-function'. Remove code that sets
8783 `search-function' and `search-string' separately for
8784 `delimited-flag'.
8785 (replace-highlight): Add new argument `delimited-flag' and
8786 rename other arguments to the names used in `perform-replace'.
8787 Let-bind `isearch-word' to the argument `delimited-flag'.
8788 (Bug#10885, bug#10887)
8789
8790 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8791
8792 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8793 ruby-beginning-of-indent, simplify, allow all keywords to have
8794 indentation before them.
8795 (ruby-beginning-of-indent): Adjust for above. Search until the
8796 found point is not inside a string or comment.
8797 (ruby-font-lock-keywords): Allow symbols to start with "@"
8798 character, give them higher priority than variables.
8799 (ruby-syntax-propertize-function)
8800 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8801 matchers. Expression expansions are not comments when inside a
8802 string, and there comment syntax status is irrelevant.
8803 (ruby-match-expression-expansion): New function. Check that
8804 expression expansion is inside a string, and it's not escaped.
8805 (ruby-font-lock-keywords): Use it.
8806
8807 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8808
8809 * help.el (temp-buffer-max-height): New default value.
8810 (temp-buffer-resize-frames): New option.
8811 (resize-temp-buffer-window): Optionally resize frame.
8812
8813 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8814 (fit-frame-to-buffer): New function.
8815
8816 2012-09-05 Glenn Morris <rgm@gnu.org>
8817
8818 * emulation/cua-rect.el (cua--init-rectangles):
8819 * textmodes/picture.el (picture-mode-map):
8820 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8821 like forward-char and backward-char. (Bug#12317)
8822
8823 2012-09-05 Leo Liu <sdl.web@gmail.com>
8824
8825 * progmodes/flymake.el (flymake-warning-re): New variable.
8826 (flymake-parse-line): Use it.
8827
8828 2012-09-05 Glenn Morris <rgm@gnu.org>
8829
8830 * calendar/holidays.el (holiday-christian-holidays):
8831 Rename an entry. (Bug#12289)
8832
8833 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8836 (bug#12222).
8837
8838 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * loadup.el: Load macroexp. Remove hack.
8841 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8842 (macroexp--expand-all): Use it to get better warnings.
8843 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8844 (internal-macroexpand-for-load): New functions.
8845 (macroexp--pending-eager-loads): New var.
8846 (emacs-startup-hook): New hack to replace one in loadup.el.
8847 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8848 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8849 (cl-psetf): Simplify.
8850 (cl-defstruct): Add indent rule.
8851
8852 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8853
8854 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8855 over `user-mail-address' for the SMTP MAIL FROM envelope.
8856 (smtpmail-via-smtp): Ditto.
8857
8858 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8859
8860 * progmodes/ruby-mode.el: Clean up keybindings.
8861 (ruby-mode-map): Don't bind ruby-electric-brace,
8862 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8863 backward-kill-word, reindent-then-newline-and-indent.
8864 (ruby-mark-defun): Remove.
8865 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8866 (ruby-mode): Set local beginning-of-defun-function and
8867 end-of-defun-function values.
8868
8869 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8870
8871 * window.el (temp-buffer-window-setup-hook)
8872 (temp-buffer-window-show-hook): New hooks.
8873 (temp-buffer-window-setup, temp-buffer-window-show)
8874 (with-temp-buffer-window): New functions.
8875 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8876 (special-display-popup-frame): Make sure the window used shows BUFFER.
8877
8878 * help.el (temp-buffer-resize-mode): Fix doc-string.
8879 (resize-temp-buffer-window): New optional argument WINDOW.
8880
8881 * files.el (recover-file, save-buffers-kill-emacs):
8882 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8883
8884 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8885
8886 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8887 remote definition of `default-directory', ensure we can connect.
8888
8889 2012-09-02 Juri Linkov <juri@jurta.org>
8890
8891 Toggle whitespace matching mode with M-s SPC.
8892 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8893
8894 * isearch.el (search-whitespace-regexp): Doc fix.
8895 Remove cons cell customization.
8896 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8897 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8898 New variables.
8899 (isearch-forward, isearch-forward-regexp): Doc fix.
8900 (isearch-toggle-lax-whitespace): New command.
8901 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8902 (re-search-forward-lax-whitespace)
8903 (re-search-backward-lax-whitespace): New functions.
8904 (isearch-whitespace-regexp): Remove function.
8905 (isearch-query-replace): Let-bind replace-search-function and
8906 replace-re-search-function.
8907 (isearch-occur): Let-bind search-spaces-regexp according to the
8908 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8909 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8910 condition for C-q SPC.
8911 (isearch-search-fun-default): Use new functions mentioned above.
8912 (isearch-search-forward, isearch-search-backward): Remove functions.
8913 (isearch-search): Don't let-bind search-spaces-regexp.
8914 (isearch-lazy-highlight-space-regexp): Remove variable.
8915 (isearch-lazy-highlight-lax-whitespace)
8916 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8917 (isearch-lazy-highlight-new-loop): Use them.
8918 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8919
8920 2012-09-02 Chong Yidong <cyd@gnu.org>
8921
8922 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8923
8924 2012-09-02 Glenn Morris <rgm@gnu.org>
8925
8926 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8927
8928 2012-09-01 Glenn Morris <rgm@gnu.org>
8929
8930 * term.el: Tidy up menu definitions.
8931 (term-mode-map): Use easymenu for In/Out, Complete menus.
8932 (term-pager-break-map): Initialize in the defvar.
8933 (term-terminal-menu, term-signals-menu): Define with easymenu.
8934 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8935 (term-pager-menu): New, extracted from term-process-pager.
8936 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8937 (term-update-mode-line): Propertize line/char and page items.
8938 (term-process-pager): Move keymap initialization elsewhere.
8939
8940 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8941
8942 * window.el (switch-to-prev-buffer): Handle additional values of
8943 BURY-OR-KILL argument. Don't switch in minibuffer window.
8944 (switch-to-next-buffer): Don't switch in minibuffer window.
8945 (quit-restore-window): New function based on quit-window.
8946 Handle additional values of former KILL argument.
8947 (quit-window): Call quit-restore-window with appropriate
8948 interpretation of KILL argument.
8949 (display-buffer-below-selected): New buffer display action
8950 function.
8951
8952 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * minibuffer.el (completion-at-point-functions): Complete docstring
8955 (bug#12254).
8956
8957 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8958
8959 Better seed support for (random).
8960 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8961 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8962 * play/mpuz.el, play/tetris.el, play/zone.el:
8963 * calc/calc-comb.el (math-init-random-base):
8964 * play/blackbox.el (bb-init-board):
8965 * play/life.el (life):
8966 * server.el (server-use-tcp):
8967 * type-break.el (type-break):
8968 Remove unnecessary call to (random t).
8969 * net/sasl.el (sasl-unique-id-function):
8970 Change (random t) to (random), now that the latter is more random.
8971 * play/life.el (life-initialized): Remove no-longer-needed var.
8972
8973 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8974
8975 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8976 Consider frame's buffer predicate when choosing the buffer.
8977 (Bug#12081)
8978
8979 2012-08-30 Richard Stallman <rms@gnu.org>
8980
8981 * simple.el (special-mode-map): Delete binding for `z'.
8982
8983 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8984
8985 * progmodes/compile.el (compilation-always-kill): Doc fix.
8986
8987 2012-08-30 Chong Yidong <cyd@gnu.org>
8988
8989 * window.el (display-buffer-reuse-frames): Make the obsolescence
8990 message more informative.
8991
8992 2012-08-30 Glenn Morris <rgm@gnu.org>
8993
8994 * paren.el (show-paren-delay):
8995 Add a :set function. Doc fix. (Bug#12297)
8996
8997 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8998
8999 * progmodes/compile.el (compilation-always-kill): New var.
9000 (compilation-start): Use it.
9001
9002 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9005 * files.el (read-only-mode): Move to simple.el.
9006
9007 * files.el (read-only-mode): New minor mode.
9008 (toggle-read-only): Use it and mark obsolete.
9009 (find-file--read-only):
9010 * vc/vc.el (vc-next-action, vc-checkout):
9011 * vc/vc-cvs.el (vc-cvs-checkout):
9012 * obsolete/vc-mcvs.el (vc-mcvs-update):
9013 * ffap.el (ffap--toggle-read-only): Update callers.
9014
9015 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9016
9017 * eshell/esh-ext.el (eshell-external-command): Do not examine
9018 remote shell scripts.
9019 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9020
9021 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9022 "/usr/local/sbin".
9023
9024 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9027
9028 2012-08-28 Leo Liu <sdl.web@gmail.com>
9029
9030 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9031 completion-at-point. (Bug#12220)
9032
9033 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9034
9035 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9036
9037 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9040 be buffer-local; add delete-trailing-whitespace (bug#12259).
9041
9042 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9043
9044 * progmodes/hideif.el (hif-compress-define-list):
9045 Fix typo. (Bug#11951)
9046
9047 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9048
9049 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9050 buffer local setting.
9051
9052 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9053 rcirc-encode-coding-system.
9054
9055 2012-08-28 Leo Liu <sdl.web@gmail.com>
9056
9057 * net/rcirc.el (rcirc-split-message): New function.
9058 (rcirc-send-message): Use it. (Bug#12051)
9059
9060 2012-08-28 Juri Linkov <juri@jurta.org>
9061
9062 * info.el (Info-fontify-node): Hide empty lines at the end of
9063 the node. (Bug#12272)
9064
9065 2012-08-27 Drew Adams <drew.adams@oracle.com>
9066
9067 * dired.el (dired-pop-to-buffer): Make window start at beginning
9068 of buffer (Bug#12281).
9069
9070 2012-08-26 Chong Yidong <cyd@gnu.org>
9071
9072 * window.el (special-display-regexps, special-display-frame-alist)
9073 (special-display-buffer-names, special-display-function)
9074 (display-buffer-reuse-frames): Mark as obsolete.
9075
9076 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9077
9078 * help.el (help-print-return-message): Don't treat
9079 display-buffer-reuse-frames specially.
9080
9081 2012-08-26 Chong Yidong <cyd@gnu.org>
9082
9083 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9084 New variable, replacing gdb-frame-parameters.
9085 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9086 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9087 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9088 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9089 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9090 the functions directly with gdb-display-buffer-other-frame-action.
9091 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9092 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9093 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9094 (gdb-display-registers-buffer): Define directly.
9095 (def-gdb-display-buffer): Macro deleted.
9096 (gdb-display-buffer): Remove second and third args, callers don't
9097 use them. Defer to the default display-buffer behavior, apart
9098 from making windows dedicated.
9099 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9100
9101 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9102
9103 * window.el (display-buffer-pop-up-frame): Handle a
9104 pop-up-frame-parameters alist entry.
9105 (display-buffer): Document it.
9106
9107 2012-08-26 Chong Yidong <cyd@gnu.org>
9108
9109 * isearch.el (search-whitespace-regexp): Make string and nil
9110 values apply to both ordinary and regexp search. Allow a cons
9111 cell value to distinguish between the two.
9112 (isearch-whitespace-regexp, isearch-search-forward)
9113 (isearch-search-backward): New functions.
9114 (isearch-occur, isearch-search-fun-default, isearch-search)
9115 (isearch-lazy-highlight-new-loop): Use them.
9116 (isearch-forward, isearch-forward-regexp): Doc fix.
9117
9118 2012-08-26 Chong Yidong <cyd@gnu.org>
9119
9120 * faces.el (help-argument-name): Always inherit from italic
9121 (Bug#12213).
9122
9123 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9124
9125 * window.el (window--even-window-heights): Even heights when
9126 WINDOW and the selected window form a vertical combination.
9127 (display-buffer-use-some-window): Provide that window used gets
9128 sized back by quit-window. (Bug#11880) and (Bug#12091)
9129
9130 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9131
9132 Fix file time stamp problem with bzr and CVS (Bug#12001).
9133 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9134 in the file's time stamp, since the version control system loses
9135 that information.
9136
9137 2012-08-22 Juri Linkov <juri@jurta.org>
9138
9139 * info.el (Info-fontify-node): Hide the suffix of the
9140 Info file name in the header line. (Bug#12187)
9141
9142 2012-08-22 Glenn Morris <rgm@gnu.org>
9143
9144 * calendar/cal-tex.el (cal-tex-weekly-common):
9145 Restore leading blank page.
9146
9147 2012-08-22 Le Wang <l26wang@gmail.com>
9148
9149 * misc.el (forward-to-word, backward-to-word): Activate or extend
9150 the region under `shift-select-mode'. (Bug#12231)
9151
9152 2012-08-22 Bastien Guerry <bzg@gnu.org>
9153
9154 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9155 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9156 gives details on why the space is never needed.
9157
9158 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9159
9160 * window.el (walk-window-tree, window-with-parameter):
9161 New optional argument MINIBUF to control whether these functions
9162 should run on the minibuffer window.
9163 (window-at-side-list): Don't operate on minibuffer window.
9164 (window-in-direction): Simplify and rewrite doc-string.
9165 (window--size-ignore): Rename to window--size-ignore-p.
9166 Update callers.
9167 (display-buffer-in-atom-window, window--major-non-side-window)
9168 (window--major-side-window, display-buffer-in-major-side-window)
9169 (delete-side-window, display-buffer-in-side-window):
9170 New functions.
9171 (window--side-check, window-deletable-p, delete-window)
9172 (delete-other-windows, split-window): Handle side windows and
9173 atomic windows appropriately.
9174 (window--display-buffer): Call display-buffer-record-window also
9175 when the window buffer did not change.
9176
9177 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9178
9179 * help-fns.el (help-fns--key-bindings):
9180 Abbreviate non-symbol remap targets. (Bug#12174)
9181
9182 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9183
9184 * dired.el (dired-mark-remembered): Don't clobber point.
9185 (Bug#11795)
9186
9187 2012-08-22 Glenn Morris <rgm@gnu.org>
9188
9189 * progmodes/bug-reference.el (bug-reference): New custom group.
9190 (bug-reference-bug-regexp): Make it a defcustom.
9191
9192 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9193
9194 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9195 (js-paren-indent-offset, js-square-indent-offset)
9196 (js-curly-indent-offset): Add :safe (Bug#12257).
9197
9198 2012-08-22 Edward O'Connor <hober0@gmail.com>
9199
9200 * json.el (json-key-format): Add error properties.
9201 (json-encode-key): New function.
9202 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9203 Use json-encode-key.
9204
9205 2012-08-22 Glenn Morris <rgm@gnu.org>
9206
9207 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9208 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9209 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9210 Update for above change.
9211
9212 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9213
9214 * cus-face.el (custom-face-attributes): Fix customize type for the
9215 :underline attribute. (Bug#11805)
9216
9217 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9218
9219 * window.el (window-point-1, set-window-point-1): Remove.
9220 (window-in-direction, record-window-buffer)
9221 (set-window-buffer-start-and-point, split-window-below)
9222 (window--state-get-1, display-buffer-record-window):
9223 Replace calls to window-point-1 and set-window-point-1 by calls to
9224 window-point and set-window-point respectively.
9225
9226 2012-08-21 Glenn Morris <rgm@gnu.org>
9227
9228 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9229 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9230 Use it.
9231
9232 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9233 (cal-tex-shortday): New function.
9234 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9235 (cal-tex-cursor-filofax-daily): Use the above.
9236
9237 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9238 New functions.
9239 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9240 (cal-tex-cursor-filofax-week): Use them.
9241
9242 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9243 New constants.
9244 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9245 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9246
9247 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9248 (cal-tex-end-document): Don't rely on buffer name.
9249
9250 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9251 Use cal-tex-vspace.
9252 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9253 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9254 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9255 Use cal-tex-arg.
9256
9257 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9258 (cal-tex-cursor-week, cal-tex-cursor-week2)
9259 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9260 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9261 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9262 (cal-tex-insert-preamble, cal-tex-b-document)
9263 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9264 Improve cal-tex-cmd usage.
9265
9266 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9267 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9268 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9269 (cal-tex-weekly-paper): New function.
9270 (cal-tex-cursor-week, cal-tex-cursor-week2)
9271 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9272 (cal-tex-cursor-day): Use it.
9273
9274 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9275 (cal-tex-cursor-filofax-week): Remove leading blank page.
9276
9277 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9278 Add autoload cookie. For now at least, don't use color, since
9279 no other cal-tex function does.
9280
9281 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9282 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9283 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9284
9285 2012-08-21 Juri Linkov <juri@jurta.org>
9286
9287 * info.el (Info-file-attributes): New variable.
9288 (info-insert-file-contents): Add file attributes to
9289 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9290 `Info-toc-nodes' when previous modtime of the Info file is less
9291 than new modtime.
9292 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9293 of info.el. (Bug#12230)
9294
9295 2012-08-20 Glenn Morris <rgm@gnu.org>
9296
9297 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9298 * calendar/holidays.el (calendar-holiday-list):
9299 Report errors with display-warning rather than beep'n'sleep.
9300
9301 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9302
9303 * net/tramp.el (tramp-accept-process-output): Accept only output
9304 from PROC. Otherwise, process filters and sentinels might be
9305 confused. (Bug#12145)
9306
9307 2012-08-20 Chong Yidong <cyd@gnu.org>
9308
9309 * descr-text.el (describe-text-properties-1): Use overlays-in to
9310 report on empty overlays (Bug#3322).
9311
9312 2012-08-20 Glenn Morris <rgm@gnu.org>
9313
9314 * mail/rmailout.el (rmail-output-read-file-name):
9315 Trap and report errors in rmail-output-file-alist elements.
9316
9317 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9318 since most non-font-lock faces are not also variables).
9319
9320 2012-08-20 Edward Reingold <reingold@iit.edu>
9321
9322 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9323 New function. (Bug12160)
9324
9325 2012-08-19 Glenn Morris <rgm@gnu.org>
9326
9327 * mail/rmailout.el (rmail-output-read-file-name):
9328 Fix previous change (when the alist is nil or does not match).
9329
9330 2012-08-19 Chong Yidong <cyd@gnu.org>
9331
9332 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9333 (Bug#12228).
9334
9335 2012-08-18 Chong Yidong <cyd@gnu.org>
9336
9337 * simple.el (yank-handled-properties): New defcustom.
9338 (yank-excluded-properties): Add font-lock-face and category.
9339 (yank): Doc fix.
9340
9341 * subr.el (remove-yank-excluded-properties):
9342 Obey yank-handled-properties. The special handling of font-lock-face
9343 and category is now done this way, instead of being hard-coded.
9344 (insert-for-yank-1): Remove font-lock-face handling.
9345 (yank-handle-font-lock-face-property)
9346 (yank-handle-category-property): New function.
9347
9348 2012-08-17 Glenn Morris <rgm@gnu.org>
9349
9350 * mail/rmailout.el (rmail-output-read-file-name):
9351 Check rmail-output-file-alist against the full message body
9352 in the correct rmail buffer. (Bug#12214)
9353
9354 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9355
9356 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9357 Eliminate superfluous prompt. (Bug#12203)
9358
9359 2012-08-17 Chong Yidong <cyd@gnu.org>
9360
9361 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9362 font spec, set the font directly (Bug#3228).
9363
9364 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9365
9366 * window.el (delete-window): Fix last fix.
9367
9368 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9369
9370 * window.el (window-valid-p): Move to window.c.
9371 (window-child, window-child-count, window-last-child)
9372 (window-normalize-window, window-combined-p)
9373 (window-combinations, window-atom-root, window-min-size)
9374 (window-sizable, window-sizable-p, window-size-fixed-p)
9375 (window-min-delta, window-max-delta, window--resizable)
9376 (window--resizable-p, window-resizable, window-total-size)
9377 (window-full-height-p, window-full-width-p, window-body-size)
9378 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9379 (minimize-window, window-deletable-p, delete-window)
9380 (delete-other-windows, set-window-buffer-start-and-point)
9381 (next-buffer, previous-buffer, split-window, balance-windows-2)
9382 (set-window-text-height, window-buffer-height)
9383 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9384 (truncated-partial-width-window-p): Minor code adjustments.
9385 In doc-strings state whether the argument window has to denote a
9386 live, valid or any window.
9387
9388 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9389
9390 * progmodes/subword.el (subword-forward-function)
9391 (subword-backward-function, subword-forward-regexp)
9392 (subword-backward-regexp): New variables.
9393 (subword-forward, subword-forward-internal, subword-backward-internal):
9394 Use new variables, eg so that different "word" definitions
9395 can be easily used. (Bug#11411)
9396
9397 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9400 for composite selectors.
9401 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9402 operation just because we can't find a previous revision.
9403
9404 2012-08-15 Chong Yidong <cyd@gnu.org>
9405
9406 * frame.el (set-frame-font): Accept font objects.
9407
9408 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9411
9412 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9413
9414 * man.el (Man-overstrike-face, Man-underline-face)
9415 (Man-reverse-face): Remove variables.
9416 (Man-overstrike, Man-underline, Man-reverse): New faces.
9417 (Man-fontify-manpage): Use them instead of the variables.
9418 (Man-cleanup-manpage): Comment change.
9419 (Man-ansi-color-map): New variable.
9420 (Man-fontify-manpage): Use it.
9421 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9422
9423 Implement ANSI SGR parameters 22-27 (bug#12146).
9424 * ansi-color.el (ansi-colors): Doc fix.
9425 (ansi-color-context, ansi-color-context-region): Doc fix.
9426 (ansi-color--find-face): New function.
9427 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9428 Rename the local variable `face' to `codes' since it is now a list of
9429 ansi codes. Doc fix.
9430 (ansi-color-get-face): Remove.
9431 (ansi-color-parse-sequence): New function, derived from
9432 ansi-color-get-face.
9433 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9434 codes 22-27.
9435
9436 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * subr.el (read-passwd): Allow use from a minibuffer.
9439
9440 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9441
9442 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9443 inside comments and strings as identifiers.
9444
9445 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9446 expression to evaluate. This allows to evaluate expressions with
9447 embedded whitespace.
9448 (gud-tooltip-tips): Add a blank before the newline in the
9449 message-box text, for the benefit of message-box emulation on
9450 MS-Windows.
9451
9452 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9453 messages from GDB, pop them up in a tooltip to give feedback to
9454 user.
9455 (gdb-tooltip-print-1): Quote the expression to evaluate.
9456 This allows to evaluate expressions with embedded whitespace.
9457 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9458 if the TTY name is nil or empty (which happens when communicating
9459 with the inferior via pipes, e.g. on MS-Windows).
9460 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9461 don't send that to the GUD buffer.
9462
9463 2012-08-14 Glenn Morris <rgm@gnu.org>
9464
9465 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9466 Optimize away setq-default with no args, as for setq. (Bug#12195)
9467
9468 2012-08-14 Chong Yidong <cyd@gnu.org>
9469
9470 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9471
9472 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9473 (Bug#12085).
9474
9475 2012-08-14 Glenn Morris <rgm@gnu.org>
9476
9477 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9478
9479 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9480
9481 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9482 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9483 Use cached shell name.
9484
9485 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9486
9487 * progmodes/python.el (python-shell-send-string):
9488 (python-shell-send-setup-code): Do not use `format' with `message'.
9489
9490 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9491
9492 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9493 (ruby-percent-literal-beg-re): New constant.
9494 (ruby-syntax-general-delimiters-goto-beg): Rename to
9495 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9496 (ruby-syntax-propertize-general-delimiters): Rename to
9497 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9498 popular term. Adjust comments everywhere.
9499 (ruby-syntax-propertize-percent-literal): Only propertize when not
9500 inside a simple string or comment. When the literal is unclosed,
9501 leave the text after it unpropertized.
9502 (ruby-syntax-methods-before-regexp): New constant.
9503 (ruby-syntax-propertize-function): Use it to recognize regexps.
9504 Don't look at the text after regexp, just use the whitelist.
9505
9506 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9507
9508 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9509 non-nil always load the compiled file if it exists. (Bug#12197)
9510
9511 2012-08-14 Chong Yidong <cyd@gnu.org>
9512
9513 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9514 (hi-lock-set-pattern): When deciding whether to use font lock or
9515 overlays, look at font-lock-mode instead of font-lock-fontified
9516 (Bug#12168).
9517 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9518 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9519
9520 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9521
9522 * subr.el (internal--after-with-selected-window): Fix typo
9523 (Bug#12193).
9524
9525 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9526
9527 Use `completion-table-dynamic' for completion functions.
9528 * progmodes/python.el
9529 (python-shell-completion--do-completion-at-point)
9530 (python-shell-completion--get-completions):
9531 Remove functions.
9532 (python-shell-completion-complete-at-point): New function.
9533 (python-completion-complete-at-point): Use it.
9534
9535 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9536
9537 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9538 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9539
9540 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * subr.el (function-get): Refine `autoload' arg so it can also
9543 autoload functions for gv.el (bug#12191).
9544 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9545 autoloads macros.
9546
9547 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9548 Prefer pcase-let over destructuring-bind.
9549 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9550 Also, remove whitespace as we go, rather than after accumulating the
9551 various places.
9552
9553 * subr.el (internal--before-with-selected-window)
9554 (internal--after-with-selected-window): Fix typo seleted->selected.
9555 (with-selected-window): Adjust callers.
9556 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9557
9558 2012-08-13 Bastien Guerry <bzg@gnu.org>
9559
9560 * window.el (special-display-popup-frame): Minor docstring
9561 enhancement. (Bug#12172)
9562
9563 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9564
9565 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9566 type 1-6.
9567 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9568 extended headers.
9569
9570 * files.el (hack-local-variables-filter): Remove useless eval.
9571
9572 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9573
9574 * subr.el (with-selected-window): Fix last change.
9575
9576 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9577
9578 * subr.el (internal--before-with-seleted-window)
9579 (internal--after-with-seleted-window): New functions.
9580 (with-selected-window): Use them, to replace dependency on
9581 tty-top-frame.
9582
9583 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9584
9585 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9586 binding for `newline'.
9587 (ruby-move-to-block): When moving backward, stop at block opening,
9588 not indentation.
9589 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9590 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9591 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9592 `ruby-toggle-block'.
9593
9594 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * ibuffer.el (ibuffer-do-toggle-read-only):
9597 * dired.el (dired-toggle-read-only):
9598 * buff-menu.el (Buffer-menu-toggle-read-only):
9599 * bindings.el (mode-line-toggle-read-only):
9600 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9601
9602 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9603
9604 * descr-text.el (describe-char): Put the overlays over the
9605 "displayed as" character.
9606
9607 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9608
9609 * calc/calc-units.el (math-default-units-table): Give an
9610 initial value.
9611 (math-put-default-units): Add options to put composite units and
9612 unit systems in the default units table.
9613 (calc-convert-units): Send composite units to
9614 `math-put-default-units' when appropriate.
9615
9616 2012-08-11 Glenn Morris <rgm@gnu.org>
9617
9618 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9619
9620 * tutorial.el (help-with-tutorial):
9621 * emacs-lisp/copyright.el (copyright-update-directory):
9622 * emacs-lisp/autoload.el (autoload-find-generated-file)
9623 (autoload-find-file): Disable local eval: (for insurance).
9624
9625 * files.el (hack-local-variables-filter): If an eval: form is not
9626 known to be safe, and enable-local-variables is :safe, then ignore
9627 the form totally, as is done for non-eval forms. (Bug#12155)
9628 This is CVE-2012-3479.
9629
9630 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9633 (rx-form): Simplify.
9634
9635 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9636
9637 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9638 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9639 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9640 (ruby-syntax-propertize-function): Adjust for changes in
9641 `ruby-syntax-propertize-heredoc'.
9642
9643 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9644
9645 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9646 binding (use `M-;' instead).
9647 (ruby-singleton-class-p): New function.
9648 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9649
9650 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9653
9654 2012-08-10 Chong Yidong <cyd@gnu.org>
9655
9656 * progmodes/python.el (python-shell-get-process-name): Don't mess
9657 with same-window-buffer-names.
9658
9659 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9660 (eshell-remove-from-window-buffer-names): Make obsolete.
9661 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9662 (eshell): Just use pop-to-buffer-same-window instead.
9663
9664 2012-08-10 Chong Yidong <cyd@gnu.org>
9665
9666 * bindings.el: Bind M-= back to count-words-region.
9667
9668 * simple.el (count-words-region): Accept a prefix arg for acting
9669 on the entire buffer.
9670 (count-words--buffer-message): New helper function.
9671
9672 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9675 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9676 (event-start, event-end): Use posn-at-point to return a more
9677 informative posn.
9678 (posnp): New function.
9679 * mouse.el (popup-menu-normalize-position): Use it.
9680
9681 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9682
9683 * mouse.el (popup-menu-normalize-position): New function.
9684 (popup-menu): Use `popup-menu-normalize-position' to normalize
9685 the form for POSITION argument.
9686
9687 * term/x-win.el (x-menu-bar-open):
9688 Use the value returend from (posn-at-point) as position
9689 passed to `popup-menu'.
9690
9691 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9692
9693 * calc/calccomp.el (math-compose-expr): Add extra argument
9694 indicating that parentheses should be put around products in
9695 denominators. Give multiplication precedence over division during
9696 composition.
9697
9698 2012-08-09 Chong Yidong <cyd@gnu.org>
9699
9700 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9701 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9702 (Man-untabify-command, manual-program): Convert to defcustom
9703 (Bug#10429).
9704
9705 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9706
9707 * descr-text.el (describe-char): Don't insert extra newlines
9708 (Bug#10127).
9709
9710 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9711 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9712
9713 * align.el (align-region): Delete temporary markers (Bug#10047).
9714 Plus some code cleanups.
9715
9716 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9717
9718 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9719 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9720 (python-shell-internal-last-output): Use make-local-variable
9721 instead of make-variable-buffer-local.
9722
9723 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9724
9725 * progmodes/python.el: Enhancements to forward-sexp.
9726 (python-nav-forward-sexp): Rename from
9727 python-nav-forward-sexp-function.
9728 (python-nav--forward-sexp, python-nav--backward-sexp):
9729 New functions.
9730
9731 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9732
9733 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9734 modes and simplification modes.
9735
9736 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9737
9738 * delsel.el (delete-selection-pre-hook): Don't propagate the
9739 file-supersession signals (bug#12161).
9740
9741 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9742
9743 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9744 (cl-map-extents): Add compatibility aliases (bug#12135).
9745
9746 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9747
9748 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9749 tests by `ignore-error'.
9750 (tramp-find-shell): Open also a new shell, when cache is already
9751 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9752
9753 2012-08-08 Juri Linkov <juri@jurta.org>
9754
9755 * bookmark.el: Add `defaults' property to the bookmark record.
9756 (bookmark-current-buffer): Doc fix.
9757 (bookmark-make-record): Add `defaults' property with default values
9758 to the bookmark record.
9759 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9760 with `bookmark-insert-current-bookmark'.
9761 (bookmark-set): Get `defaults' property from the bookmark record
9762 and use it in `read-from-minibuffer'.
9763 (bookmark-insert-current-bookmark): Remove function.
9764
9765 * info.el (Info-bookmark-make-record): Add `defaults' property
9766 with values of canonical Info node name, the current Info file
9767 name and the current Info node name. (Bug#12107)
9768
9769 2012-08-08 Juri Linkov <juri@jurta.org>
9770
9771 * files.el (basic-save-buffer): Use `buffer-name' as the default
9772 of `read-file-name' when buffer is not visiting a file (bug#12128).
9773
9774 2012-08-08 Juri Linkov <juri@jurta.org>
9775
9776 * info.el (Info-isearch-search): Doc fix.
9777 (Info-search): Change search-failed message from "initial node" to
9778 "end of node" (bug#12078).
9779 (Info-isearch-search): Change `isearch-string-state' to
9780 `isearch--state-string'.
9781
9782 2012-08-08 Glenn Morris <rgm@gnu.org>
9783
9784 * language/persian.el: Remove file.
9785 * language/misc-lang.el: Move unique part of persian.el here.
9786 * loadup.el: Remove language/persian.
9787
9788 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9789
9790 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9791
9792 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9793
9794 * progmodes/python.el: Fix defsubst warning.
9795 (python-syntax-context) Rename from python-info-ppss-context.
9796 (python-syntax-context-type): Rename from
9797 python-info-ppss-context-type.
9798 (python-syntax-comment-or-string-p): Rename from
9799 python-info-ppss-comment-or-string-p.
9800
9801 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9802
9803 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9804
9805 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9806
9807 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9808 a defcustom that is quoted with backquote.
9809
9810 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9811 Fix handling of interactive spec when the body uses return.
9812 (math-do-arg-check, math-define-function-body): Use backquote forms.
9813 * calc/calc-ext.el (math-defcache): Likewise.
9814 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9815 * allout.el (allout-new-exposure): Likewise.
9816 * calc/calcalg2.el (math-tracing-integral): Likewise.
9817 * info.el (Info-last-menu-item): Likewise.
9818 * emulation/vip.el (vip-loop): Likewise.
9819 * textmodes/artist.el (artist-funcall): Likewise.
9820 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9821 Construct menu-item directly.
9822
9823 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9824 Don't declare.
9825
9826 2012-08-07 Chong Yidong <cyd@gnu.org>
9827
9828 * simple.el (deactivate-mark): Preserve text properties when
9829 saving the primary selection (Bug#8384).
9830
9831 2012-08-07 Kevin Ryde <user42@zip.com.au>
9832
9833 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9834 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9835 and continue processing (Bug#12110).
9836
9837 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9840 syntax-propertize-function (bug#10095).
9841
9842 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9845 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9846 describe-function-1.
9847 (describe-function-1): Use them. Move compiler macro after sig.
9848 (help-fns--compiler-macro): Use function-get. Assume we're already in
9849 standard-output. Adjust layout to new call order.
9850
9851 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9852 re-binding a symbol that has a symbol-macro (bug#12119).
9853
9854 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9855
9856 * language/persian.el: New file. (Bug#11812)
9857 * loadup.el: Add language/persian.el.
9858
9859 2012-08-06 Chong Yidong <cyd@gnu.org>
9860
9861 * window.el (window--maybe-raise-frame): New function.
9862 (window--display-buffer): Split off from here.
9863 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9864 (display-buffer-pop-up-window, display-buffer-use-some-window):
9865 Obey an inhibit-switch-frame action alist entry.
9866 (display-buffer): Update doc.
9867
9868 * replace.el (occur-after-change-function): Avoid losing focus by
9869 using the inhibit-switch-frame display parameter (Bug#12139).
9870
9871 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9872
9873 Make internal shell process buffer names start with space.
9874 * progmodes/python.el (python-shell-make-comint): Add optional
9875 argument INTERNAL.
9876 (run-python-internal): Use it.
9877 (python-shell-internal-get-or-create-process): Check for new
9878 internal buffer names.
9879
9880 2012-08-06 Glenn Morris <rgm@gnu.org>
9881
9882 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9883 Do less getting and setting of environment variables.
9884
9885 2012-08-05 Chong Yidong <cyd@gnu.org>
9886
9887 * proced.el (proced): Add substitution string to docstring to
9888 trigger autoloading of the proced library on C-h f (Bug#1768).
9889
9890 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9891 Don't show defvars which have no second argument (Bug#8638).
9892
9893 * imenu.el (imenu-generic-expression): Move documentation here
9894 from imenu--generic-function.
9895 (imenu--generic-function): Refer to imenu-generic-expression.
9896
9897 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9898
9899 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9900 indentation declaration.
9901 (viper-loop): Add indentation declaration (Bug#7025).
9902
9903 2012-08-05 Chong Yidong <cyd@gnu.org>
9904
9905 * help-fns.el (describe-variable): Add hyperlink for
9906 directory-local variables files. Improve buffer-local and
9907 permanent-local reporting; suggested by MON KEY (Bug#6644).
9908
9909 * help-mode.el (help-dir-local-var-def): New button type.
9910
9911 * files.el (kill-buffer-hook): Provide a defvar.
9912
9913 2012-08-05 Glenn Morris <rgm@gnu.org>
9914
9915 * eshell/esh-ext.el (eshell/addpath):
9916 Also update eshell-path-env. (Bug#12013)
9917
9918 2012-08-05 Chong Yidong <cyd@gnu.org>
9919
9920 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9921
9922 * fringe.el (fringe-styles): Add docstring.
9923 (fringe--check-mode): New function.
9924 (set-fringe-mode, set-fringe-style): Use it.
9925 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9926
9927 * files.el (set-auto-mode): Fix invalid setq call.
9928
9929 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * isearch.el: Misc simplification; use defstruct.
9932 (isearch-mode-map): Dense maps now work like sparse ones.
9933 (isearch--state): New defstruct.
9934 (isearch-string-state, isearch-message-state, isearch-point-state)
9935 (isearch-success-state, isearch-forward-state)
9936 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9937 (isearch-wrapped-state, isearch-barrier-state)
9938 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9939 replaced by defstruct's accessors.
9940 (isearch--set-state): Rename from isearch-top-state and change
9941 calling convention.
9942 (isearch-push-state): Use new isearch--get-state.
9943 (isearch-toggle-word): Disable regexp when enabling word.
9944 (isearch-message-prefix): Remove unused arg _c-q-hack.
9945 (isearch-message-suffix): Remove unused arg _ellipsis.
9946
9947 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9948
9949 * simple.el (list-processes--refresh): For a server use :host or
9950 :local as the address.
9951 (list-processes): Doc fix.
9952
9953 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9954
9955 * lisp/mpc.el: Support password in host argument.
9956 (mpc--proc-connect): Parse and use new password element.
9957 Set mpc-proc variable instead of returning process.
9958 (mpc-proc): Adjust accordingly.
9959
9960 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9961
9962 * whitespace.el (whitespace-display-mappings): Use Unicode
9963 codepoints, instead of emacs-mule codepoints. See
9964 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9965 for the details.
9966
9967 * files.el (file-truename): Don't skip symlink-chasing part on
9968 windows-nt. Incorporate the resolution of 8+3 short aliases on
9969 Windows into the loop that recursively chases symlinks.
9970 Compare directory and its parent case-insensitively on MS-Windows and
9971 MS-DOS.
9972
9973 2012-08-03 Chong Yidong <cyd@gnu.org>
9974
9975 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9976
9977 * sort.el (sort-regexp-fields): Doc fix.
9978
9979 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9980
9981 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9982 labels regex position point at the expected place.
9983
9984 2012-08-03 MON KEY <monkey@sandpframing.com>
9985
9986 * net/imap.el (imap-interactive-login, imap-authenticate)
9987 (imap-mailbox-lsub, imap-mailbox-list)
9988 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9989 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9990 (imap-parse-response): Doc fix.
9991
9992 2012-08-03 João Távora <joaotavora@gmail.com>
9993
9994 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9995 if sexp scanning does not move point (Bug#5734).
9996
9997 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9998
9999 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10000 Add listings, minted, and ctable packages.
10001 (reftex-label-alist-builtin): Move listings, minted, and ctable
10002 entries before LaTeX.
10003 (reftex-label-alist): Docfix.
10004
10005 2012-08-02 Bastien Guerry <bzg@gnu.org>
10006
10007 * replace.el (occur): Fix docstring (bug#12122).
10008
10009 2012-08-02 Glenn Morris <rgm@gnu.org>
10010
10011 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10012
10013 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10014
10015 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10016 * international/mule-cmds.el: Create
10017 inactivate-current-input-method-function as an obsolete alias for
10018 deactivate-current-input-method-function. See Katsumi Yamaoka in
10019 <http://bugs.gnu.org/10150#46>.
10020
10021 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10022
10023 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10024 of nested `if's.
10025
10026 2012-08-01 Glenn Morris <rgm@gnu.org>
10027
10028 * progmodes/autoconf.el (autoconf-definition-regexp):
10029 Add AH_TEMPLATE, adjust submatch numbering.
10030 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10031 (autoconf-current-defun-function): Update for above change.
10032 (autoconf-current-defun-function): First skip to end of current word.
10033
10034 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10035
10036 * calendar/cal-html.el (cal-html-insert-agenda-days):
10037 Fix typo. (Bug#12018)
10038
10039 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10040
10041 Shell processes: enhancements to startup and CEDET compatibility.
10042 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10043 (python-shell-make-comint): accept-process-output at startup.
10044 (run-python-internal): Set inferior-python-mode-hook to nil.
10045 (python-shell-internal-get-or-create-process): call sit-for.
10046 (python-preoutput-result): Add obsolete alias.
10047 (python-shell-internal-send-string): Use it.
10048 (python-shell-send-setup-code): Remove call to
10049 accept-process-output.
10050
10051 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10052
10053 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10054 (Bug#12108)
10055
10056 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10057
10058 * calc-mode.el (calc-basic-simplification-mode): Rename from
10059 `calc-limited-simplification-mode'.
10060 (calc-alg-simplification-mode): New function.
10061 (calc-set-simplify-mode): Adjust message.
10062
10063 * calc.el (calc-set-mode-line): Adjust mode line display for
10064 basic simplification mode.
10065
10066 * calc-help.el (calc-m-prefix-help): Update help message.
10067
10068 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10069 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10070
10071 2012-07-31 Bastien Guerry <bzg@gnu.org>
10072
10073 * man.el (man): Fix comment. (bug#12101)
10074
10075 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10076
10077 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10078 Don't return a non-nil value when no suitable buffer was found.
10079
10080 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10081
10082 * progmodes/python.el (run-python-internal): Disable font lock for
10083 internal shells.
10084
10085 2012-07-30 Stefan Merten <smerten@oekonux.de>
10086
10087 * textmodes/rst.el: Silence `checkdoc-ispell'.
10088 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10089 (rst-official-version, rst-official-cvs-rev)
10090 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10091 (rst-mode-map): New key binding.
10092
10093 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10094
10095 Update .PHONY listings in makefiles.
10096 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10097 autoloads, update-subdirs, updates, bzr-update, update-authors,
10098 compile-onefile, compile-calc, backup-compiled-files,
10099 compile-after-backup, compile-one-process, mh-autoloads,
10100 bootstrap-clean, distclean, maintainer-clean.
10101
10102 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10103
10104 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10105 (calc-set-mode-line): Don't display "AlgSimp ".
10106
10107 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10108 (calc-lim-simplify-mode): New function.
10109 (calc-set-simplify-mode): Default to 'alg.
10110 (calc-default-simplify-mode): Make algebraic simplifications
10111 the default.
10112
10113 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10114 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10115
10116 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10117 indicate new simplification modes.
10118
10119 * calc/README: Mention new default simplification mode.
10120
10121 * calc/calc.el (math-normalize-error): New variable.
10122 (math-normalize): Set `math-normalize-error' to t
10123 when there's an error.
10124
10125 * calc/calc-alg.el (math-simplify): Don't simplify when
10126 `math-normalize' returns an error.
10127
10128 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10129
10130 * international/mule-cmds.el (set-locale-environment): Revert last
10131 change, since display-graphic-p returns nil when this function is
10132 called during startup. Instead...
10133
10134 * term/w32console.el (terminal-init-w32console): ...setup the
10135 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10136
10137 2012-07-29 Juri Linkov <juri@jurta.org>
10138
10139 * simple.el (goto-line): Don't display default line number in the
10140 prompt because it should be displayed by `read-number' (bug#9952).
10141 Add the current line number to the defaults of `goto-line' to
10142 allow its easier modification by users with `M-n' (bug#9201).
10143
10144 * subr.el (read-number): Support multiple default values like in
10145 other minibuffer reading functions. Replace `read' with
10146 `string-to-number' for consistency with `number-to-string'.
10147
10148 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10149
10150 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10151 * emulation/viper-init.el (viper-deactivate-input-method-action):
10152 Rename from viper-inactivate-input-method-action.
10153 (viper-deactivate-input-method):
10154 Rename from viper-inactivate-input-method.
10155 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10156 * international/mule-cmds.el (deactivate-input-method):
10157 Rename from inactivate-input-method.
10158 Also run input-method-deactivate-hook.
10159 (deactivate-current-input-method-function):
10160 Rename from inactivate-current-input-method-function.
10161 (input-method-deactivate-hook): New hook.
10162 (input-method-inactivate-hook): Mark obsolete.
10163 (inactivate-input-method): Mark obsolete.
10164
10165 * international/quail.el (quail-activate):
10166 Also run quail-deactivate-hook.
10167 (quail-deactivate): Rename from quail-inactivate.
10168 * international/robin.el (robin-activate):
10169 Also run robin-deactivate-hook.
10170 (robin-deactivate): Rename from robin-inactivate.
10171
10172 2012-07-29 Chong Yidong <cyd@gnu.org>
10173
10174 * simple.el (indicate-copied-region): New function.
10175 (kill-ring-save): Split off from here.
10176
10177 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10178 (kill-rectangle): Set deactivate-mark to t on read-only error.
10179
10180 * register.el (copy-to-register, copy-rectangle-to-register):
10181 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10182 (append-to-register, prepend-to-register): Call indicate-copied-region.
10183
10184 2012-07-29 Juri Linkov <juri@jurta.org>
10185
10186 * simple.el (async-shell-command-buffer): New defcustom.
10187 (shell-command): Use it. (Bug#4719)
10188
10189 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10190
10191 * international/mule-cmds.el (set-locale-environment): In a
10192 console session on MS-Windows, set up keyboard and terminal
10193 encoding from the OEM codepage, not the ANSI codepage.
10194 (Bug#12055)
10195
10196 2012-07-28 Chong Yidong <cyd@gnu.org>
10197
10198 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10199 gdb-get-location.
10200
10201 2012-07-28 Leo Liu <sdl.web@gmail.com>
10202
10203 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10204 the alist (bug#12029).
10205
10206 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10207
10208 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10209 (compile-always, compile-first)
10210 ($(lisp)/calendar/cal-loaddefs.el)
10211 ($(lisp)/calendar/diary-loaddefs.el)
10212 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10213 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10214 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10215 instead of on update-subdirs.
10216 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10217
10218 2012-07-28 Chong Yidong <cyd@gnu.org>
10219
10220 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10221 directory if vc-deduce-backend returns nil (Bug#7350).
10222
10223 * simple.el (delete-trailing-lines): New option.
10224 (delete-trailing-whitespace): Obey it (Bug#11879).
10225
10226 2012-07-28 David Engster <deng@randomsample.de>
10227
10228 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10229 Explanation of new 'symbol-qnames feature in doc-strings.
10230 (xml-maybe-do-ns): Return expanded names as plain symbols if
10231 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10232 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10233
10234 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10235
10236 Consistent completion in inferior python with emacs -nw.
10237 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10238 binding in inferior-python-mode-map with "\t".
10239 (python-shell-completion-complete-at-point)
10240 (python-completion-complete-at-point): Remove interactive spec.
10241
10242 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10243
10244 * calc/calccomp.el (math-compose-expr): Undo previous change.
10245
10246 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10247
10248 * progmodes/python.el (python-mode-map): Add keybinding for
10249 run-python.
10250 (python-shell-make-comint): Fix pop-to-buffer call.
10251 (run-python): Autoload. New arg SHOW.
10252 (python-shell-get-or-create-process): Do not pop python process
10253 buffer.
10254
10255 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10256
10257 * notifications.el (notifications-on-action-signal)
10258 (notifications-on-closed-signal): Use also the bus address for the map.
10259 (notifications-notify, notifications-close-notification)
10260 (notifications-get-capabilities): Add optional argument BUS.
10261
10262 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10263
10264 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10265 Add support for the lstlisting and minted environments, and for the
10266 ctable macro.
10267 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10268 labels written in keyvals syntax.
10269
10270 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10271
10272 * calc/calccomp.el (math-compose-expr): Use parentheses when
10273 there is a product in the denominator of a fraction.
10274
10275 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10276
10277 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10278 ($(lisp)/calendar/diary-loaddefs.el)
10279 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10280 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10281 Fixes failures in parallel bootstrap because subdirs.el is being
10282 rewritten while the autoload files are built at the same time,
10283 which needs to load subdirs.el.
10284
10285 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10286
10287 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10288 (mouse-drag-line): Don't exit tracking when a switch-frame or
10289 switch-window event occurs (Bug#12006).
10290
10291 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10292
10293 * mouse.el (popup-menu): Fix last change.
10294
10295 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 Autoload from Lisp with more care. Follow aliases when looking for
10298 function properties.
10299 * subr.el (autoloadp): New function.
10300 (symbol-file): Use it.
10301 (function-get): New function.
10302 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10303 autoload-do-load.
10304 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10305 (lisp-indent-function):
10306 * emacs-lisp/gv.el (gv-get):
10307 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10308 * emacs-lisp/byte-opt.el (byte-optimize-form):
10309 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10310 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10311 Use function-get.
10312 * emacs-lisp/cl.el: Don't propagate function properties any more.
10313
10314 * speedbar.el (speedbar-add-localized-speedbar-support):
10315 * emacs-lisp/disass.el (disassemble-internal):
10316 * desktop.el (desktop-load-file):
10317 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10318 (describe-function-1):
10319 * emacs-lisp/find-func.el (find-function-noselect):
10320 * emacs-lisp/elp.el (elp-instrument-function):
10321 * emacs-lisp/advice.el (ad-has-proper-definition):
10322 * apropos.el (apropos-safe-documentation, apropos-macrop):
10323 * emacs-lisp/debug.el (debug-on-entry):
10324 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10325 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10326 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10327
10328 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10329
10330 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10331 function, not an obsolete variable (Bug#12046).
10332
10333 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10334
10335 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10336
10337 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10338
10339 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10340 window only if it is still live (Bug#12034).
10341
10342 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10343
10344 * subr.el (redirect-frame-focus): Add advertised calling
10345 convention (Bug#12030).
10346
10347 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10348
10349 Prefer typical American spelling for "acknowledgment".
10350 * vc/add-log.el (change-log-acknowledgment): Rename from
10351 change-log-acknowledgement, with an alias for the old name.
10352
10353 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10354
10355 * calc-alg.el (math-simplify-divide): Don't cross multiply
10356 in an equation when the lhs is a variable.
10357
10358 2012-07-24 Julien Danjou <julien@danjou.info>
10359
10360 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10361 Remove, unused.
10362
10363 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10364
10365 * startup.el (command-line): Don't display an empty user name in
10366 the error message about non-existent home directory, when
10367 init-file-user was set to an empty string. See
10368 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10369 for the details and context.
10370
10371 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10372
10373 * ses.el (ses-cell-formula-aset): New macro.
10374 (ses-cell-references-aset): New macro.
10375 (ses-cell-p): New function.
10376 (ses-rename-cell): Do no longer rely on complex operations like
10377 ses-cell-set-formula or ses-set-cell to change the cell and handle
10378 the undo at the same time, but rather use lower level new macros
10379 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10380 the undo directly. Refresh the mode line.
10381
10382 2012-07-21 Leo Liu <sdl.web@gmail.com>
10383
10384 * progmodes/cc-cmds.el (c-defun-name):
10385 Use match-string-no-properties instead for consistency.
10386
10387 2012-07-20 Leo Liu <sdl.web@gmail.com>
10388
10389 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10390 (Bug#7879)
10391
10392 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10393
10394 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10397 * progmodes/bug-reference.el, misearch.el: Provide themselves
10398 (bug#11915).
10399
10400 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10401 of narrowed buffer (bug#11966).
10402
10403 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10404
10405 * ses.el (ses-rename-cell): Set new name also in reference list of
10406 cells of which the renamed cell depends.
10407
10408 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10409
10410 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10411 to check whether menu-bar is shown or not. If not shown,
10412 show the menu-bar as a popup menu instead of using tmm.
10413 * mouse.el (popup-menu): Accept `point' as `position' argument.
10414
10415 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10416
10417 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10418 up inside string symbol literal (bug#11923).
10419
10420 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10421
10422 * startup.el (fancy-startup-text): Read the whole tutorial, not
10423 just its first 256 bytes. Prevents gibberish in display of the
10424 tutorial title.
10425
10426 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10427
10428 Drop idle buffer compaction due to an absence of the
10429 proved efficiency.
10430 * compact.el: Remove.
10431
10432 2012-07-19 Sam Steingold <sds@gnu.org>
10433
10434 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10435 vc-bzr-pull & vc-bzr-merge-branch.
10436 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10437 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10438 for consistency with compilation-error-regexp-alist.
10439 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10440 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10441 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10442 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10443
10444 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10445
10446 * emacs-lisp/chart.el: Use lexical-binding.
10447 (chart-emacs-storage): Don't hardcode the list of entries.
10448
10449 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10450
10451 Next round of tweaks caused by Fgarbage_collect changes.
10452 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10453
10454 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10455
10456 Compact buffers when idle.
10457 * compact.el: New file.
10458
10459 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * subr.el (eventp): Presume that if it looks vaguely like an event,
10462 it's an event (bug#10190).
10463
10464 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10465
10466 Enhancements to ppss related code (thanks Stefan).
10467 * progmodes/python.el (python-indent-context)
10468 (python-indent-calculate-indentation, python-indent-dedent-line)
10469 (python-indent-electric-colon, python-nav-forward-block)
10470 (python-mode-abbrev-table)
10471 (python-info-assignment-continuation-line-p): Simplify checks
10472 for ppss context.
10473 (python-info-continuation-line-p): Cleanup.
10474 (python-info-ppss-context): Do not catch 'quote.
10475 (python-info-ppss-context-type)
10476 (python-info-ppss-comment-or-string-p): Simplify.
10477
10478 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10479
10480 * progmodes/python.el: Enhancements to eldoc support.
10481 (python-info-current-symbol): New function.
10482 (python-eldoc-at-point): Use python-info-current-symbol.
10483 (python-info-current-defun): Fix cornercase on first defun scan.
10484 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10485 and signal error when no inferior python process is available.
10486
10487 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10488
10489 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10490 assume it's always t.
10491 (vc-git-registered): Remove caching, the function is only called
10492 once.
10493 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10494
10495 2012-07-18 Chong Yidong <cyd@gnu.org>
10496
10497 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10498
10499 * simple.el (count-words): Report on narrowing (Bug#9959).
10500
10501 * bindings.el: Bind M-= to count-words.
10502
10503 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10504
10505 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10506
10507 * progmodes/sh-script.el (sh-imenu-generic-expression):
10508 Capture a function with `function' keyword and without parentheses
10509 like "function FOO" (bug#11856).
10510
10511 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10512
10513 * window.el (split-window-sensibly): Make WINDOW argument
10514 optional.
10515
10516 2012-07-18 Chong Yidong <cyd@gnu.org>
10517
10518 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10519
10520 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10521 and make C-x 8 RET exit isearch (Bug#11439).
10522
10523 * international/iso-transl.el: Move isearch-mode-map key
10524 definitions to isearch.el.
10525
10526 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10529 (eieio-defclass): Use gv-define-setter when possible.
10530
10531 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10532
10533 Reflect recent changes in Fgarbage_collect.
10534 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10535 reflect new format of data returned by Fgarbage_collect.
10536
10537 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10538
10539 New utility functions + python-info-ppss-context fix (Bug#11910).
10540 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10541 (python-info-ppss-comment-or-string-p): New functions.
10542 (python-info-ppss-context): Small fix for string check.
10543
10544 2012-07-17 Juri Linkov <juri@jurta.org>
10545
10546 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10547 (dired-do-async-shell-command): Don't add `*' at the end of the
10548 command (Bug#11815).
10549 (dired-do-shell-command): Doc fix.
10550 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10551 Join the individual commands using either "&" or ";" as the
10552 separator depending on the values of these trailing characters.
10553 At the end re-add the trailing "&". (Bug#10598)
10554
10555 * simple.el (async-shell-command): Sync the interactive spec with
10556 `shell-command'. Doc fix.
10557 (shell-command): Doc fix.
10558
10559 2012-07-17 Juri Linkov <juri@jurta.org>
10560
10561 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10562
10563 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10564
10565 Final renames and doc fixes for movement commands (bug#11899).
10566 * progmodes/python.el (python-nav-beginning-of-statement):
10567 Rename from python-nav-statement-start.
10568 (python-nav-end-of-statement): Rename from
10569 python-nav-statement-end.
10570 (python-nav-beginning-of-block): Rename from
10571 python-nav-block-start.
10572 (python-nav-end-of-block): Rename from python-nav-block-end.
10573
10574 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10575
10576 * progmodes/python.el (python-shell-send-string-no-output):
10577 Allow accept-process-output to quit, keeping shell process ready for
10578 future interactions (Bug#11868).
10579
10580 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10583
10584 * emacs-lisp/elint.el (elint-find-args-in-code):
10585 Use help-function-arglist, so as to handle lexical byte-code.
10586
10587 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10588 change (bug#11826).
10589
10590 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10593 Avoid spuriously marking the buffer as modified because of c-is-sws.
10594
10595 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10596 as not-a-comment (bug#11946).
10597
10598 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10599 for uninterned vars.
10600
10601 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10602 Use read-event since we don't really want to read chars but bytes.
10603
10604 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10605 $$..$$ but also $..$ using regexps (bug#11953).
10606 Use tex-verbatim for \url and \path.
10607 (tex-font-lock-keywords): Define as defconst like the others.
10608 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10609
10610 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10611
10612 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10613 alias for insert-char.
10614
10615 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10616
10617 * progmodes/python.el: Simplified imenu implementation.
10618 (python-nav-jump-to-defun): Remove command.
10619 (python-mode-map): Use `imenu' instead.
10620 (python-nav-list-defun-positions-cache)
10621 (python-imenu-include-defun-type, python-imenu-make-tree)
10622 (python-imenu-subtree-root-label, python-imenu-index-alist):
10623 Remove vars.
10624 (python-nav-list-defun-positions, python-nav-read-defun)
10625 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10626 (python-imenu-make-tree, python-imenu-create-index):
10627 Remove functions.
10628 (python-mode): Update to interact with imenu by setting
10629 `imenu-extract-index-name-function' only.
10630
10631 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10632
10633 * progmodes/python.el: Enhancements to navigation commands.
10634 (python-nav-backward-sentence)
10635 (python-nav-forward-sentence): Remove.
10636 (python-nav-backward-statement, python-nav-forward-statement)
10637 (python-nav-statement-start, python-nav-statement-end)
10638 (python-nav-backward-block, python-nav-forward-block)
10639 (python-nav-block-start, python-nav-block-end)
10640 (python-nav-forward-sexp-function)
10641 (python-info-current-line-comment-p)
10642 (python-info-current-line-empty-p): New functions.
10643 (python-indent-context): Use `python-nav-statement-start'.
10644
10645 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10646
10647 * eshell/em-ls.el (eshell/ls): Use `apply'.
10648
10649 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10650 multi-hops, instead of Tramp internals.
10651
10652 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10653
10654 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10655 when F1 and F2 are located on different hosts.
10656
10657 2012-07-14 Chong Yidong <cyd@gnu.org>
10658
10659 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10660 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10661 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10662 (xterm-mouse--read-event-sequence-1000)
10663 (xterm-mouse--read-event-sequence-1006): New functions. For old
10664 mouse protocol, handle M-mouse-X events correctly.
10665 (xterm-mouse-event): New arg specifying mouse protocol.
10666 (turn-on-xterm-mouse-tracking-on-terminal)
10667 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10668 sequence to toggle extended coordinates on newer XTerms.
10669 This appears to be harmless on terminals which do not support this.
10670
10671 2012-07-14 Leo Liu <sdl.web@gmail.com>
10672
10673 Add fringe bitmap indicators for flymake. (Bug#11253)
10674 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10675 (flymake-make-overlay): New arg BITMAP.
10676 (flymake-error-bitmap, flymake-warning-bitmap)
10677 (flymake-fringe-indicator-position): New user variables.
10678
10679 * fringe.el: New bitmap exclamation-mark.
10680
10681 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10682
10683 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10684 also (Bug#7879).
10685
10686 2012-07-14 Chong Yidong <cyd@gnu.org>
10687
10688 * electric.el (electric-pair-post-self-insert-function): Fix pair
10689 insertion in empty-region case (Bug#11520).
10690
10691 2012-07-14 Chong Yidong <cyd@gnu.org>
10692
10693 * bindings.el: Consolidate ctl-x-r-map bindings.
10694 Bind copy-rectangle-as-kill to C-x r w.
10695
10696 * rect.el, register.el: Move bindings to bindings.el.
10697
10698 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10699
10700 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10701
10702 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10703
10704 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10705
10706 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10707
10708 * bindings.el (top): Use `mapc' instead of `mapcar'.
10709
10710 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10711
10712 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10713
10714 * progmodes/sql.el (sql-comint): Suppress the check for program on
10715 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10716 (Bug#11908)
10717
10718 2012-07-13 Chong Yidong <cyd@gnu.org>
10719
10720 * bindings.el: Assign a non-nil permanent-local property to
10721 per-buffer variables which lack a default value (Bug#11930).
10722
10723 * help-fns.el (describe-variable): In the "automatically becomes
10724 local" notice, take note of permanent-local variables.
10725
10726 2012-07-13 Chong Yidong <cyd@gnu.org>
10727
10728 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10729 to allow printing the message when called from Lisp.
10730
10731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10732 Remove toggle-read-only.
10733
10734 * bs.el (bs-toggle-readonly):
10735 * buff-menu.el (Buffer-menu-toggle-read-only):
10736 Remove with-no-warnings around toggle-read-only.
10737
10738 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10739 Remove with-no-warnings around toggle-read-only.
10740 (ffap-read-only, ffap-read-only-other-window)
10741 (ffap-read-only-other-frame): Callers changed.
10742
10743 * help-mode.el: Don't require view package.
10744 (help-mode-finish): Set buffer-read-only instead of calling
10745 toggle-read-only.
10746
10747 * bindings.el (mode-line-toggle-read-only):
10748 * dired.el (dired-toggle-read-only):
10749 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10750 with non-nil second arg.
10751
10752 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10753 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10754 directly.
10755
10756 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10757
10758 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10759 not incf.
10760
10761 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 More CL cleanups and reduction of use of cl.el.
10764 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10765 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10766 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10767 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10768 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10769 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10770 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10771 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10772 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10773 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10774 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10775 * eshell/em-cmpl.el, eshell/em-banner.el:
10776 * calendar/parse-time.el: Use cl-lib.
10777 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10778 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10779 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10780 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10781 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10782 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10783 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10784 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10785 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10786 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10787 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10788 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10789 `lambda' rather than with `quote'.
10790 (eshell-do-opt): Adjust accordingly.
10791 (eshell-process-option): Simplify.
10792 * eshell/esh-var.el:
10793 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10794 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10795 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10796 to `pcase--dontcare'.
10797 * emacs-lisp/cl.el (labels): Mark obsolete.
10798 (cl--letf, letf): Move to cl-lib.
10799 (cl--letf*, letf*): Remove.
10800 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10801 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10802 (cl-progv): Rewrite.
10803 (cl--letf, cl-letf): Move from cl.el.
10804 (cl-letf*): New macro.
10805 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10806
10807 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10808
10809 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10810
10811 2012-07-11 Chong Yidong <cyd@gnu.org>
10812
10813 * vc/log-edit.el (log-edit-vc-backend): New variable.
10814 (log-edit): Doc fix.
10815
10816 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10817 argument of log-edit to set up all local variables.
10818 (vc-start-logentry): New optional arg specifying VC backend.
10819
10820 * vc/vc.el (vc-checkin): Use it.
10821 (vc-deduce-fileset): Handle Log Edit buffers.
10822 (vc-diff): Make first argument optional too.
10823
10824 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10825
10826 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10827
10828 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10829 command, just in case. The function is not needed anymore.
10830 (eshell-external-command): Do not call `eshell-remote-command'.
10831
10832 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10833
10834 Reduce use of (require 'cl).
10835 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10836 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10837 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10838 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10839 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10840 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10841 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10842 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10843 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10844 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10845 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10846 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10847 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10848 (byte-compile-unfold-bcf, byte-compile-check-variable):
10849 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10850 (byte-compile-nilconstp):
10851 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10852 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10853
10854 * emacs-lisp/gv.el (cond): Make it a valid place.
10855 (if): Simplify slightly.
10856
10857 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10858 (pcase--self-quoting-p): New function.
10859 (pcase--u1): Use it.
10860
10861 2012-07-10 Glenn Morris <rgm@gnu.org>
10862
10863 * emacs-lisp/authors.el (authors-fixed-entries):
10864 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10865
10866 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10867
10868 Rename configure.in to configure.ac (Bug#11603).
10869 * emacs-lisp/authors.el (authors-canonical-file-name):
10870 * progmodes/autoconf.el (autoconf-mode):
10871 Prefer configure.ac to configure.in.
10872
10873 2012-07-08 Chong Yidong <cyd@gnu.org>
10874
10875 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10876 Implement the mouse-1-click-follows-link handling properly.
10877
10878 * info.el (Info-link-keymap): Use follow-link mechanism for
10879 header-line links (Bug#374).
10880
10881 * simple.el (deactivate-mark): Do not set the primary selection
10882 if another program has acquired it (Bug#11772).
10883
10884 2012-07-07 Kevin Ryde <user42@zip.com.au>
10885
10886 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10887 (woman-decode-region): Replace escaped-escapes without destroying
10888 bold or underline (Bug#11552).
10889 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10890
10891 2012-07-07 Chong Yidong <cyd@gnu.org>
10892
10893 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10894 (interprogram-cut-function, interprogram-paste-function):
10895 Mention that we typically mean the clipboard.
10896
10897 2012-07-06 Glenn Morris <rgm@gnu.org>
10898
10899 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10900
10901 * files.el (toggle-read-only): Restrict message to interactive use.
10902
10903 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10906
10907 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10908
10909 2012-07-06 Glenn Morris <rgm@gnu.org>
10910
10911 * Makefile.in (compile-one-process): Rename from "recompile".
10912
10913 * Makefile.in (bzr-update): "compile" is the same as "recompile
10914 autoloads", but parallelizable, so use that instead.
10915
10916 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10917
10918 * window.el (quit-window): Always restore window height when
10919 it's saved in quit-restore parameter (Bug#11810).
10920
10921 2012-07-06 Glenn Morris <rgm@gnu.org>
10922
10923 * simple.el (kill-whole-line): Doc tweak.
10924
10925 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10926
10927 * files.el (file-relative-name): Compare file names
10928 case-insensitively if on MS-Windows or MS-DOS, or if
10929 read-file-name-completion-ignore-case is non-nil. Don't use
10930 case-fold-search for this purpose. (Bug#11827)
10931
10932 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10933
10934 * calendar/cal-dst.el (calendar-current-time-zone):
10935 Return calendar-current-time-zone-cache if non-nil.
10936
10937 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10938 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10939
10940 * calendar/cal-dst.el (calendar-current-time-zone):
10941 Return calendar-current-time-zone-cache if non-nil.
10942
10943 2012-07-06 Glenn Morris <rgm@gnu.org>
10944
10945 * Makefile.in (cvs-update): Remove old alias.
10946
10947 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10948
10949 Sync with Tramp 2.2.6-pre.
10950
10951 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10952 compatible declaration.
10953
10954 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10955 Protect `list-load-path-shadows' call.
10956
10957 * net/tramp-compat.el (top): Require packages, which aren't
10958 autoloaded anymore for XEmacs. Protect call of
10959 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10960 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10961 it hurts at least for SXEmacs.
10962 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10963 standard-value for `temporary-file-directory'.
10964
10965 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10966 Redirect stderr to /dev/null.
10967 (tramp-sh-handle-write-region): uid and gid can be floats.
10968 Reported by Russell Sim <russell.sim@gmail.com>.
10969 (tramp-sh-handle-vc-registered): Hide errors.
10970 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10971 and `start-file-process'.
10972 (tramp-maybe-open-connection): Check also whether `non-essential'
10973 is bound.
10974
10975 2012-07-04 Chong Yidong <cyd@gnu.org>
10976
10977 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10978 (xml-parse-tag): Likewise, and avoid changing entity tables.
10979 (xml-syntax-table): Define from scratch, making sure not to give
10980 x2000 and other Unicode spaces whitespace syntax, since those are
10981 not spaces in XML.
10982 (xml-parse-fragment): Delete unused function.
10983 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10984 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10985 (xml-entity-ref, xml-pe-reference-re)
10986 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10987 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10988 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10989 (xml-entity-value-re): Use syntax references in regexps where
10990 possible; no need to define inside a let-binding.
10991 (xml-parse-dtd): Use xml-pe-reference-re.
10992 (xml-entity-or-char-ref-re): New defconst.
10993 (xml-parse-string, xml-substitute-special): Use it.
10994
10995 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10998 (find-file--read-only): New function.
10999 (find-file-read-only, find-file-read-only-other-window)
11000 (find-file-read-only-other-frame): Use it.
11001 (insert-file-contents-literally): Don't `fset'.
11002 (get-free-disk-space): Use locate-dominating-file.
11003
11004 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11005 function is already compiled.
11006
11007 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11008
11009 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11010
11011 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11012 files on the same host.
11013
11014 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11015
11016 * help-fns.el (describe-function-1): Only call
11017 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11018
11019 2012-07-03 Chong Yidong <cyd@gnu.org>
11020
11021 * xml.el: Protect parser against XML bombs.
11022 (xml-entity-expansion-limit): New variable.
11023 (xml-parse-string, xml-substitute-special): Use it.
11024 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11025
11026 2012-07-03 Glenn Morris <rgm@gnu.org>
11027
11028 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11029 Allow linking to specific messages in debbugs reports (eg 123#5).
11030
11031 2012-07-02 Chong Yidong <cyd@gnu.org>
11032
11033 * xml.el: Fix entity and character reference expansion, allowing
11034 them to expand into markup as per XML spec.
11035 (xml-default-ns): New variable.
11036 (xml-entity-alist): Use XML spec definitions for lt and amp.
11037 (xml-parse-region): Make first two arguments optional.
11038 Discard text properties.
11039 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11040 All callers changed.
11041 (xml-parse-tag): Call xml-parse-tag-1. For backward
11042 compatibility, this function should not modify buffer contents.
11043 (xml-parse-tag-1): Fix opening-tag regexp.
11044 (xml-parse-string): Rewrite, handling entity and character
11045 references properly.
11046 (xml--entity-replacement-text): Signal an error if a parameter
11047 entity is undefined.
11048
11049 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * comint.el (comint-output-filter): Filter out repeated prompts.
11052
11053 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11054 and file-name-absolute-p.
11055 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11056 internal calls.
11057
11058 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11059
11060 Spelling fixes.
11061 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11062 Rename from byte-compile--refiy-function. All uses changed.
11063
11064 2012-07-01 Chong Yidong <cyd@gnu.org>
11065
11066 * xml.el (xml--parse-buffer): New function. Move most of
11067 xml-parse-region here.
11068 (xml-parse-region): Copy region into a temporary buffer, since
11069 parameter entity substitution requires changing buffer contents.
11070 Use xml--parse-buffer.
11071 (xml-parse-file): Use xml--parse-buffer.
11072 (xml-parse-dtd): Make parameter entity substitution work right.
11073 Use proper regexps for ELEMENT declarations (Bug#7172).
11074
11075 2012-06-30 Glenn Morris <rgm@gnu.org>
11076
11077 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11078
11079 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11080 Remove outdated and unnecessary dbus declarations.
11081
11082 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11083
11084 * emacs-lisp/timer.el (timer-until): Subtract results of
11085 float-time, instead of taking float-time of the result of
11086 time-subtract, since float-time signals an error for negative time
11087 arguments.
11088
11089 2012-06-30 Chong Yidong <cyd@gnu.org>
11090
11091 * xml.el (xml-*-re): Convert defvars into defconsts, and
11092 eval-and-compile them so eval-and-compile works on derivatives.
11093 (xml--entity-replacement-text): Use eval-and-comple.
11094
11095 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11096
11097 * vc/vc-git.el (vc-git-registered): Use cache property
11098 `git-registered'.
11099 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11100 `vc-git-working-revision' in order to benefit from the cache.
11101 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11102
11103 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11104
11105 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11106 removed (likely outside Emacs). (Bug#11757)
11107
11108 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11109
11110 * emacs-lisp/cl-lib.el: Require macroexp.
11111
11112 2012-06-30 Chong Yidong <cyd@gnu.org>
11113
11114 * xml.el: Implement XML parameter entities.
11115 (xml-parameter-entity-alist): New variable.
11116 (xml-parse-region, xml-parse-fragment): Preserve previous values
11117 of xml-entity-alist and xml-parameter-entity-alist, so that
11118 repeated calls on different documents do not change them.
11119 (xml-parse-tag): Fix doctype regexp.
11120 (xml--entity-replacement-text): New function.
11121 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11122 properly requires url retrieval which is unimplemented.
11123 (xml-escape-string): Doc fix.
11124
11125 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11128
11129 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11130
11131 * fringe.el (fringe-mode): Doc fix.
11132
11133 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11134
11135 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11136 is non-nil.
11137 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11138 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11139
11140 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11141
11142 * calendar/cal-dst.el (calendar-current-time-zone):
11143 Return calendar-current-time-zone-cache if non-nil.
11144
11145 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11146
11147 * progmodes/which-func.el (which-func-format):
11148 Add mouse-face. (Bug#11698)
11149
11150 2012-06-29 Leo Liu <sdl.web@gmail.com>
11151
11152 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11153
11154 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * minibuffer.el (minibuffer-confirm-exit-commands):
11157 Add completion-at-point (bug#11725).
11158
11159 2012-06-29 Glenn Morris <rgm@gnu.org>
11160
11161 * progmodes/f90.el (f90-font-lock-keywords-2):
11162 Add some preprocessor elements. (Bug#10499)
11163
11164 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11165
11166 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11167 Use syntax-propertize (bug#11739).
11168
11169 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11172
11173 2012-06-28 Julien Danjou <julien@danjou.info>
11174
11175 * term.el (term-handle-colors-array): Use a set of new faces to
11176 color the terminal. Also uses :inverse-video property.
11177 (term-default-fg-color): Set to nil by default, deprecate in favor
11178 of `term-face'.
11179 (term-default-bg-color): Set to nil by default, deprecate in favor
11180 of `term-face'.
11181 (term-current-face): Use `term-face' by default.
11182 (term-bold-attribute): Variable deleted.
11183
11184 2012-06-28 Glenn Morris <rgm@gnu.org>
11185
11186 * simple.el (completion-list-mode-finish):
11187 Don't use toggle-read-only. (Since completion-list-mode has
11188 a special mode-class, it wasn't doing anything extra anyway.)
11189
11190 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 Make inlining of other-mode interpreted functions work (bug#11799).
11193 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11194 (byte-compile): Use it to fix compilation of lexical-binding closures.
11195 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11196 function, if needed.
11197
11198 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * help-mode.el (help-make-xrefs): Don't just withstand
11201 cyclic-variable-indirection but any error in documentation-property.
11202
11203 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11204 memory use.
11205 * bindings.el (bindings--define-key): New function.
11206 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11207 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11208 * bindings.el: Use it to purecopy define-key bindings.
11209
11210 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11211
11212 * emacs-lisp/cl.el (flet): Mark obsolete.
11213 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11214 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11215 * progmodes/js.el (js-c-fill-paragraph):
11216 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11217 (ebrowse-switch-member-buffer-to-derived-class):
11218 * play/5x5.el (5x5-solver): Use cl-flet.
11219
11220 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11221 (cl--symbol-function): New macro.
11222 (cl--letf, cl--letf*): Use it.
11223
11224 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11225 Strip "toggle-" if any.
11226
11227 2012-06-27 Glenn Morris <rgm@gnu.org>
11228
11229 * info.el (Info-default-directory-list): Move here from paths.el.
11230 * paths.el: Remove file, which is now empty.
11231 * loadup.el: No longer load "paths".
11232
11233 * custom.el (custom-initialize-delay): Doc fix.
11234
11235 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11236 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11237 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11238 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11239 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11240 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11241 * eshell/eshell.el (eshell-defgroup): Remove alias.
11242
11243 2012-06-27 Chong Yidong <cyd@gnu.org>
11244
11245 * help.el (help-enable-auto-load): New variable.
11246
11247 * help-fns.el (help-fns--autoloaded-p): New function.
11248 (describe-function-1): Refer to a function as "autoloaded" if it
11249 was autoloaded at any time in the past. Perform autoloading if
11250 help-enable-auto-load is non-nil.
11251
11252 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11253
11254 * makefile.w32-in (compile, compile-always): Depend on
11255 update-subdirs, not on subdirs.el. Otherwise, several different
11256 sub-targets of 'bootstrap' running in parallel could
11257 simultaneously write to subdirs.el, producing a garbled file.
11258
11259 2012-06-26 Sam Steingold <sds@gnu.org>
11260
11261 * files.el (file-name-base): New convenience function.
11262 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11263 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11264 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11265 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11266 * textmodes/ispell.el, textmodes/reftex-ref.el:
11267 * textmodes/tex-mode.el: Use it.
11268 Did not touch cedet and org because they are maintained elsewhere.
11269
11270 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11271
11272 * calendar/calendar.el (calendar-exit): Don't try to delete or
11273 iconify last frame. See:
11274 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11275
11276 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11277
11278 * server.el (server-process-filter): Remember dir in the
11279 process's `server-client-directory' properties.
11280
11281 2012-06-24 Chong Yidong <cyd@gnu.org>
11282
11283 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11284 non-tag text.
11285
11286 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11287
11288 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11289
11290 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * help-fns.el (describe-variable): Don't croak when doc is not found.
11293 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11294 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11295 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11296 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11297 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11298 ((lambda ..) ..).
11299 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11300
11301 2012-06-23 Chong Yidong <cyd@gnu.org>
11302
11303 * info.el (Info-mouse-follow-link): Accept symbol values of
11304 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11305 (Info-fontify-node): Use Info-link-keymap for all navigation
11306 buttons, with link-args property to perform the desired action.
11307 (Info-link-keymap): Doc fix.
11308 (Info-next-link-keymap, Info-prev-link-keymap)
11309 (Info-up-link-keymap): Delete now-unused keymaps.
11310
11311 2012-06-23 Chong Yidong <cyd@gnu.org>
11312
11313 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11314
11315 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11316 system abbrevs.
11317
11318 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11319
11320 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11323 (bug#11719).
11324
11325 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11326 the requote function doesn't work properly (bug#11714).
11327
11328 2012-06-23 Glenn Morris <rgm@gnu.org>
11329
11330 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11331
11332 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 Further GV/CL cleanups.
11335 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11336 gv-expander.
11337 (gv--defun-declaration): New function.
11338 (defun-declarations-alist): Use it.
11339 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11340 (gv-place): Autoload.
11341 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11342 original definition of dotimes and dolist.
11343 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11344 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11345 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11346 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11347 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11348 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11349 to the function's definition.
11350 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11351 * window.el:
11352 * files.el:
11353 * faces.el:
11354 * env.el: Don't use CL.
11355
11356 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11357
11358 Support higher-resolution time stamps (Bug#9000).
11359
11360 * calendar/time-date.el (with-decoded-time-value): New arg
11361 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11362 (encode-time-value): New optional arg PICO. New type 3.
11363 (time-to-seconds) [!float-time]: Support the new picoseconds
11364 component if it's used.
11365 (seconds-to-time, time-subtract, time-add):
11366 Support ps-resolution time stamps as well.
11367
11368 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11369 (timerp): Timer vectors now have length 9, not 8.
11370 (timer--time): Support new-style (4-part) time stamps.
11371 (timer-next-integral-multiple-of-time): Time stamps now have
11372 picosecond resolution, so take a bit more care about rounding.
11373 (timer-relative-time, timer-inc-time): New optional arg psecs.
11374 (timer-set-time-with-usecs): Set psecs to 0.
11375 (timer--activate): Check psecs component, too.
11376
11377 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11378
11379 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11382 Move the non-essential binding to the post/pre-command-hook where it is
11383 more obviously correct.
11384
11385 * subr.el (read-passwd): Don't use a history at all.
11386 * savehist.el (savehist-save): Remove password saved accidentally
11387 because of the above bug.
11388
11389 2012-06-22 Bastien Guerry <bzg@gnu.org>
11390
11391 * files.el (toggle-read-only): Display a message telling whether
11392 the buffer is read-only or not (bug#11726).
11393
11394 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * emacs-lisp/gv.el: New file.
11397 * subr.el (push, pop): Extend to generalized variables.
11398 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11399 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11400 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11401 gv-define-simple-setter, and gv-define-expander.
11402 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11403 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11404 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11405 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11406 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11407 gv-letplace.
11408 (cl-defstruct): Don't define setf-method any more.
11409 * emacs-lisp/cl.el (flet): Don't autoload.
11410 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11411 (define-setf-expander, defsetf, define-modify-macro)
11412 (cl-struct-setf-expander): Move from cl-lib.el.
11413 * emacs-lisp/syntax.el:
11414 * emacs-lisp/ewoc.el:
11415 * emacs-lisp/smie.el:
11416 * emacs-lisp/cconv.el:
11417 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11418 (timer--time): Use gv-define-simple-setter.
11419 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11420 to avoid coding-system problems in subr.el. Adjust all users.
11421 (macroexp--maxsize, macroexp-small-p): New functions.
11422 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11423 * scroll-bar.el (scroll-bar-mode):
11424 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11425 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11426 * winner.el (winner-configuration, winner-make-point-alist)
11427 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11428 * files.el (locate-file-completion-table): Avoid list*.
11429
11430 2012-06-22 Chong Yidong <cyd@gnu.org>
11431
11432 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11433 (dired-create-files): Doc fix (Bug#11329).
11434 (dired-do-copy): Doc fix (Bug#11334).
11435 (dired-mark-read-string): Doc fix (Bug#11553).
11436
11437 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11438 Doc fix (Bug#11326).
11439 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11440 (dired-dwim-target): Doc fix.
11441
11442 * wdired.el (wdired-mode): Doc fix.
11443
11444 2012-06-22 Glenn Morris <rgm@gnu.org>
11445
11446 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11447 (pcmpl-rpm-cache-stamp-file): New constant.
11448 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11449 (pcmpl-rpm-packages): Optionally cache list of packages.
11450
11451 * pcmpl-rpm.el (pcmpl-rpm): New group.
11452 (pcmpl-rpm-query-options): New option.
11453 (pcmpl-rpm-packages): No need to inline it.
11454 Use pcmpl-rpm-query-options.
11455
11456 * calendar/calendar.el (calendar-in-read-only-buffer):
11457 Avoid some needless mode changes.
11458
11459 2012-06-21 Chong Yidong <cyd@gnu.org>
11460
11461 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11462 (desktop-path): Remove . from the default value (Bug#10977).
11463 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11464
11465 2012-06-20 Chong Yidong <cyd@gnu.org>
11466
11467 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11468
11469 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11470
11471 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11472 (bug#11201).
11473
11474 2012-06-20 Chong Yidong <cyd@gnu.org>
11475
11476 * term.el (term-window-width): Handle the case of a missing right
11477 fringe (Bug#8837).
11478 (term-check-size): Use window-text-height (Bug#5445).
11479 (term-mode): Use define-derived-mode. Minor cleanups.
11480 Set font-lock-defaults (Bug#7692).
11481 (term-move-columns, term-insert-char, term-emulate-terminal)
11482 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11483
11484 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11485
11486 * net/ange-ftp.el (ange-ftp-get-passwd):
11487 Bind `enable-recursive-minibuffers'.
11488 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11489
11490 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11491
11492 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11493
11494 2012-06-19 Glenn Morris <rgm@gnu.org>
11495
11496 * progmodes/python.el (python-mode): Derive from prog-mode.
11497
11498 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11499
11500 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11501 (edt-user-menu-bar-update-buffers): New functions.
11502 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11503
11504 2012-06-19 Chong Yidong <cyd@gnu.org>
11505
11506 * subr.el (with-selected-window): Preserve the selected window's
11507 terminal's top-frame (Bug#4702).
11508
11509 * window.el (save-selected-window): Likewise.
11510
11511 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * progmodes/python.el (python-rx-constituents): Move backquote.
11514 (python-skeleton-define, python-define-auxiliary-skeleton):
11515 Use `declare'.
11516
11517 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11518
11519 * minibuffer.el (read-file-name-default): Revert the patch from
11520 2012-06-17.
11521
11522 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11525 (pcase--u1, pcase--q1): Don't use apply-partially.
11526
11527 2012-06-18 Glenn Morris <rgm@gnu.org>
11528
11529 * progmodes/python.el (python-proc, python-buffer)
11530 (python-send-receive, python-send-string): Fix obsolete versions.
11531
11532 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11533
11534 * window.el (special-display-p): Completely remove stringp
11535 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11536
11537 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11538
11539 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11540
11541 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11542
11543 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11544 * net/tramp-sh.el (tramp-maybe-open-connection):
11545 Throw if `non-essential' is non-nil.
11546
11547 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11548
11549 * window.el (special-display-p): Signal an error if BUFFER-NAME
11550 is not a string (Bug#11713).
11551
11552 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11553
11554 * progmodes/python.el (python-info-beginning-of-backslash):
11555 Rename from python-info-beginning-of-backlash, as a spelling fix.
11556
11557 2012-06-17 Chong Yidong <cyd@gnu.org>
11558
11559 * term.el (term-emulate-terminal): If term-check-size is called,
11560 move point to the process mark without resetting point (Bug#4635).
11561
11562 2012-06-17 Glenn Morris <rgm@gnu.org>
11563
11564 * international/mule-cmds.el (mule-menu-keymap)
11565 (set-language-environment, set-locale-environment): Doc tweaks.
11566
11567 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11568
11569 * cus-face.el (custom-face-attributes): Add wave-style underline
11570 attribute.
11571 * faces.el (set-face-attribute): Update docstring to describe
11572 wave-style underline attribute.
11573
11574 2012-06-16 Chong Yidong <cyd@gnu.org>
11575
11576 * term/xterm.el (terminal-init-xterm): Discard input before
11577 querying background mode (Bug#10959).
11578
11579 2012-06-16 Stefan Merten <smerten@oekonux.de>
11580
11581 * textmodes/rst.el: Added and corrected some comments.
11582 (rst-re-alist-def): Improve symbol syntax.
11583 (rst-mode-syntax-table): Correct syntax entries.
11584 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11585 (rst-official-version, rst-official-cvs-rev): Update version
11586 information.
11587
11588 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11589
11590 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11591 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11592
11593 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11594
11595 * progmodes/python.el: New python.el merge.
11596 (python-guess-indent): Obsolete var.
11597 (python-indent-guess-indent-offset): New defcustom.
11598 (python-indent): Obsolete var.
11599 (python-indent-offset): New defcustom.
11600 (python-python-command, python-jython-command): Delete var.
11601 (python-shell-interpreter): New defcustom.
11602 (python-pdbtrack-do-tracking-p): Delete var.
11603 (python-pdbtrack-activate): New defcustom.
11604 (python-use-skeletons): Obsolete var.
11605 (python-skeleton-autoinsert): New defcustom.
11606 (inferior-python-filter-regexp, python-continuation-offset)
11607 (python-honour-comment-indentation, python-indent-string-contents)
11608 (python-jython-packages, python-mode-hook)
11609 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11610 (python-shell-prompt-alist)
11611 (python-source-modes): Delete defcustoms.
11612 (python-check-buffer-name, python-eldoc-setup-code)
11613 (python-eldoc-string-code, python-ffap-setup-code)
11614 (python-ffap-string-code, python-fill-comment-function)
11615 (python-fill-decorator-function, python-fill-paren-function)
11616 (python-fill-string-function, python-imenu-include-defun-type)
11617 (python-imenu-make-tree, python-imenu-subtree-root-label)
11618 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11619 (python-shell-compilation-regexp-alist)
11620 (python-shell-completion-module-string-code)
11621 (python-shell-completion-pdb-string-code)
11622 (python-shell-completion-setup-code)
11623 (python-shell-completion-string-code)
11624 (python-shell-enable-font-lock, python-shell-exec-path)
11625 (python-shell-extra-pythonpaths)
11626 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11627 (python-shell-process-environment)
11628 (python-shell-prompt-block-regexp)
11629 (python-shell-prompt-output-regexp)
11630 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11631 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11632 (python-shell-virtualenv-path): New defcustoms.
11633 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11634 (inferior-python-mode-syntax-table, python--prompt-regexp)
11635 (python-buffer, python-command python-python-command)
11636 (python-default-template, python-imports, python-indent-index)
11637 (python-indent-list, python-indent-list-length)
11638 (python-mode-running, python-pdbtrack-is-tracking-p)
11639 (python-preoutput-continuation, python-preoutput-leftover)
11640 (python-preoutput-result, python-preoutput-skip-next-prompt)
11641 (python-prev-dir/file, python-recursing)
11642 (python-saved-check-command, python-version-checked)
11643 (python-which-func-length-limit)
11644 (view-return-to-alist): Delete vars.
11645 (python-check-custom-command, python-dotty-syntax-table)
11646 (python-imenu-index-alist, python-indent-current-level)
11647 (python-indent-dedenters, python-indent-levels)
11648 (python-nav-beginning-of-defun-regexp)
11649 (python-nav-list-defun-positions-cache)
11650 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11651 (python-shell-internal-buffer)
11652 (python-skeleton-available): New vars.
11653 (def-python-skeleton): Delete macro.
11654 (python-skeleton-define): New macro.
11655 (python-define-auxiliary-skeleton, python-rx): New macros.
11656 (python-insert-class): Delete command.
11657 (python-skeleton-class): New command.
11658 (python-insert-def): Delete command.
11659 (python-skeleton-def): New command.
11660 (python-insert-for): Delete command.
11661 (python-skeleton-for): New command.
11662 (python-insert-if): Delete command.
11663 (python-skeleton-if): New command.
11664 (python-insert-try/except, python-insert-try/finally): Delete commands.
11665 (python-skeleton-try): New command.
11666 (python-insert-while): Delete command.
11667 (python-skeleton-while): New command.
11668 (python-backspace): Delete command.
11669 (python-indent-dedent-line-backspace): New command.
11670 (python-electric-colon): Delete command.
11671 (python-indent-electric-colon): New command.
11672 (python-guess-indent): Delete command.
11673 (python-indent-guess-indent-offset): New command.
11674 (python-shift-left): Delete command.
11675 (python-indent-shift-left): New command.
11676 (python-shift-right): Delete command.
11677 (python-indent-shift-right): New command.
11678 (python-find-function): Delete command.
11679 (python-nav-jump-to-defun): New command.
11680 (python-next-statement): Delete command.
11681 (python-nav-forward-sentence): New command.
11682 (python-previous-statement): Delete command.
11683 (python-nav-backward-sentence): New command.
11684 (python-fill-paragraph): Delete command.
11685 (python-fill-paragraph-function): New command.
11686 (python-send-buffer): Delete command.
11687 (python-shell-send-buffer): New command.
11688 (python-send-defun): Delete command.
11689 (python-shell-send-defun): New command.
11690 (python-send-region, python-send-region-and-go): Delete commands.
11691 (python-shell-send-region)
11692 (python-shell-switch-to-shell): New commands.
11693 (python-send-string): Delete command.
11694 (python-shell-send-string): New command.
11695 (python-switch-to-python): Delete command.
11696 (python-shell-switch-to-shell): New command.
11697 (python-describe-symbol): Delete command.
11698 (python-eldoc-at-point): New command.
11699 (python--set-prompt-regexp, python-args-to-list)
11700 (python-after-info-look, python-check-version)
11701 (python-check-comint-prompt, python-find-imports)
11702 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11703 (python-unload-function, python-expand-template)
11704 (python-maybe-jython, python-preoutput-filter)
11705 (python-pdbtrack-get-source-buffer)
11706 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11707 (python-pdbtrack-toggle-stack-tracking)
11708 (python-pdbtrack-track-stack-file, python-initial-text)
11709 (python-first-word, python-comment-line-p, python-send-command)
11710 (python-setup-brm, python-sentinel, python-set-proc)
11711 (python-skip-out, python-input-filter, python-outdent-p)
11712 (python-outline-level, python-backslash-continuation-line-p)
11713 (python-end-of-block, python-end-of-statement, python-mark-block)
11714 (python-beginning-of-block, python-beginning-of-statement)
11715 (python-blank-line-p, python-beginning-of-string)
11716 (python-open-block-statement-p): Delete functions.
11717 (python-indent-line, python-indent-line-1): Delete functions.
11718 (python-indent-line): New function.
11719 (python-indentation-levels): Delete function.
11720 (python-indent-calculate-levels): New function.
11721 (python-proc): Delete function.
11722 (python-shell-get-process): New function.
11723 (python-send-receive): Delete function.
11724 (python-shell-send-string-no-output): New function.
11725 (python-module-path): Delete function.
11726 (python-ffap-module-path): New function.
11727 (python-completion-at-point)
11728 (python-symbol-completions): Delete functions.
11729 (python-completion-complete-at-point): New function.
11730 (python-load-file): Delete function.
11731 (python-shell-send-file): New function.
11732 (python-calculate-indentation): Delete function.
11733 (python-indent-calculate-indentation): New function.
11734 (python-skip-comments/blanks): Delete function.
11735 (python-util-forward-comment): New function.
11736 (python-continuation-line-p): Delete function.
11737 (python-info-continuation-line-p): New function.
11738 (python-which-func, python-current-defun): Delete function.
11739 (python-info-current-defun): New function.
11740 (python-beginning-of-defun): Delete function.
11741 (python-nav-beginning-of-defun): New function.
11742 (python-close-block-statement-p)
11743 (python-block-end-p): Delete function.
11744 (python-info-closing-block): New function.
11745 (python-comint-output-filter-function)
11746 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11747 (python-fill-comment, python-fill-decorator, python-fill-paren)
11748 (python-fill-string, python-imenu-make-element-tree)
11749 (python-imenu-make-tree, python-imenu-tree-assoc)
11750 (python-indent-context, python-indent-dedent-line)
11751 (python-indent-line-function)
11752 (python-indent-post-self-insert-function)
11753 (python-indent-toggle-levels)
11754 (python-info-assignment-continuation-line-p)
11755 (python-info-beginning-of-backlash)
11756 (python-info-block-continuation-line-p)
11757 (python-info-closing-block-message)
11758 (python-info-line-ends-backslash-p)
11759 (python-info-looking-at-beginning-of-defun)
11760 (python-info-ppss-context, python-info-ppss-context-type)
11761 (python-nav-list-defun-positions, python-nav-read-defun)
11762 (python-nav-sentence-end, python-nav-sentence-start)
11763 (python-pdbtrack-comint-output-filter-function)
11764 (python-pdbtrack-set-tracked-buffer)
11765 (python-shell-calculate-exec-path)
11766 (python-shell-calculate-process-environment)
11767 (python-shell-completion--do-completion-at-point)
11768 (python-shell-completion--get-completions)
11769 (python-shell-completion-complete-at-point)
11770 (python-shell-completion-complete-or-indent)
11771 (python-shell-get-or-create-process)
11772 (python-shell-get-process-name)
11773 (python-shell-internal-get-or-create-process)
11774 (python-shell-internal-get-process-name)
11775 (python-shell-internal-send-string, python-shell-make-comint)
11776 (python-shell-parse-command, python-shell-send-setup-code)
11777 (python-skeleton-add-menu-items)
11778 (python-util-clone-local-variables, python-util-position)
11779 (run-python-internal, python-indentation-levels)
11780 (python-nav-beginning-of-defun)
11781 (python-completion-complete-at-point): New functions.
11782 (run-python): Change arguments. New API requirements.
11783
11784 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11787 (bug#11649).
11788
11789 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11790 (macroexp--expand-all): Use it.
11791
11792 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11793 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11794 Use `cl-function' instead.
11795
11796 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11797
11798 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11799 Suggested by Stefan Monnier while discussing bug#11657.
11800
11801 2012-06-14 Sam Steingold <sds@gnu.org>
11802
11803 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11804
11805 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11806
11807 * play/doctor.el (doctor-doc): Remove parameter and use
11808 doctor-sent instead of sent.
11809 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11810
11811 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * files.el: Require cl-lib.
11814 (file-name-non-special): Replace case -> cl-case.
11815
11816 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11817
11818 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11819 mapping from #' to function*.
11820
11821 2012-06-13 Chong Yidong <cyd@gnu.org>
11822
11823 * mouse.el (mouse-drag-track): Do not set the mark if the user
11824 releases the mouse without selecting anything (Bug#11588).
11825
11826 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11829 as well (bug#11646).
11830
11831 * loadup.el: Count byte-code functions as well.
11832
11833 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11834 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11835
11836 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11837 (bug#11649). Add cl-defun and cl-defmacro.
11838
11839 2012-06-13 Drew Adams <drew.adams@oracle.com>
11840
11841 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11842 Fix last change.
11843
11844 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11845
11846 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11847 Otherwise, it blocks in batch mode.
11848
11849 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11850
11851 * help-mode.el (bookmark-make-record-default): Declare.
11852
11853 2012-06-13 Chong Yidong <cyd@gnu.org>
11854
11855 * emacs-lisp/package.el (list-packages): Compute a list of
11856 packages that are newly-available since the last list-packages
11857 invocation.
11858 (package-menu--new-package-list): New var.
11859 (package-menu--generate, package-menu--print-info)
11860 (package-menu--status-predicate, package-menu-mark-install):
11861 Handle new status label "new".
11862
11863 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11866 conversion to backquotes.
11867
11868 2012-06-12 Chong Yidong <cyd@gnu.org>
11869
11870 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11871 Rename from gud-inhibit-global-bindings.
11872
11873 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11874
11875 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11876 hook from nxml-glyph-set-hook.
11877
11878 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11879 declaration.
11880
11881 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11882
11883 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11884 Convert to defcustom.
11885
11886 2012-06-12 Drew Adams <drew.adams@oracle.com>
11887
11888 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11889 New functions.
11890 (help-mode): Use them.
11891
11892 2012-06-11 Glenn Morris <rgm@gnu.org>
11893
11894 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11895 Use preprocessor face for directives.
11896 (fortran-directive-re): Doc fix.
11897
11898 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11901 conversion to backquotes (bug#11652).
11902
11903 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11904 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11905 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11906 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11907 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11908 (cl-ninth, cl-tenth): Mark them as inlinable.
11909 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11910 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11911 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11912 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11913 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11914 (cl-list*, cl-adjoin): Don't put an autoload manually.
11915 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11916 (cl--compiler-macro-list*): Add autoload cookie.
11917 (cl--compiler-macro-cXXr): New function.
11918
11919 * help-fns.el (help-fns--compiler-macro): New function extracted from
11920 describe-function-1; follow aliases and use `compiler-macro' property.
11921 (describe-function-1): Use it.
11922
11923 2012-06-11 Chong Yidong <cyd@gnu.org>
11924
11925 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11926 is uninstalled, if imagemagick is installed.
11927
11928 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11929
11930 * emacs-lisp/cl-lib.el: Use lexical-binding.
11931 (cl-map-extents, cl-maclisp-member): Remove.
11932 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11933 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11934 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11935 * emacs-lisp/cl-extra.el: Use lexical-binding.
11936 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11937 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11938 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11939 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11940 * emacs-lisp/cl-seq.el: Use lexical-binding.
11941 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11942 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11943 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11944 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11945 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11946 CL's internals.
11947
11948 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11949
11950 Sync with Tramp 2.2.6-pre.
11951
11952 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11953 `print-length' and `print-level' to nil, in order to avoid
11954 truncation. Reported by Christopher Schmidt
11955 <christopher@ristopher.com>.
11956
11957 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11958
11959 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11960 New defmacro.
11961 (tramp-compat-copy-directory): Add optional argument
11962 COPY-CONTENTS. It is not handled yet.
11963
11964 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11965 (tramp-ftp-file-name-p): Simplify.
11966
11967 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11968 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11969 connection vector.
11970
11971 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11972 (tramp-methods): Do not use `tramp-password-end-of-line'.
11973 (tramp-completion-function-alist-putty): Handle UNIX case.
11974 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11975 (tramp-do-file-attributes-with-stat)
11976 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11977 gid as real numbers. They could run out of integer range on cygwin.
11978 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11979 (tramp-sh-handle-expand-file-name): Handle hops.
11980 (tramp-open-connection-setup-interactive-shell):
11981 Use `tramp-cleanup'. Move check for busyboxes ...
11982 (tramp-find-shell): ... here. Simplify implementation.
11983 Set "remote-shell" property also for alternative shells.
11984 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11985 If failing, a regular file would be written otherwise.
11986 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11987 (tramp-find-inline-encoding): Cache the coding commands in the
11988 process cache. Apply test command on the remote side, if defined.
11989 (tramp-find-inline-compress): Cache the compress commands in the
11990 process cache.
11991 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11992 when requested. Handle hops.
11993 (tramp-current-connection): New defvar.
11994 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11995 Throw `suppress', if there was a failed connection shortly before.
11996 Handle user interrupt. (Bug#10187)
11997 (tramp-get-inline-compress, tramp-get-inline-coding):
11998 Read connection properties from the process cache.
11999
12000 * net/tramp-smb.el (tramp-smb-server-version)
12001 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12002 New defconsts.
12003 (tramp-smb-prompt): Extend for powershell prompt.
12004 (tramp-smb-file-name-handler-alist): Add handlers for
12005 `process-file', `shell-command' and `start-file-process'.
12006 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12007 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12008 (tramp-smb-file-name-p): Simplify.
12009 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12010 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12011 (tramp-smb-shell-quote-argument): New defuns.
12012 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12013 Implement using "tar". By this, time-stamps are preserved.
12014 (tramp-smb-handle-copy-file): Handle also the case of directories.
12015 (tramp-smb-do-file-attributes-with-stat)
12016 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12017 Use `tramp-get-connection-buffer').
12018 (tramp-smb-handle-rename-file): Use "rename", when source and
12019 target are on the same share.
12020 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12021 Use `tramp-smb-server-version'.
12022 (tramp-smb-wait-for-output): Remove prompt.
12023
12024 * net/tramp.el (top): Require 'cl.
12025 (tramp-methods, tramp-rsh-end-of-line):
12026 Remove `tramp-password-end-of-line' from docstring.
12027 (tramp-save-ad-hoc-proxies): New defcustom.
12028 (tramp-completion-function-alist): Adapt docstring.
12029 (tramp-default-password-end-of-line): Remove defcustom.
12030 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12031 (tramp-user-regexp, tramp-file-name-regexp-unified)
12032 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12033 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12034 (tramp-remote-file-name-spec-regexp): New defconst.
12035 (tramp-file-name-structure): Extend structure for hops.
12036 (tramp-get-method-parameter): Move up.
12037 (tramp-file-name-p, tramp-dissect-file-name)
12038 (with-parsed-tramp-file-name): Handle hops.
12039 (tramp-file-name-hop): New defun.
12040 (tramp-make-tramp-file-name): New optional arg HOP.
12041 (tramp-message-show-progress-reporter-message): New defvar.
12042 (tramp-with-progress-reporter): Use it. We cannot use
12043 `tramp-message-show-message' here, because this suppresses also
12044 error buffers.
12045 (tramp-error-with-buffer): Suppress buffer view, if
12046 `tramp-message-show-message' is nil.
12047 Use `tramp-get-connection-buffer'.
12048 (tramp-cleanup): New defun.
12049 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12050 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12051 an error unchanged.
12052 (tramp-completion-handle-file-name-all-completions): Handle hops.
12053 Fix an error when called from ido.
12054 (tramp-completion-dissect-file-name): Use better local variable
12055 name. Add hop to the vector.
12056 (tramp-handle-insert-file-contents): Use progress-reporter for the
12057 whole scenario.
12058 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12059 to `t'.
12060 (tramp-check-for-regexp): Simplify search.
12061 (tramp-enter-password): Remove it. Move implementation ...
12062 (tramp-action-password): ... here.
12063 (tramp-mode-string-to-int, tramp-local-host-p)
12064 (tramp-make-tramp-temp-file, tramp-read-passwd)
12065 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12066 Set tramp-autoload cookie.
12067
12068 * net/trampver.el: Update release number.
12069
12070 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12071 Michael Albinus <michael.albinus@gmx.de>
12072
12073 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12074 (tramp-parse-group, tramp-parse-file)
12075 (tramp-parse-shostkeys-sknownhosts): New defuns.
12076 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12077 (tramp-parse-shosts-group, tramp-parse-sconfig)
12078 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12079 (tramp-parse-sknownhosts, tramp-parse-hosts)
12080 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12081 Use them.
12082 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12083 (tramp-parse-putty-group): Don't narrow.
12084 (tramp-parse-putty): Make a loop.
12085 (tramp-file-name-handler): Catch the `suppress' signal.
12086
12087 2012-06-11 Chong Yidong <cyd@gnu.org>
12088
12089 * image.el (imagemagick-register-types): Put the ImageMagick entry
12090 at the end of image-type-file-name-regexps.
12091
12092 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12093
12094 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12095 (pcase, pcase-let*, pcase-dolist): Use them.
12096
12097 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * emacs-lisp/pcase.el (pcase--let*): New function.
12100 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12101 (pcase--expand): Use macroexp-let².
12102
12103 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12106 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12107 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12108 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12109 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12110 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12111
12112 2012-06-10 Glenn Morris <rgm@gnu.org>
12113
12114 * mail/rmail.el (rmail-yank-current-message): Leave point at
12115 correct position. (Bug#11660)
12116
12117 2012-06-10 Chong Yidong <cyd@gnu.org>
12118
12119 * allout-widgets.el: Fix code header.
12120
12121 2012-06-10 Chong Yidong <cyd@gnu.org>
12122
12123 * cus-edit.el (customize-changed-options-previous-release):
12124 Bump to 24.1.
12125
12126 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12127
12128 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12129
12130 2012-06-09 Chong Yidong <cyd@gnu.org>
12131
12132 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12133
12134 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12135
12136 * window.el (special-display-popup-frame): Don't use
12137 window--display-buffer (Bug#11651).
12138
12139 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12140
12141 Fix parallel builds: make sure loaddefs.el is not being written
12142 while Lisp files are compiled.
12143 (compile): Don't depend on 'mh-autoloads'.
12144 (compile-CMD, compile-SH): Depend on 'autoloads'.
12145 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12146
12147 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12148
12149 2012-06-09 Chong Yidong <cyd@gnu.org>
12150
12151 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12152 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12153 Doc fixes (Bug#11225).
12154
12155 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12158 a function if there's a clear indication that it has a compiler-macro.
12159 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12160 (macro-declarations-alist): Add arglist to declaration functions.
12161 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12162 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12163 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12164 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12165 Also add autoload to find the compiler macro.
12166 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12167 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12168 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12169 (cl--compiler-macro-get): New functions, replacing calls to
12170 cl-define-compiler-macro.
12171 (cl-typep) [compiler-macro]: Use macroexp-let².
12172
12173 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12174
12175 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12176 string properly, fixes Bug#11473.
12177
12178 2012-06-08 Chong Yidong <cyd@gnu.org>
12179
12180 * faces.el (set-face-attribute): Doc fix.
12181 (modify-face): Don't use :bold and :italic.
12182 (error, warning, success): Tweak definitions.
12183
12184 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12185 (custom-modified, custom-set, custom-changed, custom-themed)
12186 (custom-saved, custom-button, custom-button-mouse)
12187 (custom-button-pressed, custom-state, custom-comment-tag)
12188 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12189 (custom-group-subtitle): Use new-style face specs.
12190 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12191 (custom-set-face, custom-changed-face, custom-saved-face)
12192 (custom-button-face, custom-button-pressed-face)
12193 (custom-documentation-face, custom-state-face)
12194 (custom-comment-face, custom-comment-tag-face)
12195 (custom-variable-tag-face, custom-variable-button-face)
12196 (custom-face-tag-face, custom-group-tag-face-1)
12197 (custom-group-tag-face): Remove obsolete face alias.
12198
12199 * epa.el (epa-validity-high, epa-validity-medium)
12200 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12201 (epa-field-name, epa-field-body):
12202 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12203 (font-lock-keyword-face, font-lock-builtin-face)
12204 (font-lock-function-name-face, font-lock-variable-name-face)
12205 (font-lock-type-face, font-lock-constant-face):
12206 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12207 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12208 * speedbar.el (speedbar-button-face, speedbar-file-face)
12209 (speedbar-directory-face, speedbar-tag-face)
12210 (speedbar-selected-face, speedbar-highlight-face)
12211 (speedbar-separator-face):
12212 * whitespace.el (whitespace-newline, whitespace-space)
12213 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12214 (whitespace-line, whitespace-space-before-tab)
12215 (whitespace-space-after-tab, whitespace-indentation)
12216 (whitespace-empty):
12217 * emulation/cua-base.el (cua-global-mark):
12218 * eshell/em-prompt.el (eshell-prompt):
12219 * net/newst-plainview.el (newsticker-new-item-face)
12220 (newsticker-old-item-face, newsticker-immortal-item-face)
12221 (newsticker-obsolete-item-face, newsticker-date-face)
12222 (newsticker-statistics-face, newsticker-default-face):
12223 * net/newst-reader.el (newsticker-feed-face)
12224 (newsticker-extra-face, newsticker-enclosure-face):
12225 * net/newst-treeview.el (newsticker-treeview-face)
12226 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12227 (newsticker-treeview-immortal-face)
12228 (newsticker-treeview-obsolete-face)
12229 (newsticker-treeview-selection-face):
12230 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12231 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12232 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12233 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12234 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12235 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12236 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12237 (mpuz-text):
12238 * progmodes/vera-mode.el (vera-font-lock-number)
12239 (vera-font-lock-function, vera-font-lock-interface):
12240 * textmodes/table.el (table-cell): Use new-style face specs, and
12241 don't use the old :bold and :italic attributes.
12242
12243 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12244 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12245 (ebrowse-member-class, ebrowse-progress): Likewise.
12246 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12247 (ebrowse-file-name-face, ebrowse-default-face)
12248 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12249 (ebrowse-progress-face): Remove obsolete faces.
12250
12251 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12252 Inherit from error and warning faces respectively.
12253
12254 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12255 Likewise.
12256 (flyspell-incorrect-face, flyspell-duplicate-face):
12257 Remove obsolete aliases.
12258
12259 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12260
12261 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12262 Avoid infloop.
12263
12264 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * startup.el (argv, argi): Make lexically scoped.
12267 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12268 * emacs-lisp/cl-macs.el: Use lexical-binding.
12269 Rename cl-bind-* to cl--bind-*.
12270 * files.el: Don't require `cl' since it doesn't use it.
12271 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12272
12273 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12274
12275 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12276 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12277 instead of calling external sort utility.
12278 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12279
12280 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12281
12282 * descr-text.el (describe-char): Mention how to insert the
12283 character, if the current input method doesn't support it.
12284 See the discussion in this thread for the details:
12285 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12286
12287 2012-06-08 Sam Steingold <sds@gnu.org>
12288
12289 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12290 XF86Back to previous-buffer.
12291 (minibuffer-local-map): Bind them to next-history-element and
12292 previous-history-element respectively.
12293 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12294 help-go-back respectively.
12295 * info.el (Info-mode-map): Bind them to Info-history-forward and
12296 Info-history-back respectively.
12297 These are the keys next to Up on the ThinkPad keyboard.
12298
12299 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12302 * emacs-lisp/cl-macs.el: Provide itself.
12303 (cl--labels-convert-cache): New var.
12304 (cl--labels-convert): New function.
12305 (cl-flet, cl-labels): New implementation with new semantics, relying on
12306 lexical-binding.
12307 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12308 (cl-closure-vars, cl--function-convert-cache)
12309 (cl--function-convert): Move from cl-macs.el.
12310 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12311 rename by removing the "cl-" prefix.
12312 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12313
12314 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12315
12316 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12317 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12318 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12319 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12320 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12321 (cl-hash-table-count): Add old compatibility aliases.
12322
12323 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12324 Use macroexpand-all-environment instead.
12325 (cl--old-macroexpand): New var.
12326 (cl--sm-macroexpand): New function.
12327 (cl-symbol-macrolet): Use it during macro expansion.
12328 (cl--function-convert-cache): New var.
12329 (cl--function-convert): New function, extracted from
12330 cl-macroexpand-all.
12331 (cl-lexical-let): Use it.
12332
12333 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12334 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12335 (cl-member): Remove old alias.
12336
12337 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12338 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12339 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12340 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12341 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12342 (cl-macroexpand-cmacs): Remove var.
12343 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12344 Use macroexpand-all instead.
12345
12346 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12349 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12350 (macroexp-copyable-p): New functions and macros.
12351 * emacs-lisp/edebug.el (edebug-unwrap):
12352 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12353 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12354 (pcase--let*): Remove.
12355 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12356 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12357 macroexp-const-p instead.
12358 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12359
12360 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12361 instead of "cl-" for internal definitions. Use macroexp-const-p.
12362 (cl-old-bc-file-form): Remove var.
12363 (cl-const-exprs-p): Remove fun.
12364 (cl-labels, cl-macrolet): Use backquote.
12365 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12366 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12367 (cl-define-setf-expander): Rename from cl-define-setf-method.
12368 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12369
12370 * international/mule-cmds.el: Don't require CL.
12371 (view-hello-file): Don't use `letf'.
12372
12373 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12374
12375 * tmm.el (tmm-prompt): Use string-prefix-p.
12376 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12377 (tmm-add-prompt): Use minibuffer-completion-help.
12378 (tmm-delete-map): Remove.
12379
12380 * subr.el (kbd): Make it its own function.
12381
12382 2012-06-07 Stefan Merten <smerten@oekonux.de>
12383
12384 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12385 Silence compiler warnings. Fix versions.
12386 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12387 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12388 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12389 (rst-package-emacs-version-alist): Correct Emacs version to
12390 represent major merge with upstream.
12391 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12392
12393 2012-06-06 Glenn Morris <rgm@gnu.org>
12394
12395 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12396 Only print environment variables if set.
12397
12398 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12401 (macroexp--cons): Rename from maybe-cons.
12402 (macroexp--accumulate): Rename from macroexp-accumulate.
12403 (macroexp--all-forms): Rename from macroexpand-all-forms.
12404 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12405 (macroexp--expand-all): Rename from macroexpand-all-1.
12406
12407 2012-06-06 Sam Steingold <sds@gnu.org>
12408
12409 * calendar/calendar.el (calendar-in-read-only-buffer):
12410 Call `special-mode' to enable the standard read-only keybindings.
12411
12412 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12413
12414 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12415 with "loading" messages (bug#11635).
12416
12417 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12418
12419 * files.el (enable-remote-dir-locals): New option.
12420 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12421
12422 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12423 Ensure, that the temp directory is local.
12424
12425 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12426 `temporary-file-directory'.
12427
12428 * progmodes/python.el (python-send-region): Ensure, that the
12429 temporary file is created also in the remote case.
12430
12431 2012-06-06 Glenn Morris <rgm@gnu.org>
12432
12433 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12434 (vc-rcs-update-changelog): Use it.
12435
12436 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12437
12438 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12439 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12440 (vc-sccs-diff): Replace use of the external vcdiff script.
12441
12442 2012-06-05 Glenn Morris <rgm@gnu.org>
12443
12444 * ledit.el: Move to obsolete/.
12445
12446 2012-06-05 Sam Steingold <sds@gnu.org>
12447
12448 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12449 patch (Bug#11140).
12450
12451 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * emacs-lisp/cust-print.el: Move to obsolete.
12454
12455 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12456 compiler-macro expansion.
12457
12458 Add native compiler-macro support.
12459 * emacs-lisp/macroexp.el (macroexpand-all-1):
12460 Support compiler-macros directly. Properly follow aliases and apply
12461 the compiler macros more thoroughly.
12462 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12463 macroexpand now properly follows aliases.
12464 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12465 (cl-compiler-macroexpand): Use new prop.
12466 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12467
12468 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12469
12470 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12471
12472 * window.el (get-lru-window, get-mru-window, get-largest-window):
12473 New argument NOT-SELECTED to avoid picking the selected window.
12474 (window--display-buffer-1, window--display-buffer-2): Replace by
12475 new function window--display-buffer
12476 (display-buffer-same-window, display-buffer-reuse-window)
12477 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12478 Use window--display-buffer.
12479 (display-buffer-use-some-window): Remove temporary dedication
12480 hack by calling get-lru-window and get-largest-window with
12481 NOT-SELECTED argument non-nil. Call window--display-buffer.
12482
12483 2012-06-05 Glenn Morris <rgm@gnu.org>
12484
12485 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12486 Replace external vcdiff script.
12487
12488 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12491
12492 2012-06-04 Chong Yidong <cyd@gnu.org>
12493
12494 * image.el (imagemagick-types-inhibit): Revert last change.
12495 Add INFO and M.
12496 (imagemagick-enabled-types): Remove CIN and EPS*.
12497
12498 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12499
12500 * emacs-lisp/cl-lib.el: Rename from cl.el.
12501 * emacs-lisp/cl.el: New compatibility file.
12502 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12503 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12504 to obey the "cl-" prefix.
12505 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12506
12507 2012-06-03 Glenn Morris <rgm@gnu.org>
12508
12509 * emacs-lisp/authors.el (authors-aliases): Addition.
12510
12511 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12512 Fix :version.
12513
12514 2012-06-03 Stefan Merten <smerten@oekonux.de>
12515
12516 * textmodes/rst.el: Add comments.
12517 (rst-transition, rst-adornment): New faces.
12518 (rst-adornment-faces-alist): Make default safe to reevaluate.
12519 Fixes
12520 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12521 Improve customization tags.
12522 (rst-define-level-faces): Clarify meaning.
12523
12524 2012-06-03 Chong Yidong <cyd@gnu.org>
12525
12526 * progmodes/compile.el (compilation-mode-line-fail)
12527 (compilation-mode-line-run, compilation-mode-line-exit):
12528 New faces.
12529 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12530
12531 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12532
12533 * progmodes/which-func.el (which-func-update-ediff-windows):
12534 New function. Use it in ediff-select-hook (Bug#11478).
12535
12536 2012-06-03 Chong Yidong <cyd@gnu.org>
12537
12538 * bindings.el: Remove explicit help text from format-mode-line.
12539 It is now supplied by mode-line-default-help-echo.
12540 (mode-line-front-space, mode-line-end-spaces)
12541 (mode-line-misc-info): New variables.
12542 (mode-line-modes, mode-line-position): Move the default value to
12543 the variable definition.
12544 (mode-line-default-help-echo): New defcustom.
12545 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12546 (mode-line-modified-help-echo): New functions.
12547 (mode-line-mule-info, mode-line-modified): Use them.
12548 (mode-line-eol-desc, propertized-buffer-identification):
12549 Consistency fixes for help text.
12550 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12551 set-buffer-file-coding-system (Bug#289).
12552 (mode-line-mule-info-help-echo): Update help text.
12553
12554 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * simple.el (execute-extended-command): Set real-this-command
12557 (bug#11506).
12558
12559 2012-06-02 Chong Yidong <cyd@gnu.org>
12560
12561 Remove incorrect uses of "modeline" in comments, docstrings, and
12562 function/variable names (Bug#10329).
12563
12564 * cus-edit.el (mode-line):
12565 * dframe.el (dframe-mouse-hscroll):
12566 * emacs-lisp/re-builder.el:
12567 * emacs-lisp/easy-mmode.el (define-minor-mode):
12568 * frame.el (set-frame-name):
12569 * help.el (lookup-minor-mode-from-indicator):
12570 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12571 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12572 (c-toggle-hungry-state):
12573 * progmodes/antlr-mode.el (antlr-language-alist):
12574 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12575 * progmodes/vhdl-mode.el (vhdl-mode):
12576 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12577 * term/ns-win.el (ns-face-at-pos):
12578 * term/sup-mouse.el (sup-mouse-report):
12579 * textmodes/flyspell.el (flyspell-mode-line-string):
12580 * textmodes/ispell.el (ispell-highlight-face):
12581 * textmodes/reftex-global.el:
12582 * vc/vc-arch.el (vc-arch-mode-line-string):
12583 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12584 * vc/vc-git.el (vc-git-mode-line-string):
12585 * vc/vc-hooks.el (vc-display-status)
12586 (vc-default-mode-line-string):
12587 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12588
12589 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12590
12591 * dired.el (dired-sort-set-mode-line): Rename from
12592 dired-sort-set-modeline. All callers changed.
12593
12594 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12595 eshell-status-in-modeline.
12596
12597 * foldout.el (foldout-mode-line-string): Rename from
12598 foldout-modeline-string. All callers changed.
12599 (foldout-update-mode-line): Rename from foldout-update-modeline.
12600
12601 * subr.el (redraw-modeline): Make into obsolete alias.
12602
12603 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12604 timeclock-modeline-display. Make old name an alias.
12605 (timeclock-update-mode-line): Likewise. All callers changed.
12606 (timeclock-mode-line-display): No need to check before using
12607 add-hook.
12608 (timeclock-relative, timeclock-day-over-hook)
12609 (timeclock-use-elapsed, timeclock-mode-string)
12610 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12611
12612 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12613 crisp-mode-modeline-string.
12614
12615 * play/solitaire.el (solitaire-build-mode-line): Rename from
12616 solitaire-build-modeline. All callers changed.
12617
12618 * play/zone.el (zone-hiding-mode-line): Rename from
12619 zone-hiding-modeline. All callers changed.
12620 (zone): Remove unusued `modeline-hidden-level' property.
12621
12622 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12623 xscheme-modeline-initialize. All callers changed.
12624
12625 * strokes.el (strokes-lighter): Rename from
12626 strokes-modeline-string.
12627
12628 * textmodes/sgml-mode.el (html-face-tag-alist)
12629 (html-tag-face-alist): Use mode-line face instead of obsolete
12630 alias modeline.
12631
12632 2012-06-02 Stefan Merten <smerten@oekonux.de>
12633
12634 * textmodes/rst.el: Always require `cl'.
12635 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12636
12637 2012-06-02 Chong Yidong <cyd@gnu.org>
12638
12639 * image.el (imagemagick-enabled-types): Rename from
12640 imagemagick-types-enable. Add many more types.
12641 (imagemagick-types-inhibit): Change default to nil.
12642 (imagemagick-filter-types): Caller changed.
12643
12644 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * emacs-lisp/cl-macs.el: Use backquotes.
12647 (cl-transform-function-property): Use eval-and-compile rather than
12648 abusing `require'.
12649 (defstruct): Use declare-function instead of with-no-warnings.
12650
12651 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12652 (byte-compile-output-docform): Re-add the print-circle bindings.
12653 (byte-compile-fix-header): Use #$ just because it's shorter.
12654 (byte-compile-output-file-form): Remove defun/defmacro.
12655
12656 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12657
12658 * simple.el (choose-completion): Remove now obsolete binding for
12659 owindow.
12660
12661 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12662
12663 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12664 in order to avoid "Stack overflow in regexp matcher".
12665
12666 2012-05-31 Glenn Morris <rgm@gnu.org>
12667
12668 * image.el: For clarity, call imagemagick-register-types at
12669 top-level, rather than relying on a custom :initialize.
12670 (imagemagick-types-enable): New option. (Bug#11557)
12671 (imagemagick-filter-types): New function. (Bug#7406)
12672 (imagemagick-register-types): Use imagemagick-filter-types.
12673 If disabling support, remove elements altogether rather
12674 than using an impossible regexp.
12675 (imagemagick-types-inhibit): Give it the default init function.
12676
12677 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12680 Handle arbitrary file name lengths (Bug#11585).
12681
12682 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12683
12684 * desktop.el (desktop-read): Clear previous and next buffers for
12685 all windows and bury *Messages* buffer (bug#11556).
12686
12687 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 Add `declare' for `defun'. Align `defmacro's with it.
12690 * emacs-lisp/easy-mmode.el (define-minor-mode)
12691 (define-globalized-minor-mode): Don't autoload the var definitions.
12692 * emacs-lisp/byte-run.el: Use lexical-binding.
12693 (defun-declarations-alist, macro-declarations-alist): New vars.
12694 (defmacro, defun): Use them.
12695 (make-obsolete, define-obsolete-function-alias)
12696 (make-obsolete-variable, define-obsolete-variable-alias):
12697 Use `declare'.
12698 (macro-declaration-function): Mark obsolete.
12699 * emacs-lisp/autoload.el: Use lexical-binding.
12700 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12701
12702 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12703
12704 * textmodes/ispell.el (ispell-with-no-warnings):
12705 Define as a macro.
12706 (ispell-kill-ispell, ispell-change-dictionary):
12707 Use `called-interactively-p' for Emacs instead of obsolete
12708 `interactive-p'.
12709
12710 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12713 (macro-declaration-function): Move var from C code.
12714 (macro-declaration-function): Define function with defalias.
12715 * emacs-lisp/macroexp.el (macroexpand-all-1):
12716 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12717 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12718 defun/defmacro any more.
12719 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12720 Provide fallback for unknown arglist.
12721 (byte-compile-arglist-warn): Change calling convention.
12722 (byte-compile-output-file-form): Move print-vars binding.
12723 (byte-compile-output-docform): Simplify accordingly.
12724 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12725 (byte-compile-defmacro-declaration): Remove.
12726 (byte-compile-file-form-defmumble): Generalize to defalias.
12727 (byte-compile-output-as-comment): Return byte-positions.
12728 Simplify callers accordingly.
12729 (byte-compile-lambda): Use `assert'.
12730 (byte-compile-defun, byte-compile-defmacro): Remove.
12731 (byte-compile-file-form-defalias):
12732 Use byte-compile-file-form-defmumble.
12733 (byte-compile-defalias-warn): Remove.
12734
12735 2012-05-29 Stefan Merten <smerten@oekonux.de>
12736
12737 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12738 possible. Fix authors. Improve comments. Improve loading of `cl'.
12739
12740 (rst-mode-abbrev-table): Merge definition.
12741 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12742 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12743
12744 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12745
12746 * calendar/icalendar.el
12747 (icalendar-export-region): Export UID properly.
12748
12749 2012-05-29 Leo Liu <sdl.web@gmail.com>
12750 * calendar/icalendar.el (icalendar-import-format):
12751 Add `icalendar-import-format-uid' (Bug#11525).
12752 (icalendar-import-format-uid): New.
12753 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12754 Export UID.
12755
12756 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12759 different alternative patterns.
12760 (pcase-codegen): Be more careful to preserve identity.
12761 (pcase--u1): Don't forget to mark vars as used.
12762
12763 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12764 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12765 (byte-compile-from-buffer): ...rather than here.
12766
12767 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12768 functions from byte-compile-function-environment.
12769
12770 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12771
12772 * window.el (window-deletable-p): Avoid deleting the root window
12773 of a frame with an active minibuffer.
12774
12775 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12776
12777 * simple.el (choose-completion): Use quit-window (Bug#11567).
12778
12779 2012-05-29 Chong Yidong <cyd@gnu.org>
12780
12781 * whitespace.el (whitespace-cleanup): Fix usage of
12782 whitespace-empty-at-bob-regexp (Bug#11492).
12783
12784 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12785
12786 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12787 revert (Bug#11488).
12788
12789 2012-05-29 Juri Linkov <juri@jurta.org>
12790
12791 * isearch.el (isearch-mode-map): Bind `M-s _' to
12792 `isearch-toggle-symbol'. Bind `M-s c' to
12793 `isearch-toggle-case-fold'.
12794 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12795 (isearch-forward): Add `M-s _' to the docstring.
12796 (isearch-forward-symbol, isearch-toggle-case-fold)
12797 (isearch-symbol-regexp): New functions. (Bug#11381)
12798
12799 2012-05-29 Juri Linkov <juri@jurta.org>
12800
12801 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12802 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12803 a function, call it to get the regexp.
12804 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12805 property `isearch-message-prefix' instead of the string "word ".
12806 (isearch-search-fun-default): For the case of `isearch-word',
12807 return a lambda that calls re-search-forward/re-search-backward
12808 with a regexp returned by `word-search-regexp' or by the function
12809 in `isearch-word'.
12810
12811 2012-05-29 Juri Linkov <juri@jurta.org>
12812
12813 * isearch.el (isearch-search-fun-default): New function.
12814 (isearch-search-fun): Move default part to the new function
12815 `isearch-search-fun-default'.
12816 (isearch-search-fun-function): Set the default value to
12817 `isearch-search-fun-default'. (Bug#11381)
12818
12819 * comint.el (comint-history-isearch-end):
12820 Use `isearch-search-fun-default'.
12821 (comint-history-isearch-search): Use `isearch-search-fun-default'
12822 and remove spacial case for `isearch-word'.
12823 (comint-history-isearch-wrap): Remove spacial case for
12824 `isearch-word'.
12825
12826 * hexl.el (hexl-isearch-search-function):
12827 Use `isearch-search-fun-default'.
12828
12829 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12830 Use `word-search-regexp' for `isearch-word'.
12831
12832 * misearch.el (multi-isearch-search-fun):
12833 Use `isearch-search-fun-default'.
12834
12835 * simple.el (minibuffer-history-isearch-search):
12836 Use `isearch-search-fun-default' and remove spacial case for
12837 `isearch-word'.
12838 (minibuffer-history-isearch-wrap): Remove spacial case for
12839 `isearch-word'.
12840
12841 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12842 Remove spacial case for `isearch-word'.
12843 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12844
12845 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12846
12847 Decrease XEmacs incompatibilities.
12848 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12849 Use `string-match'.
12850 (flyspell-delete-region-overlays): Use alternative definition for
12851 XEmacs.
12852 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12853 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12854 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12855 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12856 `define-obsolete-face-alias' under XEmacs, but old method.
12857
12858 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12859 `with-no-warnings' definition or Emacs alias.
12860 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12861 (ispell-word): Do not use `region-p' if XEmacs.
12862
12863 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12864
12865 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12866 Check for `ispell-dictionary-base-alist' instead of full
12867 `ispell-dictionary-alist'.
12868 (ispell-init-process): Show spellchecker when starting new Ispell
12869 process.
12870
12871 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12874 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12875
12876 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12877
12878 * version.el (motif-version-string, gtk-version-string)
12879 (ns-version-string): Declare.
12880
12881 2012-05-27 Juri Linkov <juri@jurta.org>
12882
12883 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12884 after the `eval-defun-1' specialcaseing
12885 like in `edebug-eval-defun' (bug#10181).
12886
12887 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12888 like in `eval-defun-1'.
12889
12890 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12891
12892 * mail/sendmail.el (mail-yank-region):
12893 Recognize rmail-yank-current-message in addition to insert-buffer.
12894 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12895 a *mail* buffer created through rmail-start-mail with sendmail as
12896 mail-user-agent.
12897
12898 2012-05-27 Chong Yidong <cyd@gnu.org>
12899
12900 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12901 Default to 256 (Bug#11267).
12902
12903 * help.el (describe-mode): Doc fix.
12904
12905 2012-05-26 Glenn Morris <rgm@gnu.org>
12906
12907 * w32-fns.el (w32-init-info): Remove.
12908 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12909
12910 * info.el (info-initialize): For self-contained NS builds, put the
12911 included info/ directory at the front. (Bug#2791)
12912
12913 * paths.el (Info-default-directory-list): Make it a defcustom,
12914 mainly so that we can use custom-initialize-delay.
12915
12916 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * subr.el (buffer-has-markers-at): Mark obsolete.
12919
12920 * subr.el (lambda): Use declare.
12921
12922 * emacs-lisp/lisp-mode.el (lambda):
12923 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12924
12925 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12926
12927 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12928
12929 2012-05-26 Glenn Morris <rgm@gnu.org>
12930
12931 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12932
12933 2012-05-25 Glenn Morris <rgm@gnu.org>
12934
12935 * paths.el: Remove no-byte-compile.
12936 * loadup.el: No need to load paths.el uncompiled.
12937
12938 * image.el (imagemagick-types-inhibit): Doc fix.
12939
12940 * version.el: Remove no-byte-compile and associated formatting.
12941 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12942 is ancient code from when there was an "inc-vers.el".
12943
12944 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12945
12946 * progmodes/gdb-mi.el: Minor style changes.
12947 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12948 Turn into minor modes.
12949 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12950 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12951 (gdb-shell): Remove unneeded let-binding.
12952 (gdb-get-many-fields): Eliminate O(n²) behavior.
12953
12954 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12955
12956 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12957 platforms that don't link in fontset.c.
12958
12959 2012-05-25 Juri Linkov <juri@jurta.org>
12960
12961 Use the same diff color scheme as in modern VCSes (bug#10181).
12962
12963 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12964 to avoid confusion with `diff-added' that now uses green colors.
12965 (diff-removed): Use shades of red.
12966 (diff-added): Use shades of green.
12967 (diff-changed): Leave just the yellow color.
12968 (diff-use-changed-face): New variable.
12969 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12970 how to highlight context diff changes.
12971 (diff-refine-change): Use shades of yellow.
12972 (diff-refine-removed): New face that uses shades of red.
12973 (diff-refine-added): New face that uses shades of green.
12974 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12975 `diff-refine-removed' in the call to `smerge-refine-subst'
12976 depending on the value of `diff-use-changed-face'.
12977
12978 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12979 (smerge-other): Use shades of green.
12980 (smerge-base): Use shades of yellow.
12981 (smerge-refined-change): Empty face.
12982 (smerge-refined-removed): New face that uses shades of red.
12983 (smerge-refined-added): New face that uses shades of green.
12984 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12985 args `props-r' and `props-a', and use them. Doc fix.
12986 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12987 on its value use different faces `smerge-refined-change',
12988 `smerge-refined-removed', `smerge-refined-added' in the call to
12989 `smerge-refine-subst'.
12990
12991 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12992 Add face condition `min-colors 88' with shades of red.
12993 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12994 `min-colors 88' with shades of green.
12995 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12996 `min-colors 88' with shades of yellow.
12997
12998 2012-05-24 Glenn Morris <rgm@gnu.org>
12999
13000 * paths.el (prune-directory-list, remote-shell-program): Move to...
13001 * files.el (prune-directory-list, remote-shell-program): ...here.
13002 For the latter, delay initialization, prefer ssh, just search PATH.
13003
13004 * paths.el (term-file-prefix): Move to faces.el (the only user).
13005 * faces.el (term-file-prefix): Move here, make it a defcustom.
13006
13007 * paths.el (news-directory, news-path, news-inews-program):
13008 Move to gnus/nnspool.el.
13009
13010 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13011
13012 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13013 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13014 Make the latter a defcustom, with a delayed initialization.
13015
13016 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13017 These were deleted from Gnus itself late 2010.
13018
13019 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13020
13021 * progmodes/which-func.el (which-func-ff-hook):
13022 Check against user-error, not error.
13023
13024 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13025 cl-specs.el, which no longer exists.
13026
13027 2012-05-22 Glenn Morris <rgm@gnu.org>
13028
13029 * info.el (info-emacs-bug): New command.
13030 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13031 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13032
13033 2012-05-21 Glenn Morris <rgm@gnu.org>
13034
13035 * makefile.w32-in (update-subdirs-SH):
13036 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13037
13038 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13039
13040 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13041
13042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13043 Simplify Maven regexp, and make sure the file can't start with a space
13044 (bug#11517).
13045
13046 2012-05-21 Glenn Morris <rgm@gnu.org>
13047
13048 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13049 Scrap superfluous subshells.
13050
13051 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13054 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13055
13056 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13057
13058 * calc/calc.el (calc-ensure-consistent-units): New variable.
13059
13060 * calc/calc-units.el (math-consistent-units-p)
13061 (math-check-unit-consistency): New functions.
13062 (calc-quick-units, calc-convert-units):
13063 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13064 is non-nil.
13065 (calc-extract-units): Fix typo.
13066
13067 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13068
13069 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13070
13071 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13072 (flyspell-default-deplacement-commands): Don't spell check after
13073 repeated window/frame switches (e.g. triggered by mouse-movement).
13074 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13075 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13076 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13077 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13078 Remove unused vars.
13079 (flyspell-get-casechars, flyspell-get-not-casechars):
13080 Simplify; Don't bother removing a ] just to add it back.
13081 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13082
13083 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13084
13085 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13086 New functions.
13087 (math-function-table): Add support for more C functions.
13088
13089 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13090
13091 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13092 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13093 Protect delay handling for otherchars against empty otherchars.
13094
13095 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13098 their respective macro declarations.
13099 * skeleton.el (define-skeleton):
13100 * progmodes/compile.el (define-compilation-mode):
13101 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13102 (define-ibuffer-filter):
13103 * emacs-lisp/generic.el (define-generic-mode):
13104 * emacs-lisp/easy-mmode.el (define-minor-mode)
13105 (define-globalized-minor-mode):
13106 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13107 * emacs-lisp/byte-run.el (defsubst):
13108 * custom.el (deftheme): Add doc-string metadata.
13109
13110 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13111
13112 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13113
13114 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13115
13116 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13117
13118 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13119 * emacs-lisp/cl-macs.el: Idem.
13120 * emacs-lisp/cl-specs.el: Remove.
13121
13122 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13123
13124 Minor renaming of internal CL functions and variables.
13125 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13126 (cl--position): Rename from cl-position.
13127 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13128 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13129 (cl--random-state): Rename from *random-state*.
13130
13131 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13134 parens around the arg list (bug#11499).
13135
13136 2012-05-17 Juri Linkov <juri@jurta.org>
13137
13138 * isearch.el (word-search-regexp, word-search-backward)
13139 (word-search-forward, word-search-backward-lax)
13140 (word-search-forward-lax): Move functions from search.c
13141 (bug#10145, bug#11381).
13142
13143 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13144
13145 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13146 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13147 Delay for otherchars as for normal word components.
13148
13149 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 * minibuffer.el (completion--sifn-requote): Fix last change.
13152 (minibuffer-local-must-match-filename-map):
13153 Move define-obsolete-variable-alias before its var.
13154
13155 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13156
13157 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13158
13159 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13160 behavior.
13161 (completion--string-equal-p): New function.
13162 (completion--twq-all): Use it to get better assertion failure data.
13163
13164 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13165 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13166 (shell--requote-argument): New functions.
13167 (shell-completion-vars): Use them.
13168 (shell--parse-pcomplete-arguments): Rename from
13169 shell-parse-pcomplete-arguments.
13170 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13171 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13172 Obey comint-file-name-quote-list.
13173
13174 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13175 (smie-indent-keyword): Use it.
13176
13177 2012-05-14 Stefan Merten <smerten@oekonux.de>
13178
13179 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13180
13181 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13182
13183 * net/rlogin.el (rlogin-mode-map): Fix last change.
13184
13185 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13186
13187 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13188 the following \r\n using a single `process-send-string', since the
13189 Lotus SMTP server refuses to accept any commands if they are sent
13190 with two `process-send-string's (Bug#11444).
13191
13192 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * shell.el (shell-parse-pcomplete-arguments):
13195 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13196
13197 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13198
13199 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13200 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13201 (image-transform-width, image-transform-fit-width): New functions.
13202 (image-transform-properties): Use them.
13203 (image-transform-check-size): New function.
13204 (image-toggle-display-image): Use it (for testing).
13205 (image-transform-set-rotation): Reduce angle mod 360.
13206 Delete obsolete comment.
13207
13208 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13209
13210 * image-mode.el: Fix scaling (bug#11399).
13211 (image-transform-resize): Doc fix.
13212 (image-transform-properties): Default scale is 1 and height should
13213 be an integer.
13214
13215 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13216
13217 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13218 than hard-coding `car', to fix misbehavior when moving forward.
13219
13220 2012-05-13 Chong Yidong <cyd@gnu.org>
13221
13222 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13223 (tabulated-list-entries, tabulated-list-padding)
13224 (tabulated-list-sort-key): Make permanent-local.
13225
13226 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13227 (electric-buffer-list): Put electric buffer menu
13228 command descriptions in this docstring, instead of the docstring
13229 of electric-buffer-menu-mode. Code cleanups.
13230 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13231 Electric-buffer-menu-mode.
13232 (electric-buffer-update-highlight): Minor code cleanup.
13233
13234 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13235
13236 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13237 (Bug#11447)
13238
13239 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13240
13241 Move define-obsolete-variable-alias before the var's definition.
13242 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13243 * tooltip.el (tooltip-hook):
13244 * textmodes/reftex-toc.el (reftex-toc-map):
13245 * textmodes/reftex-sel.el (reftex-select-label-map)
13246 (reftex-select-bib-map):
13247 * textmodes/reftex-index.el (reftex-index-map)
13248 (reftex-index-phrases-map):
13249 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13250 * progmodes/meta-mode.el (meta-mode-map):
13251 * novice.el (disabled-command-hook):
13252 * loadhist.el (unload-hook-features-list):
13253 * frame.el (blink-cursor):
13254 * files.el (find-file-not-found-hooks, write-file-hooks)
13255 (write-contents-hooks):
13256 * emulation/tpu-edt.el (GOLD-map):
13257 * emacs-lock.el (emacs-lock-from-exiting):
13258 * emacs-lisp/generic.el (generic-font-lock-defaults):
13259 * emacs-lisp/chart.el (chart-map):
13260 * dos-fns.el (register-name-alist):
13261 * dired-x.el (dired-omit-files-p):
13262 * desktop.el (desktop-enable):
13263 * cus-edit.el (custom-mode-hook):
13264 * buff-menu.el (buffer-menu-mode-hook):
13265 * bookmark.el (bookmark-read-annotation-text-func)
13266 (bookmark-exit-hooks):
13267 * allout.el (allout-mode-deactivate-hook)
13268 (allout-exposure-change-hook, allout-structure-added-hook)
13269 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13270 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13271 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13272 comes before the corresponding variable's definition.
13273
13274 2012-05-12 Chong Yidong <cyd@gnu.org>
13275
13276 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13277 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13278 (Buffer-menu-mode-map): Bind it.
13279 (Buffer-menu--pretty-name): Add a mouse-face property.
13280
13281 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13282
13283 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13284 (prolog-upper-case-string, prolog-lower-case-string)
13285 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13286 (prolog-use-smie, prolog-smie-grammar): New vars.
13287 (prolog-smie-forward-token, prolog-smie-backward-token)
13288 (prolog-smie-rules): New funs.
13289 (prolog-comment-indent): Remove.
13290 (prolog-mode-variables): Use default comment indentation instead.
13291 Setup SMIE.
13292 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13293 (prolog-mode): Don't call them any more.
13294 (prolog-electric-colon, prolog-electric-dash)
13295 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13296
13297 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13298
13299 * minibuffer.el (completion--twq-all): Again, allow case differences.
13300
13301 * term.el: Move keymap initialization code to be more idiomatic.
13302 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13303 (term-terminal-menu): Move initialization into declaration.
13304 (term-escape-char): Let the user set it in her .emacs.
13305
13306 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13307 Provide SMIE-based indentation (not enabled by default yet).
13308 (sh-mode-map): Don't bind electric keys.
13309 Use electric-pair-mode instead of skeleton-pair.
13310 (sh-assignment-regexp): Fit within 80 columns.
13311 (sh-indent-supported): Specify actual shell name instead of boolean.
13312 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13313 (sh-maybe-here-document): Use it. Make obsolete.
13314 (sh-electric-here-document-mode) New minor mode.
13315 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13316 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13317 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13318 (sh-smie-rc-grammar, sh-use-smie): New vars.
13319 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13320 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13321 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13322 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13323 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13324 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13325 (sh-set-shell): Use smie-setup if requested.
13326
13327 * term.el (term-set-escape-char): Properly set term-escape-char.
13328 See http://stackoverflow.com/questions/10524656.
13329
13330 2012-05-10 Chong Yidong <cyd@gnu.org>
13331
13332 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13333 Use url-generic-parse-url, and handle host names and Windows
13334 filenames properly.
13335 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13336 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13337 URL schemes to work on.
13338 (ffap--toggle-read-only): New function.
13339 (ffap-read-only, ffap-read-only-other-window)
13340 (ffap-read-only-other-frame): Use it.
13341 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13342 necessary for ffap-url-unwrap-remote.
13343
13344 2012-05-10 Dave Abrahams <dave@boostpro.com>
13345
13346 * cus-start.el (create-lockfiles): Add it.
13347
13348 2012-05-09 Chong Yidong <cyd@gnu.org>
13349
13350 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13351 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13352
13353 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13354
13355 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13356
13357 2012-05-09 Chong Yidong <cyd@gnu.org>
13358
13359 * ansi-color.el (ansi-color-process-output): Check for validity of
13360 comint-last-output-start before using it. This avoids a bad
13361 interaction with gdb-mi's input/output buffer.
13362
13363 2012-05-09 Glenn Morris <rgm@gnu.org>
13364
13365 * files.el (dir-locals-read-from-file):
13366 Mention dir-locals in any error message.
13367
13368 2012-05-09 Chong Yidong <cyd@gnu.org>
13369
13370 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13371 package (Bug#11410).
13372
13373 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13374 variables into description.
13375
13376 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13377
13378 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13379 shell-delimiter-argument-list (bug#11348).
13380 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13381
13382 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13383
13384 * textmodes/rst.el: Silence byte-compiler warnings.
13385 (rst-re-alist, rst-reset-section-caches): Move around.
13386 (rst-re): Use `characterp', not `char-valid-p'.
13387 (font-lock-beg, font-lock-end): Declare.
13388
13389 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13390 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13391
13392 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13393
13394 2012-05-08 Glenn Morris <rgm@gnu.org>
13395
13396 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13397
13398 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * vc/log-edit.el: Add GNU coding standards highlighting.
13401 (log-edit-font-lock-gnu-style)
13402 (log-edit-font-lock-gnu-keywords): New vars.
13403 (log-edit-font-lock-keywords): New fun.
13404 (log-edit-mode): Don't fold case in font-lock.
13405 (log-edit-font-lock-keywords): Do not assume case-folding.
13406
13407 * imenu.el: Misc cleanup. Make docstrings out of comments.
13408 Use lexical-binding.
13409 (imenu--index-alist, imenu--last-menubar-index-alist)
13410 (imenu-menubar-modified-tick): Use defvar-local.
13411 (imenu--split-menu): Remove unused var.
13412 (imenu--cleanup-seen): Declare as global.
13413 (imenu--cleanup): Use dolist.
13414
13415 * subr.el (defvar-local): Add debug spec and doc-string position.
13416
13417 2012-05-08 Glenn Morris <rgm@gnu.org>
13418
13419 * language/burmese.el, language/cham.el, language/czech.el:
13420 * language/english.el, language/georgian.el, language/greek.el:
13421 * language/japanese.el, language/khmer.el, language/korean.el:
13422 * language/lao.el, language/misc-lang.el, language/romanian.el:
13423 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13424 * language/thai.el, language/utf-8-lang.el:
13425 Remove no-byte-compile setting.
13426
13427 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13428
13429 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13430
13431 * progmodes/make-mode.el (makefile-browse):
13432 Remove unnecessary interactive. (Bug#11324)
13433
13434 2012-05-07 Glenn Morris <rgm@gnu.org>
13435
13436 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13437
13438 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13439
13440 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 * loadup.el: Preload newcomment.el.
13443 * newcomment.el: Move autoload-only code to toplevel.
13444
13445 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13446 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13447 Handle new :right-align column property.
13448 (tabulated-list-print-col): Idem, plus use `display' text-property to
13449 try and preserve alignment for variable pitch fonts.
13450
13451 2012-05-07 Chong Yidong <cyd@gnu.org>
13452
13453 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13454 (tabulated-list-use-header-line): New var.
13455 (tabulated-list-init-header): Use it.
13456 (tabulated-list-print-fake-header): New function.
13457 (tabulated-list-print): Use it.
13458 (tabulated-list-sort-button-map): Add non-header-line commands.
13459 (tabulated-list-init-header): Add column name property to basic
13460 labels as well.
13461 (tabulated-list-col-sort): Handle non-header-line button case.
13462 (tabulated-list--sort-by-column-name): Fix a corner case.
13463
13464 * buff-menu.el (list-buffers--refresh):
13465 Handle Buffer-menu-use-header-line.
13466
13467 2012-05-06 Chong Yidong <cyd@gnu.org>
13468
13469 * buff-menu.el: Convert to Tabulated List mode.
13470 (Buffer-menu-buffer+size-width): Make obsolete.
13471 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13472 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13473 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13474 documentation into docstring of buffer-menu.
13475 (Buffer-menu-toggle-files-only): Add an informative message.
13476 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13477 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13478 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13479 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13480 (Buffer-menu-execute, Buffer-menu-select)
13481 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13482 (Buffer-menu-bury): Use Tabulated List machinery.
13483 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13484 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13485 Delete.
13486 (list-buffers--refresh): New function.
13487 (list-buffers-noselect): Use it.
13488 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13489 (Buffer-menu--pretty-file-name): New helper functions.
13490
13491 * loadup.el: Preload tabulated-list.
13492
13493 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13494 tabulated-list-sort-column.
13495 (tabulated-list-init-header): Add the initial aligning space even
13496 if tabulated-list-padding is zero.
13497
13498 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13499
13500 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13501 whose cdr is not a cons cell correctly (bug#11038).
13502
13503 2012-05-06 Chong Yidong <cyd@gnu.org>
13504
13505 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13506 Accept additional plist in column descriptors.
13507 (tabulated-list-init-header): Obey it.
13508 (tabulated-list-get-entry): New function.
13509 (tabulated-list-put-tag): Use it. Use string-width instead of
13510 length.
13511 (tabulated-list--column-number): New function.
13512 (tabulated-list-print): Use it.
13513 (tabulated-list-print-col): New function.
13514 Set `tabulated-list-column-name' property on each column's text.
13515 (tabulated-list-print-entry): Use it.
13516 (tabulated-list-delete-entry, tabulated-list-set-col):
13517 New functions.
13518 (tabulated-list-sort-column): New command (Bug#11337).
13519
13520 * buff-menu.el (list-buffers): Move C-x C-b binding from
13521 buff-menu.el to bindings.el.
13522
13523 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13524 :advertised-binding feature.
13525
13526 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13527
13528 * progmodes/compile.el (compilation-internal-error-properties):
13529 Calculate start position correctly when end-col is set but
13530 end-line is not (Bug#11382).
13531
13532 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13533
13534 * man.el (Man-unindent): Use text-property-default-nonsticky to
13535 prevent untabify from inheriting face properties (Bug#11408).
13536
13537 2012-05-05 Stefan Merten <smerten@oekonux.de>
13538
13539 * textmodes/rst.el: Major merge with upstream development up to
13540 Docutils SVN r7399 / rst.el V1.2.1.
13541
13542 Clarify maintainership and authors.
13543
13544 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13545 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13546 (rst-official-version, rst-official-cvs-rev, rst-version)
13547 (rst-package-emacs-version-alist): New functions and variables
13548 for version information.
13549
13550 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13551 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13552 (rst-mode-syntax-table, rst-mode): New and corrected functions
13553 and variables representing reStructuredText features.
13554
13555 (rst-re): New function for reStructuredText regexes. Use in
13556 many places.
13557
13558 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13559 (rst-mode-map): Rebind keys.
13560
13561 (rst-mode-lazy, rst-font-lock-keywords)
13562 (rst-font-lock-extend-region)
13563 (rst-font-lock-extend-region-internal)
13564 (rst-font-lock-extend-region-extend)
13565 (rst-font-lock-find-unindented-line-limit)
13566 (rst-font-lock-find-unindented-line-match)
13567 (rst-adornment-level, rst-font-lock-adornment-level)
13568 (rst-font-lock-adornment-match)
13569 (rst-font-lock-handle-adornment-pre-match-form)
13570 (rst-font-lock-handle-adornment-matcher): Major revision of
13571 font-locking. Integrate with other code. Use `jit-lock-mode'.
13572
13573 (rst-preferred-adornments, rst-adjust-hook)
13574 (rst-new-adornment-down, rst-preferred-bullets)
13575 (rst-preferred-bullets, rst-indent, rst-indent-width)
13576 (rst-indent-field, rst-indent-literal-normal)
13577 (rst-indent-literal-minimized, rst-indent-comment): Change,
13578 extend and improve customization.
13579
13580 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13581 (rst-normalize-cursor-position, rst-get-decoration)
13582 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13583 (rst-rstrip, rst-toc-insert-find-delete-contents)
13584 (rst-shift-fill-region, rst-compute-bullet-tabs)
13585 (rst-debug-print-tabs, rst-debug-mark-found)
13586 (rst-shift-region-guts, rst-shift-region-right)
13587 (rst-shift-region-left, rst-use-char-classes)
13588 (rst-font-lock-keywords-function)
13589 (rst-font-lock-indentation-point)
13590 (rst-font-lock-find-unindented-line-begin)
13591 (rst-font-lock-find-unindented-line-end)
13592 (rst-font-lock-find-unindented-line)
13593 (rst-font-lock-adornment-point, rst-font-lock-level)
13594 (rst-adornment-level-alist): Remove functions and variables.
13595
13596 (rst-compare-adornments, rst-get-adornment-match)
13597 (rst-suggest-new-adornment, rst-get-adornments-around)
13598 (rst-adornment-complete-p, rst-get-next-adornment)
13599 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13600 (rst-straighten-adornments): Standardize function names to
13601 use "adornment" instead of "decoration". Correct callers.
13602 Similar standardizing in many places.
13603
13604 (rst-update-section, rst-adjust, rst-promote-region)
13605 (rst-enumerate-region, rst-bullet-list-region)
13606 (rst-repeat-last-character): Correct use of `interactive'.
13607
13608 (rst-classify-adornment, rst-find-all-adornments)
13609 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13610 (rst-find-leftmost-column, rst-repeat-last-character):
13611 Refactor functions.
13612
13613 (rst-find-title-line, rst-reset-section-caches)
13614 (rst-get-adornments-around, rst-adjust-adornment-work)
13615 (rst-arabic-to-roman, rst-roman-to-arabic)
13616 (rst-insert-list-pos, rst-insert-list-new-item)
13617 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13618 New functions.
13619
13620 (rst-all-sections, rst-section-hierarchy)
13621 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13622 New variables.
13623
13624 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13625 configuration instead of only buffer. Change where necessary.
13626
13627 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13628 (rst-shift-region, rst-adaptive-fill): New functions for
13629 indentation and filling.
13630
13631 (rst-comment-line-break, rst-comment-indent)
13632 (rst-comment-insert-comment, rst-comment-region)
13633 (rst-uncomment-region): New functions for handling comments.
13634
13635 (rst-compile): Quote shell arguments.
13636
13637 (rst-compile-pdf-preview, rst-compile-slides-preview):
13638 Delete temporary files after use.
13639
13640 2012-05-05 Glenn Morris <rgm@gnu.org>
13641
13642 * calendar/cal-html.el: Optionally include holidays in the output.
13643 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13644 (cal-html-holidays): New option.
13645 (cal-html-css-default): Add holiday entry.
13646 (holiday-in-range): Autoload it.
13647 (cal-html-htmlify-entry): Add optional class argument.
13648 (cal-html-htmlify-list): Add optional holidays argument.
13649 (cal-html-insert-agenda-days): Include holidays in the output.
13650 (cal-html-one-month): Maybe include holidays.
13651
13652 * calendar/holidays.el (holiday-in-range):
13653 Move here from cal-tex-list-holidays.
13654 * calendar/cal-tex.el (cal-tex-list-holidays):
13655 Make it an obsolete alias for holiday-in-range. Update all callers.
13656
13657 2012-05-05 Chong Yidong <cyd@gnu.org>
13658
13659 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13660 Nextstep.
13661
13662 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13663
13664 * files.el (file-auto-mode-skip): New var.
13665 (set-auto-mode-1): Use it.
13666
13667 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13668
13669 * repeat.el: Use lexical-binding.
13670 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13671 (repeat-undo-count): Remove.
13672 (repeat):
13673 * progmodes/octave-mod.el (octave-abbrev-start):
13674 * progmodes/f90.el (f90-abbrev-start):
13675 * face-remap.el (text-scale-adjust):
13676 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13677
13678 * emacs-lisp/pcase.el (pcase--let*): New function.
13679 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13680 a bit more.
13681 (pcase--split-pred): Be more clever about ruling out overlap between
13682 a predicate and some constant pattern.
13683 (pcase--q1): Use `null' instead of (eq foo nil).
13684
13685 * subr.el (setq-local, defvar-local): New macros.
13686 (kbd): Redefine as an alias.
13687 (with-selected-window): Leave unrelated frames alone.
13688 (set-temporary-overlay-map): New function.
13689
13690 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * subr.el (user-error): New function.
13693 * window.el (switch-to-buffer):
13694 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13695 (smerge-match-conflict):
13696 * simple.el (previous-matching-history-element)
13697 (next-matching-history-element, goto-history-element, undo-more)
13698 (undo-start):
13699 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13700 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13701 (next-file, tags-loop-scan, list-tags, complete-tag):
13702 * progmodes/compile.el (compilation-loop):
13703 * mouse.el (mouse-minibuffer-check):
13704 * man.el (Man-bgproc-sentinel, Man-goto-page):
13705 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13706 (Info-history-forward, Info-follow-reference, Info-menu)
13707 (Info-extract-menu-item, Info-extract-menu-counting)
13708 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13709 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13710 (Info-next-reference, Info-prev-reference, Info-index)
13711 (Info-index-next, Info-follow-nearest-node)
13712 (Info-copy-current-node-name):
13713 * imenu.el (imenu--make-index-alist)
13714 (imenu-default-create-index-function, imenu-add-to-menubar):
13715 * files.el (basic-save-buffer, recover-file):
13716 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13717 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13718 (checkdoc-message-text, checkdoc-defun):
13719 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13720 * cus-edit.el (customize-changed-options, customize-rogue)
13721 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13722 (custom-variable-mark-to-reset-standard)
13723 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13724 (custom-file):
13725 * completion.el (check-completion-length):
13726 * comint.el (comint-search-arg)
13727 (comint-previous-matching-input-string-position)
13728 (comint-previous-matching-input)
13729 (comint-replace-by-expanded-history-before-point, comint-send-input)
13730 (comint-copy-old-input, comint-backward-matching-input)
13731 (comint-goto-process-mark, comint-set-process-mark):
13732 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13733 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13734
13735 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13736
13737 * dabbrev.el (dabbrev--ignore-case-p): New function.
13738 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13739 Use it.
13740
13741 * files.el (automount-dir-prefix): Mark as obsolete.
13742
13743 2012-05-04 Glenn Morris <rgm@gnu.org>
13744
13745 * patcomp.el, play/bruce.el: Move to obsolete/.
13746
13747 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13748
13749 Fix minor Y10k bugs.
13750 * arc-mode.el (archive-unixdate):
13751 * autoinsert.el (auto-insert-alist):
13752 * calc/calc-forms.el (math-this-year):
13753 * emacs-lisp/copyright.el (copyright-current-year)
13754 (copyright-update-year, copyright):
13755 * tar-mode.el (tar-clip-time-string):
13756 * time.el (display-time-update):
13757 Don't assume years have 4 digits.
13758
13759 2012-05-04 Chong Yidong <cyd@gnu.org>
13760
13761 * dos-w32.el (file-name-buffer-file-type-alist)
13762 (direct-print-region-use-command-dot-com):
13763 * ffap.el (ffap-menu-regexp):
13764 * find-file.el (ff-special-constructs):
13765 * follow.el (follow-debug):
13766 * forms.el (forms--debug):
13767 * iswitchb.el (iswitchb-all-frames):
13768 * ido.el (ido-all-frames):
13769 * emacs-lisp/timer.el (timer-max-repeats):
13770 * mail/feedmail.el (feedmail-mail-send-hook)
13771 (feedmail-mail-send-hook-queued):
13772 * mail/footnote.el (footnote-signature-separator):
13773 * mail/mailabbrev.el (mail-alias-separator-string)
13774 (mail-abbrev-mode-regexp):
13775 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13776 * progmodes/idlwave.el (idlwave-libinfo-file)
13777 (idlwave-default-completion-case-is-down)
13778 (idlwave-library-routines): Convert defvars to defcustoms.
13779
13780 * mail/rmail.el (rmail-decode-mime-charset):
13781 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13782 (idlwave-shell-fix-inserted-breaks)
13783 (idlwave-shell-activate-alt-keybindings)
13784 (idlwave-shell-use-breakpoint-glyph):
13785 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13786
13787 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13790
13791 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13792
13793 * progmodes/verilog-mode.el (font-lock-keywords):
13794 Fix mis-highligting auto. Reported by Craig Barner.
13795 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13796 defines from global name space. Reported by Dan Dever.
13797 (verilog-auto-reset, verilog-auto-reset-widths)
13798 (verilog-auto-tieoff): Support using unbased numbers for
13799 AUTORESET and AUTOTIEOFF.
13800 (verilog-submit-bug-report): Update variable list.
13801 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13802 parenthesis from not matching. Reported by Michael Rytting.
13803 (verilog-auto-template-lint): Fix hash error when linting modules
13804 with no used templates.
13805 (verilog-warn, verilog-warn-error)
13806 (verilog-warn-fatal): When non-interactive report multiple
13807 warnings before exiting. Suggested by Brad Dobbie.
13808 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13809 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13810 to report unused template errors. Reported by Brad Dobbie.
13811 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13812 nets, bug438. Reported by Vns Blore.
13813 (verilog-auto-inout-module, verilog-auto-reg)
13814 (verilog-read-decls, verilog-read-sub-decls-sig)
13815 (verilog-signals-edit-wire-reg, verilog-signals-with):
13816 Fix passing of Verilog data types in ANSI input/output ports
13817 such as "output logic" into the AUTOs. Special case "wire" and
13818 "reg" for backwards compatibility presuming Verilog 2001.
13819 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13820 (verilog-preprocess): Fix replication of preprocess output.
13821 Reported by Brad Dobbie.
13822 (verilog-auto-inst-interfaced-ports):
13823 Create verilog-auto-inst-interfaced-ports, bug429.
13824 Reported by Julian Gorfajn.
13825 (verilog-after-save-font-hook)
13826 (verilog-before-save-font-hook): New variable.
13827 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13828 (verilog-save-font-mods): Wrap disabling fontification, reported
13829 by David Rogoff.
13830 (verilog-do-indent, verilog-pretty-declarations-auto)
13831 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13832 Reported by Pierre-David Pfister.
13833 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13834 of class declarations, bug292. Reported by Kevin Heilman.
13835 (verilog-read-decls): Fix 'parameter type' not appearing in
13836 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13837 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13838 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13839 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13840 Reported by David Kravitz.
13841
13842 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13843
13844 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13845 assignment with tests in ifs and for loops.
13846 (verilog-extended-complete-re, verilog-complete-reg): Change so
13847 that DPI inport functions don't look like fuction declarations.
13848 (verilog-pretty-expr): Don't line up assignment
13849 operations to the test and increment in if and for loops
13850 (verilog-extended-complete-re, verilog-complete-reg): Change so
13851 that DPI inport functions don't look like fuction declarations.
13852
13853 2012-05-03 Kenichi Handa <handa@m17n.org>
13854
13855 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13856 decoding, and show a warning message without signaling an error
13857 (Bug#11282).
13858
13859 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * emacs-lisp/bytecomp.el
13862 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13863 since cconv.el might have introduced :fun-body, internal-make-closure,
13864 and friends for bytecomp to handle (bug#11391).
13865 * custom.el (defcustom): Avoid ((λ ..) ..).
13866
13867 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13868
13869 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13870
13871 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13872
13873 * notifications.el (dbus-debug):
13874 * term/linux.el (gpm-mouse-enable):
13875 * term/screen.el (xterm-register-default-colors): Declare.
13876
13877 2012-05-02 Chong Yidong <cyd@gnu.org>
13878
13879 * cus-start.el (gc-cons-percentage, exec-suffixes)
13880 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13881 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13882 (make-cursor-line-fully-visible, void-text-area-pointer)
13883 (font-list-limit): Add customization data.
13884
13885 * allout.el (allout-exposure-change-functions)
13886 (allout-structure-added-functions)
13887 (allout-structure-deleted-functions)
13888 (allout-structure-shifted-functions): Rename abnormal hooks from
13889 *-hook, and convert to defcustoms.
13890 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13891 Convert to defcustoms.
13892 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13893
13894 * allout-widgets.el: Hook callers changed.
13895
13896 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13897
13898 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13899 the yanked message in preference to the default value of
13900 buffer-file-coding-system.
13901
13902 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13903
13904 * window.el (display-buffer--action-function-custom-type):
13905 Fix entry.
13906
13907 2012-05-02 Alan Mackenzie <acm@muc.de>
13908
13909 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13910
13911 2012-05-01 Glenn Morris <rgm@gnu.org>
13912
13913 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13914
13915 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13916
13917 * cus-edit.el (custom-variable-documentation): Simplify with format.
13918
13919 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13920 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * simple.el (suggest-key-bindings, execute-extended-command):
13923 Move from keyboard.c.
13924
13925 2012-05-01 Chong Yidong <cyd@gnu.org>
13926
13927 * follow.el: Eliminate advice.
13928 (set-process-filter, process-filter, sit-for): Advice deleted.
13929 (follow-mode-off-hook): Obsolete hook removed.
13930 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13931 Vars deleted.
13932 (follow-auto): Use a :set function.
13933 (follow-mode): Rewritten. Don't advise process filters.
13934 (follow-switch-to-current-buffer-all, follow-scroll-up)
13935 (follow-scroll-down): Assume follow-mode is bound.
13936 (follow-comint-scroll-to-bottom)
13937 (follow-align-compilation-windows): New functions.
13938 (follow--window-sorter): New function.
13939 (follow-all-followers): Use it to explicitly sort windows by their
13940 positions; don't make assumptions about next-window order.
13941 (follow-windows-start-end, follow-delete-other-windows-and-split)
13942 (follow-calc-win-start): Doc fix.
13943 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13944 vertical-motion unnecessarily.
13945 (follow-adjust-window): New function.
13946 (follow-post-command-hook): Use it.
13947 (follow-call-set-process-filter, follow-call-process-filter)
13948 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13949 (follow-stop-intercept-process-output, follow-generic-filter):
13950 Functions deleted.
13951 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13952 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13953 New functions, replacing advice on scroll-bar-* commands.
13954 (follow-mwheel-scroll): New function (Bug#4112).
13955
13956 * comint.el (comint-adjust-point): New function.
13957 (comint-postoutput-scroll-to-bottom): Use it.
13958 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13959
13960 2012-05-01 Glenn Morris <rgm@gnu.org>
13961
13962 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13963 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13964 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13965 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13966 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13967 Remove no-byte-compile setting.
13968
13969 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13972 all-completions code to not return a number in the last cdr.
13973
13974 2012-04-30 Leo Liu <sdl.web@gmail.com>
13975
13976 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13977 read-only error.
13978
13979 2012-04-29 Chong Yidong <cyd@gnu.org>
13980
13981 * follow.el (follow-calc-win-end): Rewrite to handle partial
13982 screen lines correctly (Bug#8390).
13983 (follow-avoid-tail-recenter): Minor cleanup.
13984
13985 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13986
13987 Avoid the obsolete `assoc' package.
13988 * speedbar.el (speedbar-refresh): Avoid adelete.
13989 (speedbar-file-lists): Simplify and avoid aput.
13990 * man.el (Man--sections, Man--refpages): New vars, replacing
13991 Man-sections-alist and Man-refpages-alist.
13992 (Man-build-section-alist, Man-build-references-alist):
13993 Use them; avoid aput.
13994 (Man--last-section, Man--last-refpage): New vars.
13995 (Man-follow-manual-reference): Use them.
13996 Use the `default' arg of completing-read.
13997 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13998
13999 2012-04-27 Chong Yidong <cyd@gnu.org>
14000
14001 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14002
14003 * startup.el (x-apply-session-resources): New function.
14004
14005 * term/ns-win.el (ns-initialize-window-system):
14006 * term/w32-win.el (w32-initialize-window-system):
14007 * term/x-win.el (x-initialize-window-system): Use it to properly
14008 set menu-bar-mode and other vars from X resources, even if the
14009 initial frame is not a window-system frame (Bug#2299).
14010
14011 * subr.el (read-key): Avoid running filter function when setting
14012 up temporary tool bar entries (Bug#9922).
14013
14014 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14015
14016 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14017 (Bug#11344)
14018
14019 2012-04-27 Chong Yidong <cyd@gnu.org>
14020
14021 * select.el (xselect--encode-string): New function, split from
14022 xselect-convert-to-string.
14023 (xselect-convert-to-string): Use it.
14024 (xselect-convert-to-filename, xselect-convert-to-os)
14025 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14026 returned strings are properly encoded (Bug#11315).
14027
14028 2012-04-27 Chong Yidong <cyd@gnu.org>
14029
14030 * simple.el (delete-active-region): Move to killing custom group.
14031
14032 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14033
14034 * progmodes/which-func.el (which-func-current): Quote %
14035 characters for mode-line processing.
14036
14037 2012-04-27 Chong Yidong <cyd@gnu.org>
14038
14039 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14040 reaching eob (Bug#11286).
14041
14042 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14043
14044 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14045 (gdb): Make it buffer-local and init to zero.
14046 (gdb-control-commands-regexp): New variable.
14047 (gdb-send): Don't wrap in "-interpreter-exec console" if
14048 gdb-control-level is positive. Increment gdb-control-level
14049 whenever the command matches gdb-control-commands-regexp, and
14050 decrement it each time the command is "end". (Bug#11279)
14051
14052 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14053
14054 * window.el (adjust-window-trailing-edge, enlarge-window)
14055 (shrink-window, window-resize):
14056 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14057 windows (Bug#11276).
14058
14059 2012-04-27 Chong Yidong <cyd@gnu.org>
14060
14061 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14062 fix "missing prefix" warning. All callers changed.
14063
14064 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * emacs-lisp/assoc.el: Move to obsolete/.
14067
14068 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14069
14070 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14071
14072 * term/ns-win.el (ns-define-service):
14073 * progmodes/pascal.el (pascal-goto-defun):
14074 * progmodes/js.el (js--read-tab):
14075 * progmodes/etags.el (tags-lazy-completion-table):
14076 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14077 * emacs-lisp/ewoc.el (ewoc--wrap):
14078 * emacs-lisp/assoc.el (aput, adelete, amake):
14079 * doc-view.el (doc-view-convert-current-doc):
14080 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14081
14082 2012-04-26 Chong Yidong <cyd@gnu.org>
14083
14084 * image.el (image-type-from-buffer): Only return supported image
14085 type (Bug#9045).
14086
14087 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14088 value, for symmetry with diff-end-of-hunk.
14089 (diff-split-hunk, diff-find-source-location)
14090 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14091 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14092 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14093 compute the relevant hunk or file properly (Bug#6005).
14094 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14095
14096 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14097
14098 * vc/vc-mtn.el:
14099 * vc/vc-hg.el:
14100 * vc/vc-git.el:
14101 * vc/vc-dir.el:
14102 * vc/vc-cvs.el:
14103 * vc/vc-bzr.el:
14104 * vc/vc-arch.el:
14105 * vc/vc.el: Replace lexical-let by lexical-binding.
14106 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14107 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14108 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14109
14110 2012-04-26 Chong Yidong <cyd@gnu.org>
14111
14112 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14113 (diff-mode-shared-map): Bind it to / and [remap undo].
14114
14115 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14116 (ediff-window-setup-function): Use it as the default, to set up
14117 windows based on whether the current frame is graphical (Bug#2138).
14118 (ediff-choose-window-setup-function-automatically): Make obsolete.
14119
14120 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14121
14122 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 * ffap.el: Remove old code for obsolete package.
14125 (ffap-complete-as-file-p): Remove.
14126
14127 Use completion-table-with-quoting for comint and pcomplete.
14128 * comint.el (comint--unquote&requote-argument)
14129 (comint--unquote-argument, comint--requote-argument): New functions.
14130 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14131 (comint-quote-filename): Use regexp-opt-charset.
14132 (comint--common-suffix, comint--common-quoted-suffix)
14133 (comint--table-subvert): Remove.
14134 (comint-unquote-function, comint-requote-function): New vars.
14135 (comint--complete-file-name-data): Use them with
14136 completion-table-with-quoting.
14137 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14138 * pcomplete.el (pcomplete-arg-quote-list)
14139 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14140 (pcomplete-unquote-argument-function): Default to non-nil.
14141 (pcomplete-unquote-argument): Simplify.
14142 (pcomplete--common-quoted-suffix): Remove.
14143 (pcomplete-requote-argument-function): New var.
14144 (pcomplete--common-suffix): New function.
14145 (pcomplete-completions-at-point): Use completion-table-with-quoting
14146 and completion-table-subvert.
14147
14148 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14149 (minibuffer--double-dollars): Preserve properties.
14150 (completion--sifn-requote): New function.
14151 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14152
14153 * minibuffer.el: Add support for completion of quoted/escaped data.
14154 (completion-table-with-quoting, completion-table-subvert): New funs.
14155 (completion--twq-try, completion--twq-all): New functions.
14156 (completion--nth-completion): New function.
14157 (completion-try-completion, completion-all-completions): Use it.
14158
14159 2012-04-25 Leo Liu <sdl.web@gmail.com>
14160
14161 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14162 Use compilation-message if available to find real filename.
14163
14164 2012-04-25 Chong Yidong <cyd@gnu.org>
14165
14166 * vc/diff-mode.el (diff-setup-whitespace): New function.
14167 (diff-mode): Use it.
14168
14169 * vc/diff.el (diff-sentinel):
14170 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14171 Whitespace mode variables based on diff style (Bug#8612).
14172
14173 2012-04-25 Leo Liu <sdl.web@gmail.com>
14174
14175 * progmodes/python.el (python-send-region): Add suffix .py to the
14176 temp file.
14177
14178 * files.el (auto-mode-alist): Use javascript-mode instead.
14179
14180 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14181
14182 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14183
14184 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14185 (soap-resolve-references-for-array-type): Hack to prevent self
14186 references, see Bug#9.
14187 (soap-parse-envelope): Report the contents of the 'detail' node
14188 when receiving a fault reply.
14189 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14190
14191 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14192 (soap-inspect-simple-type): New function.
14193
14194 * net/soap-client.el (soap-simple-type): New struct.
14195 (soap-default-xsd-types, soap-default-soapenc-types)
14196 (soap-decode-basic-type, soap-encode-basic-type):
14197 support unsignedInt and double basic types.
14198 (soap-resolve-references-for-simple-type)
14199 (soap-parse-simple-type, soap-encode-simple-type): New function.
14200 (soap-parse-schema): Parse xsd:simpleType declarations.
14201
14202 * net/soap-client.el (soap-default-xsd-types)
14203 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14204 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14205 the local name of "soapenc:Array".
14206 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14207 decoding integer, byte and anyURI xsd types.
14208
14209 2012-04-25 Chong Yidong <cyd@gnu.org>
14210
14211 * cus-edit.el (custom-buffer-create-internal): Update header text.
14212
14213 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14214
14215 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14216 settings on 'system-type', not on 'window-system'. On MS-Windows,
14217 set interactive-mode on in GDB.
14218
14219 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14220
14221 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14222 (ruby-syntax-propertize-regexp): Remove.
14223 (ruby-syntax-propertize-function): Split regexp into chunks.
14224 Match following code directly.
14225
14226 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14227
14228 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14229 (ruby-syntax-propertize-regexp): New function.
14230 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14231 by a special keyword.
14232
14233 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14234 (ruby-syntax-general-delimiters-goto-beg)
14235 (ruby-syntax-propertize-general-delimiters): New functions.
14236 (ruby-syntax-propertize-function): Use them to handle GDL.
14237 (ruby-font-lock-keywords): Move old handling of GDL...
14238 (ruby-font-lock-syntactic-keywords): .. to here.
14239 (ruby-calculate-indent): Adjust indentation for GDL.
14240
14241 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * notifications.el (top): Remove unneeded declarations.
14244 (notifications-specification-version): Change to "1.2".
14245 (notifications-interface, notifications-notify-method)
14246 (notifications-close-notification-method): Fix docstring.
14247 (notifications-get-capabilities-method): New defconst.
14248 (notifications-notify): Add :action-items, :resident and
14249 :transient hints. Change "image_data" to "image-data" and
14250 "image_path" to "image-path".
14251 (notifications-get-capabilities): New defun.
14252
14253 2012-04-24 Leo Liu <sdl.web@gmail.com>
14254
14255 * progmodes/python.el: Move hideshow setup to the end.
14256
14257 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14258
14259 * window.el (handle-select-window): Clear echo area since this is
14260 no more done by read_char (Bug#11304).
14261
14262 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14263
14264 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14265 and `/ M' to filter-derived-mode.
14266 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14267 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14268 (ibuffer-mark-by-mode): Use default rather than initial-input.
14269 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14270
14271 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14272
14273 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14274 (ibuffer-filter-by-derived-mode): New filter.
14275 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14276
14277 2012-04-23 Andreas Politz <politza@fh-trier.de>
14278
14279 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14280
14281 2012-04-23 Chong Yidong <cyd@gnu.org>
14282
14283 * cus-edit.el (customize-apropos, customize-apropos-options):
14284 Disable matching of non-option variables (Bug#11176).
14285 (customize-option, customize-option-other-window)
14286 (customize-changed-options): Doc fix.
14287 (customize-apropos-options, customize-apropos-faces)
14288 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14289
14290 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14291 Fix word list splitting (Bug#11132).
14292 (apropos-symbol, apropos-keybinding, apropos-label)
14293 (apropos-property, apropos-function-button)
14294 (apropos-variable-button, apropos-misc-button): New faces.
14295 (apropos-symbol-face, apropos-keybinding-face)
14296 (apropos-label-face, apropos-property-face, apropos-match-face):
14297 Variables removed (Bug#8396).
14298 (apropos-library-button, apropos-format-plist, apropos-print)
14299 (apropos-print-doc, apropos-describe-plist): Callers changed.
14300
14301 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14302
14303 * net/xesam.el (xesam-mode-map): Use let-bound map in
14304 initialization. (Bug#11292)
14305
14306 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14307
14308 Preserve ispell session localwords when switching back to
14309 original buffer.
14310
14311 * textmodes/ispell.el (ispell-buffer-session-localwords):
14312 New buffer-local variable to hold buffer session localwords.
14313 (ispell-kill-ispell): Add option 'clear to delete session
14314 localwords.
14315 (ispell-command-loop, ispell-change-dictionary)
14316 (ispell-buffer-local-words): Preserve session localwords when
14317 needed.
14318
14319 * textmodes/flyspell.el (flyspell-process-localwords)
14320 (flyspell-do-correct): Preserve session localwords when needed.
14321
14322 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14323
14324 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14325 using obsolete `translation-table-for-input'.
14326 (ispell-word, ispell-process-line, ispell-complete-word):
14327 Use plain `insert' instead of removed `ispell-insert-word'.
14328
14329 2012-04-22 Chong Yidong <cyd@gnu.org>
14330
14331 * cus-edit.el (custom-variable-menu)
14332 (custom-variable-reset-saved, custom-face-menu)
14333 (custom-face-reset-saved): If there is no saved value, make the
14334 "reset-saved" operation bring back the default (Bug#9509).
14335 (custom-face-state): Properly detect themed faces.
14336
14337 * faces.el (face-spec-set): Stop supporting deprecated form of
14338 third arg.
14339
14340 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14341
14342 Move functions from C to Lisp. Make non-blocking method calls
14343 the default. Implement further D-Bus standard interfaces.
14344
14345 * net/dbus.el (dbus-message-internal): Declare function.
14346 Remove unneeded function declarations.
14347 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14348 (dbus-message-type-method-return, dbus-message-type-error)
14349 (dbus-message-type-signal): Declare variables. Remove local
14350 definitions.
14351 (dbus-interface-dbus, dbus-interface-peer)
14352 (dbus-interface-introspectable, dbus-interface-properties)
14353 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14354 Adapt docstring.
14355 (dbus-interface-objectmanager): New defconst.
14356 (dbus-call-method, dbus-call-method-asynchronously)
14357 (dbus-send-signal, dbus-method-return-internal)
14358 (dbus-method-error-internal, dbus-register-service)
14359 (dbus-register-signal, dbus-register-method): New defuns, moved
14360 from dbusbind.c
14361 (dbus-call-method-handler, dbus-setenv)
14362 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14363 New defuns.
14364 (dbus-call-method-non-blocking): Make it an obsolete function.
14365 (dbus-unregister-object, dbus-unregister-service)
14366 (dbus-handle-event, dbus-register-property)
14367 (dbus-property-handler): Obey the new structure of
14368 `bus-registered-objects'.
14369 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14370 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14371 Use `dbus-call-method'.
14372
14373 2012-04-22 Chong Yidong <cyd@gnu.org>
14374
14375 * cus-edit.el (custom-commands, custom-reset-menu)
14376 (Custom-reset-standard): Tweak labels.
14377 (custom-reset-button-menu): Change default to t.
14378 (custom-buffer-create-internal): For the custom-reset-button-menu
14379 case, put the revert button first.
14380 (custom-group-subtitle): New face.
14381 (custom-group-value-create): Align docstring to a specific column.
14382
14383 * wid-edit.el (widget-documentation-link-add): Don't handle
14384 indentation in this function.
14385 (widget-documentation-string-indent-to): New function.
14386 (widget-documentation-string-value-create): Use it.
14387
14388 * autorevert.el (auto-revert):
14389 * epg-config.el (epg):
14390 * ibuffer.el (ibuffer):
14391 * mpc.el (mpc):
14392 * ses.el (ses):
14393 * eshell/eshell.el (eshell):
14394 * net/ange-ftp.el (ange-ftp):
14395 * progmodes/ebnf2ps.el (postscript):
14396 * progmodes/flymake.el (flymake):
14397 * progmodes/prolog.el (prolog):
14398 * progmodes/verilog-mode.el (verilog-mode):
14399 * progmodes/which-func.el (which-func):
14400 * term/xterm.el (xterm):
14401 * textmodes/picture.el (picture):
14402 * textmodes/tildify.el (tildify):
14403 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14404 customization buffers.
14405
14406 2012-04-22 Alan Mackenzie <acm@muc.de>
14407
14408 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14409 Adding a ) can hide the resulting (..) from searches. Fix it.
14410 Bound the backward search to the position of the existing (.
14411
14412 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14413
14414 * progmodes/verilog-mode.el (verilog-mode): Check whether
14415 which-func-modes is t before adding verilog-mode.
14416 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14417
14418 2012-04-21 Leo Liu <sdl.web@gmail.com>
14419
14420 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14421
14422 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14423
14424 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14425 filling of the last column of a table (Bug#5635).
14426 (woman-find-next-control-line): New arg, specifying an additional
14427 regexp component for the control line.
14428 (woman2-roff-buffer): Use it.
14429 (woman-break-table): New function.
14430 (woman2-TS): Use it.
14431
14432 2012-04-21 Chong Yidong <cyd@gnu.org>
14433
14434 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14435 (woman-horizontal-escapes, woman-negative-vertical-space)
14436 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14437 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14438
14439 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * minibuffer.el (completion-file-name-table): Complete user names.
14442
14443 2012-04-20 Leo Liu <sdl.web@gmail.com>
14444
14445 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14446 and pcase-let*.
14447
14448 2012-04-20 Chong Yidong <cyd@gnu.org>
14449
14450 * server.el (server-execute): Respect initial-buffer-choice if it
14451 is a string and there are no files to open (Bug#2825).
14452 (server-create-window-system-frame, server-create-tty-frame):
14453 Don't switch buffers here.
14454 (server-process-filter): Only try to open a window system frame if
14455 compiled with graphical support (Bug#8314).
14456
14457 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14458
14459 * battery.el (battery-echo-area-format): Display remaining time
14460 for sysfs backend too (Bug#11269).
14461 (battery-linux-sysfs): Fix conditional for the charge.
14462
14463 2012-04-20 Chong Yidong <cyd@gnu.org>
14464
14465 * progmodes/gdb-mi.el (gdb): Revert previous change.
14466 (gdb-inferior-io--init-proc): New function.
14467 (gdb-init-1): Use it.
14468 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14469 responsible for allocating a new pty and hooking it to gdb when
14470 the old pty gets an EIO due to process exit.
14471 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14472 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14473 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14474
14475 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14476
14477 * window.el (window-min-size, window-sizable, window-min-delta)
14478 (window-max-delta, window--resizable, window-resizable)
14479 (window-total-size, window-full-height-p, window-full-width-p)
14480 (window-in-direction, window--resize-mini-window, window-resize)
14481 (window--resize-child-windows-normal)
14482 (window--resize-child-windows, window--resize-siblings)
14483 (window--resize-this-window, adjust-window-trailing-edge)
14484 (enlarge-window, shrink-window): Doc fixes.
14485
14486 2012-04-20 Chong Yidong <cyd@gnu.org>
14487
14488 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14489 New function to call delete-process on the gdb-inferior buffer's pty.
14490 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14491 pty process (Bug#11273).
14492 (gdb-update): New arg to suppress talking to the gdb process.
14493 (gdb-done-or-error): Use it.
14494 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14495 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14496 sentinel not being called.
14497
14498 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14499
14500 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14501
14502 2012-04-20 Glenn Morris <rgm@gnu.org>
14503
14504 * net/network-stream.el (open-network-stream): Doc fix.
14505
14506 2012-04-20 Chong Yidong <cyd@gnu.org>
14507
14508 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14509
14510 2012-04-20 Alan Mackenzie <acm@muc.de>
14511
14512 Ensure searching for keywords is case sensitive.
14513
14514 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14515 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14516 (c-defun-name, c-mark-function, c-cpp-define-name)
14517 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14518 (c-context-line-break): Bind case-fold-search to nil.
14519
14520 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14521 Bind case-fold-search to nil.
14522
14523 2012-04-20 Chong Yidong <cyd@gnu.org>
14524
14525 * mail/sendmail.el (mail-bury): Call return action with the right
14526 Rmail buffer (Bug#11242).
14527
14528 * server.el (server-process-filter): Handle corner case where both
14529 tty and nowait options are present (Bug#11102).
14530
14531 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14532
14533 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14534 (top level): Put into the executable the ident-style '$Id:' tag on
14535 windows-nt as well.
14536
14537 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14538
14539 * electric.el (electric-indent-post-self-insert-function): Check that
14540 electric-indent-mode is enabled in current buffer.
14541
14542 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14543
14544 * imenu.el (imenu-progress-message): Restore; it is "used" in
14545 erc/erc-imenu.el and net/snmp-mode.el.
14546
14547 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14548
14549 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14550 (mouse-avoidance-nudge-mouse): Remove unused binding.
14551
14552 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14553
14554 * descr-text.el (describe-char):
14555 * progmodes/python.el (python-describe-symbol):
14556 Don't call `toggle-read-only', set `buffer-read-only'.
14557
14558 * imenu.el (imenu-default-goto-function): Mark unused args.
14559 (imenu-progress-message): Remove obsolete macro; all callers changed.
14560
14561 * subr.el (keymap-canonicalize): Remove unused binding.
14562 (read-passwd): Mark unused arg.
14563
14564 * tutorial.el (tutorial--display-changes): Remove unused binding.
14565 (tutorial--save-tutorial-to): Remove unused variable.
14566
14567 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14568 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14569 (package-generate-autoloads, package-menu--generate)
14570 (package-menu--find-upgrades): Remove unused bindings.
14571
14572 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14573 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14574 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14575 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14576 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14577 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14578 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14579 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14580 (cua-delete-char-rectangle): Mark unused args.
14581 (cua-align-rectangle): Remove unused binding.
14582
14583 * mail/rmail.el (compilation--message->loc)
14584 (epa--find-coding-system-for-mime-charset): Declare.
14585
14586 * net/dbus.el (dbus-register-service): Declare.
14587 (dbus-name-owner-changed-handler): Remove unused binding.
14588
14589 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14590 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14591 (nxml-scan-backward-within): Mark unused arg.
14592 (nxml-dynamic-markup-word): Remove unused binding.
14593
14594 * mouse.el (mouse-menu-major-mode-map):
14595 * emacs-lisp/authors.el (authors-scan-change-log)
14596 (authors-add-to-author-list):
14597 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14598 * emacs-lisp/smie.el (smie-auto-fill):
14599 * mail/sendmail.el (mail-bury):
14600 * mail/unrmail.el (unrmail):
14601 * net/tls.el (open-tls-stream):
14602 * textmodes/picture.el (picture-mouse-set-point):
14603 Remove unused bindings.
14604
14605 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14606
14607 * net/tramp.el (tramp-action-password): Let-bind
14608 `enable-recursive-minibuffers' to t.
14609
14610 2012-04-18 Sam Steingold <sds@gnu.org>
14611
14612 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14613 instead of 'string to accommodate values like [f11].
14614 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14615 * progmodes/gdb-mi.el: Likewise.
14616
14617 2012-04-18 Leo Liu <sdl.web@gmail.com>
14618
14619 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14620 current buffer.
14621 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14622 LOCAL is nil.
14623
14624 2012-04-18 Chong Yidong <cyd@gnu.org>
14625
14626 * simple.el (line-move): Use forward-line if in batch mode
14627 (Bug#11053).
14628
14629 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14630
14631 * files.el (after-find-file): Do not try to add a final newline if
14632 the buffer is read-only (Bug#11156).
14633
14634 2012-04-17 Richard Stallman <rms@gnu.org>
14635
14636 * mail/rmail.el (rmail-start-mail):
14637 Pass (rmail-mail-return...) for the return-action.
14638 Pass (rmail-yank-current-message...) for the yank-action.
14639 (rmail-yank-current-message): New function.
14640 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14641 (rmail-reply): Likewise.
14642 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14643
14644 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14645 buffer, not the last. Reject temp buffers. Use the rmail-mode
14646 buffer, not newbuf.
14647
14648 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14649
14650 * server.el (server-ensure-safe-dir): Simplify.
14651
14652 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14653
14654 * emacs-lisp/smie.el: Provide smarter auto-filling.
14655 (smie-auto-fill): New function.
14656 (smie-setup): Use it.
14657
14658 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14659
14660 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14661
14662 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14663 (comment-indent): Use it.
14664
14665 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14666
14667 * ses.el: The overall change is to add cell renaming, that is
14668 setting fancy names for cell symbols other than name matching
14669 "\\`[A-Z]+[0-9]+\\'" regexp .
14670 (ses-localvars): Add ses--renamed-cell-symb-list.
14671 (ses-create-cell-variable): New defun.
14672 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14673 (ses-relocate-formula): Relocate formulas only for cells the
14674 symbols of which are not renamed, i.e. symbols whose names do not
14675 match regexp "\\`[A-Z]+[0-9]+\\'".
14676 (ses-relocate-all): Relocate values only for cells the symbols of
14677 which are not renamed.
14678 (ses-load): Create cells variables as the (ses-cell ...) are read,
14679 in order to check row col consistency with cell symbol name only
14680 for cells that are not renamed.
14681 (ses-replace-name-in-formula): New defun.
14682 (ses-rename-cell): New defun.
14683
14684 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14685
14686 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14687 New option (bug#11118).
14688 (perl-calculate-indent): Respect it.
14689
14690 2012-04-17 Glenn Morris <rgm@gnu.org>
14691
14692 * dired-aux.el (dired-mark-read-string): Doc fix.
14693
14694 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14695
14696 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14697 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14698
14699 2012-04-17 Glenn Morris <rgm@gnu.org>
14700
14701 * mouse.el (mouse-drag-track):
14702 * speedbar.el (speedbar-frame-mode):
14703 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14704
14705 2012-04-16 Leo Liu <sdl.web@gmail.com>
14706
14707 * progmodes/python.el: Trivial cleanup.
14708
14709 2012-04-16 Glenn Morris <rgm@gnu.org>
14710
14711 * vc/vc.el (vc-string-prefix-p):
14712 * vc/pcvs-util.el (cvs-string-prefix-p):
14713 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14714 * mpc.el (mpc-string-prefix-p):
14715 Make all of these into obsolete aliases for string-prefix-p.
14716 Update callers.
14717 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14718
14719 * textmodes/two-column.el: Move custom options to the start.
14720 (frame-width): Remove compat definition.
14721 (2C-associate-buffer, 2C-dissociate):
14722 Use with-current-buffer rather than save-excursion.
14723 (2C-dissociate): Force a mode-line update.
14724 (2C-autoscroll): Use ignore-errors.
14725
14726 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14727 Autoload trivia.
14728
14729 * emacs-lisp/cl-extra.el (*random-state*):
14730 Remove unnecessary declaration.
14731
14732 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14733
14734 * play/cookie1.el (cookie-snarf):
14735 Give an explicit error if input file cannot be read.
14736
14737 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14738
14739 * progmodes/perl-mode.el (c-macro-expand):
14740 Remove unnecessary autoload (it is in loaddefs.el).
14741
14742 * textmodes/picture.el (picture-desired-column)
14743 (picture-update-desired-column): Convert comments to doc-strings.
14744 (picture-substitute): Remove function.
14745 (picture-mode-map): Initialize in the defvar.
14746
14747 * woman.el: Remove eval-after-load for tar-mode.
14748 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14749 (woman-tar-extract-file): Autoload it.
14750
14751 * frame.el (automatic-hscrolling): Make this alias obsolete.
14752
14753 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14754
14755 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14756 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14757 (ispell-dictionary-base-alist): Revert to original XEmacs
14758 friendly version for default. [:alpha:] will be added in
14759 `ispell-set-spellchecker-params' if needed.
14760
14761 2012-04-16 Chong Yidong <cyd@gnu.org>
14762
14763 * image.el (imagemagick--file-regexp): New variable.
14764 (imagemagick-register-types): Use it.
14765 (imagemagick-types-inhibit): Add :set function. Allow new value
14766 of t to inhibit all types.
14767
14768 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14769 so we can preload it.
14770
14771 * loadup.el (fboundp): Preload regexp-opt, needed by
14772 imagemagick-register-types.
14773
14774 2012-04-15 Chong Yidong <cyd@gnu.org>
14775
14776 * frame.el (scrolling): Remove nearly unused customization group.
14777
14778 * scroll-all.el (scroll-all-mode): Move to windows group.
14779
14780 2012-04-15 Chong Yidong <cyd@gnu.org>
14781
14782 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14783
14784 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14785
14786 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14787 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14788
14789 2012-04-15 Glenn Morris <rgm@gnu.org>
14790
14791 * simple.el (process-file-side-effects): Doc fix.
14792
14793 2012-04-15 Glenn Morris <rgm@gnu.org>
14794
14795 * international/mule-cmds.el (set-language-environment): Doc fix.
14796
14797 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14798
14799 * server.el (server-auth-key, server-generate-key): Doc fixes.
14800 (server-get-auth-key): Doc fix. Use `string-match-p'.
14801 (server-start): Reflow docstring.
14802
14803 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14804
14805 * server.el (server-generate-key): `called-interactively-p'
14806 requires a parameter.
14807
14808 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14809
14810 * server.el (server-auth-key): New variable.
14811 (server-generate-key, server-get-auth-key): New function.
14812 (server-start): Use the new variable and functions to allow
14813 setting a permanent server key (bug#9423).
14814
14815 2012-04-14 Leo Liu <sdl.web@gmail.com>
14816
14817 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14818
14819 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14820
14821 Spelling fixes.
14822 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14823 Emacs uses American spelling.
14824
14825 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14826
14827 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14828 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14829 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14830 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14831
14832 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14833
14834 * progmodes/which-func.el (which-func-modes): Change default.
14835
14836 2012-04-14 Kim F. Storm <storm@cua.dk>
14837
14838 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14839 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14840
14841 2012-04-14 Chong Yidong <cyd@gnu.org>
14842
14843 * custom.el (custom-theme-set-variables): Doc fix.
14844
14845 2012-04-14 Glenn Morris <rgm@gnu.org>
14846
14847 * international/mule.el (set-auto-coding-for-load): Doc fix.
14848
14849 2012-04-14 Alan Mackenzie <acm@muc.de>
14850
14851 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14852 imenu work again for Objective C Mode. Correct the *-index values,
14853 these having been disturbed by a previous change in 2011-08.
14854
14855 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14856 Correct two search limits.
14857
14858 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14861
14862 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14863
14864 * international/characters.el: Fix sorting.
14865
14866 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14867
14868 * international/characters.el: Add more missing Latin case pairs.
14869
14870 2012-04-14 Glenn Morris <rgm@gnu.org>
14871
14872 * files.el (dir-locals-set-class-variables): Doc fix.
14873
14874 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14875
14876 * international/characters.el: Add set-case-syntax-pair call for
14877 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14878 counterpart. (Bug#11209)
14879
14880 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14881
14882 2012-04-14 Glenn Morris <rgm@gnu.org>
14883
14884 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14885
14886 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14887
14888 * textmodes/ispell.el (ispell-dictionary-base-alist):
14889 Add data for Hebrew.
14890
14891 2012-04-14 Chong Yidong <cyd@gnu.org>
14892
14893 * net/rcirc.el (rcirc-cmd-quit):
14894 Revert 2012-03-18 change (Bug#11192).
14895
14896 2012-04-14 Glenn Morris <rgm@gnu.org>
14897
14898 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14899
14900 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14901
14902 * minibuffer.el (completion-in-region-mode-map):
14903 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14904
14905 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14906
14907 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14908
14909 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14910
14911 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14912 to allow `C-M-f' and `C-M-b' to move to the nearest path
14913 separator (bug#9511).
14914
14915 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14916
14917 * avoid.el: Require cl when compiling. And also move the
14918 `provide' to the end.
14919
14920 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14921
14922 * avoid.el (mouse-avoidance-banish-position): New variable.
14923 (mouse-avoidance-banish-destination): Use it (bug#10165).
14924
14925 2012-04-13 Leo Liu <sdl.web@gmail.com>
14926
14927 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14928
14929 2012-04-13 Ken Brown <kbrown@cornell.edu>
14930
14931 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14932 this is no longer needed now that cygstart understands file:// URLs.
14933 (browse-url-filename-alist): For the same reason, don't modify
14934 file:// URLs on Cygwin.
14935
14936 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14937
14938 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14939 the region on shift if the binding is already shifted (bug#11221).
14940
14941 2012-04-12 Glenn Morris <rgm@gnu.org>
14942
14943 * mail/mailpost.el: Move to obsolete/.
14944
14945 2012-04-12 Drew Adams <drew.adams@oracle.com>
14946
14947 * imenu.el (imenu--generic-function): Ignore invisible definitions
14948 (bug#10123).
14949
14950 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14951
14952 * hexl.el (hexl-bits): New variable.
14953 (hexl-options): Mention the variable in the doc string.
14954 (hexl-rulerise, hexl-line-displen): New functions.
14955 (hexl-mode): Mention the new variable.
14956 (hexl-mode, hexl-current-address, hexl-current-address):
14957 Use the displen.
14958 (hexl-ascii-start-column): New function.
14959 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14960 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14961
14962 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14963
14964 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14965 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14966 the encoding, as expected by hunspell.
14967
14968 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * battery.el (battery--linux-sysfs-regexp): New const.
14971 (battery-status-function): Use it. Remove yeeloong special case.
14972 (battery-yeeloong-sysfs): Remove.
14973 (battery-echo-area-format): Remove yeeloong special case.
14974
14975 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14976
14977 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14978 Reported by Noah Friedman.
14979
14980 * subr.el (read-passwd): Use read-string.
14981
14982 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14983
14984 * vcursor.el (vcursor-move): Increase the priority of the overlay
14985 (bug#9663).
14986
14987 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14988
14989 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14990 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14991
14992 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14993
14994 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14995 define-minor-mode (bug#10760).
14996
14997 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14998
14999 * progmodes/grep.el (rgrep): Tweak the find command line so
15000 that directories matching `grep-find-ignored-files' won't be
15001 pruned (bug#10351).
15002
15003 2012-04-11 Chong Yidong <cyd@gnu.org>
15004
15005 * startup.el (command-line): Remove support for long-obsolete
15006 variable font-lock-face-attributes.
15007
15008 2012-04-11 Glenn Morris <rgm@gnu.org>
15009
15010 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15011
15012 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15013
15014 * window.el (window--state-get-1): Obey window-point-insertion-type.
15015
15016 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15017
15018 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15019 to previous function when point is on the first character of a
15020 function. Take care of that in `narrow-to-defun' (bug#6157).
15021
15022 2012-04-11 Glenn Morris <rgm@gnu.org>
15023
15024 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15025 not just file-errors.
15026
15027 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15028 (vc-bzr-sha1): Use internal sha1.
15029
15030 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15031
15032 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15033
15034 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15035
15036 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15037 that start in the middle of the line (bug#10496).
15038
15039 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15040
15041 * battery.el (battery-linux-proc-acpi): Only one battery is
15042 discharged at a time, but that seems to confuse battery.el when
15043 computing `rate-type' for the battery not being discharged
15044 (bug#10332).
15045
15046 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15047
15048 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15049
15050 * international/quail.el: Use dolist and simplify.
15051 (quail-define-package, quail-update-keyboard-layout)
15052 (quail-define-rules): Use dolist.
15053 (quail-insert-kbd-layout, quail-get-translation): CSE.
15054
15055 * tmm.el: Use dolist, remove left over hook.
15056 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15057 Use dolist.
15058 (calendar-load-hook): Don't mess with it.
15059
15060 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15061 Use derived-mode-p. Run the diff asynchronously.
15062
15063 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15064
15065 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15066
15067 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15068
15069 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15070 (list-dynamic-libraries--loaded): New function.
15071 (list-dynamic-libraries--refresh): Use it.
15072
15073 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15074
15075 * progmodes/python.el (python-fill-paragraph):
15076 Make python-fill-region in a multiline string work when font-lock is
15077 disabled (bug#7018).
15078
15079 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
15080
15081 * language/european.el (cp775): Add oem/legacy (en)coding on
15082 DOS/MS Windows for the Baltic languages. There are still plenty
15083 of texts written in this encoding/codepage (bug#6519).
15084
15085 2012-04-10 Glenn Morris <rgm@gnu.org>
15086
15087 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15088 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15089
15090 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15091
15092 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15093 next-line "n" and previous-line "p" in order to make recentf more
15094 consistent with ibuffer, dired or org-mode (bug#9387).
15095
15096 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15097
15098 * image.el (put-image): Return the overlay created instead of the
15099 optional input string (bug#7834). Note that this may break code
15100 that is (for some reason or other) depending on `put-image'
15101 returning the string.
15102
15103 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15104
15105 * simple.el (zap-to-char): Allow zapping using input methods
15106 (bug#1580).
15107
15108 * textmodes/fill.el (fill-region): Leave point and mark where they
15109 were before filling (bug#5399).
15110
15111 2012-04-09 Glenn Morris <rgm@gnu.org>
15112
15113 * version.el (emacs-bzr-get-version):
15114 Handle lightweight checkouts of local branches.
15115
15116 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15117
15118 * international/characters.el: Recover lost case pairs. (Bug#11209)
15119
15120 2012-04-09 Chong Yidong <cyd@gnu.org>
15121
15122 * custom.el (custom-variable-p): Return nil for non-symbol
15123 arguments instead of signaling an error.
15124 (user-variable-p): Obsolete alias for custom-variable-p.
15125
15126 * apropos.el (apropos-variable):
15127 * files-x.el (read-file-local-variable):
15128 * simple.el (set-variable):
15129 * woman.el (woman-mini-help):
15130 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15131
15132 2012-04-09 Glenn Morris <rgm@gnu.org>
15133
15134 * startup.el (normal-top-level): Don't look for leim-list.el
15135 in places where it will not be found. (Bug#910)
15136
15137 * international/mule-cmds.el (set-default-coding-systems):
15138 * files.el (normal-mode):
15139 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15140 This function was removed with ucs-tables.el in 2008.
15141
15142 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15143
15144 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15145 ispell-encoding8-command to "-i", without a trailing space.
15146 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15147 separate command-line arguments, to specify the encoding, since
15148 that's how hunspell expects it.
15149
15150 2012-04-08 Glenn Morris <rgm@gnu.org>
15151
15152 * loadup.el: Load bindings before cus-start.
15153 This reduces somewhat the number of "rogue" settings in emacs -Q.
15154
15155 2012-04-07 Glenn Morris <rgm@gnu.org>
15156
15157 * version.el (emacs-bzr-get-version): New function.
15158 (emacs-bzr-version): New variable.
15159 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15160 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15161
15162 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15163
15164 * international/uni-bidi.el, international/uni-category.el:
15165 * international/uni-combining.el, international/uni-decimal.el:
15166 * international/uni-decomposition.el, international/uni-digit.el:
15167 * international/uni-lowercase.el, international/uni-mirrored.el:
15168 * international/uni-name.el, international/uni-numeric.el:
15169 * international/uni-titlecase.el, international/uni-uppercase.el:
15170 Update for Unicode 6.1.
15171
15172 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15173
15174 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15175
15176 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15177
15178 * window.el (shrink-window): Mention the `window-min-height'
15179 variable in the doc string.
15180
15181 2012-04-05 Bastien Guerry <bzg@altern.org>
15182
15183 * color.el (color-lighten-name): Fix typo.
15184
15185 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * server.el (server--on-display-p): New function.
15188 (server--on-display-p): Use it.
15189
15190 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15191
15192 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15193 (bug#11145).
15194
15195 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15196
15197 * comint.el (comint--common-quoted-suffix): Check string boundary
15198 before comparing (bug#11158).
15199 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15200
15201 2012-04-04 Chong Yidong <cyd@gnu.org>
15202
15203 * minibuffer.el (completion-extra-properties): Doc fix.
15204
15205 * subr.el (delayed-warnings-hook): Doc fix.
15206
15207 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15208
15209 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15210 selection (Bug#11159).
15211 (epa-insert-keys): Inform that the default public key will be
15212 exported if no key is selected.
15213
15214 2012-04-04 Richard Stallman <rms@gnu.org>
15215
15216 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15217
15218 2012-04-03 Chong Yidong <cyd@gnu.org>
15219
15220 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15221 mail-insert-file, not its obsolete alias mail-attach-file.
15222
15223 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15224
15225 * notifications.el (notifications-notify): Fix docstring.
15226
15227 2012-04-02 Glenn Morris <rgm@gnu.org>
15228
15229 * emacs-lisp/authors.el (authors-aliases): Another addition.
15230
15231 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15232
15233 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15234 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15235 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15236
15237 2012-04-01 Chong Yidong <cyd@gnu.org>
15238
15239 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15240 Handle root directory properly.
15241 (copy-directory): Caller changed.
15242
15243 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15244 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15245
15246 2012-03-31 Glenn Morris <rgm@gnu.org>
15247
15248 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15249
15250 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15251
15252 * calendar/calendar.el (calendar-window-list)
15253 (calendar-hide-window): Restore. (Bug#11140)
15254 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15255
15256 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15257
15258 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15259
15260 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15261 Check if file is a symlink (Bug#10489).
15262
15263 * files.el (copy-directory): Likewise.
15264
15265 2012-03-30 Chong Yidong <cyd@gnu.org>
15266
15267 * image.el (imagemagick-types-inhibit)
15268 (imagemagick-register-types): Doc fix.
15269
15270 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15271
15272 * textmodes/ispell.el (ispell-get-extended-character-mode):
15273 Disable extended-char-mode for hunspell. hunspell does not support it
15274 and treats ~word as ordinary words in pipe mode.
15275
15276 2012-03-30 Glenn Morris <rgm@gnu.org>
15277
15278 * tutorial.el (help-with-tutorial): Ensure local variables don't
15279 happen to make the buffer read-only. (Bug#11127)
15280
15281 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15284 (perl-calculate-indent): Return `noindent' in strings.
15285
15286 2012-03-28 Sam Steingold <sds@gnu.org>
15287
15288 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15289 instead of the broken adhockery which does not prevent calendar
15290 buffers from being displayed at random after exit.
15291 (calendar-window-list, calendar-hide-window): Remove the broken
15292 adhockery.
15293
15294 2012-03-28 Glenn Morris <rgm@gnu.org>
15295
15296 * replace.el (query-replace-map): Doc fix.
15297
15298 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15299
15300 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15301 contents. (Bug#11109)
15302
15303 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15304
15305 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15306 (bug#11077).
15307 (avl-tree--check, avl-tree--check-node): New funs.
15308
15309 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15310
15311 * window.el (switch-to-visible-buffer): New option.
15312 (switch-to-prev-buffer, switch-to-next-buffer):
15313 Observe switch-to-visible-buffer. Make sure that checking for a window
15314 showing a buffer already is done on the same frame.
15315
15316 2012-03-27 Glenn Morris <rgm@gnu.org>
15317
15318 * startup.el (mail-host-address): Doc fix.
15319
15320 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15323 than 197 variables.
15324
15325 2012-03-26 Ami Fischman <ami@fischman.org>
15326
15327 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15328
15329 2012-03-26 Glenn Morris <rgm@gnu.org>
15330
15331 * files.el (save-buffers-kill-emacs): Doc fix.
15332
15333 * startup.el (normal-top-level, command-line, command-line-1):
15334 Give them doc strings.
15335
15336 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15337
15338 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15339 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15340
15341 2012-03-25 Chong Yidong <cyd@gnu.org>
15342
15343 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15344 theme if it was previously enabled before (Bug#11031).
15345
15346 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15347 spec with custom-face-get-current-spec if its :shown-value is not
15348 determined yet (Bug#9337).
15349 (customize-create-theme, custom-theme-revert): Doc fixes.
15350
15351 * button.el (button-at): Minor addition to docstring.
15352
15353 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15354
15355 * vc/vc.el (vc-merge): Fix a prompt.
15356
15357 2012-03-24 Chong Yidong <cyd@gnu.org>
15358
15359 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15360 point (Bug#9623).
15361
15362 * button.el (button-at): Minor addition to docstring.
15363
15364 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15365
15366 * newcomment.el (comment-choose-indent): No space after BOL.
15367
15368 2012-03-22 Sam Steingold <sds@gnu.org>
15369
15370 * window.el (switch-to-prev-buffer): Revert last patch because the
15371 bug turned out to be an advertised feature (Elisp manual 28.14).
15372
15373 2012-03-22 Glenn Morris <rgm@gnu.org>
15374
15375 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15376 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15377
15378 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15379
15380 * net/network-stream.el (network-stream-open-starttls): Make error
15381 message under Windows be less misleading.
15382
15383 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15384
15385 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15386 understands (bug#9942).
15387
15388 2012-03-22 Chong Yidong <cyd@gnu.org>
15389
15390 * simple.el (end-of-visible-line): Handle return value of
15391 next-single-property-change properly (Bug#9371).
15392
15393 2012-03-22 Kenichi Handa <handa@m17n.org>
15394
15395 * international/quail.el (quail-insert-kbd-layout): Fix previous
15396 change. To avoid unwanted bidi reordering, use
15397 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15398
15399 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15400
15401 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15402 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15403 (ruby-beginning-of-indent): Be more careful with the difference
15404 between word-boundary and symbol boundary.
15405 (ruby-mode-syntax-table): Make : a symbol constituent.
15406
15407 2012-03-21 Andreas Politz <politza@fh-trier.de>
15408
15409 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15410
15411 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15412
15413 * progmodes/etags.el (tags-completion-at-point-function):
15414 Improve last fix.
15415
15416 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15417
15418 2012-03-21 Sam Steingold <sds@gnu.org>
15419
15420 * progmodes/etags.el (tags-completion-at-point-function):
15421 Avoid the error when point is inside the pattern.
15422
15423 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15424
15425 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15426 line (Bug#10855).
15427
15428 2012-03-21 Drew Adams <drew.adams@oracle.com>
15429
15430 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15431
15432 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15433
15434 * ido.el (ido-set-current-directory, ido-read-internal)
15435 (ido-choose-completion-string, ido-completion-help): Handle nil
15436 value of ido-completion-buffer (Bug#11008).
15437
15438 2012-03-21 Sam Steingold <sds@gnu.org>
15439
15440 * window.el (switch-to-prev-buffer): Do not switch to a visible
15441 window previous buffer, just like with the frame previous buffers.
15442
15443 2012-03-21 Chong Yidong <cyd@gnu.org>
15444
15445 * faces.el (make-face, make-empty-face, copy-face):
15446 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15447 Doc fixes.
15448
15449 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15450
15451 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15452 (widget-complete): Remove broken use of it.
15453
15454 2012-03-20 Chong Yidong <cyd@gnu.org>
15455
15456 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15457 Use string-width and truncate-string-width to handle arbitrary
15458 characters.
15459
15460 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15461
15462 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15463 to draw rectangles, not squares. (Regression introduced by revno
15464 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15465
15466 2012-03-18 Chong Yidong <cyd@gnu.org>
15467
15468 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15469 it is not yet defined (for temacs).
15470
15471 2012-03-18 Leo Liu <sdl.web@gmail.com>
15472
15473 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15474 prefix.
15475
15476 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15477
15478 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15479 (ispell-choices-win-default-height, ispell-silently-savep)
15480 (ispell-dictionary-alist, ispell-encoding8-command)
15481 (ispell-check-version, ispell-aspell-find-dictionary)
15482 (ispell-valid-dictionary-list, ispell-words-keyword)
15483 (ispell-get-word, ispell-internal-change-dictionary)
15484 (ispell-region, ispell-skip-region-list)
15485 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15486 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15487 (ispell-message-text-end, ispell-message)
15488 (ispell-buffer-local-parsing): Doc fix.
15489
15490 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15491
15492 * htmlfontify.el: Add support for code block fontification for ODT
15493 export (Bug #9914).
15494 (hfy-optimisations): Define new option
15495 `body-text-only'
15496 (hfy-fontify-buffer): Honor above setting.
15497 (hfy-begin-span, hfy-end-span): New routines factored out form
15498 `hfy-fontify-buffer'.
15499 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15500 that permit insertion of custom tags.
15501 (hfy-fontify-buffer): Use above handlers.
15502 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15503 (hfy-face-to-css): Re-defined to be a variable.
15504 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15505 over multiple runs. This is made possible by having the caller let
15506 bind a special variable `hfy-user-sheet-assoc'.
15507 (htmlfontify-string): New defun.
15508 (hfy-compile-face-map): Make sure that the last char in the
15509 buffer is correctly fontified.
15510 (hfy-face-resolve-face): Whitespace only change.
15511
15512 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15513
15514 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15515 message more clear.
15516
15517 2012-03-16 Leo Liu <sdl.web@gmail.com>
15518
15519 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15520
15521 2012-03-16 Alan Mackenzie <acm@muc.de>
15522
15523 Further optimize the handling of large macros.
15524
15525 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15526 limit to a call of `c-literal-limits'.
15527 (c-determine-+ve-limit): New function.
15528 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15529 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15530 In CASE 5B, restrict a search limit to 500.
15531 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15532
15533 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15534 Restrict macro bounds to +-500 from after-change's BEG END.
15535
15536 2012-03-16 Leo Liu <sdl.web@gmail.com>
15537
15538 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15539
15540 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15541
15542 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15543 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15544
15545 2012-03-16 Glenn Morris <rgm@gnu.org>
15546
15547 * view.el (view-buffer, view-buffer-other-window)
15548 (view-buffer-other-frame): Doc fixes re special mode-class.
15549
15550 * subr.el (eval-after-load): If named feature is provided not from
15551 a file, run after-load forms. (Bug#10946)
15552
15553 * calendar/calendar.el (calendar-insert-at-column):
15554 Handle non-unit-width characters a bit better. (Bug#10978)
15555
15556 2012-03-15 Chong Yidong <cyd@gnu.org>
15557
15558 * emacs-lisp/ring.el (ring-extend): New function.
15559 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15560
15561 * comint.el (comint-read-input-ring)
15562 (comint-add-to-input-history): Grow comint-input-ring lazily.
15563
15564 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15567 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15568
15569 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15570 (imenu-add-to-menubar): Don't add a redundant index.
15571 (imenu-update-menubar): Handle a dynamically composed keymap.
15572
15573 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15574
15575 * mail/sendmail.el (mail-encode-header):
15576 Bind rfc2047-encode-encoded-words to nil.
15577
15578 2012-03-13 Glenn Morris <rgm@gnu.org>
15579
15580 * calendar/calendar.el (calendar-string-spread):
15581 Handle non-unit-width characters a bit better. (Bug#10978)
15582
15583 2012-03-13 Leo Liu <sdl.web@gmail.com>
15584
15585 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15586 directory and file as argument (Bug#10822).
15587
15588 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15589
15590 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15591 For dynamically generated code, follow $PC.
15592 (gdb-disassembly-handler-custom): Handle no function name case.
15593
15594 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15595
15596 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15597 * emulation/ws-mode.el (ws-query-replace):
15598 * sort.el (sort-regexp-fields):
15599 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15600
15601 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15602
15603 * dabbrev.el: Fix cycle completion order (bug#10963).
15604 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15605 (dabbrev-completion): Don't use an obarray; provide
15606 a cycle-sort-function.
15607
15608 2012-03-12 Leo Liu <sdl.web@gmail.com>
15609
15610 * simple.el (kill-new): Use equal-including-properties for comparison.
15611 (kill-do-not-save-duplicates): Doc fix.
15612
15613 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15614
15615 * dabbrev.el: Fix cycle completion (bug#10963).
15616 Use lexical binding and wrap to 80 columns.
15617 (dabbrev-completion): Delay computing the list of completions.
15618
15619 2012-03-12 Kenichi Handa <handa@m17n.org>
15620
15621 * international/quail.el (quail-insert-kbd-layout): Surround each
15622 row by LRO and PDF instead of inserting many LRMs. Pad the left
15623 and right of each non-spacing marks. Insert invisible space
15624 between lower and upper characters to prevent composition.
15625
15626 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 * minibuffer.el (minibuffer-complete): Don't get confused when the
15629 function is run twice via different commands (bug#10958).
15630 (complete-with-action): Fix docstring.
15631
15632 2012-03-12 Chong Yidong <cyd@gnu.org>
15633
15634 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15635 (nxml-completion-at-point-function): New function.
15636 (nxml-mode): Use it.
15637 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15638
15639 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15640 Load generated autoloads file before byte compiling (Bug#10970).
15641 (package--make-autoloads-and-compile): New helper fun.
15642
15643 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15644
15645 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15646
15647 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15648
15649 * autorevert.el (auto-revert-handler): Ensure, that
15650 file-readable-p is applied only for local files or in
15651 auto-revert-tail-mode.
15652
15653 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15654
15655 * server.el (server-eval-at): Handle non-tcp connections.
15656 Decode result string.
15657
15658 * server.el (server-msg-size): New constant.
15659 (server-reply-print): New function.
15660 (server-eval-and-print): Use it.
15661 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15662 Handle -print-nonl.
15663
15664 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15665
15666 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15667 (Bug#10987).
15668
15669 2012-03-11 Chong Yidong <cyd@gnu.org>
15670
15671 * simple.el (goto-line): Doc fix (Bug#9938).
15672
15673 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15674
15675 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15676 when finished (Bug#10963).
15677
15678 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15679
15680 * window.el (split-window-below): Fix bug in case where
15681 split-window-keep-point is nil (Bug#10971).
15682
15683 2012-03-11 Juri Linkov <juri@jurta.org>
15684
15685 * replace.el (replace-highlight): Set isearch-word to nil
15686 unconditionally. (Bug#10887)
15687
15688 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15689
15690 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15691 mairix-replace-illegal-chars; all callers changed. Don't remove
15692 ^, ~, and = characters: they are meaningful in mairix search specs.
15693 (mairix-widget-create-query): Add usage information about mairix
15694 search forms: negating words, searching for substrings, etc.
15695
15696 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15697
15698 * international/fontset.el (font-encoding-alist): Add an entry for
15699 ksx1001 (Bug#5667).
15700
15701 2012-03-10 Richard Stallman <rms@gnu.org>
15702
15703 * mail/sendmail.el (mail-encode-header):
15704 Set rfc2047-encode-encoded-words.
15705
15706 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15707
15708 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15709 view buffer means not swapped.
15710 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15711 (rmail-write-region-annotate): Error if real text has disappeared.
15712
15713 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15714
15715 2012-03-10 Chong Yidong <cyd@gnu.org>
15716
15717 * emulation/cua-rect.el (cua--init-rectangles):
15718 * emulation/cua-base.el (cua--init-keymaps):
15719 Add delete-forward-char to remappings (Bug#9666).
15720
15721 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15722
15723 * speedbar.el (speedbar-unhighlight-one-tag-line):
15724 Avoid unhighlighting due to frame switching (Bug#10275).
15725
15726 2012-03-10 Chong Yidong <cyd@gnu.org>
15727
15728 * minibuffer.el (completion-in-region, completion-help-at-point):
15729 Give the completion field overlay a high priority (Bug#6830).
15730
15731 * dired.el (dired-goto-file): Recognize absolute file name
15732 listings (Bug#7126).
15733 (dired-goto-file-1): New helper function.
15734 (dired-toggle-read-only): Inhibit warnings.
15735
15736 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15737
15738 * net/dbus.el (dbus-property-handler): Return empty array if
15739 there are no properties.
15740
15741 2012-03-09 Leo Liu <sdl.web@gmail.com>
15742
15743 * savehist.el (savehist-printable): Stricter check for string
15744 value (Bug#10937).
15745
15746 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15747
15748 * mail/smtpmail.el (smtpmail-send-it):
15749 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15750 valid mbox format.
15751
15752 2012-03-09 Glenn Morris <rgm@gnu.org>
15753
15754 * files.el (dir-locals-find-file):
15755 Don't check result is regular, readable.
15756 (dir-locals-read-from-file): Demote errors.
15757
15758 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15759
15760 * international/quail.el (quail-insert-kbd-layout):
15761 Insert invisible LRM characters before each character in a keyboard
15762 layout cell, to prevent their reordering by bidi display engine.
15763 For details, see the discussion in
15764 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15765
15766 2012-03-08 Alan Mackenzie <acm@muc.de>
15767
15768 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15769 the starting position; make it extend the marked region when
15770 invoked repeatedly - all under appropriate circumstances.
15771 Fixes bugs #5525, #10906.
15772
15773 2012-03-08 Glenn Morris <rgm@gnu.org>
15774
15775 * files.el (locate-dominating-file, dir-locals-find-file):
15776 Undo 2012-03-06 change.
15777
15778 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15779
15780 * international/quail.el (quail-help):
15781 Force bidi-paragraph-direction be left-to-right. See discussion in
15782 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15783 for the reason.
15784
15785 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15786
15787 Avoid superfluous registering of signals. (Bug#10807)
15788
15789 * notifications.el (notifications-on-action-object)
15790 (notifications-on-close-object): New defvars.
15791 (notifications-on-action-signal, notifications-on-closed-signal):
15792 Unregister the signal if not needed any longer.
15793 (notifications-notify): Register `notifications-action-signal' or
15794 `notifications-closed-signal', if :on-action or :on-close has been
15795 passed as argument.
15796
15797 2012-03-07 Chong Yidong <cyd@gnu.org>
15798
15799 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15800 non-X platforms.
15801
15802 2012-03-06 Glenn Morris <rgm@gnu.org>
15803
15804 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15805 (x-disown-selection-internal, x-get-selection-internal):
15806 Doc fix (add arglist signatures). (Bug#10783)
15807
15808 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15809
15810 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15811 Handle breakpoints with no "type".
15812
15813 2012-03-06 Glenn Morris <rgm@gnu.org>
15814
15815 * files.el (locate-dominating-file): Add optional predicate argument.
15816 (dir-locals-find-file): Make use of above change.
15817
15818 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15819
15820 * info.el (Info-insert-dir): Also try "dir.gz".
15821
15822 2012-03-06 Glenn Morris <rgm@gnu.org>
15823
15824 * files.el (dir-locals-find-file):
15825 Ignore non-readable or non-regular files. (Bug#10928)
15826
15827 * files.el (locate-dominating-file): Doc fix.
15828
15829 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15830
15831 * calendar/calendar.el (calendar-set-mode-line):
15832 `getenv' returns a string. (Bug#10951)
15833
15834 2012-03-05 Leo Liu <sdl.web@gmail.com>
15835
15836 * simple.el (backward-delete-char-untabify): Constrain point to
15837 field (Bug#10939).
15838
15839 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15840
15841 2012-03-05 Chong Yidong <cyd@gnu.org>
15842
15843 * simple.el (count-words): If called from Lisp, return the word
15844 count, for symmetry with `count-lines'. Arglist changed.
15845 (count-words--message): Args changed. Consolidate counting code
15846 from count-words and count-words-region.
15847 (count-words-region): Caller changed.
15848 (count-lines-region): Make it an obsolete alias.
15849
15850 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15851
15852 * saveplace.el (save-place-to-alist)
15853 (save-place-ignore-files-regexp): Allow value nil to disable this
15854 feature.
15855
15856 2012-03-04 Chong Yidong <cyd@gnu.org>
15857
15858 * faces.el (face-spec-reset-face): For the default face, reset the
15859 attributes to default values (Bug#10748).
15860
15861 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15862
15863 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15864 previous patch: Check `message-send-mail-function', and not the
15865 default function (bug#10897).
15866
15867 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15868
15869 * notifications.el (notifications-on-action-signal)
15870 (notifications-on-closed-signal): Check for unique service name of
15871 incoming event. Fix error in removing entry.
15872 (top): Register for signals with wildcard service name.
15873 (notifications-notify): Use daemon unique service name for map entries.
15874
15875 2012-03-04 Chong Yidong <cyd@gnu.org>
15876
15877 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15878
15879 2012-03-04 Glenn Morris <rgm@gnu.org>
15880
15881 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15882 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15883 (expand-abbrev, define-abbrev-table): Doc fixes.
15884
15885 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15886
15887 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15888 `message-default-send-mail-function' and not `send-mail-function'
15889 when doing the prompting for `sendmail-query-once' before sending
15890 in Message buffers (bug#10897).
15891
15892 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15893 This is inconsistent with all the other stream functions, which leave
15894 the setting up to the higher levels (if so wanted) (bug#10931).
15895
15896 2012-03-02 Alan Mackenzie <acm@muc.de>
15897
15898 Depessimize the handling of very large macros.
15899
15900 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15901 (c-macro-cache-syntactic): New variables to implement a one
15902 element macro cache.
15903 (c-invalidate-macro-cache): New function.
15904 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15905 Adapt to use the new cache.
15906 (c-state-safe-place): Use better the cache of safe positions.
15907 (c-state-semi-nonlit-pos-cache)
15908 (c-state-semi-nonlit-pos-cache-limit):
15909 New variables for...
15910 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15911 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15912 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15913 Use c-state-semi-safe-place.
15914
15915 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15916 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15917
15918 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15919
15920 * jka-compr.el (jka-compr-call-process):
15921 Apply `file-accessible-directory-p' only when the default directory is
15922 not remote.
15923
15924 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15925
15926 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15927 access of FILE2, if FILE1 does not exist.
15928
15929 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15930 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15931
15932 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15933 Add "PAGER=" to `process-environment'.
15934
15935 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15936
15937 * progmodes/sql.el: Bug fix
15938 (sql-get-login-ext): Save login values in globals.
15939 (sql-get-login): Use new version of `sql-get-login-ext'.
15940 (sql-interactive-mode): Set global `sql-connection' to nil.
15941 (sql-connect): Set global values for connection.
15942 (sql-product-interactive): Save global values as buffer local.
15943
15944 2012-02-29 Leo Liu <sdl.web@gmail.com>
15945
15946 * abbrev.el (define-abbrevs): Reset sys to nil.
15947
15948 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15949
15950 * files.el (file-equal-p): Rename from `files-equal-p'.
15951 Return nil when one or both files don't exist.
15952 (file-subdir-of-p): Now only top directory must exists,
15953 return nil if it doesn't.
15954 (copy-directory): No need to test with `file-subdir-of-p' after
15955 creating dir.
15956 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15957 to `file-equal-p'.
15958
15959 2012-02-28 Glenn Morris <rgm@gnu.org>
15960
15961 * shell.el (shell-mode):
15962 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15963 * play/landmark.el (landmark-font-lock-face-O):
15964 * play/handwrite.el (handwrite):
15965 * play/gomoku.el (gomoku-O):
15966 * net/browse-url.el (browse-url-browser-display):
15967 * international/mule.el (define-charset):
15968 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15969 * filesets.el (filesets-find-file-delay):
15970 * eshell/em-xtra.el (eshell-xtra):
15971 * eshell/em-unix.el (eshell-grep):
15972 * emulation/viper.el (viper-mode):
15973 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15974 * emacs-lisp/easymenu.el (easy-menu-define):
15975 * calendar/timeclock.el (timeclock-use-display-time):
15976 * bs.el (bs-mode):
15977 * bookmark.el (bookmark-save-flag):
15978 Doc fix (standardize possessive apostrophe usage).
15979
15980 2012-02-27 Chong Yidong <cyd@gnu.org>
15981
15982 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15983 Fix key-binding lookup for ESC key (Bug#9146).
15984
15985 * font-lock.el (font-lock-specified-p): Rename from
15986 font-lock-spec-present. Callers changed.
15987
15988 2012-02-27 Daniel Hackney <dan@haxney.org>
15989
15990 * emacs-lisp/package.el (package-compute-transaction):
15991 Handle holding a package version to t in package-load-list.
15992
15993 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15994
15995 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15996 (tramp-get-inode, tramp-get-device): Use cached values.
15997
15998 2012-02-26 Alan Mackenzie <acm@muc.de>
15999
16000 Check there is a font-lock specification before doing initial
16001 fontification.
16002
16003 * font-core.el (font-lock-mode): Move the conditional from
16004 :after-hook to font-lock-initial-fontify.
16005 (font-lock-default-function): Move the check for a specification
16006 to font-lock-spec-present.
16007
16008 * font-lock.el (font-lock-initial-fontify): Call ...
16009 (font-lock-spec-present): New function.
16010
16011 2012-02-26 Jim Blandy <jimb@red-bean.com>
16012
16013 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16014 (gdb-send): Apply it to the operand of the '-interpreter-exec
16015 console' command, so that we can pass arguments with (say) quotes
16016 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16017
16018 2012-02-26 Chong Yidong <cyd@gnu.org>
16019
16020 * help-fns.el (describe-function-1): Clarify description of
16021 remapping (Bug#10844).
16022
16023 * files.el (files-equal-p): Doc fix.
16024 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16025 and quit the loop once a mismatch is found.
16026
16027 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16028
16029 * bs.el (bs--show-with-configuration): Don't throw an error
16030 if the window cannot be split; otherwise, subsequent calls to
16031 bs-show fail, restoring a stale window config. (Bug#10882)
16032
16033 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16034
16035 * term/ns-win.el (global-map): Bind ns-drag-file to
16036 ns-find-file (Bug#5855, Bug#10050).
16037
16038 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16039
16040 * calendar/parse-time.el (parse-time-string): Allow extractor to
16041 return nil.
16042
16043 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16044
16045 * net/tramp.el (tramp-file-name-for-operation):
16046 Add `files-equal-p' and `file-subdir-of-p'.
16047
16048 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16049 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16050 Add COPY-CONTENTS argument.
16051
16052 2012-02-25 Chong Yidong <cyd@gnu.org>
16053
16054 Add custom groups for VC backends, for consistency with vc-bzr.
16055
16056 * vc/vc-arch.el (vc-arch):
16057 * vc/vc-cvs.el (vc-cvs):
16058 * vc/vc-git.el (vc-git):
16059 * vc/vc-hg.el (vc-hg):
16060 * vc/vc-mtn.el (vc-mtn):
16061 * vc/vc-rcs.el (vc-rcs):
16062 * vc/vc-sccs.el (vc-sccs):
16063 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16064 All relevant defcustoms reassigned.
16065
16066 2012-02-25 Chong Yidong <cyd@gnu.org>
16067
16068 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16069
16070 * term/x-win.el (x-initialize-window-system): Reduce default for
16071 x-selection-timeout to 5 seconds (Bug#8869).
16072
16073 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16074
16075 * files.el (files-equal-p, file-subdir-of-p): New functions.
16076 (copy-directory): Error when trying to copy a directory on itself.
16077 Add missing copy-contents arg to tramp handler.
16078 * dired-aux.el (dired-copy-file-recursive): Same.
16079 (dired-create-files): Modify destination when source is equal to
16080 dest when copying files.
16081 Return also when dest is a subdir of source. (Bug#10489)
16082
16083 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16084
16085 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16086 (Bug#10874)
16087
16088 2012-02-23 Alan Mackenzie <acm@muc.de>
16089
16090 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16091 parameter "after-hook:" to allow the expansion to run code after
16092 the execution of the mode hooks.
16093
16094 * font-lock.el (font-lock-initial-fontify): New function extracted
16095 from font-lock-mode-internal.
16096
16097 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16098 :after-hook.
16099
16100 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16103 (completion--cache-all-sorted-completions): New function.
16104 (completion-all-sorted-completions): Use it.
16105 (completion--do-completion, minibuffer-force-complete):
16106 Use it to re-instate the flush hook.
16107
16108 * icomplete.el (icomplete-completions): Replace last fix with a better
16109 one (bug#10850).
16110
16111 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16112
16113 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16114 when it might call us back infinitely (bug#10797).
16115
16116 2012-02-23 Glenn Morris <rgm@gnu.org>
16117
16118 * minibuffer.el (completion-category-overrides): Doc fix.
16119
16120 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16123 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16124
16125 2012-02-23 Glenn Morris <rgm@gnu.org>
16126
16127 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16128 (authors-obsolete-files-regexps, authors-ignored-files)
16129 (authors-ambiguous-files, authors-renamed-files-alist):
16130 Add more entries.
16131
16132 2012-02-23 Juri Linkov <juri@jurta.org>
16133
16134 * isearch.el (isearch-occur): Sync interactive spec with occur's
16135 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16136
16137 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16138
16139 2012-02-22 Juri Linkov <juri@jurta.org>
16140
16141 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16142 (ucs-insert): Doc fix. Check for hex digits in the string.
16143 Don't display `nil' in the error message. (Bug#10857)
16144
16145 2012-02-22 Alan Mackenzie <acm@muc.de>
16146
16147 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16148
16149 2012-02-22 Glenn Morris <rgm@gnu.org>
16150
16151 * ffap.el (ffap-c-path):
16152 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16153
16154 2012-02-22 Chong Yidong <cyd@gnu.org>
16155
16156 * custom.el (load-theme): Doc fix.
16157
16158 2012-02-22 Glenn Morris <rgm@gnu.org>
16159
16160 * dired-x.el (dired-guess-shell-alist-default):
16161 Remove escape sequences from nroff output. (Bug#172)
16162
16163 2012-02-21 Glenn Morris <rgm@gnu.org>
16164
16165 * vc/emerge.el (emerge-defvar-local):
16166 Set `permanent-local' property rather than unused `preserved'.
16167
16168 * textmodes/picture.el (picture-delete-char): New alias.
16169 (picture-mode-map): Use it. (Bug#10860)
16170 (picture-mode): Doc fix.
16171
16172 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16173
16174 * newcomment.el (uncomment-region-default): Remove unused binding.
16175
16176 2012-02-21 Glenn Morris <rgm@gnu.org>
16177
16178 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16179 (picture-self-insert, picture-tab-chars): Doc fix.
16180 (picture-mode-map): Fix C-a, C-e.
16181
16182 2012-02-20 Glenn Morris <rgm@gnu.org>
16183
16184 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16185
16186 2012-02-20 Leo Liu <sdl.web@gmail.com>
16187
16188 * icomplete.el (icomplete-completions): Check FROM arg before
16189 passing to substring (Bug#10850).
16190
16191 2012-02-19 Chong Yidong <cyd@gnu.org>
16192
16193 * comint.el: Require ansi-color.
16194 (comint-output-filter-functions): Add ansi-color-process-output.
16195
16196 * ansi-color.el: Don't set comint-output-filter-functions; it is
16197 now in the initial value defined in comint.el.
16198 (ansi-color-apply-face-function): New variable.
16199 (ansi-color-apply-on-region): Use it.
16200 (ansi-color-apply-overlay-face): New function.
16201
16202 * shell.el (shell): No need to require ansi-color.
16203 (shell-mode): Use ansi-color-apply-face-function to highlight
16204 color escapes using font-lock-face property (Bug#10835).
16205
16206 2012-02-19 Chong Yidong <cyd@gnu.org>
16207
16208 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16209 mode-line formats (Bug#10839).
16210
16211 2012-02-18 Glenn Morris <rgm@gnu.org>
16212
16213 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16214
16215 * mail/undigest.el (unforward-rmail-message): Doc fix.
16216
16217 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16218
16219 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16220
16221 * international/characters.el (script-list): Sync with the latest
16222 Unicode Character Database.
16223
16224 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16225
16226 * international/titdic-cnv.el: Remove duplicate coding tag.
16227 * language/cham.el: Likewise.
16228 * language/tai-viet.el: Likewise.
16229
16230 2012-02-18 Glenn Morris <rgm@gnu.org>
16231
16232 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16233 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16234 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16235 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16236 * calendar/holidays.el (holiday-bahai-holidays)
16237 (calendar-holidays, list-holidays):
16238 Use utf-8 Bahá'í in doc-strings, menus, etc.
16239
16240 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16241
16242 * saveplace.el (save-place-ignore-files-regexp): New variable
16243 allowing for excluding files from saving their location of point.
16244 The default value matches the temporary commit message editing
16245 files from Git, SVN, Bazaar, and Mercurial.
16246 (save-place-to-alist): Use it.
16247
16248 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16249 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * newcomment.el (uncomment-region-default): Don't leave extra space
16252 when an arg is provided (bug#8150).
16253
16254 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16255
16256 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16257
16258 2012-02-17 Glenn Morris <rgm@gnu.org>
16259
16260 * net/socks.el: Require network-stream. (Bug#10599)
16261
16262 2012-02-17 Kenichi Handa <handa@m17n.org>
16263
16264 * international/charprop.el:
16265 * international/uni-name.el:
16266 * international/uni-old-name.el:
16267 * international/uni-comment.el: Regenerate.
16268
16269 2012-02-16 Glenn Morris <rgm@gnu.org>
16270
16271 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16272 Interactively in calendar buffer, give an error if not on a date.
16273
16274 2012-02-15 Glenn Morris <rgm@gnu.org>
16275
16276 * shell.el (shell-delimiter-argument-list):
16277 Revert 2011-02-17 change. (Bug#8027)
16278
16279 2012-02-15 Chong Yidong <cyd@gnu.org>
16280
16281 * minibuffer.el (completion-at-point-functions): Doc fix.
16282
16283 * custom.el (defcustom): Doc fix; note use of defvar.
16284
16285 2012-02-15 Glenn Morris <rgm@gnu.org>
16286
16287 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16288 Doc fixes.
16289
16290 2012-02-14 Glenn Morris <rgm@gnu.org>
16291
16292 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16293
16294 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16295
16296 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16297 way the ports list is computed.
16298 (smtpmail-query-smtp-server): Prompt the user for a port number if
16299 we can't connect to any of the standard ports (bug#10810).
16300
16301 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16302
16303 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16304
16305 2012-02-13 Glenn Morris <rgm@gnu.org>
16306
16307 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16308
16309 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16310
16311 * net/gnutls.el (gnutls-trustfiles): New variable.
16312 (gnutls-negotiate): Use it.
16313
16314 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16315
16316 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16317 does its stuff if Gnus is running.
16318
16319 2012-02-13 Alan Mackenzie <acm@muc.de>
16320
16321 Fix a loop in c-set-fl-decl-start.
16322
16323 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16324 c-backward-syntactic-ws actually moves backwards.
16325
16326 2012-02-13 Leo Liu <sdl.web@gmail.com>
16327
16328 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16329 beginning so that all \C-o chars are removed.
16330
16331 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16332
16333 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16334
16335 2012-02-12 Alan Mackenzie <acm@muc.de>
16336
16337 Fix infinite loop with long macros.
16338 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16339
16340 2012-02-12 Chong Yidong <cyd@gnu.org>
16341
16342 * window.el (display-buffer): Doc fix (Bug#10785).
16343
16344 2012-02-12 Glenn Morris <rgm@gnu.org>
16345
16346 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16347 (x-disown-selection-internal, x-get-selection-internal):
16348 Sync docs with the xselect.c versions.
16349
16350 * allout-widgets.el: Add missing license notice.
16351
16352 2012-02-11 Glenn Morris <rgm@gnu.org>
16353
16354 * select.el (x-get-selection-internal, x-own-selection-internal)
16355 (x-disown-selection-internal):
16356 * x-dnd.el (x-get-selection-internal): Update declarations.
16357
16358 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16359
16360 * window.el (window-sides-slots):
16361 * tool-bar.el (tool-bar-position):
16362 * term/xterm.el (xterm-extra-capabilities):
16363 * ses.el (ses-self-reference-early-detection):
16364 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16365 (verilog-auto-wire-type)
16366 (verilog-auto-delete-trailing-whitespace)
16367 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16368 (verilog-auto-tieoff-declaration):
16369 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16370 (sql-oracle-statement-starters, sql-oracle-scan-on):
16371 * progmodes/prolog.el (prolog-align-comments-flag)
16372 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16373 (prolog-left-indent-regexp, prolog-paren-indent-p)
16374 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16375 (prolog-types, prolog-mode-specificators)
16376 (prolog-determinism-specificators, prolog-directives)
16377 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16378 (prolog-electric-dot-flag)
16379 (prolog-electric-dot-full-predicate-template)
16380 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16381 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16382 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16383 (prolog-program-switches, prolog-prompt-regexp)
16384 (prolog-debug-on-string, prolog-debug-off-string)
16385 (prolog-trace-on-string, prolog-trace-off-string)
16386 (prolog-zip-on-string, prolog-zip-off-string)
16387 (prolog-use-standard-consult-compile-method-flag)
16388 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16389 (prolog-imenu-max-lines, prolog-info-predicate-index)
16390 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16391 (prolog-char-quote-workaround):
16392 * progmodes/cc-vars.el (c-defun-tactic):
16393 * net/tramp.el (tramp-encoding-command-interactive)
16394 (tramp-local-end-of-line):
16395 * net/soap-client.el (soap-client):
16396 * net/netrc.el (netrc-file):
16397 * net/gnutls.el (gnutls):
16398 * minibuffer.el (completion-category-overrides)
16399 (completion-cycle-threshold)
16400 (completion-pcm-complete-word-inserts-delimiters):
16401 * man.el (Man-name-local-regexp):
16402 * mail/feedmail.el (feedmail-display-full-frame):
16403 * international/characters.el (glyphless-char-display-control):
16404 * eshell/em-ls.el (eshell-ls-date-format):
16405 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16406 (lisp-lambda-list-keyword-parameter-indentation)
16407 (lisp-lambda-list-keyword-parameter-alignment):
16408 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16409 * dired-x.el (dired-omit-verbose):
16410 * cus-theme.el (custom-theme-allow-multiple-selections):
16411 * calc/calc.el (calc-highlight-selections-with-faces)
16412 (calc-lu-field-reference, calc-lu-power-reference)
16413 (calc-note-threshold):
16414 * battery.el (battery-mode-line-limit):
16415 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16416 (archive-7z-update):
16417 * allout.el (allout-prefixed-keybindings)
16418 (allout-unprefixed-keybindings)
16419 (allout-inhibit-auto-fill-on-headline)
16420 (allout-flattened-numbering-abbreviation):
16421 * allout-widgets.el (allout-widgets-auto-activation)
16422 (allout-widgets-icons-dark-subdir)
16423 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16424 (allout-widgets-theme-dark-background)
16425 (allout-widgets-theme-light-background)
16426 (allout-widgets-item-image-properties-emacs)
16427 (allout-widgets-item-image-properties-xemacs)
16428 (allout-widgets-run-unit-tests-on-load)
16429 (allout-widgets-time-decoration-activity)
16430 (allout-widgets-hook-error-post-time)
16431 (allout-widgets-track-decoration):
16432 Add missing :version tags to new defcustoms and defgroups.
16433
16434 * progmodes/sql.el (sql-ansi-statement-starters)
16435 (sql-oracle-statement-starters): Add custom type.
16436
16437 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16438 (prolog-system-version): Give it a type.
16439
16440 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16441
16442 * term/pc-win.el (x-select-text, x-selection-owner-p)
16443 (x-own-selection-internal, x-disown-selection-internal)
16444 (x-get-selection-internal): Sync doc strings and argument lists
16445 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16446
16447 2012-02-11 Leo Liu <sdl.web@gmail.com>
16448
16449 * progmodes/python.el (python-end-of-statement): Fix infinite
16450 loop. (Bug#10788)
16451
16452 2012-02-10 Glenn Morris <rgm@gnu.org>
16453
16454 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16455 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16456
16457 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16458
16459 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16460 about SMTP before checking the From header.
16461
16462 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16463 into own function for reuse by emacsbug.el.
16464
16465 2012-02-10 Leo Liu <sdl.web@gmail.com>
16466
16467 * subr.el (condition-case-unless-debug): Rename from
16468 condition-case-no-debug. All callers changed.
16469 (with-demoted-errors): Fix caller.
16470
16471 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16472 * nxml/rng-valid.el (rng-do-some-validation):
16473 * emacs-lisp/package.el (package-refresh-contents)
16474 (package-menu-execute):
16475 * desktop.el (desktop-create-buffer):
16476 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16477
16478 2012-02-10 Glenn Morris <rgm@gnu.org>
16479
16480 * textmodes/bibtex.el:
16481 Add missing :version tags for new/changed defcustoms.
16482
16483 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16484
16485 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16486
16487 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16488 (smtpmail-via-smtp): Use it, or fall back on the From address.
16489 (smtpmail-send-it): Ditto.
16490
16491 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16492
16493 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16494 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16495 (byte-compile-tmp-var): New const.
16496 (byte-compile-defvar): Use it to minimize .elc size.
16497 Just use `defvar' rather than simulate it (bug#10761).
16498
16499 2012-02-09 Glenn Morris <rgm@gnu.org>
16500
16501 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16502
16503 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16504 Add :version tags.
16505
16506 * progmodes/compile.el (compilation-error-screen-columns)
16507 (compilation-first-column, compilation-filter-start): Doc fixes.
16508
16509 * vc/log-view.el (log-view-toggle-entry-display):
16510 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16511
16512 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16513 (report-emacs-bug-can-use-xdg-email):
16514 (report-emacs-bug-insert-to-mailer): Doc fixes.
16515 (report-emacs-bug): Message fix.
16516
16517 * net/browse-url.el (browse-url-can-use-xdg-open)
16518 (browse-url-xdg-open): Doc fixes.
16519
16520 * electric.el (electric-indent-mode, electric-pair-mode)
16521 (electric-layout-rules, electric-layout-mode): Doc fixes.
16522 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16523
16524 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16525
16526 * server.el (server-unselect-display): Don't inadvertently kill
16527 the current buffer. (Bug#10729)
16528
16529 2012-02-08 Glenn Morris <rgm@gnu.org>
16530
16531 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16532 (sql-list-table): Doc fixes.
16533
16534 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16535 Comment out (does nothing).
16536
16537 * completion.el (dynamic-completion-mode):
16538 * dirtrack.el (dirtrack-debug-mode):
16539 * electric.el (electric-layout-mode):
16540 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16541 * face-remap.el (text-scale-mode, buffer-face-mode):
16542 * iimage.el (iimage-mode):
16543 * image-mode.el (image-transform-mode):
16544 * minibuffer.el (completion-in-region-mode):
16545 * scroll-lock.el (scroll-lock-mode):
16546 * simple.el (next-error-follow-minor-mode):
16547 * tar-mode.el (tar-subfile-mode):
16548 * tooltip.el (tooltip-mode):
16549 * vcursor.el (vcursor-use-vcursor-map):
16550 * wid-browse.el (widget-minor-mode):
16551 * emulation/tpu-edt.el (tpu-edt-mode):
16552 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16553 * international/iso-ascii.el (iso-ascii-mode):
16554 * language/thai-util.el (thai-word-mode):
16555 * mail/supercite.el (sc-minor-mode):
16556 * net/goto-addr.el (goto-address-mode):
16557 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16558 * progmodes/cwarn.el (cwarn-mode):
16559 * progmodes/flymake.el (flymake-mode):
16560 * progmodes/glasses.el (glasses-mode):
16561 * progmodes/hideshow.el (hs-minor-mode):
16562 * progmodes/pascal.el (pascal-outline-mode):
16563 * textmodes/enriched.el (enriched-mode):
16564 * vc/smerge-mode.el (smerge-mode):
16565 Doc fixes (minor mode argument).
16566
16567 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16568
16569 * ls-lisp.el (ls-lisp-sanitize): New function.
16570 (ls-lisp-insert-directory): Use it to fix or remove any elements
16571 in file-alist with missing attributes. (Bug#4673)
16572
16573 2012-02-07 Alan Mackenzie <acm@muc.de>
16574
16575 Fix spurious recognition of c-in-knr-argdecl.
16576
16577 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16578 putative K&R region.
16579
16580 2012-02-07 Alan Mackenzie <acm@muc.de>
16581
16582 * progmodes/cc-engine.el (c-forward-objc-directive):
16583 Prevent looping in "#pragma mark @implementation".
16584
16585 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16586
16587 * notifications.el (notifications-on-closed-signal): Make `reason'
16588 optional. (Bug#10744)
16589
16590 2012-02-07 Glenn Morris <rgm@gnu.org>
16591
16592 * emacs-lisp/easy-mmode.el (define-minor-mode):
16593 Doc fixes for the macro and the mode it defines.
16594
16595 * image.el (imagemagick-types-inhibit): Doc fix.
16596
16597 * cus-start.el (imagemagick-render-type): Add it.
16598
16599 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16600
16601 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16602 Set the default at load time, too, so that `font-lock-fontify-buffer'
16603 can be called without setting up the entire mode first. This fixes
16604 a bug in `mm-inline-text' with C MIME parts.
16605
16606 2012-02-06 Chong Yidong <cyd@gnu.org>
16607
16608 * simple.el (list-processes--refresh): Delete exited processes
16609 (Bug#8094).
16610
16611 * comint.el (comint-next-prompt): next-single-char-property-change
16612 and prev-single-char-property-change never return nil (Bug#8657).
16613
16614 * custom.el (defcustom): Doc fix (Bug#9711).
16615
16616 2012-02-05 Chong Yidong <cyd@gnu.org>
16617
16618 * cus-edit.el (custom-variable-reset-backup): Quote the value
16619 before storing it in the customized-value property (Bug#6712).
16620 (custom-display): Add a customization type tag.
16621 (custom-buffer-create-internal): Improve tooltip message.
16622
16623 * wid-edit.el (widget-field-value-get): New optional arg to
16624 suppress trailing whitespace truncation.
16625 (character): Use it (Bug#2689).
16626
16627 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16628
16629 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16630 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16631
16632 2012-02-05 Chong Yidong <cyd@gnu.org>
16633
16634 * cus-edit.el (custom-variable-value-create): For mismatched
16635 types, show the current value (Bug#7600).
16636
16637 * custom.el (defcustom): Doc fix.
16638
16639 2012-02-05 Glenn Morris <rgm@gnu.org>
16640
16641 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16642
16643 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16644
16645 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16646 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16647 (pp-last-sexp): Use `looking-at-p'.
16648
16649 2012-02-04 Glenn Morris <rgm@gnu.org>
16650
16651 * files.el (revert-buffer):
16652 Doc fix (mention revert-buffer-in-progress-p).
16653
16654 * emacs-lisp/ert-x.el (ert-simulate-command):
16655 Check deferred-action-list (which is obsolete) is bound.
16656
16657 * subr.el (with-wrapper-hook): Doc fixes.
16658
16659 * simple.el (filter-buffer-substring-functions)
16660 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16661
16662 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16663
16664 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16665 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16666
16667 2012-02-04 Leo Liu <sdl.web@gmail.com>
16668
16669 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16670
16671 2012-02-04 Glenn Morris <rgm@gnu.org>
16672
16673 * image.el (image-extension-data): Add obsolete alias.
16674
16675 * isearch.el (isearch-update): Doc fix.
16676
16677 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16678
16679 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16680
16681 2012-02-03 Glenn Morris <rgm@gnu.org>
16682
16683 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16684 (image-animate-timeout): Doc fix.
16685
16686 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16687
16688 2012-02-02 Glenn Morris <rgm@gnu.org>
16689
16690 * server.el (server-auth-dir): Doc fix.
16691 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16692
16693 * subr.el (run-mode-hooks): Doc fix.
16694
16695 2012-02-02 Juri Linkov <juri@jurta.org>
16696
16697 * image-mode.el (image-toggle-display-image): Remove tautological
16698 `major-mode' from the `derived-mode-p' test.
16699
16700 2012-02-02 Kenichi Handa <handa@m17n.org>
16701
16702 * composite.el (compose-region): Cancel previous change.
16703
16704 2012-02-02 Kenichi Handa <handa@m17n.org>
16705
16706 * composite.el (compose-region, compose-string): Signal error for
16707 a null string component (Bug#6988).
16708
16709 2012-02-01 Chong Yidong <cyd@gnu.org>
16710
16711 * view.el (view-buffer-other-window, view-buffer-other-frame):
16712 Handle special modes like view-buffer (Bug#10650).
16713 (view-buffer): Simplify.
16714
16715 * frame.el (set-frame-font): Tweak meaning of third argument.
16716
16717 * dynamic-setting.el (font-setting-change-default-font):
16718 Use set-frame-font (Bug#9982).
16719
16720 2012-02-01 Glenn Morris <rgm@gnu.org>
16721
16722 * progmodes/compile.el (compilation-internal-error-properties):
16723 Respect compilation-first-column in the "*compilation*" buffer.
16724
16725 * emacs-lisp/easy-mmode.el (define-minor-mode):
16726 Relax :variable's test for a named function.
16727
16728 2012-01-31 Alan Mackenzie <acm@muc.de>
16729
16730 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16731 off by one error.
16732
16733 2012-01-31 Chong Yidong <cyd@gnu.org>
16734
16735 * frame.el (set-frame-font): New arg ALL-FRAMES.
16736
16737 * menu-bar.el (menu-set-font): Use set-frame-font.
16738
16739 * faces.el (face-spec-reset-face): Don't apply unspecified
16740 attribute values to the default face.
16741
16742 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16743
16744 * progmodes/cwarn.el (cwarn): Remove dead link.
16745 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16746 Remove * from defcustom docstrings.
16747 (turn-on-cwarn-mode): Make obsolete.
16748 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16749 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16750
16751 2012-01-31 Glenn Morris <rgm@gnu.org>
16752
16753 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16754 Fix :variable handling of mode a symbol not equal to modefun.
16755 Allow named functions to be used as the cdr of :variable.
16756
16757 2012-01-30 Glenn Morris <rgm@gnu.org>
16758
16759 * emacs-lisp/authors.el (authors-fixed-entries):
16760 Remove reference to deleted file rnewspost.el.
16761
16762 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16763
16764 * window.el (window-with-parameter): Remove unused variable `windows'.
16765 (window--side-check): Remove unused variable `code'.
16766 (window--resize-siblings): Remove unused variable `first'.
16767 (adjust-window-trailing-edge): Remove unused variable `failed'.
16768 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16769 Use `let', not `let*'.
16770 (balance-windows-2): Remove unused variable `found'.
16771 (window--state-put-2): Remove unused variable `splits'.
16772 (window-state-put): Remove unused variable `selected'.
16773 (same-window-p): Use `string-match-p'.
16774 (display-buffer-assq-regexp): Remove unused variable `value'.
16775 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16776 Mark argument ALIST as ignored.
16777 (pop-to-buffer): Remove unused variable `old-window'.
16778
16779 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16780
16781 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16782 and .lzma compressed files.
16783
16784 2012-01-29 Chong Yidong <cyd@gnu.org>
16785
16786 * frame.el (window-system-default-frame-alist): Doc fix.
16787
16788 * dynamic-setting.el (font-setting-change-default-font): Don't
16789 change the default face if SET-FONT argument is non-nil (Bug#9982).
16790
16791 2012-01-29 Samuel Bronson <naesten@gmail.com>
16792
16793 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16794
16795 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16796
16797 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16798 breakpoints in files outside current directory (Bug#6098).
16799
16800 2012-01-29 Chong Yidong <cyd@gnu.org>
16801
16802 * progmodes/python.el: Require ansi-color at top-level.
16803
16804 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16805 Define and use in Emacs Lisp mode (Bug#9360).
16806 (lisp-mode-abbrev-table): Add doc.
16807 (lisp-mode-variables): Don't set local-abbrev-table.
16808 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16809
16810 2012-01-28 Roland Winkler <winkler@gnu.org>
16811
16812 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16813
16814 2012-01-28 Roland Winkler <winkler@gnu.org>
16815
16816 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16817 (bibtex-set-dialect): Use it. Either set global values of
16818 dialect-dependent variables or bind these variables buffer-locally
16819 (Bug#10254).
16820 (bibtex-mode): Call bibtex-set-dialect via
16821 hack-local-variables-hook.
16822 (bibtex-dialect): Update docstring.
16823 Add safe-local-variable predicate.
16824 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16825 bibtex-set-dialect.
16826 (bibtex-mode-map): Define menu for each dialect.
16827 (bibtex-entry): Fix docstring.
16828
16829 2012-01-28 Chong Yidong <cyd@gnu.org>
16830
16831 * eshell/esh-arg.el (eshell-quote-argument): New function.
16832
16833 * eshell/esh-ext.el (eshell-invoke-batch-file):
16834 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16835 first arg to eshell-parse-command (Bug#10523).
16836
16837 2012-01-28 Drew Adams <drew.adams@oracle.com>
16838
16839 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16840 `default-directory' is non-nil.
16841
16842 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16843
16844 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16845 line that displays system-configuration-options. (Bug#9924)
16846
16847 2012-01-28 Drew Adams <drew.adams@oracle.com>
16848
16849 * descr-text.el (describe-char): Show information about POS, in
16850 addition to information about the character at POS. Improve and
16851 update the doc string. Change "code point" to "code point in
16852 charset", to avoid confusion with the character's Unicode code
16853 point shown above that. (Bug#10129)
16854
16855 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16856
16857 * descr-text.el (describe-char): Show the raw character, not only
16858 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16859 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16860 for the reasons.
16861
16862 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16863
16864 * emacs-lisp/package.el (package-install):
16865 Run package-refresh-contents if there is no archive yet (Bug#9798).
16866
16867 2012-01-28 Chong Yidong <cyd@gnu.org>
16868
16869 * emacs-lisp/package.el (package-maybe-load-descriptor):
16870 New function, split from package-maybe-load-descriptor.
16871 (package-maybe-load-descriptor): Use it.
16872 (package-download-transaction): Fully load required packages
16873 inside the loop, so that `require' calls work (Bug#10593).
16874 (package-install): No need to call package-initialize now.
16875
16876 2012-01-28 Chong Yidong <cyd@gnu.org>
16877
16878 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16879
16880 * tooltip.el (tooltip-mode): Doc fix.
16881 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16882
16883 * frame.el (set-cursor-color): Doc fix (Bug#352).
16884
16885 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16886 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16887
16888 * cus-edit.el (custom-buffer-create-internal): Fix search button
16889 action (Bug#10542).
16890 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16891
16892 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16893
16894 * dired.el (dired-mark-files-regexp):
16895 Include any subdirectory components. (Bug#10445)
16896
16897 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16898
16899 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16900 Handle [host]:port syntax. (Bug#10533)
16901
16902 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16903
16904 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16905
16906 2012-01-26 Glenn Morris <rgm@gnu.org>
16907
16908 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16909 * term.el (term-raw-escape-map): Use Control-X-prefix.
16910 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16911
16912 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16913
16914 * window.el (window-state-get, window--state-get-1): Don't deal
16915 with fixed-sizeness of windows. Simplify code.
16916
16917 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16918
16919 * window.el (window--state-get-1, window--state-put-2):
16920 Don't save and restore the mark.
16921
16922 2012-01-25 Chong Yidong <cyd@gnu.org>
16923
16924 * custom.el (custom-variable-p): Doc fix.
16925
16926 2012-01-25 Glenn Morris <rgm@gnu.org>
16927
16928 * dired.el (dired-goto-file): Handle some of the more common
16929 characters that `ls -b' escapes. (Bug#10596)
16930
16931 * progmodes/compile.el (compilation-next-error-function):
16932 Respect compilation-first-column in the "*compilation*" buffer.
16933 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16934
16935 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16936
16937 2012-01-24 Glenn Morris <rgm@gnu.org>
16938
16939 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16940
16941 2012-01-24 Julien Danjou <julien@danjou.info>
16942
16943 * color.el (color-rgb-to-hsl): Fix value computing.
16944 (color-hue-to-rgb): New function.
16945 (color-hsl-to-rgb): New function.
16946 (color-clamp, color-saturate-hsl, color-saturate-name)
16947 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16948 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16949
16950 2012-01-24 Glenn Morris <rgm@gnu.org>
16951
16952 * vc/vc-rcs.el (vc-rcs-create-tag):
16953 * vc/vc-sccs.el (vc-sccs-create-tag):
16954 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16955
16956 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16957
16958 * eshell/esh-util.el (eshell-read-hosts-file):
16959 Skip comment lines. (Bug#10549)
16960
16961 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16962
16963 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16964
16965 * subr.el (display-delayed-warnings): Doc fix.
16966 (collapse-delayed-warnings): New function to collapse identical
16967 adjacent warnings.
16968 (delayed-warnings-hook): Add it.
16969
16970 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16971
16972 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16973
16974 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16975 (tramp-default-user-alist): Don't add "pscp".
16976 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16977 property "login-as", if set. (Bug#10530)
16978
16979 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16980
16981 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16982 "plink1" and "psftp". (Bug#10530)
16983
16984 2012-01-21 Kenichi Handa <handa@m17n.org>
16985
16986 * international/mule-cmds.el (prefer-coding-system): Show a
16987 warning message if the default value of file-name-coding-system
16988 was not changed.
16989
16990 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16991
16992 * windmove.el (windmove-reference-loc):
16993 Fix windmove-reference-loc miscalculation.
16994
16995 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16996
16997 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16998 default unit.
16999
17000 2012-01-21 Glenn Morris <rgm@gnu.org>
17001
17002 * international/mule.el (auto-coding-alist): Add .tbz.
17003
17004 * files.el (local-enable-local-variables): Doc fix.
17005 (inhibit-local-variables-regexps): Rename from
17006 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17007 Doc fix. Add some extensions from auto-coding-alist.
17008 (inhibit-local-variables-suffixes):
17009 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17010 (inhibit-local-variables-p):
17011 New function, extracted from set-auto-mode-1.
17012 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17013 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17014 (hack-local-variables): Doc fix. Make the mode-only case
17015 respect enable-local-variables and friends.
17016 Respect inhibit-local-variables-regexps for file-locals, but
17017 not for directory-locals.
17018 (set-visited-file-name):
17019 Take account of inhibit-local-variables-regexps.
17020 Whether it applies may change as the file name is changed.
17021 * jka-cmpr-hook.el (jka-compr-install):
17022 * jka-compr.el (jka-compr-uninstall):
17023 Update for inhibit-first-line-modes-suffixes name change.
17024
17025 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17026
17027 * help-macro.el (make-help-screen): Temporarily restore original
17028 binding for minor-mode-map-alist (Bug#10454).
17029
17030 2012-01-19 Julien Danjou <julien@danjou.info>
17031
17032 * color.el (color-name-to-rgb): Use the white color to find the max
17033 color component value and return correctly computed values.
17034 (color-name-to-rgb): Add missing float conversion for max value.
17035
17036 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17037
17038 * window.el (window--state-get-1, window-state-get): Do not use
17039 special state value for window-persistent-parameters.
17040 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17041 (window--state-put-2): Reset all window parameters to nil before
17042 assigning values of persistent parameters.
17043
17044 2012-01-18 Alan Mackenzie <acm@muc.de>
17045
17046 Eliminate sluggishness and hangs in fontification of "semicolon
17047 deserts".
17048
17049 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17050 Change value 10000 -> 3000.
17051 (c-state-safe-place): Reformulate so it doesn't stack up an
17052 infinite number of wrong entries in c-state-nonlit-pos-cache.
17053 (c-determine-limit-get-base, c-determine-limit): New functions to
17054 determine backward search limits disregarding literals.
17055 (c-find-decl-spots): Amend commenting.
17056 (c-cheap-inside-bracelist-p): New function which detects "={".
17057
17058 * progmodes/cc-fonts.el
17059 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17060 backward search.
17061 (c-font-lock-declarations): Fix an occurrence of point being
17062 undefined. Check additionally for point being in a bracelist or
17063 near a macro invocation without a semicolon so as to avoid a
17064 fruitless time consuming search for a declarator. Give a more
17065 precise search limit for declarators using the new
17066 c-determine-limit.
17067
17068 2012-01-18 Glenn Morris <rgm@gnu.org>
17069
17070 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17071 (set-auto-mode): Doc fixes.
17072
17073 2012-01-17 Glenn Morris <rgm@gnu.org>
17074
17075 * isearch.el (search-nonincremental-instead): Fix doc typo.
17076
17077 * dired.el (dired-insert-directory): Handle newlines in directory name.
17078 (dired-build-subdir-alist): Unescape newlines in directory name.
17079
17080 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17081
17082 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17083 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17084 (tramp-action-terminal): Use it. (Bug#10530)
17085
17086 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17087
17088 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17089
17090 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17091
17092 * window.el (window-state-ignored-parameters): Remove variable.
17093 (window--state-get-1): Rename argument MARKERS to IGNORE.
17094 Handle persistent window parameters. Make copy of clone-of
17095 parameter only if requested. (Bug#10348)
17096 (window--state-put-2): Install a window parameter only if it has
17097 a non-nil value or an existing parameter shall be overwritten.
17098
17099 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17100
17101 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17102
17103 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17104
17105 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17106 don't pass the (nil) value of `upnode' to string-match.
17107
17108 2012-01-14 Chong Yidong <cyd@gnu.org>
17109
17110 * startup.el (command-line): Fix X resource class for cursorColor.
17111 Fix values recognized by the cursorBlink resource.
17112
17113 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17114
17115 * epg.el (epg--make-temp-file): Avoid permission race condition
17116 when running on old Emacs versions (bug#10403).
17117
17118 2012-01-14 Glenn Morris <rgm@gnu.org>
17119
17120 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17121
17122 2012-01-13 Alan Mackenzie <acm@muc.de>
17123
17124 Fix filling for when filladapt mode is enabled.
17125
17126 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17127 c-mask-paragraph, pass in `fill-paragraph' rather than
17128 `fill-region-as-paragraph'. (This is a reversion of a previous
17129 change.)
17130 * progmodes/cc-mode.el (c-basic-common-init):
17131 Make fill-paragraph-handle-comment buffer local and set it to nil.
17132
17133 2012-01-13 Glenn Morris <rgm@gnu.org>
17134
17135 * dired.el (dired-switches-escape-p): New function.
17136 (dired-insert-directory): Use dired-switches-escape-p.
17137 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17138
17139 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17140
17141 2012-01-12 Glenn Morris <rgm@gnu.org>
17142
17143 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17144 changes in adaptive-fill-regexp. (Bug#10276)
17145
17146 2012-01-11 Alan Mackenzie <acm@muc.de>
17147
17148 Fix Emacs bug #10463 - put `widen's around the critical spots.
17149
17150 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17151 widen around each invocation of c-state-pp-to-literal. Remove an
17152 unused let variable.
17153
17154 2012-01-11 Glenn Morris <rgm@gnu.org>
17155
17156 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17157 Doc fix.
17158
17159 2012-01-10 Chong Yidong <cyd@gnu.org>
17160
17161 * net/network-stream.el (network-stream-open-starttls):
17162 Avoid emitting a confusing error message when the server gives a bad
17163 response to the capability command.
17164
17165 2012-01-10 Glenn Morris <rgm@gnu.org>
17166
17167 * mail/unrmail.el (unrmail): Tweak previous change.
17168
17169 2012-01-09 Chong Yidong <cyd@gnu.org>
17170
17171 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17172
17173 2012-01-08 Alan Mackenzie <acm@muc.de>
17174
17175 Optimize font locking in long enum definitions.
17176
17177 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17178 arm to a cond form to handle enums.
17179 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17180 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17181
17182 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17183
17184 * files.el (move-file-to-trash): Preserve default file modes on error.
17185 (Bug#10401)
17186
17187 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17188
17189 * faces.el (set-face-attribute): Clarify the meaning of the nil
17190 frame (bug#10294).
17191
17192 * subr.el (with-selected-frame): Mention that the selected frame
17193 is restored (bug#9980).
17194
17195 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17196 (bug#9759).
17197
17198 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17199 (password-read): Don't autoload unused function.
17200
17201 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17202
17203 * progmodes/which-func.el (which-func-mode): Turn into a
17204 non-interactive function and mark as obsolete (bug#10428).
17205
17206 2012-01-06 Chong Yidong <cyd@gnu.org>
17207
17208 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17209 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17210 functions, along with 1 and -1.
17211
17212 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17213
17214 * time.el (display-time-load-average)
17215 (display-time-default-load-average): Doc fixes. See the thread
17216 starting at
17217 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17218 for the details.
17219
17220 2012-01-06 Glenn Morris <rgm@gnu.org>
17221
17222 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17223 has no messages. (Bug#10377)
17224
17225 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17226 than Info-edit. (Bug#10385)
17227
17228 * time.el (display-time-load-average, display-time-next-load-average):
17229 Doc fixes.
17230
17231 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17232 local setting of buffer-read-only to the input buffer. (Bug#10419)
17233
17234 * calendar/calendar.el (calendar-mode):
17235 Locally set scroll-margin to 0. (Bug#10379)
17236
17237 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17238
17239 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17240
17241 2012-01-05 Glenn Morris <rgm@gnu.org>
17242
17243 * eshell/em-unix.el (diff-no-select): Autoload it.
17244 (eshell/diff): Use diff-no-select. (Bug#10420)
17245
17246 2012-01-05 Chong Yidong <cyd@gnu.org>
17247
17248 * shell.el (shell-dynamic-complete-functions): Revert last change.
17249 (shell-command-completion-function): New function.
17250 (shell-completion-vars): Use it to implement
17251 shell-completion-execonly (Bug#10417).
17252
17253 * custom.el (enable-theme): Don't set custom-safe-themes.
17254
17255 * cus-theme.el (custom-theme-merge-theme):
17256 Ignore custom-enabled-themes and custom-safe-themes.
17257
17258 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17259
17260 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17261 first prompt in `sql-interacive-mode'.
17262 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17263 keywords.
17264 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17265 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17266 context of original buffer. Invoke `sql-login-hook'.
17267
17268 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17269
17270 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17271 letters in cite-prefix.
17272
17273 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17274
17275 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17276
17277 2012-01-03 Chong Yidong <cyd@gnu.org>
17278
17279 * shell.el (shell-dynamic-complete-functions):
17280 Put pcomplete-completions-at-point, so as to try
17281 comint-filename-completion first (Bug#10417).
17282
17283 2012-01-02 Richard Stallman <rms@gnu.org>
17284
17285 * battery.el (battery-status-function):
17286 Detect when to use battery-yeeloong-sysfs.
17287 (battery-echo-area-format): Add string for Yeeloong.
17288 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17289 (battery-yeeloong-sysfs): New function.
17290
17291 2012-01-02 Chong Yidong <cyd@gnu.org>
17292
17293 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17294 (dirtrack): Merge code for handling relative filenames in prompt
17295 from shell-dir-cookie-watcher.
17296 (dirtrack-debug-message): New arg to avoid excess format calls.
17297
17298 * shell.el (shell-dir-cookie-re): Variable deleted.
17299 (shell-dir-cookie-watcher): Function deleted.
17300 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17301 with dirtrack-mode.
17302
17303 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17304
17305 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17306 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17307 libgnutls-26.dll.
17308
17309 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17310
17311 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17312
17313 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17314
17315 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17316 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17317
17318 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17319
17320 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17321 also for alternative shells.
17322 (tramp-open-connection-setup-interactive-shell): Check, whether
17323 the shell is a busybox.
17324 (tramp-send-command): Don't suppress multiple prompts for
17325 busyboxes, it hurts.
17326
17327 2011-12-28 Chong Yidong <cyd@gnu.org>
17328
17329 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17330 (gdb-get-source-file): Move mode line update to
17331 gdb-get-source-file (Bug#10087).
17332
17333 2011-12-25 Chong Yidong <cyd@gnu.org>
17334
17335 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17336 gud-gdb-marker-filter without taking it as an argument.
17337 (gud-gdb-run-command-fetch-lines): Caller changed.
17338 (gud-gdb-completion-function): New variable.
17339 (gud-gdb-completion-at-point): Use it.
17340 (gud-gdb-completions-1): Split from gud-gdb-completions.
17341
17342 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17343 function as separate arguments.
17344 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17345 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17346 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17347 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17348 (gdb-stopped, def-gdb-auto-update-trigger)
17349 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17350 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17351 Callers changed.
17352 (gud-gdbmi-completions): New function.
17353 (gdb): Use it for generating the completion table.
17354
17355 2011-12-24 Alan Mackenzie <acm@muc.de>
17356
17357 Introduce a mechanism to widen the region used in context font
17358 locking. Use this to protect declarations from losing their contexts.
17359
17360 * progmodes/cc-langs.el (c-before-font-lock-functions):
17361 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17362 (c-before-context-fontification-functions): New defvar, a list of
17363 functions to be run just before context (etc.) font locking.
17364
17365 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17366 New, functionality extracted from
17367 c-neutralize-syntax-in-and-mark-CPP.
17368 (c-in-after-change-fontification): New variable.
17369 (c-after-change): Set c-in-after-change-fontification.
17370 (c-set-fl-decl-start): Rejig its interface, so it can be called
17371 from both after-change and context fontifying.
17372 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17373 New functions.
17374 (c-standard-font-lock-fontify-region-function): New variable.
17375 (c-font-lock-fontify-region): New function.
17376
17377 2011-12-24 Juri Linkov <juri@jurta.org>
17378
17379 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17380 (Bug#10348)
17381
17382 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17383
17384 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17385 existence of source file. (Bug#10325)
17386
17387 2011-12-23 Alan Mackenzie <acm@muc.de>
17388
17389 Fix unstable fontification inside templates.
17390
17391 * progmodes/cc-langs.el (c-before-font-lock-functions):
17392 Newly created from the singular version. The (c c++ objc) entry now
17393 additionally has c-set-fl-decl-start. The other languages (apart
17394 from AWK) have that as a single entry.
17395
17396 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17397 The functionality for "local" declarations has been extracted to
17398 c-set-fl-decl-start.
17399
17400 * progmodes/cc-mode.el (c-common-init, c-after-change):
17401 Changes due to pluralisation of c-before-font-lock-functions.
17402 (c-set-fl-decl-start): New function, extracted from
17403 c-font-lock-enclosing-decls and enhanced.
17404
17405 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17406
17407 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17408
17409 2011-12-22 Juri Linkov <juri@jurta.org>
17410
17411 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17412
17413 2011-12-22 Chong Yidong <cyd@gnu.org>
17414
17415 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17416
17417 2011-12-21 Drew Adams <drew.adams@oracle.com>
17418
17419 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17420
17421 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17422
17423 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17424
17425 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17426
17427 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17428 highlighting and support. Fix up comments for capitalization.
17429 (cfengine-mode-debug): New var.
17430 (cfengine3-mode): Change the modeline indicator to "CFE3".
17431 (cfengine3-font-lock-keywords): Improve defun highlighting.
17432 (cfengine2-actions): Rename from `cfengine-actions'.
17433 (cfengine2-font-lock-keywords): Rename from
17434 `cfengine-font-lock-keywords'.
17435 (cfengine2-imenu-expression): Rename from
17436 `cfengine-imenu-expression'.
17437 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17438 (cfengine2-beginning-of-defun): Rename from
17439 `cfengine-beginning-of-defun'.
17440 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17441 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17442 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17443 modeline indicator to "CFE2".
17444 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17445 (cfengine-mode-abbrevs): Mark obsolete.
17446
17447 2011-12-21 Chong Yidong <cyd@gnu.org>
17448
17449 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17450 filename argument.
17451
17452 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17453
17454 * window.el (window-normalize-buffer-to-display): Remove.
17455 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17456
17457 2011-12-19 Chong Yidong <cyd@gnu.org>
17458
17459 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17460 Don't signal an error in a predicate function; return non-nil.
17461 (vc-dir-mark-file): Move the error here.
17462 (vc-dir-mark-unmark): If acting on the region, keep going if one
17463 of the entries cannot be marked/unmarked.
17464 (vc-dir-mark-all-files): If current entry is a directory, mark
17465 only child files, as documented.
17466
17467 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17468
17469 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17470 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17471 addition.
17472
17473 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17474
17475 * term/ns-win.el (ns-get-selection-internal)
17476 (ns-store-selection-internal): Declare.
17477 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17478 Declare as obsolete.
17479 (ns-get-pasteboard, ns-paste-secondary):
17480 Use ns-get-selection-internal.
17481 (ns-set-pasteboard, ns-copy-including-secondary):
17482 Use ns-store-selection-internal.
17483
17484 2011-12-17 Chong Yidong <cyd@gnu.org>
17485
17486 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17487 (vc-deduce-fileset): Doc fix.
17488
17489 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17490
17491 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17492
17493 2011-12-13 Sam Steingold <sds@gnu.org>
17494
17495 * man.el (Man-getpage-in-background): When running under a
17496 window-system, ignore $MANWIDTH and $COLUMNS.
17497
17498 2011-12-15 Kenichi Handa <handa@m17n.org>
17499
17500 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17501 (setup-ethiopic-environment-internal): Comment out key-binding for
17502 ethio-toggle-punctuation.
17503
17504 2011-12-13 Alan Mackenzie <acm@muc.de>
17505
17506 Add the switch statement to AWK Mode.
17507
17508 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17509 "default" to the keywords regexp.
17510
17511 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17512 expression as the rest.
17513 (c-nonlabel-token-key): Allow string literals for AWK.
17514 Refactor for the other modes.
17515
17516 Large brace-block initialisation makes CC Mode slow: Fix.
17517 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17518 routines. Limit backward searching in c-font-lock-enclosing.decl.
17519
17520 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17521 pp-state and literal type in addition to the limits.
17522 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17523 (c-state-literal-at): Use the above new defun.
17524 (c-slow-in-literal, c-fast-in-literal): Remove.
17525 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17526
17527 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17528 being in a literal. Add a limit for backward searching.
17529
17530 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17531 c-slow-in-literal.
17532
17533 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17534
17535 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17536
17537 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17538
17539 * window.el (delete-other-windows): Use correct frame in call to
17540 window-with-parameter.
17541
17542 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17543
17544 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17545 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17546 (makefile-gmake-statements, makefile-makepp-statements):
17547 Use it and add new makepp keywords.
17548 (makefile-makepp-font-lock-keywords): Add new patterns.
17549 (makefile-match-function-end): Match new [...] and [[...]].
17550
17551 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17552
17553 * ses.el (ses-call-printer-return, ses-cell-property-get)
17554 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17555 (ses-create-cell-variable, ses-reset-header-string)
17556 (ses-cell-set-formula, ses-repair-cell-reference-all)
17557 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17558 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17559 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17560 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17561 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17562 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17563 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17564 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17565 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17566 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17567 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17568 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17569
17570 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17571
17572 * ses.el: The overall change is to add cell renaming, that is
17573 setting fancy names for cell symbols other than name matching
17574 "\\`[A-Z]+[0-9]+\\'" regexp .
17575 (ses-create-cell-variable): New defun.
17576 (ses-relocate-formula): Relocate formulas only for cells the
17577 symbols of which are not renamed, i.e. symbols whose names do not
17578 match regexp "\\`[A-Z]+[0-9]+\\'".
17579 (ses-relocate-all): Relocate values only for cells the symbols of
17580 which are not renamed.
17581 (ses-load): Create cells variables as the (ses-cell ...) are read,
17582 in order to check row col consistency with cell symbol name only
17583 for cells that are not renamed.
17584 (ses-replace-name-in-formula): New defun.
17585 (ses-rename-cell): New defun.
17586
17587 2011-12-11 Chong Yidong <cyd@gnu.org>
17588
17589 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17590 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17591
17592 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17593
17594 * window.el (other-window): Fix docstring.
17595
17596 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17597
17598 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17599 `from' or `to' address before taking its substring.
17600 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17601 encoded name is chopped in the middle of the encoded string, and
17602 thus displayed encoded.
17603
17604 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17605
17606 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17607
17608 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17609
17610 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17611 to use texinfo-update-node and commands that call it if the
17612 Texinfo file uses @node lines without next/prev/up pointers.
17613 Correct outdated description about texinfo-master-menu.
17614 (texinfo-all-menus-update, texinfo-master-menu)
17615 (texinfo-update-node, texinfo-every-node-update)
17616 (texinfo-multiple-files-update): Doc fix. Warn against updating
17617 all the @node lines.
17618 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17619 argument is numeric. Explain better in the doc string what the
17620 function really does.
17621 (texinfo-insert-master-menu-list): Improve the error message
17622 displayed if there's no menu in the Top node.
17623 (Bug#2975) See also this thread:
17624 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17625
17626 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17627
17628 * speedbar.el (speedbar-supported-extension-expressions):
17629 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17630
17631 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17632
17633 * printing.el (pr-mode-alist):
17634 * simple.el (filter-buffer-substring-functions)
17635 (completion-list-insert-choice-function):
17636 * window.el (window-with-parameter, window-atom-root)
17637 (window-sides-slots, window-size-fixed, window-min-delta)
17638 (window-max-delta, window--resize-mini-window)
17639 (window--resize-child-windows-normal, window-tree)
17640 (delete-other-windows, quit-window, split-window)
17641 (display-buffer-record-window, special-display-buffer-names)
17642 (special-display-regexps, special-display-popup-frame)
17643 (same-window-p, split-window-sensibly)
17644 (display-buffer-overriding-action, display-buffer-alist)
17645 (display-buffer-base-action, display-buffer, switch-to-buffer)
17646 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17647 (fit-window-to-buffer, recenter-positions)
17648 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17649 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17650 and remove unneeded backslashes in docstrings.
17651
17652 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17653
17654 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17655
17656 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17657 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17658 end in ".mk".
17659 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17660 when reading the makefile (bug#10116).
17661
17662 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17663
17664 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17665 (bug#10116).
17666
17667 2011-12-06 Glenn Morris <rgm@gnu.org>
17668
17669 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17670
17671 2011-12-06 Chong Yidong <cyd@gnu.org>
17672
17673 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17674
17675 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17676
17677 * textmodes/table.el (table-shorten-cell): Fix typo.
17678
17679 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17680
17681 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17682
17683 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17684
17685 * descr-text.el (describe-char): Fix display of strong
17686 right-to-left characters and directional embeddings and overrides.
17687
17688 * simple.el (what-cursor-position): Fix display of codepoints of
17689 strong right-to-left characters.
17690
17691 2011-12-05 Chong Yidong <cyd@gnu.org>
17692
17693 * faces.el (read-color): Doc fix.
17694
17695 2011-12-05 Glenn Morris <rgm@gnu.org>
17696
17697 * align.el (align--set-marker): Add doc-string.
17698 Don't try to move something that is not a marker. (Bug#10216)
17699
17700 2011-12-04 Glenn Morris <rgm@gnu.org>
17701
17702 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17703 overly zealous deletion of trailing whitespace.
17704
17705 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17706
17707 * server.el (server-delete-client): On Windows, do not try to delete
17708 the only terminal.
17709 (server-process-filter): On Windows, treat requests for a tty frame as
17710 if they were for a GUI frame if the running server is in GUI mode.
17711
17712 2011-12-03 Glenn Morris <rgm@gnu.org>
17713
17714 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17715
17716 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17717
17718 * electric.el: Streamline electric-indent's hook.
17719 (electric-indent-chars): Revert to simple list.
17720 (electric-indent-functions): New var.
17721 (electric-indent-post-self-insert-function): Use it.
17722
17723 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17724 there's no inferior buffer (bug#10196).
17725 (prolog-consult-compile): Don't use toggle-read-only.
17726
17727 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17728
17729 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17730 interrupt. (Bug#10187)
17731
17732 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17733
17734 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17735 (bug#9160).
17736
17737 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17738 (bug#10191).
17739
17740 2011-12-02 Juri Linkov <juri@jurta.org>
17741
17742 * info.el (Info-search): Display "end of manual" when Isearch
17743 reaches the end of single-file Info manual. (Bug#9918)
17744
17745 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17746
17747 * isearch.el (isearch-message-prefix): Run the input method part
17748 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17749
17750 2011-12-02 Juri Linkov <juri@jurta.org>
17751
17752 * isearch.el (isearch-occur): Use `word-search-regexp' for
17753 `isearch-word'.
17754 (isearch-search-and-update): Add condition for `isearch-word' and
17755 call `word-search-regexp'. (Bug#10145)
17756
17757 2011-12-01 Glenn Morris <rgm@gnu.org>
17758
17759 * eshell/em-hist.el (eshell-hist-initialize):
17760 Handle eshell-history-size nil and HISTSIZE set or unset.
17761 (eshell-history-file-name, eshell-history-size): Fix custom type.
17762
17763 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17764
17765 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17766
17767 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17768
17769 * progmodes/verilog-mode.el (verilog-pretty-expr):
17770 Rework verilog-pretty-expr to handle new assignment operators in system
17771 verilog, such as += *= and the like.
17772 (verilog-assignment-operator-re): Regular expression to find the
17773 assigment operator in a verilog assignment.
17774 (verilog-assignment-operation-re): Regular expression to find an
17775 assignment statement for pretty-expr.
17776 (verilog-in-attribute-p): Query returns true if point is in an
17777 attribute context; used to skip these for expression line up from
17778 pretty-expr.
17779 (verilog-in-parameter-p): Query returns true if point is in an
17780 parameter definition context; used to skip these for expression
17781 line up from pretty-expr.
17782 (verilog-in-parenthesis-p): Query returns true if point is in a
17783 parenthetical expression, specifically ( ) but not [ ] or { };
17784 used by pretty-expr.
17785 (verilog-just-one-space): If there is no space, don't add one.
17786 (verilog-get-lineup-indent-2): Specifically skip just attribute
17787 contexts for expression lineup, rather than skipping all
17788 parenthetical expressions.
17789 (verilog-calculate-indent): Fix comment, and fix indent.
17790 (verilog-do-indent): Indent declarations in lists (suggested by
17791 Joachim Lechner).
17792 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17793 skeleton items.
17794 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17795 by Alain Mellan).
17796
17797 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17798
17799 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17800 parameters with embedded comments. Reported by Ray Stevens.
17801 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17802 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17803 Reported by Tim Holt.
17804 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17805 instantiated by upper module causing wrong expansion until AUTOed a
17806 second time. Reported by K C Buckenmaier.
17807 (verilog-diff-auto): Fix showing .* as a difference when
17808 `verilog-auto-star-save' off. Reported by Dan Dever.
17809 (verilog-auto-reset, verilog-read-always-signals)
17810 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17811 temporary signals in reset list if
17812 verilog-auto-reset-blocking-in-non is nil, and match assignment
17813 style to each signal's assignment type, bug381.
17814 Reported by Thomas Esposito.
17815 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17816 (verilog-uvm-statement-re): Support UVM indentation and
17817 highlighting, with old OVM keywords only.
17818 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17819 Support AUTOTIEOFF creating non-wire data types.
17820 Suggested by Jonathan Greenlaw.
17821 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17822 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17823 (verilog-inject-sense, verilog-read-inst-pins)
17824 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17825 Fix mismatching parenthesis inside commented out code when deleting
17826 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17827 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17828 non-numeric vector width. Reported by Alex Reed.
17829 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17830 detecting signals with parameter widths. Reported by Alex Reed.
17831 (verilog-auto-delete-trailing-whitespace):
17832 With `verilog-auto-delete-trailing-whitespace' remove trailing
17833 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17834 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17835 Fix verilog-scan-cache corruption when running user AUTO expansion
17836 hooks that call indentation routines.
17837 (verilog-simplify-range-expression): Fix typo ignoring lower case
17838 identifiers.
17839 (verilog-delete-auto): Fix delete-autos to also remove user created
17840 automatics, as long as they start with AUTO.
17841 (verilog-batch-diff-auto, verilog-diff-auto)
17842 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17843 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17844 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17845 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17846 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17847 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17848 is disabled and its cache will get corrupt, causing AUTOS not to
17849 expand. Instead use only -quick functions.
17850 (verilog-scan-region): Fix scanning over escaped quotes.
17851 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17852 (verilog-re-search-backward-quick)
17853 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17854 related functions now ignore strings, to fix misparsing of strings
17855 with magic comments embedded in them.
17856 (verilog-read-auto-template):
17857 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17858 Reported by Brad Dobbie.
17859 (verilog-read-auto-template):
17860 Fix 'verilog-auto-inst-template-numbers' with comments.
17861 Reported by Brad Dobbie.
17862 (verilog-auto-inst, verilog-auto-inst-param)
17863 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17864 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17865 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17866 debugging templates without merge conflicts, bug357.
17867 Reported by Brad Dobbie.
17868 (verilog-read-auto-template):
17869 Fix verilog-auto-inst-template-numbers with multiple templates.
17870 Reported by Brad Dobbie.
17871 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17872 abbrevs so user won't be asked to save.
17873 (verilog-read-auto-lisp-present): Fix to start at beginning of
17874 buffer in case called outside of verilog-auto.
17875 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17876 to "X-2". Reported by Matthew Myers.
17877 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17878 all inputs from module templates. Reported by Leith Johnson.
17879 (verilog-module-inside-filename-p): Fix locating programs as with
17880 modules.
17881 (verilog-auto-inst-port): Fix vl-width expressions when using
17882 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17883 (verilog-decls-get-regs, verilog-decls-get-signals,
17884 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17885 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17886 verilog-read-decls): Combine reg and wire structures into one var
17887 structure to represent SystemVerilog concepts.
17888 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17889 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17890 (verilog-auto-wire-type, verilog-insert-definition):
17891 Add verilog-auto-wire-type and AUTOLOGIC to support using
17892 SystemVerilog "logic" keyword instead of "wire"/"reg".
17893 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17894 to declares outputs that also have assignments (presumably in an
17895 ifdef or generate if so there's not a driver conflict).
17896 Reported by Matthew Myers.
17897 (verilog-auto-declare-nettype, verilog-insert-definition):
17898 Add verilog-auto-declare-nettype to fix declarations using
17899 `default_nettype none. Reported by Julian Gorfajn.
17900 (verilog-read-always-signals-recurse, verilog-read-decls)
17901 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17902 malformed end statement, bug325. Reported by Joshua Wise and
17903 Andrew Drake.
17904 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17905 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17906 when expanding .* in interfaces, bug320.
17907 Reported by Pierre-David Pfister.
17908 (verilog-read-module-name): Fix import statements between module
17909 name and open parenthesis, bug317.
17910 Reported by Pierre-David Pfister.
17911 (verilog-simplify-range-expression): Fix simplification of
17912 multiplications inside AUTOWIRE connections, bug303.
17913 (verilog-auto-inst-port): Support parameter expansion in
17914 multidimensional arrays.
17915 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17916 after "assert property". Reported by Julian Gorfajn.
17917 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17918 with multiplication, bug303.
17919 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17920 Reported by Jan Frode Lonnum.
17921
17922 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17923
17924 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17925 (hfy-shell-file-name, hfy-shell):
17926 * international/fontset.el (x-decompose-font-name): Fix typos.
17927
17928 2011-11-29 Ken Brown <kbrown@cornell.edu>
17929
17930 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17931 (gdb-version): Remove defvar.
17932 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17933 (gdb-gud-context-command, gdb-non-stop-handler)
17934 (gdb-current-context-command, gdb-stopped): Use it.
17935 (gdb-init-1): Enable pretty printing here.
17936 (gdb-non-stop-handler): Don't enable pretty-printing here.
17937 Check to see if the target supports non-stop mode; if not, turn off
17938 non-stop mode. Use the following.
17939 (gdb-check-target-async): New defun.
17940 (gud-watch, gdb-stopped): Fix whitespace.
17941 (gdb-get-source-file): Don't try to display the source file if
17942 `gdb-main-file' is nil.
17943
17944 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17945
17946 * align.el: Try to generate fewer markers (bug#10047).
17947 (align--set-marker): New macro.
17948 (align-region): Use it.
17949
17950 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17951
17952 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17953
17954 2011-11-29 Chong Yidong <cyd@gnu.org>
17955
17956 * indent.el (indent-for-tab-command, indent-according-to-mode):
17957 Doc fix.
17958 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17959
17960 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17961
17962 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17963 aware of remote file names. (Bug#10124)
17964
17965 2011-11-29 Chong Yidong <cyd@gnu.org>
17966
17967 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17968
17969 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17970
17971 * files.el (find-file): Don't use force-same-window (bug#10144).
17972 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17973 use pop-to-buffer if the selected window can't be used.
17974 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17975
17976 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17977
17978 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17979 special-mode-map.
17980
17981 2011-11-28 Chong Yidong <cyd@gnu.org>
17982
17983 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17984
17985 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17986
17987 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17988 gdb-get-source-file-list on gdb-create-source-file-list.
17989
17990 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17991
17992 * whitespace.el (whitespace-newline): Use a different foreground
17993 color for 16-color light-background displays.
17994
17995 2011-11-24 Chong Yidong <cyd@gnu.org>
17996
17997 * window.el (display-buffer--special-action): Doc fix.
17998
17999 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18000
18001 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18002 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18003 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18004 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18005 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18006 (avl-tree-stack-first):
18007 * emacs-lisp/cconv.el (cconv--analyse-use):
18008 * net/gnutls.el (gnutls-negotiate): Fix typos.
18009
18010 2011-11-24 Glenn Morris <rgm@gnu.org>
18011
18012 * lpr.el (lpr-windows-system, lpr-lp-system):
18013 * mail/binhex.el (binhex-begin-line):
18014 * progmodes/grep.el (grep-history, grep-find-history):
18015 * textmodes/flyspell.el:
18016 * vc/pcvs-defs.el (cvs-global-menu):
18017 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18018 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18019 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18020
18021 * net/tls.el: Fix case of "GnuTLS".
18022
18023 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18024
18025 * version.el (emacs-build-system): Give it a doc-string.
18026
18027 2011-11-24 Juri Linkov <juri@jurta.org>
18028
18029 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18030
18031 2011-11-24 Glenn Morris <rgm@gnu.org>
18032
18033 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18034 if called on a non-mime message just toggle the headers. (Bug#8006)
18035
18036 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18037
18038 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18039 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18040 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18041 (allout-rebullet-heading, allout-open-sibtopic)
18042 (allout-toggle-current-subtree-encryption)
18043 (allout-toggle-subtree-encryption, allout-encrypt-string)
18044 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18045 (allout-distinctive-bullets-string, allout-auto-activation):
18046 * window.el (window-normalize-buffer-to-display):
18047 * progmodes/verilog-mode.el (verilog-batch-indent):
18048 * textmodes/bibtex.el (bibtex-field-braces-opt)
18049 (bibtex-field-strings-opt):
18050 * vc/cvs-status.el (cvs-tree-merge):
18051 Fix typos.
18052
18053 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18054
18055 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18056 `non-essential' to t, in order to avoid remote connections.
18057
18058 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18059
18060 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18061 On MS-DOS and MS-Windows, compare with loaddefs.el
18062 case-insensitively.
18063
18064 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18065
18066 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18067
18068 2011-11-23 Glenn Morris <rgm@gnu.org>
18069
18070 * paths.el (rmail-file-name): Reformat the doc-string so that it
18071 is picked up.
18072
18073 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18074 (rmail-auto-file): Ignore case in the "special" field names,
18075 as mail-fetch-field does for all others.
18076
18077 * mail/rmail.el (rmail-forward):
18078 * mail/rmailkwd.el (rmail-set-label):
18079 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18080 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18081
18082 * mail/rmail.el (rmail-current-message): Doc fix.
18083
18084 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18085
18086 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18087
18088 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18089
18090 2011-11-22 Glenn Morris <rgm@gnu.org>
18091
18092 * mail/rmailmm.el (test-rmail-mime-handler)
18093 (test-rmail-mime-bulk-handler)
18094 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18095
18096 2011-11-21 Juri Linkov <juri@jurta.org>
18097
18098 * calc/calc.el (calc-read-key-sequence):
18099 Let-bind `input-method-function' to nil. (Bug#10018)
18100
18101 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18102
18103 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18104 Tell the caller that the next line needs recomputation, even
18105 though it doesn't start a sexp (bug#10094).
18106
18107 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18108
18109 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18110
18111 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18112
18113 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18114 Use force-same-window.
18115
18116 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18117
18118 * descr-text.el (describe-char-unicode-data):
18119 * json.el (json-string-escape):
18120 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18121 (Footnote-unicode, Footnote-style-p):
18122 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18123
18124 2011-11-20 Chong Yidong <cyd@gnu.org>
18125
18126 * window.el (replace-buffer-in-windows): Restore interactive spec.
18127
18128 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18129
18130 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18131
18132 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18133 (byte-compile-global-not-obsolete-vars): New var.
18134 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18135 Use it.
18136 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18137
18138 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18139
18140 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18141 * progmodes/pascal.el (electric-pascal-equal):
18142 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18143 * xml.el (xml-substitute-special): Fix typos.
18144
18145 2011-11-20 Glenn Morris <rgm@gnu.org>
18146
18147 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18148 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18149 Doc fixes.
18150 (rmail-decode-mime-charset): Mark as obsolete.
18151
18152 * mail/rmailsum.el (rmail-message-regexp-p-1):
18153 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18154 Before using mime functions, check they are set. (Bug#10077)
18155
18156 2011-11-19 Juri Linkov <juri@jurta.org>
18157
18158 * info.el (Info-finder-find-node): Use `package--builtins' instead
18159 of `package-alist'. Use node names formed by the pattern "Keyword "
18160 and the keyword name.
18161
18162 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18163
18164 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18165
18166 2011-11-19 Juri Linkov <juri@jurta.org>
18167
18168 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18169 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18170 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18171 `old-history', `old-history-forward'. Add let-binding
18172 `window-selected'. Remove calls to `kill-buffer',
18173 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18174 before calling `Info-find-node', so `Info-find-node-2' will reread
18175 the Info file. Restore window positions only when `window-selected'
18176 is non-nil.
18177
18178 2011-11-19 Juri Linkov <juri@jurta.org>
18179
18180 * isearch.el (isearch-lazy-highlight-new-loop):
18181 Remove condition `(not isearch-error)'. (Bug#9918)
18182
18183 * misearch.el (multi-isearch-search-fun): Add condition
18184 `(not bound)' to ignore lazy-highlighting search.
18185 Add the search-failed message "end of multi" when the end of
18186 multi-sequence is reached. Uncapitalize the search-failed
18187 message "Repeat for next buffer".
18188
18189 * info.el (Info-search): Add the search-failed message
18190 "end of the manual" when the end of the manual is reached
18191 in Isearch mode.
18192
18193 2011-11-19 Juri Linkov <juri@jurta.org>
18194
18195 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18196 Use non-destructive `remove' instead of `delete' because
18197 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18198 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18199
18200 2011-11-19 Juri Linkov <juri@jurta.org>
18201
18202 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18203 to nil instead of binding `search-ring' and `regexp-search-ring'.
18204 (Bug#9185)
18205
18206 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18207
18208 * simple.el (line-move): Force movement by logical lines for any
18209 hscrolled window, not only when auto-hscroll-mode is on.
18210 (line-move-visual): Update doc string to that effect. (Bug#10076)
18211
18212 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18213
18214 * language/european.el (macintosh): Define as alias for mac-roman.
18215
18216 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18217
18218 * mail/rmailmm.el (rmail-mime-display-header)
18219 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18220 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18221 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18222 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18223 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18224 of a raw aref.
18225 (rmail-mime-entity-segment): To get past the tagline, move forward
18226 2 more lines, to account for the 2 empty lines that precede and
18227 follow the line with the buttons.
18228 (rmail-mime-update-tagline): Move one more line, to get past the
18229 empty line that follows the buttons in the tagline. (Bug#9520)
18230
18231 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18232
18233 * window.el (window-max-delta-1, window-min-delta-1)
18234 (window-min-size-1, window-state-get-1, window-state-put-1)
18235 (window-state-put-2): Use "window--" prefix.
18236
18237 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18238
18239 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18240 (smie-warning-count): New var.
18241 (smie-set-prec2tab): Use it.
18242 (smie-bnf->prec2): Improve warnings. Add docstring.
18243 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18244 (smie-bnf--set-class): New function.
18245 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18246 corner case.
18247
18248 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18249 (compilation-error-properties, compilation-move-to-column):
18250 Handle compilation-first-column while in the target buffer.
18251
18252 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18253 Don't hardcode point-min==1.
18254
18255 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18256 (eshell-rewrite-for-command): Remove workaround.
18257 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18258 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18259 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18260
18261 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18262
18263 2011-11-17 Glenn Morris <rgm@gnu.org>
18264
18265 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18266 Ignore buffer-local generated-autoload-file if it is the same
18267 as the global value. (Bug#10049)
18268
18269 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18270
18271 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18272 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18273 (reftex-toc-previous-heading, reftex-toc-max-level)
18274 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18275 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18276 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18277 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18278 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18279 (reftex-toc-rename-label, reftex-toc-visit-location)
18280 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18281 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18282 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18283 leaving "*toc*" only for references to the buffer.
18284
18285 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18286
18287 * window.el (window-resize, delete-window, split-window):
18288 Replace window-splits by window-combination-resize.
18289 * cus-start.el (window-splits): Replace by window-combination-resize.
18290
18291 2011-11-17 Glenn Morris <rgm@gnu.org>
18292
18293 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18294 Make bash entry derive from sh entry, not shell entry.
18295
18296 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18297
18298 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18299 local file name.
18300
18301 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18302
18303 * menu-bar.el (menu-bar-file-menu):
18304 * printing.el (pr-ps-utility):
18305 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18306 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18307 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18308 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18309 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18310 (icalendar--convert-cyclic-to-ical)
18311 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18312 (icalendar--convert-ical-to-diary)
18313 (icalendar--convert-recurring-to-diary)
18314 (icalendar--convert-non-recurring-all-day-to-diary)
18315 (icalendar-import-format-sample):
18316 * progmodes/idlw-shell.el (idlwave-shell-mode):
18317 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18318 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18319 (vhdl-ps-print-init): Fix typos.
18320
18321 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18322
18323 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18324 FSF and collapse date sequence, obscure author/maintainer email address
18325 better, remove extra version line, track relocation of author's webpage.
18326
18327 * progmodes/python.el (python-pdbtrack-input-prompt)
18328 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18329 regular python pdb prompts. Adjustments shamelessly taken exactly as
18330 suggested in EmacsWiki page (tiny change):
18331 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18332
18333 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18334
18335 * expand.el (expand-pos, expand-index, expand-point):
18336 Remove redundant info from docstring.
18337 (expand-add-abbrevs): Doc fix.
18338 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18339 (expand-sample-perl-mode-expand-list): Fix typos.
18340
18341 * net/dbus.el (dbus-event-member-name):
18342 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18343 * term/pc-win.el (msdos-create-frame-with-faces):
18344 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18345
18346 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18347
18348 * window.el (split-window, window-state-get-1)
18349 (window-state-put-1, window-state-put-2): Rename occurrences of
18350 window-nest to window-combination-limit.
18351 * cus-start.el (window-nest): Rename to window-combination-limit.
18352
18353 2011-11-16 Chong Yidong <cyd@gnu.org>
18354
18355 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18356 regexp (Bug#10033).
18357
18358 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18359
18360 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18361 `completing-read' will remove *Completions* and will preserve
18362 current-buffer for us.
18363 (tmm-add-prompt): Users of *Completions* will always (re)set its
18364 major mode.
18365 (tmm-old-comp-map): Remove.
18366
18367 2011-11-16 Glenn Morris <rgm@gnu.org>
18368
18369 * mail/rmailedit.el: Require rmailmm when compiling.
18370 (rmail-old-mime-state): New declaration.
18371 (rmail-edit-current-message): If editing a mime message,
18372 edit the "raw" message from the mbox buffer.
18373 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18374
18375 2011-11-15 Glenn Morris <rgm@gnu.org>
18376
18377 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18378 which wasn't being used. Add optional arg to force given state.
18379 (rmail-mime): Add optional arg to force given state.
18380
18381 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18382
18383 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18384 * frame.el (display-mm-dimensions-alist):
18385 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18386 (outline-move-subtree-down):
18387 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18388 (newsticker--treeview-do-get-node):
18389 * net/quickurl.el (quickurl-list-buffer-name):
18390 * progmodes/dcl-mode.el (dcl-mode):
18391 * progmodes/gdb-mi.el (gdb-mapcar*):
18392 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18393
18394 2011-11-15 Glenn Morris <rgm@gnu.org>
18395
18396 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18397 in a boolean sense, so just make it a boolean, and fix the doc.
18398 (rmail-show-mime-function, rmail-mime-feature)
18399 (rmail-require-mime-maybe): Doc fixes.
18400 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18401
18402 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18403
18404 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18405
18406 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18407 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18408 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18409 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18410
18411 2011-11-15 Glenn Morris <rgm@gnu.org>
18412
18413 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18414 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18415 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18416 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18417 (rmail-mime, rmail-show-mime): Doc fixes.
18418
18419 * term/ns-win.el (mode-line-frame-identification):
18420 Leave it alone. (Bug#10051)
18421
18422 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18423
18424 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18425 Handle empty buffers. (Bug#9978)
18426
18427 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18428
18429 * international/mule.el (define-charset):
18430 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18431 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18432 * progmodes/verilog-mode.el (verilog-backward-token):
18433 * textmodes/ispell.el (lookup-words):
18434 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18435
18436 2011-11-14 Glenn Morris <rgm@gnu.org>
18437
18438 * progmodes/executable.el
18439 (executable-make-buffer-file-executable-if-script-p):
18440 Handle file-modes returning nil.
18441
18442 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18443 message - not necessary, and causes problems. (Bug#9831)
18444
18445 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18446
18447 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18448
18449 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18450 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18451 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18452
18453 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18454
18455 * window.el (window-resize, delete-window): Use window-splits
18456 variable instead of function.
18457 (window-state-get-1, window-state-put-2, window-state-put):
18458 Don't deal with windows' splits status.
18459
18460 2011-11-12 Glenn Morris <rgm@gnu.org>
18461
18462 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18463 (apropos-documentation): Doc fixes.
18464
18465 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18466
18467 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18468 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18469
18470 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18471
18472 * electric.el (electric-indent-post-self-insert-function): Make it
18473 possible for a char to only indent in some circumstances.
18474 (electric-indent-mode): Simplify.
18475
18476 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18477
18478 * window.el (windows-with-parameter): Remove unused function.
18479 (windows-at-side): Rename to window-at-side-list.
18480 (window-check, window-atom-check, window-atom-check-1)
18481 (window-side-check, window-size-ignore, window-size-fixed-1)
18482 (window-in-direction-2): Prefix with "window--".
18483 (window-tree-1): Rename to window--subtree, fix doc-string.
18484
18485 2011-11-11 Glenn Morris <rgm@gnu.org>
18486
18487 * subr.el (eval-after-load): If FILE is already loaded,
18488 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18489
18490 2011-11-10 Glenn Morris <rgm@gnu.org>
18491
18492 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18493 Call svn via vc-svn-command rather than vc-do-command.
18494 (vc-svn-command): Add --non-interactive. (Bug#9993)
18495 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18496
18497 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18498 Add toggle-read-only. (Bug#7292)
18499 * files.el (toggle-read-only): Mention that it should only
18500 be used interactively. (Bug#10006)
18501
18502 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18503
18504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18505 Adjust regexp for OCaml warnings.
18506
18507 * electric.el (electric-pair-post-self-insert-function): Let user
18508 turn it off buffer-locally (bug#9932).
18509
18510 * progmodes/python.el (python-beginning-of-statement):
18511 Rewrite (bug#2703).
18512
18513 * progmodes/compile.el: Better handle TABs (bug#9749).
18514 (compilation-internal-error-properties)
18515 (compilation-next-error-function): Obey the target buffer's
18516 compilation-error-screen-columns.
18517
18518 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18519
18520 * progmodes/meta-mode.el: Remove obsolete comments.
18521 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18522 Fix typos in docstrings.
18523
18524 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18525
18526 * window.el (window-size-fixed-p): Rewrite doc-string.
18527 (window-resizable-p): Rename to window--resizable-p. Update callers.
18528 (window--resizable): New function. Make all callers of
18529 window-resizable call window--resizable instead.
18530 (window-resizable): Rewrite in terms of window--resizable.
18531
18532 2011-11-08 Glenn Morris <rgm@gnu.org>
18533
18534 * progmodes/delphi.el (delphi-mode-syntax-table):
18535 Let define-derived-mode define a proper syntax table. (Bug#9994)
18536
18537 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18538
18539 * window.el: Stay away from defsubst.
18540 (window-list-no-nils): Remove.
18541 (window-state-get-1, window-state-get): Use backquote instead.
18542
18543 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18544
18545 * emacs-lisp/find-func.el (find-function-read):
18546 Fix incorrect use of default argument in `completing-read'.
18547
18548 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18549
18550 * window.el (display-buffer-function, special-display-function):
18551 Mention display-buffer-record-window but do not mention
18552 help-setup parameter in doc-strings.
18553 (window-min-delta): Fix doc-string typo.
18554
18555 2011-11-08 Chong Yidong <cyd@gnu.org>
18556
18557 * window.el (window-total-height, window-total-width): Doc fix.
18558 (window-body-size): Move from C.
18559 (window-body-height, window-body-width): Move to C.
18560
18561 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18562
18563 * window.el: Make special-display like display-buffer-alist (bug#9532).
18564 (display-buffer--special-action): New function, morphed
18565 from display-buffer--special.
18566 (display-buffer): Use it to handle special-display-buffers at higher
18567 priority (just after display-buffer-alist).
18568 (display-buffer-fallback-action, display-buffer--other-frame-action)
18569 (pop-to-buffer-same-window): Remove display-buffer--special.
18570
18571 2011-11-07 Glenn Morris <rgm@gnu.org>
18572
18573 * calendar/cal-menu.el (cal-menu-set-date-title):
18574 Do nothing if not in a calendar. (Bug#9976)
18575
18576 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18577
18578 * files.el (find-file): Always use selected-window.
18579
18580 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18581
18582 * window.el (window-combinations): Make WINDOW argument
18583 mandatory. Rewrite doc-string.
18584 (walk-window-subtree, window-atom-check, window-min-delta)
18585 (window-max-delta, window--resize-this-window)
18586 (window--resize-root-window-vertically, window-tree)
18587 (balance-windows, window-state-put): Rewrite doc-strings as to
18588 not mention the term "subwindow".
18589 (window--resize-subwindows-skip-p): Rename to
18590 window--resize-child-windows-skip-p.
18591 (window--resize-subwindows-normal): Rename to
18592 window--resize-child-windows-normal.
18593 (window--resize-subwindows): Rename to
18594 window--resize-child-windows.
18595 (window-or-subwindow-p): Rename to window--in-subtree-p.
18596
18597 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18598
18599 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18600 Ensure that mbox format messages end in two newlines (Bug#9974).
18601
18602 2011-11-06 Chong Yidong <cyd@gnu.org>
18603
18604 * window.el (window-combination-p): Function deleted; its
18605 side-effect is not used in any existing code.
18606 (window-combinations, window-combined-p): Call window-*-child
18607 directly.
18608
18609 2011-11-05 Chong Yidong <cyd@gnu.org>
18610
18611 * window.el (window-valid-p): Rename from window-any-p.
18612 (window-size-ignore, window-state-get): Callers changed.
18613 (window-normalize-window): Rename from window-normalize-any-window.
18614 New arg LIVE-ONLY, replacing window-normalize-live-window.
18615 (window-normalize-live-window): Delete.
18616 (window-combination-p, window-combined-p, window-combinations)
18617 (walk-window-subtree, window-atom-root, window-min-size)
18618 (window-sizable, window-sizable-p, window-size-fixed-p)
18619 (window-min-delta, window-max-delta, window-resizable)
18620 (window-resizable-p, window-full-height-p, window-full-width-p)
18621 (window-current-scroll-bars, window-point-1, set-window-point-1)
18622 (window-at-side-p, window-in-direction, window-resize)
18623 (adjust-window-trailing-edge, maximize-window, minimize-window)
18624 (window-deletable-p, delete-window, delete-other-windows)
18625 (record-window-buffer, unrecord-window-buffer)
18626 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18627 (quit-window, split-window, window-state-put)
18628 (set-window-text-height, fit-window-to-buffer)
18629 (shrink-window-if-larger-than-buffer): Callers changed.
18630
18631 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18632
18633 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18634 rfc2047-decode-string.
18635 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18636 warnings.
18637
18638 * window.el (window-body-height, window-body-width): Mention in
18639 the doc string that the return values are in frame's canonical
18640 units. (Bug#9949)
18641
18642 2011-11-03 Alan Mackenzie <acm@muc.de>
18643
18644 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18645 change in cc-engine.el.
18646
18647 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18648
18649 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18650
18651 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18652
18653 * window.el (quit-window): Call unrecord-window-buffer after
18654 showing another buffer in the window. (Bug#9937)
18655 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18656
18657 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18658
18659 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18660 Accept status with more than 9 shelves. (Bug#9935)
18661 Reported by Colin D Bennett <colin@gibibit.com>.
18662
18663 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18664
18665 * help.el (with-help-window): Don't reference
18666 temp-buffer-show-specifiers in doc-string.
18667
18668 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18669
18670 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18671 menu-item.
18672
18673 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18674
18675 * whitespace.el: New version 13.2.2.
18676 (whitespace-newline-mode): Disable properly. Reported by Sarah
18677 <EmacsWiki>.
18678
18679 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18680
18681 * net/newst-treeview.el: Remove "Time-stamp".
18682 (newsticker--group-manage-orphan-feeds): Do not call
18683 newsticker--treeview-tree-update.
18684 (newsticker-treeview-update, newsticker-treeview):
18685 Call newsticker--treeview-tree-update if necessary.
18686
18687 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18688
18689 * window.el (window-iso-combination-p, window-iso-combined-p)
18690 (window-iso-combinations): Remove "iso-" infix.
18691 Suggested by Chong Yidong.
18692 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18693 (window-max-delta-1, window-resize, window--resize-siblings)
18694 (window--resize-this-window, adjust-window-trailing-edge)
18695 (split-window, balance-windows-1)
18696 (shrink-window-if-larger-than-buffer):
18697 * calendar/calendar.el (calendar-generate-window):
18698 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18699
18700 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18701
18702 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18703 in place (bug#9907).
18704 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18705 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18706 (eshell-structure-basic-command, eshell-rewrite-while-command)
18707 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18708 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18709 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18710 (eshell-do-pipelines-synchronously, eshell-eval-command):
18711 Use backquotes and prefer setq to set.
18712 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18713 (eshell-macrop): Use functionp.
18714 (eshell-do-eval): Handle multiple expressions in `while' body.
18715
18716 2011-10-30 Chong Yidong <cyd@gnu.org>
18717
18718 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18719 instead of set-mark (Bug#9810).
18720
18721 2011-10-30 Chong Yidong <cyd@gnu.org>
18722
18723 * window.el (split-window-below, split-window-right): Rename from
18724 split-window-above-each-other and split-window-side-by-side
18725 respectively. All callers changed.
18726 (split-window-sensibly, split-window-sensibly): Use them.
18727 (split-window-keep-point): Doc fix.
18728
18729 * isearch.el: Add isearch-scroll property to split-window-below
18730 and split-window-right.
18731
18732 * follow.el (follow-mode):
18733 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18734 * progmodes/ada-xref.el (ada-gdb-application):
18735 * emulation/vip.el (vip-buffer-in-two-windows):
18736 * image-dired.el (image-dired-dired-with-window-configuration):
18737 * dired-x.el (dired-do-find-marked-files):
18738 * dired.el (dired-pop-to-buffer):
18739 * bs.el (bs--show-with-configuration):
18740 * vc/emerge.el (emerge-setup-windows):
18741 * textmodes/two-column.el (2C-two-columns):
18742 * textmodes/reftex-toc.el (reftex-toc):
18743 * progmodes/gdb-mi.el (gdb-setup-windows):
18744 * progmodes/fortran.el (fortran-window-create):
18745 * net/newst-treeview.el (newsticker--treeview-window-init):
18746 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18747 * emulation/tpu-edt.el (tpu-gold-map):
18748 * emulation/crisp.el (crisp-mode-map):
18749 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18750
18751 2011-10-29 Chong Yidong <cyd@gnu.org>
18752
18753 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18754
18755 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18756
18757 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18758 forged Ispell output (Bug#7904).
18759
18760 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18761
18762 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18763
18764 * doc-view.el: Avoid ugly errors about not finding nil.
18765 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18766 (doc-view-dvipdf-program, doc-view-unoconv-program)
18767 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18768 Avoid nil or absolute file name as default value.
18769 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18770
18771 2011-10-28 Alan Mackenzie <acm@muc.de>
18772
18773 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18774
18775 2011-10-28 Alan Mackenzie <acm@muc.de>
18776
18777 Amend the handling of c-beginning/end-of-defun in nested declaration
18778 scopes.
18779
18780 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18781 cc-langs.el. Change it to a defcustom.
18782
18783 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18784 cc-vars.el.
18785
18786 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18787 Prevent "class foo : bar" being spuriously recognized as a label.
18788
18789 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18790 Add parameter `inclusive' (to include enclosing braces in the region).
18791 (c-widen-to-enclosing-decl-scope): New function.
18792 (c-while-widening-to-decl-block): New macro.
18793 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18794 outward for defun boundaries, and correspondingly change symbol
18795 `respect-enclosure' to `go-outward'.
18796 (c-declaration-limits): Change algorithm to report only the "innermost"
18797 defun's boundaries.
18798
18799 2011-10-28 Deniz Dogan <deniz@dogan.se>
18800
18801 * net/rcirc.el (rcirc-mode): Use hard newlines.
18802
18803 2011-10-28 Alan Mackenzie <acm@muc.de>
18804
18805 Amend to indent and fontify macros "which include their own semicolon"
18806 correctly, using the "virtual semicolon" mechanism.
18807
18808 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18809
18810 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18811 Recode to scan one line at a time rather than having \n and \r
18812 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18813 (c-forward-label): Amend for virtual semicolons.
18814 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18815
18816 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18817 of the new C macros.
18818
18819 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18820 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18821 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18822 (c-opt-cpp-macro-define): Make into a full language variable.
18823 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18824 AWK Mode (including \n, \r) removed, no longer needed.
18825
18826 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18827 Invoke c-make-macro-with-semi-re.
18828
18829 * progmodes/cc-vars.el (c-macro-with-semi-re):
18830 (c-macro-names-with-semicolon): New variables.
18831 (c-make-macro-with-semi-re): New function.
18832
18833 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18834
18835 * vc/log-edit.el: Fill empty field rather than adding new one.
18836 (log-edit-add-field): New function.
18837 (log-edit-insert-changelog): Use it.
18838
18839 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18840
18841 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18842
18843 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18844
18845 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18846 (gdb--check-interpreter): New function.
18847 (gdb): Use it.
18848
18849 2011-10-27 Glenn Morris <rgm@gnu.org>
18850
18851 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18852 (least-positive-float, least-negative-float)
18853 (least-positive-normalized-float, least-negative-normalized-float)
18854 (float-epsilon, float-negative-epsilon):
18855 Remove unnecessary declarations.
18856
18857 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18858 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18859 (least-positive-float, least-negative-float)
18860 (least-positive-normalized-float, least-negative-normalized-float)
18861 (float-epsilon, float-negative-epsilon): Add doc-strings,
18862 based on those in cl.texi.
18863
18864 * files.el (set-visited-file-name): If the major-mode changed,
18865 reload the local variables. (Bug#9796)
18866
18867 2011-10-27 Chong Yidong <cyd@gnu.org>
18868
18869 * subr.el (change-major-mode-after-body-hook): New hook.
18870 (run-mode-hooks): Run it.
18871
18872 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18873 Use change-major-mode-before-body-hook.
18874
18875 * simple.el (fundamental-mode):
18876 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18877 change introducing fundamental-mode-hook.
18878
18879 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18880
18881 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18882
18883 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18884
18885 * ido.el (ido-file-name-all-completions-1): Do not require
18886 tramp.el explicitly. (Bug#7583)
18887
18888 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18889
18890 * progmodes/octave-mod.el:
18891 * progmodes/octave-inf.el: Update maintainer.
18892
18893 2011-10-26 Chong Yidong <cyd@gnu.org>
18894
18895 * subr.el (with-wrapper-hook): Rewrite doc.
18896
18897 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18898
18899 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18900 filenames "/method:foo:". (Bug#9793)
18901
18902 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18903
18904 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18905 (bug#9865).
18906
18907 2011-10-24 Glenn Morris <rgm@gnu.org>
18908
18909 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18910
18911 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18912
18913 * notifications.el: Add the requirement of a running D-Bus session
18914 bus to the Commentary.
18915
18916 2011-10-24 Juri Linkov <juri@jurta.org>
18917
18918 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18919 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18920 (Bug#9364)
18921
18922 2011-10-24 Juri Linkov <juri@jurta.org>
18923
18924 * info.el (Info-following-node-name-re): Add newline to the list
18925 of allowed characters for leading space. (Bug#9824)
18926
18927 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18928
18929 * progmodes/octave-inf.el (inferior-octave-mode-map):
18930 Fix C-c C-h binding.
18931 * progmodes/octave-mod.el (octave-help): Remove.
18932
18933 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18934
18935 Sync with Tramp 2.2.3.
18936
18937 * net/tramp-cache.el (top): Pacify byte-compiler using
18938 `init-file-user' and `site-run-file'.
18939
18940 * net/trampver.el: Update release number.
18941
18942 2011-10-23 Chong Yidong <cyd@gnu.org>
18943
18944 * files.el (toggle-read-only): Remove obsolete comment about
18945 version control.
18946
18947 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18948 for toggle-read-only. Note that this hasn't called vc-next-action
18949 since 2008-05-02, though it wasn't documented at the time.
18950
18951 * vc/ediff-init.el (ediff-toggle-read-only-function):
18952 Use toggle-read-only.
18953
18954 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18955
18956 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18957 of c-parse-state.
18958
18959 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18960 correct faulty logical expression.
18961 (c-parse-state-state, c-record-parse-state-state):
18962 (c-replay-parse-state-state): New defvar/defuns.
18963 (c-debug-parse-state): Use new functions.
18964
18965 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18966
18967 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18968 last fix. Use window-in-direction correctly.
18969
18970 2011-10-21 Chong Yidong <cyd@gnu.org>
18971
18972 * progmodes/idlwave.el (idlwave-mode):
18973 * progmodes/vera-mode.el (vera-mode): No need to set
18974 require-final-newline; that's done in prog-mode.
18975 Suggested by Stefan Monnier.
18976
18977 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18978
18979 * mouse.el (mouse-drag-window-above)
18980 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18981 (mouse-drag-mode-line-1, mouse-drag-header-line)
18982 (mouse-drag-vertical-line-rightward-window): Remove.
18983 (mouse-drag-line): New function.
18984 (mouse-drag-mode-line, mouse-drag-header-line)
18985 (mouse-drag-vertical-line): Call mouse-drag-line.
18986 * window.el (window-at-side-p, windows-at-side): New functions.
18987
18988 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18989
18990 * tar-mode.el (tar-grind-file-mode):
18991 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18992
18993 2011-10-21 Chong Yidong <cyd@gnu.org>
18994
18995 * progmodes/idlwave.el (idlwave-mode):
18996 * progmodes/vera-mode.el (vera-mode):
18997 Use mode-require-final-newline.
18998
18999 2011-10-20 Glenn Morris <rgm@gnu.org>
19000
19001 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19002
19003 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19004
19005 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19006
19007 2011-10-20 Chong Yidong <cyd@gnu.org>
19008
19009 * emulation/cua-base.el (cua-mode):
19010 * mail/footnote.el (footnote-mode):
19011 * mail/mailabbrev.el (mail-abbrevs-mode):
19012 * net/xesam.el (xesam-minor-mode):
19013 * progmodes/bug-reference.el (bug-reference-mode):
19014 * progmodes/cap-words.el (capitalized-words-mode):
19015 * progmodes/compile.el (compilation-minor-mode)
19016 (compilation-shell-minor-mode):
19017 * progmodes/gud.el (gud-tooltip-mode):
19018 * progmodes/hideif.el (hide-ifdef-mode):
19019 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19020 * progmodes/subword.el (subword-mode):
19021 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19022 * progmodes/which-func.el (which-function-mode):
19023 * term/tvi970.el (tvi970-set-keypad-mode):
19024 * term/vt100.el (vt100-wide-mode):
19025 * textmodes/flyspell.el (flyspell-mode):
19026 * textmodes/ispell.el (ispell-minor-mode):
19027 * textmodes/nroff-mode.el (nroff-electric-mode):
19028 * textmodes/paragraphs.el (use-hard-newlines):
19029 * textmodes/refill.el (refill-mode):
19030 * textmodes/reftex.el (reftex-mode):
19031 * textmodes/rst.el (rst-minor-mode):
19032 * textmodes/sgml-mode.el (html-autoview-mode)
19033 (sgml-electric-tag-pair-mode):
19034 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19035 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19036 * emulation/crisp.el (crisp-mode):
19037 * emacs-lisp/eldoc.el (eldoc-mode):
19038 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19039 minor mode behavior.
19040
19041 2011-10-19 Juri Linkov <juri@jurta.org>
19042
19043 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19044 the list of hard-coded chars with escape-glyph face.
19045
19046 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19047
19048 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19049
19050 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19051
19052 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19053 running process.
19054
19055 2011-10-19 Glenn Morris <rgm@gnu.org>
19056
19057 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19058 Ignore ignored files. (Bug#9726)
19059
19060 2011-10-19 Chong Yidong <cyd@gnu.org>
19061
19062 Doc fix for minor modes, stating that an omitted argument enables
19063 the mode unconditionally when called from Lisp.
19064
19065 * abbrev.el (abbrev-mode):
19066 * allout.el (allout-mode):
19067 * autoinsert.el (auto-insert-mode):
19068 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19069 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19070 (global-auto-revert-mode):
19071 * battery.el (display-battery-mode):
19072 * composite.el (global-auto-composition-mode)
19073 (auto-composition-mode):
19074 * delsel.el (delete-selection-mode):
19075 * desktop.el (desktop-save-mode):
19076 * dired-x.el (dired-omit-mode):
19077 * dirtrack.el (dirtrack-mode):
19078 * doc-view.el (doc-view-minor-mode):
19079 * double.el (double-mode):
19080 * electric.el (electric-indent-mode, electric-pair-mode):
19081 * emacs-lock.el (emacs-lock-mode):
19082 * epa-hook.el (auto-encryption-mode):
19083 * follow.el (follow-mode):
19084 * font-core.el (font-lock-mode):
19085 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19086 * help.el (temp-buffer-resize-mode):
19087 * hilit-chg.el (highlight-changes-mode)
19088 (highlight-changes-visible-mode):
19089 * hi-lock.el (hi-lock-mode):
19090 * hl-line.el (hl-line-mode, global-hl-line-mode):
19091 * icomplete.el (icomplete-mode):
19092 * ido.el (ido-everywhere):
19093 * image-file.el (auto-image-file-mode):
19094 * image-mode.el (image-minor-mode):
19095 * iswitchb.el (iswitchb-mode):
19096 * jka-cmpr-hook.el (auto-compression-mode):
19097 * linum.el (linum-mode):
19098 * longlines.el (longlines-mode):
19099 * master.el (master-mode):
19100 * mb-depth.el (minibuffer-depth-indicate-mode):
19101 * menu-bar.el (menu-bar-mode):
19102 * minibuf-eldef.el (minibuffer-electric-default-mode):
19103 * mouse-sel.el (mouse-sel-mode):
19104 * msb.el (msb-mode):
19105 * mwheel.el (mouse-wheel-mode):
19106 * outline.el (outline-minor-mode):
19107 * paren.el (show-paren-mode):
19108 * recentf.el (recentf-mode):
19109 * reveal.el (reveal-mode, global-reveal-mode):
19110 * rfn-eshadow.el (file-name-shadow-mode):
19111 * ruler-mode.el (ruler-mode):
19112 * savehist.el (savehist-mode):
19113 * scroll-all.el (scroll-all-mode):
19114 * scroll-bar.el (scroll-bar-mode):
19115 * server.el (server-mode):
19116 * shell.el (shell-dirtrack-mode):
19117 * simple.el (auto-fill-mode, transient-mark-mode)
19118 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19119 (line-number-mode, column-number-mode, size-indication-mode)
19120 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19121 * strokes.el (strokes-mode):
19122 * time.el (display-time-mode):
19123 * t-mouse.el (gpm-mouse-mode):
19124 * tool-bar.el (tool-bar-mode):
19125 * tooltip.el (tooltip-mode):
19126 * type-break.el (type-break-mode-line-message-mode)
19127 (type-break-query-mode):
19128 * view.el (view-mode):
19129 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19130 (global-whitespace-mode, global-whitespace-newline-mode):
19131 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19132
19133 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19134 Fix autogenerated docstring.
19135
19136 2011-10-19 Juri Linkov <juri@jurta.org>
19137
19138 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19139 by checking environment variables "DESKTOP_SESSION" and
19140 "XDG_CURRENT_DESKTOP". (Bug#9779)
19141
19142 2011-10-19 Juri Linkov <juri@jurta.org>
19143
19144 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19145 (browse-url-chromium-program, browse-url-chromium-arguments):
19146 New defcustoms.
19147 (browse-url-default-browser): Check for `browse-url-chromium' and
19148 call `browse-url-chromium-program'.
19149 (browse-url-chromium): New command. (Bug#9779)
19150
19151 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19152
19153 * facemenu.el (list-colors-duplicates): On Windows, detect more
19154 duplicates by assuming that only colors matching "^System" are
19155 special "system colors". (Bug#9722)
19156
19157 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19158
19159 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19160 to distinguish the author from the committer.
19161
19162 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19163
19164 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19165
19166 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19167
19168 * international/mule.el (sgml-html-meta-auto-coding-function):
19169 Add support for detecting encoding in HTML5 specified only as
19170 <meta charset="UTF-8">. Implementation just makes http-equiv and
19171 content-type parts from HTML4 encoding string optional. (Bug#9716)
19172
19173 2011-10-18 Glenn Morris <rgm@gnu.org>
19174
19175 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19176
19177 2011-10-18 Chong Yidong <cyd@gnu.org>
19178
19179 * faces.el (cursor): Doc fix.
19180
19181 2011-10-17 Chong Yidong <cyd@gnu.org>
19182
19183 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19184
19185 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19186
19187 * dirtrack.el (dirtrack): Support shell buffers with path
19188 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19189
19190 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19191
19192 * json.el: Bump version to 1.3 and note change in History.
19193 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19194
19195 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19196
19197 * comint.el (comint-insert-input, comint-send-input)
19198 (comint-get-old-input-default, comint-backward-matching-input)
19199 (comint-next-prompt): Use nil instead of `input' for field property of
19200 past user input (bug#114).
19201
19202 * minibuffer.el (completion--replace): Inherit surrounding properties
19203 (bug#114).
19204 (minibuffer-complete-and-exit): Use it.
19205
19206 * comint.el (comint--table-subvert): Quote the all-completions output
19207 (bug#9160).
19208
19209 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19210
19211 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19212
19213 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19214 window on right of selected. (Bug#9350) Reword other window
19215 entries and separate them from frame entries.
19216
19217 2011-10-15 Glenn Morris <rgm@gnu.org>
19218
19219 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19220 Doc fixes.
19221
19222 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19223
19224 * net/network-stream.el (network-stream-open-starttls):
19225 Improve detection of failure due to lack of TLS support.
19226
19227 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19228 putting the input text in front and in bold.
19229
19230 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19233
19234 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19235 empty buffer.
19236
19237 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19238 unread-command-events rather than pushing yet-another event.
19239
19240 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19241
19242 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19243 the explanation of the possible choices. Make the options passed
19244 to completing-read shorter.
19245
19246 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19247
19248 * textmodes/flyspell.el (flyspell-large-region): Make sure
19249 extended character mode is used if defined (Bug#1339).
19250
19251 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19252
19253 * simple.el (what-cursor-position): Fix the display of the
19254 character info for LRE, LRO, RLE, and RLO characters by appending
19255 an invisible PDF.
19256
19257 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19258
19259 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19260 even in case of error; add debug spec; simplify data flow.
19261 (with-timeout-handler): Remove.
19262
19263 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19264
19265 Fix Bug#6019, Bug#9315.
19266
19267 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19268 complete `buffer-file-name', the local file name part could look
19269 remotely (for example on VMS).
19270
19271 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19272 `tramp-run-real-handler'.
19273 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19274 already quoted by '"'.
19275
19276 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19277 Let `file-name-handler-alist' be nil, the local file name part
19278 could look remotely (for example on VMS).
19279
19280 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19281
19282 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19283 from here...
19284 (flyspell-post-command-hook): ...to here.
19285
19286 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19287
19288 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19289 if not needed.
19290 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19291 using completion. Protect against "slow" callers.
19292 Remove the "message hack".
19293
19294 2011-10-11 Juri Linkov <juri@jurta.org>
19295
19296 * isearch.el (isearch-lazy-highlight-word): New variable.
19297 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19298 Use it. (Bug#9727)
19299
19300 2011-10-11 Glenn Morris <rgm@gnu.org>
19301
19302 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19303 like f90-previous-statement does.
19304
19305 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19306
19307 * eshell/eshell.el (eshell-command): History should be saved
19308 only in interactive use, to avoid error.
19309
19310 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19311
19312 * minibuffer.el (completion-file-name-table): Fix last change,
19313 i.e. ignore normal errors but not the other ones.
19314
19315 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19316
19317 * window.el (special-display-buffer-names)
19318 (special-display-regexps): Remove some remnants of earlier
19319 changes from doc-strings.
19320 (quit-windows-on): New function.
19321
19322 * vc/vc.el (vc-revert, vc-rollback):
19323 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19324 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19325 (Bug#6183) (Bug#7074) (Bug#7447)
19326
19327 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19328
19329 * window.el (frame-auto-hide-function): Add version tag.
19330 (Bug#9699)
19331
19332 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19333
19334 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19335 condition.
19336
19337 2011-10-09 Leo Liu <sdl.web@gmail.com>
19338
19339 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19340 (Bug#9701)
19341
19342 2011-10-08 Glenn Morris <rgm@gnu.org>
19343
19344 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19345 before the first code statement zero indent. (Bug#9690)
19346
19347 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19348
19349 * simple.el (count-words-region): Always count in the region.
19350 Report the number of lines and characters too.
19351 (count-words): New command, which counts in the buffer if the
19352 region is inactive, as count-words-region used to.
19353 (count-words--message): New function. Handle plurals.
19354 (count-lines-region): Make it an alias for count-words-region.
19355
19356 * bindings.el (esc-map): Replace count-lines-region with
19357 count-words-region.
19358
19359 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19360
19361 * window.el (window--delete): Delete dedicated frame
19362 unconditionally when argument KILL is non-nil. (Bug#9699)
19363 (switch-to-buffer): Fix doc-string typo.
19364
19365 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19366
19367 * eshell/eshell.el (eshell-command): Avoid using hooks.
19368
19369 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19370
19371 * bindings.el ([M-left],[M-right]): Bind to left-word and
19372 right-word respectively.
19373
19374 2011-10-07 Glenn Morris <rgm@gnu.org>
19375
19376 * cus-start.el (debug-on-quit): Fix custom type.
19377
19378 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19379
19380 * subr.el (define-key-after): Clarify that the function is not
19381 useful for non-menu keymaps.
19382
19383 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19384
19385 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19386
19387 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19388 in current minibuffer (Fix bug with recursive minibuffers).
19389
19390 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19391
19392 * progmodes/gdb-mi.el (gdb): Doc fix.
19393
19394 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19395
19396 * window.el (frame-auto-hide-function): New option replacing
19397 frame-auto-delete. Suggested by Stefan Monnier.
19398 (window--delete): Call frame-auto-hide-function instead of
19399 investigating frame-auto-delete.
19400 (window-point-1, set-window-point-1): New functions.
19401 (window-in-direction, record-window-buffer, window-state-get-1)
19402 (display-buffer-record-window): Use window-point-1 instead of
19403 window-point.
19404 (set-window-buffer-start-and-point): Use set-window-point-1.
19405
19406 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19407
19408 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19409
19410 2011-10-05 Glenn Morris <rgm@gnu.org>
19411
19412 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19413 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19414
19415 2011-10-05 Leo Liu <sdl.web@gmail.com>
19416
19417 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19418 works with buffer object.
19419
19420 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19421
19422 * mpc.el (mpc-tool-bar-map): Add labels.
19423
19424 2011-10-04 Glenn Morris <rgm@gnu.org>
19425
19426 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19427
19428 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19429
19430 * window.el (window--delete): New function.
19431 (frame-auto-delete): Resuscitate option.
19432 (bury-buffer, replace-buffer-in-windows)
19433 (quit-window): Rewrite using window--delete.
19434 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19435 Pass display-buffer-mark-dedicated to window--display-buffer-2
19436 (Bug#9639).
19437
19438 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19439
19440 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19441 returns a list (bug#9554). Add remote file name completion.
19442 * comint.el (comint--table-subvert): Curry and get quote&unquote
19443 functions as arguments.
19444 (comint--complete-file-name-data): Adjust call accordingly.
19445 * pcomplete.el (pcomplete--table-subvert): Remove.
19446 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19447
19448 * minibuffer.el (completion-table-case-fold): Use currying.
19449 (completion--styles-type, completion--cycling-threshold-type):
19450 New constants.
19451 (completion-styles, completion-category-overrides)
19452 (completion-cycle-threshold): Use them.
19453 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19454 completion-table-case-fold.
19455
19456 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19457
19458 * minibuffer.el (completion-category-overrides): Fix type of styles
19459 and add more user friendly tags (bug#9660).
19460
19461 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19464 (mule-input-method-string): New widget.
19465 (default-input-method, language-info-custom-alist): Use it.
19466
19467 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19468
19469 * pcomplete.el: Require comint.
19470 (pcomplete--common-suffix): Remove.
19471 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19472 (pcomplete--table-subvert): Sync with comint--table-subvert.
19473 (pcomplete--entries): Use comint-completion-file-name-table.
19474 * comint.el (comint-unquote-filename): Simplify.
19475 (comint-completion-file-name-table): New function (bug#9616).
19476 (comint--complete-file-name-data): Use it.
19477
19478 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19479 (pcmpl-gnu-tar-buffer): Remove.
19480 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19481 around. Make sure pcomplete-suffix-list is only changed temporarily.
19482 Don't look inside the tar's file if it's too large.
19483
19484 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19485
19486 * cus-edit.el (custom-mode-map):
19487 * epa.el (epa-key-list-mode-map):
19488 * man.el (Man-mode-map):
19489 * startup.el (splash-screen-keymap):
19490 * simple.el (special-mode-map): Use scroll-up-command and
19491 scroll-down-command.
19492
19493 * progmodes/idlw-help.el (idlwave-help-mode-map):
19494 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19495 * net/newst-plainview.el (newsticker-mode-map):
19496 * emulation/ws-mode.el (wordstar-mode-map):
19497 * emulation/vi.el (vi-com-map):
19498 * calc/calc-graph.el (calc-graph-show-dumb):
19499 * term/sun.el (terminal-init-sun):
19500 * term/ns-win.el (global-map):
19501 * progmodes/grep.el (grep-mode-map):
19502 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19503 * mail/rmail.el (rmail-mode-map):
19504 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19505
19506 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19507 custom-safe-themes as special.
19508
19509 2011-10-01 Julien Danjou <julien@danjou.info>
19510
19511 * notifications.el (notifications-notify): Fix docstring.
19512
19513 2011-10-01 Per Starbäck <per@starback.se>
19514
19515 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19516
19517 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19518
19519 * startup.el (command-line-1): Fix last fix by inserting
19520 initial-scratch-message into *scratch* before displaying it.
19521 (Bug#9605) and (Bug#9636)
19522
19523 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19524
19525 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19526 window is hscrolled, move by logical lines. (Bug#9607)
19527 (line-move-visual): Update the doc string to the above effect.
19528
19529 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19530
19531 * window.el (display-buffer-record-window): When WINDOW is the
19532 selected window use `point' instead of `window-point'. (Bug#9626)
19533
19534 * startup.el (command-line-1): Use insert-before-markers when
19535 inserting initial-scratch-message. (Bug#9605)
19536
19537 * help.el (help-window): Remove variable.
19538
19539 2011-09-29 Glenn Morris <rgm@gnu.org>
19540
19541 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19542
19543 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19544
19545 * descr-text.el (describe-char-categories): Accept category
19546 descriptions more than one line long.
19547
19548 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19549
19550 * simple.el (delete-trailing-whitespace): Fix last change.
19551
19552 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19553 Don't confuse "y => 3" as the beginning of a `y' operation.
19554
19555 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19556 object has more than 4 slots (bug#9613).
19557
19558 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19559
19560 * subr.el (with-output-to-temp-buffer):
19561 * net/quickurl.el (quickurl, quickurl-browse-url):
19562 Fix typos in docstrings.
19563
19564 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19565
19566 * minibuffer.el (completion-styles)
19567 (completion-category-overrides): Cross reference each other in doc
19568 strings.
19569
19570 2011-09-27 Glenn Morris <rgm@gnu.org>
19571
19572 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19573 to split-string. (Bug#9606)
19574
19575 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19576
19577 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19578 (bug#9615).
19579
19580 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19581
19582 * emacs-lisp/package.el (list-packages): Fix echo area message.
19583
19584 2011-09-27 Leo Liu <sdl.web@gmail.com>
19585
19586 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19587
19588 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19589
19590 * net/dbus.el (dbus-unregister-object): Don't release services for
19591 registered signals. (Bug#9581)
19592
19593 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19594
19595 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19596 function that picks between cfengine 2 and 3 support
19597 automatically. Update docs accordingly.
19598
19599 2011-09-22 Kenichi Handa <handa@m17n.org>
19600
19601 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19602 ZERO.
19603 (indian-itrans-v5-table-for-tamil): New variable.
19604 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19605
19606 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19607
19608 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19609 that's true if the current command involved collapsing of text.
19610 It's reset to false at the beginning of the next command.
19611 (allout-post-command-business): Move the cursor to the beginning
19612 of entry if the cursor is hidden and collapsing activity just
19613 happened.
19614
19615 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19616
19617 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19618 tracking (Bug#9541).
19619
19620 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19621
19622 * net/newst-reader.el (newsticker-html-renderer)
19623 (newsticker-show-news): Automatically load html rendering package
19624 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19625 because w3m-fill-column is let-bound" and the error "Symbol's value
19626 as variable is void: w3m-fill-column".
19627
19628 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19629
19630 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19631 Release services only if they are defined. (Bug#9581)
19632
19633 2011-09-23 Richard Stallman <rms@gnu.org>
19634
19635 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19636 distinguish start of paragraph from start of its text.
19637
19638 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19639
19640 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19641 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19642 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19643
19644 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19645
19646 * international/mule-diag.el (mule-diag): Insert a newline after
19647 each fontset description.
19648
19649 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19650
19651 * simple.el (delete-trailing-whitespace):
19652 Document last change; simplify.
19653
19654 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19655
19656 * simple.el (delete-trailing-whitespace): Also delete
19657 extra newlines at the end of the buffer.
19658
19659 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19660 (picture-newline): Use forward-line so as to ignore fields.
19661
19662 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19663
19664 * subr.el (with-wrapper-hook): Fix edebug spec.
19665
19666 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19667
19668 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19669 (bug#4538).
19670
19671 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19672
19673 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19674 Fix nasty bug using wrong cached values.
19675
19676 2011-09-23 Alan Mackenzie <acm@muc.de>
19677
19678 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19679
19680 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19681
19682 * window.el (pop-to-buffer): Ensure right window is selected if we
19683 chose another frame.
19684
19685 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19686
19687 * simple.el (what-cursor-position): Use get-char-property-change
19688 and next-single-char-property-change, to be able to show display
19689 properties that come from overlays as well as text properties.
19690
19691 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19692
19693 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19694
19695 * cmuscheme.el (run-scheme, switch-to-scheme):
19696 * cus-edit.el (customize-group, custom-buffer-create)
19697 (customize-browse):
19698 * info.el (info):
19699 * shell.el (shell):
19700 * mail/sendmail.el (mail):
19701 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19702
19703 2011-09-22 Richard Stallman <rms@gnu.org>
19704
19705 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19706 move back only to line beg, don't move back over blank lines.
19707
19708 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19709
19710 * files.el (copy-directory): Set directory attributes only in case
19711 they could be retrieved from the source directory. (Bug#9565)
19712
19713 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19714
19715 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19716 (hs-find-block-beginning, hs-hide-level-recursive):
19717 Ignore strings as well as comments. (Bug#9502)
19718
19719 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19720
19721 * progmodes/sql.el (sql-comint-postgres):
19722 Convert port number to a string. (Bug#9566)
19723
19724 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19725
19726 * window.el (quit-window): Undedicate window when switching to
19727 previous buffer. Reported by Thierry Volpiatto
19728 <thierry.volpiatto@gmail.com>.
19729 (special-display-popup-frame): When popping up a new frame reset
19730 its previous buffers to nil. Simplify code.
19731
19732 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19733
19734 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19735 and process filter, as done also in `shell-command'.
19736
19737 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19738
19739 * window.el (set-window-buffer-start-and-point):
19740 Call set-window-start with NOFORCE argument t.
19741 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19742 (quit-window): Reword doc-string. Handle new format of
19743 quit-restore parameter. Don't delete window if it has a
19744 previous buffer we can show instead of the present one.
19745 (display-buffer-record-window): Rewrite using a new format for
19746 the quit-restore window parameter
19747 (special-display-popup-frame, display-buffer-same-window)
19748 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19749 (display-buffer-pop-up-window, display-buffer-use-some-window):
19750 Adapt symbol passed to display-buffer-record-window.
19751 * help.el (help-window-setup): Handle new format of quit-restore
19752 parameter.
19753
19754 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19755
19756 * faces.el (face-list): Fix docstring (bug#9564).
19757
19758 * window.el (display-buffer--action-function-custom-type):
19759 Don't include internal functions in the Custom interface.
19760
19761 2011-09-20 Juri Linkov <juri@jurta.org>
19762
19763 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19764 (Info-forward-node, Info-backward-node, Info-next-preorder)
19765 (Info-last-preorder): Use it. (Bug#9528)
19766
19767 2011-09-20 Juri Linkov <juri@jurta.org>
19768
19769 * info.el (Info-last-preorder): Visit last menu item only when
19770 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19771
19772 2011-09-20 Julien Danjou <julien@danjou.info>
19773
19774 * password-cache.el (password-cache-remove): Remove entries even if the
19775 value is nil, so that password with a nil value (negative caching) is
19776 possible to invalidate.
19777
19778 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19779
19780 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19781 all whitespace around breakpoint. (Bug#9553)
19782 (f90-find-breakpoint): Only break at whitespace inside a comment.
19783
19784 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19785
19786 * minibuffer.el (completion-file-name-table): Keep track of errors.
19787 (completion-table-with-predicate): Handle the case where pred1 is nil.
19788 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19789
19790 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19791
19792 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19793 (debugger-return-value): Signal an error if the debugging context does
19794 not await any return value.
19795
19796 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19797 * image-mode.el (image-toggle-display-text)
19798 (image-toggle-display-image): Stay away from evil `intangible'.
19799
19800 2011-09-19 Leo Liu <sdl.web@gmail.com>
19801
19802 * replace.el (occur-revert-arguments): Make it permanent-local.
19803 (occur-mode): Don't call font-lock-defontify.
19804
19805 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19806
19807 * net/ldap.el (ldap-search-internal): Don't push empty search
19808 result (Bug#9508).
19809
19810 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19811
19812 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19813
19814 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19815
19816 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19817 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19818
19819 2011-09-18 Juri Linkov <juri@jurta.org>
19820
19821 * buff-menu.el (Buffer-menu-mode-map):
19822 * dired.el (dired-mode-map):
19823 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19824 (lisp-interaction-mode-map):
19825 * emacs-lisp/package.el (package-menu-mode-map):
19826 * epa.el (epa-key-list-mode-map):
19827 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19828 (menu-bar-options-menu):
19829 * outline.el (outline-mode-menu-bar-map):
19830 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19831 * vc/vc-dir.el (vc-dir-menu-map):
19832 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19833 Capitalize non-function content words in menu item strings.
19834
19835 * dired.el (dired-mode-map): Add menu item for
19836 `image-dired-dired-toggle-marked-thumbs'.
19837
19838 2011-09-18 Juri Linkov <juri@jurta.org>
19839
19840 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19841 to `isearch-case-fold-search' and restore its original value
19842 after the `isearch-mode' call.
19843
19844 2011-09-18 Juri Linkov <juri@jurta.org>
19845
19846 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19847 because `zgrep' returns 1 for successful matches (bug#9226).
19848
19849 2011-09-18 Juri Linkov <juri@jurta.org>
19850
19851 * info.el (Info-extract-menu-node-name): Check the second match
19852 for empty string (second test-case of bug#9528).
19853 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19854 intermediate nodes to the history (first test-case of bug#9528).
19855
19856 2011-09-18 Juri Linkov <juri@jurta.org>
19857
19858 * info.el (Info-mode-syntax-table): New variable.
19859 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19860
19861 2011-09-18 Juri Linkov <juri@jurta.org>
19862
19863 * info.el (Info-file-supports-index-cookies):
19864 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19865 outputs one more line for long file names (bug#4142).
19866
19867 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19868
19869 * newcomment.el (comment-normalize-vars): If prompting for
19870 comment-start, set comment-start-skip too (Bug#8424).
19871
19872 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19873
19874 * icomplete.el: Fix previous fix of Bug#5849.
19875 (icomplete-mode): Don't set completion-show-inline-help.
19876 (icomplete-minibuffer-setup): Set completion-show-inline-help
19877 locally during icompletion.
19878
19879 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19880
19881 * woman.el (woman2-process-escapes): Don't delete unrecognized
19882 escapes (Bug#7843).
19883
19884 * files.el (inhibit-first-line-modes-regexps): Add image files.
19885 (hack-local-variables-prop-line): Return nil for malformed
19886 prop-lines (Bug#9044).
19887
19888 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19889
19890 * net/tramp.el (top): Don't require 'shell.
19891 (tramp-methods): Fix docstring.
19892 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19893 Return complete remote file name. Handle "smb" case.
19894 Use `tramp-tmpdir', if defined for the respective method.
19895 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19896
19897 * net/tramp-compat.el (top): Require 'shell.
19898
19899 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19900 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19901 `tramp-current-host'.
19902 (tramp-get-remote-tmpdir): Remove.
19903
19904 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19905 `tramp-tmpdir' entries.
19906 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19907 (tramp-smb-handle-file-attributes): Ignore errors.
19908 (tramp-smb-wait-for-output): Check also for process end.
19909
19910 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19911
19912 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19913 when sending QUIT (bug#9312).
19914
19915 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19916
19917 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19918 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19919 occur-mode-display-occurrence.
19920 (occur-edit-mode): Add usage message.
19921 (occur-cease-edit): New command.
19922 (occur-after-change-function): Use text properties to find the
19923 position of the prefix text.
19924 (occur-engine): Set stickiness of prefix text properties.
19925
19926 2011-09-17 Glenn Morris <rgm@gnu.org>
19927
19928 * progmodes/etags.el (complete-tag):
19929 Fix call to completion-in-region. (Bug#9526)
19930
19931 2011-09-17 Juri Linkov <juri@jurta.org>
19932
19933 * textmodes/ispell.el (ispell-word): Add to the error message
19934 the word, ispell program name and current dictionary (bug#9121).
19935 (ispell-tex-arg-end): Capitalize "error" in the error message.
19936
19937 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19938
19939 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19940 check. (Bug#4251)
19941
19942 2011-09-17 Juri Linkov <juri@jurta.org>
19943
19944 * window.el (window-safe-min-height, window-safe-min-width):
19945 Fix typos (followup to bug#9522).
19946
19947 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19948
19949 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19950
19951 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19952
19953 * simple.el (line-move): If goal-column is set, move by logical
19954 lines, not by display lines. (Bug#971)
19955 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19956 to reflect the above change.
19957
19958 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19959
19960 * image.el (imagemagick-register-types): Use regexp-opt.
19961
19962 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19963
19964 * window.el (display-buffer-base-action): Rename from
19965 display-buffer-default-action. Make default value empty.
19966 (display-buffer-overriding-action): Convert to defvar.
19967 (display-buffer-fallback-action): New var.
19968
19969 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19970
19971 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19972 declaration.
19973 (package--add-to-archive-contents): If there is a duplicate entry
19974 with an older version, remove it.
19975 (package-menu-mark-delete, package-menu-mark-install)
19976 (package-menu-mark-unmark): Make unused args optional.
19977 (package-menu-mark-obsolete-for-deletion):
19978 Use package-menu-get-status instead of a regexp search.
19979 (package-menu-get-status): Use tabulated-list-entry.
19980 (package-menu-mark-upgrades): New command.
19981 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19982 (package-menu-execute): Do installation before deletion.
19983 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19984 instead of checking major-mode.
19985 (package-menu--find-upgrades): New function.
19986
19987 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19988
19989 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19990 passwords in the log buffer.
19991 (smtpmail-process-filter): Update the process marker so that the
19992 "broken by peer" status message is inserted in the right place.
19993
19994 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19995
19996 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19997 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19998 bibtex-completion-at-point-function.
19999 (bibtex-completion-at-point-function): Use them.
20000
20001 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20002
20003 * mpc.el (mpc-constraints-tag-lookup): New function.
20004 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20005 also to browser "album|playlist".
20006
20007 2011-09-14 Juri Linkov <juri@jurta.org>
20008
20009 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20010 (isearch-edit-string): Use length of `isearch-string' when
20011 `isearch-fail-pos' returns nil.
20012 (isearch-message): Remove duplicate code and call
20013 `isearch-fail-pos' with arg `t'.
20014
20015 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20016
20017 * replace.el (occur-mode-goto-occurrence): Don't force using other
20018 window (Bug#9499).
20019
20020 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20021
20022 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20023
20024 * window.el (display-buffer-window): Remove.
20025 (display-buffer-record-window): Use help-setup window parameter
20026 instead of variable display-buffer-window.
20027 (display-buffer-function, special-display-buffer-names)
20028 (special-display-function): Mention help-setup parameter instead
20029 of display-buffer-window in doc-string.
20030 * help.el (help-window-setup): New argument help-window.
20031 Use help-window-setup parameter instead of display-buffer-window.
20032 Reword some messages.
20033 (with-help-window): Pass window used for displaying the buffer
20034 to help-window-setup. Don't set display-buffer-window.
20035
20036 2011-09-13 Glenn Morris <rgm@gnu.org>
20037
20038 * emacs-lisp/debug.el (debugger-make-xrefs):
20039 Preserve point. (Bug#9462)
20040
20041 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20042
20043 * window.el (window-deletable-p): Use next-frame.
20044
20045 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20046
20047 * window.el (window-auto-delete): Remove.
20048 (window-deletable-p): Remove argument FORCE. Don't deal with
20049 dedication and previous buffers.
20050 (switch-to-prev-buffer): Don't delete window.
20051 (delete-windows-on): Delete a window's frame if and only if the
20052 window is dedicated.
20053 (replace-buffer-in-windows): Delete buffer's window or frame if
20054 and only if window is dedicated.
20055 (quit-window): Handle quit-restore as before last change.
20056 (bury-buffer): Delete window only if window-deletable-p returns t.
20057
20058 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20059
20060 * window.el (window-deletable-p): Never delete the last frame on a
20061 given terminal.
20062
20063 2011-09-13 Glenn Morris <rgm@gnu.org>
20064
20065 * help.el (describe-key-briefly): Copy previous standard-output change.
20066
20067 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20068
20069 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20070
20071 2011-09-13 Glenn Morris <rgm@gnu.org>
20072
20073 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20074 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20075
20076 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20077
20078 * dired-aux.el (dired-mark-read-string): Don't return default
20079 value on empty input (Bug#9361).
20080 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20081 Omit initial minibuffer contents.
20082 (dired-do-chmod): Signal an error on empty input.
20083 (dired-mark-read-string): Don't return default on empty input.
20084
20085 * files.el (file-modes-symbolic-to-number): Doc fix.
20086
20087 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20088
20089 * international/mule-cmds.el (ucs-completions): Remove.
20090 (read-char-by-name): Use complete-with-action instead; add metadata.
20091
20092 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20093
20094 * window.el (display-buffer--action-function-custom-type)
20095 (display-buffer--action-custom-type): New vars.
20096 (display-buffer-alist, display-buffer-default-action)
20097 (display-buffer-overriding-action): Add defcustom types.
20098
20099 * frame.el (delete-other-frames): Doc fix (Bug#276).
20100
20101 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20102
20103 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20104
20105 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20106
20107 Change modes that used same-window-* vars to use switch-to-buffer.
20108
20109 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20110 Use switch-to-buffer.
20111
20112 * cus-edit.el (customize-group, custom-buffer-create)
20113 (customize-browse, custom-buffer-create-other-window):
20114 Use switch-to-buffer or switch-to-buffer-other-window.
20115
20116 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20117 (Info-prev, Info-up, Info-speedbar-goto-node)
20118 (info-display-manual): Use switch-to-buffer.
20119 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20120
20121 * mail/sendmail.el (mail): Use switch-to-buffer.
20122 (mail-recover): Use switch-to-buffer-other-window.
20123
20124 * cmuscheme.el (run-scheme, switch-to-scheme):
20125 * ielm.el (ielm):
20126 * shell.el (shell):
20127 * net/rlogin.el (rlogin):
20128 * net/telnet.el (telnet, rsh):
20129 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20130
20131 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20132
20133 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20134
20135 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20136
20137 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20138 so don't mention it (bug#9301).
20139 (dired-sort-toggle-or-edit): Clarify string further.
20140
20141 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20142 match `x', `w32' and `ns', like the manual says (bug#9029).
20143
20144 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20145 (process-kill-buffer-query-function): Mention the buffer name in
20146 the query.
20147
20148 * image-mode.el (image-next-line): The line parameter is mandatory
20149 (bug#9258).
20150
20151 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20152 which can be useful (bug#9301).
20153
20154 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20155
20156 * subr.el (match-string): Mention that the current buffer should
20157 be the same as the search was done in (bug#9282).
20158
20159 * facemenu.el: Disable the remove-* commands if the mark isn't
20160 active (bug#9162).
20161
20162 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20163
20164 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20165 of display-buffer.
20166 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20167
20168 * replace.el (occur-mode-goto-occurrence)
20169 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20170 and display-buffer.
20171
20172 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20173 display-buffer.
20174
20175 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20176 special-display and same-window variables.
20177 (mail-other-window): Use switch-to-buffer-other-window.
20178 (mail-other-frame): USe switch-to-buffer-other-frame.
20179
20180 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20181 Use display-buffer-other-frame.
20182 (gdb-display-gdb-buffer): Use pop-to-buffer.
20183
20184 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20185
20186 * progmodes/python.el: Don't set same-window-buffer-names.
20187
20188 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20189
20190 * window.el (display-buffer-alist): Add *Python*.
20191
20192 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20193
20194 * window.el (display-buffer-alist): Add entry for buffers
20195 previously handled same-window-*.
20196 (display-buffer-alist, display-buffer-default-action)
20197 (display-buffer-overriding-action): Mark as risky.
20198 (display-buffer-alist): Document action function changes.
20199 (display-buffer--same-window-action)
20200 (display-buffer--other-frame-action): New variables.
20201 (switch-to-buffer, display-buffer-other-frame): Use them.
20202 (display-buffer): Rename reuse-frame entry to reusable-frames.
20203 (display-buffer-reuse-selected-window): Function deleted.
20204 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20205 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20206 (display-buffer-special): New function.
20207 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20208 display-buffer-reuse-or-pop-window. Split off special-display
20209 part into display-buffer-special.
20210 (display-buffer-use-some-window): Don't perform any special
20211 pop-up-frames handling.
20212 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20213 (display-buffer--maybe-same-window): Rename from
20214 display-buffer-maybe-same-window.
20215
20216 * info.el: Don't set same-window-regexps.
20217 (info-setup): New function.
20218 (info-other-window, info): Call it.
20219
20220 * cus-edit.el: Don't set same-window-regexps.
20221 (customize-group): New argument.
20222 (customize-group-other-window): Use it.
20223 (customize-face, customize-face-other-window): Likewise.
20224 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20225
20226 * net/rlogin.el:
20227 * net/telnet.el:
20228 * progmodes/gud.el: Don't set same-window-regexps.
20229
20230 * cmuscheme.el:
20231 * ielm.el:
20232 * shell.el:
20233 * mail/sendmail.el:
20234 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20235
20236 2011-09-10 Juri Linkov <juri@jurta.org>
20237
20238 * isearch.el (isearch-edit-string): Remove obsolete mention of
20239 `C-w' (`isearch-yank-word-or-char') from docstring.
20240 (isearch-query-replace): Fix typo in docstring (bug#9466).
20241
20242 2011-09-10 Juri Linkov <juri@jurta.org>
20243
20244 * paren.el (show-paren-function): Don't show escaped parens.
20245 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20246
20247 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20248
20249 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20250 (mm-default-file-encoding): Remove autoload forms, they are
20251 replaced with autoload cookies in mml.el and mm-encode.el.
20252 (mail-add-attachment): New command.
20253 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20254 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20255 the doc string.
20256 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20257
20258 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20259
20260 * simple.el (count-words-region): Use buffer if there's no region
20261 (bug#9429).
20262
20263 2011-09-09 Juri Linkov <juri@jurta.org>
20264
20265 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20266 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20267 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20268
20269 2011-09-09 Alan Mackenzie <acm@muc.de>
20270
20271 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20272 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20273
20274 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20275
20276 Fix for Savannah bug#9392.
20277 * simple.el (mail-encode-mml): New defvar.
20278
20279 * mail/rmail.el (mail-encode-mml): Add a defvar.
20280 (rmail-enable-mime-composing): Default to t.
20281 (rmail-forward): Use MIME method of forwarding only if both
20282 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20283 Set mail-encode-mml non-nil if the MIME method was used.
20284
20285 * mail/sendmail.el (mml-to-mime): Add autoload form.
20286 (mail-encode-mml): Add a defvar.
20287 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20288 to nil.
20289 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20290 message through mml-to-mime, and reset mail-encode-mml to nil.
20291
20292 2011-09-09 Glenn Morris <rgm@gnu.org>
20293
20294 * woman.el (woman-if-body): When processing an .el block,
20295 do not delete the next .el block as well. (Bug#9447)
20296 (woman-special-characters): Add oq, cq, and hy characters.
20297
20298 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20299
20300 * window.el (window-deletable-p): Make sure window is live before
20301 invoking window-prev-buffers.
20302
20303 2011-09-08 Leo Liu <sdl.web@gmail.com>
20304
20305 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20306
20307 2011-09-08 Juri Linkov <juri@jurta.org>
20308
20309 * progmodes/compile.el (compilation-environment): Make it
20310 a defcustom (bug#8340).
20311
20312 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20313
20314 * window.el (frame-auto-delete): Rename to window-auto-delete.
20315 Make it control auto-deletion of windows and/or frames.
20316 (window-deletable-p): New argument FORCE. Rewrite conditions
20317 for deleting window/frame. (Bug#9419)
20318 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20319 Rewrite handling of case when window/frame can be deleted.
20320 (delete-windows-on): Call window-deletable-p with new FORCE
20321 argument t. (Bug#9456)
20322
20323 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20324
20325 * help-mode.el (help-mode): Restore autoload.
20326
20327 2011-09-07 Juri Linkov <juri@jurta.org>
20328
20329 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20330 `compilation-environment'. Set buffer-local
20331 `compilation-environment' to `thisenv' later after (funcall mode).
20332 (Bug#8340)
20333
20334 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20335 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20336 instead of replacing its value. (Bug#8340)
20337
20338 2011-09-07 Juri Linkov <juri@jurta.org>
20339
20340 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20341 based on text properties put by `grep-filter' instead of matching
20342 escape sequences.
20343 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20344 to the value of `grep-error-screen-columns' (bug#9438).
20345
20346 2011-09-07 Juri Linkov <juri@jurta.org>
20347
20348 * simple.el (next-error-highlight, next-error-highlight-no-select):
20349 Doc fix (bug#9432).
20350
20351 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20352
20353 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20354 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20355
20356 2011-09-07 Leo Liu <sdl.web@gmail.com>
20357
20358 * net/rcirc.el (rcirc-mode): Conditionally initialize
20359 rcirc-input-ring.
20360
20361 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20362
20363 * emacs-lisp/find-func.el (find-function-C-source): Only set
20364 find-function-C-source-directory after checking that we found a source
20365 file there (bug#9440).
20366
20367 2011-09-06 Alan Mackenzie <acm@muc.de>
20368
20369 * isearch.el (isearch-other-meta-char): Wherever a key list is
20370 unread, "unread" the prefix arg, too. This fixes bug #8901.
20371
20372 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20373
20374 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20375
20376 2011-09-05 Juri Linkov <juri@jurta.org>
20377
20378 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20379
20380 2011-09-05 Juri Linkov <juri@jurta.org>
20381
20382 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20383 keeping point where processing of grep matches begins, and
20384 continue to delete remaining escape sequences from the same point.
20385 (grep-filter): Make leading zero optional in "0?1;31m" because
20386 git-grep emits "\033[1;31m" escape sequences unlike expected
20387 "\033[01;31m" as GNU Grep does (bug#9408).
20388 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20389
20390 2011-09-05 Juri Linkov <juri@jurta.org>
20391
20392 * subr.el (y-or-n-p): Capitalize "yes".
20393
20394 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20395
20396 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20397 `tramp-cache-unload-hook' where appropriate.
20398 (tramp-methods): Rename `tramp-remote-sh' to
20399 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20400 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20401
20402 * net/tramp-sh.el (top): Don't require 'shell.
20403 (tramp-methods): Add `tramp-remote-shell' and
20404 `tramp-remote-shell-args' entries.
20405 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20406 (tramp-sh-handle-shell-command): Remove.
20407 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20408 Use `tramp-remote-shell'.
20409
20410 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20411
20412 * mail/sendmail.el (sendmail-query-once-function): Delete.
20413 (sendmail-query-once): Save directly to send-mail-function.
20414 Update message-send-mail-function too.
20415
20416 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20417
20418 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20419
20420 * progmodes/python.el (python-mode-map): Use correct function to
20421 start python interpreter from menu-bar (as reported by Geert
20422 Kloosterman).
20423 (inferior-python-mode-map): Fix typo.
20424 (python-shell-map): Remove.
20425
20426 2011-09-03 Deniz Dogan <deniz@dogan.se>
20427
20428 * net/rcirc.el (rcirc-print): Simplify code for
20429 rcirc-scroll-show-maximum-output. There is no need to walk
20430 through all windows to find the right one.
20431
20432 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20433
20434 * help.el (help-return-method): Doc fix.
20435
20436 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20437
20438 * window.el (window-deletable-p): Don't return a non-nil value
20439 when there's a buffer that was shown in the window before.
20440 (Bug#9419)
20441 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20442 Set window's previous buffers to nil.
20443
20444 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20445
20446 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20447 newline before and after the tag line, so it doesn't interfere
20448 with determining the paragraph direction of bidirectional text.
20449
20450 2011-09-03 Leo Liu <sdl.web@gmail.com>
20451
20452 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20453
20454 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20455
20456 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20457 (pop-to-buffer): Change interactive spec. Pass second argument
20458 directly to display-buffer.
20459 (display-buffer): Fix interactive spec. Use functionp to
20460 distinguish between a function and a list of functions.
20461
20462 * abbrev.el (edit-abbrevs):
20463 * arc-mode.el (archive-extract):
20464 * autoinsert.el (auto-insert):
20465 * bookmark.el (bookmark-bmenu-list):
20466 * files.el (find-file):
20467 * view.el (view-buffer):
20468 * progmodes/compile.el (compilation-goto-locus):
20469 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20470
20471 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20472
20473 * window.el (display-buffer-alist): Doc fix.
20474 (display-buffer): Add docstring. Don't treat
20475 display-buffer-default specially.
20476 (display-buffer-reuse-selected-window)
20477 (display-buffer-same-window, display-buffer-maybe-same-window)
20478 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20479 (display-buffer-pop-up-window)
20480 (display-buffer-reuse-or-pop-window)
20481 (display-buffer-use-some-window): New functions.
20482 (display-buffer-default-action): Use them.
20483 (display-buffer-default): Delete.
20484 (pop-to-buffer-1): Fix choice of actions.
20485
20486 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20487
20488 * minibuffer.el (completion--insert-strings): Don't get confused by
20489 completion entries that end with an LF char.
20490
20491 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20492
20493 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20494
20495 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20496
20497 * window.el (display-buffer): Restore interactive spec.
20498 (display-buffer-same-window, display-buffer-other-window):
20499 New functions.
20500 (pop-to-buffer-1): New function. Use the above.
20501 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20502 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20503
20504 * view.el (view-buffer-other-window, view-buffer-other-frame):
20505 Just use pop-to-buffer.
20506
20507 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20508
20509 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20510
20511 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20512
20513 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20514
20515 2011-08-31 Richard Stallman <rms@gnu.org>
20516
20517 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20518 of the separation of rmail-view-buffer from rmail-buffer.
20519 If you say no to "replace original", the decrypt is in the
20520 view buffer. If you say yes, the decrypt goes into the
20521 rmail buffer also.
20522
20523 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20524
20525 * window.el (display-buffer-window): Rewrite doc-string.
20526 (display-buffer-record-window): New function.
20527 (display-buffer-macro-specifiers)
20528 (display-buffer-even-window-sizes, display-buffer-set-height)
20529 (display-buffer-set-width, display-buffer-in-window)
20530 (display-buffer-reuse-window, display-buffer-split-specifiers)
20531 (display-buffer-side-specifiers, display-buffer-split-window-1)
20532 (display-buffer-split-window, display-buffer-split-atom-window)
20533 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20534 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20535 (display-buffer-other-window-means-other-frame)
20536 (display-buffer-normalize-special)
20537 (display-buffer-normalize-default)
20538 (display-buffer-normalize-argument)
20539 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20540 (display-buffer-normalize-specifiers, display-buffer-frame)
20541 (display-buffer-same-window, display-buffer-same-frame)
20542 (display-buffer-other-window)
20543 (display-buffer-same-frame-other-window)
20544 (display-buffer-other-frame, pop-to-buffer-same-window)
20545 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20546 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20547 (switch-to-buffer-same-frame)
20548 (switch-to-buffer-other-window-same-frame)
20549 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20550 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20551 (display-buffer-alist-set): Remove.
20552 (display-buffer-function, special-display-buffer-names)
20553 (special-display-regexps, special-display-function):
20554 In doc-string refer to display-buffer-window and quit-restore
20555 parameter.
20556 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20557 (special-display-frame-alist, special-display-popup-frame)
20558 (same-window-buffer-names, same-window-regexps, same-window-p)
20559 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20560 (split-window-preferred-function, split-height-threshold)
20561 (split-width-threshold, window-splittable-p)
20562 (split-window-sensibly, window--try-to-split-window)
20563 (window--frame-usable-p, even-window-heights)
20564 (window--even-window-heights, window--display-buffer-1)
20565 (window--display-buffer-2, display-buffer-other-frame):
20566 Restore old Emacs 23 code, order and doc-strings where applicable.
20567 (display-buffer-default, display-buffer-assq-regexp): New functions.
20568 (display-buffer-alist): Rewrite doc-string.
20569 (display-buffer-default-action)
20570 (display-buffer-overriding-action): New variables.
20571 (display-buffer, switch-to-buffer): Rewrite.
20572 (pop-to-buffer): Restore Emacs 23 behavior but use
20573 window-normalize-buffer-to-display.
20574 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20575 Restore Emacs 23 behavior but use
20576 window-normalize-buffer-to-switch-to.
20577 (pop-to-buffer-same-window): Rewrite.
20578 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20579 Rewrite using Emacs 23 options.
20580
20581 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20582
20583 * net/tramp.el (tramp-root-regexp): Remove.
20584 (tramp-completion-file-name-regexp-unified)
20585 (tramp-completion-file-name-regexp-separate)
20586 (tramp-completion-file-name-regexp-url): Don't use leading volume
20587 letter on w32 systems. (Bug#5303, Bug#9311)
20588 (tramp-drop-volume-letter): Simplify definition.
20589 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20590
20591 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20592
20593 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20594 (bug#9356).
20595
20596 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20597
20598 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20599
20600 2011-08-29 Juri Linkov <juri@jurta.org>
20601
20602 * isearch.el (isearch-done): Don't display message "Mark saved"
20603 when arg `edit' is non-nil to prevent its flicker in the echo area.
20604
20605 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20606
20607 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20608 obsolete packages for deletion.
20609
20610 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20611
20612 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20613 (help-mode): Derive help-mode from special-mode. Don't invoke
20614 view-mode from help-mode.
20615 (help-xref-override-view-map): Remove.
20616 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20617 view-mode is not used anymore.
20618
20619 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20620
20621 * server.el (server-port): Doc fix.
20622
20623 * cus-theme.el (custom-theme-choose-mode): Inherit from
20624 special-mode (Bug#9124).
20625 (custom-theme-choose-mode-map): Add special-mode to parent.
20626
20627 2011-08-28 Alan Mackenzie <acm@muc.de>
20628
20629 * progmodes/cc-fonts.el
20630 (c-make-font-lock-BO-decl-search-function): New function.
20631 (c-basic-matchers-after - "Fontify the clauses after various
20632 keywords"): Extract the three keyword lists for the 3 erroneous
20633 constructs from the list of four, and use the new function above
20634 in place of an old one.
20635
20636 2011-08-28 Deniz Dogan <deniz@dogan.se>
20637
20638 * net/rcirc.el (rcirc-insert-prev-input)
20639 (rcirc-insert-next-input): Remove unused argument.
20640
20641 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20642
20643 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20644
20645 2011-08-27 Alan Mackenzie <acm@muc.de>
20646
20647 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20648 handle function pointer parameters properly.
20649
20650 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20651
20652 * window.el (display-buffer-reuse-window): Fix case where
20653 selected window was reused with non-nil OTHER-WINDOW argument.
20654 (Bug#9381)
20655
20656 2011-08-27 Deniz Dogan <deniz@dogan.se>
20657
20658 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20659 oftc's NickServ messages.
20660
20661 2011-08-27 Glenn Morris <rgm@gnu.org>
20662
20663 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20664
20665 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20666
20667 * emacs-lisp/package.el (package-install): Call package-initialize
20668 if called interactively.
20669
20670 2011-08-26 Leo Liu <sdl.web@gmail.com>
20671
20672 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20673
20674 2011-08-25 Juri Linkov <juri@jurta.org>
20675
20676 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20677 `search-whitespace-regexp' (bug#9364).
20678
20679 2011-08-25 Juri Linkov <juri@jurta.org>
20680
20681 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20682 `regexp-search-ring' to their global values to protect from
20683 updating by `read-from-minibuffer' (bug#9185).
20684
20685 2011-08-25 Juri Linkov <juri@jurta.org>
20686
20687 * textmodes/ispell.el (ispell-command-loop): Add newline
20688 at the end of the "Use option `i'..." line.
20689
20690 2011-08-25 Juri Linkov <juri@jurta.org>
20691
20692 * battery.el (display-battery-mode): If `battery-status-function'
20693 or `battery-mode-line-format' is nil, display the message and set
20694 `display-battery-mode' to nil (bug#9363).
20695
20696 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20697
20698 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20699 bidi-string-mark-left-to-right; they are unnecessary now.
20700
20701 2011-08-25 Deniz Dogan <deniz@dogan.se>
20702
20703 * net/quickurl.el: Documentation typo fixes.
20704
20705 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20706
20707 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20708
20709 2011-08-25 Glenn Morris <rgm@gnu.org>
20710
20711 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20712
20713 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20714 (smtpmail-via-smtp): Handle nil response from smtp.
20715
20716 2011-08-24 Juri Linkov <juri@jurta.org>
20717
20718 * proced.el (proced-marked): Inherit from `error' instead of
20719 `font-lock-warning-face'.
20720
20721 * ibuffer.el (ibuffer-marked-face): Change default face from
20722 `font-lock-warning-face' to `warning'.
20723 (ibuffer-deletion-face): Change default face from
20724 `font-lock-type-face' to `error'.
20725
20726 * battery.el (battery-update): Use the face `error' instead of
20727 `font-lock-warning-face' (bug#6117).
20728
20729 2011-08-24 Juri Linkov <juri@jurta.org>
20730
20731 * faces.el (success): Change face color from "Green3" to
20732 "ForestGreen" on light background (bug#9353).
20733
20734 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20735
20736 * window.el (quit-window): Rename from quit-restore-window.
20737 Use same arglist as old quit-window.
20738 (frame-auto-delete): Doc fix.
20739
20740 * view.el (view-mode-exit): Use quit-window.
20741
20742 2011-08-24 Juri Linkov <juri@jurta.org>
20743
20744 * isearch.el (isearch-ring-adjust1): Start visiting previous
20745 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20746 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20747 for empty search string (when the last search string is reused
20748 automatically) to adjust the isearch ring to the last element and
20749 prepare the correct index for further M-p commands (bug#9185).
20750
20751 2011-08-24 Kenichi Handa <handa@m17n.org>
20752
20753 * international/ucs-normalize.el: If decomposition property of
20754 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20755 nil.
20756 (nfd, nfkd): Likewise.
20757
20758 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20759
20760 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20761 from process filters aren't reliably transmitted to the surrounding
20762 accept-process-output.
20763 (mpc-proc-check): New function.
20764 (mpc-proc-sync): Use it (bug#8293)
20765
20766 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20767
20768 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20769 Add compatibility functions (bug#9313).
20770
20771 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20772
20773 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20774
20775 * international/uni-bidi.el: Regenerate.
20776
20777 2011-08-23 Kenichi Handa <handa@m17n.org>
20778
20779 * international/charprop.el:
20780 * international/uni-bidi.el:
20781 * international/uni-category.el:
20782 * international/uni-combining.el:
20783 * international/uni-comment.el:
20784 * international/uni-decimal.el:
20785 * international/uni-decomposition.el:
20786 * international/uni-digit.el:
20787 * international/uni-lowercase.el:
20788 * international/uni-mirrored.el:
20789 * international/uni-name.el:
20790 * international/uni-numeric.el:
20791 * international/uni-old-name.el:
20792 * international/uni-titlecase.el:
20793 * international/uni-uppercase.el: Regenerate.
20794
20795 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20796
20797 * help.el (help-window-setup): Fix message displayed when other
20798 window is reused. (Bug#9341)
20799
20800 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20801
20802 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20803 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20804
20805 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20806 Mark obsolete.
20807 * shell.el (shell-parse-pcomplete-arguments): New function.
20808 (shell-completion-vars): Use it instead (bug#9160).
20809
20810 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20811
20812 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20813 strings and comments (bug#9333).
20814
20815 * emacs-lisp/debug.el (debug-arglist): New function.
20816 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20817 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20818
20819 2011-08-22 Juri Linkov <juri@jurta.org>
20820
20821 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20822 Revert regexp that highlights output switches to its old
20823 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20824
20825 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20826 to check for empty output (bug#9226).
20827
20828 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20829
20830 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20831 symbol-constituent as the default, as that stops font-lock from
20832 working properly (Bug#8843).
20833
20834 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20835
20836 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20837 `coding-system-for-*' around the process open call to avoid
20838 auth-source side effects.
20839 (smtpmail-try-auth-methods): Expand the secret password.
20840 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20841 probe hangs.
20842
20843 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20844
20845 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20846
20847 * emacs-lisp/find-func.el (find-function-noselect): New arg
20848 lisp-only.
20849
20850 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20851 signal an error for built-in functions (Bug#6664).
20852
20853 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20854
20855 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20856 (smtpmail-try-auth-methods): Use it.
20857
20858 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20859
20860 * font-lock.el (font-lock-fontify-region)
20861 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20862 (font-lock-default-unfontify-buffer)
20863 (font-lock-default-fontify-region)
20864 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20865
20866 * progmodes/compile.el (compilation-error-properties):
20867 Fix confusion between file struct and message struct (Bug#9319).
20868 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20869 `ant' regexp.
20870
20871 * net/browse-url.el (browse-url-firefox): Don't call
20872 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20873
20874 2011-08-20 Glenn Morris <rgm@gnu.org>
20875
20876 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20877
20878 * tutorial.el (tutorial--default-keys): Update some default bindings.
20879
20880 * files.el (hack-local-variables): Fully ignore case for "mode:".
20881
20882 2011-08-20 Alan Mackenzie <acm@muc.de>
20883
20884 Resolve invalid use of a regexp in regexp-opt.
20885
20886 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20887 detection for a java annotation.
20888
20889 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20890 detection for a java annotation.
20891
20892 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20893 handling for java.
20894 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20895
20896 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20897
20898 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20899 (Bug#9274).
20900
20901 2011-08-20 Alan Mackenzie <acm@muc.de>
20902
20903 Fontify CPP expressions correctly when starting in the middle of
20904 such a construct. Mainly for when jit-lock etc. starts a chunk
20905 here.
20906
20907 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20908 variable.
20909 (c-make-font-lock-search-form): New function, extracted from
20910 c-make-font-lock-search-function.
20911 (c-make-font-lock-search-function): Use the above function.
20912 (c-make-font-lock-context-search-function): New function.
20913 (c-cpp-matchers): Enhance the preprocessor expression case with
20914 the above function
20915 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20916 which takes an expression.
20917
20918 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20919
20920 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20921
20922 * window.el (display-buffer-reuse-window)
20923 (display-buffer-pop-up-window): Don't reuse or split a side
20924 window.
20925
20926 2011-08-19 Glenn Morris <rgm@gnu.org>
20927
20928 * files.el (hack-local-variables-prop-line, hack-local-variables):
20929 Downcase "Mode:". (Bug#9331)
20930
20931 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20932
20933 * international/characters.el: Add L and R categories.
20934
20935 * subr.el (bidi-string-mark-left-to-right): Rename from
20936 string-mark-left-to-right. Use category search.
20937
20938 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20939
20940 2011-08-18 Juri Linkov <juri@jurta.org>
20941
20942 * faces.el (error, warning, success): New faces with definitions
20943 copied from old default values of `font-lock-warning-face',
20944 `compilation-warning', `compilation-info' (bug#6117).
20945
20946 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20947
20948 * progmodes/compile.el (compilation-error): Inherit from `error'.
20949 (compilation-warning): Inherit from `warning'.
20950 (compilation-info): Inherit from `success'.
20951
20952 * dired.el (dired-marked): Inherit from `warning'.
20953 (dired-flagged): Inherit from `error'.
20954
20955 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20956
20957 * mail/smtpmail.el (auth-source): Require to avoid problems with
20958 binding variables (bug#9298). Also clean up some unused
20959 autoloads.
20960
20961 * net/network-stream.el (network-stream-open-starttls):
20962 Support using starttls.el without using gnutls-cli.
20963
20964 2011-08-17 Juri Linkov <juri@jurta.org>
20965
20966 * progmodes/grep.el (rgrep): Handle the case when
20967 `grep-find-command' is a cons cell (bug#9278).
20968
20969 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20970
20971 * window.el (display-buffer-pop-up-frame): Run frame creation
20972 function with BUFFER current (as special-display-popup-frame
20973 does). Reported by Drew Adams.
20974
20975 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20976
20977 * epa-mail.el: Simplify GnuPG group expansion using
20978 epg-expand-group.
20979 (epa-mail-group-alist, epa-mail-group-modtime)
20980 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20981 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20982 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20983 Remove.
20984
20985 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20986
20987 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20988
20989 2011-08-16 Alan Mackenzie <acm@muc.de>
20990
20991 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20992 Correct, to avoid the inside of macros.
20993
20994 2011-08-16 Richard Stallman <rms@gnu.org>
20995
20996 * epa-mail.el: Handle GnuPG group definitions.
20997 (epa-mail-group-alist, epa-mail-group-modtime)
20998 (epa-mail-gnupg-conf-file): New variables.
20999 (epa-mail-parse-groups, epa-mail-sync-groups)
21000 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21001 (epa-mail-expand-recipients): New functions.
21002 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21003
21004 * mail/rmail.el (rmail-epa-decrypt): New command.
21005
21006 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21007 Don't bind buffer-read-only, just inhibit-read-only.
21008 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21009 (epa-decrypt-armor-in-region): Make error message clearer.
21010
21011 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21012
21013 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21014 and "a2b" to "ab" for `prefix'.
21015
21016 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21017
21018 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21019 filter groups.
21020 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21021 Fourquet (Bug#8804).
21022
21023 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21024
21025 * startup.el (argi): Declare as global variable (bug#9275).
21026
21027 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21028
21029 * subr.el (string-mark-left-to-right): Search the entire string
21030 for RTL script, not just the terminating character. Doc fix.
21031
21032 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21033
21034 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21035 New function.
21036 (js--regexp-literal, js-syntax-propertize-function): Remove.
21037 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21038 (js-mode-map): Don't rebind electric keys.
21039 (js-insert-and-indent): Remove.
21040 (js-mode): Setup electric-layout and electric-indent instead.
21041
21042 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21043
21044 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21045
21046 * epa.el (epa-progress-callback-function): Fix the logic of
21047 displaying progress.
21048 * epa-file.el (epa-file-insert-file-contents): Make progress
21049 display more user-friendly.
21050 (epa-file-write-region): Ditto.
21051
21052 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21053
21054 * subr.el (string-mark-left-to-right): New function.
21055
21056 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21057 Use string-mark-left-to-right.
21058 (list-buffers-noselect): Caller changed.
21059
21060 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21061 Use string-mark-left-to-right.
21062 (tabulated-list-print): Recenter after moving point.
21063
21064 2011-08-10 Juri Linkov <juri@jurta.org>
21065
21066 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21067 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21068 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21069
21070 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21071
21072 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21073 (Bug#7554).
21074
21075 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21076
21077 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21078 character. (Bug#6594)
21079
21080 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21081
21082 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21083 (image-dired--with-db-file): New macro.
21084 (image-dired-write-tags, image-dired-remove-tag)
21085 (image-dired-create-gallery-lists, image-dired-write-comments)
21086 (image-dired-get-comment, image-dired-mark-tagged-files)
21087 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21088 (image-dired-gallery-generate): Use insert-file-contents.
21089
21090 * time.el (display-time-world-list, display-time-world-display):
21091 * time-stamp.el (time-stamp-string):
21092 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21093 set-time-zone-rule (Bug#7337).
21094
21095 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21096
21097 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21098 (epg-error-to-string, epg-errors-to-string): New function.
21099 (epg-wait-for-completion): Reverse errors list.
21100 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21101 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21102 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21103 (epg-sign-keys, epg-generate-key-from-file)
21104 (epg-generate-key-from-string): Format errors by using
21105 epg-errors-to-string (bug#9255).
21106 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21107
21108 2011-08-07 Juri Linkov <juri@jurta.org>
21109
21110 * faces.el (list-faces-display): Remove extra angle bracket
21111 from `help-mode-map'.
21112
21113 * info.el (Info-history-toc-nodes): Doc fix.
21114
21115 * longlines.el (longlines-mode): Doc fix.
21116
21117 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21118
21119 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21120 of statements and in a few more cases (bug#9183).
21121
21122 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21123 New functions.
21124 (cl-transform-lambda): Use them (bug#9239).
21125
21126 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21127
21128 * window.el (display-buffer-same-window)
21129 (display-buffer-same-frame, display-buffer-other-window)
21130 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21131 (pop-to-buffer-other-window)
21132 (pop-to-buffer-same-frame-other-window)
21133 (pop-to-buffer-other-frame): Make them defuns.
21134 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21135
21136 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21137
21138 * subr.el (make-composed-keymap): Move from C. Change calling
21139 convention, and improve docstring to bring attention to a subtle point.
21140 * minibuffer.el (completing-read-default): Adjust accordingly.
21141
21142 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21143
21144 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21145 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21146
21147 * net/trampver.el: Update release number.
21148
21149 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21150
21151 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21152 "in" (bug#9190).
21153
21154 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21155
21156 * mail/sendmail.el (sendmail-query-once): Restore the current
21157 buffer after querying (bug#9074).
21158
21159 * dired.el (dired-flagged): Use different faces for marked and
21160 flagged files (bug#6117).
21161
21162 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21163 (bug#4433).
21164
21165 * ido.el (ido-mode): Switch off the message if called
21166 non-interactively.
21167
21168 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21169 before 587, since it appears that that's more likely to work for
21170 more people.
21171
21172 * cus-edit.el (custom-file): When running under emacs -q, always
21173 refuse to save the customizations, even if the .emacs file doesn't
21174 exist.
21175
21176 * info.el: Remove the `Info-beginning-of-buffer' function
21177 (bug#8325).
21178
21179 * net/network-stream.el (network-stream-open-starttls):
21180 Use `starttls-available-p' to see whether starttls.el can be used.
21181
21182 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21183
21184 * window.el (display-buffer-in-window): Don't set dedicated status
21185 of window here (Bug#9215).
21186 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21187 (display-buffer-pop-up-side-window)
21188 (display-buffer-in-side-window): Set dedicated status of window here.
21189
21190 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21191
21192 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21193 before binding generated-autoload-file.
21194
21195 2011-08-01 Deniz Dogan <deniz@dogan.se>
21196
21197 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21198
21199 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21200
21201 Sync with Tramp 2.2.2.
21202
21203 * net/trampver.el: Update release number.
21204
21205 2011-07-30 Juri Linkov <juri@jurta.org>
21206
21207 * dired-aux.el (dired-touch-initial): Remove function.
21208 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21209 current time, and `default' to the last modification time of the
21210 current marked file (bug#6887).
21211
21212 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21213
21214 * simple.el (goto-line): Use string-to-number to provide a
21215 numeric argument to read-number (bug#9163).
21216
21217 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21218
21219 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21220 connection process, it could be nil.
21221
21222 2011-07-27 Leo Liu <sdl.web@gmail.com>
21223
21224 Simplify url handling in rcirc-mode.
21225
21226 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21227 (rcirc-browse-url-at-mouse): Remove.
21228 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21229
21230 2011-07-26 Alan Mackenzie <acm@muc.de>
21231
21232 Fontify bitfield declarations properly.
21233
21234 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21235 (c-symbol-chars): Now exported as a lang variable.
21236 (c-not-primitive-type-keywords): New lang variable.
21237
21238 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21239 QT keyword "more" to prevent "more slots: ...." being spuriously
21240 parsed as a bitfield declaration.
21241
21242 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21243 Refactor and enhance to handle bitfield declarations.
21244 (c-punctuation-in): New function.
21245 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21246 declarations properly.
21247
21248 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21249
21250 * calendar/icalendar.el (icalendar--all-events): Take care of
21251 multiple vcalendars in a single file.
21252 (icalendar--convert-float-to-ical): Checkdoc fixes.
21253
21254 2011-07-25 Deniz Dogan <deniz@dogan.se>
21255
21256 * image.el (insert-image): Clarifying docstring.
21257
21258 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21259
21260 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21261 `tramp-send-command-and-check' if there is no error.
21262 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21263
21264 2011-07-22 Alan Mackenzie <acm@muc.de>
21265
21266 Prevent cc-langs.elc being loaded at run time.
21267
21268 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21269 cc-langs.
21270
21271 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21272 "(require 'cc-langs)". Quote a form so it will evaluate at
21273 (cc-mode's) compilation time.
21274
21275 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21276
21277 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21278 loading. (Bug#9114)
21279
21280 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21281
21282 * window.el (display-buffer-pop-up-window)
21283 (display-buffer-pop-up-side-window)
21284 (display-buffer-in-side-window): Call display-buffer-set-height
21285 and display-buffer-set-width after setting the new window's
21286 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21287
21288 2011-07-20 Sam Steingold <sds@gnu.org>
21289
21290 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21291 (etags-tags-included-tables): Call `convert-standard-filename' on
21292 the file names contained in TAGS so that windows Emacs can handle
21293 TAGS files created by cygwin ctags.
21294
21295 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21296
21297 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21298 which apparently didn't work.
21299
21300 2011-07-19 Roland Winkler <winkler@gnu.org>
21301
21302 * proced.el (proced-send-signal): For *Marked Processes* buffer
21303 put point at beginning of buffer.
21304
21305 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21306
21307 * proced.el (proced-format): Make header lines align with the text
21308 (bug#1779).
21309
21310 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21311
21312 * view.el (view-buffer): Allow running in `special' modes if we're
21313 visiting a file (bug#8615).
21314
21315 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21316
21317 * window.el (display-buffer-alist-of-strings-p)
21318 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21319 New functions.
21320 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21321 more accurately.
21322
21323 2011-07-18 Alan Mackenzie <acm@muc.de>
21324
21325 Fontify declarators properly when, e.g., a jit-lock chunk begins
21326 inside a declaration.
21327
21328 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21329
21330 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21331 New function.
21332 (c-complex-decl-matchers): Insert reference to
21333 c-font-lock-enclosing-decls.
21334
21335 * progmodes/cc-engine.el (c-backward-single-comment):
21336 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21337 to nil around calls to (forward-comment -1).
21338
21339 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21340
21341 * image.el (put-image): Doc typo fix.
21342
21343 * progmodes/etags.el (tags-search): Doc typo fix.
21344
21345 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21346 password if we get errors 550 to 554.
21347
21348 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21349
21350 * net/gnutls.el (gnutls-log-level): Remove.
21351
21352 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21353 indentation character (bug#6380).
21354
21355 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21356
21357 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21358 to clarify what the problem is (bug#4291).
21359
21360 * simple.el (current-kill): Clarify what
21361 `interprogram-paste-function' does (bug#7500).
21362 (auto-fill-mode): Document `auto-fill-function' in relation to
21363 `auto-fill-mode' (bug#2470).
21364
21365 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21366
21367 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21368 method if slot is read-only (bug#9035).
21369
21370 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21371
21372 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21373 * window.el (pop-to-buffer): Select window used even if it was
21374 selected before, see discussion of (Bug#8615), (Bug#6954).
21375 Pass argument NORECORD on to select-frame-set-input-focus.
21376
21377 2011-07-15 Glenn Morris <rgm@gnu.org>
21378
21379 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21380 Respect help-form.
21381
21382 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21383
21384 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21385 (gnutls-negotiate): Use it.
21386
21387 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21388
21389 * net/gnutls.el (gnutls-negotiate):
21390 Upcase `gnutls-algorithm-priority'.
21391
21392 2011-07-15 Glenn Morris <rgm@gnu.org>
21393
21394 * jka-compr.el (jka-compr-verbose): Move from here...
21395 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21396 Add missing :version tag.
21397 * info.el: No need to require jka-compr when compiling.
21398
21399 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21400
21401 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21402 (gnutls-negotiate): Use it.
21403
21404 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21405
21406 * info.el (Info-beginning-of-buffer): New command.
21407 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21408 announcing `b' as the key (bug#8325).
21409 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21410
21411 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21412
21413 * international/mule-cmds.el
21414 (describe-specified-language-support): Make the error message
21415 clearer (bug#8905).
21416
21417 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21418
21419 * isearch.el (isearch-barrier): Add a doc string, since it's
21420 mentioned in a function doc string (bug#8678).
21421
21422 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21423
21424 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21425 buffer argument (Bug#9083) and self-identifying label argument.
21426
21427 2011-07-15 Glenn Morris <rgm@gnu.org>
21428
21429 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21430
21431 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21432
21433 * man.el (Man-fontify-manpage): Fix message when formatting the
21434 man page (bug#7929).
21435
21436 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21437
21438 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21439 argument LRM; if non-nil, append an invisible LRM character to the
21440 buffer name.
21441 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21442 last argument non-nil, when formatting buffer names.
21443 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21444 paragraph direction.
21445
21446 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21447
21448 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21449 the man page name (bug#7929).
21450
21451 * image.el (put-image): Mention the `put-image' overlay property
21452 (bug#7834).
21453
21454 * scroll-bar.el (set-scroll-bar-mode): Mention that
21455 `scroll-bar-mode' lists the values (bug#7772).
21456
21457 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21458 command (bug#7729).
21459
21460 * rect.el (apply-on-rectangle): Return the point after the last
21461 operation.
21462 (string-rectangle): Go to the point after the last operation
21463 (bug#7522).
21464
21465 * printing.el (pr-toggle-region): Clarify the documentation
21466 slightly (bug#7493).
21467
21468 * time.el (display-time-update):
21469 Allow `display-time-mail-function' to return nil (bug#7158).
21470 Fix suggested by Detlev Zundel.
21471
21472 * vc/diff.el (diff): Clarify the order the file names are read
21473 (bug#7111).
21474
21475 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21476 the doc string (bug#7015).
21477
21478 * font-lock.el (font-lock-maximum-decoration): Mention what
21479 numeric levels mean (bug#6935).
21480
21481 * startup.el (initial-buffer-choice): Don't mention the `none'
21482 selection, which is against policy.
21483
21484 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21485
21486 * window.el (display-buffer-normalize-special):
21487 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21488
21489 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21490
21491 * subr.el (version<, version<=, version=): Mention "-CVS" and
21492 "-12345" alpha version numbers.
21493
21494 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21495
21496 * bindings.el: Add advertised binding for set-mark-command
21497 (Bug#5772).
21498
21499 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21500
21501 * bindings.el (mode-line-other-buffer):
21502 * bookmark.el (bookmark-bmenu-2-window):
21503 * bs.el (bs-cycle-next, bs-cycle-previous):
21504 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21505 switch-to-buffer.
21506
21507 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21508 Delete.
21509
21510 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21511
21512 * follow.el (follow-debug-message, follow-redisplay):
21513 * jka-cmpr-hook.el (with-auto-compression-mode):
21514 Fix typos in docstrings.
21515
21516 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21517
21518 * subr.el (with-silent-modifications): Clarify somewhat what the
21519 macro inhibits (bug#6525).
21520
21521 * simple.el (eval-expression): Note what it does if called
21522 interactively (bug#6495).
21523
21524 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21525
21526 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21527 Use pop-to-buffer buffer-or-name if it is nil.
21528
21529 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21530 Remove switch-to-buffer.
21531
21532 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21533
21534 * files.el (make-directory): Clarify that an error will be raised
21535 if there's an error (bug#6397).
21536
21537 * startup.el (initial-buffer-choice): Add `none' as a choice
21538 (bug#6234).
21539
21540 * subr.el (add-hook): Clarify section about buffer-local hooks
21541 (bug#6218).
21542
21543 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21544
21545 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21546
21547 * tabify.el (untabify): Preserve the current column so that point
21548 doesn't move (bug#6032).
21549
21550 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21551
21552 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21553 Rewrite to avoid awkward possessive "s" (bug#5986).
21554
21555 2011-07-13 Glenn Morris <rgm@gnu.org>
21556
21557 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21558 (dired-insert-directory): Give a message the first time
21559 if ls is found not to support --dired.
21560
21561 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21562
21563 * simple.el (toggle-truncate-lines): Clarify what is toggled
21564 (bug#5580). Text by Drew Adams.
21565
21566 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21567
21568 * simple.el (blink-matching-open): Make the error message from the
21569 last change less verbose.
21570
21571 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21572
21573 * font-lock.el (font-lock-comment-face): Use the high contrast
21574 "yellow" color for font-lock-comment-face on low color terminals
21575 using a dark background color (bug#4221).
21576
21577 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21578
21579 * dired.el (dired-insert-set-properties): Make the doc string
21580 reflect what it does now (bug#5325).
21581
21582 * simple.el (blink-matching-open): Say that we were unable to find
21583 the match within the limit, if we're limited (bug#5122).
21584
21585 * international/mule-cmds.el (prefer-coding-system): Add an
21586 example (bug#4869).
21587
21588 * progmodes/etags.el (tags-search): Document `file-list-form'
21589 (bug#4731).
21590
21591 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21592
21593 * net/browse-url.el (browse-url-default-browser)
21594 (browse-url-browser-function): Make the default browser choice a
21595 bit more logical (bug#4300). Also clean up the doc string.
21596
21597 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21598
21599 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21600 binary endings (bug#4440).
21601
21602 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21603
21604 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21605 which can be pretty annoying (bug#8971).
21606
21607 * jka-compr.el (jka-compr-verbose): New variable, and use
21608 throughout (bug#8971).
21609
21610 * info.el (Info-find-file): Fall back on the installation
21611 directory if we can't find the info node anywhere else.
21612
21613 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21614
21615 * vc/vc.el (vc-revert-file):
21616 Don't set file time-stamp in the past. (Bug#5181)
21617
21618 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21619
21620 * files.el (after-find-file): Give a better error message when
21621 trying to find a symlink that points to a file that doesn't exist
21622 (bug#4398).
21623
21624 * progmodes/cc-vars.el: Remove (probably) misleading comment
21625 (bug#4396).
21626
21627 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21628
21629 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21630
21631 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21632
21633 * mouse-sel.el: Hack restoring functionality, while keeping
21634 compatibility with 2010-07-03 changes to mouse selection.
21635 (mouse-sel-primary-overlay): New var.
21636 (mouse-sel-selection-alist): Use it.
21637 (mouse-sel-mode): Doc fix; remove points that are default features
21638 of mouse.el.
21639
21640 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21641
21642 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21643 Fix previous fix (bug#2490).
21644
21645 2011-07-12 Roland Winkler <winkler@gnu.org>
21646
21647 * textmodes/bibtex.el (bibtex-initialize):
21648 Use pop-to-buffer-same-window.
21649 (bibtex-search-entries): Fix interactive call.
21650
21651 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21652
21653 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21654 Fontise bytecomp Error lines more correctly (bug#2490).
21655 Fix suggested by Johan Bockgård.
21656
21657 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21658
21659 * dired-x.el (dired-guess-default): Use `delete-dups'.
21660
21661 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21662
21663 * dired.el (dired-mark-prompt):
21664 * dired-aux.el (dired-read-shell-command): Doc fix.
21665
21666 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21667
21668 * mail/sendmail.el (sendmail-query-once):
21669 Use `customize-save-variable' unconditionally, now that it works under
21670 emacs -Q.
21671
21672 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21673
21674 * cus-edit.el (custom-file): Take an optional no-error variable.
21675 (customize-save-variable): Set the variable, and give a warning if
21676 running under "emacs -q".
21677
21678 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21679
21680 * loadhist.el (unload-feature-special-hooks):
21681 Add `auto-coding-functions', `fill-nobreak-predicate' and
21682 `find-directory-functions' (bug#5327).
21683
21684 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21685
21686 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21687
21688 * cus-edit.el (custom-guess-name-alist): -alist variables should
21689 use the `alist' type (bug#3120). Suggested by Drew Adams.
21690
21691 * printing.el: Add documentation to all the `pr-toggle-' commands.
21692
21693 2011-07-11 Leo Liu <sdl.web@gmail.com>
21694
21695 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21696 backends where it makes sense (bug#2623).
21697
21698 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21699
21700 * dired-x.el (dired-guess-default): Remove duplicate shell command
21701 entries (bug#2028).
21702 (dired-guess-default): Fix grammar in doc string (bug#2028).
21703 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21704
21705 * subr.el (remove-duplicates): New conveniency function.
21706
21707 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21708
21709 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21710 (bug#1526).
21711
21712 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21713
21714 * window.el (display-buffer-normalize-default): Don't invert
21715 meaning of even-window-heights. Reported by Eli Zaretskii
21716 <eliz@gnu.org>.
21717
21718 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21719
21720 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21721
21722 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21723
21724 * window.el (display-buffer): Fix arguments to
21725 display-buffer-reuse-window in last change.
21726
21727 * faces.el (link): Use a less saturated blue on light backgrounds.
21728
21729 * startup.el (fancy-startup-text, fancy-about-text)
21730 (fancy-startup-tail): Use font-lock faces, for background safety.
21731
21732 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21733
21734 * emulation/viper-cmd.el (viper-change-state-to-vi):
21735 Limit triggering of abbrev expansion (Bug#9038).
21736
21737 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21738
21739 * window.el (display-buffer-default-specifiers): Remove.
21740 (display-buffer-macro-specifiers): Remove default specifiers.
21741 (display-buffer-alist): Default to nil.
21742 (display-buffer-reuse-window): New optional argument other-window.
21743 (display-buffer-pop-up-window): Allow splitting internal
21744 windows. Check whether a live window was created.
21745 (display-buffer-other-window-means-other-frame)
21746 (display-buffer-normalize-arguments): Rename to
21747 display-buffer-normalize-argument and rewrite. Set the
21748 other-window specifier.
21749 (display-buffer-normalize-special): New function.
21750 (display-buffer-normalize-options): Rename to
21751 display-buffer-normalize-default and rewrite.
21752 (display-buffer-normalize-options-inhibit): Remove.
21753 (display-buffer-normalize-specifiers): Rewrite.
21754 (display-buffer): Process other-window specifier and call
21755 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21756 more faithfully.
21757 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21758 (display-buffer-alist-set): Don't handle 'unset default values.
21759 (display-buffer-in-window, display-buffer-alist-set):
21760 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21761 <tassilo@member.fsf.org>.
21762
21763 2011-07-09 Leo Liu <sdl.web@gmail.com>
21764
21765 * register.el (insert-register): Restore accidental change on
21766 2011-06-26. (Bug#9028)
21767
21768 2011-07-09 Glenn Morris <rgm@gnu.org>
21769
21770 * subr.el (remq): Handle the empty list. (Bug#9024)
21771
21772 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21773
21774 * mail/sendmail.el (send-mail-function): No longer delay custom
21775 initialization.
21776 * custom.el (custom-initialize-delay): Doc fix.
21777
21778 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21779
21780 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21781
21782 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21783
21784 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21785 human-friendly prompt.
21786
21787 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21788
21789 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21790 provided by a particular plugin.
21791
21792 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21793
21794 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21795 save customizations (with "emacs -Q"), just set the variable
21796 instead of erroring out.
21797
21798 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21799
21800 2011-07-08 Juri Linkov <juri@jurta.org>
21801
21802 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21803 (archive-zip-update-case): Use 7z if found by `executable-find'.
21804 The order of searching the available programs is the same as in
21805 `archive-zip-extract' (bug#8968).
21806
21807 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21808
21809 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21810 (menu-bar-options-menu): Tweak descriptions.
21811
21812 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21813
21814 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21815 menu items into verb phrases (bug#1421). Also refill to fit under
21816 80 columns.
21817
21818 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21819
21820 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21821 (Info-read-node-name): Doc fix (Bug#1084).
21822
21823 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21824 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21825 (end-of-sexp, beginning-of-sexp)
21826 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21827 (forward-symbol, forward-same-syntax, word-at-point)
21828 (sentence-at-point): Doc fix (Bug#1144).
21829
21830 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21831
21832 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21833 should cover it (bug#1281).
21834
21835 * cus-edit.el (custom-show): Mark as obsolete.
21836
21837 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21838 negotiation fails, then possibly try again with a non-encrypted
21839 connection (bug#9017).
21840
21841 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21842 be used.
21843
21844 2011-07-07 Richard Stallman <rms@gnu.org>
21845
21846 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21847 property, and handle its changed format.
21848 Look for the correct line number.
21849 Use file's line contents (but not past first =) to find
21850 correct line in message.
21851
21852 2011-07-07 Kenichi Handa <handa@m17n.org>
21853
21854 * international/characters.el (build-unicode-category-table):
21855 Delete it.
21856 (unicode-category-table): Set it by unicode-property-table-internal.
21857
21858 * international/mule-cmds.el (char-code-property-alist): Move to
21859 to src/chartab.c.
21860 (get-char-code-property): Call unicode-property-table-internal to
21861 load a file. Call get-unicode-property-internal where necessary.
21862 (put-char-code-property): Call unicode-property-table-internal to
21863 load a file. Call put-unicode-property-internal where necessary.
21864 put-unicode-property-internal where necessary.
21865 (char-code-property-description):
21866 Call unicode-property-table-internal to load a file.
21867
21868 * international/charprop.el:
21869 * international/uni-bidi.el:
21870 * international/uni-category.el:
21871 * international/uni-combining.el:
21872 * international/uni-comment.el:
21873 * international/uni-decimal.el:
21874 * international/uni-decomposition.el:
21875 * international/uni-digit.el:
21876 * international/uni-lowercase.el:
21877 * international/uni-mirrored.el:
21878 * international/uni-name.el:
21879 * international/uni-numeric.el:
21880 * international/uni-old-name.el:
21881 * international/uni-titlecase.el:
21882 * international/uni-uppercase.el: Regenerate.
21883
21884 * loadup.el: Load international/charprop.el before
21885 international/characters.
21886
21887 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21888
21889 * window.el (next-buffer, previous-buffer): Signal an error if
21890 called from a minibuffer window.
21891
21892 * bindings.el: Revert 2011-07-04 change.
21893
21894 2011-07-06 Richard Stallman <rms@gnu.org>
21895
21896 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21897 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21898 Treat markers like ints.
21899 (rmail-mime-entity): Doc fix.
21900
21901 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21902
21903 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21904 defcustom again for backwards compatibility.
21905
21906 * simple.el (shell-command-on-region): Fill.
21907
21908 * dired-aux.el (dired-kill-line): Add a doc string.
21909
21910 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21911 to "\\sw\\|\\s_" (bug#358).
21912
21913 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21914 (dired-unmark-backward): Ditto.
21915 (dired-flag-backup-files): Ditto.
21916
21917 * dired-x.el (dired-mark-sexp): Ditto.
21918
21919 2011-07-06 Richard Stallman <rms@gnu.org>
21920
21921 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21922 (rmail-mime-entity): New arg TRUNCATED.
21923 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21924 New functions.
21925 (rmail-mime-save): Warn if entity is truncated.
21926 (rmail-mime-toggle-hidden): Likewise, for showing.
21927 (rmail-mime-process-multipart): Record when an entity is truncated.
21928
21929 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21930 if ENTITY is a string.
21931
21932 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21933
21934 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21935 of faces when `M-C-x'-ing their definitions (bug#8378).
21936 Also clean up the code slightly.
21937
21938 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21939 because that makes the colors go away.
21940
21941 * mail/sendmail.el (send-mail-function): Change the default to
21942 `sendmail-query-once'.
21943 (sendmail-query-once): Add an autoload cookie.
21944
21945 * net/network-stream.el (network-stream-open-starttls): Try using
21946 a plain connection even if the server offered STARTTLS, and we
21947 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21948 capability. This should make smtpmail.el work in slightly more
21949 configurations.
21950
21951 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21952
21953 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21954 New defun.
21955 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21956
21957 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21958
21959 * progmodes/sql.el: Version 3.0
21960 (sql-product-alist): Add product :completion-object,
21961 :completion-column, and :statement attributes.
21962 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21963 (sql-mode-syntax-table): Mark all punctuation.
21964 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21965 ansi keywords.
21966 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21967 (sql-mode-oracle-font-lock-keywords): Improve.
21968 (sql-oracle-show-reserved-words): New function for development.
21969 (sql-product-font-lock): Simplify for source code buffers.
21970 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21971 New functions.
21972 (sql-highlight-product): Set product specific syntax table.
21973 (sql-mode-map): Add statement movement functions.
21974 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21975 New variable.
21976 (sql-statement-regexp, sql-beginning-of-statement)
21977 (sql-end-of-statement, sql-signum): New functions.
21978 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21979 (sql-show-sqli-buffer): Bug fix.
21980 (sql-interactive-mode): Store connection data as buffer local.
21981 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21982 with sql-interactive-mode.
21983 (sql-save-connection): Save buffer local settings.
21984 (sql-connection-menu-filter): Change menu entry name.
21985 (sql-product-interactive): Bug fix.
21986 (sql-preoutput-hold): New variable.
21987 (sql-interactive-remove-continuation-prompt): Bug fixes.
21988 (sql-debug-redirect): New variable.
21989 (sql-str-literal): New function.
21990 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21991 Redesign.
21992 (sql-oracle-save-settings, sql-oracle-restore-settings)
21993 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21994 (sql-completion-object, sql-completion-column)
21995 (sql-completion-sqlbuf): New variables.
21996 (sql-build-completions-1, sql-build-completions)
21997 (sql-try-completion): New functions.
21998 (sql-read-table-name): Use them.
21999 (sql-contains-names): New buffer local variable.
22000 (sql-list-all, sql-list-table): Use it.
22001 (sql-oracle-completion-types): New variable.
22002 (sql-oracle-completion-object, sql-sqlite-completion-object)
22003 (sql-postgres-completion-object): New functions.
22004
22005 2011-07-06 Glenn Morris <rgm@gnu.org>
22006
22007 * window.el (pop-to-buffer): Doc fix.
22008
22009 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22010
22011 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22012
22013 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22014
22015 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22016
22017 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22018
22019 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22020
22021 * button.el (button): Inherit from link face. Suggested by Dan
22022 Nicolaescu.
22023
22024 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22025
22026 * progmodes/gdb-mi.el: Fit in 80 columns.
22027 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22028 switch-to-buffer.
22029
22030 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22031 if imenu is simply not configured (bug#8941).
22032
22033 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22034
22035 * allout.el (allout-post-undo-hook): New allout outline-change
22036 event hook to signal undo activity.
22037 (allout-post-command-business): Run allout-post-undo-hook if an
22038 undo just occurred.
22039 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22040 * allout-widgets.el (allout-widgets-after-undo-function):
22041 Ensure the integrity of the current item's decoration after it has been
22042 in the vicinity of an undo.
22043 (allout-widgets-mode): Include allout-widgets-after-undo-function
22044 on the new allout-post-undo-hook.
22045
22046 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22047
22048 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22049 Let define-derived-mode define it.
22050 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22051 cycles of abbrev-table inheritance (bug#8998).
22052
22053 2011-07-05 Roland Winkler <winkler@gnu.org>
22054
22055 * textmodes/bibtex.el: Add support for biblatex.
22056 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22057 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22058 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22059 (bibtex-entry-alist, bibtex-field-alist): New variables.
22060 (bibtex-entry-field-alist): Obsolete alias for
22061 bibtex-BibTeX-entry-alist.
22062 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22063 (bibtex-set-dialect): New command.
22064 (bibtex-entry-type, bibtex-entry-head)
22065 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22066 Bind via bibtex-set-dialect.
22067 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22068 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22069 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22070 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22071 Define via bibtex-set-dialect.
22072 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22073 Obey bibtex-no-opt-remove-re.
22074 (bibtex-vec-push, bibtex-vec-incr): New functions.
22075 (bibtex-format-entry, bibtex-field-list)
22076 (bibtex-print-help-message, bibtex-validate)
22077 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22078
22079 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22080
22081 * progmodes/compile.el (compilation-goto-locus):
22082 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22083 * bs.el (bs-cycle-next, bs-cycle-previous):
22084 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22085 * bindings.el (mode-line-other-buffer):
22086 * autoinsert.el (auto-insert):
22087 * arc-mode.el (archive-extract):
22088 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22089
22090 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22091
22092 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22093 Fix check of `emacs-lock-unlockable-modes'.
22094 Coerce true values of `emacs-lock--try-unlocking' to t.
22095
22096 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22097
22098 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22099 * emacs-lock.el: New file.
22100
22101 2011-07-05 Julien Danjou <julien@danjou.info>
22102
22103 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22104 than `boundp' to check if face is set.
22105
22106 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22107
22108 * register.el (registerv-make):
22109 * window.el (window-min-height): Fix typos in docstrings.
22110
22111 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22112
22113 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22114 Update doc string.
22115
22116 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22117
22118 * server.el (server-execute): Catch quit and call
22119 `server-return-error' to pass the error back to emacsclient and
22120 close the connection (bug#8942).
22121
22122 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22123
22124 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22125 insecure exception for current topic. Also note that auto-saves
22126 are handled differently.
22127
22128 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22129 State variables for tracking auto-save inhibition situation.
22130
22131 (allout-write-contents-hook-handler): Rename from
22132 'allout-write-file-hook-handler', and describe how it depends on
22133 write-contents-functions sensitivity to non-nil value to prevent
22134 file write.
22135
22136 (allout-auto-save-hook-handler): Remove. auto-save does not check
22137 this in individual buffers, only in the starting buffer, so this
22138 is not the right way for us to inhibit auto-save in a buffer
22139 according to its condition.
22140
22141 (allout-mode): Use new allout-write-contents-hook-handler, and
22142 only with write-contents-functions. Remove auto-save provisions -
22143 they're implemented elsewhere.
22144
22145 (allout-before-change-handler): If undo is in progress, note that
22146 for attention of allout-post-command-business.
22147
22148 (allout-post-command-business): If the command we're following was
22149 an undo, check for change in the status of encrypted items and
22150 adjust auto-save inhibitions accordingly.
22151
22152 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22153 according to whether there are or aren't any plain-text topics
22154 pending encryption.
22155
22156 (allout-inhibit-auto-save-info-for-decryption):
22157 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22158 if there are plain-text topics pending encryption.
22159
22160 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22161 buffer-saved-size and some allout state to not inhibit auto-saves
22162 if there are no longer any plain-text topics pending encryption.
22163
22164 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22165 No longer provide for exemption of the current topic.
22166
22167 2011-07-04 Juri Linkov <juri@jurta.org>
22168
22169 Add 7z operations to delete and save changed members (bug#8968).
22170 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22171 New defcustoms.
22172 (archive-7z-write-file-member): New function.
22173 (archive-7z-summarize): Fix the number of dashes in the
22174 listing output.
22175
22176 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22177
22178 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22179 (bug#8958).
22180
22181 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22182
22183 * bindings.el: Ignore next-buffer and previous-buffer in
22184 minibuffer-local-map.
22185
22186 * font-lock.el (font-lock-builtin-face): Change light background
22187 color to dark slate blue (Bug#6693).
22188
22189 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22190
22191 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22192
22193 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22194
22195 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22196 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22197 Add switch-to-buffer.
22198
22199 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22200
22201 * isearch.el (isearch-search-fun-function): Clarify further the
22202 meaning of the function returned.
22203
22204 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22205
22206 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22207
22208 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22209 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22210 Use it.
22211 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22212 `tramp-default-remote-path' does not exist.
22213 (tramp-send-command-and-read): New optional argument NOERROR.
22214 (tramp-open-connection-setup-interactive-shell)
22215 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22216 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22217 (tramp-process-sentinel): Flush also process' connection property.
22218 (tramp-sh-handle-start-file-process): Do not set process
22219 sentinel. It is done now ...
22220 (tramp-maybe-open-connection): ... here. (Bug#8929)
22221
22222 2011-07-04 MON KEY <monkey@sandpframing.com>
22223
22224 * play/animate.el (animate-string): Doc fixes and allow changing
22225 the buffer name (bug#5417).
22226
22227 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22228
22229 * play/animate.el (animation-buffer-name): Rename from *animate*.
22230
22231 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22232
22233 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22234 This is simpler and helps future-proof the code.
22235 (timer-until): Use time-subtract and float-time.
22236 (timer--time-less-p): Use time-less-p.
22237
22238 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22239
22240 * type-break.el (timep): Use the value of `float-time' to avoid a
22241 byte-compiler warning.
22242
22243 * server.el (server-eval-and-print): Return any result, even nil.
22244
22245 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22246
22247 * type-break.el: Accept time formats that the builtins accept.
22248 (timep, type-break-time-difference): Accept any format that
22249 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22250 This is simpler and helps future-proof the code.
22251 (type-break-time-difference): Round rather than ignoring
22252 subseconds components.
22253
22254 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22255
22256 * info.el (Info-apropos-matches): Make non-interactive, since it
22257 doesn't seem to do anything useful as a command (bug#8829).
22258
22259 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22260
22261 * frame.el (frame-background-mode, frame-set-background-mode):
22262 Move from faces.el.
22263 (frame-default-terminal-background): New function.
22264
22265 * custom.el (custom-push-theme): Don't record faces in `changed'
22266 theme; this doesn't work correctly for per-frame face settings.
22267 (disable-theme): Use face-set-after-frame-default to reset faces.
22268 (custom--frame-color-default): New function.
22269
22270 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22271
22272 * dired.el (dired-flagging-regexp): Remove unused variable
22273 (bug#8769).
22274
22275 2011-03-29 Kevin Ryde <user42@zip.com.au>
22276
22277 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22278 `perl-Test2' extend to match possible "fail #N" rep count
22279 (bug#8377).
22280
22281 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22282
22283 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22284 `smtpmail-via-smtp' now returns the error instead of nil.
22285
22286 * isearch.el (isearch-search-fun-function): Clarify the doc string
22287 (bug#8101).
22288
22289 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22290
22291 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22292 unnecessary spaces (bug#8987).
22293
22294 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22295
22296 * net/network-stream.el (open-network-stream): Use the
22297 :end-of-capability command thoughout.
22298
22299 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22300
22301 * net/network-stream.el (open-network-stream): Add the
22302 :end-of-capability command parameter, used by pop3.el.
22303
22304 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22305
22306 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22307
22308 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22309 for list)" (bug#6475).
22310
22311 * files.el (file-expand-wildcards): Ignore non-readable
22312 sub-directories while trying to find matches instead of signaling
22313 an error (bug#6297).
22314
22315 * man.el (Man-reference-regexp): Allow matching possible
22316 word-wrapped references (bug#6289).
22317
22318 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22319 for consistency with the other vc buffers (bug#6197).
22320 (vc-checkin): Ditto.
22321
22322 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22323
22324 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22325
22326 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22327
22328 * custom.el (defcustom): Clarify that :set is only used in the
22329 Customize user interface (bug#6089).
22330
22331 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22332 associated with a file, refuse to run instead of erroring out
22333 (bug#6084).
22334
22335 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22336 the doc string, since it appears that using `fill-column' always
22337 controls the width (bug#7845).
22338
22339 * simple.el (shell-command-on-region): Say where the error output
22340 went if `shell-command-default-error-buffer' is set (bug#6857).
22341
22342 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22343
22344 * allout.el (allout-yank-processing): Adjust cursor position for
22345 backwards-deleted space.
22346
22347 (allout-rebullet-heading): Register changes with
22348 allout-exposure-changed-hook, so the modified topic is properly
22349 decorated.
22350
22351 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22352
22353 * minibuffer.el (completion-in-region): Document PREDICATE
22354 (bug#7136).
22355
22356 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22357 of keyword/argument pairs (bug#6904).
22358
22359 * replace.el (multi-occur):
22360 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22361
22362 2011-07-02 Drew Adams <drew.adams@oracle.com>
22363
22364 * dired.el (dired-mark-if): Make the message about whether it's
22365 marking or unmarking clearer (bug#8523).
22366
22367 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22368
22369 * disp-table.el (display-table-print-array): New function.
22370 (describe-display-table): Use it to print the vectors more pretty
22371 (Bug#8859).
22372
22373 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22374
22375 * window.el (window-state-get-1): Don't assign clone numbers.
22376 Add clone-of item to list of window parameters.
22377 (window-state-put-2): Don't process clone numbers.
22378 (display-buffer-alist): Fix doc-string.
22379
22380 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22381
22382 * subr.el (remq): Don't allocate if it's not needed.
22383 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22384 (keymap--merge-bindings): New functions.
22385 (keymap-canonicalize): Use them to refine the canonicalization.
22386 * minibuffer.el (minibuffer-local-completion-map)
22387 (minibuffer-local-must-match-map): Move initialization from C.
22388 (minibuffer-local-filename-completion-map): Move initialization from C;
22389 don't inherit from anything here.
22390 (minibuffer-local-filename-must-match-map): Make obsolete.
22391 (completing-read-default): Use make-composed-keymap to combine
22392 minibuffer-local-filename-completion-map with either
22393 minibuffer-local-must-match-map or
22394 minibuffer-local-filename-completion-map.
22395
22396 2011-07-01 Glenn Morris <rgm@gnu.org>
22397
22398 * type-break.el (type-break-time-sum): Use dolist.
22399
22400 * textmodes/flyspell.el (flyspell-word-search-backward):
22401 Replace CL function.
22402
22403 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22404
22405 * mouse.el (mouse--strip-first-event): New function.
22406 (function-key-map): Use it to map fringe clicks to normal clicks
22407 by default.
22408
22409 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22410 (vc-bzr-revision-completion-table): Add support for annotate and date.
22411
22412 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22413 inherit from parent.
22414
22415 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22416
22417 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22418 (dired-show-file-type): Doc fixup (bug#8818).
22419
22420 * dired.el (dired-mode): Fix up the doc string as suggested by
22421 Drew Adams (bug#8817).
22422
22423 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22424 cookie, since the manual says that it should be possible to add
22425 this function to `find-file-hook' (bug#8709).
22426
22427 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22428
22429 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22430 here. Noted Ted Zlatanov as the maintainer.
22431 (cfengine-common-settings, cfengine-common-syntax): New functions
22432 to set up common things between `cfengine-mode' and
22433 `cfengine3-mode'.
22434 (cfengine3-mode): New mode.
22435 (cfengine3-defuns cfengine3-defuns-regex
22436 (cfengine3-class-selector-regex cfengine3-category-regex)
22437 (cfengine3-vartypes cfengine3-font-lock-keywords)
22438 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22439 (cfengine3-indent-line): Add from cfengine3.el.
22440
22441 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22442
22443 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22444
22445 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22446
22447 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22448
22449 * window.el (same-window-buffer-names, same-window-regexps)
22450 (same-window-p, special-display-frame-alist)
22451 (special-display-popup-frame, special-display-function)
22452 (special-display-buffer-names, special-display-regexps)
22453 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22454 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22455 (split-window-preferred-function, split-height-threshold)
22456 (split-width-threshold, even-window-heights)
22457 (display-buffer-mark-dedicated, window-splittable-p)
22458 (split-window-sensibly, window-safely-shrinkable-p):
22459 Un-obsolete.
22460 (display-buffer): Don't spread args with function specifier
22461 because special-display-popup-frame won't like it.
22462
22463 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22464
22465 Time-stamp simplifications and fixes.
22466 These improve accuracy slightly, and future-proof the code
22467 against some potential changes to current-time format.
22468
22469 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22470 by using time-since and float-time.
22471
22472 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22473 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22474 + NNN microseconds".
22475
22476 * type-break.el (type-break-time-sum): Rewrite using time-add.
22477
22478 * play/hanoi.el (hanoi-current-time-float): Remove.
22479 All uses replaced by float-time.
22480
22481 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22482 This yields a more-accurate answer.
22483 (rng-time-to-float): Remove; no longer needed.
22484
22485 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22486
22487 * calendar/timeclock.el (timeclock-seconds-to-time):
22488 Defalias to seconds-to-time, since they're the same thing.
22489
22490 * emacs-lisp/elp.el (elp-elapsed-time):
22491 * emacs-lisp/benchmark.el (benchmark-elapse):
22492 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22493
22494 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22495
22496 * window.el (bury-buffer): Don't iconify the only frame.
22497 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22498 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22499
22500 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22501
22502 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22503 Add mouse-yank-primary.
22504
22505 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22506
22507 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22508
22509 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22510
22511 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22512 (find-library-name): Use it to find relative load names when provided
22513 absolute file name (bug#8803).
22514
22515 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22516
22517 * textmodes/flyspell.el (flyspell-word): Consider words that
22518 differ only in case as potential doublons (bug#5687).
22519
22520 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22521 Remove two rather uninteresting debugging-like messages to make
22522 debbugs.el more silent.
22523
22524 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22525 a password-like phrase.
22526
22527 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22528
22529 * progmodes/cc-guess.el: New file.
22530
22531 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22532
22533 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22534 derived from `c-basic-common-init'.
22535
22536 * progmodes/cc-mode.el (top-level): Require cc-guess.
22537 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22538
22539 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22540
22541 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22542
22543 2011-06-30 Alan Mackenzie <acm@muc.de>
22544
22545 * progmodes/cc-engine.el (c-guess-continued-construct):
22546 Correct the handling of template-args-cont, particularly for when font
22547 lock is disabled. Name this case as "CASE G".
22548
22549 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22550
22551 * allout.el (allout-yank-processing): Fix injection of extra space
22552 between bullet and non-whitespace character in first topic when
22553 pasting, ensuring that the actual spacing in the pasted topic
22554 following the bullet char is preserved. This extra space was
22555 causing pasted encrypted topics to get a decrypted status even
22556 when the content was actually still encrypted. Now the decryption
22557 status from before the paste is preserved.
22558
22559 (allout-flag-region): Set all allout overlays so they evaporate
22560 when reduced to zero length (evanescent), to prevent overlay
22561 leakage.
22562
22563 2011-06-30 Glenn Morris <rgm@gnu.org>
22564
22565 * w32-fns.el (w32-charset-info-alist): Declare.
22566
22567 * find-dired.el (find-grep-options): Simplify.
22568
22569 * term/ns-win.el (ns-set-resource): Declare.
22570
22571 * ses.el (row, col): Declare dynamic variables honestly.
22572
22573 * textmodes/reftex-parse.el (index-tags): Declare.
22574
22575 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22576
22577 * cus-edit.el (customize-push-and-save): New function.
22578
22579 * files.el (hack-local-variables-confirm): Use it.
22580
22581 * custom.el (load-theme): New arg NO-CONFIRM.
22582 Use customize-push-and-save (Bug#8720).
22583 (custom-enabled-themes): Doc fix.
22584
22585 * cus-theme.el (customize-create-theme)
22586 (custom-theme-merge-theme): Callers to load-theme changed.
22587
22588 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22589
22590 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22591 short URLs have at least one dot in them (bug #7614).
22592
22593 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22594 nil, because using a pty is apparently too slow (bug #895).
22595
22596 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22597
22598 * mail/sendmail.el (sendmail-query-once): New function.
22599 (sendmail-query-once-function): New variable.
22600
22601 2011-06-29 Glenn Morris <rgm@gnu.org>
22602
22603 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22604
22605 * ses.el (top-level): Require cl when compiling.
22606 (ses-set-localvars): Fix error statement.
22607 Call it at compile time to silence a storm of warnings.
22608
22609 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22610
22611 * window.el (normalize-live-buffer): Rename to
22612 window-normalize-buffer.
22613 (normalize-live-frame): Rename to window-normalize-frame.
22614 (normalize-any-window): Rename to window-normalize-any-window.
22615 (normalize-live-window): Rename to window-normalize-live-window.
22616 (make-window-atom): Rename to window-make-atom.
22617 (window-resize-reset): Rename to window--resize-reset.
22618 (window-resize-reset-1): Rename to window--resize-reset-1.
22619 (resize-mini-window): Rename to window--resize-mini-window.
22620 (resize-subwindows-skip-p): Rename to
22621 window--resize-subwindows-skip-p.
22622 (resize-subwindows-normal): Rename to
22623 window--resize-subwindows-normal.
22624 (resize-subwindows): Rename to window--resize-subwindows.
22625 (resize-other-windows): Rename to window--resize-siblings.
22626 (resize-this-window): Rename to window--resize-this-window.
22627 (resize-root-window): Rename to window--resize-root-window.
22628 (resize-root-window-vertically): Rename to
22629 window--resize-root-window-vertically.
22630 (normalize-buffer-to-display): Rename to
22631 window-normalize-buffer-to-display.
22632 (normalize-buffer-to-switch-to): Rename to
22633 window-normalize-buffer-to-switch-to.
22634 Correspondingly update all callers of the functions listed
22635 above.
22636 (display-buffer-alist, display-buffer-normalize-arguments)
22637 (display-buffer-normalize-options, display-buffer)
22638 (display-buffer-alist-set): Use "function" instead of
22639 "fun-with-args".
22640
22641 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22642
22643 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22644 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22645 debbugs.gnu.org. Mention acknowledgment email.
22646
22647 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22648
22649 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22650 buffer multibyteness, since it shouldn't matter.
22651
22652 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22653
22654 * window.el (display-buffer-in-side-window): Handle dedicated
22655 windows as in display-buffer-reuse-window.
22656 (display-buffer-normalize-alist): Use value of override
22657 specifier.
22658 (display-buffer-normalize-specifiers): Use value of
22659 other-window-means-other-frame specifier.
22660 (display-buffer-alist): Rewrite some texts in widgets.
22661 (display-buffer): Spread arguments when calling function
22662 specified by fun-with-args.
22663
22664 2011-06-28 Deniz Dogan <deniz@dogan.se>
22665
22666 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22667 Unnest `let'.
22668
22669 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22670 selectors (Bug#5732).
22671 (css-proprietary-nmstart-re): Use `regexp-opt'.
22672
22673 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22674
22675 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22676 (eshell-ls-date-format): New defcustom.
22677 (eshell-ls-file): Use it.
22678
22679 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22680
22681 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22682
22683 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22684
22685 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22686 (ange-ftp-make-tmp-name): New arg.
22687 (ange-ftp-file-local-copy): Use it.
22688
22689 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22690
22691 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22692 no-conversion (Bug#8870).
22693
22694 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22695
22696 * window.el (window-right, window-left, window-child)
22697 (window-child-count, window-last-child)
22698 (window-iso-combination-p, walk-window-tree-1)
22699 (window-atom-check-1, window-tree-1, delete-window)
22700 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22701 new naming conventions - window-vchild, window-hchild,
22702 window-next and window-prev are now called window-top-child,
22703 window-left-child, window-next-sibling and window-prev-sibling
22704 respectively.
22705 (resize-window-reset): Rename to window-resize-reset.
22706 (resize-window-reset-1): Rename to window-resize-reset-1.
22707 (resize-window): Rename to window-resize.
22708 (window-min-height, window-min-width)
22709 (resize-mini-window, resize-this-window, resize-root-window)
22710 (resize-root-window-vertically, adjust-window-trailing-edge)
22711 (enlarge-window, shrink-window, maximize-window)
22712 (minimize-window, delete-window, quit-restore-window)
22713 (split-window, balance-windows, balance-windows-area-adjust)
22714 (balance-windows-area, window-state-put-2)
22715 (display-buffer-even-window-sizes, display-buffer-set-height)
22716 (display-buffer-set-width, set-window-text-height)
22717 (fit-window-to-buffer): Rename all "resize-window" prefixed
22718 calls to use the "window-resize" prefix convention.
22719 (display-buffer-alist): Fix symbol for label specifier.
22720 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22721 corresponding specifier.
22722 Reported by Juanma Barranquero <lekktu@gmail.com>.
22723
22724 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22725
22726 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22727 convention.
22728 (ses-call-printer): Does not pass an empty string to formatter when the
22729 cell is empty to keep from barking printer Calc math-format-value.
22730
22731 2011-06-27 Richard Stallman <rms@gnu.org>
22732
22733 * battery.el (battery-mode-line-limit): New variable.
22734 (battery-update): Handle it.
22735
22736 * mail/rmailmm.el (rmail-mime-process-multipart):
22737 Handle truncated messages.
22738
22739 2011-06-27 Glenn Morris <rgm@gnu.org>
22740
22741 * progmodes/flymake.el (flymake-err-line-patterns):
22742 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22743
22744 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22745
22746 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22747 (ses--clean-!, ses--clean-_): New functions.
22748 (ses-range): Add configurability of readout order, and conversion
22749 to Calc vector.
22750
22751 * ses.el (ses-repair-cell-reference-all): New function.
22752 (ses-cell-symbol): Set macro as safe, so that it can be used in
22753 formulas.
22754
22755 * ses.el: Update cycle detection algorithm.
22756 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22757 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22758 (ses-set-localvars): New function.
22759 (ses-make-cell): Add property-list as a cell element.
22760 (ses-cell-property-get-fun, ses-cell-property-get)
22761 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22762 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22763 New functions.
22764 (ses-cell-property-set, ses-cell-property-pop)
22765 (ses-cell-property-get-handle): New macro.
22766 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22767 New aliases, used for code readability.
22768 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22769 cycle detection.
22770 (ses-self-reference-early-detection): New defcustom.
22771 (ses-formula-references): Robustify against self-referring cells.
22772 (ses-mode): Use ses-set-localvars.
22773 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22774 before lauching the update processing.
22775 (ses-initialize-Dijkstra-attempt): New function.
22776 (ses-recalculate-cell): Update for cycle detection based on
22777 Dijkstra algorithm.
22778
22779 * ses.el: Fix commenting and indenting convention.
22780
22781 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22782
22783 * bs.el (bs-cycle-next): Complete last change.
22784
22785 2011-06-27 Drew Adams <drew.adams@oracle.com>
22786
22787 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22788
22789 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22790
22791 * net/network-stream.el (network-stream-open-starttls):
22792 Don't re-get capabilities unless we've reestablished connection.
22793 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22794
22795 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22796 to binary to possibly avoid line encoding issues on Windows (among
22797 other things).
22798
22799 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22800
22801 * net/network-stream.el (open-network-stream): Return an :error
22802 saying what the problem was, if possible.
22803
22804 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22805 server.
22806
22807 * net/network-stream.el (network-stream-open-starttls): If we
22808 wanted to use STARTTLS, and the server offered it, but we weren't
22809 able to because we had no STARTTLS support, then close the connection.
22810 (open-network-stream): Return an :error element, if present.
22811
22812 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22813
22814 * hl-line.el (hl-line-sticky-flag): Doc fix.
22815 (global-hl-line-sticky-flag): New option (Bug#8323).
22816 (global-hl-line-highlight): Obey it.
22817
22818 * vc/vc.el (vc-revert-show-diff): Default to t.
22819
22820 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22821
22822 * allout-widgets.el (allout-widgets-post-command-business):
22823 Stop decorating intermediate isearch matches. They're not being
22824 undecorated when an isearch is continued past, and isearch
22825 automatically collapses them. This leads to "widget leaks", where
22826 decorated items accumulate in collapsed areas. Lines with lots of
22827 hidden widgets can slow down cursor travel, substantially.
22828 Too much complicated machinery would be needed to ensure undecoration,
22829 so we're doing without this nicety.
22830
22831 (allout-widgets-tally-string): Don't try to do a hash-table-count
22832 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22833 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22834 *Messages* when allout-widgets-maintain-tally is t.
22835
22836 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22837
22838 * window.el (display-buffer-normalize-argument): Rename to
22839 display-buffer-normalize-arguments. Handle special meaning of
22840 LABEL argument. Respect special-display-function when popping up
22841 a new frame. Fix code searching for a window showing the buffer
22842 on another frame.
22843 (display-buffer-normalize-specifiers):
22844 Call display-buffer-normalize-arguments.
22845 (display-buffer-in-window): Don't undedicate the window if its
22846 buffer remains the same.
22847 Reported by Drew Adams <drew.adams@oracle.com>.
22848 (display-buffer-alist): Add choice for same-window macro
22849 specfier.
22850 (display-buffer): Mention special meaning of LABEL argument in
22851 doc-string. Fix quoting. Don't pop up a new frame even as
22852 fallback.
22853
22854 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22855
22856 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22857 avoid deleting the current window in some cases (bug#8911).
22858
22859 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22860
22861 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22862 (Bug#8934)
22863
22864 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22865
22866 * net/network-stream.el (network-stream-open-starttls):
22867 Use built-in TLS support if `gnutls-available-p' is true.
22868 (network-stream-open-tls): Ditto.
22869
22870 2011-06-26 Leo Liu <sdl.web@gmail.com>
22871
22872 * register.el (registerv): New struct.
22873 (registerv-make): New function.
22874 (jump-to-register, describe-register-1, insert-register):
22875 Support the jump-func, print-func and insert-func slot of a registerv
22876 struct. (Bug#8415)
22877
22878 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22879
22880 * vc/vc.el (vc-revert-show-diff): New defcustom.
22881 (vc-diff-internal): New arg specifying diff buffer.
22882 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22883 reuse an existing *vc-diff* buffer (Bug#8927).
22884
22885 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22886
22887 2011-06-26 Glenn Morris <rgm@gnu.org>
22888
22889 * progmodes/f90.el (f90-critical-indent): New option.
22890 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22891 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22892 (f90-mode): Doc fix.
22893 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22894 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22895 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22896 (f90-match-end): Handle block, critical.
22897
22898 2011-06-25 Glenn Morris <rgm@gnu.org>
22899
22900 * calendar/diary-lib.el (diary-included-files): Doc fix.
22901 (diary-include-files): New function, extracted from
22902 diary-include-other-diary-files and diary-mark-included-diary-files.
22903 (diary-include-other-diary-files, diary-mark-included-diary-files):
22904 Just call diary-include-files.
22905 (diary-mark-entries): Reset diary-included-files on first call.
22906
22907 * calendar/diary-lib.el (diary-mark-entries)
22908 (diary-mark-included-diary-files):
22909 Visit included diary-files in temp buffers.
22910
22911 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22912 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22913 (f90-start-block-re, f90-imenu-generic-expression)
22914 (f90-looking-at-program-block-start, f90-no-block-limit):
22915 Add support for submodules.
22916
22917 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22918 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22919
22920 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22921
22922 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22923 buffer-file-type before setting its value, to avoid disastrous
22924 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22925
22926 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22927
22928 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22929
22930 * ses.el (ses-unload-function):
22931 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22932
22933 * proced.el (proced-unload-function):
22934 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22935
22936 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22937
22938 * server.el (server-create-window-system-frame): Add parameters arg.
22939 (server-process-filter): Doc fix. Handle frame-parameters.
22940
22941 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22942
22943 Fix bug#8730, bug#8781.
22944
22945 * loadhist.el (unload--set-major-mode): New function.
22946 (unload-feature): Use it.
22947
22948 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22949 (python-unload-function): New function.
22950
22951 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22952
22953 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22954
22955 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22956
22957 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22958 the candidates list.
22959
22960 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22961
22962 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22963
22964 2011-06-23 Richard Stallman <rms@gnu.org>
22965
22966 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22967 (rmail-variables): Set next-error-move-function.
22968 (rmail-what-message): Take argument POS.
22969 (rmail-next-error-move): New function.
22970
22971 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22972
22973 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22974 messages for adjacent non-terminals.
22975
22976 2011-06-23 Richard Stallman <rms@gnu.org>
22977
22978 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22979 (rmail-show-message-1): Preserve buffer modified flag.
22980 (rmail-start-mail): Don't specify use of rmail-mail-return;
22981 that's done by mail-bury now.
22982 (rmail-mail-return): Handle arg NEWBUF.
22983
22984 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22985
22986 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22987 SIZE is a number.
22988
22989 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22990
22991 * window.el (get-lru-window, get-mru-window)
22992 (get-largest-window): Never return a minibuffer window.
22993 (display-buffer-pop-up-window): Fix a bug that could lead to
22994 reusing the minibuffer window.
22995 (display-buffer): Pass original specifier argument to
22996 display-buffer-function instead of the normalized one.
22997 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22998
22999 2011-06-22 Leo Liu <sdl.web@gmail.com>
23000
23001 * minibuffer.el (completing-read-function)
23002 (completing-read-default): Move from minibuf.c.
23003
23004 2011-06-22 Richard Stallman <rms@gnu.org>
23005
23006 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23007 to Rmail even if not started by a special Rmail command.
23008
23009 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23010 Copy the buffer currently showing just one message.
23011
23012 2011-06-22 Roland Winkler <winkler@gnu.org>
23013
23014 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23015 (bibtex-clean-entry): First delete the old key so that a
23016 customized algorithm for generating the new key does not get
23017 confused by the old key.
23018 (bibtex-url): Obey regexp of first step.
23019 (bibtex-search-entries): Do not use add-to-list with local
23020 list-var.
23021
23022 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23023
23024 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23025 stored a user name, then query for the password first, instead of
23026 waiting for SMTP to give an error message and the trying again.
23027
23028 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23029
23030 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23031 BUFFER in call-process.
23032
23033 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23034
23035 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23036 QUIT twice.
23037 (smtpmail-try-auth-methods): Require user name and password from
23038 auth-source.
23039
23040 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23041
23042 * window.el (display-buffer-default-specifiers)
23043 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23044 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23045 (split-window): Normalize SIDE argument (Bug#8916).
23046
23047 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23048 (special-display-frame-alist, special-display-popup-frame):
23049 Remove duplicate declarations. These are now in window.el.
23050
23051 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23052
23053 * mail/smtpmail.el (smtpmail-via-smtp):
23054 Set :use-starttls-if-possible so that we always use STARTTLS if the
23055 server supports it. SMTP servers that support STARTTLS commonly
23056 require it.
23057
23058 * net/network-stream.el (network-stream-open-starttls): Support
23059 upgrading to STARTTLS always, even if we don't have built-in support.
23060 (open-network-stream): Add the :always-query-capabilities keyword.
23061
23062 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23063 upgrades with `open-network-stream', and rely solely on
23064 auth-source for all credentials. Big changes throughout the file,
23065 but in particular:
23066 (smtpmail-auth-credentials): Remove.
23067 (smtpmail-starttls-credentials): Remove.
23068 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23069 MAIL FROM, too.
23070
23071 * net/network-stream.el (network-stream-open-starttls):
23072 Provide support for client certificates both for external and built-in
23073 STARTTLS.
23074 (auth-source): Require.
23075 (open-network-stream): Document the :client-certificate keyword.
23076 (network-stream-certificate): Change cert-cert to cert and
23077 cert-key to key.
23078
23079 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23080
23081 * net/tramp-cache.el (top): Don't load the persistency file when
23082 "emacs -Q" has been called.
23083
23084 2011-06-21 Tim Harper <timcharper@gmail.com>
23085
23086 * term/ns-win.el (ns-initialize-window-system):
23087 Set application-specific `ApplePressAndHoldEnabled' system
23088 resource to NO as it is not yet supported by the NS port.
23089
23090 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23091
23092 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23093 (list-dynamic-libraries): ...not here.
23094
23095 2011-06-21 Leo Liu <sdl.web@gmail.com>
23096
23097 * subr.el (sha1): Implement sha1 using secure-hash.
23098
23099 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23100
23101 * window.el (display-buffer-alist): In default value do not
23102 enforce searching a window on any but the selected frame.
23103 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23104 (display-buffer-select-window): Remove function.
23105 (display-buffer-in-window): When a window on another frame gets
23106 reused, do not select it any more but just raise its frame if
23107 necessary (Bug#8851) and (Bug#8856).
23108 (display-buffer-normalize-options): Handle pop-up-frames related
23109 options more faithfully.
23110 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23111 window if it is on another frame.
23112 (display-buffer-alist, display-buffer-default-specifiers):
23113 Don't make new frame unsplittable by default.
23114 (display-buffer-normalize-argument): Fix doc-string typo and use
23115 'same-frame-other-window instead of 'other-window when associating
23116 with display-buffer-macro-specifiers.
23117
23118 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23119
23120 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23121 New functions.
23122 (5x5-mode-map, 5x5-mode-menu): Bind them.
23123 (5x5-draw-grid): Tweak the solver's rendering.
23124
23125 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23126
23127 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23128 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23129
23130 2011-06-21 Drew Adams <drew.adams@oracle.com>
23131
23132 * menu-bar.el: Use function variable instead of switch-to-buffer.
23133 (menu-bar-select-buffer-function): New variable.
23134 (menu-bar-update-buffers): Use it (bug#8876).
23135
23136 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23137
23138 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23139 variable's status.
23140
23141 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23142
23143 * x-dnd.el (x-dnd-version-from-flags)
23144 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23145 and long as number (Bug#8899).
23146 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23147
23148 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23149
23150 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23151 (completion-try-completion, completion-all-completions): Compute the
23152 metadata argument if it's missing; make it optional (bug#8795).
23153
23154 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23155 (widget-complete): Use new :completion-function property.
23156 (widget-completions-at-point): New function.
23157 (default): Use :completion-function instead of :complete.
23158 (widget-default-completions): Rename from widget-default-complete;
23159 Rewrite.
23160 (widget-string-complete, widget-file-complete, widget-color-complete):
23161 Remove functions.
23162 (file, symbol, function, variable, coding-system, color):
23163 * international/mule-cmds.el (default-input-method, charset)
23164 (language-info-custom-alist):
23165 * cus-edit.el (face): Use new property :completions.
23166
23167 * progmodes/pascal.el (pascal-completions-at-point): New function.
23168 (pascal-mode): Use it.
23169 (pascal-mode-map): Use completion-at-point.
23170 (pascal-toggle-completions): Make obsolete.
23171 (pascal-complete-word, pascal-show-completions):
23172 * progmodes/octave-mod.el (octave-complete-symbol):
23173 Redefine as obsolete alias.
23174 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23175 Signal absence of completion info for old Octave,
23176 (inferior-octave-complete): Redefine as obsolete alias.
23177 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23178 (meta-completions-at-point): Rename from meta-complete-symbol and
23179 adapt it for use on completion-at-point-functions.
23180 (meta-common-mode): Use it.
23181 (meta-looking-at-backward, meta-match-buffer): Remove.
23182 (meta-complete-symbol): Redefine as obsolete alias.
23183 (meta-common-mode-map): Use completion-at-point.
23184 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23185 (makefile-mode-map): Use completion-at-point.
23186 (makefile-completions-at-point): Rename from makefile-complete and
23187 adapt it for use on completion-at-point-functions.
23188 (makefile-mode): Use it.
23189 (makefile-complete): Redefine as obsolete alias.
23190
23191 2011-06-20 Deniz Dogan <deniz@dogan.se>
23192
23193 * net/rcirc.el: Delete trailing whitespaces once and for all.
23194
23195 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23196
23197 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23198
23199 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23200
23201 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23202
23203 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23204
23205 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23206
23207 * window.el (display-buffer-other-window-means-other-frame):
23208 Call display-buffer-normalize-alist.
23209 (display-buffer-normalize-specifiers-1): Rename to
23210 display-buffer-normalize-argument. New argument other-frame.
23211 Rewrite.
23212 (display-buffer-normalize-specifiers-2): Rename to
23213 display-buffer-normalize-options.
23214 (display-buffer-normalize-alist-1): New function.
23215 (display-buffer-normalize-specifiers-3): Rename to
23216 display-buffer-normalize-alist.
23217 Call display-buffer-normalize-alist-1.
23218 (display-buffer-normalize-options-inhibit): New variable.
23219 (display-buffer-normalize-specifiers): Rewrite calling
23220 display-buffer-normalize-alist,
23221 display-buffer-normalize-argument, and
23222 display-buffer-normalize-options. Don't call the latter if
23223 display-buffer-normalize-options-inhibit is non-nil.
23224 (frame-auto-delete): New option.
23225 (window-deletable-p): Use frame-auto-delete.
23226 (window-list-no-nils, window-state-ignored-parameters)
23227 (window-state-get-1, window-state-get, window-state-put-list)
23228 (window-state-put-1, window-state-put-2, window-state-put):
23229 New functions.
23230 (display-buffer-normalize-options): Move special-display-p group
23231 after pop-up-frame group (Bug#8851) and (Bug#8856).
23232
23233 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23234
23235 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23236 groups (Bug#8776).
23237 (rx-submatch-n): New function.
23238 (rx): Document it.
23239
23240 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23241 (Bug#8768).
23242
23243 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23244
23245 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23246
23247 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23248 anytime existing face settings are present (Bug#8889).
23249
23250 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23251 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23252 Remove unused argument.
23253
23254 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23255
23256 * window.el (display-buffer-default-specifiers):
23257 Remove pop-up-frame. Add pop-up-window-min-height,
23258 pop-up-window-min-width, and another reuse-window specifier
23259 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23260 (display-buffer-normalize-specifiers-2):
23261 Handle split-height-threshold and split-width-threshold also when
23262 pop-up-windows is unset. Add a reuse-window specifier for the
23263 case popping up a new window fails.
23264 (special-display-popup-frame): Remove double quoting.
23265 (display-buffer-normalize-specifiers-1): Fix thinko.
23266
23267 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23268
23269 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23270 according to comint-completion-addsuffix.
23271
23272 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23273 (pcomplete-suffix-list): Mark as obsolete.
23274 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23275 pcomplete-seen in the closure.
23276 (pcomplete-comint-setup): Setup completion-at-point as well.
23277 (pcomplete--entries): New function.
23278 (pcomplete--env-regexp): New var.
23279 (pcomplete-entries): Rewrite to work with partial-completion and
23280 without relying on pcomplete-suffix-list.
23281 (pcomplete-pare-list): Remove, unused.
23282
23283 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23284
23285 * window.el (display-buffer-alist): Set pop-up-window-min-height
23286 and pop-up-window-min-width in default value. Reported by
23287 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23288 other-window-means-other-frame.
23289 (display-buffer-macro-specifiers): Comment out entry for
23290 other-window specifier.
23291 (display-buffer-other-window-means-other-frame): New function.
23292 (display-buffer-normalize-specifiers-1): New arguments
23293 buffer-name and label. Treat other-window case specially.
23294 (display-buffer-normalize-specifiers-2): Treat other-window case
23295 specially.
23296 (display-buffer-normalize-specifiers-3): New function.
23297 (display-buffer-normalize-specifiers):
23298 Call display-buffer-normalize-specifiers-3.
23299
23300 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23301
23302 * window.el (same-window-p): Fix two typos introduced when
23303 adding with-no-warnings.
23304 (display-buffer-normalize-specifiers-1): Don't check
23305 pop-up-frames for 'unset initialization.
23306 (display-buffer-normalize-specifiers-2): Major rewrite using
23307 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23308 (pop-up-frames, display-buffer-reuse-frames)
23309 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23310 Suggested by David Engster <deng@randomsample.de>.
23311 (even-window-heights): Initialize to 'unset.
23312 (display-buffer-alist-set): Handle new 'unset initializations.
23313 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23314 other window case.
23315
23316 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23317
23318 * window.el (display-buffer-normalize-specifiers-1):
23319 Respect current value of pop-up-frames for most reasonable values of
23320 second argument of display-buffer (Bug#8865).
23321 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23322 (switch-to-buffer-other-window-same-frame)
23323 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23324 Adams (Bug#8875).
23325 (display-buffer): Don't check noninteractive when calling
23326 display-buffer-pop-up-frame.
23327 (display-buffer-pop-up-frame): Never pop up a frame in
23328 noninteractive mode (Bug#8857).
23329 (enlarge-window, shrink-window): Don't report an error when the
23330 window can't be resized as requested (Bug#8862).
23331
23332 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23333
23334 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23335
23336 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23337
23338 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23339
23340 2011-06-15 Alan Mackenzie <acm@muc.de>
23341
23342 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23343 for declarators, disable knr checking to speed up for normal files.
23344 2: Refactor, replacing a sequence of nested if forms by a cond form.
23345
23346 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23347
23348 * net/network-stream.el (open-network-stream): Add the keyword
23349 :always-query-capabilities for the case where you want to force a
23350 `plain' network connection, but the protocol still requires the
23351 capabilitiy command (i.e., SMTP and EHLO).
23352
23353 * subr.el (process-live-p): Rename from `process-alive-p' for
23354 consistency with other `-live-p' functions.
23355
23356 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23357
23358 * window.el (same-window-buffer-names, same-window-regexps)
23359 (special-display-frame-alist, special-display-popup-frame)
23360 (special-display-function, special-display-buffer-names)
23361 (special-display-regexps, pop-up-frame-alist)
23362 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23363 (pop-up-windows, split-window-preferred-function)
23364 (split-height-threshold, split-width-threshold, even-window-heights)
23365 (display-buffer-mark-dedicated): Don't encourage the use of
23366 display-buffer-alist from Elisp code.
23367
23368 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23369
23370 * progmodes/python.el (python-mode): Derive from prog-mode.
23371 * progmodes/ps-mode.el (ps-mode):
23372 * progmodes/mixal-mode.el (mixal-mode):
23373 * progmodes/cfengine.el (cfengine-mode):
23374 * progmodes/ld-script.el (ld-script-mode): Likewise.
23375
23376 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23377
23378 * window.el (display-buffer-alist): Trim default value to avoid
23379 popping up a new frame (Bug#8857) or reusing an arbitrary window
23380 on another frame.
23381 (display-buffer): Do not fall back on popping up a new frame in
23382 batch mode (Bug#8857).
23383
23384 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23385
23386 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23387 (custom-theme-summary): New function.
23388 (customize-themes): Use it.
23389
23390 2011-06-13 Glenn Morris <rgm@gnu.org>
23391
23392 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23393
23394 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23395
23396 * help.el (help-window): Remove variable.
23397 (help-window-point-marker, temp-buffer-max-height)
23398 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23399 (help-print-return-message): Don't set help-window.
23400 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23401 (help-window-setup-finish): Remove.
23402 (help-window-display-message, help-window-setup)
23403 (with-help-window): Major rewrite based on new
23404 display-buffer-window variable.
23405
23406 * help-mode.el (help-mode-finish): Remove help-window related
23407 code.
23408
23409 * view.el (view-exits-all-viewing-windows): Remove reference to
23410 view-return-to-alist in doc-string.
23411 (view-return-to-alist): Make obsolete.
23412 (view-buffer): Call pop-to-buffer-same-window and remove
23413 undo-window code.
23414 (view-buffer-other-window): Call pop-to-buffer-other-window and
23415 simplify code. Ignore second argument.
23416 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23417 simplify code. Ignore second argument.
23418 (view-return-to-alist-update): Make obsolete.
23419 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23420 Rewrite using quit-restore window parameters.
23421 (view-mode-exit): Rename second argument to EXIT-ONLY.
23422 Rewrite using quit-restore-window.
23423 (View-exit, View-exit-and-edit, View-leave, View-quit)
23424 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23425 appropriate arguments.
23426 (view-end-message): Use quit-restore window parameter.
23427
23428 * window.el (display-buffer-function): Rewrite doc-string.
23429 (display-buffer-window, display-buffer-alist): New variables.
23430 (display-buffer-split-specifiers)
23431 (display-buffer-side-specifiers)
23432 (display-buffer-macro-specifiers): New constants.
23433 (display-buffer-even-window-sizes, display-buffer-set-height)
23434 (display-buffer-set-width, display-buffer-select-window)
23435 (display-buffer-in-window, display-buffer-reuse-window)
23436 (display-buffer-split-window-1, display-buffer-split-window)
23437 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23438 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23439 (display-buffer-in-side-window, normalize-buffer-to-display)
23440 (display-buffer-normalize-specifiers-1)
23441 (display-buffer-normalize-specifiers-2)
23442 (display-buffer-normalize-specifiers, display-buffer-frame):
23443 New functions.
23444 (display-buffer): Major rewrite.
23445 (display-buffer-other-window, display-buffer-other-frame)
23446 (pop-to-buffer, switch-to-buffer-other-window)
23447 (switch-to-buffer-other-frame): Rewrite.
23448 (display-buffer-same-window, display-buffer-same-frame)
23449 (display-buffer-same-frame-other-window)
23450 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23451 (pop-to-buffer-other-window)
23452 (pop-to-buffer-same-frame-other-window)
23453 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23454 (switch-to-buffer-other-window-same-frame): New functions.
23455 (same-window-p, special-display-p): Rewrite disabling warnings.
23456 Make obsolete.
23457 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23458 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23459 Make obsolete
23460 (same-window-buffer-names, same-window-regexps)
23461 (special-display-frame-alist, special-display-popup-frame)
23462 (special-display-function, special-display-buffer-names)
23463 (special-display-regexps, pop-up-frame-alist)
23464 (pop-up-frame-function, split-window-preferred-function)
23465 (split-height-threshold, split-width-threshold)
23466 (even-window-heights): Make obsolete.
23467
23468 2011-06-12 Glenn Morris <rgm@gnu.org>
23469
23470 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23471 Misc simplifications.
23472
23473 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23474
23475 * window.el (window-safely-shrinkable-p): Restore function which
23476 was inadvertently removed in change from 2011-06-11. Declare as
23477 obsolete.
23478
23479 * calendar/calendar.el (calendar-generate-window):
23480 Use window-iso-combined-p instead of combination of one-window-p and
23481 window-safely-shrinkable-p.
23482
23483 2011-06-12 Glenn Morris <rgm@gnu.org>
23484
23485 * progmodes/fortran.el (fortran-mode-syntax-table):
23486 * progmodes/f90.el (f90-mode-syntax-table):
23487 Set % to punctuation. (Bug#8820)
23488 (f90-find-tag-default): Remove, no longer needed.
23489
23490 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23491
23492 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23493
23494 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23495
23496 * image.el (image-animated-p): Return animation delay in seconds.
23497 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23498 (image-animate-timeout): Remove DELAY argument. Don't assume
23499 every subimage has the same delay; get it from image-animated-p.
23500 (image-animate): Caller changed.
23501
23502 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23503
23504 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23505 to ignored backtrace functions.
23506
23507 2011-06-11 Glenn Morris <rgm@gnu.org>
23508
23509 * calendar/appt.el (appt-disp-window-function): Doc fix.
23510 (appt-check): Handle overlapping appointments. (Bug#8337)
23511
23512 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23513
23514 * window.el (window-tree-1, window-tree): New functions, moving
23515 the latter to window.el.
23516 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23517 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23518 (bw-refresh-edges): Remove.
23519 (balance-windows-1, balance-windows-2): New functions.
23520 (balance-windows): Rewrite in terms of window tree functions,
23521 balance-windows-1 and balance-windows-2.
23522 (bw-adjust-window): Remove.
23523 (balance-windows-area-adjust): New function with functionality of
23524 bw-adjust-window but using resize-window.
23525 (set-window-text-height): Rewrite doc-string.
23526 Use normalize-live-window and resize-window.
23527 (enlarge-window-horizontally, shrink-window-horizontally):
23528 Rename argument to DELTA.
23529 (window-buffer-height): New function.
23530 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23531 Rewrite using new window resize routines.
23532 (kill-buffer-and-window, mouse-autoselect-window-select):
23533 Use ignore-errors instead of condition-case.
23534 (quit-window): Call delete-frame instead of delete-windows-on
23535 for the only buffer on frame.
23536
23537 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23538
23539 * loadup.el (top-level): Load window before files for the sake
23540 of replace-buffer-in-windows.
23541
23542 * files.el (read-buffer-to-switch)
23543 (switch-to-buffer-other-window)
23544 (switch-to-buffer-other-frame, display-buffer-other-frame):
23545 Move to window.el.
23546
23547 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23548 (previous-buffer): Move to window.el.
23549
23550 * bindings.el (unbury-buffer): Move to window.el.
23551
23552 * window.el (delete-other-windows-vertically): Move after
23553 definition of delete-other-windows.
23554 (other-window, delete-windows-on, replace-buffer-in-windows):
23555 Move here from window.c.
23556 (record-window-buffer, unrecord-window-buffer)
23557 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23558 (switch-to-next-buffer): New functions.
23559 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23560 from simple.el. Call switch-to-next-buffer.
23561 (previous-buffer): Move here from simple.el.
23562 Call switch-to-prev-buffer.
23563 (bury-buffer): Move here from buffer.c. Switch to previous
23564 buffer when window cannot be deleted.
23565 (unbury-buffer): Move here from bindings.el.
23566 (ctl-x-map): Move binding for other-window from window.c to
23567 here.
23568 (read-buffer-to-switch, switch-to-buffer-other-window)
23569 (switch-to-buffer-other-frame): Move here from files.el.
23570 (normalize-buffer-to-switch-to): New functions.
23571 (switch-to-buffer): Move here from buffer.c.
23572 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23573
23574 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23575
23576 * window.el (window-min-height, window-min-width): Move here
23577 from window.c. Add defcustoms and rewrite doc-strings.
23578 (resize-mini-window, resize-window): New functions.
23579 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23580 Move here from window.c.
23581 (maximize-window, minimize-window): New functions.
23582 (delete-window, delete-other-windows, split-window): Move here
23583 from window.c.
23584 (window-split-min-size): New function.
23585 (split-window-keep-point): Mention split-window-above-each-other
23586 instead of split-window-vertically.
23587 (split-window-above-each-other, split-window-vertically):
23588 Rename split-window-vertically to split-window-above-each-other
23589 and provide defalias for old definition.
23590 (split-window-side-by-side, split-window-horizontally):
23591 Rename split-window-horizontally to split-window-side-by-side
23592 and provide defalias for the old definition.
23593 (ctl-x-map): Move bindings for delete-window,
23594 delete-other-windows and enlarge-window here from window.c.
23595 Replace bindings for split-window-vertically and
23596 split-window-horizontally by bindings for
23597 split-window-above-each-other and split-window-side-by-side.
23598
23599 * cus-start.el (all): Remove entries for window-min-height and
23600 window-min-width. Add entries for window-splits and
23601 window-nest.
23602
23603 2011-06-09 Glenn Morris <rgm@gnu.org>
23604
23605 * calendar/appt.el (appt-mode-line): New function.
23606 (appt-check, appt-disp-window): Use it.
23607
23608 * files.el (hack-one-local-variable-eval-safep):
23609 Allow minor-modes with explicit +/-1 arguments.
23610
23611 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23612
23613 * term/xterm.el (xterm): Add defgroup.
23614 (xterm-extra-capabilities): Add defcustom to supply known xterm
23615 capabilities, skip querying them, or query them (default).
23616 (terminal-init-xterm): Use it.
23617 (terminal-init-xterm-modify-other-keys): New function to set up
23618 modifyOtherKeys support to simplify `terminal-init-xterm'.
23619
23620 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23621
23622 * window.el (resize-window-reset, resize-window-reset-1)
23623 (resize-subwindows-skip-p, resize-subwindows-normal)
23624 (resize-subwindows, resize-other-windows, resize-this-window)
23625 (resize-root-window, resize-root-window-vertically)
23626 (window-deletable-p, window-or-subwindow-p)
23627 (frame-root-window-p): New functions.
23628
23629 2011-06-09 Glenn Morris <rgm@gnu.org>
23630
23631 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23632 (ange-ftp-get-files): Use it.
23633
23634 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23635
23636 * mail/sendmail.el (mail-recover-1, mail-recover):
23637 * files.el (recover-file, recover-session):
23638 Handle dired-listing-switches not being just a single short option.
23639
23640 2011-06-09 Glenn Morris <rgm@gnu.org>
23641
23642 * calendar/appt.el (appt-display-message, appt-disp-window):
23643 Handle lists of appointments.
23644
23645 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23646
23647 * window.el (one-window-p): Move down in code.
23648 Rewrite doc-string.
23649 (window-current-scroll-bars): Rewrite doc-string.
23650 Normalize live window argument.
23651 (walk-windows, get-window-with-predicate, count-windows):
23652 Rewrite doc-string. Use window-list-1.
23653 (window-in-direction-2, window-in-direction, get-mru-window):
23654 New functions.
23655
23656 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23657
23658 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23659 Doc fix (Bug#8713).
23660
23661 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23662
23663 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23664
23665 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23666
23667 * loadhist.el (unload-feature-special-hooks):
23668 Add `comint-output-filter-functions'.
23669
23670 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23671
23672 * calendar/appt.el (appt-check): Move some initializations into the let.
23673
23674 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23675
23676 * window.el (window-height): Defalias to window-total-height.
23677 (window-width): Defalias to window-body-width.
23678
23679 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23680
23681 * image-mode.el (image-toggle-animation): New command.
23682 (image-mode-map): Bind it to RET.
23683 (image-mode): Update message.
23684 (image-toggle-display-image): Avoid a spurious cache flush.
23685 (image-transform-rotation): Doc fix.
23686 (image-transform-properties): Return quickly in the normal case.
23687 (image-animate-loop): Rename from image-animate-max-time.
23688
23689 * image.el (image-animate-max-time): Move to image-mode.el.
23690 (create-animated-image): Remove unnecessary function.
23691 (image-animate): Rename from image-animate-start. New arg.
23692 (image-animate-stop): Remove; just use image-animate-timer.
23693 (image-animate-timer): Use car-safe.
23694 (image-animate-timeout): Rename argument.
23695
23696 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23697
23698 * window.el (get-lru-window, get-largest-window): Move here from
23699 window.c. Rename first argument to ALL-FRAMES.
23700 Rephrase doc-strings.
23701 (get-buffer-window-list): Rewrite using window-list-1.
23702 Rephrase doc-string.
23703 (window-safe-min-height, window-safe-min-width): New constants.
23704 (window-size-ignore, window-min-size, window-min-size-1)
23705 (window-sizable, window-sizable-p, window-size-fixed-1)
23706 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23707 (window-max-delta-1, window-max-delta, window-resizable)
23708 (window-resizable-p, window-total-height, window-total-width)
23709 (window-body-width): New functions.
23710 (window-full-height-p, window-full-width-p): Rewrite using
23711 window-total-size.
23712 (window-body-height): Rewrite using window-body-size.
23713
23714 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23715
23716 * window.el (window-right, window-left, window-child)
23717 (window-child-count, window-last-child, window-any-p)
23718 (normalize-live-buffer, normalize-live-frame)
23719 (normalize-any-window, normalize-live-window)
23720 (window-iso-combination-p, window-iso-combined-p)
23721 (window-iso-combinations)
23722 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23723 (windows-with-parameter, window-with-parameter)
23724 (window-atom-root, make-window-atom, window-atom-check-1)
23725 (window-atom-check, window-side-check, window-check):
23726 New functions.
23727 (ignore-window-parameters, window-sides, window-sides-vertical)
23728 (window-sides-slots): New variables.
23729 (window-size-fixed): Move down in code. Minor doc-string fix.
23730
23731 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23732
23733 * comint.el (comint-dynamic-complete-as-filename)
23734 (comint-dynamic-complete-filename): Correctly call
23735 completion-in-region.
23736
23737 2011-06-05 Deniz Dogan <deniz@dogan.se>
23738
23739 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23740 in last change.
23741
23742 2011-06-05 Deniz Dogan <deniz@dogan.se>
23743
23744 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23745 (rcirc): Use it to prompt for encryption.
23746
23747 2011-06-05 Roland Winkler <winkler@gnu.org>
23748
23749 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23750 (bibtex-search-entries): New command bound to C-c C-a.
23751 (bibtex-display-entries): New function.
23752
23753 2011-06-05 Roland Winkler <winkler@gnu.org>
23754
23755 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23756 (bibtex-insert-kill): After yanking insert newline if necessary.
23757 (bibtex-initialize): Call bibtex-string-files-init only once.
23758 (bibtex-mode): Do not call easy-menu-add.
23759 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23760 (bibtex-yank): Set arg properly if nil.
23761
23762 2011-06-05 Roland Winkler <winkler@gnu.org>
23763
23764 * textmodes/bibtex.el (bibtex-search-entry-globally):
23765 New variable.
23766 (bibtex-search-entry): Use it.
23767
23768 2011-06-05 Roland Winkler <winkler@gnu.org>
23769
23770 * textmodes/bibtex.el (bibtex-entry-format): New option
23771 sort-fields.
23772 (bibtex-format-entry, bibtex-reformat): Honor this option.
23773 (bibtex-parse-entry): Return fields in proper order.
23774
23775 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23776
23777 * doc-view.el (doc-view-remove-if): Move computation of result out
23778 of `dolist' to silence misleading lexical-binding warning.
23779
23780 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23781
23782 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23783 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23784
23785 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23786
23787 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23788 "SunOS 5.10".
23789
23790 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23791
23792 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23793 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23794 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23795 (tramp-parse-putty):
23796 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23797 (tramp-completion-function-alist-ssh)
23798 (tramp-completion-function-alist-telnet)
23799 (tramp-completion-function-alist-su)
23800 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23801 cookie.
23802
23803 * net/tramp-ftp.el:
23804 * net/tramp-sh.el:
23805 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23806 load "tramp.el" `tramp-set-completion-function'.
23807
23808 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23809
23810 * shell.el: Require and use pcomplete.
23811 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23812 (shell-completion-vars): Set pcomplete-default-completion-function.
23813
23814 2011-06-04 Deniz Dogan <deniz@dogan.se>
23815
23816 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23817 `memq' (Bug#8799).
23818
23819 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23820
23821 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23822
23823 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23824
23825 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23826 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23827 * vc/log-view.el (log-view-beginning-of-defun):
23828 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23829 (smerge-refine-forward, smerge-refine-chopup-region):
23830 Silence warning for unused `dotimes' counter variables.
23831
23832 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23833
23834 * net/tramp.el (tramp-with-progress-reporter): Rename from
23835 with-progress-reporter. Use `declare'.
23836 * net/tramp-smb.el:
23837 * net/tramp-sh.el:
23838 * net/tramp-gvfs.el: Update all uses.
23839
23840 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23841
23842 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23843 buffer isn't killed before making it current.
23844
23845 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23846
23847 Silence various byte-compiler warnings.
23848 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23849 `access-type' and new obsolescence format.
23850 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23851 new format.
23852 (byte-compile-check-variable): New `access-type' argument.
23853 Only warn if the access-type is obsolete.
23854 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23855 (byte-compile-variable-set): Adjust callers.
23856 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23857 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23858 setting it as obsolete.
23859 * simple.el (minibuffer-completing-symbol):
23860 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23861 access as obsolete.
23862 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23863 obsolete yet.
23864 * international/quail.el (quail-mouse-choose-completion): Remove unused
23865 code referring to obsolete var.
23866 (quail-choose-completion-string): Remove.
23867 * server.el (server-clients-with, server-kill-buffer-query-function)
23868 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23869 * proced.el (proced-send-signal):
23870 * emacs-lisp/lisp.el (lisp-complete-symbol):
23871 Replace completion-annotate-function with completion-extra-properties.
23872
23873 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23874
23875 * simple.el (goto-line): Use read-number.
23876 (overriding-map-is-bound): Remove.
23877 (saved-overriding-map): Change default.
23878 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23879 Take the map as argument.
23880 (universal-argument, negative-argument, digit-argument): Use it.
23881 (restore-overriding-map): Adjust.
23882 (do-auto-fill): Use fill-forward-paragraph.
23883 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23884
23885 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23886 (minibuffer-inactive-mode): New major mode.
23887 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23888 the *Messages* buffer" hack.
23889 (mouse-popup-menubar): Don't burp if the event is a normal key.
23890
23891 Miscellaneous tweaks.
23892 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23893 lexical scoping as in subr.el's dolist and dotimes.
23894 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23895 Silence compiler warning.
23896 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23897 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23898 * international/ccl.el (ccl-compile): Trivial simplification.
23899 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23900 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23901 `printflag' argument.
23902 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23903 Purecopy the whole obsolescence data.
23904
23905 2011-06-01 Leo Liu <sdl.web@gmail.com>
23906
23907 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23908 improve doc-string as suggested by Marco Pessotto
23909 <melmothx@gmail.com>.
23910 (rcirc-print): Fix last change.
23911
23912 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23913
23914 * minibuffer.el (complete-with-action): Return nil for the metadata and
23915 boundaries of non-functional tables.
23916 (completion-table-dynamic): Return nil for the metadata.
23917 (completion-table-with-terminator): Add default case, using
23918 complete-with-action.
23919 (completion--metadata): New function.
23920 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23921 to try and avoid pathological performance problems.
23922 (completion--embedded-envvar-table): Return `category' metadata.
23923
23924 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23925
23926 * subr.el (process-alive-p): New tiny convenience function.
23927
23928 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23929
23930 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23931 content but also its previous major mode.
23932
23933 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23934
23935 * emacs-lisp/debug.el (debug): Restore the previous content of the
23936 *Backtrace* buffer when we exit with C-M-c.
23937
23938 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23939
23940 * minibuffer.el: Add metadata method to completion tables.
23941 (completion-category-overrides): New defcustom.
23942 (completion-metadata, completion--field-metadata)
23943 (completion-metadata-get, completion--styles)
23944 (completion--cycle-threshold): New functions.
23945 (completion-try-completion, completion-all-completions):
23946 Add `metadata' argument to choose completion-styles.
23947 (completion--do-completion): Use metadata to choose cycling.
23948 (completion-all-sorted-completions): Use metadata for sorting.
23949 Remove :completion-cycle-penalty which is not needed any more.
23950 (completion--try-word-completion): Add `metadata' argument.
23951 (minibuffer-completion-help): Check metadata for annotation function
23952 and sorting.
23953 (completion-file-name-table): Return `category' metadata.
23954 (minibuffer-completing-file-name): Make obsolete.
23955 * simple.el (minibuffer-completing-symbol): Make obsolete.
23956 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23957 completion-try-completion.
23958
23959 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23960
23961 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23962
23963 2011-05-30 Leo Liu <sdl.web@gmail.com>
23964
23965 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23966 (rcirc-print): Decode all incoming messages (bug#8744).
23967 (rcirc-decode-coding-system): Allow value nil for automatic coding
23968 system detection.
23969
23970 2011-06-01 Glenn Morris <rgm@gnu.org>
23971
23972 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23973
23974 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23975
23976 * image.el (image-animate-max-time): Allow nil and t values.
23977 Default to nil.
23978 (create-animated-image): Doc fix.
23979 (image-animate-start): Remove second arg; just use
23980 image-animate-max-time.
23981 (image-animate-timeout): Doc fix. Args changed.
23982
23983 * image-mode.el (image-toggle-display-image): Ensure that the
23984 image spec passed to the animate timer is the same object as in
23985 the buffer's display property (Bug#6981).
23986 (image-transform-properties): Doc fix.
23987
23988 * image.el (image-animate-max-time): Default to nil.
23989
23990 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23991
23992 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23993 entire buffer list (Bug#8184).
23994
23995 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23996
23997 * image.el (imagemagick-types-inhibit)
23998 (imagemagick-register-types): Doc fix.
23999
24000 2011-05-29 Deniz Dogan <deniz@dogan.se>
24001
24002 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24003 default.
24004
24005 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24006
24007 * select.el: Don't perform clipboard-manager saving in hooks;
24008 leave the hooks empty.
24009
24010 2011-05-28 Leo Liu <sdl.web@gmail.com>
24011
24012 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24013 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24014 (occur-edit-mode): New major mode (Bug#8463).
24015 (occur-after-change-function): New function.
24016 (occur-engine): Give Occur tags a read-only property.
24017
24018 2011-05-28 Kevin Ryde <user42@zip.com.au>
24019
24020 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24021
24022 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24023
24024 * bindings.el (help-echo): Make the initial non-indicator dash
24025 empty on graphical terminals (Bug#7295).
24026
24027 * files.el (auto-mode-alist): Move config rule after the
24028 in-stripping one (Bug#8547).
24029
24030 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24031
24032 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24033 setting (Bug#8740).
24034
24035 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24036
24037 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24038 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24039 (Bug#8539).
24040
24041 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24042
24043 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24044
24045 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24046
24047 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24048 (hs-hide-block-at-point, hs-find-block-beginning)
24049 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24050 (Bug#8279).
24051
24052 2011-05-28 Glenn Morris <rgm@gnu.org>
24053
24054 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24055
24056 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24057
24058 * help-fns.el (describe-function-1): If the function is a derived
24059 major mode, print the parent mode.
24060
24061 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24062 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24063
24064 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24065
24066 * minibuffer.el (completion--capf-wrapper): Check applicability before
24067 returning non-nil for non-exclusive completion data.
24068 * progmodes/etags.el (tags-completion-at-point-function):
24069 * info-look.el (info-lookup-completions-at-point): Mark as
24070 non-exclusive.
24071 (info-complete): Adjust accordingly.
24072
24073 * info-look.el: Convert to lexical-binding and completion-at-point.
24074 (info-lookup-completions-at-point): New function.
24075 (info-complete): Use it and completion-in-region.
24076
24077 2011-05-28 Drew Adams <drew.adams@oracle.com>
24078
24079 * isearch.el: Let M-e start with point at the first mismatched char.
24080 (isearch-fail-pos): New function.
24081 (isearch-edit-string): Use it.
24082
24083 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24084
24085 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24086
24087 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24088
24089 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24090 traversal functions for avl-trees.
24091 (avl-tree--stack): New struct.
24092 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24093 (avl-tree-enter): Add optional `updatefun' arg.
24094 (avl-tree--do-enter): Add optional `updatefun' arg.
24095 Change return value.
24096 (avl-tree-delete): Add optional `test' and `nilflag' args.
24097 (avl-tree--do-delete): Add `test' and `nilflag' args.
24098 Change return value.
24099 (avl-tree-member): Add optional `nilflag'
24100 (avl-tree-member-p): New function.
24101 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24102 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24103 (avl-tree-stack-empty-p): New functions.
24104
24105 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24106 avl-tree--del-balance1 and make it work both ways.
24107 (avl-tree--del-balance2): Remove.
24108 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24109 make it work both ways.
24110 (avl-tree--enter-balance2): Remove.
24111 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24112 New macros.
24113 (avl-tree--mapc, avl-tree-map): Add direction argument.
24114
24115 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24116
24117 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24118
24119 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24120
24121 * select.el: Support clipboard managers with built-in function
24122 x-clipboard-manager-save, via delete-frame-functions and
24123 kill-emacs-hook.
24124 (xselect-convert-to-targets): Add MULTIPLE target to list.
24125 (xselect-convert-to-save-targets): New function.
24126
24127 2011-05-27 Kenichi Handa <handa@m17n.org>
24128
24129 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24130 let-binding rfc2047-encode-encoded-words to nil.
24131
24132 2011-05-27 Glenn Morris <rgm@gnu.org>
24133
24134 * mail/emacsbug.el: Don't require url-util.
24135
24136 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24137
24138 * files.el (set-auto-mode):
24139 Also respect mode: entries at the end of the file. (Bug#8586)
24140
24141 2011-05-26 Glenn Morris <rgm@gnu.org>
24142
24143 * files.el (hack-local-variables-prop-line, hack-local-variables):
24144 Downcase mode names, as seems to be traditional.
24145 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24146
24147 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24148 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24149
24150 2011-05-25 Julien Danjou <julien@danjou.info>
24151
24152 * textmodes/rst.el (rst-define-level-faces): Do not define face
24153 symbol if it is already defined.
24154
24155 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24156
24157 * play/5x5.el (5x5-new-game, 5x5-randomize):
24158 Reset 5x5-solver-output to nil when a new grid is cast.
24159 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24160 these debugging traces, as defmacro breaks the compiled code.
24161
24162 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24163
24164 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24165
24166 2011-05-24 Leo Liu <sdl.web@gmail.com>
24167
24168 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24169 (vc-bzr-sha1): Adapt.
24170
24171 * sha1.el: Remove. Function `sha1' is now builtin.
24172
24173 * bindings.el: Provide sha1 feature.
24174
24175 2011-05-24 Kenichi Handa <handa@m17n.org>
24176
24177 * mail/sendmail.el: Require `rfc2047'.
24178 (mail-insert-from-field): Do not perform RFC2047 encoding.
24179 (mail-encode-header): New function.
24180 (sendmail-send-it): Set buffer-file-coding-system of the work
24181 buffer to the return value of select-message-coding-system.
24182 Call mail-encode-header.
24183
24184 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24185
24186 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24187
24188 * mail/supercite.el (sc-default-cite-frame):
24189 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24190
24191 2011-05-24 Glenn Morris <rgm@gnu.org>
24192
24193 * progmodes/python.el (brm-menu): Declare.
24194
24195 * emulation/viper.el (viper-set-hooks): Declare.
24196
24197 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24198 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24199 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24200 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24201 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24202 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24203
24204 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24205
24206 Add an :exit-function for completion-at-point.
24207
24208 * minibuffer.el (completion--done): New fun.
24209 (completion--do-completion): Use it. New arg `expect-exact'.
24210 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24211 since completion--do-completion does it for us now.
24212 (minibuffer-force-complete): Use completion--done and
24213 completion--replace. Handle sole-completion case with more care.
24214 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24215 (completion-extra-properties): New var.
24216 (completion-annotate-function): Make obsolete.
24217 (minibuffer-completion-help): Adjust accordingly.
24218 Use completion-list-insert-choice-function.
24219 (completion-at-point, completion-help-at-point):
24220 Bind completion-extra-properties.
24221 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24222 * simple.el (completion-list-insert-choice-function): New var.
24223 (completion-setup-function): Preserve it.
24224 (choose-completion): Pay attention to it, shuffle the code a bit.
24225 (choose-completion-string): New arg `insert-function'.
24226
24227 * textmodes/bibtex.el: Convert to lexical binding.
24228 (bibtex-mode-map): Use completion-at-point.
24229 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24230 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24231 (bibtex-complete): Define as obsolete alias.
24232 (bibtex-complete-internal): Remove.
24233 (bibtex-format-entry): Remove unused sub-group in regexp.
24234 * shell.el (shell--command-completion-data)
24235 (shell-environment-variable-completion):
24236 * pcomplete.el (pcomplete-completions-at-point):
24237 * comint.el (comint--complete-file-name-data): Use :exit-function
24238 instead of completion-table-with-terminator so it also works for
24239 choose-completion.
24240
24241 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24242
24243 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24244
24245 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24246 (bug#8710).
24247
24248 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24249
24250 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24251
24252 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24253 customization variable and implement: If non-nil, auto-fill will
24254 be inhibited while on topic's header line.
24255
24256 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24257
24258 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24259 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24260 always have a solution in grid size = 5 cases.
24261 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24262 (5x5-solver-output, 5x5-log-buffer): New vars.
24263 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24264 Make these variables buffer local to achieve 5x5 multi-session-ness.
24265 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24266 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24267 (5x5-solve-suggest): New funs.
24268 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24269 randomize a grid so that we ensure that there is always a solution.
24270 (5x5-make-random-grid): Allow other movement than flipping.
24271
24272 2011-05-23 Kevin Ryde <user42@zip.com.au>
24273
24274 * emacs-lisp/advice.el (ad-read-advised-function):
24275 Use `function-called-at-point' as the default, if it has
24276 advice and passes PREDICATE.
24277
24278 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24279
24280 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24281 byte-compile-lambda if it's actually a lambda.
24282
24283 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24284 Fix function quoting. Use backquote better.
24285
24286 2011-05-22 Yuanle Song <sylecn@gmail.com>
24287
24288 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24289 matching (Bug#8516).
24290
24291 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24292
24293 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24294 different face (Bug#8178).
24295
24296 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24297
24298 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24299 defface (Bug#8144).
24300
24301 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24302
24303 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24304 funcall as well (bug#8712). Warn when performing those conversions.
24305 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24306
24307 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24308
24309 2011-05-22 Glenn Morris <rgm@gnu.org>
24310
24311 * files.el (hack-local-variables-prop-line): Small simplifications.
24312 (hack-local-variables, hack-local-variables-prop-line):
24313 If MODE-ONLY, return the mode, rather than just `t'.
24314
24315 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24316
24317 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24318
24319 2011-05-21 Glenn Morris <rgm@gnu.org>
24320
24321 * files.el (hack-local-variables-prop-line, hack-local-variables):
24322 If only interested in the mode, don't bother doing the other stuff.
24323
24324 * image-mode.el (image-after-revert-hook):
24325 Redraw all frames on which the image is visible. (Bug#8567)
24326
24327 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24328
24329 * wid-edit.el (widget-checklist-match-inline):
24330 Fix 2011-04-19 change. (Bug#8649)
24331
24332 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24333
24334 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24335 Also allow singlespace after single-letter capitals followed by a dot.
24336
24337 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24338 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24339
24340 2011-05-20 Nix <nix@esperi.org.uk>
24341
24342 * files.el (basic-save-buffer-2):
24343 Fix handling of break-hardlink-on-save with non-existent files.
24344
24345 2011-05-19 Deniz Dogan <deniz@dogan.se>
24346
24347 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24348 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24349
24350 2011-05-19 Glenn Morris <rgm@gnu.org>
24351
24352 * progmodes/f90.el (f90-type-def-re):
24353 Handle "type, bind(c)". (Bug#8691)
24354
24355 * emacs-lisp/autoload.el (batch-update-autoloads):
24356 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24357
24358 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24359
24360 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24361 property for the correct connection in case of multihops.
24362
24363 2011-05-18 Glenn Morris <rgm@gnu.org>
24364
24365 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24366 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24367
24368 Rationalize calendar handling of day and month abbrev-arrays.
24369 * calendar/calendar.el (calendar-customized-p): New function.
24370 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24371 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24372 Add :set function.
24373 (calendar-abbrev-length, calendar-day-abbrev-array)
24374 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24375 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24376 Elements may no longer be nil.
24377 (calendar-day-name, calendar-month-name):
24378 Update for changed nature of abbrev arrays.
24379 * calendar/diary-lib.el (diary-name-pattern):
24380 Update for changed nature of abbrev arrays.
24381 (diary-mark-entries-1): Update calendar-make-alist calls.
24382 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24383 * calendar/cal-html.el (cal-html-day-abbrev-array):
24384 Simply inherit from calendar-day-abbrev-array.
24385
24386 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24387
24388 * progmodes/grep.el (grep-mode): Disable default
24389 compilation-directory-matcher setting (bug#8684).
24390
24391 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24392
24393 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24394 instead of "head" and "tail". There were problems with SunOS 5.9,
24395 and it performs better.
24396
24397 2011-05-17 Glenn Morris <rgm@gnu.org>
24398
24399 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24400
24401 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24402 Replace obsolete function.
24403
24404 * shell.el (pcomplete-parse-arguments-function): Declare.
24405
24406 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24407 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24408 (appt-check): Doc fixes.
24409 (appt-disp-window-function, appt-delete-window-function):
24410 Remove needless special case in custom :type.
24411 (appt-display-count): Default to 0, not nil.
24412 (appt-check): Reset appt-display-count to 0, not nil.
24413
24414 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24415
24416 * progmodes/python.el (python-font-lock-keywords):
24417 Add the Python 3.X keyword "nonlocal" (bug#8639).
24418
24419 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24420
24421 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24422
24423 2011-05-16 Kevin Ryde <user42@zip.com.au>
24424
24425 * info-look.el (makefile-automake-mode): New setups, looking in
24426 automake manual, then makefile-mode.
24427 (makefile-mode): Remove automake manual, have it just in
24428 makefile-automake-mode since there's various things different or
24429 not relevant to plain make.
24430 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24431 believe a hypothetical automake-mode would go to makefile-mode,
24432 not the other way around.
24433
24434 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24435
24436 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24437 hunk-end tags (Bug#8672).
24438
24439 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24440 vc-annotate-show-diff-revision-at-line (Bug#8671).
24441
24442 2011-05-14 Glenn Morris <rgm@gnu.org>
24443
24444 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24445 in the middle of an existing one with multiple authors. (Bug#8645)
24446 (change-log-font-lock-keywords): Also handle multiple author lines
24447 with leading tabs. (Bug#8644)
24448
24449 * calendar/appt.el (appt-check): Rename some local variables.
24450 Some simplification/reordering.
24451
24452 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24453 (feedmail-sendmail-f-doesnt-sell-me-out)
24454 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24455 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24456 (feedmail-queue-runner-message-sender): Set :version.
24457 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24458 (bbdb-dwim-net-address, vm-mail): Declare.
24459 (feedmail-binmail-gnulinuxish-template):
24460 Rename from feedmail-binmail-linuxish-template.
24461 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24462 Use insert-buffer-substring.
24463
24464 2011-05-14 Bill Carpenter <bill@carpenter.org>
24465
24466 * mail/feedmail.el (feedmail-patch-level): Increase.
24467 (feedmail-debug): New custom group.
24468 (feedmail-confirm-outgoing-timeout)
24469 (feedmail-sendmail-f-doesnt-sell-me-out)
24470 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24471 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24472 (feedmail-sender-line, feedmail-from-line)
24473 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24474 (feedmail-spray-this-address)
24475 (feedmail-spray-address-fiddle-plex-list)
24476 (feedmail-queue-use-send-time-for-date)
24477 (feedmail-queue-use-send-time-for-message-id)
24478 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24479 (feedmail-buffer-eating-function):
24480 Doc fixes.
24481 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24482 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24483 (feedmail-message-action-scroll-down): New functions.
24484 (feedmail-queue-directory, feedmail-queue-draft-directory):
24485 Use expand-file-name.
24486 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24487 Remove C-v help entry.
24488 (feedmail-queue-buffer-file-name): New variable.
24489 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24490 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24491 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24492 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24493 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24494 (feedmail-message-action-toggle-spray)
24495 (feedmail-run-the-queue-no-prompts)
24496 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24497 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24498 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24499 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24500 (feedmail-envelope-deducer, feedmail-fiddle-from)
24501 (feedmail-fiddle-sender, feedmail-default-date-generator)
24502 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24503 (feedmail-fiddle-spray-address)
24504 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24505 (feedmail-fiddle-list-of-fiddle-plexes)
24506 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24507 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24508 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24509 Change default. Doc fix.
24510 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24511 (feedmail-binmail-linuxish-template): New constant.
24512 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24513 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24514 (feedmail-send-it): Add debug call.
24515 Use feedmail-queue-buffer-file-name, and
24516 feedmail-send-it-immediately-wrapper.
24517 (feedmail-message-action-send): Add debug call.
24518 Use feedmail-send-it-immediately-wrapper.
24519 (feedmail-queue-express-to-queue): Add debug call.
24520 Run feedmail-queue-express-hook.
24521 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24522 (feedmail-message-action-help-blat):
24523 Rename from feedmail-queue-send-edit-prompt-help-first.
24524 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24525 Check line-endings. Handle errors better.
24526 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24527 Doc fix. Add debug call.
24528 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24529 Use feedmail-queue-send-edit-prompt-inner.
24530 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24531 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24532 from feedmail-queue-send-edit-prompt.
24533 (feedmail-queue-send-edit-prompt-help)
24534 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24535 (feedmail-tidy-up-slug): Add debug call.
24536 Respect feedmail-queue-slug-suspect-regexp.
24537 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24538 (feedmail-dump-message-to-queue): Add debug call.
24539 Expand queue-directory.
24540 (feedmail-dump-message-to-queue): Change message slightly.
24541 Use feedmail-say-chatter.
24542 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24543 (feedmail-send-it-immediately-wrapper): New function.
24544 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24545 Insert empty string rather than newline. Handle full-frame case.
24546 Use catch/throw. Use feedmail-say-chatter.
24547 (feedmail-fiddle-from): Try mail-host-address.
24548 (feedmail-default-message-id-generator): Doc fix.
24549 Bind system-time-locale. Handle missing end.
24550 (feedmail-fiddle-x-mailer): Add debug call.
24551 Handle feedmail-x-mailer-line being nil.
24552 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24553 Add debug call. Use buffer-substring-no-properties.
24554 (feedmail-say-debug, feedmail-say-chatter): New functions.
24555 (feedmail-find-eoh): Give an explicit error.
24556
24557 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24558
24559 * net/newst-treeview.el (newsticker-treeview-face): Change default
24560 family from helvetica to sans.
24561 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24562 etc/images/newsticker.
24563
24564 * net/newst-reader.el (newsticker-feed-face): Change default
24565 family from helvetica to sans.
24566
24567 * net/newst-plainview.el (newsticker-new-item-face)
24568 (newsticker-old-item-face, newsticker-immortal-item-face)
24569 (newsticker-obsolete-item-face, newsticker-date-face)
24570 (newsticker-statistics-face): Change default family from
24571 helvetica to sans.
24572 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24573 etc/images/newsticker.
24574
24575 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24576 (newsticker--process-auto-mark-filter-match): Tell user about
24577 auto-marking.
24578
24579 2011-05-13 Didier Verna <didier@xemacs.org>
24580
24581 Common Lisp indentation improvements on defmethod and lambda-lists.
24582 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24583 TODO entries.
24584 (lisp-lambda-list-keyword-parameter-indentation)
24585 (lisp-lambda-list-keyword-parameter-alignment)
24586 (lisp-lambda-list-keyword-alignment): New customizable user options.
24587 (lisp-indent-defun-method): Improve docstring.
24588 (extended-loop-p): Fix comment.
24589 (lisp-indent-lambda-list-keywords-regexp): New variable.
24590 (lisp-indent-lambda-list): New function.
24591 (lisp-indent-259): Use it.
24592 (lisp-indent-defmethod): Support for more than one
24593 method qualifier and properly indent methods lambda-lists.
24594 (defgeneric): Provide a missing common-lisp-indent-function property.
24595
24596 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24597
24598 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24599 bounds for the empty string (bug#8667).
24600
24601 2011-05-13 Glenn Morris <rgm@gnu.org>
24602
24603 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24604
24605 * mail/sendmail.el (sendmail-program): Try executable-find first.
24606 (sendmail-send-it): `sendmail-program' cannot be unbound.
24607
24608 * calendar/appt.el (appt-make-list): Simplify.
24609 (appt-time-msg-list): Doc fix.
24610 (appt-check): Change mode-line message at the time of the appointment.
24611
24612 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24613
24614 * progmodes/ld-script.el (ld-script-keywords)
24615 (ld-script-builtins): Update keywords list.
24616
24617 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24618
24619 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24620
24621 * shell.el (shell-completion-vars): New function.
24622 (shell-mode):
24623 * simple.el (read-shell-command): Use it.
24624 (blink-matching-open): No need for " [...]" in minibuffer-message.
24625
24626 2011-05-12 Glenn Morris <rgm@gnu.org>
24627
24628 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24629 (appt-check): Simplify.
24630
24631 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24632
24633 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24634 literal "/dev/null".
24635
24636 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24637
24638 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24639 Fix typo.
24640
24641 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24642
24643 * progmodes/which-func.el (which-function):
24644 Use add-log-current-defun instead of add-log-current-defun-function,
24645 which might not be defined (Bug#8260).
24646
24647 2011-05-12 Glenn Morris <rgm@gnu.org>
24648
24649 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24650 Let byte-compile-initial-macro-environment always take precedence.
24651
24652 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24653
24654 * net/rcirc.el: Add support for SSL/TLS connections.
24655 (rcirc-server-alist): New field `encryption'.
24656 (rcirc): Check `encryption' settings.
24657 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24658 Merge make-local-variable into `set'.
24659 (rcirc--connection-open-p): New function.
24660 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24661 the process is not a network process (e.g. running gnutls-cli).
24662 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24663 Make rcirc-(en|de)code-coding-system local here.
24664 (rcirc-mode): Merge make-local-variable into `set'.
24665 (rcirc-parent-buffer): Make permanent buffer-local.
24666 (rcirc-multiline-minor-mode): Don't do it here.
24667 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24668 there's no server buffer.
24669
24670 2011-05-11 Glenn Morris <rgm@gnu.org>
24671
24672 * newcomment.el (comment-kill): Prefix "unused" local.
24673
24674 * term/w32console.el (get-screen-color): Declare.
24675
24676 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24677 Handle symbol elements of byte-compile-initial-macro-environment.
24678
24679 2011-05-10 Leo Liu <sdl.web@gmail.com>
24680
24681 * bookmark.el (bookmark-bmenu-mode-map):
24682 Bind bookmark-bmenu-search to `/'.
24683
24684 * mail/footnote.el: Convert to utf-8 encoding.
24685 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24686 (Footnote-unicode): New function.
24687 (footnote-style-alist): Add unicode style to the list.
24688 (footnote-style): Doc fix.
24689
24690 2011-05-10 Jim Meyering <meyering@redhat.com>
24691
24692 Fix doubled-word typos.
24693 * international/quail.el (quail-insert-kbd-layout): and and -> and
24694 * kermit.el: and and -> and
24695 * net/ldap.el (ldap-search-internal): to to -> to
24696 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24697 * progmodes/js.el (js-mode): and and -> and
24698 * textmodes/artist.el (artist-move-to-xy): at at -> at
24699 (artist-draw-region-trim-line-endings): if if -> if
24700 And Safetyc -> Safety.
24701 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24702
24703 2011-05-10 Glenn Morris <rgm@gnu.org>
24704 Stefan Monnier <monnier@iro.umontreal.ca>
24705
24706 * files.el (hack-one-local-variable-eval-safep):
24707 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24708
24709 2011-05-10 Glenn Morris <rgm@gnu.org>
24710
24711 * calendar/diary-lib.el (diary-list-entries-hook)
24712 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24713 (diary-nongregorian-marking-hook, diary-list-entries)
24714 (diary-include-other-diary-files, diary-mark-entries)
24715 (diary-mark-included-diary-files): Doc fixes.
24716
24717 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24718
24719 * misc.el: Require tabulated-list.el during compilation.
24720
24721 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24722
24723 * progmodes/compile.el (compilation-start):
24724 Run compilation-filter-hook for the async case too.
24725 (compilation-filter-hook): Doc fix.
24726
24727 2011-05-09 Deniz Dogan <deniz@dogan.se>
24728
24729 * wdired.el: Remove outdated installation comment. Fix usage
24730 comment.
24731
24732 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24733
24734 * misc.el: Implement new command `list-dynamic-libraries'.
24735 (list-dynamic-libraries--loaded-only-p): New variable.
24736 (list-dynamic-libraries--refresh): New function.
24737 (list-dynamic-libraries): New command.
24738
24739 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24740
24741 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24742 Fix the ant regexp to handle end-line and end-column info from jikes.
24743 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24744 higher priority to avoid clobbering by gnu.
24745
24746 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24747
24748 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24749 if the face has existing theme settings (Bug#8454).
24750
24751 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24752
24753 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24754 Only match variables declared via `my' or `our' (Bug#8261).
24755
24756 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24757 special file names `.' and `..' (Bug#8259).
24758
24759 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24760
24761 * progmodes/grep.el (grep-mode-font-lock-keywords):
24762 Remove buffer-changing entries.
24763 (grep-filter): New function.
24764 (grep-mode): Add it to compilation-filter-hook.
24765
24766 * progmodes/compile.el (compilation-filter-hook)
24767 (compilation-filter-start): New defvars.
24768 (compilation-filter): Call compilation-filter-hook prior to
24769 updating the process mark.
24770
24771 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24772
24773 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24774
24775 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24776
24777 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24778 mailclient-send-it even if window-system is nil. (Bug#8595)
24779
24780 * term/w32console.el (terminal-init-w32console):
24781 Call get-screen-color and use its output to set the frame
24782 background-mode. (Bug#8597)
24783
24784 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24785
24786 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24787 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24788 New functions.
24789 (defgeneric, eieio--defmethod): Use them.
24790 (eieio-defgeneric): Remove.
24791 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24792
24793 2011-05-07 Glenn Morris <rgm@gnu.org>
24794
24795 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24796 Use let rather than let*.
24797 (timeclock-find-discrep): Remove unused local.
24798
24799 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24800
24801 * calendar/appt.el (appt-time-msg-list): Doc fix.
24802
24803 2011-05-06 Noah Friedman <friedman@splode.com>
24804
24805 * apropos.el (apropos-print-doc): Only use
24806 emacs-lisp-docstring-fill-column when it is bound to an integer,
24807 per that variable's documentation.
24808
24809 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24810
24811 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24812 and warnings are not silently discarded (e.g. use -d instead of -P).
24813
24814 2011-05-06 Glenn Morris <rgm@gnu.org>
24815
24816 * calendar/appt.el (appt-message-warning-time): Doc fix.
24817 (appt-warning-time-regexp): New option.
24818 (appt-make-list): Respect appt-message-warning-time.
24819
24820 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24821 New options.
24822 (diary-add-to-list): Strip comments from the displayed string.
24823 (diary-mode): Set comment-start and comment-end.
24824
24825 * vc/diff-mode.el (smerge-refine-subst): Declare.
24826 (diff-refine-hunk): Don't require smerge-mode when compiling.
24827
24828 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24829
24830 * simple.el (list-processes): Return nil as the docstring says.
24831
24832 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24833
24834 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24835 to "".
24836 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24837 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24838 determining of binary transfer. (Bug#7383)
24839
24840 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24841
24842 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24843 Fix port computation bug. (Bug#8618)
24844
24845 2011-05-05 Glenn Morris <rgm@gnu.org>
24846
24847 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24848
24849 * simple.el (shell-dynamic-complete-functions)
24850 (comint-dynamic-complete-functions): Declare.
24851
24852 * net/network-stream.el (gnutls-negotiate):
24853 * simple.el (tabulated-list-print): Fix declarations.
24854
24855 * progmodes/gud.el (syntax-symbol, syntax-point):
24856 Remove unnecessary and incorrect declarations.
24857
24858 * emacs-lisp/check-declare.el (check-declare-scan):
24859 Handle byte-compile-initial-macro-environment in bytecomp.el.
24860
24861 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24862
24863 Fix earlier half-done eieio-defmethod change (bug#8338).
24864 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24865 Streamline and change calling convention.
24866 (defmethod): Adjust accordingly and simplify.
24867 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24868 new eieio--defmethod.
24869 (slot-boundp): Minor CSE simplification.
24870
24871 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24872
24873 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24874 (glasses-make-readable): Use glasses-separate-capital-groups.
24875
24876 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24877
24878 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24879 (warning-series): Doc fix.
24880 (display-warning): Don't try to create the buffer if we just found it.
24881
24882 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24883
24884 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24885 (autoload-find-generated-file): New function.
24886 (generate-file-autoloads): Bind generated-autoload-file to
24887 buffer-file-name.
24888 (update-file-autoloads, update-directory-autoloads):
24889 Use autoload-find-generated-file. If called interactively, prompt for
24890 output file (Bug#7989).
24891 (batch-update-autoloads): Doc fix.
24892
24893 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24894
24895 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24896
24897 2011-05-04 Glenn Morris <rgm@gnu.org>
24898
24899 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24900 function, so it follows changes in calendar-date-style.
24901 (diary-fancy-date-matcher): New function.
24902 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24903 (diary-fancy-font-lock-fontify-region-function):
24904 Use diary-fancy-date-pattern as a function.
24905
24906 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24907 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24908
24909 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24910
24911 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24912 instead of positional arguments. Allow :keylist and :crlfiles
24913 arguments.
24914 (open-gnutls-stream): Call it.
24915
24916 * net/network-stream.el (network-stream-open-starttls): Adjust to
24917 call `gnutls-negotiate' with :process and :hostname arguments.
24918
24919 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24920
24921 * minibuffer.el (completion--message): New function.
24922 (completion--do-completion, minibuffer-complete)
24923 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24924 (completion--do-completion): Don't ignore completion-auto-help when in
24925 icomplete-mode.
24926
24927 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24928 internal encoding (e.g. tibetan zero is not whitespace).
24929 (global-whitespace-mode): Prefer save-current-buffer.
24930 (whitespace-trailing-regexp): Remove useless save-match-data.
24931 (whitespace-empty-at-bob-regexp): Minor simplification.
24932
24933 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24934
24935 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24936
24937 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24938
24939 * textmodes/ispell.el (ispell-add-per-file-word-list):
24940 Use `concat' to create string for insertion.
24941
24942 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24943
24944 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24945 Avoid open-line which runs post-self-insert-hook.
24946 (bibtex-fill-entry): Remove unused `end' var.
24947
24948 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24949
24950 * textmodes/ispell.el (ispell-add-per-file-word-list):
24951 Protect against `nil' value of `comment-start' (Bug#8579).
24952
24953 2011-05-03 Leo Liu <sdl.web@gmail.com>
24954
24955 * isearch.el (isearch-yank-pop): New command.
24956 (isearch-mode-map): Bind it to `M-y'.
24957 (isearch-forward): Mention it.
24958
24959 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24960
24961 * simple.el (minibuffer-complete-shell-command): Remove.
24962 (minibuffer-local-shell-command-map): Use completion-at-point.
24963 (read-shell-command): Setup completion vars here instead.
24964 (read-expression-map): Bind TAB to symbol completion.
24965
24966 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24967 error directly rather via storing it into `results'.
24968
24969 2011-05-02 Leo Liu <sdl.web@gmail.com>
24970
24971 * vc/diff.el: Fix description.
24972
24973 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24974
24975 * server.el (server-eval-at): New function.
24976
24977 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24978
24979 * net/network-stream.el (open-network-stream): Take a :nowait
24980 parameter and pass it on to `make-network-process'.
24981 (network-stream-open-plain): Ditto.
24982
24983 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24984
24985 * faces.el (face-spec-set-match-display): Don't match toolkit
24986 options on terminal frames.
24987
24988 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24989
24990 * progmodes/pascal.el: Use lexical binding.
24991 (pascal-mode-map): Remove author preferences.
24992
24993 * pcomplete.el (pcomplete-std-complete): Don't abuse
24994 completion-at-point.
24995
24996 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24997
24998 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24999 removing code that has been dead since 1991 or so.
25000
25001 * startup.el (command-line): When warning about "_emacs", use a
25002 delayed warning to allow the user to filter it out.
25003
25004 2011-04-28 Deniz Dogan <deniz@dogan.se>
25005
25006 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25007 user has not joined.
25008
25009 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25010
25011 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25012 aren't any completions at point.
25013
25014 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25015
25016 * subr.el (display-delayed-warnings): New function.
25017 (delayed-warnings-hook): New variable.
25018
25019 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25020
25021 * minibuffer.el (completion-at-point, completion-help-at-point):
25022 Don't presume that a given completion-at-point-function will always
25023 use the same calling convention.
25024
25025 * pcomplete.el (pcomplete-completions-at-point):
25026 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25027 pcomplete-seen is non-nil.
25028 (pcomplete-comint-setup): Also recognize the new comint/shell
25029 completion functions.
25030 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25031 pcomplete-seen is non-nil.
25032
25033 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25034
25035 * calendar/icalendar.el (diary-lib): Add require statement.
25036 (icalendar--create-uid): Read out a uid from a text-property on
25037 the first character in the entry. This allows for code to add its
25038 own uid to the entry.
25039 (icalendar--convert-float-to-ical): Add export of
25040 `diary-float'-entries save for those with the optional DAY
25041 argument.
25042
25043 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25044
25045 * subr.el (shell-quote-argument): Use alternate escaping strategy
25046 when we spot a variable reference in a string.
25047
25048 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25049
25050 * cus-start.el (all): Define customization for debug-on-event.
25051
25052 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25053
25054 * subr.el (shell-quote-argument): Escape correctly under Windows.
25055
25056 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25057
25058 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25059
25060 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25061
25062 * net/tramp.el (tramp-process-actions): Add POS argument.
25063 Delete region between POS and (pos).
25064
25065 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25066 Use `nil' position in `tramp-process-actions' call.
25067 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25068
25069 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25070 position in `tramp-process-actions' call.
25071
25072 * net/trampver.el: Update release number.
25073
25074 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25075
25076 * custom.el (defcustom): Obey lexical-binding.
25077
25078 Fix octave-inf completion problems reported by Alexander Klimov.
25079 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25080 Inherit from octave-mode-syntax-table.
25081 (inferior-octave-mode): Set info-lookup-mode.
25082 (inferior-octave-completion-at-point): New function.
25083 (inferior-octave-complete): Use it and completion-in-region.
25084 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25085 comint-filename-completion.
25086 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25087 symbol elements which shouldn't be word elements.
25088 (octave-font-lock-keywords, octave-beginning-of-defun)
25089 (octave-function-header-regexp): Adjust regexps accordingly.
25090 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25091
25092 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25093
25094 * net/gnutls.el (gnutls-errorp): Declare before first use.
25095
25096 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25097
25098 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25099 verify-error, and verify-hostname-error parameters. Check whether
25100 default trustfile exists before going to use it. Add missing
25101 argument to gnutls-message-maybe call. Return value.
25102 Reported by Claudio Bley <claudio.bley@gmail.com>.
25103 (open-gnutls-stream): Add usage example.
25104
25105 * net/network-stream.el (network-stream-open-starttls): Give host
25106 parameter to `gnutls-negotiate'.
25107 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25108 * subr.el (shell-quote-argument): Escape correctly under Windows.
25109
25110 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25111
25112 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25113 Use correct match group (bug#8438).
25114
25115 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25116
25117 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25118 (package-menu--generate): New arg specifying packages to show.
25119 (package-menu-refresh, package-menu-execute, list-packages):
25120 Callers changed.
25121 (package-show-package-list): New function, replacing deleted
25122 package--list-packages (renamed because it is non-internal).
25123
25124 * finder.el (finder-list-matches): Use package-show-package-list
25125 instead of deleted package--list-packages.
25126
25127 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25128 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25129 (vc-annotate-mode-map): Bind it to RET.
25130
25131 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25132
25133 * progmodes/etags.el (next-file): Don't use set-buffer to change
25134 buffers (Bug#8478).
25135
25136 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25137
25138 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25139
25140 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25141 (apropos-accumulator): Doc fix.
25142 (apropos-function, apropos-macro, apropos-command)
25143 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25144 (apropos-plist): Add face property.
25145 (apropos-symbols-internal): Fix indentation.
25146 (apropos-print): Simplify help, and recognize apropos-multi-type.
25147 (apropos-print-doc): Use button-type-get to extract the button's
25148 face property. Fill docstring (Bug#8352).
25149
25150 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25151
25152 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25153
25154 * play/mpuz.el (mpuz-silent): Doc fix.
25155 (mpuz-mode-map): Use mapc.
25156 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25157 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25158 Fix typos in docstrings.
25159
25160 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25161 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25162
25163 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25164
25165 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25166
25167 * minibuffer.el (completion--do-completion): Avoid the "Next char
25168 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25169
25170 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25171 mouse-2 into unread-command-events, it is interpreted correctly.
25172
25173 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25174 (image-toggle-display): Doc fix.
25175
25176 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25177
25178 * textmodes/page.el (what-page): Use line-number-at-pos to
25179 calculate line number (Bug#6825).
25180
25181 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25182
25183 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25184 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25185 Pass argument NO-DEFAULT to `find-tag-interactive'.
25186
25187 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25188
25189 Lexical-binding cleanup.
25190
25191 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25192 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25193 * progmodes/ada-prj.el (ada-prj-initialize-values)
25194 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25195 (ada-prj-show-value):
25196 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25197 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25198 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25199 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25200 * progmodes/bug-reference.el (bug-reference-push-button):
25201 * progmodes/fortran.el (fortran-line-length):
25202 * progmodes/glasses.el (glasses-change):
25203 * progmodes/octave-mod.el (octave-fill-paragraph):
25204 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25205 (python-pdbtrack-grub-for-buffer, python-sentinel):
25206 * progmodes/sql.el (sql-save-connection):
25207 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25208 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25209 Mark unused parameters.
25210
25211 * progmodes/compile.el (compilation--flush-directory-cache)
25212 (compilation--flush-parse, compile-internal): Mark unused parameters.
25213 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25214 (compilation-next-error-function): Remove unused variable `timestamp'.
25215
25216 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25217 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25218
25219 * progmodes/dcl-mode.el (dcl-end-of-command):
25220 Remove unused variable `start'.
25221 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25222 (dcl-option-value-basic, dcl-option-value-offset)
25223 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25224 Mark unused parameters.
25225 (dcl-save-local-variable): Remove unused variable `val'.
25226 (mode): Declare.
25227
25228 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25229 Mark unused parameters.
25230 (delphi-ignore-changes): Move before first use.
25231 (delphi-charset-token-at): Remove unused variable `start'.
25232 (delphi-else-start): Remove unused variable `if-count'.
25233 (delphi-comment-block-start, delphi-comment-block-end):
25234 Remove unused variable `kind'.
25235 (delphi-indent-line): Remove unused variable `new-point'.
25236
25237 * progmodes/ebrowse.el (ebrowse-files-list)
25238 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25239 Mark unused parameters. Don't quote `lambda'.
25240 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25241 Don't quote `lambda'.
25242 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25243 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25244 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25245 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25246 Use `ignore-errors'.
25247 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25248 (ebrowse-view/find-file-and-search-pattern)
25249 (ebrowse-view/find-member-declaration/definition):
25250 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25251 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25252 Rename parameter PREFIX-ARG to PREFIX.
25253 (ebrowse-tags-read-name): Remove unused variables `start' and
25254 `member-info'.
25255 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25256 to `tags-file'.
25257
25258 * progmodes/etags.el (local-find-tag-hook): Declare.
25259 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25260 Mark unused parameters.
25261
25262 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25263 (executable-interpret): Mark unused parameter.
25264
25265 * progmodes/flymake.el (flymake-process-sentinel)
25266 (flymake-after-change-function)
25267 (flymake-create-temp-with-folder-structure)
25268 (flymake-get-include-dirs-dot): Mark unused parameters.
25269 (flymake-safe-delete-directory): Remove unused variable `err'.
25270
25271 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25272 (speedbar-timer-fn, speedbar-line-text)
25273 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25274 (speedbar-center-buffer-smartly): Declare functions.
25275 (gdb-find-watch-expression): Remove unused variable `array'.
25276 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25277 (gdb-starting): Mark unused parameters.
25278 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25279 (gdb-table-string): Remove unused variable `res'.
25280 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25281 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25282 (gdb-display-buffer): Remove unused variable `cur-size'.
25283
25284 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25285 allow lexical-binding compilation.
25286 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25287 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25288 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25289 Mark unused parameters.
25290 (gud-gdb-marker-filter): Remove unused variable `match'.
25291 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25292 lambda expressions and funcall them, instead of using `fset'.
25293
25294 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25295 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25296
25297 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25298 variable `header-beg'; use `let'.
25299
25300 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25301 `restart', `last-sexp' and `at-do'.
25302
25303 * progmodes/js.el (js--debug): Mark unused parameter.
25304 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25305 (js--splice-into-items): Remove unused variable `item'.
25306 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25307
25308 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25309 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25310 (makefile-complete): Remove unused variable `try'.
25311 (makefile-fill-paragraph, makefile-match-function-end):
25312 Mark unused parameters.
25313
25314 * progmodes/octave-inf.el (inferior-octave-complete):
25315 Remove unused variable `proc'.
25316 (inferior-octave-output-digest): Mark unused parameter.
25317
25318 * progmodes/perl-mode.el (perl-calculate-indent):
25319 Remove unused variable `err'.
25320
25321 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25322 (prolog-indent-line): Mark unused parameters.
25323 (prolog-indent-line): Remove unused variable `beg'.
25324
25325 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25326 (reporter-dont-compact-list): Declare.
25327
25328 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25329 Remove unused variable `char'.
25330 (sh-debug): Mark unused parameter.
25331 (sh-get-indent-info): Remove unused variable `start'.
25332 (sh-calculate-indent): Remove unused variable `var'.
25333
25334 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25335 (simula-electric-keyword): Remove unused variable `null'.
25336 (simula-search-backward, simula-search-forward): Remove unused
25337 variables `begin' and `end'.
25338
25339 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25340 Remove unused variable `pos'.
25341 (vera-electric-tab, vera-comment-uncomment-region):
25342 Mark unused parameters.
25343 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25344
25345 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25346
25347 * emacs-lisp/package.el (package--builtins, package-alist)
25348 (package-load-descriptor, package-built-in-p, package-activate)
25349 (define-package, package-installed-p)
25350 (package-compute-transaction, package-buffer-info)
25351 (package--push): Doc fix. Distinguish more clearly between
25352 version strings and version lists.
25353
25354 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25355
25356 Lexical-binding cleanup.
25357
25358 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25359 (5x5-make-mutate-best):
25360 * play/fortune.el (fortune-in-buffer):
25361 * play/gomoku.el (gomoku-init-display):
25362 * play/solitaire.el (solitaire, solitaire-do-check):
25363 * play/tetris.el (tetris-default-update-speed-function):
25364 Mark unused parameters.
25365
25366 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25367 (bubbles--shift): Remove unused variable `char-org'.
25368 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25369 (bubbles--show-images): Remove unused variable `char'.
25370
25371 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25372 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25373 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25374 (decipher-analyze-buffer): Use ?\s.
25375 (decipher-make-checkpoint): Remove unused variable `mapping'.
25376
25377 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25378
25379 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25380 Remove unused variable `result'; use `let'.
25381
25382 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25383 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25384 (gametree-children-shown-p, gametree-compute-reduced-score):
25385 Use `ignore-errors'.
25386
25387 * play/handwrite.el (ps-lpr-switches): Declare.
25388 (handwrite): Remove unused variables `pmin' and `lastp'.
25389
25390 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25391
25392 * play/landmark.el (landmark-init-display)
25393 (landmark-update-naught-weights): Mark unused parameters.
25394 (landmark-y): Remove unused variable `noise'. Simplify.
25395 (landmark-human-plays): Remove unused variable `score'.
25396
25397 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25398 (mpuz-try-proposal): Remove unused variable `game'.
25399
25400 * play/zone.el (life-patterns): Declare.
25401
25402 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25403
25404 * vc/vc.el (ediff-vc-internal): Declare function.
25405
25406 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25407
25408 * shell.el: Use lexical-binding and std completion UI.
25409 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25410 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25411 comint-preoutput-filter-functions rather than on
25412 comint-output-filter-functions.
25413 (shell-command-completion, shell--command-completion-data)
25414 (shell-filename-completion, shell-environment-variable-completion)
25415 (shell-c-a-p-replace-by-expanded-directory): New functions.
25416 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25417 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25418 (shell-dynamic-complete-environment-variable): Use them.
25419 (shell-dynamic-complete-as-environment-variable)
25420 (shell-dynamic-complete-as-command): Remove.
25421 (shell-match-partial-variable): Match past point.
25422 * comint.el: Clean up use of completion-at-point-functions.
25423 (comint-completion-at-point): New function.
25424 (comint-mode): Use it completion-at-point-functions.
25425 (comint-dynamic-complete): Make it obsolete.
25426 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25427 (comint-c-a-p-replace-by-expanded-history): New function.
25428 (comint-dynamic-complete-functions)
25429 (comint-replace-by-expanded-history): Use it.
25430 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25431 termination strings. Try harder to avoid second try-completion.
25432 (completion-in-region-mode-map): Disable bindings that don't work yet.
25433
25434 * comint.el: Use lexical-binding. Require CL.
25435 (comint-dynamic-complete-functions): Use comint-filename-completion.
25436 (comint-completion-addsuffix): Tweak custom type.
25437 (comint-filename-completion, comint--common-suffix)
25438 (comint--common-quoted-suffix, comint--table-subvert)
25439 (comint--complete-file-name-data): New functions.
25440 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25441 (comint-dynamic-list-filename-completions): Use them.
25442 (comint-dynamic-simple-complete): Make obsolete.
25443
25444 * minibuffer.el (completion-in-region-mode):
25445 Keep completion-in-region-mode--predicate global.
25446 (completion-in-region--postch):
25447 Assume completion-in-region-mode--predicate is not null.
25448
25449 * progmodes/flymake.el (flymake-start-syntax-check-process):
25450 Obey `dir'. Simplify.
25451
25452 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25453 we're in VC after all.
25454
25455 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25456
25457 * vc/vc.el (vc-diff-build-argument-list-internal)
25458 (vc-version-ediff, vc-ediff): New commands.
25459 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25460
25461 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25462
25463 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25464 add sanity check.
25465
25466 * obsolete/erc-hecomplete.el: Make obsolete.
25467 * obsolete/: Standardize obsolescence info in the header.
25468
25469 2011-04-20 Glenn Morris <rgm@gnu.org>
25470
25471 * calendar/solar.el (solar-horizontal-coordinates):
25472 Use the longitude argument rather than `calendar-longitude'.
25473 (solar-date-next-longitude): Remove unused locals.
25474
25475 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25476
25477 * whitespace.el: New version 13.2.1.
25478
25479 2011-04-20 felix <EmacsWiki> (tiny change)
25480
25481 * whitespace.el (global-whitespace-mode): Keep highlight when
25482 switching between major modes on a file.
25483
25484 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25485
25486 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25487 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25488 multi-line comments as well.
25489
25490 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25491
25492 Lexical-binding cleanup.
25493
25494 * arc-mode.el (archive-mode-revert):
25495 * cmuscheme.el (scheme-interactively-start-process):
25496 * custom.el (custom-initialize-delay):
25497 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25498 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25499 * emacs-lock.el (emacs-lock-clear-sentinel):
25500 * ezimage.el (defezimage):
25501 * follow.el (follow-avoid-tail-recenter):
25502 * fringe.el (set-fringe-mode-1):
25503 * generic-x.el (bat-generic-mode-compile):
25504 * help-mode.el (help-info-variable, help-do-xref)
25505 (help-mode-revert-buffer):
25506 * help.el (view-emacs-todo):
25507 * iswitchb.el (iswitchb-completion-help):
25508 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25509 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25510 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25511 * locate.el (locate-update):
25512 * longlines.el (longlines-encode-region)
25513 (longlines-after-change-function):
25514 * outline.el (outline-isearch-open-invisible):
25515 * ps-def.el (declare-function, charset-dimension, char-width)
25516 (encode-char):
25517 * ps-mule.el (ps-mule-plot-string):
25518 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25519 (recentf-edit-list-select, recentf-edit-list-validate)
25520 (recentf-open-files-action):
25521 * rect.el (delete-whitespace-rectangle-line)
25522 (rectangle-number-line-callback):
25523 * register.el (window-configuration-to-register)
25524 (frame-configuration-to-register):
25525 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25526 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25527 (xselect-convert-to-targets, xselect-convert-to-delete)
25528 (xselect-convert-to-filename, xselect-convert-to-charpos)
25529 (xselect-convert-to-lineno, xselect-convert-to-colno)
25530 (xselect-convert-to-os, xselect-convert-to-host)
25531 (xselect-convert-to-user, xselect-convert-to-class)
25532 (xselect-convert-to-name, xselect-convert-to-integer)
25533 (xselect-convert-to-atom, xselect-convert-to-identity):
25534 * subr.el (declare, ignore, process-kill-without-query)
25535 (text-clone-maintain):
25536 * terminal.el (te-get-char, te-tic-sentinel):
25537 * tool-bar.el (tool-bar-make-keymap):
25538 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25539 * type-break.el (type-break-mode, type-break-noninteractive-query):
25540 * view.el (View-back-to-mark):
25541 * wid-browse.el (widget-browse-action, widget-browse-widget)
25542 (widget-browse-widgets, widget-browse-sexp):
25543 * widget.el (define-widget-keywords):
25544 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25545 Mark unused parameters.
25546
25547 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25548 (align-areas): Remove unused variable `look'.
25549 (align-region): Remove unused variables `real-end' and `pos-list'.
25550
25551 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25552
25553 * bindings.el (mode-line-modified, mode-line-remote):
25554 Mark unused parameters.
25555 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25556
25557 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25558 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25559
25560 * comint.el (comint-history-isearch-pop-state)
25561 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25562 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25563 (comint-substitute-in-file-name): Doc fix.
25564
25565 * completion.el (cmpl-statistics-block): Mark unused parameter.
25566 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25567 (save-completions-to-file, load-completions-from-file):
25568 Remove unused local variable `e'.
25569
25570 * composite.el (compose-chars): Remove unused variable `len'.
25571 (lgstring-insert-glyph): Remove unused variable `g'.
25572 (compose-glyph-string): Remove unused variables `ascent',
25573 `descent', `lbearing' and `rbearing'.
25574 (compose-glyph-string-relative): Remove unused variables
25575 `lbearing', `rbearing' and `wadjust'.
25576 (compose-gstring-for-graphic): Remove unused variables `header',
25577 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25578 (compose-gstring-for-terminal): Remove unused variables `header'
25579 and `nchars'. Use `let', not `let*'.
25580
25581 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25582 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25583 (Custom-buffer-done, custom-buffer-create-internal)
25584 (custom-browse-visibility-action, custom-browse-group-tag-action)
25585 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25586 (widget-magic-mouse-down-action, custom-toggle-parent)
25587 (custom-add-parent-links, custom-toggle-hide-variable)
25588 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25589 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25590 (custom-face-menu-create, custom-variable-menu-create, get)
25591 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25592 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25593 (customize-apropos): Remove unused variable `tests'.
25594 (custom-group-value-create): Remove unused variable `hidden-p'.
25595 (sort-fold-case): Declare.
25596
25597 * cus-theme.el (custom-reset-standard-faces-list)
25598 (custom-reset-standard-variables-list): Declare.
25599 (customize-create-theme, custom-theme-revert, custom-theme-write)
25600 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25601 Mark unused parameters.
25602
25603 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25604
25605 * delim-col.el (delimit-columns-max): Move defvar before first use.
25606
25607 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25608 (describe-char): Don't quote `lambda'. Mark unused parameter.
25609
25610 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25611 (auto-insert): Declare.
25612 (desktop-restore-file-buffer): Rename desktop-* parameters;
25613 mark unused ones.
25614 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25615 (desktop-buffer): Rename desktop-* parameters.
25616
25617 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25618 (dframe-reposition-frame-xemacs, dframe-help-echo)
25619 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25620 Mark unused parameters.
25621
25622 * dired-aux.el (backup-extract-version-start, overwrite-query)
25623 (overwrite-backup-query, rename-regexp-query)
25624 (rename-non-directory-query): Declare.
25625 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25626 (dired-add-entry): Remove unused variable `orig-file-name'.
25627 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25628 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25629 `dired-copy-preserve-time' directly.
25630 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25631 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25632
25633 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25634 (dired-virtual-revert, dired-make-relative-symlink):
25635 Mark unused parameters.
25636 (manual-program): Declare.
25637 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25638 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25639 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25640
25641 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25642
25643 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25644
25645 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25646 Declare.
25647
25648 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25649
25650 * electric.el (Electric-command-loop): Rename parameter
25651 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25652
25653 * expand.el (expand-in-literal): Remove unused variable `here'.
25654
25655 * facemenu.el (facemenu-add-new-color):
25656 Remove unused variable `docstring'.
25657
25658 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25659 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25660 (face-attr-construct): Mark unused parameter. Doc fix.
25661 (read-color): Remove unused variable `hex-string'.
25662
25663 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25664 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25665 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25666 (display-buffer-other-frame): Remove unused variable `old-window'.
25667 (kill-buffer-hook): Declare.
25668 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25669 Mark unused parameters.
25670 (after-find-file): Pass 1 to `auto-save-mode', not t.
25671
25672 * files-x.el (auto-insert): Declare.
25673 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25674
25675 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25676 variable `buf'. Mark unused parameter.
25677 (find-lisp-insert-directory): Mark unused parameter.
25678
25679 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25680 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25681 (format-common-tail): Remove, unused.
25682 (format-deannotate-region): Remove unused variable `loc'.
25683 (format-annotate-region): Remove unused variable `p'.
25684 (format-annotate-single-property-change): Remove unused variables
25685 `default' and `tail'.
25686
25687 * forms.el (read-file-filter): Declare.
25688 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25689
25690 * frame.el (frame-creation-function-alist): Mark unused parameter.
25691 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25692
25693 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25694 Remove unused parameters.
25695 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25696 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25697
25698 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25699 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25700 (hfy-prepare-tag-map): Mark unused parameters.
25701 (htmlfontify-buffer): Use `called-interactively-p'.
25702
25703 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25704 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25705 (ibuffer-do-occur): Mark unused parameters.
25706 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25707 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25708
25709 * ibuffer.el: Don't quote `lambda'.
25710 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25711 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25712 Mark unused parameters.
25713
25714 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25715 (ido-completing-read): Mark unused parameters.
25716 (ido-copy-current-word): Mark unused parameters;
25717 remove unused variable `name'.
25718 (ido-sort-merged-list): Remove unused parameter `dirs'.
25719
25720 * ielm.el (ielm-input-sender): Mark unused parameter.
25721 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25722 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25723 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25724 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25725 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25726
25727 * image-dired.el (image-dired-display-thumbs): Remove unused
25728 variables `curr-file' and `count'.
25729 (image-dired-remove-tag): Remove unused variable `start'.
25730 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25731 variable `curr-file'
25732 (image-dired-rotate-original): Remove unused variable `temp-file'.
25733 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25734 Remove unused variable `file'.
25735 (image-dired-gallery-generate): Remove unused variable `curr'.
25736 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25737
25738 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25739
25740 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25741
25742 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25743
25744 * isearch.el (minibuffer-history-symbol): Declare.
25745 (isearch-edit-string): Remove unused variable `err'.
25746 (isearch-message-prefix, isearch-message-suffix):
25747 Mark unused parameters.
25748
25749 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25750
25751 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25752
25753 * makesum.el (double-column): Remove unused variable `cnt'.
25754
25755 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25756 (ido-ignore-item-temp-list): Declare.
25757
25758 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25759 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25760 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25761 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25762 `mouse-col-delta'.
25763
25764 * mouse-sel.el (mouse-extend-internal):
25765 Remove unused variable `orig-window-frame'.
25766
25767 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25768 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25769 Move declarations before first use.
25770 (pcomplete-opt): Mark unused parameters; doc fix.
25771
25772 * proced.el (proced-revert): Mark unused parameter.
25773 (proced-send-signal): Remove unused variable `err'.
25774
25775 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25776 Rename parameter PREFIX-ARG to ARG.
25777 (ps-basic-plot-string, ps-basic-plot-whitespace):
25778 Mark unused parameters.
25779
25780 * replace.el (replace-count): Define.
25781 (occur-revert-function): Mark unused parameters.
25782 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25783 (isearch-case-fold-search, isearch-string): Declare.
25784 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25785 bind `case-fold-search'. Remove unused variables `beg' and `end',
25786 and simplify.
25787 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25788 COUNT and bind `replace-count'.
25789 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25790 to COUNT.
25791
25792 * savehist.el (print-readably, print-string-length): Declare.
25793
25794 * shadowfile.el (shadow-expand-cluster-in-file-name):
25795 Remove unused variable `cluster'.
25796 (shadow-copy-file): Remove unused variable `i'.
25797 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25798 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25799 (shadow-define-literal-group, shadow-define-regexp-group)
25800 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25801
25802 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25803 (shell): Use `called-interactively-p'.
25804 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25805
25806 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25807 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25808 (delete-backward-char): Remove unused variable `ocol'.
25809 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25810 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25811 (event-apply-hyper-modifier, event-apply-shift-modifier)
25812 (event-apply-control-modifier, event-apply-meta-modifier):
25813 Mark unused parameters.
25814 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25815 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25816
25817 * speedbar.el (speedbar-ignored-directory-expressions)
25818 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25819 (speedbar-find-file, speedbar-dir-follow)
25820 (speedbar-directory-buttons-follow, speedbar-tag-find)
25821 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25822 (speedbar-buffers-line-directory, speedbar-buffer-click):
25823 Mark unused parameters.
25824 (speedbar-tag-file): Remove unused variable `mode'.
25825 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25826
25827 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25828
25829 * talk.el (talk): Remove unused variable `display'.
25830
25831 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25832 (tar-write-region-annotate): Mark unused parameter.
25833
25834 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25835 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25836 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25837 warning by another.
25838
25839 * time-stamp.el (time-stamp-string-preprocess):
25840 Remove unused variable `require-padding'.
25841
25842 * tree-widget.el (widget-glyph-enable): Declare.
25843 (tree-widget-action): Mark unused parameter.
25844
25845 * w32-fns.el (x-get-selection): Mark unused parameter.
25846 (autoload-make-program, generated-autoload-file): Declare.
25847
25848 * wdired.el (wdired-revert): Mark unused parameters.
25849 (wdired-xcase-word): Remove unused variable `err'.
25850
25851 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25852 (whitespace-help-scroll): Remove unused variable `data-help'.
25853
25854 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25855 (widget-image-insert, widget-after-change, default)
25856 (widget-default-format-handler, widget-default-notify)
25857 (widget-default-prompt-value, widget-info-link-action)
25858 (widget-url-link-action, widget-function-link-action)
25859 (widget-variable-link-action, widget-file-link-action)
25860 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25861 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25862 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25863 (widget-insert-button-action, widget-delete-button-action, visibility)
25864 (widget-documentation-link-action, widget-documentation-string-action)
25865 (widget-const-prompt-value, widget-regexp-match, symbol)
25866 (widget-coding-system-prompt-value)
25867 (widget-key-sequence-value-to-external, sexp)
25868 (widget-sexp-value-to-internal, character, vector, cons)
25869 (widget-choice-prompt-value, widget-boolean-prompt-value)
25870 (widget-color--choose-action): Mark unused parameters.
25871 (widget-item-match-inline, widget-choice-match-inline)
25872 (widget-checklist-match, widget-checklist-match-inline)
25873 (widget-group-match): Rename parameter VALUES to VALS.
25874 (widget-field-value-set): Remove unused variable `size'.
25875 (widget-color-action): Remove unused variables `value' and `start'.
25876
25877 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25878 variable `dir'. Doc fix.
25879 (windmove-find-other-window): Don't pass it.
25880
25881 * window.el (count-windows): Mark unused parameter.
25882 (bw-adjust-window): Remove unused variable `err'.
25883
25884 * woman.el (woman-file-name): Remove unused variable `default'.
25885 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25886 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25887 (global-font-lock-mode): Declare.
25888 (woman-decode-region): Mark unused parameter.
25889 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25890
25891 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25892 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25893 (x-dnd-handle-moz-url): Remove unused variable `title'.
25894 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25895
25896 * xml.el (xml-parse-tag, xml-parse-attlist):
25897 Remove unused variable `pos'.
25898
25899 2011-04-19 Glenn Morris <rgm@gnu.org>
25900
25901 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25902 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25903 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25904 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25905 * calendar/cal-html.el (cal-html-insert-minical):
25906 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25907 (calendar-mark-date-pattern):
25908 Prefix "unused" locals.
25909
25910 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25911 optional argument `style'.
25912
25913 * calendar/appt.el (appt-make-list):
25914 * calendar/cal-china.el (calendar-chinese-date-string):
25915 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25916 (diary-hebrew-yahrzeit):
25917 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25918 * calendar/calendar.el (calendar-generate-window):
25919 * calendar/time-date.el (time-to-days):
25920 Remove unused local variables.
25921
25922 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25923
25924 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25925 glyphless-char-display table.
25926 (tabulated-list-glyphless-char-display): New var.
25927
25928 2011-04-18 Sam Steingold <sds@gnu.org>
25929
25930 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25931 to acknowledgments.
25932
25933 2011-04-17 Glenn Morris <rgm@gnu.org>
25934
25935 * calendar/diary-lib.el (diary-sexp-entry):
25936 * calendar/holidays.el (holiday-sexp):
25937 Set debug-on-error rather than the removed stack-trace-on-error.
25938
25939 2011-04-16 Glenn Morris <rgm@gnu.org>
25940
25941 * progmodes/f90.el: Use lexical-binding.
25942 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25943
25944 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25945
25946 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25947 (mail-mode): Setup mailalias completion here instead.
25948 * mail/mailalias.el: Use lexical-binding.
25949 (pattern, mailalias-done): Declare dynamic.
25950 (mail-completion-at-point-function): New function, from mail-complete.
25951 (mail-complete): Use it.
25952 (mail-completion-expand): New function.
25953 (mail-get-names): Use it.
25954 (mail-directory, mail-directory-process, mail-directory-stream):
25955 Don't use `pattern' for lexically bound arg.
25956
25957 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25958
25959 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25960 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25961 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25962
25963 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25964 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25965 (byte-interactive-p): Define them again, for use when inlining
25966 old code.
25967
25968 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25969
25970 * loadup.el: Use `string-to-number', not `string-to-int'.
25971
25972 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25973
25974 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25975 gud-gdb-complete-command.
25976 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25977 (gud-gdb-completion-at-point): New function.
25978 (gud-gdb-completions): Remove.
25979
25980 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25981
25982 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25983 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25984 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25985 whether `executable-find' is bound.
25986
25987 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25988
25989 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25990
25991 * minibuffer.el (completion-in-region-mode-predicate)
25992 (completion-in-region-mode--predicate): New vars.
25993 (completion-in-region, completion-in-region--postch)
25994 (completion-in-region-mode): Use them.
25995 (completion--capf-wrapper): Also return the hook function.
25996 (completion-at-point, completion-help-at-point):
25997 Adjust and provide a predicate.
25998
25999 Preserve arg names for advice of subr and lexical functions (bug#8457).
26000 * help-fns.el (help-function-arglist): Consolidate the subr and
26001 new-byte-code cases. Add argument `preserve-names' to extract names
26002 from the docstring when needed.
26003 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26004 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26005 (ad-arglist): Use help-function-arglist's new arg.
26006 (ad-definition-type): Use cond.
26007
26008 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26009
26010 * autorevert.el (auto-revert-handler):
26011 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26012 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26013 Don't quote lambda.
26014
26015 * image-mode.el (image-transform-set-scale):
26016 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26017
26018 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26019
26020 * net/network-stream.el (network-stream-open-starttls): Only do
26021 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26022 Upgrades via gnutls-cli are too slow to be done opportunistically.
26023
26024 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26025
26026 * dframe.el (dframe-current-frame): Remove spurious quote.
26027
26028 2011-04-12 Glenn Morris <rgm@gnu.org>
26029
26030 * calendar/cal-tex.el (cal-tex-end-document):
26031 Try to automatically use latin1 input if needed.
26032
26033 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26034 Don't try to cons a mark onto an empty element.
26035
26036 2011-04-11 Leo Liu <sdl.web@gmail.com>
26037
26038 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26039 buffers.
26040 (ido-kill-buffer-at-head): Support killing virtual buffers.
26041
26042 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26043
26044 * minibuffer.el (completion-show-inline-help): New var.
26045 (completion--do-completion, minibuffer-complete)
26046 (minibuffer-force-complete, minibuffer-complete-word):
26047 Inhibit minibuffer messages if completion-show-inline-help is nil.
26048
26049 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26050 to avoid interference from inline help (Bug#5849).
26051
26052 2011-04-10 Leo Liu <sdl.web@gmail.com>
26053
26054 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26055 Fix typo.
26056
26057 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26058
26059 * image-mode.el (image-toggle-display-image): Signal an error if
26060 not in Image mode.
26061 (image-transform-mode, image-transform-resize)
26062 (image-transform-set-rotation): Doc fix.
26063 (image-transform-set-resize): Delete.
26064 (image-transform-set-scale, image-transform-fit-to-height)
26065 (image-transform-fit-to-width): Handle image-toggle-display-image
26066 and image-transform-resize directly.
26067
26068 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26069
26070 * doc-view.el (doc-view-fit-width-to-window)
26071 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26072 New functions for fitting the shown image to the Emacs window size.
26073 (doc-view-mode-map): Add bindings for the new functions.
26074
26075 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26076
26077 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26078 Fix typo in docstring.
26079
26080 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26081
26082 * files.el (file-size-human-readable): Produce one digit after
26083 decimal, like "ls -lh" does.
26084
26085 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26086 the file size representation.
26087
26088 * simple.el (list-processes): If async subprocesses are not
26089 available, error out with a clear error message.
26090
26091 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26092
26093 * help.el (help-form-show): New function, to be called from C.
26094 Put help-form output in a buffer named differently than *Help*.
26095
26096 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26097
26098 * files.el (file-size-human-readable): New function.
26099
26100 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26101 computing the representation inline. Don't require `cl'.
26102
26103 2011-04-08 Glenn Morris <rgm@gnu.org>
26104
26105 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26106
26107 * net/browse-url.el (browse-url-firefox):
26108 Test system-type, not system-configuration.
26109
26110 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26111 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26112 Use log-edit-empty-buffer-p. (Bug#7598)
26113
26114 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26115 (rlogin-mode-map): Initialize in the defvar.
26116 (rlogin): Use ignore-errors.
26117
26118 * replace.el (occur-mode-map): Some fixes for menu items.
26119
26120 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26121
26122 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26123
26124 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26125
26126 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26127 issuing unused warnings.
26128
26129 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26130 macro directly.
26131
26132 * simple.el: Lisp reimplement of list-processes. Based on an
26133 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26134 (process-menu-mode): New major mode.
26135 (list-processes--refresh, list-processes):
26136 (process-menu-visit-buffer): New functions.
26137
26138 * files.el (save-buffers-kill-emacs): Don't assume any return
26139 value of list-processes, which is undocumented anyway.
26140
26141 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26142
26143 * emacs-lisp/tabulated-list.el: New file.
26144
26145 * emacs-lisp/package.el: Use Tabulated List mode.
26146 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26147 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26148 table format using Tabulated List mode variables.
26149 (package--push): New macro, replacing package-list-maybe-add.
26150 (package-menu--generate): Use package--push. Renamed from
26151 package--generate-package-list.
26152 (package-menu-refresh, list-packages): Use it.
26153 (package-menu--print-info): Rename from package-print-package.
26154 Return insertion data instead of inserting it directly.
26155 (package-menu-describe-package, package-menu-execute):
26156 Use tabulated-list-get-id.
26157 (package-menu-mark-delete, package-menu-mark-install)
26158 (package-menu-mark-unmark, package-menu-backup-unmark)
26159 (package-menu-mark-obsolete-for-deletion):
26160 Use tabulated-list-put-tag.
26161 (package--list-packages, package-menu-revert)
26162 (package-menu-get-package, package-menu-get-version)
26163 (package-menu-sort-by-column): Functions deleted.
26164 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26165 (package-menu--status-predicate, package-menu--version-predicate)
26166 (package-menu--name-predicate)
26167 (package-menu--description-predicate): Handle arguments in the
26168 Tabulated List format.
26169 (package-list-packages-no-fetch): Call list-packages.
26170
26171 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26172
26173 * files.el (after-find-file-from-revert-buffer): Remove variable.
26174 (after-find-file): Don't bind it.
26175 (revert-buffer-in-progress-p): New variable.
26176 (revert-buffer): Bind it.
26177 Pass nil for `after-find-file-from-revert-buffer'.
26178
26179 * saveplace.el (save-place-find-file-hook): Use new variable
26180 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26181
26182 2011-04-06 Glenn Morris <rgm@gnu.org>
26183
26184 * Makefile.in (AUTOGEN_VCS): New variable.
26185 (autoloads): Use $AUTOGEN_VCS.
26186
26187 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26188 * calendar/calendar.el (calendar-mode-map):
26189 Check for toolkit scroll bars. (Bug#8305)
26190
26191 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26192
26193 * minibuffer.el (completion-in-region--postch)
26194 (completion-in-region-mode): Remove unnecessary messages.
26195
26196 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26197
26198 * font-lock.el (font-lock-refresh-defaults):
26199 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26200 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26201
26202 * info.el (Info-directory-list, Info-read-node-name-2)
26203 (Info-split-parameter-string): Doc fixes.
26204 (Info-virtual-nodes): Reflow docstring.
26205 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26206 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26207 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26208 Fix typos in docstrings.
26209 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26210 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26211 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26212 (Info-restore-desktop-buffer): Mark unused parameters.
26213 (Info-directory-find-file, Info-directory-find-node)
26214 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26215 (Info-virtual-index-find-node, Info-apropos-find-file)
26216 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26217 Mark unused parameters; fix typos in docstrings.
26218 (Info-virtual-index): Remove unused local variable `nodename'.
26219
26220 2011-04-05 Deniz Dogan <deniz@dogan.se>
26221
26222 * net/rcirc.el: Update my e-mail address.
26223 (rcirc-mode-map): Remove M-o binding.
26224
26225 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26226
26227 * startup.el (command-line): Save the cursor's theme-face
26228 directly, instead of using face-override-spec.
26229
26230 * custom.el (load-theme): Minor optimization in assigning faces.
26231
26232 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26233
26234 * help-fns.el (describe-variable): Complete all variables having
26235 documentation, including keywords.
26236 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26237
26238 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26239
26240 Convert to lexical-binding.
26241
26242 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26243 (bs--get-marked-string, bs--get-modified-string)
26244 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26245 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26246 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26247
26248 * ehelp.el (electric-help-execute-extended)
26249 (electric-help-ctrl-x-prefix):
26250 * hexl.el (hexl-revert-buffer-function):
26251 * linum.el (linum-after-change, linum-after-scroll):
26252 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26253
26254 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26255
26256 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26257
26258 * epa-dired.el:
26259 * epa-mail.el:
26260 * epa-hook.el:
26261 * epa-file.el:
26262 * epa.el:
26263 * epg.el: Use lexical binding.
26264
26265 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26266
26267 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26268
26269 * textmodes/flyspell.el (flyspell-word): Recognize default
26270 dictionary case for flyspell-mark-duplications-exceptions.
26271 Use regexp matching for languages.
26272 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26273 default dictionary (Bug#7926).
26274
26275 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26276
26277 * emacs-lisp/package.el (package--with-work-buffer):
26278 Recognize https URLs.
26279
26280 * net/network-stream.el: Move from gnus/proto-stream.el.
26281 Change prefix to network-stream throughout.
26282 (open-protocol-stream): Merge into open-network-stream, leaving
26283 open-protocol-stream as an alias. Handle nil BUFFER args.
26284
26285 * subr.el (open-network-stream): Move to net/network-stream.el.
26286
26287 2011-04-02 Glenn Morris <rgm@gnu.org>
26288
26289 * find-dired.el (find-exec-terminator): New option.
26290 (find-ls-option): Test for -ls support.
26291 (find-ls-subdir-switches): Test for -b in find-ls-option.
26292 (find-dired, find-grep-dired): Doc fixes.
26293 (find-dired): Use find-exec-terminator.
26294
26295 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26296 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26297 (find-name-arg): Remove purecopy.
26298
26299 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26300 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26301 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26302 accordingly. Don't add the null-device if not needed.
26303
26304 * files.el (save-some-buffers): Doc fix.
26305
26306 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26307
26308 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26309
26310 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26311
26312 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26313 Use `dolist' rather than `mapcar'.
26314
26315 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26316
26317 Add lexical binding.
26318
26319 * subr.el (apply-partially): Use new closures rather than CL.
26320 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26321 (dolist, dotimes): Use slightly different expansion for lexical code.
26322 (functionp): Move to C.
26323 (letrec): New macro.
26324 (with-wrapper-hook): Use it and apply-partially instead of CL.
26325 (eval-after-load): Preserve lexical-binding.
26326 (save-window-excursion, with-output-to-temp-buffer): Turn them
26327 into macros.
26328
26329 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26330
26331 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26332 than the arglist.
26333 (help-add-fundoc-usage): Don't add `Not documented'.
26334 (help-function-arglist): Handle closures, subroutines, and new
26335 byte-code-functions.
26336 (help-make-usage): Remove leading underscores.
26337 (describe-function-1): Handle closures.
26338 (describe-variable): Use special-variable-p for completion.
26339
26340 * files.el (lexical-binding): Declare safe.
26341
26342 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26343 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26344 (pcase): Add `let' pattern.
26345 Change memoization so it actually works.
26346 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26347 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26348 <let>: New case.
26349
26350 * emacs-lisp/macroexp.el: Use lexical binding.
26351 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26352 Don't convert ' to #' without checking that it's indeed quoting
26353 a lambda.
26354
26355 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26356 Use eval-sexp-add-defvars.
26357 (eval-sexp-add-defvars): New fun.
26358
26359 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26360
26361 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26362 Don't autoload.
26363 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26364 than the internal `byte-compile-lambda'.
26365 (defmethod): Don't hide code under quotes.
26366 (eieio-defmethod): New `code' argument.
26367
26368 * emacs-lisp/eieio-comp.el: Remove.
26369
26370 * emacs-lisp/edebug.el (edebug-eval-defun)
26371 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26372 (edebug-toggle): Avoid `eval'.
26373
26374 * emacs-lisp/disass.el (disassemble-internal): Handle new
26375 `closure' objects.
26376 (disassemble-1): Handle new byte codes.
26377
26378 * emacs-lisp/cl.el (pushnew): Silence warning.
26379
26380 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26381 (cl-byte-compile-throw): Remove.
26382 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26383
26384 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26385 closures.
26386
26387 * emacs-lisp/cconv.el: New file.
26388
26389 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26390 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26391 (byte-compile-initial-macro-environment):
26392 Handle declare-function here.
26393 (byte-compile--lexical-environment): New var.
26394 (byte-stack-ref, byte-stack-set, byte-discardN)
26395 (byte-discardN-preserve-tos): New lap codes.
26396 (byte-interactive-p): Don't use any more.
26397 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26398 New macros.
26399 (byte-compile-lapcode): Use them and handle new lap codes.
26400 (byte-compile-obsolete): Remove.
26401 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26402 (byte-compile-arglist-warn): Check late def of inlinable funs.
26403 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26404 since they should have been expanded by now.
26405 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26406 (byte-compile-from-buffer): Remove unused second arg.
26407 (byte-compile-preprocess): New function.
26408 (byte-compile-toplevel-file-form): New function to distinguish
26409 file-form calls from outside from file-form calls from hunk-handlers.
26410 (byte-compile-file-form): Simplify.
26411 (byte-compile-file-form-defsubst): Remove.
26412 (byte-compile-file-form-defmumble): Simplify now that
26413 byte-compile-lambda always returns a byte-code-function.
26414 (byte-compile): Preprocess.
26415 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26416 Remove, not used any more.
26417 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26418 (byte-compile-make-args-desc): New funs.
26419 (byte-compile-lambda): Handle lexical functions. Always return
26420 a byte-code-function.
26421 (byte-compile-reserved-constants): New var, to make up room for
26422 closed-over variables.
26423 (byte-compile-constants-vector): Obey it.
26424 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26425 (byte-compile-macroexpand-declare-function): New function.
26426 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26427 byte-code-functions.
26428 (byte-compile-form): Check obsolescence here.
26429 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26430 (byte-compile-variable-ref): Remove.
26431 (byte-compile-dynamic-variable-op): New fun.
26432 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26433 (byte-compile-variable-set): New funs.
26434 (byte-compile-discard): Add 2 args.
26435 (byte-compile-stack-ref, byte-compile-stack-set)
26436 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26437 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26438 macroexpand-all instead.
26439 (byte-compile-quote-form): Remove.
26440 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26441 (byte-compile-bind, byte-compile-unbind): New funs.
26442 (byte-compile-let): Handle let* and lexical binding.
26443 (byte-compile-let*): Remove.
26444 (byte-compile-catch, byte-compile-unwind-protect)
26445 (byte-compile-track-mouse, byte-compile-condition-case):
26446 Handle a new :fun-body form, used for lexical scoping.
26447 (byte-compile-save-window-excursion)
26448 (byte-compile-with-output-to-temp-buffer): Remove.
26449 (byte-compile-defun): Simplify.
26450 (byte-compile-stack-adjustment): New fun.
26451 (byte-compile-out): Use it.
26452 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26453
26454 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26455 handler any more.
26456
26457 * emacs-lisp/byte-opt.el: Use lexical binding.
26458 (byte-inline-lapcode): Remove (to bytecomp).
26459 (byte-compile-inline-expand): Pay attention to inlining to/from
26460 lexically bound code.
26461 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26462 any more.
26463 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26464 any more and don't call compiler-macros.
26465 (byte-compile-splice-in-already-compiled-code): Remove.
26466 (byte-code): Don't inline any more.
26467 (disassemble-offset): Receive `bytes' as argument rather than via
26468 dynamic scoping.
26469 (byte-compile-tag-number): Declare before first use.
26470 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26471 `return' even if make-spliceable.
26472 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26473 obsolete interactive-p.
26474 (byte-optimize-lapcode): Optimize new lap-codes.
26475 Don't trip up on new form of `byte-constant' lap code.
26476
26477 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26478
26479 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26480
26481 * custom.el (custom-initialize-default, custom-declare-variable):
26482 Use `defvar'.
26483
26484 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26485 New variables.
26486 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26487 (COMPILE_FIRST): Add macroexp and cconv.
26488 * makefile.w32-in: Mirror changes in Makefile.in.
26489
26490 * vc/cvs-status.el:
26491 * vc/diff-mode.el:
26492 * vc/log-edit.el:
26493 * vc/log-view.el:
26494 * vc/smerge-mode.el:
26495 * textmodes/bibtex-style.el:
26496 * textmodes/css-mode.el:
26497 * startup.el:
26498 * uniquify.el:
26499 * minibuffer.el:
26500 * newcomment.el:
26501 * reveal.el:
26502 * server.el:
26503 * mpc.el:
26504 * emacs-lisp/smie.el:
26505 * doc-view.el:
26506 * dired.el:
26507 * abbrev.el: Use lexical binding.
26508
26509 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26510
26511 * info.el (info-display-manual): New function.
26512
26513 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26514
26515 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26516
26517 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26518
26519 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26520 an entry for that server in rcirc-authinfo. (Bug#8385)
26521
26522 2011-03-31 Glenn Morris <rgm@gnu.org>
26523
26524 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26525
26526 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26527
26528 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26529
26530 * progmodes/python.el (python-default-interpreter)
26531 (python-python-command-args, python-jython-command-args)
26532 (python-which-shell, python-which-args, python-which-bufname)
26533 (python-file-queue, python-comint-output-filter-function)
26534 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26535 variables and functions.
26536
26537 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26538
26539 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26540 (completion-in-region-mode): New minor mode.
26541 (completion-in-region): Use it.
26542 (completion-in-region--data, completion-in-region-mode-map): New vars.
26543 (completion-in-region--postch): New function.
26544 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26545 New vars.
26546 (completion--capf-wrapper): New function.
26547 (completion-at-point): Use it to track well-behavedness of
26548 hook functions.
26549 (completion-help-at-point): New command.
26550
26551 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26552
26553 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26554 syntax class to search for whitespace on a single line
26555 (Message-ID: <4D938140.4030905@redhat.com>).
26556
26557 2011-03-30 Leo Liu <sdl.web@gmail.com>
26558
26559 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26560 New commands.
26561 (edit-abbrevs-map): Bind them here.
26562 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26563
26564 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26565
26566 * allout.el (allout-hide-by-annotation, allout-flag-region):
26567 Reduce possibility of overlay leakage by making them volatile.
26568
26569 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26570 hash is not shared between buffers. Mode initialization is
26571 responsible for giving it a useful starting value.
26572 (allout-item-span): Reduce possibility of overlay leakage by
26573 making them volatile.
26574 (allout-widgets-count-buttons-in-region): Add diagnostic function
26575 for tracking down button overlay leaks.
26576
26577 2011-03-29 Leo Liu <sdl.web@gmail.com>
26578
26579 * ido.el (ido-read-internal): Use the default history var
26580 minibuffer-history if no HISTORY is specified.
26581
26582 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26583
26584 * net/imap.el (imap-shell-open, imap-process-connection-type):
26585 Use imap-process-connection-type for 'shell' streams as well as
26586 Kerberos, SSL, other subprocesses.
26587
26588 2011-03-28 Leo Liu <sdl.web@gmail.com>
26589
26590 * abbrev.el (abbrev-table-empty-p): New function.
26591 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26592 nonempty ones. (Bug#5937)
26593
26594 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26595
26596 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26597
26598 2011-03-27 Leo Liu <sdl.web@gmail.com>
26599
26600 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26601 for foreground and background colors.
26602 (ansi-color-make-color-map): Adapt.
26603
26604 2011-03-25 Leo Liu <sdl.web@gmail.com>
26605
26606 * midnight.el (midnight-time-float): Remove. Note it calculates
26607 the microsecond component incorrectly and seconds-to-time does the
26608 same job.
26609 Remove redundant (require 'timer).
26610
26611 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26612 (ido-completions): Remove unused arguments. (Bug#8329)
26613
26614 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26615
26616 * minibuffer.el (completion--flush-all-sorted-completions):
26617 Remove itself from hook.
26618 (completion-at-point): Let the functions perform the completion
26619 immediately and return nil or t.
26620 * comint.el (comint-dynamic-complete-functions): Now identical to
26621 completion-at-point-functions.
26622 (comint-dynamic-list-input-ring): Remove unused var `index'.
26623 (comint--match-partial-filename, comint--unquote&expand-filename):
26624 New funs, split from comint-match-partial-filename.
26625 (comint-dynamic-complete): Use completion-at-point.
26626 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26627
26628 2011-03-24 Drew Adams <drew.adams@oracle.com>
26629
26630 * thingatpt.el: Support `defun'.
26631
26632 2011-03-23 Leo Liu <sdl.web@gmail.com>
26633
26634 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26635
26636 * help-mode.el (help-mode-finish): Tweak regexp.
26637
26638 2011-03-23 Glenn Morris <rgm@gnu.org>
26639
26640 * eshell/esh-opt.el (eshell-eval-using-options):
26641 Do not bind unused local variable `eshell-option-stub'.
26642
26643 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26644
26645 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26646
26647 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26648 keymap variable in `with-no-warnings' to avoid a warning when the
26649 keymap has been already `defconst'ed.
26650
26651 2011-03-22 Leo Liu <sdl.web@gmail.com>
26652
26653 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26654 encode all chars in abbrevs; otherwise use emacs-mule or
26655 utf-8-emacs. (Bug#8308)
26656
26657 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26658
26659 * simple.el (backward-delete-char-untabify):
26660 Avoid warning about using `delete-backward-char'.
26661
26662 * image.el (image-type-file-name-regexps): Make it variable.
26663 `imagemagick-register-types' modifies it, and the user may want
26664 to add new extensions for known image types.
26665 (imagemagick-register-types): Throw error if not using ImageMagick.
26666
26667 2011-03-22 Leo Liu <sdl.web@gmail.com>
26668
26669 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26670 located before rcirc-prompt-end-marker.
26671 (rcirc-complete): Error if point is not after rcirc prompt.
26672 Handle the case when table is nil.
26673 (rcirc-user-authenticated): Define to fix compiler warning.
26674
26675 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26676
26677 * custom.el (custom--inhibit-theme-enable): Make it affect only
26678 custom-theme-set-variables and custom-theme-set-faces.
26679 (provide-theme): Ignore custom--inhibit-theme-enable.
26680 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26681 (custom-enabling-themes): Delete variable.
26682 (enable-theme): Accept only loaded themes as arguments.
26683 Ignore the special custom-enabled-themes variable.
26684 (custom-enabled-themes): Forbid themes from setting this.
26685 Eliminate use of custom-enabling-themes.
26686 (custom-push-theme): Quote "changed" custom var entry.
26687
26688 2011-03-21 Leo Liu <sdl.web@gmail.com>
26689
26690 * ido.el (ido-read-internal): Add ido-selected to history instead
26691 of user input.
26692
26693 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26694
26695 * subr.el (deferred-action-list, deferred-action-function):
26696 Mark obsolete.
26697
26698 2011-03-21 Leo Liu <sdl.web@gmail.com>
26699
26700 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26701 change on 2011-02-13 (bug#8309).
26702
26703 * minibuffer.el (read-file-name-function): Change default value.
26704 (read-file-name--defaults): Rename from read-file-name-defaults.
26705 (read-file-name-default): Rename from read-file-name.
26706 (read-file-name): Call read-file-name-function.
26707
26708 2011-03-21 Glenn Morris <rgm@gnu.org>
26709
26710 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26711 Doc fixes.
26712
26713 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26714
26715 * cus-theme.el: Add missing provide statement.
26716 (customize-create-theme): Extract theme value correctly.
26717 (custom-theme-visit-theme): Autoload.
26718 (customize-create-theme): Prompt before inserting default faces.
26719
26720 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26721
26722 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26723 units and musical notes.
26724
26725 2011-03-20 Leo Liu <sdl.web@gmail.com>
26726
26727 * ido.el (ido-read-internal): Use completing-read-default.
26728 (ido-completing-read): Fix compatibility with completing-read.
26729
26730 2011-03-20 Christian Ohler <ohler@gnu.org>
26731
26732 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26733 (ert-delete-all-tests): Use `called-interactively-p' rather than
26734 `interactive-p'.
26735 (ert--make-xrefs-region): Respect END.
26736
26737 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26738
26739 * dired-aux.el (dired-create-directory): Signal an error if the
26740 directory already exists (Bug#8246).
26741
26742 * facemenu.el (list-colors-display): Call list-faces-display
26743 inside with-help-window.
26744 (list-colors-print): Use display property to align the final
26745 column, instead of checking window-width.
26746
26747 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26748
26749 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26750 windows-nt systems.
26751 (emerge-protect-metachars): Quote correctly for ms-dos and
26752 windows-nt systems.
26753
26754 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26755
26756 * info.el (info-initialize): Replace all uses of `:' with
26757 path-separator for compatibility with non-Unix systems.
26758 Cache quoting of path-separator. (Bug#8258)
26759
26760 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26761
26762 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26763 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26764 (mouse-avoidance-mode): Fix typos in docstrings.
26765
26766 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26767
26768 * startup.el (package-subdirectory-regexp): Move from package.el.
26769 Omit \\` and \\', and let callers add them.
26770
26771 * emacs-lisp/package.el (package-strip-version)
26772 (package-load-all-descriptors): Add \\` and \\' to
26773 package-subdirectory-regexp before using it.
26774 (package-untar-buffer): New arg DIR; ensure that file untars only
26775 into this expected directory. Remove superfluous delete-region.
26776 (package-unpack): Caller changed.
26777 (package-tar-file-info): Use package-subdirectory-regexp.
26778
26779 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26780
26781 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26782 diff-mode-shared-map (bug#8284).
26783 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26784
26785 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26786
26787 * calendar/time-date.el (format-seconds): Use assoc instead of
26788 assoc-string, since assoc-string doesn't exist in XEmacs.
26789
26790 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26791
26792 * custom.el (custom-known-themes): Reflow docstring.
26793 (custom-theme-load-path): Fix typo in docstring.
26794 (load-theme): Fix typo in error message.
26795 (custom-available-themes, custom-variable-theme-value):
26796 Use `let', not `let*'.
26797
26798 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26799
26800 * calc/README: Mention inclusion of musical notes.
26801
26802 * calc/calc-units.el (calc-lu-quant): Rename from
26803 `calc-logunits-quantity'.
26804 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26805 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26806 (calc-db): Rename from `calc-dblevel'.
26807 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26808 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26809 (calc-np): Rename from `calc-nplevel'.
26810 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26811 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26812 (calc-lu-plus): Rename from `calc-logunits-add'.
26813 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26814 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26815 (calc-lu-minus): Rename from `calc-logunits-sub'.
26816 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26817 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26818 (calc-lu-times): Rename from `calc-logunits-mul'.
26819 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26820 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26821 (calc-lu-divide): Rename from `calc-logunits-div'.
26822 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26823 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26824
26825 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26826 functions being autoloaded.
26827
26828 * calc/calc.el (calc-lu-power-reference): Rename from
26829 `calc-logunits-power-reference'.
26830 (calc-lu-field-reference): Rename from
26831 `calc-logunits-field-reference'.
26832
26833 * calc/calc-help.el (calc-l-prefix-help):
26834 Mention musical note functions.
26835
26836 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26837
26838 * minibuffer.el (completion-all-sorted-completions):
26839 Use :completion-cycle-penalty text property if present.
26840
26841 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26842
26843 * allout.el (allout-yank-processing): Adjust for new rebulleting
26844 regime so bullet being yanked is used without prompting the user
26845 for a choice.
26846
26847 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26848
26849 * startup.el (command-line): Warn the user that _emacs is deprecated.
26850
26851 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26852
26853 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26854 (delphi-verbose, delphi-comment-face, delphi-string-face)
26855 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26856 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26857 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26858 (delphi-new-comment-line, delphi-font-lock-defaults)
26859 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26860 Fix typos in docstrings.
26861
26862 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26863
26864 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26865 Invert the roles of character and string values for INSTEAD, so a
26866 string is used for the more common case of a defaulting prompt.
26867
26868 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26869
26870 * progmodes/ruby-mode.el (ruby-backward-sexp):
26871 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26872 * play/gamegrid.el (gamegrid-make-face):
26873 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26874 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26875 * notifications.el (notifications-notify):
26876 * net/xesam.el (xesam-search-engines):
26877 * net/quickurl.el (quickurl-list-insert):
26878 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26879
26880 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26881
26882 * startup.el (command-line): Update package subdirectory regexp.
26883
26884 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26885
26886 * allout.el (allout-abbreviate-flattened-numbering)
26887 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26888
26889 * subr.el (read-char-choice): Only show the cursor after the prompt,
26890 not after the answer.
26891
26892 2011-03-15 Kevin Ryde <user42@zip.com.au>
26893
26894 * help-fns.el (variable-at-point): Skip leading quotes, if any
26895 (bug#8253).
26896
26897 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26898
26899 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26900 warning message.
26901
26902 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26903
26904 * shell.el (shell): When called interactively, offer to change the
26905 shell file name on remote hosts.
26906
26907 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26908
26909 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26910 integration for LDAP parameters. The host, base, user or binddn,
26911 and secret tokens can be specified in a netrc file, for instance.
26912 This is optional because an `auth-source' parameter must be
26913 specified in the search attributes.
26914
26915 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26916
26917 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26918
26919 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26920
26921 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26922 into declaration. Remove redundant and harmful binding.
26923
26924 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26925
26926 * files.el (file-ownership-preserved-p): Pass `integer' as an
26927 explicit 2nd argument to `file-attributes'. If the file's owner
26928 is the Administrators group on Windows, and the current user is
26929 Administrator, consider that a match.
26930
26931 * server.el (server-ensure-safe-dir): Consider server directory
26932 safe on MS-Windows if its owner is the Administrators group while
26933 the current Emacs user is Administrator. Use `=' to compare
26934 numerical UIDs, since they could be integers or floats.
26935
26936 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26937
26938 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26939
26940 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26941
26942 Sync with Tramp 2.2.1.
26943
26944 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26945
26946 * net/trampver.el: Update release number.
26947
26948 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26949
26950 * progmodes/compile.el (compilation--previous-directory): Fix up
26951 various nil/dead-marker mismatches (bug#8014).
26952 (compilation-directory-properties, compilation-error-properties):
26953 Don't call it at a position past the one we're about to change.
26954
26955 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26956 Disable obsolescence warnings in the file that declares it.
26957
26958 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26959
26960 * allout-widgets.el (allout-widgets-tally):
26961 Initialize allout-widgets-tally as a hash table rather than nil to
26962 prevent mode-line redisplay warnings. Also, clarify the module
26963 description and fix a comment typo.
26964
26965 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26966
26967 * help-fns.el (describe-variable): Don't complete keywords.
26968 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26969
26970 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26971
26972 * emacs-lisp/package.el (package-version-join): Impose a standard
26973 string representation for pre/alpha/beta version lists.
26974 (package-unpack-single): Standardize the directory name by passing
26975 it through package-version-join.
26976 (package-strip-rcs-id): Accept any version string that does not
26977 signal an error in version-to-list.
26978
26979 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26980
26981 * simple.el (delete-trailing-whitespace): Return nil for the
26982 benefit of `write-file-functions'.
26983
26984 2011-03-10 Glenn Morris <rgm@gnu.org>
26985
26986 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26987
26988 * vc/vc-git.el (vc-git-program): New option.
26989 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26990 (vc-git--call): Use it.
26991
26992 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26993
26994 * cus-edit.el (Custom-newline): If no button at point, look
26995 for a subgroup button at start-of-line. (Bug#2298)
26996
26997 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26998
26999 2011-03-10 Julien Danjou <julien@danjou.info>
27000
27001 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27002 `cursor-type' is nil.
27003
27004 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27005
27006 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27007
27008 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27009
27010 * allout.el: Change so yank of distinctive-bullet items
27011 preserves the existing header prefix, rebulleting it if necessary,
27012 rather than replacing it. This is necessary for proper operation
27013 of cooperative addons like allout-widgets.
27014 (allout-make-topic-prefix, allout-rebullet-heading):
27015 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27016 value as alternate bullet to be used, instead of prompting the user
27017 for a bullet character.
27018
27019 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27020
27021 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27022 Do not use `tramp-file-name-port', because this returns also
27023 `tramp-default-port'.
27024
27025 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27026
27027 * net/rcirc.el (rcirc-handler-001): Remove useless
27028 with-rcirc-process-buffer.
27029 (rcirc-check-auth-status): Swap arguments to string-match.
27030
27031 2011-03-09 Glenn Morris <rgm@gnu.org>
27032
27033 * shell.el (shell-mode):
27034 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27035
27036 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27037 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27038
27039 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27040
27041 * emacs-lisp/package.el (package-refresh-contents)
27042 (package-menu-execute): Use condition-case-no-debug.
27043
27044 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27045
27046 * simple.el (shell-command-to-string): Use `process-file'.
27047
27048 * emacs-lisp/package.el (package-tar-file-info): Handle also
27049 remote files.
27050
27051 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27052 Use `equal' for upload base check.
27053
27054 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27055
27056 * textmodes/texinfo.el (texinfo-environments):
27057 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27058
27059 2011-03-08 Glenn Morris <rgm@gnu.org>
27060
27061 * cus-start.el (cursor-in-non-selected-windows):
27062 Fix :set quoting oddness. (Bug#8192)
27063
27064 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27065 in some setf expressions. (Bug#2159)
27066
27067 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27068
27069 * custom.el (custom-available-themes): Return themes in
27070 alphabetical order.
27071
27072 See ChangeLog.15 for earlier changes.
27073
27074 ;; Local Variables:
27075 ;; coding: utf-8
27076 ;; End:
27077
27078 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27079
27080 This file is part of GNU Emacs.
27081
27082 GNU Emacs is free software: you can redistribute it and/or modify
27083 it under the terms of the GNU General Public License as published by
27084 the Free Software Foundation, either version 3 of the License, or
27085 (at your option) any later version.
27086
27087 GNU Emacs is distributed in the hope that it will be useful,
27088 but WITHOUT ANY WARRANTY; without even the implied warranty of
27089 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27090 GNU General Public License for more details.
27091
27092 You should have received a copy of the GNU General Public License
27093 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.