Support building Emacs on MS-Windows using the Posix configury.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-16 Eli Zaretskii <eliz@gnu.org>
2
3 * subr.el (reveal-filename): New function.
4
5 * loadup.el: Compute Emacs executable versions on MS-Windows,
6 where executables have the .exe extension. Add a hard link
7 emacs-XX.YY.ZZ.exe on MS-Windows.
8
9 * Makefile.in (XARGS_LIMIT): New variable.
10 (custom-deps, finder-data, autoloads)
11 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15
16 2013-05-16 Leo Liu <sdl.web@gmail.com>
17
18 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19 (octave-mode-menu, octave-mode-map): Remove its uses.
20
21 2013-05-16 Reto Zimmermann <reto@gnu.org>
22
23 Sync with upstream vhdl mode v3.34.2.
24 * progmodes/vhdl-mode.el: Use `push' throughout.
25 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
26 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
27 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
28 (vhdl-actual-generic-name): New option to derive actual generic name.
29 (vhdl-port-paste-signals): Replace formal by actual generics.
30 (vhdl-beautify): New name for old group vhdl-align. Update users.
31 (vhdl-beautify-options): New option.
32 (vhdl-last-input-event): New compat alias. Use throughout.
33 (vhdl-goto-line): Replace user level function `goto-line'.
34 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
35 vhdl-fix-statement-buffer.
36 (vhdl-create-mode-menu): Add some entries.
37 (vhdl-align-region-groups): Respect vhdl-beautify-options.
38 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
39 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
40 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
41 to force statements on one line.
42 (vhdl-remove-trailing-spaces-region):
43 New, split from vhdl-remove-trailing-spaces.
44 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
45 Respect vhdl-beautify-options.
46 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
47 (vhdl-update-sensitivity-list): Not add with index if exists without.
48 Not include array index with signal. Ignore keywords in comments.
49 (vhdl-get-visible-signals): Regexp tweaks.
50 (vhdl-template-component-inst): Handle empty library.
51 (vhdl-template-type): Add template for 'enum' type.
52 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
53 Use vhdl-replace-string.
54 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
55 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
56 (vhdl-speedbar-initialize): Update for above name change.
57 (vhdl-compose-wire-components): Fix in handling of constants.
58 (vhdl-error-regexp-emacs-alist): New variable.
59 (vhdl-error-regexp-add-emacs): New function;
60 adds support for new compile.el (Emacs 22+)
61 (vhdl-generate-makefile-1): Change target order for single lib. units.
62 Allow use of absolute file names.
63
64 2013-05-16 Leo Liu <sdl.web@gmail.com>
65
66 * simple.el (prog-indent-sexp): Indent enclosing defun.
67
68 2013-05-15 Glenn Morris <rgm@gnu.org>
69
70 * cus-start.el (show-trailing-whitespace): Move to editing basics.
71 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
72 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
73 (whitespace-highlight): Move to whitespace group.
74
75 * comint.el (comint-source):
76 * pcmpl-linux.el (pcmpl-linux):
77 * shell.el (shell-faces):
78 * eshell/esh-opt.el (eshell-opt):
79 * international/ccl.el (ccl): Remove empty custom groups.
80
81 * completion.el (dynamic-completion-mode):
82 * jit-lock.el (jit-lock-debug-mode):
83 * minibuffer.el (completion-in-region-mode):
84 * type-break.el (type-break-mode-line-message-mode)
85 (type-break-query-mode):
86 * emulation/tpu-edt.el (tpu-edt-mode):
87 * progmodes/subword.el (global-subword-mode, global-superword-mode):
88 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
89 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
90
91 * term/xterm.el (xterm): Change parent group to terminals.
92
93 * master.el (master): Remove empty custom group.
94 (master-mode): Remove unused :group argument.
95 * textmodes/refill.el (refill): Remove empty custom group.
96 (refill-mode): Remove unused :group argument.
97
98 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
99
100 * cus-dep.el: Provide a feature.
101 (custom-make-dependencies): Ignore dotfiles (dir-locals).
102 Don't mistakenly ignore files whose basenames match a basename
103 from preloaded-file-list (eg cedet/ede/simple.el).
104 Add a fallback method for getting :group.
105
106 2013-05-15 Juri Linkov <juri@jurta.org>
107
108 * isearch.el (isearch-char-by-name): Rename from
109 `isearch-insert-char-by-name'. Doc fix.
110 (isearch-forward): Mention `isearch-char-by-name' in
111 the docstring. (Bug#13348)
112
113 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
114 `exit-minibuffer' instead of
115 `isearch-nonincremental-exit-minibuffer'.
116 (isearch-edit-string): Remove mention of
117 `isearch-nonincremental-exit-minibuffer' from docstring.
118 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
119 (isearch-forward-exit-minibuffer)
120 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
121
122 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * loadup.el: Just use unversioned DOC.
125
126 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
127 literals as extending to EOB.
128 (nxml-last-fontify-end): Remove unused variable.
129 (nxml-after-change1): Use with-silent-modifications.
130 (nxml-extend-after-change-region): Simplify.
131 (nxml-extend-after-change-region1): Remove function.
132 (nxml-after-change1): Don't adjust for dependent regions.
133 (nxml-fontify-matcher): Simplify.
134 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
135 (xmltok-add-dependent): Remove function.
136 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
137 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
138 (xmltok-scan-prolog-after-processing-instruction-open): Treat
139 unclosed <[[, <?, comment, and other literals as extending to EOB.
140 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
141 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
142 Remove functions.
143 (rng-do-some-validation-1): Don't mark dependent regions.
144 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
145 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
146 (nxml-clear-dependent-regions): Remove functions.
147 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
148 (nxml-ensure-scan-up-to-date):
149 Don't clear&mark dependent regions.
150
151 2013-05-15 Leo Liu <sdl.web@gmail.com>
152
153 * progmodes/octave.el (octave-goto-function-definition):
154 Improve and fix callers.
155
156 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
159 the setter (bug#14387).
160
161 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
162 surrounding group (bug#14402).
163
164 2013-05-14 Juri Linkov <juri@jurta.org>
165
166 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
167 (Bug#14390)
168
169 2013-05-14 Glenn Morris <rgm@gnu.org>
170
171 * progmodes/f90.el (f90-imenu-generic-expression):
172 Fix typo in 2013-05-08 change. (Bug#14402)
173
174 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
175
176 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
177 Remove signals for which replies are never received.
178
179 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
180
181 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
182 (gdb-handler-alist, gdb-handler-number): Remove variables.
183 (gdb-handler-list): New variable.
184 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
185 (gdb-pending-handler-p, gdb-handle-reply)
186 (gdb-remove-all-pending-triggers): New functions.
187 (gdb-discard-unordered-replies): New defcustom.
188 (gdb-handler): New defstruct.
189 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
190 instead of gdb-pending-triggers. Update docstring.
191 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
192 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
193 (gdb-var-update-handler, def-gdb-auto-update-trigger)
194 (def-gdb-auto-update-handler, gdb-get-changed-registers)
195 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
196 (gdb-frame-handler): Pending triggers are now automatically managed.
197 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
198 Remove argument.
199 (gdb-input): Automatically handles pending triggers. Update docstring.
200 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
201 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
202 Update comments.
203 (gdb-done-or-error): Now use gdb-handle-reply.
204
205 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
206
207 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
208 gdb-debug-log.
209
210 2013-05-14 Glenn Morris <rgm@gnu.org>
211
212 * subr.el (user-emacs-directory-warning): New option.
213 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
214
215 2013-05-14 Leo Liu <sdl.web@gmail.com>
216
217 * progmodes/octave.el (octave-font-lock-keywords): Fix error
218 during redisplay.
219 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
220 (octave-font-lock-texinfo-comment): Fix invalid search bound
221 error: wrong side of point.
222
223 2013-05-14 Glenn Morris <rgm@gnu.org>
224
225 * progmodes/flymake.el (flymake-xml-program): New option.
226 (flymake-xml-init): Use it.
227
228 * term/xterm.el: Provide a feature.
229
230 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
231
232 2013-05-13 Glenn Morris <rgm@gnu.org>
233
234 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
235 Add compat aliases as a hack workaround. (Bug#14384)
236
237 2013-05-13 Leo Liu <sdl.web@gmail.com>
238
239 * progmodes/octave.el (octave-indent-comment): Fix indentation for
240 ###, and %!.
241 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
242 C-M-q.
243 (octave-comment-start-skip): Include %!.
244 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
245
246 2013-05-12 Leo Liu <sdl.web@gmail.com>
247
248 * progmodes/octave.el (inferior-octave-startup): Store the value
249 of __octave_srcdir__ for octave-source-directories.
250 (inferior-octave-check-process): New function refactored out of
251 inferior-octave-send-list-and-digest.
252 (octave-source-directories)
253 (octave-find-definition-filename-function): New variables.
254 (octave-source-directories)
255 (octave-find-definition-default-filename): New functions.
256 (octave-find-definition): Improve to find functions implemented in C++.
257
258 2013-05-12 Glenn Morris <rgm@gnu.org>
259
260 * calendar/diary-lib.el (diary-outlook-format-1):
261 Don't include dayname in the output. (Bug#14349)
262
263 2013-05-11 Glenn Morris <rgm@gnu.org>
264
265 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
266
267 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
268 Treat cc-provide like provide.
269
270 2013-05-11 Kevin Ryde <user42@zip.com.au>
271
272 * cus-dep.el (custom-make-dependencies):
273 Use generated-autoload-load-name for the sake of files such
274 such cedet/semantic/bovine/c.el, where the base file name
275 is not in load-path. (Bug#5277)
276
277 2013-05-11 Glenn Morris <rgm@gnu.org>
278
279 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
280 Provide features.
281
282 2013-05-11 Leo Liu <sdl.web@gmail.com>
283
284 * progmodes/octave.el (octave-indent-comment): Improve.
285 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
286 (octave-eldoc-function-signatures, octave-eldoc-function):
287 New functions.
288 (octave-mode, inferior-octave-mode): Add eldoc support.
289
290 2013-05-11 Richard Stallman <rms@gnu.org>
291
292 * epa.el (epa-decrypt-file): Take output file name as argument
293 and read it using `interactive'.
294
295 2013-05-11 Leo Liu <sdl.web@gmail.com>
296
297 * progmodes/octave.el (octave-beginning-of-line)
298 (octave-end-of-line): Check before using up-list because it jumps
299 out of more syntactic contructs since moving to smie.
300 (octave-indent-comment): New function.
301 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
302 (octave-begin-keywords, octave-end-keywords)
303 (octave-reserved-words, octave-smie-bnf-table)
304 (octave-smie-rules): Add new keywords from Octave 3.6.4.
305
306 2013-05-11 Glenn Morris <rgm@gnu.org>
307
308 * faces.el (internal-face-x-get-resource):
309 * frame.el (ns-display-monitor-attributes-list):
310 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
311
312 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
313
314 * calc/calc-menu.el: Make it loadable in isolation.
315
316 * net/eudcb-bbdb.el: Make it loadable without bbdb.
317 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
318 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
319 (eudc-bbdb-query-internal): Require 'bbdb.
320
321 * lpr.el (lpr-headers-switches):
322 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
323
324 * progmodes/sql.el (sql-login-params): Fix and improve :type.
325
326 * emulation/edt-mapper.el: In batch mode, error rather than hang.
327
328 * term.el (term-set-escape-char): Make it idempotent.
329
330 2013-05-10 Leo Liu <sdl.web@gmail.com>
331
332 * progmodes/octave.el (inferior-octave-completion-table):
333 No longer a function and all uses changed. Use cache to speed up
334 completion due to bug#11906.
335 (octave-beginning-of-defun): Re-write to be more general.
336
337 2013-05-10 Glenn Morris <rgm@gnu.org>
338
339 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
340
341 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * comint.el (comint-redirect-send-command-to-process): Use :around
344 rather than :override for comint-redirect-filter.
345 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
346 Call it instead of comint-redirect-original-filter-function (which
347 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
348
349 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
350
351 * frame.el (display-monitor-attributes-list): Add NS case.
352 (ns-display-monitor-attributes-list): Declare.
353
354 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
355
356 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
357
358 2013-05-09 Glenn Morris <rgm@gnu.org>
359
360 * international/fontset.el (vertical-centering-font-regexp):
361 Set standard-value.
362
363 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
364
365 * bookmark.el (bookmark-search-delay):
366 * cus-start.el (vertical-centering-font-regexp):
367 * ps-mule.el (ps-mule-font-info-database-default):
368 * ps-print.el (ps-default-fg, ps-default-bg):
369 * type-break.el (type-break-good-break-interval):
370 * whitespace.el (whitespace-indentation-regexp)
371 (whitespace-space-after-tab-regexp):
372 * emacs-lisp/testcover.el (testcover-1value-functions)
373 (testcover-noreturn-functions, testcover-progn-functions)
374 (testcover-prog1-functions):
375 * emulation/viper-init.el (viper-emacs-state-cursor-color):
376 * eshell/em-glob.el (eshell-glob-translate-alist):
377 * play/tetris.el (tetris-tty-colors):
378 * progmodes/cpp.el (cpp-face-default-list):
379 * progmodes/flymake.el (flymake-allowed-file-name-masks):
380 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
381 (idlwave-help-browser-generic-args):
382 * progmodes/make-mode.el (makefile-special-targets-list):
383 * progmodes/python.el (python-shell-virtualenv-path):
384 * progmodes/verilog-mode.el (verilog-active-low-regexp)
385 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
386 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
387 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
388 * textmodes/reftex-vars.el (reftex-format-label-function):
389 * textmodes/remember.el (remember-diary-file): Fix custom types.
390
391 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
392 Add :version.
393
394 2013-05-09 Leo Liu <sdl.web@gmail.com>
395
396 * progmodes/octave.el (inferior-octave-completion-at-point):
397 Restore file completion. (Bug#14300)
398 (inferior-octave-startup): Fix incorrect highlighting for the
399 first prompt.
400
401 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * progmodes/ruby-mode.el: First cut at SMIE support.
404 (ruby-use-smie): New var.
405 (ruby-smie-grammar): New constant.
406 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
407 (ruby-smie--forward-token, ruby-smie--backward-token)
408 (ruby-smie-rules): New functions.
409 (ruby-mode-variables): Setup SMIE if applicable.
410
411 2013-05-08 Eli Zaretskii <eliz@gnu.org>
412
413 * simple.el (line-move-visual): Signal beginning/end of buffer
414 only if vertical-motion moved less than it was requested. Avoids
415 silly incorrect error messages when there are display strings with
416 multiple newlines at EOL.
417
418 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
421 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
422 (prolog-char-quote-workaround):
423 * progmodes/cperl-mode.el (cperl-under-as-char):
424 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
425 Mark as obsolete.
426 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
427 their declaration.
428 (vhdl-mode-syntax-table-init): Remove.
429
430 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
431 last change.
432
433 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
434 syntax for "_".
435 (ld-script-font-lock-keywords):
436 Change regexps to use things like \_< and \_>.
437
438 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
439 Change all regexps to use things like \_< and \_>.
440
441 * progmodes/autoconf.el (autoconf-definition-regexp)
442 (autoconf-font-lock-keywords, autoconf-current-defun-function):
443 Handle a _ with symbol syntax.
444 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
445
446 * progmodes/ada-mode.el (ada-mode-abbrev-table):
447 Consolidate declaration.
448 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
449 the declaration.
450 (ada-create-syntax-table): Remove.
451 (ada-capitalize-word): Don't mess with the syntax of "_" since it
452 already has the right syntax nowadays.
453 (ada-goto-next-word): Don't change the syntax of "_".
454
455 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
456 with-wrapper-hook.
457
458 2013-05-08 Sam Steingold <sds@gnu.org>
459
460 * thingatpt.el (thing-at-point): Accept optional second argument
461 NO-PROPERTIES to strip the text properties from the return value.
462 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
463 to `thing-at-point' instead of stripping the properties ourselves.
464 Also, when `thing-at-point' fails to find a url, prepend "http://"
465 to the filename at point on the assumption that the user is
466 pointing at something like gnu.org/gnu.
467
468 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
469
470 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
471 * faces.el (crm-separator):
472 Silence byte-compiler.
473
474 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
475 (tool-bar-map): Remove unneeded defvars.
476
477 2013-05-08 Leo Liu <sdl.web@gmail.com>
478
479 Re-work a fix for bug#10994 based on Le Wang's patch.
480 * ido.el (ido-remove-consecutive-dups): New helper.
481 (ido-completing-read): Use it.
482 (ido-chop): Revert fix for bug#10994.
483
484 2013-05-08 Adam Spiers <emacs@adamspiers.org>
485
486 * cus-edit.el (custom-save-variables):
487 Pretty-print long values. (Bug#14187)
488
489 2013-05-08 Glenn Morris <rgm@gnu.org>
490
491 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
492 (m4-mode-syntax-table): Init in the defvar.
493 (m4-mode-abbrev-table): Let define-derived-mode define it.
494
495 2013-05-08 Tom Tromey <tromey@redhat.com>
496
497 * progmodes/m4-mode.el (m4-mode-syntax-table):
498 Do not treat "_" as word constituent. (Bug#14167)
499
500 2013-05-07 Glenn Morris <rgm@gnu.org>
501
502 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
503 Remove explicit eshell-isearch-cancel-map.
504
505 * progmodes/f90.el (f90-smart-end-names): New option.
506 (f90-smart-end): Doc fix.
507 (f90-end-block-optional-name): New constant.
508 (f90-block-match): Respect f90-smart-end-names.
509
510 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * progmodes/octave.el (octave-smie-forward-token): Be more careful
513 about implicit semi-colons (bug#14218).
514
515 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
516
517 * frame.el (display-monitor-attributes-list)
518 (frame-monitor-attributes): New functions.
519
520 2013-05-06 Leo Liu <sdl.web@gmail.com>
521
522 * progmodes/octave.el (octave-syntax-propertize-function): Change
523 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
524 (octave-font-lock-keywords): Use octave-operator-regexp.
525 (octave-completion-at-point): Rename from
526 octave-completion-at-point-function.
527 (inferior-octave-directory-tracker): Robustify.
528 (octave-text-functions): Remove and fix its uses. No such things
529 any more.
530
531 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * emacs-lisp/trace.el (trace--display-buffer): New function.
534 (trace-make-advice): Use it.
535
536 2013-05-06 Juri Linkov <juri@jurta.org>
537
538 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
539 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
540 Doc fix.
541 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
542 in the help string. (Bug#12985)
543
544 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
545
546 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
547
548 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * progmodes/perl-mode.el: Add support for here documents.
551 (perl-syntax-propertize-function): Match here-doc markers.
552 (perl-syntax-propertize-special-constructs): Find their end.
553 (perl-imenu-generic-expression): Use [:alnum:].
554
555 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
556 (advice--add-function): Refresh the advice if already present
557 (bug#14317).
558
559 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
560
561 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
562
563 2013-05-06 Glenn Morris <rgm@gnu.org>
564
565 * w32-fns.el (w32-charset-info-alist): Declare.
566
567 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
568 of its defcustom properties.
569 (eshell-cmpl-initialize): No need to load pcomplete.
570
571 * generic-x.el: No need to require comint when compiling.
572
573 * net/eudc-export.el: Make it loadable without bbdb.
574 (top-level): Use require rather than load-library.
575 (eudc-create-bbdb-record, eudc-bbdbify-phone)
576 (eudc-batch-export-records-to-bbdb)
577 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
578 Require bbdb.
579
580 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
583 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
584 some tweaks, instead.
585
586 2013-05-05 Leo Liu <sdl.web@gmail.com>
587
588 * progmodes/octave.el (octave-font-lock-keywords)
589 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
590 (inferior-octave-send-list-and-digest): Improve error message.
591 (octave-mode, inferior-octave-mode): Use setq-local.
592 (octave-help): Set info-lookup-mode.
593
594 2013-05-05 Richard Stallman <rms@gnu.org>
595
596 * vc/compare-w.el (compare-windows-whitespace):
597 Treat no-break space as whitespace.
598
599 * mail/rmailsum.el (rmail-summary-rmail-update):
600 Detect empty summary and don't change selected message.
601 (rmail-summary-goto-msg): Likewise.
602
603 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
604 Doc fixes, rename args.
605
606 2013-05-05 Alan Mackenzie <acm@muc.de>
607
608 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
609
610 2013-05-05 Juri Linkov <juri@jurta.org>
611
612 * info.el (Info-read-subfile): Use (point-min) instead of (point)
613 to not add the length of the summary segment to the return value.
614 (Bug#14125)
615
616 2013-05-05 Leo Liu <sdl.web@gmail.com>
617
618 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
619 (inferior-octave-output-filter): Remove.
620 (octave-send-region, inferior-octave-startup): Fix callers.
621 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
622 (octave-binary-file-extensions): New user variable.
623 (octave-find-definition): Confirm if opening binary files.
624 (octave-help-file): Use octave-find-definition to get the binary
625 confirmation.
626 (octave-help): Adjust for octave-help-file change.
627
628 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
631 Merge the two entries that handle function definitions.
632 (pascal--syntax-propertize): New const.
633 (pascal-mode): Use it. Use setq-local.
634
635 2013-05-04 Glenn Morris <rgm@gnu.org>
636
637 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
638 (diary-from-outlook): Respect diary-from-outlook-function.
639
640 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
643 Move the declaration from C.
644 (read-minibuffer, eval-minibuffer): Move from C.
645 (completion-setup-function): Avoid minibuffer-completion-contents.
646
647 2013-05-03 Leo Liu <sdl.web@gmail.com>
648
649 * progmodes/octave.el (octave-font-lock-keywords): Do not
650 dehighlight 'end' in comments or strings.
651 (octave-completing-read, octave-goto-function-definition):
652 New helpers.
653 (octave-help-buffer): New user variable.
654 (octave-help-file, octave-help-function): New button types.
655 (octave-help): New command and bind it to C-h ;.
656 (octave-find-definition): New command and bind it to M-.
657 (user-error): Alias to error if not defined.
658
659 2013-05-02 Leo Liu <sdl.web@gmail.com>
660
661 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
662 for \. (bug#14332)
663 (octave-font-lock-keywords): Include [ and {.
664
665 2013-05-02 Leo Liu <sdl.web@gmail.com>
666
667 * progmodes/octave.el (inferior-octave-startup-file): Change default.
668 (inferior-octave): Remove calling comint-mode and return the buffer.
669 (inferior-octave-startup): Cosmetic changes.
670
671 2013-05-02 Leo Liu <sdl.web@gmail.com>
672
673 * progmodes/octave.el (octave-syntax-propertize-function):
674 Include the case when ' is at line beginning. (Bug#14336)
675
676 2013-05-02 Glenn Morris <rgm@gnu.org>
677
678 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
679 * desktop.el (vc-dir-mode): Just autoload it here.
680
681 2013-05-02 Alan Mackenzie <acm@muc.de>
682
683 Eliminate variable c-standard-font-lock-fontify-region-function.
684 * progmodes/cc-mode.el
685 (c-standard-font-lock-fontify-region-function): Remove.
686 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
687
688 2013-05-01 Leo Liu <sdl.web@gmail.com>
689
690 * progmodes/octave.el: Compatible with older emacs-24 releases.
691 (inferior-octave-has-built-in-variables): Remove. Built-in
692 variables were removed from Octave in 2007.
693 (inferior-octave-startup): Fix uses.
694 (comint-line-beginning-position): Remove compatibility code for
695 emacs 21.
696
697 2013-05-01 Juri Linkov <juri@jurta.org>
698
699 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
700
701 2013-05-01 Juri Linkov <juri@jurta.org>
702
703 * comint.el (comint-previous-matching-input): Don't print message
704 "History item: %d" when `isearch-mode' is active.
705 (comint-history-isearch-message): Print message "History item: %d"
706 when `comint-input-ring-index' is not empty and this function is
707 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
708
709 2013-05-01 Leo Liu <sdl.web@gmail.com>
710
711 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
712 definitions. Use completion-at-point to insert keywords.
713 (octave-abbrev-start): Remove.
714 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
715
716 2013-04-30 Leo Liu <sdl.web@gmail.com>
717
718 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
719 change.
720
721 2013-04-30 Alan Mackenzie <acm@muc.de>
722
723 Handle arbitrarily long C++ member initialisation lists.
724 * progmodes/cc-engine.el (c-back-over-member-initializers):
725 new function.
726 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
727 (most) member init lists.
728
729 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
730
731 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
732 variable.
733
734 2013-04-30 Leo Liu <sdl.web@gmail.com>
735
736 * progmodes/octave.el (octave-variables): Remove. No builtin
737 variables any more. All converted to functions.
738 (octave-font-lock-keywords, octave-completion-at-point-function):
739 Fix uses.
740 (octave-font-lock-texinfo-comment): New user variable.
741 (octave-texinfo-font-lock-keywords): New variable for texinfo
742 comment block.
743 (octave-function-comment-block): New face.
744 (octave-font-lock-texinfo-comment): New function.
745 (octave-mode): Font lock texinfo comment block.
746
747 2013-04-29 Leo Liu <sdl.web@gmail.com>
748
749 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
750 indexing expression.
751 (octave-continuation-string): Do not use \.
752 (inferior-octave-complete-impossible): Remove.
753 (inferior-octave-completion-table)
754 (inferior-octave-completion-at-point): Remove its uses.
755 (inferior-octave-startup): completion_matches was introduced to
756 Octave in 1996 so safe to assume it.
757 (octave-function-file-comment): Improve to follow how Octave does it.
758 (octave-update-function-file-comment): Tweak.
759
760 2013-04-29 Leo Liu <sdl.web@gmail.com>
761
762 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
763 (inferior-octave-startup): Remove inferior-octave-startup-hook.
764 (octave-function-file-comment): Fix typo.
765 (octave-sync-function-file-names): Use read-char-choice.
766
767 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
768
769 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
770 to t for the less important warnings.
771
772 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
773
774 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
775
776 2013-04-27 Glenn Morris <rgm@gnu.org>
777
778 * vc/log-view.el (log-view-current-entry):
779 Treat "---" separator lines as part of the following rev. (Bug#14169)
780
781 2013-04-27 Juri Linkov <juri@jurta.org>
782
783 * subr.el (read-number): Doc fix about using it by interactive
784 code letter `n'. (Bug#14254)
785
786 2013-04-27 Juri Linkov <juri@jurta.org>
787
788 * desktop.el (desktop-auto-save-timeout): New option.
789 (desktop-file-checksum): New variable.
790 (desktop-save): Add optional arg `auto-save' and don't auto-save
791 if nothing changed.
792 (desktop-auto-save-timer): New variable.
793 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
794 (after-init-hook): Call `desktop-auto-save-set-timer'.
795 Suggested by Reuben Thomas <rrt@sc3d.org> in
796 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
797
798 2013-04-27 Leo Liu <sdl.web@gmail.com>
799
800 * progmodes/octave.el (octave-function-file-p)
801 (octave-skip-comment-forward, octave-function-file-comment)
802 (octave-update-function-file-comment): New functions.
803 (octave-mode-map): Bind C-c ; to
804 octave-update-function-file-comment.
805 (octave-mode-menu): Add octave-update-function-file-comment.
806 (octave-mode, inferior-octave-mode): Fix doc-string.
807 (octave-insert-defun): Conform to Octave's coding convention.
808 (Bug#14285)
809
810 * files.el (basic-save-buffer): Don't let errors in
811 before-save-hook prevent saving buffer.
812
813 2013-04-20 Roland Winkler <winkler@gnu.org>
814
815 * faces.el (read-face-name): Use completing-read if arg multiple
816 is nil.
817
818 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
819
820 * ls-lisp.el (ls-lisp-insert-directory): If no files are
821 displayed, move point to after the totals line.
822 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
823 for the details.
824
825 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * emacs-lisp/package.el (package-autoload-ensure-default-file):
828 Add current dir to the load-path.
829 (package-generate-autoloads): Don't rely on
830 autoload-ensure-default-file.
831
832 2013-04-26 Reuben Thomas <rrt@sc3d.org>
833
834 * textmodes/remember.el (remember-store-in-files): Document that
835 the file name format is passed to `format-time-string'.
836
837 2013-04-26 Leo Liu <sdl.web@gmail.com>
838
839 * progmodes/octave.el (octave-sync-function-file-names): New function.
840 (octave-mode): Use it in before-save-hook.
841
842 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
845 (bug#14274).
846
847 * progmodes/octave.el (octave-smie-forward-token): Properly skip
848 \n and comment, even if it's not an implicit ; (bug#14218).
849
850 2013-04-26 Glenn Morris <rgm@gnu.org>
851
852 * subr.el (read-number): Once more use `read' rather than
853 `string-to-number', to trap non-numeric input. (Bug#14254)
854
855 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
856
857 * emacs-lisp/syntax.el (syntax-propertize-multiline):
858 Use `syntax-multiline' text property consistently instead of
859 `font-lock-multiline'. (bug#14237).
860
861 2013-04-26 Glenn Morris <rgm@gnu.org>
862
863 * emacs-lisp/shadow.el (list-load-path-shadows):
864 No longer necessary to check for duplicate simple.el, since
865 2012-07-07 change to init_lread to not include installation lisp
866 directories in load-path when running uninstalled. (Bug#14270)
867
868 2013-04-26 Leo Liu <sdl.web@gmail.com>
869
870 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
871 (octave-mode, inferior-octave-mode): Use setq-local.
872 (octave-not-in-string-or-comment-p): Rename to
873 octave-in-string-or-comment-p.
874 (octave-in-comment-p, octave-in-string-p)
875 (octave-in-string-or-comment-p): Replace defsubst with defun.
876
877 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
878
879 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
880
881 2013-04-25 Bastien Guerry <bzg@gnu.org>
882
883 * textmodes/remember.el (remember-data-directory)
884 (remember-directory-file-name-format): Fix custom types.
885
886 2013-04-25 Leo Liu <sdl.web@gmail.com>
887
888 * progmodes/octave.el (octave-completion-at-point-function):
889 Make use of inferior octave process.
890 (octave-initialize-completions): Remove.
891 (inferior-octave-completion-table): New function.
892 (inferior-octave-completion-at-point): Use it.
893 (octave-completion-alist): Remove.
894
895 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * progmodes/opascal.el: Use font-lock and syntax-propertize.
898 (opascal-mode-syntax-table): New var.
899 (opascal-literal-kind, opascal-is-literal-end)
900 (opascal-literal-token-at): Rewrite.
901 (opascal--literal-start-re, opascal-font-lock-keywords)
902 (opascal--syntax-propertize): New constants.
903 (opascal-font-lock-defaults): Adjust.
904 (opascal-mode): Use them. Set comment-<foo> variables as well.
905 (delphi-comment-face, opascal-comment-face, delphi-string-face)
906 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
907 (delphi-other-face, opascal-other-face): Remove face variables.
908 (opascal-save-state): Remove macro.
909 (opascal-fontifying-progress-step): Remove constant.
910 (opascal--ignore-changes): Remove var.
911 (opascal-set-token-property, opascal-parse-next-literal)
912 (opascal-is-stable-literal, opascal-complete-literal)
913 (opascal-is-literal-start, opascal-face-of)
914 (opascal-parse-region, opascal-parse-region-until-stable)
915 (opascal-fontify-region, opascal-after-change)
916 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
917 (opascal-debug-parse-region, opascal-debug-parse-window)
918 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
919 (opascal-debug-fontify-buffer): Remove.
920 (opascal-debug-mode-map): Adjust accordingly.
921
922 2013-04-25 Leo Liu <sdl.web@gmail.com>
923
924 Merge octave-mod.el and octave-inf.el into octave.el with some
925 cleanups.
926 * progmodes/octave.el: New file renamed from octave-mod.el.
927 * progmodes/octave-inf.el: Merged into octave.el.
928 * progmodes/octave-mod.el: Renamed to octave.el.
929
930 2013-04-25 Tassilo Horn <tsdh@gnu.org>
931
932 * textmodes/reftex-vars.el
933 (reftex-label-ignored-macros-and-environments): New defcustom.
934
935 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
936
937 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
940 (smie-indent-keyword): Improve the check to ensure that the next
941 comment is really on the same line.
942 (smie-indent-comment): Don't align with a subsequent closer (or eob).
943
944 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
945 semi-colons if the line is not otherwise empty (bug#14218).
946
947 2013-04-25 Glenn Morris <rgm@gnu.org>
948
949 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
950
951 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 * progmodes/opascal.el (opascal-set-token-property): Rename from
954 opascal-set-text-properties and only set `token' (bug#14134).
955 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
956 (opascal-literal-text-properties): Remove.
957 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
958 Adjust callers.
959
960 2013-04-24 Reuben Thomas <rrt@sc3d.org>
961
962 * textmodes/remember.el (remember-handler-functions): Add an
963 option for a new handler `remember-store-in-files'.
964 (remember-data-directory, remember-directory-file-name-format):
965 New options.
966 (remember-store-in-files): New function to store remember notes
967 as separate files within a directory.
968
969 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
970
971 * progmodes/compile.el (compilation-next-error-function):
972 Pass "formats" to compilation-find-file (bug#11777).
973
974 2013-04-24 Glenn Morris <rgm@gnu.org>
975
976 * vc/vc-bzr.el (vc-bzr-print-log):
977 * vc/vc-hg.el (vc-hg-print-log):
978 * vc/vc-svn.el (vc-svn-print-log):
979 Fix START-REVISION with LIMIT != 1. (Bug#14168)
980
981 * vc/vc-bzr.el (vc-bzr-print-log):
982 * vc/vc-cvs.el (vc-cvs-print-log):
983 * vc/vc-git.el (vc-git-print-log):
984 * vc/vc-hg.el (vc-hg-print-log):
985 * vc/vc-mtn.el (vc-mtn-print-log):
986 * vc/vc-rcs.el (vc-rcs-print-log):
987 * vc/vc-sccs.el (vc-sccs-print-log):
988 * vc/vc-svn.el (vc-svn-print-log):
989 * vc/vc.el (vc-print-log-internal): Doc fixes.
990
991 2013-04-23 Glenn Morris <rgm@gnu.org>
992
993 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
994 Remove venerable code attempting to avoid substitute-command-keys.
995
996 2013-04-23 Tassilo Horn <tsdh@gnu.org>
997
998 * textmodes/reftex-vars.el (reftex-label-regexps):
999 Call `reftex-compile-variables' after changes to this variable.
1000
1001 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1004 Use lexical-binding.
1005 (jit-lock-force-redisplay): Use markers, check buffer's continued
1006 existence and beware narrowed buffers.
1007 (jit-lock-fontify-now): Adjust call accordingly.
1008
1009 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1012 to avoid misleading the user.
1013
1014 2013-04-22 Leo Liu <sdl.web@gmail.com>
1015
1016 * info-look.el: Prefer latex2e.info. (Bug#14240)
1017
1018 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1019
1020 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1021
1022 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1023 * net/tramp.el (tramp-call-process): ... here
1024 (tramp-set-completion-function, tramp-parse-putty):
1025 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1026 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1027 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1028 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1029 (tramp-call-local-coding-command): Use `tramp-call-process'
1030 instead of `tramp-compat-call-process'.
1031
1032 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1033 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1034 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1035 (tramp-find-inline-compress):Improve traces.
1036 (tramp-maybe-send-script): Check for Perl binary.
1037 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1038
1039 2013-04-22 Daiki Ueno <ueno@gnu.org>
1040
1041 * epg.el (epg-context-pinentry-mode): New function.
1042 (epg-context-set-pinentry-mode): New function.
1043 (epg--start): Pass --pinentry-mode option to gpg command.
1044
1045 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1046
1047 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1048 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1049 `completion-at-point'. (Bug#13774)
1050
1051 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1052 default key binding for `describe-distribution' has been moved to
1053 `C-h C-o'. (Bug#13970)
1054
1055 2013-04-21 Glenn Morris <rgm@gnu.org>
1056
1057 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1058 Add doc strings.
1059 (vc-print-log): Clarify interactive prompt.
1060
1061 2013-04-20 Glenn Morris <rgm@gnu.org>
1062
1063 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1064 No longer include timestamp etc information.
1065
1066 2013-04-20 Roland Winkler <winkler@gnu.org>
1067
1068 * faces.el (read-face-name): Bug fix, return just one face if arg
1069 multiple is nil. (Bug#14209)
1070
1071 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1074 (remove-function): Autoload.
1075
1076 * comint.el (comint-redirect-original-filter-function): Remove.
1077 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1078 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1079 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1080 * progmodes/prolog.el (prolog-consult-compile):
1081 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1082 Use add/remove-function instead.
1083 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1084 (gud-tooltip-process-output, gud-tooltip-tips):
1085 Use add/remove-function instead.
1086 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1087 (scheme-interaction-mode, exit-scheme-interaction-mode):
1088 Use add/remove-function instead.
1089
1090 * vc/vc-dispatcher.el: Use lexical-binding.
1091 (vc--process-sentinel): Rename from vc-process-sentinel.
1092 Change last arg to be the code to run. Don't use vc-previous-sentinel
1093 and vc-sentinel-commands any more.
1094 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1095 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1096
1097 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1098
1099 * progmodes/sh-script.el (sh-imenu-generic-expression):
1100 Handle function names with a single character. (Bug#14111)
1101
1102 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1103
1104 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1105 for subroutines defined in an eval (bug#14182).
1106
1107 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1108
1109 * bookmark.el (bookmark-completing-read): Improve handling of empty
1110 string (bug#14176).
1111
1112 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1115
1116 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1117
1118 New faster Imenu implementation (bug#14058).
1119 * progmodes/python.el:
1120 (python-imenu-prev-index-position):
1121 (python-imenu-format-item-label-function)
1122 (python-imenu-format-parent-item-label-function)
1123 (python-imenu-format-parent-item-jump-label-function):
1124 New vars.
1125 (python-imenu-format-item-label)
1126 (python-imenu-format-parent-item-label)
1127 (python-imenu-format-parent-item-jump-label)
1128 (python-imenu--put-parent, python-imenu--build-tree)
1129 (python-imenu-create-index, python-imenu-create-flat-index)
1130 (python-util-popn): New functions.
1131 (python-mode): Set imenu-create-index-function to
1132 python-imenu-create-index.
1133
1134 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * winner.el (winner-active-region): Use region-active-p, activate-mark
1137 and deactivate-mark (bug#14225).
1138
1139 * simple.el (deactivate-mark): Don't inline it.
1140
1141 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1142
1143 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1144
1145 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1146
1147 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1148 file extensions from the archive-mode entry in order to prefer
1149 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1150
1151 2013-04-18 Leo Liu <sdl.web@gmail.com>
1152
1153 * bindings.el (help-event-list): Add ?\?.
1154
1155 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * subr.el (with-wrapper-hook): Declare obsolete.
1158 * simple.el (filter-buffer-substring-function): New hook.
1159 (filter-buffer-substring): Use it.
1160 (filter-buffer-substring-functions): Mark obsolete.
1161 * minibuffer.el (completion-in-region-function): New hook.
1162 (completion-in-region): Use it.
1163 (completion-in-region-functions): Mark obsolete.
1164 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1165 * abbrev.el (abbrev-expand-function): New hook.
1166 (expand-abbrev): Use it.
1167 (abbrev-expand-functions): Mark obsolete.
1168 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1169 and :filter-return.
1170
1171 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1172
1173 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1174 and do not care about match data.
1175
1176 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1179 completion tables when completing error conditions and
1180 `declare' arguments.
1181 (lisp-complete-symbol, field-complete): Mark as obsolete.
1182 (check-parens): Unmatched parens are user errors.
1183 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1184
1185 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1186
1187 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1188 command changed buffer (ie. `flyspell-pre-buffer' is not current
1189 buffer), which prevents making decisions based on invalid value of
1190 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1191 cause an error when `flyspell-pre-point' was nil after switching
1192 buffers.
1193 (flyspell-post-command-hook): No longer needs to change buffers when
1194 checking pre-word. While at it remove unnecessary progn.
1195
1196 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1197
1198 * textmodes/ispell.el (ispell-add-per-file-word-list):
1199 Fix `flyspell-correct-word-before-point' error when accepting
1200 words and `coment-padding' is an integer by using
1201 `comment-normalize-vars' (Bug #14214).
1202
1203 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1204
1205 New defun movement commands.
1206 * progmodes/python.el (python-nav--syntactically)
1207 (python-nav--forward-defun, python-nav-backward-defun)
1208 (python-nav-forward-defun): New functions.
1209
1210 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1211
1212 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1213 (python-syntax-context): Use named compiler-macro for backwards
1214 compatibility with Emacs 24.x.
1215
1216 2013-04-17 Leo Liu <sdl.web@gmail.com>
1217
1218 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1219 octave-hide-process-buffer.
1220
1221 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1224 (bug#14216).
1225
1226 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1227
1228 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1229 Fix adjustment of offset when receiving incomplete responses from GDB
1230 (bug#14129).
1231
1232 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1235 python-mode-abbrev-table.
1236 (python-skeleton-define): Adjust accordingly.
1237 (python-mode-abbrev-table): New table that inherits from it so that
1238 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1239
1240 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1241 (abbrev-symbol): Use it.
1242 (abbrev--before-point): Use it since we already handle inheritance.
1243
1244 2013-04-16 Leo Liu <sdl.web@gmail.com>
1245
1246 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1247 binding to info-lookup-symbol.
1248
1249 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1250
1251 * minibuffer.el (completion--twq-all):
1252 * term/ns-win.el (ns-initialize-window-system):
1253 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1254
1255 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1258 global bindings.
1259
1260 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1261
1262 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1263
1264 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1265 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1266 to nil.
1267 (ruby-end-of-defun): Remove the unused arg, change the docstring
1268 to reflect that this function is only used as the value of
1269 `end-of-defun-function'.
1270 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1271 to reflect an earlier change that beginning/end-of-defun functions
1272 jump between methods in a class definition, as well as top-level
1273 functions.
1274
1275 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * minibuffer.el (minibuffer-complete): Don't just scroll
1278 a *Completions* that's been iconified.
1279 (minibuffer-force-complete): Make sure repetitions do cycle when going
1280 through completion-in-region -> minibuffer-complete.
1281
1282 2013-04-15 Alan Mackenzie <acm@muc.de>
1283
1284 Correct the placement of c-cpp-delimiters when there're #s not at
1285 col 0.
1286
1287 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1288 place a submatch around the #.
1289 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1290 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1291 on the #, not BOL.
1292
1293 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1296 (advice--member-p): New arg `name'.
1297 (advice--add-function, advice-member-p): Use it (bug#14202).
1298
1299 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1300
1301 Reformulate java imenu-generic-expression.
1302 The old expression contained ill formed regexps.
1303
1304 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1305 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1306 (cc-imenu-java-method-arg-regexp): New defconsts.
1307 (cc-imenu-java-build-type-args-regex): New defun.
1308 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1309 handling of spaces in the regexp.
1310
1311 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1312
1313 * textmodes/ispell.el (ispell-command-loop): Remove
1314 flyspell highlight of a word when ispell accepts it (bug #14178).
1315
1316 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1317
1318 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1319 uses code from the previous `ange-ftp-run-real-handler'.
1320 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1321 only in case that function exist. This is needed for proper
1322 unloading of Tramp.
1323
1324 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1325
1326 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1327
1328 * textmodes/reftex.el (reftex-compile-variables): Use it.
1329
1330 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * files.el (normal-mode): Only use default major-mode if no other mode
1333 was specified.
1334
1335 * emacs-lisp/trace.el (trace-values): New function.
1336
1337 * files.el: Allow : in local variables (bug#14089).
1338 (hack-local-variable-regexp): New var.
1339 (hack-local-variables-prop-line, hack-local-variables): Use it.
1340
1341 2013-04-13 Roland Winkler <winkler@gnu.org>
1342
1343 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1344 data before it gets modified by bibtex-beginning-of-entry.
1345
1346 2013-04-13 Roland Winkler <winkler@gnu.org>
1347
1348 * textmodes/bibtex.el (bibtex-url): Doc fix.
1349
1350 2013-04-13 Roland Winkler <winkler@gnu.org>
1351
1352 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1353 does not visit a BibTeX file, exclude it from the list of buffers
1354 returned by bibtex-initialize.
1355
1356 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1357
1358 * window.el (split-window): Remove interactive form, since as a
1359 command this function is a special case of split-window-below.
1360 Correct doc string.
1361
1362 2013-04-12 Roland Winkler <winkler@gnu.org>
1363
1364 * faces.el (read-face-name): Do not override value of arg default.
1365 Allow single faces and strings as default values. Remove those
1366 elements from return value that are not faces.
1367 (describe-face): Simplify.
1368 (face-at-point): New optional args thing and multiple so that this
1369 function can provide the same functionality previously provided by
1370 read-face-name.
1371 (make-face-bold, make-face-unbold, make-face-italic)
1372 (make-face-unitalic, make-face-bold-italic, invert-face)
1373 (modify-face, read-face-and-attribute): Use face-at-point.
1374
1375 * cus-edit.el (customize-face, customize-face-other-window)
1376 * cus-theme.el (custom-theme-add-face)
1377 * face-remap.el (buffer-face-set)
1378 * facemenu.el (facemenu-set-face): Use face-at-point.
1379
1380 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1383
1384 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1385
1386 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1387 off leading { and trailing } from field values.
1388
1389 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * emacs-lisp/timer.el (timer--check): New function.
1392 (timer--time, timer-set-function, timer-event-handler): Use it.
1393 (timer-set-idle-time): Simplify.
1394 (timer--activate): CSE.
1395 (timer-event-handler): Give more info in error message.
1396 (internal-timer-start-idle): New function, moved from C.
1397
1398 * mpc.el (mpc-proc): Add `restart' argument.
1399 (mpc-proc-cmd): Use it.
1400 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1401 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1402 less often.
1403
1404 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1405
1406 * progmodes/sh-script.el: Implement `sh-mode' own
1407 `add-log-current-defun-function' (bug#14112).
1408 (sh-current-defun-name): New function.
1409 (sh-mode): Use the function.
1410
1411 2013-04-09 Bastien Guerry <bzg@gnu.org>
1412
1413 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1414
1415 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1418
1419 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1420 timer (bug#14156).
1421
1422 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1423
1424 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1425 declaration.
1426
1427 2013-04-07 Leo Liu <sdl.web@gmail.com>
1428
1429 * pcmpl-x.el: New file.
1430
1431 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1432
1433 Do not set x-display-name until X connection is established.
1434 This is needed to prevent from weird situation described at
1435 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1436 * frame.el (make-frame): Set x-display-name after call to
1437 window system initialization function, not before.
1438 * term/x-win.el (x-initialize-window-system): Add optional
1439 display argument and use it.
1440 * term/w32-win.el (w32-initialize-window-system):
1441 * term/ns-win.el (ns-initialize-window-system):
1442 * term/pc-win.el (msdos-initialize-window-system):
1443 Add compatible optional display argument.
1444
1445 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1446
1447 * files.el (normal-backup-enable-predicate): On MS-Windows and
1448 MS-DOS compare truenames of temporary-file-directory and of the
1449 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1450 don't fail comparison by compare-strings. Also, compare file
1451 names case-insensitively on MS-Windows and MS-DOS.
1452
1453 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1454
1455 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1456 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1457
1458 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1459
1460 * whitespace.el (whitespace-color-on, whitespace-color-off):
1461 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1462
1463 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1464
1465 * ispell.el (ispell-set-spellchecker-params):
1466 Really set `ispell-args' for all equivs.
1467
1468 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * ido.el (ido-completions): Use extra elements of ido-decorations
1471 (bug#14143).
1472 (ido-decorations): Update docstring.
1473
1474 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1475
1476 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1477 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1478 nil during initialization, in order not to miss changes since the
1479 file was opened. (Bug#14140)
1480
1481 2013-04-05 Leo Liu <sdl.web@gmail.com>
1482
1483 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1484
1485 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1486
1487 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1488
1489 2013-04-04 Glenn Morris <rgm@gnu.org>
1490
1491 * electric.el (electric-pair-inhibit-predicate): Add :version.
1492
1493 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1496 when a package is required several times (bug#14082).
1497
1498 2013-04-04 Roland Winkler <winkler@gnu.org>
1499
1500 * faces.el (read-face-name): Behave as promised by the docstring.
1501 Assume that arg default is a list of faces.
1502 (describe-face): Call read-face-name with list of default faces.
1503
1504 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1505
1506 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1507 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1508 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1509 the header.
1510 (bookmark-exit-hook-internal): Save even if list is empty.
1511
1512 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1513
1514 * emacs-lisp/package.el (package-pinned-packages): New var.
1515 (package--add-to-archive-contents): Obey it (bug#14118).
1516
1517 2013-04-03 Alan Mackenzie <acm@muc.de>
1518
1519 Handle `parse-partial-sexp' landing inside a comment opener
1520 (Bug#13244). Also adapt to the new values of element 7 of a parse
1521 state.
1522
1523 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1524 parameter `not-in-delimiter'. Handle being inside comment opener.
1525 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1526 character in case we're typing a '*' after a '/'.
1527 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1528 instead by passing the parameter to c-state-pp-to-literal.
1529
1530 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1531 for elt. 7 of a parse state.
1532
1533 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1534
1535 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1536 * international/latin1-disp.el, international/mule-util.el:
1537 * language/cyril-util.el, language/european.el, language/ind-util.el:
1538 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1539 * language/tibetan.el, language/viet-util.el:
1540 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1541
1542 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1545 (electric-pair-post-self-insert-function): Use it.
1546 (electric-pair-default-inhibit): New function, extracted from
1547 electric-pair-post-self-insert-function.
1548
1549 2013-03-31 Roland Winkler <winkler@gnu.org>
1550
1551 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1552
1553 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1556
1557 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1558
1559 Un-indent after "pass" and "return" statements (Bug#13888)
1560 * progmodes/python.el (python-indent-block-enders): New var.
1561 (python-indent-calculate-indentation): Use it.
1562
1563 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1564
1565 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1566 defun. Defining it as defalias could introduce too eager
1567 byte-compiler optimization. (Bug#14030)
1568
1569 2013-03-30 Chong Yidong <cyd@gnu.org>
1570
1571 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1572
1573 2013-03-30 Leo Liu <sdl.web@gmail.com>
1574
1575 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1576 (kmacro-execute-from-register): Pass the keyboard macro to
1577 kmacro-call-macro or repeating won't work correctly.
1578
1579 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1580
1581 * progmodes/subword.el: Back to using `forward-symbol'.
1582
1583 * subr.el (forward-whitespace, forward-symbol)
1584 (forward-same-syntax): Move from thingatpt.el.
1585
1586 2013-03-29 Leo Liu <sdl.web@gmail.com>
1587
1588 * kmacro.el (kmacro-to-register): New command.
1589 (kmacro-execute-from-register): New function.
1590 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1591
1592 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * mpc.el: Use defvar-local and setq-local.
1595 (mpc--proc-connect): Connection failures are not bugs.
1596 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1597 (mpc-volume-map): Bind to the up-events.
1598
1599 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1600
1601 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1602 instead of `forward-symbol'.
1603
1604 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1607 (edebug--recursive-edit): Use it.
1608 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1609 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1610
1611 2013-03-28 Leo Liu <sdl.web@gmail.com>
1612
1613 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1614
1615 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1616
1617 * facemenu.el (list-colors-callback): New defvar.
1618 (list-colors-redisplay): New function.
1619 (list-colors-display): Install list-colors-redisplay as the
1620 revert-buffer-function. (Bug#14063)
1621
1622 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1625 and suffixes don't overlap (bug#14061).
1626
1627 * case-table.el: Use lexical-binding.
1628 (case-table-get-table): New function.
1629 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1630
1631 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1632
1633 * progmodes/subword.el: Add `superword-mode' to do word motion
1634 over symbol_words (parallels and leverages `subword-mode' which
1635 does word motion inside MixedCaseWords).
1636
1637 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1638
1639 * eshell/em-unix.el: Move su and sudo to...
1640 * eshell/em-tramp.el: ...Eshell tramp module.
1641
1642 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1645 Change return value to be a sexp. Delay `get-buffer' to after
1646 restoring the desktop (bug#13951).
1647
1648 2013-03-26 Leo Liu <sdl.web@gmail.com>
1649
1650 * register.el: Move semantic tag handling back to
1651 cedet/semantic/senator.el. (Bug#14052)
1652
1653 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1656 into the prompt either (bug#13963).
1657
1658 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1661 part of "(error-foo)".
1662
1663 2013-03-24 Juri Linkov <juri@jurta.org>
1664
1665 * replace.el (list-matching-lines-prefix-face): New defcustom.
1666 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1667 `occur-engine' if `face-differs-from-default-p' returns t.
1668 (occur-engine): Add `,' inside backquote construct to evaluate
1669 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1670 Pass `prefix-face' to the functions `occur-context-lines' and
1671 `occur-engine-add-prefix'.
1672 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1673 `prefix-face' and propertize the prefix with `prefix-face'.
1674 (Bug#14017)
1675
1676 2013-03-24 Leo Liu <sdl.web@gmail.com>
1677
1678 * nxml/rng-valid.el (rng-validate-while-idle)
1679 (rng-validate-quick-while-idle): Guard against deleted buffer.
1680 (Bug#13999)
1681
1682 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1683 is the last entry in kill-buffer-hook.
1684
1685 * files.el (kill-buffer-hook): Doc fix.
1686
1687 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1688
1689 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1690 Make it safe-local.
1691
1692 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1693
1694 2013-03-23 Leo Liu <sdl.web@gmail.com>
1695
1696 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1697 Remove.
1698
1699 * nxml/rng-valid.el (rng-validate-mode)
1700 (rng-after-change-function, rng-do-some-validation):
1701 * nxml/rng-maint.el (rng-validate-buffer):
1702 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1703 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1704 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1705 (nxml-extend-after-change-region): Use with-silent-modifications.
1706
1707 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1708 timer-idle-list.
1709
1710 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1711 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1712 timer-idle-list. (Bug#13999)
1713
1714 2013-03-23 Juri Linkov <juri@jurta.org>
1715
1716 * info.el (info-index-match): New face.
1717 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1718 main pattern and add text properties with the new face to matches
1719 in index entries relative to the beginning of the index entry.
1720 (Bug#14015)
1721
1722 2013-03-21 Eric Ludlam <zappo@gnu.org>
1723
1724 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1725 Inhibit read only while inserting objects.
1726
1727 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1728
1729 * progmodes/cfengine.el: Update docs to mention
1730 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1731 symbol motion. Remove "_" from the word syntax.
1732
1733 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1734
1735 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1736 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1737
1738 2013-03-20 Juri Linkov <juri@jurta.org>
1739
1740 * info.el (Info-next-reference-or-link)
1741 (Info-prev-reference-or-link): New functions.
1742 (Info-next-reference, Info-prev-reference): Use them.
1743 (Info-try-follow-nearest-node): Handle footnote navigation.
1744 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1745
1746 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1749 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1750
1751 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1752
1753 Suppress unnecessary non-ASCII chatter during build process.
1754 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1755 (batch-skkdic-convert): Suppress most of the chatter.
1756 It's not needed so much now that machines are faster,
1757 and its non-ASCII component was confusing; see Dmitry Gutov in
1758 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1759
1760 2013-03-20 Leo Liu <sdl.web@gmail.com>
1761
1762 * ido.el (ido-chop): Fix bug#10994.
1763
1764 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1765
1766 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1767 Remove vars.
1768 (whitespace-color-on, whitespace-color-off):
1769 Use `font-lock-fontify-buffer' (Bug#13817).
1770
1771 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1774 remapping in mode-line.
1775 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1776
1777 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1780 value for `whitespace-line' face (Bug#13875).
1781 (whitespace-font-lock-keywords): Change description.
1782 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1783 the constructed keywords instead.
1784 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1785
1786 2013-03-19 Leo Liu <sdl.web@gmail.com>
1787
1788 * progmodes/compile.el (compilation-display-error): New command.
1789 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1790 C-o. (Bug#13992)
1791
1792 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1793
1794 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1795
1796 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1797
1798 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1799
1800 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1801
1802 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1803
1804 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1805 * net/tramp-gvfs.el (top):
1806 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1807 (tramp-handle-shell-command): Use it.
1808 (tramp-dissect-file-name): Raise an error when hostname is a
1809 method name, and neither method nor user is specified.
1810
1811 * net/trampver.el: Update release number.
1812
1813 2013-03-18 Leo Liu <sdl.web@gmail.com>
1814
1815 Make sure eldoc can be turned off properly.
1816 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1817 eldoc-mode.
1818 (eldoc-display-message-p): Revert last change.
1819 (eldoc-display-message-no-interference-p)
1820 (eldoc-print-current-symbol-info): Tweak.
1821
1822 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1823
1824 * doc-view.el (doc-view-new-window-function): Check the new window
1825 overlay's display property instead the char property of the
1826 buffer's first char. Use `with-selected-window' instead of
1827 `save-window-excursion' with `select-window'.
1828 (doc-view-document->bitmap): Check the current doc-view overlay's
1829 display property instead the char property of the buffer's first char.
1830
1831 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1832
1833 Automate the build of ja-dic.el (Bug#13984).
1834 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1835 from the input, rather than assume that it's been done for us by the
1836 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1837 the current date into a ja-dic.el comment, as that complicates
1838 regression testing.
1839
1840 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * whitespace.el: Fix double evaluation.
1843 (whitespace-space, whitespace-hspace, whitespace-tab)
1844 (whitespace-newline, whitespace-trailing, whitespace-line)
1845 (whitespace-space-before-tab, whitespace-indentation)
1846 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1847 obsolete defvars.
1848 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1849 (whitespace-color-on): Use a single font-lock-add-keywords call.
1850 Fix double-evaluation of face variables.
1851
1852 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1853
1854 * net/tramp-adb.el (tramp-adb-parse-device-names):
1855 Use `start-process' instead of `call-process'. Otherwise, the
1856 function might be blocked under MS Windows. (Bug#13299)
1857
1858 2013-03-17 Leo Liu <sdl.web@gmail.com>
1859
1860 Extend eldoc to display info in the mode-line. (Bug#13978)
1861 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1862 (eldoc-mode-line-string): New variable.
1863 (eldoc-minibuffer-message): New function.
1864 (eldoc-message-function): New variable.
1865 (eldoc-message): Use it.
1866 (eldoc-display-message-p)
1867 (eldoc-display-message-no-interference-p):
1868 Support eldoc-post-insert-mode.
1869
1870 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1871 (eval-expression): Run it.
1872
1873 2013-03-17 Roland Winkler <winkler@gnu.org>
1874
1875 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1876 strings in the list of return values.
1877
1878 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1879
1880 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1881 radix before checking for HMS forms.
1882
1883 2013-03-16 Leo Liu <sdl.web@gmail.com>
1884
1885 * progmodes/scheme.el: Add indentation and font-locking for λ.
1886 (Bug#13975)
1887
1888 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1891 token before point (bug#13942).
1892
1893 2013-03-16 Leo Liu <sdl.web@gmail.com>
1894
1895 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1896
1897 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1898
1899 * startup.el (command-line-normalize-file-name): Fix handling of
1900 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1901 <xfq.free@gmail.com> in
1902 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1903
1904 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1905
1906 Sync with Tramp 2.2.7.
1907
1908 * net/trampver.el: Update release number.
1909
1910 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1911
1912 * doc-view.el Fix bug#13887.
1913 (doc-view-insert-image): Don't modify overlay associated to
1914 non-live windows, and implement horizontal centering of image in
1915 case it's smaller than the window.
1916 (doc-view-new-window-function): Force redisplay of new windows on
1917 doc-view buffers.
1918
1919 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1920
1921 * saveplace.el (save-place-alist-to-file): Don't sort
1922 `save-place-alist', just pretty-print it (bug#13882).
1923
1924 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1925
1926 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1927 whether `default-file-name-coding-system' is bound. It isn't in
1928 XEmacs.
1929
1930 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1933 backquotes for `obsolete' (bug#13929).
1934
1935 * international/mule.el (find-auto-coding): Include file name in
1936 obsolescence warning (bug#13922).
1937
1938 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1939
1940 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1941 for CFEngine 3-specific indentation.
1942 (cfengine3-indent-line): Use it. Fix up category regex.
1943 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1944
1945 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * type-break.el (type-break-file-name):
1948 * textmodes/remember.el (remember-data-file):
1949 * strokes.el (strokes-file):
1950 * shadowfile.el (shadow-initialize):
1951 * saveplace.el (save-place-file):
1952 * ps-bdf.el (bdf-cache-file):
1953 * progmodes/idlwave.el (idlwave-config-directory):
1954 * net/quickurl.el (quickurl-url-file):
1955 * international/kkc.el (kkc-init-file-name):
1956 * ido.el (ido-save-directory-list-file):
1957 * emulation/viper.el (viper-custom-file-name):
1958 * emulation/vip.el (vip-startup-file):
1959 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1960 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1961
1962 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1963
1964 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1965 * language/thai-word.el: Switch to UTF-8.
1966
1967 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1970
1971 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1972
1973 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1974 Use with-current-buffer and don't move point.
1975 (net-utils-run-simple): Remove useless code.
1976 (net-utils-remove-ctl-m): Remove unused custom.
1977
1978 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1979
1980 * international/characters.el (glyphless-set-char-table-range): New fun.
1981 (update-glyphless-char-display): Use it (bug#13744).
1982
1983 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1984
1985 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1986 namespaces in the syntax, indent closer for hanging brace
1987 correctly, allow single-quote delimited 'strings', and make
1988 `cfengine3-mode' the default.
1989
1990 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1991
1992 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1993 Use lexical-binding. Fix up docstring according to conventions.
1994 (gdbmi-debug-mode): New var.
1995 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1996 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1997 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1998 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1999 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2000 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2001 (gdbmi-bnf-incomplete-record-result): New functions.
2002 (gdb-car<): Remove function.
2003 (gdbmi-record-list): Remove variable.
2004 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2005 (gdbmi-bnf-result-state-configs): New const.
2006 (gud-gdbmi-marker-filter): Rewrite.
2007 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2008 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2009 Add `token' argument.
2010 (gdb-done, gdb-error): New functions.
2011 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2012
2013 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * term/xterm.el (xterm--report-background-handler): Don't burp
2016 upon timeout.
2017 (xterm--version-handler): Extract from terminal-init-xterm.
2018 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2019 Allow multiple handlers.
2020 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2021
2022 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2023 (xterm--report-background-handler, xterm--query): New functions.
2024 (terminal-init-xterm): Use them.
2025
2026 2013-03-11 Michael R. Mauger <michael@mauger.com>
2027
2028 * progmodes/sql.el Version 3.2
2029 Please note that my address changed to <michael@mauger.com>;
2030 the <mmaug@yahoo.com> address remains active.
2031 (sql-connection-alist): Updates documentation to fix bug#13715.
2032 (sql-connect): Handle missing `sql-connection-alist' correctly.
2033 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2034 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2035 property.
2036 (sql-default-value): New function.
2037 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2038 values were not used.
2039 (sql-rename-buffer): Make sure alternate buffer name has no text
2040 properties.
2041 (sql-input-sender, sql-execute-feature): Fetch variable with
2042 `buffer-local-value' rather than `with-current-buffer'.
2043 (sql-*): Use #' function syntax consistently.
2044 (sql-*): Use message/error/user-error consistently.
2045
2046 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * xt-mouse.el (xterm-mouse-event-read): Remove.
2049 (xterm-mouse--read-event-sequence-1000)
2050 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2051
2052 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * term/xterm.el (xterm-function-map): Support format used with
2055 formatOtherKeys=1 (bug#13839).
2056
2057 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2058 (with-no-warnings): Use `declare'.
2059
2060 * whitespace.el (whitespace-enable-predicate): New variable.
2061 (whitespace-enable-predicate): Use it.
2062
2063 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2064 (comint-output-filter, comint-update-fence):
2065 Use with-silent-modifications.
2066
2067 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2068
2069 * replace.el (occur-read-regexp-defaults-function): New var.
2070 (occur-read-regexp-defaults): New defun.
2071 (occur-read-primary-args): Propagate above change (bug#13892).
2072
2073 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2076
2077 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2078
2079 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2080
2081 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2082 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2083 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2084 New defconst.
2085 (tramp-gvfs-file-name-handler-alist) [directory-files]
2086 [directory-files-and-attributes, file-exists-p, file-modes]:
2087 Use Tramp default handler.
2088 [file-acl, file-selinux-context, process-file, set-file-acl]:
2089 [set-file-modes, set-file-selinux-context, shell-command]:
2090 [start-file-process]: Remove handler.
2091 [verify-visited-file-modtime]: New handler.
2092 (tramp-gvfs-dbus-string-to-byte-array)
2093 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2094 calls of `dbus-string-to-byte-array' and
2095 `tramp-gvfs-dbus-byte-array-to-string'.
2096 (tramp-gvfs-handle-copy-file)
2097 (tramp-gvfs-handle-delete-directory)
2098 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2099 (tramp-gvfs-handle-file-directory-p)
2100 (tramp-gvfs-handle-file-executable-p)
2101 (tramp-gvfs-handle-file-name-all-completions)
2102 (tramp-gvfs-handle-file-readable-p)
2103 (tramp-gvfs-handle-file-writable-p)
2104 (tramp-gvfs-handle-insert-directory)
2105 (tramp-gvfs-handle-insert-file-contents)
2106 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2107 (tramp-gvfs-handle-set-visited-file-modtime)
2108 (tramp-gvfs-handle-write-region): Rewrite.
2109 (tramp-gvfs-handle-file-acl)
2110 (tramp-gvfs-handle-file-selinux-context)
2111 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2112 (tramp-gvfs-handle-set-file-modes)
2113 (tramp-gvfs-handle-set-file-selinux-context)
2114 (tramp-gvfs-handle-shell-command)
2115 (tramp-gvfs-handle-start-file-process)
2116 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2117 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2118 over the symlinks. Fix user handling.
2119 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2120 of the D-Bus signals.
2121 (tramp-gvfs-connection-mounted-p): Handle different names of the
2122 D-Bus methods.
2123 (tramp-gvfs-mount-spec-entry): New defun.
2124 (tramp-gvfs-mount-spec): Use it.
2125 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2126 there is a share name. Handle different names of the D-Bus
2127 signals and methods. Set connection properties needed for
2128 `tramp-check-cached-permissions'.
2129 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2130 Return t or nil.
2131
2132 * net/tramp.el (tramp-backtrace): Move up.
2133 (tramp-error): Dump a backtrace into the debug buffer when
2134 `tramp-verbose > 9.
2135 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2136 (tramp-file-mode-permissions, tramp-get-local-uid)
2137 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2138 tramp-sh.el.
2139
2140 * net/tramp-sh.el (tramp-file-mode-type-map)
2141 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2142 (tramp-file-mode-permissions, tramp-get-local-uid)
2143 (tramp-get-local-gid): Move to tramp.el.
2144
2145 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 Separate mouse-1-click-follows-link from mouse-drag-region.
2148 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2149 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2150 (mouse-drag-line, mouse-drag-track):
2151 Remove mouse-1-click-follows-link code.
2152 (mouse--remap-link-click-p): Remove.
2153
2154 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2155
2156 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2157 (hi-lock-read-regexp-defaults): New defun.
2158 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2159 (hi-lock-face-phrase-buffer): Propagate above change.
2160 Update docstring (bug#13892).
2161
2162 * subr.el (find-tag-default-as-regexp): New defun.
2163 * replace.el (read-regexp): Propagate above change.
2164
2165 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2166
2167 * calc/calc-units.el (calc-convert-units): Fix the way that default
2168 new units are stored.
2169
2170 2013-03-07 Matthias Meulien <orontee@gmail.com>
2171
2172 * bookmark.el: Define a face to highlight bookmark names in
2173 bookmark menu buffers, where the default is a bold face similarly
2174 to buffer names in buffer menu buffers.
2175 (bookmark-menu-bookmark): New face to highlight bookmark names.
2176 (bookmark-insert-location): Remove duplicated text property to
2177 conform to buffer list (see `list-buffers').
2178 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2179 `bookmark-menu-bookmark' to bookmark names.
2180
2181 2013-03-07 Matthias Meulien <orontee@gmail.com>
2182 Karl Fogel <kfogel@red-bean.com>
2183
2184 * bookmark.el: Display the bookmark list header similarly to the
2185 buffer list header (see `list-buffers'), where the default is now
2186 an immovable/immutable header line.
2187 (bookmark-bmenu-use-header-line): New variable.
2188 (bookmark-bmenu-inline-header-height): New name for
2189 `bookmark-bmenu-header-height', to avoid confusion with the code
2190 for the new immovable header. All references changed.
2191 (bookmark-bmenu-set-header): New function.
2192 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2193 Conditionalize header construction accordingly.
2194 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2195 the inline header height.
2196 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2197 Conditionalize the skipping of the inline header height.
2198
2199 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2200
2201 * progmodes/js.el (js--multi-line-declaration-indentation):
2202 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2203
2204 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2205
2206 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2207 Only propertize regexp when not inside a string (Bug#13885).
2208
2209 2013-03-06 Alan Mackenzie <acm@muc.de>
2210
2211 Correct the position of point in some line-up functions.
2212 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2213 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2214 point at column 0 rather than at a random place in the line.
2215
2216 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * net/tramp-compat.el (tramp-compat-delete-directory):
2219 Implement TRASH argument.
2220
2221 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2222
2223 Keep pre-existing highlighting in completion candidates (Bug#13250).
2224 * minibuffer.el (completions-first-difference): State that the
2225 face is "added" in the docstring.
2226 (completions-common-part): Same. And don't inherit from default.
2227 (completion-hilit-commonality): Prepend 'completions-common-part
2228 and 'completion-first-difference faces to the 'face property,
2229 instead of replacing the value(s).
2230 (completion--insert-strings): Same with 'completions-annotations face.
2231 (completion-hilit-commonality): Use 'face instead of
2232 'font-lock-face, because it gets priority if the completion
2233 strings already have 'face set.
2234
2235 2013-03-04 Alan Mackenzie <acm@muc.de>
2236
2237 Replace `last-command-event' by `last-command-char' in XEmacs.
2238 * progmodes/cc-defs.el (c-last-command-char): New macro.
2239 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2240 (c-semi&comma-no-newlines-before-nonblanks)
2241 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2242 in place of `last-command-event'.
2243 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2244 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2245 (c-electric-paren, c-electric-continued-statement): Use the new
2246 macro in place of `last-command-event'.
2247
2248 2013-03-04 Glenn Morris <rgm@gnu.org>
2249
2250 * files.el (inhibit-local-variables-regexps):
2251 Add .diff and .patch. (Bug#13862)
2252
2253 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2254
2255 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2256 whether the "su" command is available on the device.
2257
2258 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2259
2260 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2261 (tramp-adb-handle-process-file): Remove superfluous setting.
2262 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2263 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2264 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2265
2266 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2269 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2270 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2271 Use dict-key rather than dict-name for the error message.
2272
2273 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2274
2275 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2276 when reverting (bug#13831).
2277
2278 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2279
2280 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2281 Always expand affix-file before storing to protect against changed
2282 `default-directory'.
2283 (ispell-print-if-debug): Make sure message is printed at the end
2284 of the debug buffer.
2285
2286 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2287
2288 * net/tramp.el (tramp-obsolete-methods): New defconst.
2289 (tramp-warned-obsolete-methods): New defvar.
2290 (tramp-find-method): Check for obsolete methods. Map them to a
2291 replacement method if appropriate.
2292
2293 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2294 Remove methods.
2295 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2296 "ssh2" and "plink1".
2297
2298 2013-02-28 Dale Sedivec <dale@codefu.org>
2299
2300 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2301 Return valid syntax-table property value when converting
2302 quotes within text from string syntax to punctuation syntax (bug#13844).
2303
2304 2013-02-28 Juri Linkov <juri@jurta.org>
2305
2306 * dired-aux.el (dired-diff): If file at point is a backup file,
2307 use its original as the default value, and reverse the order
2308 of arguments to the `diff' call. Doc fix. (Bug#13772)
2309
2310 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2311
2312 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2313 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2314
2315 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2316
2317 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2318
2319 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2320 Ask hunspell about available and default dictionaries.
2321 (ispell-parse-hunspell-affix-file): Extract relevant info from
2322 hunspell affix file.
2323 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2324 `ispell-dictionary-alist' entry for given dictionary after info
2325 provided by `ispell-parse-hunspell-affix-file'.
2326 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2327 of parsed hunspell dicts and associated affix files.
2328 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2329 of parsed hunspell dicts and associated parameters.
2330 (ispell-set-spellchecker-params):
2331 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2332 previously done.
2333 (ispell-start-process):
2334 Call `ispell-hunspell-fill-dictionary-entry' for current
2335 dictionary if it is not initialized.
2336
2337 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * imenu.el: Comment nitpicks.
2340
2341 2013-02-28 Sam Steingold <sds@gnu.org>
2342
2343 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2344 See <http://stackoverflow.com/questions/14720205>.
2345
2346 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2347
2348 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2349 (net-utils-mode): Use it.
2350 (net-utils--revert-cmd): New var.
2351 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2352 (traceroute): Use net-utils-run-simple.
2353
2354 2013-02-28 Glenn Morris <rgm@gnu.org>
2355
2356 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2357
2358 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2361 (doc-view-fallback-mode): Remove overlays here.
2362 (doc-view-toggle-display): Instead of here. Don't throw away
2363 image-mode-winprops-alist.
2364 (doc-view-goto-page): Don't mess with hscroll.
2365
2366 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2367
2368 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2369 &optional (bug#13819).
2370
2371 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * net/tramp-adb.el (tramp-adb-parse-device-names)
2374 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2375
2376 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2377
2378 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2379 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2380 defined. POSIX environments fall back to the "C" locale then and
2381 emit a warning, which shall be suppressed.
2382
2383 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2386 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2387
2388 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2391
2392 2013-02-25 Juri Linkov <juri@jurta.org>
2393
2394 * replace.el (read-regexp): Let-bind `default' to the first
2395 element of `defaults' if it's a list, otherwise it should be
2396 a string or nil. Let-bind `suggestions' to `defaults' if it's
2397 a list, otherwise make a list with the string value. Doc fix.
2398 (Bug#13805)
2399
2400 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2401
2402 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2403 that match "\`\.#", to avoid compiling lock files, even if they
2404 are readable (as they are on MS-Windows).
2405
2406 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2407
2408 * files.el (basic-save-buffer): Remove redundant directory-creation.
2409
2410 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2411
2412 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2413 Add option to force `pi' to remain symbolic.
2414 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2415 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2416 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2417 derivatives, when necessary.
2418
2419 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2420
2421 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2422 (ps-mode-octal-region): Use string-make-unibyte.
2423
2424 2013-02-23 Glenn Morris <rgm@gnu.org>
2425
2426 * emulation/viper-cmd.el (viper-submit-report):
2427 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2428 * progmodes/vera-mode.el (vera-mode-help-address):
2429 * textmodes/artist.el (artist-maintainer-address):
2430 * textmodes/reftex.el (reftex-report-bug):
2431 * vc/ediff-util.el (ediff-submit-report):
2432 Add bug-gnu-emacs to bug report address.
2433
2434 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2435 Remove bug report entries.
2436 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2437
2438 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2439 (byte-compile-file, byte-compile-from-buffer):
2440 Use separate input/output buffers for each level of recursive
2441 byte-compile-file calls. (Bug#13787)
2442
2443 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2444
2445 * net/tramp.el (tramp-methods): Fix docstring.
2446 (tramp-ssh-controlmaster-options): Rename it from
2447 `tramp-ssh-controlmaster-template'. Return a string.
2448 (tramp-default-method): Adapt check for
2449 `tramp-ssh-controlmaster-options'.
2450
2451 * net/tramp-sh.el (tramp-methods):
2452 Replace `tramp-ssh-controlmaster-template' by "%c".
2453 (tramp-do-copy-or-rename-file-out-of-band)
2454 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2455 that it is applied for the first hop only.
2456
2457 2013-02-22 Juri Linkov <juri@jurta.org>
2458
2459 * isearch.el (isearch-lazy-highlight-new-loop):
2460 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2461 to `isearch-other-end' if it is not nil. (Bug#13402)
2462
2463 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2464 to `match-beg'.
2465
2466 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2467 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2468 and `isearch-error' to nil.
2469
2470 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2471
2472 * progmodes/python.el (python-info-current-defun):
2473 Enhance match-data cluttering prevention.
2474
2475 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2476
2477 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2478
2479 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2480 Handle multibyte file names.
2481
2482 2013-02-22 Glenn Morris <rgm@gnu.org>
2483
2484 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2485 (sgml-transformation-function): Give it a :set function.
2486 (sgml-tag): Doc fix.
2487
2488 * cmuscheme.el (scheme-buffer):
2489 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2490 * progmodes/tcl.el (inferior-tcl-buffer):
2491 * textmodes/tex-mode.el (tex-command): Doc fixes.
2492
2493 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2494
2495 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2496
2497 2013-02-21 Bastien Guerry <bzg@gnu.org>
2498
2499 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2500
2501 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2502
2503 * progmodes/python.el (python-info-current-defun):
2504 Enhance match-data cluttering prevention.
2505
2506 2013-02-21 Glenn Morris <rgm@gnu.org>
2507
2508 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2509 loaded while outline-regexp is let bound. (Bug#9584)
2510
2511 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2512
2513 * progmodes/python.el (python-info-current-defun): Fix failed
2514 defun name retrieval because of unwanted match-data cluttering.
2515
2516 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2517
2518 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2519 defconst. Apply independent check for ControlPersist.
2520
2521 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2522 temporarily, via "env".
2523
2524 2013-02-21 Glenn Morris <rgm@gnu.org>
2525
2526 * info.el (Info-enable-edit): Remove.
2527 (Info-edit): Disable it rather than using Info-enable.
2528 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2529 (Info-cease-edit): Make editing of Info files obsolete.
2530
2531 * informat.el (Info-tagify):
2532 Handle buffers not visiting files. (Bug#13763)
2533
2534 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2535
2536 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2537
2538 2013-02-21 Glenn Morris <rgm@gnu.org>
2539
2540 * files.el (basic-save-buffer): Move check for existing parent
2541 directory after hooks. (Bug#13773)
2542
2543 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * simple.el (command-execute): Move from C. Add obsolete check.
2546 (extended-command-history): Move from C.
2547
2548 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2549
2550 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2551 (jka-compr-mode-alist-additions): Handle .txz suffix for
2552 XZ-compressed tar archives (bug#13770).
2553
2554 2013-02-20 Bastien Guerry <bzg@gnu.org>
2555
2556 * outline.el (outline-regexp, outline-heading-end-regexp):
2557 Make variables, not options (bug#13731).
2558
2559 2013-02-20 Glenn Morris <rgm@gnu.org>
2560
2561 * image.el (image-current-frame): Change from variable to function.
2562 (image-show-frame): Rename from image-nth-frame. Update callers.
2563 * image-mode.el (image-multi-frame): New variable.
2564 (image-mode-map, image-mode, image-goto-frame):
2565 Use image-multi-frame rather than image-current-frame.
2566 (image-mode, image-goto-frame): Use image-current-frame as
2567 function rather than as variable.
2568
2569 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2570 * emacs-lisp/cl-macs.el (cl--make-type-test)
2571 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2572
2573 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2574
2575 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2576 (tramp-get-file-property, tramp-set-file-property)
2577 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2578 (tramp-flush-file-property, tramp-flush-directory-property):
2579 Rename argument to KEY.
2580 (tramp-flush-connection-property): Simplify a little bit.
2581 (tramp-connection-property-p): New defun.
2582 (top): Reapply saved values only if there isn't a corresponding
2583 entry in `tramp-connection-properties'.
2584
2585 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2586
2587 * progmodes/python.el (python-indent-context):
2588 Fix python-info-line-ends-backslash-p call.
2589 (python-info-line-ends-backslash-p)
2590 (python-info-beginning-of-backslash): Respect line-number argument.
2591 (python-info-current-line-comment-p):
2592 Fix behavior when not at beginning-of-line.
2593 (python-util-position): Remove function.
2594 (python-util-goto-line): New function.
2595
2596 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2597
2598 * eshell/em-unix.el (eshell/su): Require tramp.
2599 (eshell/sudo): Require tramp. Remove now unnecessary check.
2600
2601 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2602 `tramp-current-connection' in order to avoid an error when several
2603 commands are invoked in a short time in eshell and friends.
2604
2605 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2606
2607 Cleanup some of EIEIO's namespace.
2608 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2609 Use it to define all the class-* and object-* field accessors (renamed
2610 to eieio--class-* and eieio--object-*). Update all uses.
2611 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2612 class-num-slots and object-num-slots.
2613 (eieio--check-type): New macro.
2614 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2615 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2616 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2617 (object-assoc-list-safe): Use it.
2618 (eieio-defclass): Tighten regexp.
2619 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2620 Remove unreachable code.
2621 (object-class-fast): Declare obsolete.
2622 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2623 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2624 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2625 Rename from class-name, object-name, object-set-name-string,
2626 object-class, object-class-name, class-parents, class-children,
2627 class-precedence-list, class-parent; with obsolete alias.
2628 (class-of, class-direct-superclasses, class-direct-subclasses):
2629 Declare obsolete.
2630 (eieio-defmethod): Use `memq'; remove unreachable code.
2631 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2632 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2633 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2634
2635 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2636
2637 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2638 commentary.
2639
2640 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2641
2642 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2643 Use font-lock-keyword-face for macros and special forms (bug#8345).
2644
2645 2013-02-17 Didier Verna <didier@didierverna.net>
2646
2647 * net/network-stream.el (network-stream-open-starttls):
2648 Check that response to the starttls-command is non-nil. (Bug#13706)
2649
2650 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2653 Don't assume all identifier chars have syntax word.
2654 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2655 Remove bar-not-symbol. Adjust callers.
2656 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2657
2658 2013-02-17 Leo Liu <sdl.web@gmail.com>
2659
2660 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2661
2662 2013-02-17 Glenn Morris <rgm@gnu.org>
2663
2664 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2665
2666 * image-mode.el (image-mode-map): Add image-dired menu entry.
2667
2668 * image-dired.el (tumme): Make this alias obsolete.
2669
2670 2013-02-16 Glenn Morris <rgm@gnu.org>
2671
2672 * image.el (image-animated-types): Remove.
2673 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2674 (image-animated-p): Make obsolete alias.
2675 (image-animate, image-nth-frame, image-animate-timeout):
2676 Use image-multi-frame-p.
2677 (image-animate-timeout): If no delay, use image-default-frame-delay.
2678 * image-mode.el (image-mode, image-toggle-animation):
2679 Use image-multi-frame-p. (Bug#763, bug#10739)
2680 (image-mode): Adjust startup message for a multi-frame image.
2681
2682 * image-mode.el (image-mode-map): Give it a menu.
2683
2684 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2685
2686 * net/tramp-cache.el (tramp-connection-properties): New customer
2687 option.
2688 (tramp-get-connection-property): Use it.
2689
2690 * net/tramp-compat.el (top): Require 'trampver.
2691
2692 * net/tramp-sh.el (tramp-remote-process-environment):
2693 Set tramp-autoload cookie.
2694
2695 2013-02-16 Kevin Ryde <user42@zip.com.au>
2696
2697 * info-look.el (info-lookup-select-mode): If major-mode has no
2698 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2699
2700 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2701
2702 * replace.el (read-regexp): Tighten the regexp that matches tag.
2703 When tag is retrieved with `find-tag-default', use regexp that
2704 matches tag at point. Also update docstring (Bug#13687).
2705
2706 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2707
2708 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2709 add watch for the file, not its parent directory, since w32notify
2710 sets up the watch for the directory internally. (Bug#13725)
2711
2712 2013-02-16 Glenn Morris <rgm@gnu.org>
2713
2714 * image.el (image-default-frame-delay): New variable.
2715 (image-animated-p): Use image-default-frame-delay.
2716 (image-minimum-frame-delay): New constant.
2717 (image-animate-timeout): Use image-minimum-frame-delay.
2718
2719 * image.el (image-nth-frame): New, split from image-animate-timeout.
2720 (image-animate-timeout): Use image-nth-frame.
2721 * image-mode.el (image-goto-frame, image-next-frame)
2722 (image-previous-frame): New commands.
2723 (image-mode-map): Add new frame commands.
2724
2725 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2726
2727 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2728 If col-desc already has help-echo, use it. (Bug#13563)
2729
2730 2013-02-16 Glenn Morris <rgm@gnu.org>
2731
2732 * image.el (image-current-frame): New variable.
2733 (image-animate-timeout): Set image-current-frame.
2734 * image-mode.el (image-mode): For animated images,
2735 display a frame counter via mode-line-process.
2736
2737 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2738
2739 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2742
2743 2013-02-15 Alan Mackenzie <acm@muc.de>
2744
2745 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2746 global minor mode has been enabled, call the minor mode function
2747 for a new buffer once only, after the major mode hook, whilst
2748 allowing that hook explicitly to disable the minor mode.
2749 (MODE-disable-in-buffer): New (generated) function.
2750 (disable-MODE): New (generated) buffer local variable.
2751
2752 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2753
2754 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2755 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2756 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2757 `ido-next-match' and `ido-prev-match' resply.
2758 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2759 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2760 `icomplete-backward-completions' (Bug#13708).
2761
2762 2013-02-15 Glenn Morris <rgm@gnu.org>
2763
2764 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2765
2766 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2769 (goto-address-fontify-region): Use them instead of narrowing, so
2770 syntax-ppss has access to the whole buffer.
2771
2772 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2773
2774 * progmodes/python.el: Explain how to restore "cc-mode"-like
2775 forward-sexp movement in header documentation (Bug#13642).
2776 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2777 comments and strings (GH bug 114).
2778
2779 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2780
2781 * progmodes/python.el (python-info-current-defun): Fix current
2782 defun detection (Bug#13618).
2783
2784 2013-02-15 Chong Yidong <cyd@gnu.org>
2785
2786 * xml.el (xml-parse-string): Fix typo in handling of bad character
2787 references.
2788
2789 2013-02-15 Glenn Morris <rgm@gnu.org>
2790
2791 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2792
2793 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2794
2795 * net/tramp.el (tramp-debug-message):
2796 Add `tramp-condition-case-unless-debug'.
2797 (tramp-debug-on-error): New defvar.
2798 (tramp-condition-case-unless-debug): New defun.
2799 (tramp-file-name-handler): Use it.
2800
2801 2013-02-14 Juri Linkov <juri@jurta.org>
2802
2803 * info.el (Info-isearch-filter): Treat non-nil values of
2804 `search-invisible' including its default value `open'
2805 like the value `t' to match hidden text. (Bug#13402)
2806
2807 2013-02-14 Glenn Morris <rgm@gnu.org>
2808
2809 * help-fns.el (find-lisp-object-file-name): Give special treatment
2810 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2811
2812 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2813
2814 * net/quickurl.el (quickurl-save-urls):
2815 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2816
2817 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2818
2819 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2820 depth for unfinished percent literal. Not using it in the caller.
2821 (ruby-move-to-block): Jump over multiline literals of all types,
2822 ignoring code-looking contents inside them.
2823 (ruby-add-log-current-method): Improve performance at the expense
2824 of accuracy. `ruby-block-contains-point' is relatively slow, so
2825 only use it for method and singleton class blocks.
2826
2827 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2828
2829 Use ControlMaster where applicable. (Bug#13677)
2830
2831 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2832 replacing `tramp-detect-ssh-controlmaster'.
2833 (tramp-default-method): Use it.
2834
2835 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2836 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2837 arguments.
2838 [scpc, rsyncc]: Remove methods.
2839 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2840 and "ssh2_old".
2841 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2842 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2843
2844 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * emacs-lisp/package.el (package--initialized): Move before first use.
2847
2848 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2849
2850 * icomplete.el (icomplete-hide-common-prefix): New user option.
2851 (icomplete-first-match): New face.
2852 (icomplete-completions): Correct handling of "complete but not
2853 unique" (Bug#12638).
2854
2855 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2856
2857 * descr-text.el (describe-char): Display the script (bug#13698).
2858
2859 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * tmm.el: Use lexical-binding and current-active-maps.
2862 (tmm-menubar): Use map-keymap and pcase.
2863 (tmm--completion-table): New function.
2864 (tmm-prompt): Use it to fix the menu order.
2865 (tmm-get-keybind): Use current-active-maps.
2866
2867 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2868
2869 Add dired-hide-details-mode. (Bug#6799)
2870
2871 * locate.el (locate-mode): Set parent mode property to dired-mode.
2872
2873 * find-dired.el (find-dired): Call dired-insert-set-properties on
2874 initial information line. Set process mark on end of buffer.
2875 (find-dired-sentinel):
2876 Call dired-insert-set-properties on summary.
2877
2878 * dired.el (dired-hide-details-hide-symlink-targets)
2879 (dired-hide-details-hide-information-lines): New options.
2880 (dired-insert-directory):
2881 Set properties after final treatment of output.
2882 (dired-insert-set-properties):
2883 Set dired-hide-details-* properties.
2884 (dired-mode-map): Bind dired-hide-details-mode.
2885 (dired-mode): Set buffer-invisibility-spec to a list.
2886 (dired-next-line): Skip hidden lines.
2887 (dired-previous-line): Use dired-next-line.
2888 (dired-hide-details-mode): New minor mode.
2889 (dired-hide-details-update-invisibility-spec): New function.
2890
2891 2013-02-13 Glenn Morris <rgm@gnu.org>
2892
2893 * play/yow.el: Move to obsolete/. (Bug#9384)
2894
2895 2013-02-13 Juri Linkov <juri@jurta.org>
2896
2897 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2898 to select `ediff-control-frame' and set input focus correctly on Xfce.
2899 (Bug#12218)
2900
2901 2013-02-13 Juri Linkov <juri@jurta.org>
2902
2903 * image-mode.el (image-mode-map):
2904 * doc-view.el (doc-view-mode-map):
2905 * vc/ediff-util.el (ediff-setup-keymap):
2906 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2907
2908 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2909
2910 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2911 performance. Instead of recalculating indentation fully for each
2912 line, sum up indentation depth based only on visited lines.
2913 (ruby-parse-partial): Increase the depth after "do" even when END
2914 is right after it.
2915 (ruby-parse-partial): When END is in the middle of a percent
2916 literal, increase the depth if the delimiter chars belong to the
2917 paren syntax class.
2918
2919 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2920
2921 * play/fortune.el (fortune-compile): Also make the compiled file
2922 if it does not exist at all, not just if it is old. (Bug#5338)
2923
2924 2013-02-13 Glenn Morris <rgm@gnu.org>
2925
2926 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2927
2928 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2929
2930 * lisp/emacs-lisp/package.el (package-menu-execute):
2931 Add optional noquery argument. (Bug#13625)
2932
2933 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2934
2935 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2936 if DIR exists and PARENTS is non-nil.
2937
2938 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2939
2940 * progmodes/js.el (js--multi-line-declaration-indentation):
2941 Silence byte-compiler warning.
2942
2943 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2944
2945 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2946
2947 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2948 only if it doesn't exist.
2949
2950 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2951 Set process marker.
2952
2953 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2954
2955 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2956 UserInstallation when calling soffice to work around LibreOffice
2957 bug 37531.
2958
2959 2013-02-12 Glenn Morris <rgm@gnu.org>
2960
2961 * files.el (basic-save-buffer):
2962 Offer to create a non-existing directory. (Bug#3016)
2963
2964 * calc/calc-graph.el (calc-graph-show-dumb):
2965 * calendar/calendar.el (calendar-mode-map):
2966 * cus-edit.el (custom-mode-map):
2967 * ehelp.el (electric-help-map):
2968 * emulation/vip.el (vip-mode-map):
2969 * epa.el (epa-key-list-mode-map):
2970 * info.el (Info-mode-map):
2971 * mail/rmail.el (rmail-mode-map):
2972 * mail/rmailsum.el (rmail-summary-mode-map):
2973 * man.el (Man-mode-map):
2974 * net/newst-plainview.el (newsticker-mode-map):
2975 * progmodes/cpp.el (cpp-edit-mode-map):
2976 * progmodes/grep.el (grep-mode-map):
2977 * progmodes/idlw-help.el (idlwave-help-mode-map):
2978 * simple.el (special-mode-map):
2979 * startup.el (splash-screen-keymap):
2980 * view.el (view-mode-map):
2981 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2982
2983 2013-02-11 Elias Pipping <pipping@lavabit.com>
2984
2985 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2986 (bug#13679).
2987
2988 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2991
2992 2013-02-11 Glenn Morris <rgm@gnu.org>
2993
2994 * vc/diff.el (diff-use-labels): New variable.
2995 (diff-no-select): Use --label rather than -L, and first
2996 check that it is supported. (Bug#11067)
2997
2998 * files.el (enable-dir-local-variables): New variable.
2999 (hack-dir-local-variables): Respect enable-dir-local-variables.
3000 * tutorial.el (help-with-tutorial):
3001 Ignore directory-local variables. (Bug#11127)
3002
3003 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3004 (vc-svn-global-switches): ... to here. (Bug#13513)
3005
3006 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3007
3008 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3009 Handle "foo (bar, default: xxx): " prompts.
3010
3011 2013-02-10 Chong Yidong <cyd@gnu.org>
3012
3013 * files.el (basic-save-buffer-1): Do not set
3014 buffer-file-coding-system-explicit (Bug#4533).
3015
3016 * mail/emacsbug.el (report-emacs-bug): Change binding of
3017 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3018
3019 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3020
3021 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3022 * calc/calc-units.el (calc-convert-units): Use new variable.
3023
3024 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3025
3026 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3027
3028 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3029 buffer-file-type.
3030
3031 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3032 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3033 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3034 coding-system-for-write instead.
3035
3036 * jka-compr.el (jka-compr-write-region): Don't bind
3037 buffer-file-type.
3038
3039 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3040 buffer-file-type.
3041
3042 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3043 (insert-file-contents-literally): Remove reference to
3044 file-name-buffer-file-type-alist.
3045
3046 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3047 make-obsolete.
3048 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3049 (find-buffer-file-type-coding-system): Remove references to
3050 find-buffer-file-type-match, find-buffer-file-type, and
3051 buffer-file-type.
3052 Don't put find-buffer-file-type-coding-system into
3053 file-coding-system-alist.
3054 (find-file-binary, find-file-text): Bind coding-system-for-read
3055 instead of file-name-buffer-file-type-alist.
3056
3057 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3058
3059 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3060 converter (Bug#13622).
3061 (doc-view-unoconv-program): Make obsolete alias.
3062 (doc-view-odf->pdf-converter-program): New variable.
3063 (doc-view-odf->pdf-converter-function): New variable.
3064 (doc-view-mode-p): Use it.
3065 (doc-view-odf->pdf-converter-unoconv):
3066 Rename from `doc-view-odf->pdf-converter-unoconv'.
3067 (doc-view-odf->pdf-converter-soffice): New function.
3068 (doc-view-convert-current-doc):
3069 Use `doc-view-odf->pdf-converter-function'.
3070
3071 2013-02-09 Chong Yidong <cyd@gnu.org>
3072
3073 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3074 view-echo-area-messages (Bug#13340).
3075
3076 * help.el (view-echo-area-messages): Use display-buffer.
3077
3078 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3079 (Bug#13561).
3080
3081 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3084 Eval body right away, now that we do eager macroexpansion (bug#13605).
3085
3086 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3087 (fundamental-mode): Use run-mode-hooks.
3088
3089 * eshell/esh-proc.el (eshell/kill): Fix last change.
3090 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3091
3092 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3093
3094 * eshell/esh-proc.el (eshell/kill): Rewrite.
3095
3096 * eshell/em-ls.el (show-almost-all): Declare.
3097 (eshell-do-ls): Add support for -A argument.
3098
3099 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3100
3101 * icomplete.el (icomplete-forward-completions)
3102 (icomplete-backward-completions): Handle corner case (bug#13602).
3103
3104 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3105
3106 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3107 be nil. Handle this. (Bug#13636)
3108
3109 2013-02-07 Richard Stallman <rms@gnu.org>
3110
3111 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3112 `save-buffer-coding-system'.
3113
3114 2013-02-07 Alan Mackenzie <acm@muc.de>
3115
3116 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3117 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3118 (c-parse-state-get-strategy): Don't return 'BOD any more.
3119 (c-append-lower-brace-pair-to-state-cache):
3120 Extra parameter HERE instead of narrowing.
3121 Widen to top of buffer before searching backwards for a brace pair.
3122 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3123 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3124 Narrow to parameter HERE, in place of being called narrowed.
3125 (c-remove-stale-state-cache): Extra parameter HERE in place of
3126 narrowing. Check there's an open brace in the cache before
3127 searching for its match.
3128 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3129 (c-parse-state-1): Don't narrow here for 'forward strategy,
3130 instead passing extra parameter HERE to several functions.
3131 Remove 'BOD strategy.
3132
3133 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3134
3135 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3136 used to install the package.
3137
3138 2013-02-06 Glenn Morris <rgm@gnu.org>
3139
3140 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3141 if we can't get user input. (Bug#6567)
3142
3143 * startup.el (command-line): If simple.el is missing,
3144 test and warn about for some possible causes.
3145
3146 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3147
3148 * cus-start.el (all): Add ns-use-native-fullscreen.
3149
3150 2013-02-05 Glenn Morris <rgm@gnu.org>
3151
3152 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3153
3154 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3155 Fix directory creation in fallback case.
3156
3157 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3158
3159 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3160 (vc-update-change-log): Use dolist.
3161
3162 2013-02-04 Chong Yidong <cyd@gnu.org>
3163
3164 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3165 code from ffap.el.
3166 (thing-at-point-beginning-of-url-regexp): New var.
3167 (thing-at-point-uri-schemes): Update list of URI schemes.
3168 (thing-at-point-url-regexp): Variable deleted.
3169 (thing-at-point-markedup-url-regexp): Disallow newlines.
3170 (thing-at-point-newsgroup-regexp)
3171 (thing-at-point-newsgroup-heads)
3172 (thing-at-point-default-mail-uri-scheme): New variables.
3173 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3174 method to find the possible bounds of the URI at point.
3175 New optional argument to find ill-formed URIs.
3176 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3177 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3178 the scheme-adding heuristics from ffap-url-at-point.
3179 (thing-at-point--bounds-of-well-formed-url): New function.
3180 Do parens matching to decide whether to include parens in the URI
3181 (Bug#9153).
3182
3183 * ffap.el: Require thingatpt.
3184 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3185 All URI-valid characters are now recognized (Bug#5673).
3186 (ffap-string-at-point): Use use-region-p.
3187 (ffap-url-regexp): Extra character is handled by thing-at-point.
3188 (ffap-string-at-point-mode-alist): Allow parentheses.
3189 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3190 Convert to aliases; code moved to thingatpt.el.
3191 (ffap-gnus-hook): Use setq-local.
3192
3193 2013-02-04 Glenn Morris <rgm@gnu.org>
3194
3195 * emacs-lisp/ert.el (ert--explain-format-atom):
3196 Don't try to print non-characters as characters. (Bug#13543)
3197
3198 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3199
3200 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3201 (tramp-backtrace): New defun.
3202 (tramp-handle-insert-file-contents): Use `visit' when inserting
3203 the local copy.
3204
3205 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3206 Use `remote-file-name-inhibit-cache'.
3207
3208 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3211 (bug#13614).
3212
3213 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3214 current-load-list (bug#13366).
3215
3216 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3217
3218 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3219 Identify g++ template instantiation trace. (Bug#12287)
3220 (compilation-mode-hook, compilation-start-hook)
3221 (compilation-window-height): Simplify docstrings. (Bug#13379)
3222
3223 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * mouse.el (mouse-drag-track): Always deactivate the mark before
3226 running the final event's command since that command is in charge of
3227 activating the mark if needed (bug#13523).
3228
3229 2013-02-02 Juri Linkov <juri@jurta.org>
3230
3231 * replace.el (perform-replace): Move let-bindings of isearch-*
3232 variables deeper to the loop that searches for the next match.
3233 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3234 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3235 (Bug#13579)
3236
3237 * isearch.el (isearch-search-fun-default): Check for null
3238 first element of isearch-cmds as a precaution when it's used
3239 with inactive isearch.
3240
3241 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3242
3243 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3244 error when buffer in question is narrowed so position 1 is out of
3245 visible part.
3246
3247 2013-02-02 Glenn Morris <rgm@gnu.org>
3248
3249 * textmodes/remember.el (remember-clipboard): Doc fix.
3250
3251 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3254 properties (bug#13179).
3255
3256 2013-02-02 Juri Linkov <juri@jurta.org>
3257
3258 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3259 instead of hard-coded default face `match'. (Bug#9438)
3260
3261 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3262
3263 * vc/vc-arch.el (vc-arch-registered):
3264 * vc/vc-bzr.el (vc-bzr-registered):
3265 * vc/vc-cvs.el (vc-cvs-registered):
3266 * vc/vc-git.el (vc-git-registered):
3267 * vc/vc-hg.el (vc-hg-registered):
3268 * vc/vc-mtn.el (vc-mtn-registered):
3269 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3270 (Bug#13139)
3271
3272 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3273 prefix argument. (Bug#11656)
3274
3275 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3278
3279 2013-02-01 Glenn Morris <rgm@gnu.org>
3280
3281 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3282 if the backend is known not to support it.
3283
3284 * imenu.el (imenu-default-create-index-function):
3285 Tweak infinite loop test to check for forward motion as well as none.
3286
3287 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3288
3289 * net/soap-client.el (soap-invoke): Encode the string for
3290 `url-request-data' as UTF-8.
3291 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3292
3293 2013-02-01 Glenn Morris <rgm@gnu.org>
3294
3295 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3296
3297 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3298
3299 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * net/tramp.el (tramp-tramp-file-p): Comment check for
3302 `string-as-unibyte'. The function does not exist on XEmacs, and
3303 likely we need another approach.
3304
3305 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3306 `tramp-gw-*' variables are bound.
3307
3308 2013-01-31 Glenn Morris <rgm@gnu.org>
3309
3310 * files.el (basic-save-buffer-2): Choose coding system for
3311 writing the file before backing it up, to reduce delay between
3312 backing up and writing the new version. (Bug#13522)
3313
3314 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3315
3316 * simple.el (cycle-spacing): New command.
3317 (just-one-space): Use it.
3318
3319 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3322 (opascal-newline-always-indents): Remove custom.
3323 (opascal-tab, opascal-newline): Remove commands.
3324 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3325 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3326 (opascal-save-match-data): Remove, use save-match-data instead.
3327 (opascal-save-state): Use with-silent-modifications.
3328
3329 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3330 (bug#13585).
3331
3332 2013-01-30 Juri Linkov <juri@jurta.org>
3333
3334 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3335 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3336 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3337
3338 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3341 column if we're just deleting the backslashes.
3342 (makefile-fill-paragraph): Use eolp.
3343
3344 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3345
3346 * autorevert.el (auto-revert-use-notify): Fix docstring.
3347
3348 2013-01-30 Leo Liu <sdl.web@gmail.com>
3349
3350 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3351
3352 2013-01-30 Glenn Morris <rgm@gnu.org>
3353
3354 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3355 unread-command-events twice in some cases. This tries to implement
3356 the 2012-07-26 changes in a different way. (Bug#13560)
3357
3358 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3359
3360 * progmodes/python.el
3361 (python-pdbtrack-comint-output-filter-function): Enhancements on
3362 stacktrace detection. (thanks @gnovak)
3363
3364 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3367 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3368 Use defvar-local.
3369 (jit-lock-register): Use setq-local.
3370
3371 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3372
3373 * calc-units.el (math-default-units-table): Remove initial value.
3374 (calc-convert-units): Treat expressions where all the units cancel as
3375 if they didn't have units.
3376
3377 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3378
3379 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3380 (tramp-completion-reread-directory-timeout): Fix type.
3381 (tramp-connection-min-time-diff): New defcustom.
3382
3383 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3384
3385 2013-01-30 Glenn Morris <rgm@gnu.org>
3386
3387 * imenu.el (imenu-default-create-index-function):
3388 Put back a version of the infinite loop test removed 2013-01-23.
3389
3390 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3391
3392 * progmodes/python.el (python-shell-parse-command):
3393 Find python-shell-interpreter with modified environment.
3394
3395 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3398
3399 2013-01-29 Alan Mackenzie <acm@muc.de>
3400
3401 Amend to fontify /regexp/s in actions correctly.
3402 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3403 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3404 are no longer included.
3405 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3406 What used to be these variables without "-line" in the name.
3407 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3408 (c-awk-non-arith-op-bra-re): Now also matches {.
3409 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3410 "return", and "case".
3411 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3412 by /.
3413 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3414 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3415
3416 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * autorevert.el (auto-revert-use-notify):
3419 Use `custom-initialize-default' for initialization. (Bug#13583)
3420
3421 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3422
3423 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3424 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3425 in `tramp-file-name-handler'.
3426 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3427 compatibility.
3428 (tramp-compute-multi-hops): Check, whether
3429 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3430
3431 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3434 (bug#13297).
3435
3436 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3437
3438 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3439 checks made superfluous by the \_< operator.
3440 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3441 temporarily) broken indentation.
3442 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3443 Highlight nested constants, too. \_< broke that.
3444
3445 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3446
3447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3448 instead of "\\b".
3449
3450 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3451
3452 * autorevert.el (auto-revert-handler): Notifications which result
3453 from a saved file shall not be taken into account. (Bug#13557)
3454
3455 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3456
3457 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3458 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3459 (lisp-mode): Pass t for it. (Bug#13556)
3460
3461 2013-01-25 Alan Mackenzie <acm@muc.de>
3462
3463 AWK Mode: Fix indentation bug at top level. Bug #12274.
3464
3465 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3466 just before CASE 5D.
3467
3468 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3469
3470 * net/socks.el (socks-nslookup-host): Use string-to-number.
3471
3472 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * autorevert.el (auto-revert-remote-files)
3475 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3476 (auto-revert-notify-enabled, auto-revert-use-notify)
3477 (auto-revert-notify-watch-descriptor-hash-list)
3478 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3479 (auto-revert-notify-event-descriptor)
3480 (auto-revert-notify-event-action)
3481 (auto-revert-notify-event-file-name): Doc fix.
3482 (global-auto-revert-mode): Reorder checks.
3483 (auto-revert-notify-rm-watch): Respect changed values of
3484 `auto-revert-notify-watch-descriptor-hash-list'.
3485 (auto-revert-notify-add-watch): Check for
3486 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3487 `inotify-add-watch'. Watch `default-directory' instead of
3488 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3489 has a changed meaning now. (Bug#13540)
3490 (auto-revert-notify-handler): Change implementation wrt events
3491 returning from a directory.
3492 (auto-revert-handler): Reorder implementation for checks of remote
3493 files.
3494 (auto-revert-buffers): Fix parentheses error.
3495
3496 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3497
3498 * progmodes/python.el: Enhancements to header documentation about
3499 skeletons. (Bug#5716)
3500
3501 * imenu.el (imenu-default-create-index-function): Remove useless
3502 infinite loop check. (Bug#13438)
3503
3504 2013-01-25 Alan Mackenzie <acm@muc.de>
3505
3506 Fix a bug in the state cache mechanism. Refactor this a bit.
3507
3508 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3509 `cache-pos' element from the return value.
3510 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3511 buffer to enable proper searching from beyond HERE. Amend the
3512 test for detecting the sought brace pair. Amend the value written
3513 to the "brace desert cache" when the brace isn't found.
3514 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3515 and several other variables analogously.
3516 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3517 parameter to a locally calculated variable.
3518 (c-parse-state-1): Change the calling conventions to the two
3519 defuns involving `cache-pos'.
3520
3521 2013-01-25 Chong Yidong <cyd@gnu.org>
3522
3523 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3524
3525 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3526
3527 * paren.el (show-paren-function): Make sure to set 'priority and
3528 'face only if the overlay does exist.
3529
3530 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3531
3532 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3533
3534 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3535 basic attributes.
3536 (tramp-sh-handle-set-file-acl): Improve error checking.
3537
3538 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3539
3540 * doc-view.el (doc-view-display): Force mode line update until all
3541 document is converted. Suggested by Stefan Monnier (Bug#13164).
3542
3543 2013-01-23 Bastien Guerry <bzg@gnu.org>
3544
3545 * paren.el (show-paren-function): Make sure an overlay exists
3546 before trying to delete it. Also use `pos' as a position only
3547 when it is an integer.
3548
3549 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3550
3551 * play/gametree.el (gametree-break-line-here): Use point-marker.
3552
3553 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3554
3555 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3556 Mark descriptive parts with `display' property.
3557
3558 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3559
3560 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3561 New variable to map standard dict names to hunspell ones.
3562 (ispell-set-spellchecker-params): Make sure specific dict names
3563 are used for standard dicts with hunspell.
3564
3565 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3566
3567 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3568 chars for note (%N) and url (%U).
3569 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3570
3571 2013-01-21 Juri Linkov <juri@jurta.org>
3572
3573 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3574 in addition to existing separate binding `meta f10' in `global-map'.
3575 (Bug#13484)
3576
3577 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3578
3579 Improve XEmacs compatibility.
3580
3581 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3582
3583 * net/tramp-adb.el (top): Require `time-date'.
3584 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3585 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3586 Use `tramp-file-name-handler'.
3587 (tramp-adb-maybe-open-connection):
3588 Use `tramp-compat-set-process-query-on-exit-flag'.
3589
3590 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3591 Use `tramp-compat-funcall'.
3592
3593 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3594 `tramp-compat-funcall'.
3595
3596 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3597
3598 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3599 reimplementation using "adb shell command ..." instead of running
3600 remote shell interactively.
3601
3602 2013-01-20 Glenn Morris <rgm@gnu.org>
3603
3604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3605 Add native profiler menu entries.
3606
3607 * profiler.el (profiler-running-p): New function.
3608 (profiler-cpu-profile): Use profiler-running-p.
3609 (profiler-report-mode-map): Add some more menu entries.
3610
3611 2013-01-19 Glenn Morris <rgm@gnu.org>
3612
3613 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3614 fixes 2012-12-07 change. (Bug#13499)
3615
3616 2013-01-19 Leo Liu <sdl.web@gmail.com>
3617
3618 * dired.el (dired-get-marked-files): Prune erroneous values due to
3619 last change. (Bug#13152)
3620
3621 2013-01-19 Glenn Morris <rgm@gnu.org>
3622
3623 * progmodes/etags.el (tags-table-check-computed-list):
3624 Preserve point in tags buffer. (Bug#13412)
3625
3626 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3627
3628 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3629 Chong Yidong <cyd@gnu.org>
3630
3631 * image-mode.el (image-next-file, image-previous-file):
3632 New commands (Bug#8453).
3633 (image-mode-map): Bind them to n and p.
3634 (image-mode--images-in-directory): New helper function.
3635
3636 2013-01-19 Chong Yidong <cyd@gnu.org>
3637
3638 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3639 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3640 save and restore the old window configuration.
3641
3642 2013-01-18 Leo Liu <sdl.web@gmail.com>
3643
3644 * progmodes/js.el: Tweak autoload cookie for alias.
3645
3646 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3647
3648 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3649 buffer local, again. This was lost with the fix on 2013-01-12.
3650
3651 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3652
3653 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3654 order to support several eshell buffers in parallel.
3655
3656 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3657
3658 * autorevert.el (auto-revert-use-notify): In the :set function, do
3659 not modify `kill-buffer-hook'.
3660 (auto-revert-notify-rm-watch):
3661 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3662 (auto-revert-notify-add-watch): Do not call
3663 `auto-revert-notify-rm-watch', but add it to a buffer local
3664 `kill-buffer-hook'.
3665
3666 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3669 call to `eval' rather than a backquoted lambda.
3670
3671 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3674 to return an explicit nil.
3675 (advice--remove-function): Change accordingly.
3676
3677 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3678 the use of nadvice.el.
3679
3680 * progmodes/which-func.el (which-function): Silence imenu errors
3681 (bug#13433).
3682
3683 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3684
3685 * progmodes/sql.el (sql-imenu-generic-expression):
3686 (sql-mode-font-lock-object-name): Match schema qualified names.
3687 (sql-connect): Use string keys.
3688 (sql-product-interactive): Wait for interpreter prompt.
3689 (sql-comint-oracle): Set process coding based on NLS_LANG.
3690
3691 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3692
3693 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3694 (sql-interactive-remove-continuation-prompt):
3695 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3696
3697 2013-01-14 Leo Liu <sdl.web@gmail.com>
3698
3699 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3700 (Bug#13420)
3701
3702 2013-01-14 Glenn Morris <rgm@gnu.org>
3703
3704 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3705 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3706
3707 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3708
3709 * progmodes/python.el (python-nav-end-of-statement):
3710 Fix cornercase when handling multiline strings.
3711
3712 2013-01-13 Richard Stallman <rms@gnu.org>
3713
3714 * mail/sendmail.el (mail-position-on-field): Add doc string.
3715
3716 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3717 Get current message boundaries and pass them to
3718 message-forward-make-body-mime. Minor style changes.
3719
3720 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3721
3722 * cus-start.el (all): Avoid warnings about
3723 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3724
3725 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3726
3727 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3728
3729 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3732 (jit-lock--debug-fontifying): New var.
3733 (jit-lock--debug-fontify): New function.
3734 * subr.el (condition-case-unless-debug): Don't prevent catching the
3735 error, just let the debbugger run.
3736 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3737 timer code and don't drop errors silently.
3738
3739 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3740
3741 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3742 `permanent-local' property.
3743 (auto-revert-notify-handler): Use `file-equal-p'.
3744
3745 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3746
3747 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3748 file notification by ACTION. For filtering by file name, compare
3749 only the non-directory part of the file name.
3750
3751 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * autorevert.el: Use cl-lib instead of cl.
3754
3755 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3756 (vc-bzr-checkin): Use it.
3757 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3758 will preserve match-data.
3759
3760 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3761
3762 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3763 (js--declaration-keyword-re): New var.
3764 (js--multi-line-declaration-indentation): New function.
3765 (js--proper-indentation): Use it.
3766
3767 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3768
3769 * calc/calc.el (calc-highlight-selections-with-faces)
3770 (calc-dispatch):
3771 * comint.el (comint-history-isearch-message):
3772 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3773 * ffap.el (ffap-string-at-point-region, ffap-next)
3774 (ffap-string-at-point, ffap-string-around)
3775 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3776 (ffap-literally):
3777 * font-lock.el (font-lock-keywords-alist)
3778 (font-lock-removed-keywords-alist):
3779 * help-mode.el (help-xref-symbol-regexp):
3780 * info.el (Info-find-emacs-command-nodes):
3781 * international/mule.el (add-to-coding-system-list):
3782 * isearch.el (isearch-message-function, isearch-fail-pos):
3783 * misearch.el (multi-isearch-next-buffer-function):
3784 * newcomment.el (comment-box):
3785 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3786 (pr-setting-database):
3787 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3788 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3789 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3790 (pike-font-lock-keywords-3):
3791 * progmodes/compile.el (compile):
3792 * progmodes/etags.el (tags-table-files)
3793 (tags-table-files-function, tags-included-tables-function):
3794 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3795 (gdb-restore-windows):
3796 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3797 (ps-n-up-filling-database):
3798 * server.el (server-buffer, server-log):
3799 * simple.el (newline, delete-backward-char, delete-forward-char)
3800 (minibuffer-history-isearch-message, kill-line, track-eol)
3801 (temporary-goal-column):
3802 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3803 (flyspell-default-deplacement-commands):
3804 * textmodes/ispell.el (ispell-accept-output):
3805 * textmodes/sgml-mode.el (html-tag-help):
3806 * vc/compare-w.el (compare-ignore-whitespace)
3807 (compare-ignore-case, compare-windows-dehighlight):
3808 * vc/diff.el (diff):
3809 * whitespace.el (whitespace-point)
3810 (whitespace-font-lock-refontify, whitespace-bob-marker)
3811 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3812
3813 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3814
3815 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3816 (auto-revert-notify-rm-watch): Ignore errors.
3817 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3818 inotify, and '(size last-write-time) for w32notify.
3819 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3820 watch fails - this is a fallback to the file modification check.
3821 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3822 (auto-revert-notify-event-action)
3823 (auto-revert-notify-event-file-name): New defuns.
3824 (auto-revert-notify-handler): Use them. Implement first
3825 plausibility checks.
3826 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3827
3828 2013-01-11 Julien Danjou <julien@danjou.info>
3829
3830 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3831 max are almost equal. Also return the correct value for V which is
3832 already between 0 and 1.
3833
3834 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3835
3836 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3837
3838 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3839
3840 * autorevert.el (auto-revert-notify-rm-watch)
3841 (auto-revert-notify-add-watch): Fix typos in w32notify function
3842 names.
3843
3844 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3845
3846 * autorevert.el (auto-revert-notify-enabled): Move up.
3847 (auto-revert-use-notify): New defcustom.
3848 (auto-revert-mode, global-auto-revert-mode)
3849 (auto-revert-notify-add-watch, auto-revert-handler)
3850 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3851 `auto-revert-notify-enabled'.
3852
3853 2013-01-10 Elias Pipping <pipping@exherbo.org>
3854
3855 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3856 * doc-view.el (doc-view-document->bitmap):
3857 Use doc-view-single-page-converter-function instead of
3858 single-page-converter arg; adjust callers.
3859
3860 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3861
3862 * progmodes/which-func.el (which-function): Understand Semantic's use
3863 of overlays in imenu--index-alist.
3864
3865 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3866
3867 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3868 (Man-man-k-use-anchor): New var.
3869 (Man-parse-man-k): New function.
3870 (Man-completion-table): Use it.
3871 (man): Flush the completion cache between uses.
3872
3873 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3874
3875 * autorevert.el: Add file watch support.
3876 (auto-revert-notify-enabled): New defconst.
3877 (auto-revert-notify-watch-descriptor-hash-list)
3878 (auto-revert-notify-watch-descriptor)
3879 (auto-revert-notify-modified-p): New defvars.
3880 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3881 (auto-revert-notify-handler): New defuns.
3882 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3883 when mode is disabled.
3884 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3885 (auto-revert-buffers): Add file watches for active buffers.
3886
3887 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3888
3889 * cus-start.el (toplevel): Only allow float values for
3890 scroll-up-aggressively and scroll-down-aggressively.
3891 Allow any number for line-spacing.
3892
3893 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3896 (doc-view-pdf->png-converter-function): Use mupdf if available.
3897 (doc-view-djvu->png-converter-function)
3898 (doc-view-ps->png-converter-function): Remove.
3899 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3900 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3901 (doc-view-already-converted-p): Adjust accordingly.
3902 (doc-view-mode-p): Simplify.
3903 (doc-view-enlarge): Use setq-local.
3904 (doc-view-pdf->png-converter-ghostscript)
3905 (doc-view-djvu->png-converter-ddjvu)
3906 (doc-view-pdf->png-converter-mupdf): Rework to call
3907 doc-view-start-process directly.
3908 (doc-view-pdf/ps->png): Simplify accordingly.
3909 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3910 (doc-view-document->bitmap): Rename from doc-view-document->png.
3911 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3912 (doc-view-set-slice-from-bounding-box): Fix completion table.
3913 (doc-view-mode): Use add-hook for after-revert-hook.
3914
3915 2013-01-10 Glenn Morris <rgm@gnu.org>
3916
3917 * emacs-lisp/authors.el (authors-ignored-files)
3918 (authors-valid-file-names, authors-renamed-files-alist):
3919 Add some more entries.
3920
3921 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3924 `t' pseudo-window entry.
3925
3926 2013-01-10 Alan Mackenzie <acm@muc.de>
3927
3928 Fix bugs in the c-parse-state mechanism. Reuse some markers
3929 instead of continually generating new ones.
3930
3931 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3932 (c-state-old-cpp-end-marker): New variables.
3933 (c-append-lower-brace-pair-to-state-cache): Start a backward
3934 search for "}" definitively outside CPP constructs.
3935 (c-remove-stale-state-cache): Inform the caller of a need to
3936 search back for a brace pair in certain circumstances.
3937 (c-state-maybe-marker): New macro.
3938 (c-parse-state): Reuse markers when appropriate.
3939
3940 2013-01-10 Glenn Morris <rgm@gnu.org>
3941
3942 * simple.el (execute-extended-command): Doc fix.
3943 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3944
3945 2013-01-10 Chong Yidong <cyd@gnu.org>
3946
3947 * faces.el (read-face-name): Doc fix.
3948
3949 2013-01-10 Roland Winkler <winkler@gnu.org>
3950
3951 * emacs-lisp/crm.el: Allow any regexp for separators.
3952 (crm-default-separator): All spaces around the default comma separator.
3953 (crm--completion-command): New macro.
3954 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3955 (crm-complete-and-exit): Handle non-single-char separators.
3956
3957 2013-01-09 Elias Pipping <pipping@lavabit.com>
3958
3959 * doc-view.el: Add support for DjVu (bug#13164).
3960 (doc-view-djvu->png-converter-function): New config var.
3961 (doc-view-single-page-converter-function, doc-view--image-type)
3962 (doc-view--image-file-extension): New vars.
3963 (doc-view-mode): Initialize them.
3964 (doc-view-goto-page): Use them.
3965 (doc-view-mode-p): Add support for ddjvu.
3966 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3967 (doc-view-set-up-single-converter): New funs.
3968 (doc-view-pdf/ps->png): Extend for djvu.
3969 (doc-view-document->png): Rename from doc-view-pdf->png.
3970 (doc-view-convert-current-doc): Handle djvu.
3971 (doc-view-insert-image, doc-view-display)
3972 (doc-view-already-converted-p): Don't hardcode png.
3973 (doc-view-set-doc-type): Recognize djvu docs.
3974
3975 2013-01-09 Elias Pipping <pipping@lavabit.com>
3976
3977 * doc-view.el: Add support for mupdf converter (bug#13164).
3978 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3979 (doc-view-ps->png-converter-function): New config vars.
3980 (doc-view-pdf->png-converter-ghostscript)
3981 (doc-view-ps->png-converter-ghostscript)
3982 (doc-view-pdf->png-converter-mupdf): New functions.
3983 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3984
3985 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3986
3987 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3988 first in session cache: When `tramp-own-remote-path' is in
3989 `tramp-remote-path', the remote path is only set in the session
3990 cache.
3991
3992 2013-01-09 Glenn Morris <rgm@gnu.org>
3993
3994 * emacs-lisp/trace.el (trace-function-foreground)
3995 (trace-function-background): Doc fix.
3996
3997 2013-01-09 Juri Linkov <juri@jurta.org>
3998
3999 * international/mule-cmds.el (read-char-by-name): Move let-binding
4000 of completion-ignore-case around completing-read to fix regression
4001 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4002 `string-match-p' using the nil value of `case-fold-search' and
4003 `completion-ignore-case' in `completion-pcm--all-completions'.
4004 (Bug#12615).
4005
4006 2013-01-09 Glenn Morris <rgm@gnu.org>
4007
4008 * progmodes/compile.el (compilation-parse-errors):
4009 Fix typo. (Bug#13369)
4010
4011 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4012
4013 * comint.el (comint-send-input): Check size of buffer before
4014 waiting for process output, in case already accepted. (Bug#13290)
4015
4016 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4017
4018 Spelling fixes.
4019 * net/tramp-adb.el (tramp-adb-get-toolbox):
4020 Fix misspelling of 'unknown'.
4021
4022 2013-01-08 Juri Linkov <juri@jurta.org>
4023
4024 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4025 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4026 Use underline style wave on terminals that support it. (Bug#13000)
4027
4028 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4031 the predicate returns nil.
4032
4033 * simple.el: Use lexical-binding.
4034 (primitive-undo): Use pcase.
4035 (minibuffer-history-isearch-push-state): Use a closure.
4036
4037 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4038
4039 * simple.el (primitive-undo): Move from undo.c.
4040
4041 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4044 (cvs-mode-remove-handled): Use it (bug#13380).
4045
4046 * emacs-lisp/nadvice.el (advice--tweak): New function.
4047 (advice--remove-function, advice--subst-main): Use it.
4048
4049 * emacs-lisp/advice.el: Update commentary.
4050
4051 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4052
4053 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4054 Remove spurious entry.
4055
4056 2013-01-08 Glenn Morris <rgm@gnu.org>
4057
4058 * net/tramp.el (tramp-default-host-alist): Add :version.
4059
4060 2013-01-08 Juri Linkov <juri@jurta.org>
4061
4062 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4063 single completion. (Bug#12456)
4064 (info--manual-names): Expand node completions into an explicit list
4065 before appending it to another list. Filter out internal buffers
4066 with the leading space in the buffer name. (Bug#10771)
4067
4068 2013-01-08 Juri Linkov <juri@jurta.org>
4069
4070 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4071 that defaults to the Top node.
4072 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4073 the short format (FILENAME) goes to the Top node.
4074 (Info-build-node-completions): Rename arg `file' to `filename'.
4075 (Bug#13365)
4076
4077 2013-01-07 Bastien Guerry <bzg@gnu.org>
4078
4079 * menu-bar.el (menu-bar-search-documentation-menu):
4080 Use `apropos-user-option' and fix the help message.
4081
4082 2013-01-07 Bastien Guerry <bzg@gnu.org>
4083
4084 * apropos.el (apropos-do-all): Update docstring.
4085 (apropos-user-option-button): New face.
4086 (apropos-user-option): Rename from `apropos-variable' and update
4087 docstring.
4088 (apropos-variable): Rewrite, now show all variables by default.
4089 (apropos-print): Mention "User option" instead of "Variable" when
4090 printing doc for user options. (Bug#13276)
4091
4092 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4093
4094 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4095 Handle filename correctly, when parsing "source -> target" symlink
4096 output.
4097 (tramp-adb-handle-set-file-times): New defun.
4098
4099 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4102 advice list when the interactive-spec of ad-Advice-* changes.
4103
4104 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4105
4106 * wid-edit.el (widget-default-get): Work for inlined elements.
4107 (Bug#12670)
4108
4109 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4110
4111 * net/tramp.el (tramp-default-host-alist): New defcustom.
4112 (tramp-find-host): Use it.
4113 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4114 `eshell-directory-change-hook'.
4115
4116 * net/tramp-adb.el (top): Add adb specific entry in
4117 `tramp-default-host-alist'.
4118 (tramp-adb-file-name-host): Remove function.
4119 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4120 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4121
4122 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4123
4124 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4125
4126 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4127
4128 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4129
4130 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4131 consist of more than one digit.
4132 (tramp-adb-file-name-handler-alist):
4133 Use `tramp-handle-file-exists-p' consistently.
4134 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4135 (tramp-adb-handle-file-exists-p): Remove function.
4136 (tramp-adb-file-name-host): New defun.
4137 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4138 Use it.
4139 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4140
4141 2013-01-06 Chong Yidong <cyd@gnu.org>
4142
4143 * vc/vc.el (vc-next-action): Detect buffer modifications
4144 conflicting with locking VCS operation (Bug#11490).
4145
4146 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4147
4148 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4149
4150 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4151 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4152
4153 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4154
4155 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4156 parsing of ls output using regular expression (handle filenames
4157 with spaces). Use virtual device number.
4158 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4159 cleanup).
4160
4161 2013-01-04 Daiki Ueno <ueno@gnu.org>
4162
4163 * epg.el: Silence byte-compiler warnings.
4164 (epg--start): Use delete-char instead of delete-backward-char.
4165 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4166
4167 2013-01-04 Daiki Ueno <ueno@gnu.org>
4168
4169 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4170 Suggested by Eli Zaretskii <eliz@gnu.org>.
4171
4172 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4173
4174 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4175 non-negative integers. Otherwise, the default values are used.
4176 (tramp-convert-file-attributes): Convert uid and gid to integers.
4177
4178 2013-01-04 Glenn Morris <rgm@gnu.org>
4179
4180 * term.el (term-handle-colors-array): Ensure face attributes
4181 are fully specified, not nil. (Bug#13337)
4182
4183 * term.el (term-default-fg-color, term-default-bg-color):
4184 Fix custom type.
4185
4186 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4187 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4188 rather than 'jka-compr being loaded. (Bug#13338)
4189
4190 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4191
4192 * icomplete.el (icomplete-completions):
4193 Honor icomplete-prospects-height once more following
4194 2012-11-29 changes. (Bug#13224)
4195
4196 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4199 of called-interactively-p as well (bug#13237).
4200
4201 * view.el (view--enable, view--disable): Rename from view-mode-enable
4202 and view-mode-disable and assume it's called from view-mode.
4203 (view-mode-enable, view-mode-disable): Redefine as obsolete
4204 compatibility layer above view-mode.
4205 (view-mode-enter): Call `view-mode'.
4206
4207 * files.el (after-find-file): Call `view-mode'.
4208
4209 * doc-view.el (doc-view-scale-internally): New var.
4210 (doc-view-enlarge, doc-view-insert-image): Obey it.
4211
4212 2013-01-03 Daiki Ueno <ueno@gnu.org>
4213
4214 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4215 exist. (Bug#13344)
4216
4217 2013-01-03 Glenn Morris <rgm@gnu.org>
4218
4219 * mail/rmail.el (rmail-set-header-1): Ignore case.
4220 Handle multi-line headers. (Bug#13330)
4221
4222 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4223 Handle paragraph starting at beginning of buffer.
4224
4225 * subr.el (eval-after-load): Don't purecopy the form, so that it
4226 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4227
4228 * emacs-lisp/byte-run.el (defun): Place cl declarations
4229 after any interactive spec. (Bug#13265)
4230
4231 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4232
4233 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4234 defun. Don't check for DECL if DOCSTRING isn't a string.
4235 (defun): Likewise.
4236
4237 2013-01-02 Glenn Morris <rgm@gnu.org>
4238
4239 * eshell/em-cmpl.el (eshell-pcomplete):
4240 More thoroughly imitate pcomplete. (Bug#13293)
4241
4242 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4243 Return nil for empty path elements. (Bug#13296)
4244
4245 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4246
4247 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4248 order to improve efficiency (Based on Daniel Colascione's
4249 <dancol@dancol.org> patch). (Bug#13182)
4250
4251 2013-01-02 Glenn Morris <rgm@gnu.org>
4252
4253 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4254
4255 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4256
4257 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4258 neither DOCSTRING nor DECL was given. (Bug#13316)
4259
4260 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4261
4262 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4263 `error' call.
4264 (tramp-do-copy-or-rename-file): Ignore errors when calling
4265 `set-file-extended-attributes'.
4266
4267 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4268 Add handler for `file-acl'.
4269 (tramp-smb-handle-file-acl): New defun.
4270
4271 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4272
4273 * calc/README: Mention ISO 8601 week-numbering dates.
4274
4275 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4276
4277 * view.el (view-mode-enable): New argument run-view-mode-hook.
4278 Run view-mode-hook only when it's non-nil (Bug#13315).
4279 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4280 argument t.
4281
4282 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4283
4284 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4285 (No device connected, invalid device name). (Bug #13299)
4286
4287 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4288
4289 * window.el (window-resizable--p): Rename to window-resizable-p.
4290 (window-resize-no-error): New function.
4291
4292 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4293 broken in fix from 2012-12-28.
4294
4295 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * subr.el (special-form-p): Don't signal errors on undef aliases.
4298
4299 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4300
4301 * calc/calc-forms.el (math-parse-date): Try using
4302 `math-parse-iso-date' when it looks like it might be needed.
4303 Allow times of 24:00.
4304 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4305 of 24:00.
4306
4307 2012-12-30 Glenn Morris <rgm@gnu.org>
4308
4309 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4310 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4311 (rmail-summary-displayed, rmail-summary): Declare.
4312 (mairix-rmail-display): Just require rmail.
4313
4314 2012-12-30 Chong Yidong <cyd@gnu.org>
4315
4316 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4317 check for the tarball contents.
4318
4319 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4320
4321 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4322 tarfile content listings (Bug#13136).
4323
4324 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4325
4326 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4327 Insert the undecoded text of the message being forwarded. (Bug#9521)
4328
4329 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4330
4331 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4332 integers, if they are real numbers. (Bug#13282)
4333
4334 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4335 Return `t' on success.
4336
4337 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4338 Add handler for `set-file-selinux-context'.
4339
4340 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4343 (tramp-sh-handle-set-file-acl): Return `t' on success.
4344
4345 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4346
4347 * files.el (backup-buffer-copy, basic-save-buffer-2):
4348 If set-file-extended-attributes fails, fall back on set-file-modes
4349 instead of signaling an error. (Bug#13298)
4350 (basic-save-buffer): Likewise.
4351
4352 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4353
4354 * progmodes/python.el: Support other commands triggering
4355 python-indent-line so indentation cycling continues to work.
4356 (python-indent-trigger-commands): New defcustom.
4357 (python-indent-line): Use it.
4358
4359 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4360
4361 * progmodes/python.el (python-shell-send-region): Add blank lines
4362 for non sent code so backtraces remain correct.
4363
4364 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4365
4366 * progmodes/python.el: Remove cl dependency.
4367 (python-syntax-count-quotes): Replace incf call.
4368 (python-fill-string): Replace setf call.
4369
4370 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4371
4372 * info.el (info-other-window): New arg, for consistency with info.
4373
4374 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4375
4376 * mail/rmail.el (rmail-maybe-display-summary):
4377 Rewrite (Bug#13066).
4378
4379 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4380
4381 * epg.el (epg--start): Modify process-environment locally.
4382
4383 2012-12-28 Daiki Ueno <ueno@gnu.org>
4384
4385 * epg.el: Support pinentry-curses.
4386 Suggested by Werner Koch in
4387 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4388 (epg-agent-file, epg-agent-mtime): New variable.
4389 (epg--start): Record the modified time of gpg-agent socket file,
4390 to restore Emacs frame after pinentry-curses termination.
4391 (epg-wait-for-completion): Restore Emacs frame here.
4392
4393 2012-12-27 Juri Linkov <juri@jurta.org>
4394
4395 * info.el (Info-file-completions): New variable.
4396 (Info-read-node-name-1): Complete node names in the Info file
4397 when a file name is given. Call `Info-build-node-completions'
4398 with a file name.
4399 (Info-build-node-completions): Add new arg `file'. When it is
4400 non-nil, visit it in a temporary buffer and cache its completions in
4401 `Info-current-file-completions'. Move most of the function body to
4402 `Info-build-node-completions-1'.
4403 (Info-build-node-completions-1): New function with the body from
4404 `Info-build-node-completions'. (Bug#12456)
4405
4406 2012-12-27 Juri Linkov <juri@jurta.org>
4407
4408 * frame.el (frame-maximization-style): Remove user option.
4409 (cycle-frame-maximized): Remove function.
4410 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4411 (toggle-frame-fullscreen): New command bound to <f11> instead of
4412 `toggle-frame-maximized'.
4413 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4414
4415 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4416
4417 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4418
4419 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4421 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4422 for `file-accessible-directory-p'. (Bug#13275)
4423
4424 2012-12-27 Sam Steingold <sds@gnu.org>
4425
4426 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4427 continuations, see <http://stackoverflow.com/questions/3582436>.
4428
4429 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4430
4431 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4432 "module" and "def" to have indentation before them.
4433 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4434
4435 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4436
4437 2012-12-27 Alan Mackenzie <acm@muc.de>
4438
4439 Speed up fontification where there's large brace blocks.
4440 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4441 to a call of c-beginning-of-decl-1.
4442
4443 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4444
4445 * comint.el (comint-adjust-window-point): New function.
4446 (comint-postoutput-scroll-to-bottom):
4447 Call comint-adjust-window-point (Bug#13248).
4448
4449 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4450
4451 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4452 Rakefile regexp.
4453 (auto-mode-alist): Associate .gemspec files with ruby-mode
4454 (https://bugs.ruby-lang.org/issues/5453).
4455
4456 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4457
4458 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4459 Suppress coloring, if possible (required for BusyBox based systems like
4460 CyanogenMod).
4461 (tramp-adb-handle-file-attributes)
4462 (tramp-adb-handle-insert-directory)
4463 (tramp-adb-handle-file-name-all-completions): Use it.
4464 (tramp-adb-get-toolbox): New defun. Check for remote shell
4465 implementation (BusyBox or Toolbox).
4466
4467 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4468
4469 * startup.el (initial-buffer-choice): Allow function as value
4470 (Bug#13251).
4471 (command-line-1): Handle case where initial-buffer-choice
4472 specifies a function.
4473 * server.el (server-execute): Handle case where
4474 initial-buffer-choice specifies a function.
4475
4476 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4477
4478 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4479 its own function.
4480 (smtpmail-try-auth-methods): Forget the user name/password if the
4481 login is unsuccessful (bug#12424).
4482
4483 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4484
4485 * notifications.el (notifications-notify): Protect body with
4486 `with-demoted-errors'.
4487
4488 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4489 Check properties of remote device. Restart connection, if there is a
4490 change.
4491
4492 2012-12-21 Chong Yidong <cyd@gnu.org>
4493
4494 * sort.el (sort-subr): Doc fix (Bug#13056).
4495
4496 2012-12-21 Bastien Guerry <bzg@gnu.org>
4497
4498 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4499
4500 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4501
4502 * simple.el (process-file): Overwrite stderr file, if exists.
4503
4504 2012-12-21 Daiki Ueno <ueno@gnu.org>
4505
4506 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4507 (epg-error): Set `error-message' property.
4508
4509 2012-12-21 Chong Yidong <cyd@gnu.org>
4510
4511 * international/mule-cmds.el (read-char-by-name): Signal an error
4512 if the user does not supply a valid character (Bug#13177).
4513
4514 * simple.el (transpose-subr-1): Preserve marker positions by
4515 changing the insertion sequence (Bug#13122).
4516
4517 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4518
4519 * simple.el (kill-region): Deactivate mark even for empty regions
4520 (Bug#13169).
4521
4522 2012-12-21 Chong Yidong <cyd@gnu.org>
4523
4524 * help-fns.el (describe-variable): Make sure we get the right
4525 buffer name (Bug#13105). Suggested by Kelly Dean.
4526
4527 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4528
4529 * comint.el (comint-redirect-previous-input-string): New variable.
4530 (comint-redirect-setup, comint-redirect-cleanup)
4531 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4532 (comint-redirect-preoutput-filter): Fix verbose message.
4533
4534 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4535
4536 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4537 is too long for Tramp. See discussion in
4538 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4539
4540 * progmodes/compile.el (compilation-start): Remove line escape
4541 template.
4542
4543 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4544
4545 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4546 Adjust comment.
4547
4548 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4549
4550 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4551 following non-comment text (bug#13207).
4552 (lm-header-multiline): Continuation lines need to be indented more than
4553 the first line.
4554 (lm-homepage): New function.
4555 (lm-with-file): Don't be confused if narrowing is in effect.
4556
4557 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4558
4559 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4560 very beginning of a hunk (e.g. killing the first line).
4561
4562 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4563
4564 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4565 and text properties from returned ACL string.
4566 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4567 for "setfacl" command.
4568
4569 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4570
4571 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4572 `tramp-cleanup-this-connection', when the process has died.
4573 (Bug#13151)
4574
4575 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4578
4579 2012-12-17 Kevin Ryde <user42@zip.com.au>
4580
4581 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4582
4583 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4584
4585 Add support for preserving ACL entries of files.
4586
4587 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4588 `set-file-acl' handlers.
4589
4590 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4591 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4592
4593 * net/tramp-compat.el (tramp-compat-copy-file):
4594 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4595
4596 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4597 Add `file-acl' and `set-file-acl' handlers.
4598 (tramp-gvfs-handle-copy-file):
4599 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4600 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4601 New defuns.
4602
4603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4604 Add `file-acl' and `set-file-acl' handlers.
4605 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4606 (tramp-sh-handle-set-file-acl): New defuns.
4607 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4608 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4609
4610 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4611 Add `file-acl' and `set-file-acl' handlers.
4612 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4613
4614 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4615
4616 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4617 use pop-to-buffer with NORECORD argument t. As buffer name, use
4618 *Metahelp* with a leading space (Bug#13190).
4619
4620 2012-12-16 Romain Francoise <romain@orebokech.com>
4621
4622 * files.el (file-extended-attributes)
4623 (set-file-extended-attributes): New functions.
4624 (backup-buffer): Use them to handle both SELinux context and ACL
4625 entries.
4626 (backup-buffer-copy): Work with an alist of extended attributes,
4627 rather than an SELinux context.
4628 (basic-save-buffer-2): Ditto.
4629
4630 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4631
4632 * battery.el (battery-bsd-apm): New function.
4633
4634 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4635
4636 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4637 standard date formats.
4638
4639 2012-12-15 Juri Linkov <juri@jurta.org>
4640
4641 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4642 `isearch-insert-char-by-name'.
4643 (with-isearch-suspended): New defmacro with body mostly from
4644 `isearch-edit-string' except the part that sets
4645 `isearch-new-string' and `isearch-new-message'.
4646 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4647 body that sets `isearch-new-string' and `isearch-new-message'.
4648 (isearch-insert-char-by-name): New command.
4649 * international/mule-cmds.el (read-char-by-name): Let-bind
4650 `enable-recursive-minibuffers' to t.
4651 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4652
4653 2012-12-15 Juri Linkov <juri@jurta.org>
4654
4655 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4656 (Bug#13175)
4657
4658 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4659
4660 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4661 the prompt. (Bug#13045)
4662
4663 2012-12-14 Glenn Morris <rgm@gnu.org>
4664
4665 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4666 Try to include filename in non-bytecomp warning. (Bug#13132)
4667
4668 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4669
4670 Fix permissions bugs with setgid directories etc. (Bug#13125)
4671 * files.el (backup-buffer): Don't rely on 9th output of
4672 file-attributes, as it's now a placeholder. Instead, use the new
4673 optional arg of file-ownership-preserved-p.
4674 (file-ownership-preserved-p): New optional arg GROUP.
4675 Fix mishandling of setuid directories that would cause this
4676 function to return t when it should have returned nil.
4677 Document what happens if the file does not exist, and when
4678 it's not known whether the ownership will be preserved.
4679 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4680 Likewise.
4681 (tramp-get-local-gid): Use group-gid for integer, as that's
4682 faster and more reliable.
4683
4684 2012-12-14 Julien Danjou <julien@danjou.info>
4685
4686 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4687 Update keywords list, data type and PL/pgSQL.
4688
4689 2012-12-14 Dave Abrahams <dave@boostpro.com>
4690
4691 * vc/ediff-util.el (ediff-buffer-type): New function.
4692 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4693 rather than taking it as as argument.
4694 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4695
4696 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4697
4698 * json.el: Add pretty-print option (bug#12634).
4699 (json-encoding-separator, json-encoding-default-indentation)
4700 (json--encoding-current-indentation, json-encoding-pretty-print)
4701 (json-encoding-lisp-style-closings): New vars.
4702 (json--with-indentation): New macro.
4703 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4704 (json-encode-array): Use it to obey json-encoding-pretty-print.
4705 (json-pretty-print-buffer, json-pretty-print): New commands.
4706
4707 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4710 Extract `ruby-syntax-propertize-expansions'.
4711 (ruby-syntax-propertize-expansions): Only change syntax on
4712 certain string delimiters, to punctuation. This way the common
4713 functions like forward-word and thing-at-point still work.
4714 (ruby-match-expression-expansion): Improve readability.
4715 (ruby-block-contains-point): New function.
4716 (ruby-add-log-current-method): Handle several edge cases.
4717
4718 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4719
4720 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4721 unload-feature finishes even when aborting an ongoing edebug session.
4722 Also, do not worry about edebug-mode, unload-feature takes care of it.
4723
4724 2012-12-13 Andreas Schwab <schwab@suse.de>
4725
4726 * net/tls.el (tls-program): Update customize type.
4727
4728 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4729
4730 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4731 (edebug-setup-hook, cl-read-load-hooks): Use it.
4732 (edebug-unload-function): New function. (Bug#13163)
4733
4734 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4735
4736 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4737 Otherwise, there could be errors in autoloading. (Bug#13151)
4738
4739 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4740
4741 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4742 sequences.
4743
4744 2012-12-13 Alan Mackenzie <acm@muc.de>
4745
4746 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4747 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4748 around `forward-comment' not recognizing ^M as whitespace.
4749
4750 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4751
4752 * progmodes/python.el (python-skeleton-class)
4753 (python-skeleton-def): Do not add space after defun name.
4754
4755 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4758 (cl--symbol-function): Remove (now that funbound is like nil).
4759
4760 2012-12-12 Glenn Morris <rgm@gnu.org>
4761
4762 * button.el (button--area-button-p): Fix typo.
4763
4764 2012-12-12 Sam Steingold <sds@gnu.org>
4765
4766 * frame.el (frame-maximization-style): New user option.
4767 (toggle-frame-maximized): Toggle frame maximization according to
4768 `frame-maximization-style', bound to <f11>.
4769 (cycle-frame-maximized): Cycle between all maximization styles and
4770 non-maximized frame, bound to shift-<f11>.
4771
4772 2012-12-12 David Cadé <codename68@gmail.com>
4773
4774 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4775
4776 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4777
4778 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4779 (eieio-override-prin1): Don't quote kewords and booleans.
4780 (object-write) <eieio-default-superclass>: Don't put closing parens
4781 on new line, avoid needless empty lines, align values that are objects
4782 with the slot keyword (instead of beginning on the same line).
4783 (eieio-list-prin1): Align value with slot keyword; increase
4784 eieio-print-depth before printing members of the list.
4785
4786 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4789 a display text-property.
4790 (report-emacs-bug-hook): Don't bother deleting it any more.
4791
4792 * hilit-chg.el (highlight-save-buffer-state): Delete.
4793 Use with-silent-modifications instead.
4794 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4795
4796 * button.el: Handle buttons in display text-properties.
4797 (button--area-button-p, button--area-button-string):
4798 Use (STRING . STRING-POS) representation instead of just STRING.
4799
4800 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4801
4802 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4803 subdirectory be skipped.
4804
4805 2012-12-11 Glenn Morris <rgm@gnu.org>
4806
4807 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4808
4809 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4810 Treat preprocessor lines embedded in continuations like comments.
4811 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4812
4813 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4814
4815 * calc/calc.el (calc-standard-date-formats): Add more date
4816 formats.
4817 * calc/calc-forms.el (math-parse-iso-date): New function.
4818 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4819 (math-parse-iso-date-validate): Add extra error checking.
4820 (calc-date-notation): Add ability to access new date formats.
4821
4822 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4825 font-lock as well as when there's no text-property.
4826
4827 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4828
4829 * hi-lock.el: Refine the choice of default face.
4830 (hi-lock-keyword->face): New function. Use it wherever we used
4831 cadadadr instead.
4832 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4833 (hi-lock--last-face): Remove var.
4834 (hi-lock--unused-faces): New var to replace it.
4835 (hi-lock-read-face-name): Use/maintain it.
4836 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4837 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4838 if it has another face.
4839
4840 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4841
4842 * subr.el (w32notify-handle-event): New function.
4843 (inotify-handle-event): Doc fix.
4844
4845 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4846
4847 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4848
4849 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4850
4851 * simple.el (just-one-space): Doc fix.
4852
4853 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4854
4855 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4856
4857 2012-12-10 Le Wang <l26wang@gmail.com>
4858
4859 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4860 narrowed buffer (bug#12361).
4861
4862 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4863
4864 * vc/vc-hooks.el (vc-state): Doc fix.
4865
4866 2012-12-10 Glenn Morris <rgm@gnu.org>
4867
4868 * mail/rmail.el (rmail-maybe-display-summary):
4869 Preserve buffer, in case select-window changes it. (Bug#13066)
4870
4871 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4874 cl-load-hook where they belong.
4875
4876 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4879
4880 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4881
4882 Parallelize byte compilation on MS-Windows.
4883 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4884 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4885 (WINS_BASIC): Define as concatenation of the above.
4886 (compile): Subdivide into 4 separate and independent jobs that can
4887 be run in parallel.
4888 (compile0-CMD, compile0-SH): New targets for compiling
4889 COMPILE_FIRST files, which are prerequisites for the rest of the
4890 byte-compilation.
4891 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4892 New targets for parallel compilation with cmd.exe.
4893 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4894 compiling under a Unixy shell.
4895
4896 2012-12-09 Chong Yidong <cyd@gnu.org>
4897
4898 * simple.el (set-mark-default-inactive): Delete this
4899 accidentally-introduced option.
4900 (set-mark-command, exchange-point-and-mark): Remove calls.
4901
4902 2012-12-09 Glenn Morris <rgm@gnu.org>
4903
4904 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4905 Respect a defcustom's :set function, if appropriate. (Bug#109)
4906 (eval-defun): Doc fix.
4907
4908 2012-12-08 Juri Linkov <juri@jurta.org>
4909
4910 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4911 (Info-fontify-node, Info-bookmark-make-record): Remove the
4912 file extension from Info-current-file (Bug#13016).
4913
4914 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4917 point, still provide some default.
4918 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4919 names, since we don't use it right now. Actually return the list.
4920 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4921
4922 2012-12-07 Chong Yidong <cyd@gnu.org>
4923
4924 * novice.el (disabled-command-function): Remove a spurious help
4925 xref (Bug#13043). Suggested by Kelly Dean.
4926
4927 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4928 syntax is specified (Bug#13025).
4929
4930 * info.el (Info-set-mode-line): Remove the file extension from
4931 Info-current-file if there is one (Bug#13016).
4932
4933 2012-12-07 Glenn Morris <rgm@gnu.org>
4934
4935 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4936 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4937 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4938 and rmail-mime-decoded. (Bug#9841)
4939
4940 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4941 (batch-unrmail, unrmail): Doc fixes.
4942 (unrmail): Respect unrmail-mbox-format.
4943 * mail/rmail.el (rmail-mbox-format): New option.
4944 (rmail-show-message-1): Respect rmail-mbox-format.
4945
4946 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4949
4950 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4953 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4954 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4955 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4956 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4957 (cl-progv): Don't rely on dynamic scoping to find the body.
4958 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4959 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4960 (cl-declaim): Use backquotes.
4961 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4962 Use "cl--" prefix for the object's tag.
4963
4964 * ses.el: Use advice-add/remove.
4965 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4966 (copy-region-as-kill, yank): Use advice-add.
4967 (ses-unload-function): Use advice-remove.
4968
4969 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4970
4971 * button.el: Make them work in header-lines (bug#12817).
4972 (button-map): Add bindings for header-line and mode-line use.
4973 (button-get, button-put, button-label): `button' may now be a string.
4974 (button-activate): Don't make it a defsubst.
4975 (button--area-button-p, button--area-button-string): New functions.
4976 (make-text-button): Fix the return value when `beg' was a string.
4977 (push-button): Handle the mode-line case.
4978
4979 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4982 (sql-signum): Remove. Use `cl-signum' instead.
4983 (sql-read-passwd): Remove; use read-passwd instread.
4984 (sql-get-login-ext): Use read-string.
4985 (sql-get-login): Use dolist and pcase.
4986 (sql--completion-table): Rename from sql-try-completion.
4987 Use complete-with-action.
4988 (sql-mode): Don't change abbrev-all-caps globally.
4989 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4990 (sql-postgres-completion-object): Initialize vars in their `let'.
4991 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4992 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4993 (sql-comint-interbase): Use a single append, without setq.
4994 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4995
4996 * hi-lock.el: Rework the default face and the serialize regexp code.
4997 (hi-lock--auto-select-face-defaults): Remove.
4998 (hi-lock-string-serialize-serial): Remove.
4999 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5000 make weak.
5001 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5002 equal string.
5003 (hi-lock-set-pattern): Adjust accordingly.
5004 (hi-lock--regexps-at-point): Simplify accordingly.
5005 (hi-lock--auto-select-face-defaults): Remove.
5006 (hi-lock--last-face): New var to replace it.
5007 (hi-lock-read-face-name): Rewrite (bug#11095).
5008 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5009
5010 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5011
5012 * net/tramp.el (tramp-replace-environment-variables):
5013 Hide compiler warning.
5014 (tramp-file-name-for-operation): Remove `executable-find',
5015 `start-process', `call-process' and `call-process-region'.
5016
5017 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5018
5019 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5020 compatibility.
5021
5022 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5023
5024 2012-12-06 Chong Yidong <cyd@gnu.org>
5025
5026 * ffap.el (ffap-replace-file-component): Fix typo.
5027
5028 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5031 fix open-paren-like token test (bug#12785).
5032
5033 2012-12-06 Glenn Morris <rgm@gnu.org>
5034
5035 * mail/rmailsum.el (rmail-new-summary): Tweak for
5036 rmail-maybe-display-summary changing buffer. (Bug#13066)
5037
5038 2012-12-06 Juri Linkov <juri@jurta.org>
5039
5040 * info.el (Info-fontify-node): Don't hide the last newline.
5041 (Bug#12272)
5042
5043 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5044
5045 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5046 so as to enable message-read-from-minibuffer to expand mail aliases.
5047
5048 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5051 the `intangible' property.
5052 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5053
5054 2012-12-05 Deniz Dogan <deniz@dogan.se>
5055
5056 * net/rcirc.el (rcirc-urls): Update documentation.
5057 (rcirc-condition-filter): New function.
5058 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5059 and exclude consecutive duplicate URLs (Bug#6082).
5060
5061 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5062
5063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5064 Check return code of copy command.
5065
5066 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5067 Use group `tramp'. Add version.
5068
5069 2012-12-05 Chong Yidong <cyd@gnu.org>
5070
5071 * ffap.el (ffap-url-regexp): Don't require matching at front of
5072 string (Bug#4952).
5073 (ffap-url-p): If only a substring matches, return that.
5074 (ffap-url-at-point): Use the return value of ffap-url-p.
5075 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5076 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5077 (ffap-guess-file-name-at-point): Likewise.
5078 (ffap-replace-file-component): Fix typo.
5079
5080 * info.el (info-display-manual): Add existing Info buffers, whose
5081 files may not be in Info-directory-list, to the completion.
5082 (info--manual-names): New helper function.
5083
5084 2012-12-05 Glenn Morris <rgm@gnu.org>
5085
5086 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5087 New functions, for detecting and resolving conflicts. (Bug#10709)
5088
5089 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5090
5091 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5092 (hi-lock-auto-select-face-defaults): New buffer local variable.
5093 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5094 (hi-lock-unface-buffer): Prompt user with useful defaults.
5095 With prefix arg, unhighlight all hi-lock patterns in buffer.
5096
5097 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5100
5101 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5102
5103 * Makefile.in (TRAMP_SRC):
5104 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5105
5106 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5107
5108 * net/tramp-adb.el: New package.
5109
5110 2012-12-04 Chong Yidong <cyd@gnu.org>
5111
5112 * terminal.el: Move to obsolete/.
5113
5114 * longlines.el: Move to obsolete/.
5115
5116 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5117 Remove code referring to longlines mode.
5118
5119 2012-12-03 Juri Linkov <juri@jurta.org>
5120
5121 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5122
5123 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5124
5125 * textmodes/ispell.el (ispell-init-process)
5126 (ispell-start-process, ispell-internal-change-dictionary):
5127 Make sure personal dictionary name is expanded after initial
5128 `default-directory' value. Use expanded strings for
5129 keep/restart checks and for value (Bug#13019).
5130
5131 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5132
5133 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5134
5135 2012-12-03 Leo Liu <sdl.web@gmail.com>
5136
5137 * files.el (dir-locals-read-from-file): Check file non-empty
5138 before reading. (Bug#13038)
5139
5140 2012-12-03 Glenn Morris <rgm@gnu.org>
5141
5142 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5143 Remove any version extension before checking filename. (Bug#13006)
5144 (jka-compr-compression-info-list): Belated :version bump.
5145
5146 2012-12-03 Chong Yidong <cyd@gnu.org>
5147
5148 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5149
5150 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5151 (buffer-menu): Doc fix (Bug#12294).
5152
5153 2012-12-03 Roland Winkler <winkler@gnu.org>
5154
5155 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5156 of diary-show-all-entries in the diary buffer (Bug#12994).
5157
5158 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5159
5160 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5161 "<STDIN>". This is binary safe.
5162
5163 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5164
5165 * calc/calc-forms.el (math-absolute-from-iso-dt)
5166 (math-date-to-iso-dt, math-parse-iso-date-validate)
5167 (math-iso-dt-to-date): New functions.
5168 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5169 (math-fd-isoweekday): New variables.
5170 (calc-date-notation, math-parse-standard-date, math-format-date)
5171 (math-format-date-part): Add support for more formatting codes.
5172
5173 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5174
5175 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5176 current buffer's file name when called interactively (Bug#12488).
5177
5178 2012-12-02 Juri Linkov <juri@jurta.org>
5179
5180 * info.el (info-display-manual): Don't clobber an existing Info
5181 buffer (Bug#10770). Add completion (Bug#10771).
5182
5183 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5184
5185 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5186 before using it for comparison (Bug#5297).
5187
5188 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5189
5190 * textmodes/css-mode.el (css-current-defun-name): New function.
5191 (css-mode): Use it.
5192
5193 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5194 (html-mode): Use it.
5195
5196 2012-12-01 Chong Yidong <cyd@gnu.org>
5197
5198 Modularize add-log-current-defun (Bug#2224).
5199 Suggested by Jari Aalto.
5200
5201 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5202 (add-log-current-defun): Move mode-specific code to other files.
5203 (add-log-lisp-like-modes, add-log-c-like-modes)
5204 (add-log-tex-like-modes): Variables deleted.
5205
5206 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5207 (lisp-mode-variables): Use it.
5208
5209 * progmodes/cc-mode.el (c-common-init):
5210 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5211 add-log-current-defun-function.
5212
5213 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5214 (m4-mode): Use it.
5215
5216 * progmodes/perl-mode.el (perl-current-defun-name): New.
5217 (perl-mode): Use it.
5218
5219 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5220 Use lisp-current-defun-name.
5221
5222 * textmodes/tex-mode.el (tex-current-defun-name): New.
5223 (tex-common-initialization): Use it.
5224
5225 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5226 (texinfo-mode): Use it.
5227
5228 2012-12-01 Chong Yidong <cyd@gnu.org>
5229
5230 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5231 * progmodes/autoconf.el (autoconf-mode):
5232 * progmodes/js.el (js-mode):
5233 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5234 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5235 * progmodes/perl-mode.el (perl-mode):
5236 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5237 * textmodes/css-mode.el (css-mode):
5238 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5239 (sgml-tags-invisible, sgml-guess-indent):
5240 * textmodes/tex-mode.el (tex-common-initialization)
5241 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5242 (doctex-mode, plain-tex-mode, latex-mode):
5243 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5244
5245 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5246
5247 * vc/vc-hg.el (vc-hg-next-revision):
5248 Ensure use of default "tip" output format. (Bug#6968)
5249
5250 2012-12-01 Kim F. Storm <storm@cua.dk>
5251
5252 * startup.el (fancy-startup-tail): Add a clickable link
5253 (Bug#2176).
5254
5255 2012-12-01 Chong Yidong <cyd@gnu.org>
5256
5257 * startup.el (fancy-startup-tail): Improve the message about
5258 auto-save files (Bug#2176).
5259
5260 * files.el (recover-session): Improve the descriptive message, and
5261 use substitute-command-keys.
5262
5263 2012-12-01 Glenn Morris <rgm@gnu.org>
5264
5265 * ido.el (ido-file-internal):
5266 Handle other-window, other-frame for dired. (Bug#13036)
5267
5268 2012-11-30 Glenn Morris <rgm@gnu.org>
5269
5270 * icomplete.el (icomplete-separator): Fix :version.
5271
5272 2012-11-30 Chong Yidong <cyd@gnu.org>
5273
5274 * shell.el (shell): For C-u M-x shell, use an inactive shell
5275 buffer as the default (Bug#1975).
5276 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5277 (shell-mode): Use them to reapply ansi colorization if Shell mode
5278 is re-enabled.
5279
5280 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5281
5282 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5283
5284 2012-11-30 Samuel Bronson <naesten@gmail.com>
5285
5286 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5287 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5288
5289 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5290
5291 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5292 by move-to-column (Bug#3234).
5293
5294 2012-11-30 Chong Yidong <cyd@gnu.org>
5295
5296 * longlines.el (longlines-wrap-line, longlines-encode-region):
5297 Preserve text properties (Bug#1425).
5298
5299 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5300
5301 * vc/vc.el (vc-register): Allow registering a file which is
5302 already registered with a different backend (Bug#10589).
5303
5304 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5305 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * icomplete.el: Change separator; add ido-style commands.
5308 (icomplete-show-key-bindings): Remove custom var.
5309 (icomplete-get-keys): Remove function.
5310 (icomplete-forward-completions, icomplete-backward-completions):
5311 New commands.
5312 (icomplete-minibuffer-map): New var.
5313 (icomplete-minibuffer-setup): Use it.
5314 (icomplete-exhibit): Don't delay if the list of completions is known.
5315 (icomplete-separator): New custom.
5316 (icomplete-completions): Use it.
5317 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5318 (minibuffer-force-complete-and-exit): New command.
5319 (minibuffer--complete-and-exit): New function extracted from
5320 minibuffer-complete-and-exit.
5321 (minibuffer-complete-and-exit): Use it.
5322
5323 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5324 error message when the file doesn't exist (bug#12974).
5325
5326 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5327
5328 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5329
5330 2012-11-29 Glenn Morris <rgm@gnu.org>
5331
5332 * files.el (hack-dir-local-variables): Warn if try to set
5333 coding via dir-locals, since it doesn't work. (Bug#7169)
5334
5335 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5336 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5337 Set buffer-local value of desktop-save-buffer.
5338 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5339 New functions.
5340 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5341 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5342
5343 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5344 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5345 Doc fix.
5346 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5347 Doc fixes.
5348
5349 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5350
5351 * calc/calc-forms.el (calc-date-notation): Fix regexp
5352 used to find time codes. Fix symbol for seconds.
5353
5354 2012-11-27 Glenn Morris <rgm@gnu.org>
5355
5356 * emacs-lisp/derived.el (derived-mode-make-docstring):
5357 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5358
5359 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5362 lexically scoped variables (bug#13005).
5363
5364 2012-11-27 Glenn Morris <rgm@gnu.org>
5365
5366 * vc/vc-hooks.el (vc-mistrust-permissions):
5367 Default to t, to avoid data-loss. (Bug#11490)
5368
5369 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5370
5371 * progmodes/python.el (python-indent-guess-indent-offset):
5372 If indentation is guessed make python-indent-offset buffer-local.
5373
5374 Fix Imenu regression.
5375 * progmodes/python.el (python-nav-beginning-of-defun):
5376 Fix forward movement when statement(s) separates point from defun.
5377 (python-imenu-prev-index-position): New function.
5378
5379 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5380
5381 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5382
5383 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5384 Don't set buffer-file-type. Return nil. (Bug#12989)
5385
5386 2012-11-27 Glenn Morris <rgm@gnu.org>
5387
5388 * hippie-exp.el (hippie-expand-try-functions-list):
5389 Re-autoload it. (Bug#12982)
5390
5391 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5392
5393 * descr-text.el (describe-char-padded-string):
5394 Call internal-char-font only on GUI frames. (Bug#11964)
5395
5396 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5397
5398 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5399 and obsoletion message.
5400
5401 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5404 the constructs to keep outside of the `cl-block' (bug#12977).
5405
5406 2012-11-27 Chong Yidong <cyd@gnu.org>
5407
5408 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5409 keep reading until we get the up-event anyway, in order to process
5410 the up-event for mouse-1-click-follows-link (Bug#12971).
5411
5412 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5415 base function is not yet defined (bug#12965).
5416 (ad-activate-advised-definition): Use ad-compile-function.
5417 (ad-activate): Use cond.
5418
5419 2012-11-25 Leo Liu <sdl.web@gmail.com>
5420
5421 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5422 (Bug#12979)
5423
5424 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5425
5426 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5427 reftex-section-info-function in order to be compatible with
5428 Texinfo integration.
5429
5430 * textmodes/reftex.el (reftex-section-pre-regexp)
5431 (reftex-section-post-regexp, reftex-section-info-function):
5432 New variable.
5433 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5434 reftex-section-post-regexp, and reftex-section-info-function in order
5435 to be compatible with Texinfo integration.
5436
5437 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5438 use reftex-section-pre-regexp variable in order to be compatible with
5439 Texinfo integration.
5440
5441 2012-11-25 Chong Yidong <cyd@gnu.org>
5442
5443 * faces.el: Make face-spec-set more analogous to setq.
5444 (face-spec-set): Change the third arg to specify whether this
5445 function is being called via defface, customize, or a third party.
5446 Set the appropriate symbol properties. Clear the override spec if
5447 setting via Custom. Initialize face if necessary. (Bug#4988)
5448 (face-spec-recalc): Allow theme faces to completely replace the
5449 defface spec, in the same way as custom faces (Bug#8454).
5450
5451 * cus-face.el (custom-declare-face): Move face initialization to
5452 face-spec-set.
5453 (custom-theme-set-faces): Don't initialize the face name here, as
5454 that is now done in face-spec-set.
5455
5456 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5457 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5458 Simplify by using the new arg to face-spec-set.
5459
5460 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5461 reset face-override-spec too, and use custom-declare-face.
5462
5463 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5464
5465 * term/ns-win.el (ns-initialize-window-system): Move creation of
5466 fontsets here (Bug#11964).
5467
5468 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5469
5470 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5471 cell renaming.
5472
5473 2012-11-24 Chong Yidong <cyd@gnu.org>
5474
5475 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5476 obsolete.
5477
5478 * custom.el (custom-theme-set-variables): Use a topological sort
5479 for ordering by custom dependencies (Bug#12952).
5480 (custom--sort-vars, custom--sort-vars-1): New functions.
5481
5482 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5485 lexical-binding (bug#12938).
5486
5487 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5488
5489 * image-mode.el (image-transform-check-size): Use assertions only
5490 for images of type imagemagick.
5491
5492 Otherwise no error, image-transform-fit-to-{width,height} is
5493 silently ignored, as before. Doc fix.
5494
5495 2012-11-24 Chong Yidong <cyd@gnu.org>
5496
5497 * faces.el (color-defined-p): Doc fix (Bug#12853).
5498
5499 2012-11-24 Juri Linkov <juri@jurta.org>
5500
5501 * dired.el (dired-mark): Add optional arg `interactive'.
5502 Check for `use-region-p' if `interactive' is non-nil.
5503 (dired-unmark, dired-flag-file-deletion): Add optional arg
5504 `interactive'. Call `dired-mark' with the arg `interactive'.
5505 (Bug#10624)
5506
5507 * wdired.el: Revert 2012-10-17 change partly and replace it with
5508 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5509 (wdired-finish-edit): Add marks for new file names to
5510 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5511 after `revert-buffer'.
5512 (wdired-do-renames): Remove calls to `dired-remove-file',
5513 `dired-add-file', `dired-add-entry'. (Bug#11795)
5514
5515 2012-11-24 Alan Mackenzie <acm@muc.de>
5516
5517 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5518
5519 Fix bugs in the state cache. Enhance a debugging mechanism.
5520 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5521 "brace at column zero" strategy for C++.
5522 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5523 (c-parse-state-point): New variable.
5524 (c-record-parse-state-state): Record old parse state with
5525 `copy-tree'. Record previous value of point.
5526 (c-debug-parse-state-double-cons): New debugging function.
5527 (c-debug-parse-state): Call the above new function.
5528 (c-toggle-parse-state-debug): Output a confirmatory message.
5529
5530 * progmodes/cc-mode.el (c-before-change, c-after-change):
5531 Call c-invalidate-state-cache from `c-before-change' instead of
5532 `c-after-change'.
5533
5534 2012-11-23 Chong Yidong <cyd@gnu.org>
5535
5536 * find-cmd.el (find-constituents): Add executable, ipath,
5537 readable, samefile, writable, daystart, regextype (Bug#12856).
5538
5539 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5542
5543 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5544
5545 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5546 definition. This fixes a bootstrap failure.
5547 (calc-gregorian-switch): In menu, put dates before regions.
5548 This is easier to follow, lines up better in the menu, and lets us
5549 coalesce regions that switch at the same time. Give country
5550 names, not "Vatican", as that's better for non-expert users.
5551 Use names that are stable between the date of switch and now, e.g.,
5552 Bohemia and Moravia (which existed then and now) and not
5553 Czechoslovakia (which didn't exist then and doesn't exist now).
5554 What is now the U.S. mostly did not switch at the same time as
5555 Britain, so omit the U.S. Correct spelling of "Britain".
5556 Catholic Switzerland was too much of a mess, so omit it.
5557
5558 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5559
5560 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5561 after the variable is changed.
5562
5563 2012-11-21 Daniel Colascione <dancol@dancol.org>
5564
5565 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5566 in SQL declarations for font-lock.
5567 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5568
5569 2012-11-21 Glenn Morris <rgm@gnu.org>
5570
5571 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5572 (face-italic-p): Add optional argument "inherit".
5573
5574 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5575 Remove -p suffix from names, for consistency with other set-face-*.
5576 (set-face-inverse-video): Fix interactive spec.
5577 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5578 * textmodes/table.el (table--update-cell-face):
5579 Use set-face-inverse-video rather than now obsolete alias.
5580
5581 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5582
5583 * simple.el (line-move): Don't call line-move-partial if
5584 scroll-conservatively is in effect. (Bug#12927)
5585
5586 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5589 Fallback on completion-at-point rather than
5590 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5591 (eshell-cmpl-initialize): Setup completion-at-point.
5592
5593 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5594
5595 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5596
5597 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5600 are remote, check out-of-band property for both.
5601
5602 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5605 code rewrite.
5606
5607 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5608
5609 More minor time fixes.
5610 * calendar/time-date.el: Commentary fix.
5611 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5612 too much other code depends on (0 0) time stamps.
5613 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5614 Add a couple of FIXME comments.
5615
5616 Minor cleanup for times as lists of four integers.
5617 * files.el (dir-locals-directory-cache):
5618 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5619 Doc fixes.
5620 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5621 * ps-bdf.el (bdf-file-newer-than-time):
5622 Process four-integers time stamps, not two. Doc fixes.
5623
5624 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * uniquify.el (uniquify-managed): Use defvar-local.
5627 (rename-buffer, create-file-buffer): Advise with advice-add.
5628 (uniquify-unload-function): Unadvise accordingly.
5629
5630 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5631 (trace-buffer): Don't purecopy.
5632 (trace-entry-message, trace-exit-message): Add `context' arg.
5633 (trace--timer): New var.
5634 (trace-make-advice): Adjust for use in nadvice.
5635 Add `context' argument. Delay `display-buffer' via a timer.
5636 (trace-function-internal): Use advice-add.
5637 (trace--read-args): New function.
5638 (trace-function-foreground, trace-function-background): Use it.
5639 (trace-function): Rename to trace-function-foreground and redefine as
5640 an alias to that new name.
5641 (untrace-function, untrace-all): Adjust to the use of nadvice.
5642
5643 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5644
5645 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5646
5647 * subr.el (called-interactively-p-functions): New var.
5648 (internal--called-interactively-p--get-frame): New macro.
5649 (called-interactively-p, interactive-p): Rewrite in Lisp.
5650 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5651 (called-interactively-p-functions): Use it.
5652 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5653 (called-interactively-p-functions): Use it.
5654 * allout.el (allout-called-interactively-p): Don't assume
5655 called-interactively-p is a subr.
5656
5657 2012-11-20 Glenn Morris <rgm@gnu.org>
5658
5659 * profiler.el (profiler-report-mode-map): Add a menu.
5660 No need to bind `q' because we derive from special-mode.
5661 (profiler-report-find-entry): Handle calls from the menu-bar.
5662
5663 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * emacs-lisp/byte-run.el (defun-declarations-alist):
5666 Allow a compiler-macro to be a lambda expression.
5667
5668 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5669 eval-when-compile.
5670 (python-syntax-context): Add compiler-macro.
5671 (python-font-lock-keywords): Simplify with De Morgan.
5672
5673 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5674
5675 * files.el (load-file): Require match in minibuffer selection, as was
5676 the case in Emacs-20 before we changed the spec to allow .elc files
5677 (bug#12935).
5678
5679 * json.el: Don't require cl since we don't use it.
5680 * color.el: Don't require cl.
5681 (color-complement): `caddr' -> `nth 2'.
5682
5683 * calendar/time-date.el (time-to-seconds): De-obsolete.
5684
5685 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5686
5687 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5688 year numbers.
5689 (math-date-to-julian-dt): Adjust the initial approximation for the
5690 year to deal with the new definition of the DATE.
5691
5692 2012-11-19 Daniel Colascione <dancol@dancol.org>
5693
5694 * term/w32-win.el (cygwin-convert-path-from-windows):
5695 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5696
5697 2012-11-18 Chong Yidong <cyd@gnu.org>
5698
5699 * filecache.el (file-cache--read-list): New function.
5700 (file-cache-add-directory-list, file-cache-add-file-list)
5701 (file-cache-delete-file-list, file-cache-delete-directory-list):
5702 Use it to read a list of files or directories (Bug#12846).
5703 (file-cache-add-file, file-cache-add-directory)
5704 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5705 (file-cache-delete-directory): Print an message.
5706
5707 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5708
5709 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5710 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5711
5712 2012-11-18 Glenn Morris <rgm@gnu.org>
5713
5714 * image.el (insert-image, insert-sliced-image): Doc fix.
5715
5716 2012-11-18 Chong Yidong <cyd@gnu.org>
5717
5718 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5719 (Bug#12810).
5720
5721 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5722
5723 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5724 response when the target file is in a subdirectory (Bug#12757).
5725
5726 2012-11-18 Chong Yidong <cyd@gnu.org>
5727
5728 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5729
5730 2012-11-18 Glenn Morris <rgm@gnu.org>
5731
5732 * emacs-lisp/cl-lib.el (face-underline-p):
5733 Use set-face-underline rather than the alias set-face-underline-p.
5734
5735 * window.el (with-temp-buffer-window): Doc fix.
5736 * subr.el (with-output-to-temp-buffer):
5737 Add doc xref to with-temp-buffer-window.
5738
5739 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5740
5741 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5742 * calc/calc.el (math-format-date-cache): Declare.
5743
5744 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5745
5746 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5747 It also uses January 1, 1 AD as its day number 1.
5748 * calc/calc-forms.el (math-julian-date-beginning)
5749 (math-julian-date-beginning-int): Implement this.
5750
5751 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5752
5753 * descr-text.el (quail-find-key):
5754 * dired.el (desktop-file-name):
5755 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5756 * generic-x.el (comint-mode, comint-exec):
5757 * image-dired.el (widget-forward):
5758 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5759 (speedbar-change-expand-button-char)
5760 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5761 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5762 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5763 (widget-field-action, widget-value-set):
5764 * speedbar.el (imenu--make-index-alist):
5765 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5766 (ring-length, ring-insert):
5767 * vcursor.el (compare-windows-skip-whitespace):
5768 * woman.el (dired-get-filename):
5769 Declare functions.
5770
5771 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5772
5773 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5774
5775 * calc/calc.el (calc-gregorian-switch): New variable.
5776
5777 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5778 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5779 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5780 (math-leap-year-p): Add option to distinguish between Julian
5781 and Gregorian calendars.
5782 (math-day-number): Use `math-day-in-year' to do the computations.
5783 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5784 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5785 to do the computations.
5786 (math-date-to-dt): Use `math-date-to-julian-dt' and
5787 `math-date-to-gregorian-dt' to do the computations.
5788 (calcFunc-weekday, math-format-date-part): Use the new version of
5789 the DATE to determine the weekday.
5790 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5791 when necessary.
5792
5793 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5794
5795 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5796 Cygwin; otherwise use 'file:'. (Bug#12914)
5797 (cygwin-convert-path-from-windows): Declare, to avoid
5798 byte-compiler warnings.
5799
5800 2012-11-17 Andreas Politz <politza@fh-trier.de>
5801
5802 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5803 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5804 prefix and negative numeric prefix args (Bug#12795).
5805
5806 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5807
5808 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5809 Don't signal an error with a score that is too low to add to the
5810 list of top scores. (Bug#12779)
5811
5812 2012-11-17 Chong Yidong <cyd@gnu.org>
5813
5814 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5815
5816 * filecache.el (file-cache-add-file): Handle relative file name in
5817 the argument (Bug#12694).
5818
5819 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5820
5821 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5822
5823 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5826
5827 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5828
5829 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5830
5831 * window.el (enlarge-window, shrink-window): Don't mention return
5832 value in doc-string (Bug#12896).
5833 (window--display-buffer): Don't resize frames - it won't work
5834 with all window managers and defeat pop-up-frame-alist.
5835 (display-buffer-alist): In doc-string explain that CONDITION can
5836 be a function and which arguments are passed to it (Bug#12854).
5837 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5838 expressions (Bug#12854).
5839 (display-buffer): Pass ACTION argument to
5840 display-buffer-assq-regexp.
5841
5842 2012-11-16 Glenn Morris <rgm@gnu.org>
5843
5844 * window.el (fit-frame-to-buffer-bottom-margin)
5845 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5846
5847 * faces.el (face-underline-p): Use face-attribute-specified-or.
5848
5849 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5850
5851 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5852
5853 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5856
5857 2012-11-16 Glenn Morris <rgm@gnu.org>
5858
5859 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5860 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5861
5862 * faces.el (face-underline-p): Doc fix. Handle :underline being
5863 things other than `t' (a string, a list).
5864 (face-inverse-video-p): Doc fix.
5865 (set-face-underline): Rename it back from set-face-underline-p.
5866 Doc fix. Allow interactive input of values other than t.
5867 (read-face-attribute): Apply formatting to :underline,
5868 since like :box and :stipple it can take list values.
5869
5870 * term.el (ansi-term): Don't let C-x escape-char binding
5871 clobber the more standard C-c binding. (Bug#12842)
5872
5873 * subr.el (set-temporary-overlay-map): Doc fix.
5874
5875 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5876
5877 * window.el (record-window-buffer)
5878 (display-buffer-record-window): When copying the markers to
5879 window-point preserve window-point-insertion-type. (Bug#12588)
5880
5881 2012-11-16 Glenn Morris <rgm@gnu.org>
5882
5883 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5884 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5885 Use new names for hooks rather than obsolete aliases.
5886
5887 2012-11-15 Daniel Colascione <dancol@dancol.org>
5888
5889 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5890 prefix instead of "file:" so that when FILE-NAME begins with "//",
5891 as it does when the target file is on a network share, url-handler
5892 isn't confused.
5893
5894 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5897 a preactivated advice from an old advice.el; they're not compatible!
5898
5899 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5900
5901 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5902 Fix string-spec case.
5903
5904 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5905
5906 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5909 (advice--buffer-local-function-sample): New var.
5910 (advice--set-buffer-local, advice--buffer-local): New functions.
5911 (add-function, remove-function): Use them.
5912
5913 2012-11-15 Drew Adams <drew.adams@oracle.com>
5914
5915 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5916
5917 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5920 potential binding of print-gensym to t, and prettify (back)quotes in
5921 case they appear in args's default values (bug#12884).
5922
5923 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5926 (advice-eval-interactive-spec): New function.
5927 (advice--make-interactive-form): Support around advice (bug#12844).
5928
5929 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5930
5931 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5932 more strict. Add docstring.
5933 (ruby-expression-expansion-re): Extract from
5934 `ruby-match-expression-expansion'.
5935 (ruby-syntax-propertize-function): After everything else, search
5936 for expansions in string literals, mark their insides as
5937 whitespace syntax and save match data for font-lock.
5938 (ruby-font-lock-keywords): Use the 2nd group from expression
5939 expansion matches.
5940 (ruby-match-expression-expansion): Use the match data saved to the
5941 text property in ruby-syntax-propertize-function.
5942
5943 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5946 (bug#12879).
5947
5948 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5949
5950 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5951 start/end keyword a bit harder. Works with different values of N.
5952 Add more comments.
5953 (ruby-end-of-block): Update accordingly.
5954
5955 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * woman.el (woman-file-name): Don't mess with unread-command-events
5958 (bug#12861).
5959
5960 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5961 Remove out of date self-require hack.
5962 (ad-do-advised-functions): Use simple `dolist'.
5963 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5964 (ad-advice-definition): Redefine as functions.
5965 (ad-advice-classes): Move before first use.
5966 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5967 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5968 (ad--defalias-fset): Remove functions.
5969 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5970 (ad-get-orig-definition): Rewrite.
5971 (ad-make-advised-definition-docstring): Change base docstring.
5972 (ad-real-orig-definition): Rewrite.
5973 (ad-map-arglists): Change name of called function.
5974 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5975 (ad-make-advised-definition): Simplify.
5976 (ad-assemble-advised-definition): Tweak for new calling context.
5977 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5978 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5979 function and call ad-activate if needed.
5980 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5981 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5982 (ad-compile-function): Compile ad-Advice-*.
5983 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5984 (ad-start-advice, ad-stop-advice): Remove.
5985
5986 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5987
5988 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5989 period before class method names, not after. Remove handling of
5990 one impossible case. Add comments.
5991
5992 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * emacs-lisp/advice.el: Remove support for freezing.
5995 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5996 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5997 Remove support for `freeze'.
5998
5999 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6000 override the default.
6001 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6002 cl--dotimes/dolist.
6003 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6004 `cl' is loaded.
6005
6006 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6007 from add-advice.
6008 (advice--strip-macro): New function.
6009 (advice--defalias-fset): Use them to handle macros.
6010 (advice-add): Use them.
6011 (advice-member-p): Correctly handle macros.
6012
6013 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6014
6015 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6016 Never font-lock the beginning of singleton class as heredoc.
6017
6018 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6021
6022 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6023
6024 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6025 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6026 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6027
6028 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6029
6030 Fix end-of-defun misbehavior.
6031 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6032 python-beginning-of-defun-function. Handle nested defuns
6033 correctly.
6034 (python-nav-end-of-defun): Rename from
6035 python-end-of-defun-function. Ensure forward movement.
6036 (python-info-current-defun): Reimplement to work as intended
6037 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6038 parent defuns as soon as possible.
6039
6040 2012-11-13 Glenn Morris <rgm@gnu.org>
6041
6042 * progmodes/flymake.el (flymake-error-bitmap)
6043 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6044 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6045
6046 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6047
6048 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6049 backward, always stop at indentation. Reverts the change from
6050 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6051
6052 2012-11-13 Glenn Morris <rgm@gnu.org>
6053
6054 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6055 Add ibuffer-filter-by-derived-mode.
6056
6057 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6058 the same name shadowing each other.
6059
6060 * window.el (with-temp-buffer-window): Doc tweak.
6061
6062 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6063
6064 * help.el (temp-buffer-max-height):
6065 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6066 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6067
6068 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * emacs-lisp/nadvice.el: New package.
6071 * subr.el (special-form-p): New function.
6072 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6073 (elp-all-instrumented-list): Remove var.
6074 (elp-not-profilable): Remove elp-wrapper.
6075 (elp-profilable-p): Use autoloadp and special-form-p.
6076 (elp--advice-name): New const.
6077 (elp-instrument-function): Use advice-add.
6078 (elp--instrumented-p): New predicate.
6079 (elp-restore-function): Use advice-remove.
6080 (elp-restore-all, elp-reset-all): Use mapatoms.
6081 (elp-set-master): Use elp--instrumented-p.
6082 (elp--make-wrapper): Rename from elp-wrapper, return a function
6083 suitable for advice-add. Use cl-inf.
6084 (elp-results): Use mapatoms+elp--instrumented-p.
6085 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6086 (debug-function-list): Remove var.
6087 (debug): Rename arg, and then let-bind it explicitly inside.
6088 (debugger-setup-buffer): Rename arg.
6089 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6090 (debugger-frame-number): Adjust to new debug-on-entry setup.
6091 (debug--implement-debug-on-entry): Rename from
6092 implement-debug-on-entry, add argument.
6093 (debugger-special-form-p): Remove, use special-form-p instead.
6094 (debug-on-entry): Use advice-add.
6095 (debug--function-list): New function.
6096 (cancel-debug-on-entry): Use it, along with advice-remove.
6097 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6098 (debugger-list-functions): Use debug--function-list instead of
6099 debug-function-list.
6100 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6101 (ad-special-form-p): Remove, use special-form-p instead.
6102 (ad-set-advice-info): Use add-function and remove-function.
6103 (ad--defalias-fset): Adjust accordingly.
6104
6105 2012-11-10 Glenn Morris <rgm@gnu.org>
6106
6107 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6108 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6109 (report-emacs-bug-create-existing-bugs-buffer)
6110 (report-emacs-bug-parse-query-results)
6111 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6112
6113 * term.el (term-default-fg-color, term-default-bg-color):
6114 Make obsolete, rather than just saying "deprecated" in the doc.
6115
6116 * term.el (term): Rename from `term-face'.
6117 (term-current-face, ansi-term-color-vector)
6118 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6119 Update all users.
6120
6121 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6122
6123 * server.el (server-create-window-system-frame): Handle Nextstep
6124 specially (Bug#12780).
6125
6126 2012-11-10 Glenn Morris <rgm@gnu.org>
6127
6128 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6129 Unautoload, and make obsolete. (Bug#7449)
6130
6131 2012-11-10 Chong Yidong <cyd@gnu.org>
6132
6133 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6134 rename from diff-remove-trailing-whitespace (Bug#12831).
6135
6136 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6139 miscompilation of trace.el.
6140
6141 2012-11-10 Glenn Morris <rgm@gnu.org>
6142
6143 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6144
6145 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6148 (bug#12812).
6149
6150 2012-11-10 Chong Yidong <cyd@gnu.org>
6151
6152 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6153 a defcustom with an appropriate :set function.
6154 (minibuffer-default--in-prompt-regexps): New function.
6155
6156 2012-11-10 Glenn Morris <rgm@gnu.org>
6157
6158 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6159 (define-modify-macro): Doc fixes.
6160
6161 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6162 (gv-define-simple-setter): Update doc of `fix-return'.
6163
6164 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6167 twice when `fix-return' is set (bug#12813).
6168
6169 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6170 gv-define-simple-setter (bug#12812).
6171
6172 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6173 (bug#12756).
6174
6175 2012-11-10 Glenn Morris <rgm@gnu.org>
6176
6177 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6178
6179 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6180 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6181 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6182 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6183
6184 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6185
6186 2012-11-10 Leo Liu <sdl.web@gmail.com>
6187
6188 * ido.el (ido-set-matches-1): Improve flex matching performance by
6189 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6190
6191 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6194 (ad--defalias-fset): New function.
6195 (ad-safe-fset): Remove.
6196 (ad-make-freeze-definition): Use cl-letf*.
6197
6198 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * subr.el (dolist): Don't bind VAR in RESULT.
6201
6202 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6203 (fset, documentation): Don't save real def since we don't advise.
6204 (ad-do-advised-functions): Remove problematic `result-form'.
6205 (ad-safe-fset): `ad-real-fset' => `fset'.
6206 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6207 uses CL's dolist internally.
6208 (ad-arglist): Remove unused arg `name'.
6209 (ad-docstring, ad-make-advised-docstring):
6210 `ad-real-documentation' => `documentation'.
6211 (warning-suppress-types): Declare.
6212 (ad-set-arguments): Simple CSE.
6213 (ad-recover-normality): Sanity check.
6214
6215 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6216 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6217
6218 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6219
6220 * ses.el: symbol to coordinate mapping is made by symbol property
6221 `ses-cell'. This means that the same mapping is done for all SES
6222 sheets. That is good enough for cells with standard A1 names, but
6223 not for named cell. So a hash map is added for the latter.
6224 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6225 (ses-sym-rowcol): Use hashmap for named cell.
6226 (ses-is-cell-sym-p): New defun.
6227 (ses-decode-cell-symbol): New defun.
6228 (ses-create-cell-variable): Add cell to hashmap when name is not
6229 A1-like.
6230 (ses-rename-cell): Check that cell new name is not already in
6231 spreadsheet with the use of ses-is-cell-sym-p
6232 (ses-rename-cell): Use hash map for named cells, but accept also
6233 renaming back to A1-like.
6234
6235 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * emacs-lisp/advice.el: Use new dynamic docstrings.
6238 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6239 Use dynamic-docstring-function instead of ad-advice-info.
6240 (ad--make-advised-docstring): New function extracted from
6241 ad-make-advised-docstring.
6242 (ad-make-advised-docstring): Use it.
6243 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6244 from sql-help.
6245 (sql-help): Use it with dynamic-docstring-function.
6246
6247 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6248
6249 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * files.el (hack-one-local-variable--obsolete): New function.
6252 (hack-one-local-variable): Use it for obsolete settings.
6253
6254 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6255 the new name.
6256
6257 * progmodes/js.el (js--filling-paragraph): New var.
6258 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6259 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6260 less sneaky.
6261
6262 2012-11-08 Julien Danjou <julien@danjou.info>
6263
6264 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6265 `auto-mode-alist' (Bug#12835).
6266
6267 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6270 (perl--prettify-symbols-alist): New const.
6271 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6272 New functions.
6273 (perl-font-lock-keywords-2): Use them.
6274 (perl-electric-noindent-p): New function.
6275 (perl-mode): Use it to set up electric-indent-mode.
6276 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6277 (perl-mode-map): Remove bindings for them.
6278 (perl-imenu-generic-expression, perl-outline-level):
6279 Match functions&packages in column>0.
6280
6281 * env.el (env--substitute-vars-regexp): New const.
6282 (substitute-env-vars): Use it. Add `only-defined' arg.
6283 * net/tramp.el (tramp-replace-environment-variables): Use it.
6284
6285 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6286 Byte-compile *before* eval in eval-and-compile.
6287 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6288 (byte-compile-file-form-autoload): Don't hide actual definition.
6289 (byte-compile-maybe-guarded): Accept `functionp' as well.
6290
6291 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6292
6293 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6294
6295 * notifications.el (notifications-get-server-information-method):
6296 New defconst.
6297 (notifications-get-capabilities): Fix docstring.
6298 (notifications-get-server-information): New defun.
6299
6300 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6301
6302 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6303 readability.
6304
6305 * textmodes/ispell.el: Experimental support for support debugging.
6306 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6307 buffer for ispell.
6308 (ispell-print-if-debug): New function to print stuff to
6309 `ispell-debug-buffer' if debugging is enabled.
6310 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6311 show some debugging info.
6312 (ispell-buffer-with-debug): New function that creates a debugging
6313 buffer and calls `ispell-buffer' with debugging enabled.
6314
6315 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6316 comment in autoconf mode. (Bug#12768)
6317
6318 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6319
6320 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6321 frame-first-window, frame-root-window, frame-selected-window,
6322 minibuffer-selected-window, minibuffer-window,
6323 window-absolute-pixel-edges, window-at, window-body-height,
6324 window-body-width, window-display-table, window-combination-limit,
6325 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6326 window-inside-edges, window-inside-pixel-edges, window-left-child,
6327 window-left-column, window-margins, window-next-buffers,
6328 window-next-sibling, window-new-normal, window-new-total,
6329 window-normal-size, window-parameter, window-parameters, window-parent,
6330 window-pixel-edges, window-point, window-prev-buffers,
6331 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6332 window-start, window-text-height, window-top-child, window-top-line,
6333 window-total-height, window-total-width and window-use-time to the list
6334 of functions without side-effects.
6335 (toplevel): Add window-valid-p to the list of error-free functions
6336 without side-effects.
6337
6338 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6339
6340 * textmodes/ispell.el (ispell-program-name):
6341 Update spellchecker parameters when customized.
6342
6343 2012-11-04 Glenn Morris <rgm@gnu.org>
6344
6345 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6346
6347 2012-11-04 Chong Yidong <cyd@gnu.org>
6348
6349 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6350 same-window-* variables.
6351
6352 2012-11-04 Juri Linkov <juri@jurta.org>
6353
6354 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6355 (isearch-describe-key, isearch-describe-mode): Use a display
6356 action instead of binding same-window-* variables (Bug#10040).
6357
6358 2012-11-03 Glenn Morris <rgm@gnu.org>
6359
6360 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6361 Rename handler properties back from cl-- to cl-. (Bug#12788)
6362
6363 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6364
6365 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6366
6367 * term/pc-win.el: Don't load term/internal from here.
6368
6369 * loadup.el: Load term/internal from here.
6370
6371 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6372
6373 * progmodes/python.el (inferior-python-mode): Fix hang in
6374 jit-lock (Bug#12645).
6375
6376 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6377
6378 * window.el (switch-to-visible-buffer)
6379 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6380
6381 2012-11-03 Glenn Morris <rgm@gnu.org>
6382
6383 * emacs-lisp/cl-lib.el (cl--random-time):
6384 Rename from cl-random-time. (Bug#12773)
6385 (cl--gensym-counter, cl--random-state): Update callers.
6386 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6387
6388 2012-11-03 Chong Yidong <cyd@gnu.org>
6389
6390 * cus-start.el: Make cursor-type customizable (Bug#11633).
6391
6392 2012-11-02 Glenn Morris <rgm@gnu.org>
6393
6394 * filecache.el: No need to load find-lisp when compiling.
6395 (find-lisp-find-files): Autoload it.
6396 (file-cache-add-directory-recursively): Don't require find-lisp.
6397
6398 * image.el (image-type-from-file-name): Trivial simplification.
6399
6400 * emacs-lisp/bytecomp.el (byte-compile-eval):
6401 Decouple "noruntime" and "cl-functions" warnings.
6402
6403 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6404
6405 * play/gomoku.el (gomoku-display-statistics): Update mode line
6406 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6407
6408 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6409
6410 * window.el (quit-restore-window): If the window has been
6411 created on an existing frame and ended up as the sole window on
6412 that frame, do not delete it (Bug#12764).
6413
6414 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6417 Rename from sh--inside-arithmetic-expression, handle more cases
6418 (bug#11263).
6419
6420 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6421 (sh-font-lock-open-heredoc): Use it (bug#12770).
6422
6423 2012-10-30 Glenn Morris <rgm@gnu.org>
6424
6425 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6426
6427 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6428
6429 2012-10-29 Chong Yidong <cyd@gnu.org>
6430
6431 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6432 function key is stored in a keyboard macro (Bug#4894).
6433
6434 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6435
6436 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6439 header comments".
6440 (diff-unified->context, diff-context->unified)
6441 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6442
6443 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6444
6445 * files.el (find-alternate-file): Only ask one question (bug#12487).
6446
6447 2012-10-29 Chong Yidong <cyd@gnu.org>
6448
6449 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6450 Suggested by Dan Nicolaescu (Bug#6326).
6451
6452 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6453
6454 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6455
6456 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6457
6458 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6459
6460 * face-remap.el (face-remap-add-relative): Handle the case where a
6461 face-remapping-alist entry is a cons cell (Bug#12762).
6462
6463 2012-10-29 Kevin Ryde <user42@zip.com.au>
6464
6465 * woman.el (woman-parse-numeric-value): Handle picas correctly
6466 (Bug#12639).
6467
6468 2012-10-29 Glenn Morris <rgm@gnu.org>
6469
6470 * emacs-lisp/cl.el (defsetf): Doc fix.
6471
6472 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6475 syntax to the matching opener, if any (bug#12547).
6476 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6477 matching open as a "case-(".
6478 (sh-smie-rc-grammar): Add a corresponding rule for it.
6479
6480 2012-10-28 Daniel Hackney <dan@haxney.org>
6481
6482 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6483 "PKGNAME-autoloads.el" in case we created it.
6484
6485 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6488 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6489 (completion--twq-all): Disable too-strict assertions.
6490
6491 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6492
6493 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6494
6495 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6496 text to match the real keybindings.
6497
6498 2012-10-27 Juri Linkov <juri@jurta.org>
6499
6500 * wdired.el (wdired-keep-marker-rename): New defcustom.
6501 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6502 (Bug#11795)
6503
6504 * dired.el (dired-keep-marker-rename): Add reference to
6505 `wdired-keep-marker-rename' in the docstring.
6506 Add default character value ?R to display initially in
6507 Customization UI instead of ?@.
6508
6509 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6510
6511 * window.el (display-buffer): In doc-string describe
6512 window-height and window-width alist entries.
6513
6514 * time.el (display-time-world): Restore fit-window-to-buffer
6515 behavior.
6516
6517 2012-10-27 Chong Yidong <cyd@gnu.org>
6518
6519 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6520
6521 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6522
6523 * minibuffer.el (completion-category-overrides): New completion
6524 category `bookmark' (bug#11131).
6525
6526 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6529 Silence bogus compiler warnings for ad-do-it.
6530
6531 * bookmark.el (bookmark-completing-read): Set the completion category
6532 to `bookmark' (bug#11131).
6533
6534 2012-10-26 Bastien <bzg@altern.org>
6535 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * face-remap.el: Use lexical-binding.
6538 (text-scale-adjust): Improve docstring. Use itself for the temporary
6539 overlay-map bindings, so as to repeat the "Use..." message each time.
6540
6541 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * emacs-lisp/macroexp.el (macroexp--expand-all):
6544 Obey byte-compile-warning-enabled-p (bug#12486).
6545
6546 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6547 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6548
6549 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6550
6551 * mouse.el (mouse-drag-line): Move last form into preceding when
6552 clause (Bug#12731).
6553
6554 * help.el (resize-temp-buffer-window): Fix doc-string.
6555
6556 2012-10-25 David Engster <deng@randomsample.de>
6557
6558 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6559 Remove. This feature is already integrated in imenu.
6560
6561 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6562 always loaded. Require `speedbar' unconditionally.
6563
6564 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6567
6568 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6569
6570 * net/ldap.el (ldap-search-internal): The official ldif format starts
6571 with a "version: 1" header (bug#12724).
6572
6573 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6574 (bug#12721).
6575
6576 2012-10-25 Glenn Morris <rgm@gnu.org>
6577
6578 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6579
6580 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * minibuffer.el (minibuffer-force-complete): Use one more marker
6583 for the temporary-overlay-map command (bug#12619).
6584
6585 2012-10-24 Chong Yidong <cyd@gnu.org>
6586
6587 * time.el (display-time-world-mode): Derive from special-mode.
6588 (display-time-world): Use display-buffer (Bug#12708).
6589 (display-time-world-mode-map): Variable deleted.
6590 (display-time-world-display): Wrap the final delete-char inside
6591 inhibit-read-only.
6592
6593 2012-10-24 Chong Yidong <cyd@gnu.org>
6594
6595 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6596 Doc fix.
6597
6598 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6599
6600 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * minibuffer.el (completion--all-sorted-completions-location): New var.
6603 (completion--cache-all-sorted-completions)
6604 (completion--flush-all-sorted-completions): Use it.
6605 (completion-in-region, completion-in-region--postch)
6606 (completion-at-point, completion-help-at-point): Use markers in
6607 completion-in-region--data (bug#12619).
6608
6609 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * progmodes/compile.el (compilation-start): Try to handle common
6612 quoting of `cd' argument (bug#12640).
6613
6614 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6615 (bug#12671).
6616
6617 2012-10-23 Glenn Morris <rgm@gnu.org>
6618
6619 * progmodes/gud.el (gud-menu-map):
6620 Check gdb-active-process is bound. (Bug#12358)
6621
6622 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * repeat.el (repeat): Set real-this-command (bug#12232).
6625
6626 * htmlfontify.el (hfy-post-html-hook):
6627 * filesets.el (filesets-cache-fill-content-hook):
6628 * arc-mode.el (archive-extract-hook):
6629 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6630 * net/rcirc.el (rcirc-sentinel-functions)
6631 (rcirc-receive-message-functions, rcirc-activity-functions)
6632 (rcirc-print-functions):
6633 * net/dbus.el (dbus-event-error-functions):
6634 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6635 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6636 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6637 * term/sun.el (sun-raw-prefix-hooks):
6638 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6639
6640 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6641
6642 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6643 Set `tramp-chunksize' to 1. This improves the performance.
6644 (tramp-smb-wait-for-output): Add timeout to
6645 `tramp-accept-process-output' calls.
6646
6647 2012-10-23 Chong Yidong <cyd@gnu.org>
6648
6649 * faces.el (font-list-limit): Define as an obsolete variable.
6650
6651 * startup.el (command-line):
6652 * cus-start.el: Don't refer to font-list-limit.
6653
6654 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6655
6656 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * subr.el (internal-temp-output-buffer-show): Rename from
6659 temp-output-buffer-show, since previously compiled files expect this name.
6660
6661 2012-10-23 Glenn Morris <rgm@gnu.org>
6662
6663 * image.el (image-type-from-file-name): If multiple types match,
6664 return the first one that is supported. (Bug#9045)
6665
6666 2012-10-22 Glenn Morris <rgm@gnu.org>
6667
6668 * image.el (imagemagick-enabled-types): Doc fix.
6669
6670 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6671
6672 * progmodes/which-func.el (which-func-current): The hash-table may have
6673 an explicit nil (bug#12338).
6674
6675 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * electric.el (electric-pair-delete-selection-self-insert-function):
6678 Rename to electric-pair-will-use-region, return a boolean.
6679 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6680
6681 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6682 (delete-selection-pre-hook): Use use-region-p.
6683 (delete-selection-self-insert-function): Remove.
6684 (self-insert-command): Obey self-insert-uses-region-functions.
6685 (self-insert-iso): Revert to previous setting, since we don't actually
6686 know what that command does.
6687 (delete-selection-self-insert-hooks): Remove.
6688
6689 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6690
6691 * delsel.el (delete-selection-helper): New function, extracted from
6692 delete-selection-pre-hook.
6693 (delete-selection-pre-hook): Use it.
6694 (delete-selection-self-insert-function): New function.
6695 (delete-selection-self-insert-hooks): New hook.
6696 (self-insert-command, self-insert-iso): Use it.
6697 * electric.el (electric-pair-syntax): New function, extracted from
6698 electric-pair-post-self-insert-function.
6699 (electric-pair-post-self-insert-function): Use it.
6700 (electric-pair-delete-selection-self-insert-function): New function.
6701 (electric-pair-mode): Require delsel and setup
6702 delete-selection-self-insert-hooks (bug#11520).
6703
6704 2012-10-20 Chong Yidong <cyd@gnu.org>
6705
6706 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6707 no changes to show (Bug#12586).
6708
6709 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6710 list explicitly (Bug#12571).
6711
6712 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6713
6714 * progmodes/flymake.el (flymake-create-temp-inplace):
6715 Use file-truename.
6716
6717 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6718
6719 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6720
6721 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6722
6723 * calc/calc-units.el (math-extract-units): Properly extract powers
6724 of units.
6725
6726 2012-10-20 Daniel Colascione <dancol@dancol.org>
6727
6728 * frame.el (make-frame): Set x-display-name as we used to in order
6729 to unbreak creating an X11 frame from an Emacs daemon started
6730 without a display.
6731
6732 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6735 the same completion-field (bug#12221).
6736
6737 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6738
6739 * emacs-lisp/debug.el (debug): Record height of debugger window
6740 also when debugger will be back (Bug#8789).
6741
6742 2012-10-18 Chong Yidong <cyd@gnu.org>
6743
6744 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6745 Convert to defcustom.
6746 (gdb-get-source-file): Don't bind pop-up-windows.
6747
6748 * progmodes/gud.el (gud-display-line): Don't specially re-use
6749 other frames for the gdb-mi case (Bug#12648).
6750
6751 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * emacs-lisp/advice.el: Clean up commentary a bit.
6754 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6755 (byte-code-function-p): Never redefine.
6756
6757 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6758
6759 2012-10-18 Glenn Morris <rgm@gnu.org>
6760
6761 * dired.el (dired-sort-toggle): Some ls implementations only allow
6762 a single option string. (Bug#12666)
6763
6764 * minibuffer.el (completion-cycle-threshold): Doc fix.
6765
6766 2012-10-17 Kenichi Handa <handa@gnu.org>
6767
6768 * international/mule.el (set-keyboard-coding-system):
6769 Recover input meta mode when the new coding system doesn not use 8-bit.
6770 Supply TERMINAL arg to set-input-meta-mode.
6771
6772 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6773
6774 * wdired.el (wdired-old-marks): New variable.
6775 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6776 (wdired-do-renames): Move point with renamed file and don't lose
6777 mark status (Bug#11795).
6778
6779 2012-10-16 Juri Linkov <juri@jurta.org>
6780
6781 * replace.el (query-replace-help): Mention multi-buffer replacement
6782 keys in the Help message. (Bug#12655)
6783
6784 2012-10-15 Chong Yidong <cyd@gnu.org>
6785
6786 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6787
6788 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6789
6790 * window.el (display-buffer): Doc fix.
6791
6792 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6793 Adjust the msft regexp to the output of Studio 2010, and move msft
6794 before edg-1. See the discussion on emacs-devel,
6795 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6796 for the details.
6797
6798 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6801 (oset): Move uses of object-class-fast macro after its definition.
6802
6803 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6804
6805 2012-10-13 Chong Yidong <cyd@gnu.org>
6806
6807 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6808 enabled, re-enable it (Bug#11963).
6809
6810 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6811
6812 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6813 non-nil, restore window configuration (Bug#12623).
6814
6815 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * help-fns.el (describe-variable, describe-function-1):
6818 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6819
6820 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6821
6822 2012-10-12 Glenn Morris <rgm@gnu.org>
6823
6824 * mail/rmailsum.el (rmail-header-summary):
6825 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6826
6827 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6828
6829 * progmodes/python.el (python-mode-map):
6830 Replace subtitute-key-definition with proper command remapping.
6831 (python-nav--up-list): Fix behavior for blocks on the same level.
6832
6833 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6836
6837 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6838 changes to the format of load-history.
6839
6840 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6841 completion-ignore-case in case that var is buffer-local (bug#12615).
6842
6843 2012-10-11 Kenichi Handa <handa@gnu.org>
6844
6845 * international/eucjp-ms.el: Re-generated.
6846
6847 2012-10-10 Kenichi Handa <handa@gnu.org>
6848
6849 * select.el (xselect--encode-string): If a coding is specified for
6850 selection, and that is compatible with COMPOUND_TEXT, use it.
6851
6852 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6853
6854 * window.el (switch-to-buffer-preserve-window-point): New option.
6855 (switch-to-buffer):
6856 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6857
6858 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6859
6860 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6861 Don't document nil as a useful value (bug#12583).
6862
6863 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * net/tramp.el (tramp-debug-message):
6866 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6867 (with-tramp-progress-reporter): Rename from
6868 `tramp-with-progress-reporter'.
6869 (with-tramp-file-property, with-tramp-connection-property):
6870 Move from tramp-cache.el, rename from `with-file-property' and
6871 `with-connection-property', respectively.
6872
6873 * net/tramp-cache.el: Remove `with-file-property' and
6874 `with-connection-property'.
6875
6876 * net/tramp.el:
6877 * net/tramp-gvfs.el:
6878 * net/tramp-sh.el:
6879 * net/tramp-smb.el: Adapt callees.
6880
6881 * net/trampver.el: Update release number.
6882
6883 2012-10-09 Glenn Morris <rgm@gnu.org>
6884
6885 * w32-fns.el (set-message-beep):
6886 * term/w32-win.el (set-message-beep): Update declarations.
6887
6888 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6891 (mode-line-widen, mode-line-input-method-map)
6892 (mode-line-coding-system-map, mode-line-remote)
6893 (mode-line-unbury-buffer, mode-line-bury-buffer)
6894 (mode-line-next-buffer, mode-line-previous-buffer):
6895 Replace save-selected-window+select-window => with-selected-window.
6896
6897 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6898 * progmodes/cc-vars.el (bq-process): Remove, unused.
6899
6900 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6901
6902 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6903
6904 Implemented `backward-up-list'-like navigation.
6905 * progmodes/python.el (python-nav-up-list)
6906 (python-nav-backward-up-list): New functions.
6907 (python-mode-map): Define substitute key for backward-up-list to
6908 python-nav-backward-up-list.
6909
6910 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6911
6912 * progmodes/python.el (python-fill-paragraph): Rename from
6913 python-fill-paragraph-function. Fixed fill-paragraph for
6914 decorators (Bug#12605).
6915
6916 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6917
6918 * progmodes/python.el (python-shell-output-filter): Handle extra
6919 carriage return in OSX (Bug#12409).
6920
6921 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6922
6923 Fix shell handling of unbalanced quotes and parens in output.
6924 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6925 (python-syntax-propertize-function): Use it.
6926 (python-shell-output-syntax-table): New var.
6927 (inferior-python-mode): Prevent unbalanced parens/quotes from
6928 previous output mess with current input context.
6929
6930 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6931
6932 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6933 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6934
6935 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6936
6937 * ffap.el (ffap-replace-file-component): Support Tramp file name
6938 syntax, not only ange-ftp's one.
6939
6940 2012-10-08 Glenn Morris <rgm@gnu.org>
6941
6942 * cus-start.el (message-log-max): Set :version.
6943
6944 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6945
6946 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6947
6948 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6949 the minibuffer window (Bug#10851).
6950
6951 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6952
6953 Enhancements on forward-sexp movement.
6954 * progmodes/python.el (python-nav-beginning-of-statement)
6955 (python-nav-end-of-statement): Return point-marker.
6956 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6957 (python-info-current-symbol)
6958 (python-info-statement-starts-block-p): Rename from
6959 python-info-beginning-of-block-p.
6960 (python-info-statement-ends-block-p): Rename from
6961 python-info-end-of-block-p.
6962 (python-info-beginning-of-statement-p)
6963 (python-info-end-of-statement-p)
6964 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6965 New functions.
6966
6967 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6970 frame-selected-windows.
6971
6972 2012-10-08 Daniel Colascione <dancol@dancol.org>
6973
6974 * battery.el (battery-status-function): Check for
6975 w32-battery-status itself, not system-time windows-nt.
6976
6977 * frame.el: Require cl-lib.
6978 (display-format-alist): New variable mapping frame types to
6979 functions that initialize them.
6980 (window-system-for-display): New function: interprets
6981 display-format-alist.
6982 (make-frame-on-display): Remove existing display-selection logic
6983 and just forward to make-frame, which will now DTRT.
6984 (make-frame): Restructure to use window-system-for-display to
6985 figure out how to create a frame on a given display.
6986 (display-mouse-p): Look for frame-type w32, not a particular
6987 system-type.
6988
6989 * loadup.el: Load w32 lisp code when we have the w32 feature.
6990
6991 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6992 system-type windows-nt.
6993
6994 * server.el (server-create-window-system-frame): Look for window
6995 type.
6996 (server-proces-filter): Only force a window system when windows-nt
6997 _and_ w32. Explain why.
6998
6999 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7000 of window systems we configure for the mode.
7001
7002 * startup.el (command-line): Mark window system is initialized
7003 after we've done it.
7004
7005 * common-win.el (x-select-text): Look for w32, not windows-nt.
7006
7007 * ns-win.el: Require cl-lib. Add ourselves to
7008 display-format-alist.
7009 (ns-initialize-window-system): Assert we're not initialized twice.
7010
7011 * w32-win.el: Enable lexical binding; require cl-lib; add
7012 ourselves to display-format-alist.
7013 (w32-handle-dropped-file): Convert incoming dropped files from
7014 Windows paths to Cygwin ones before passing them on to the rest of
7015 Emacs.
7016 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7017 (w32-initialize-window-system): Assert we're not initialized twice.
7018
7019 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7020 (x-initialize-window-system): Assert we're not initialized twice.
7021
7022 * w32-common-fns.el: New File.
7023 (w32-version, w32-using-nt, w32-get-clipboard-data)
7024 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7025 (w32-charset-info-alist, x-last-selected, text)
7026 (x-get-selection-value, x-selection-value): Move here.
7027
7028 * w32-fns.el: Require w32-common-fns.
7029 (w32-version, w32-using-nt, w32-get-clipboard-data)
7030 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7031 (w32-charset-info-alist, x-last-selected, text)
7032 (x-get-selection-value, x-selection-value): Move to
7033 w32-common-fns.
7034
7035 * w32-vars.el:
7036 (w32-allow-system-shell, w32-system-shells): Define only in
7037 non-cygwin case.
7038
7039 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7042 (read-passwd): Remove a few more potential sources of leaks.
7043
7044 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7045
7046 * progmodes/python.el (inferior-python-mode)
7047 (python-shell-make-comint): Fix initialization of local
7048 variables copied from parent buffer.
7049
7050 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7051
7052 * term/ns-win.el (ns-read-file-name): Update declaration to match
7053 nsfns.m.
7054 (ns-respond-to-change-font): Change fontsize separately so we are sure
7055 it is set when font is acted upon.
7056
7057 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7058
7059 Enhancements to indentation.
7060 * progmodes/python.el (python-indent-context): Give priority to
7061 inside-string context. Make comments indentation markers.
7062 (python-indent-region): Do not mess with strings, unless it's the
7063 enclosing set of quotes.
7064
7065 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * window.el (internal--before-save-selected-window)
7068 (internal--after-save-selected-window): New functions extracted from
7069 save-selected-window. Make sure we return the `alist' we construct.
7070 (save-selected-window): Use them.
7071
7072 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7073 Use with-selected-window.
7074
7075 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7076 forms that define macros (bug#12593).
7077
7078 2012-10-07 Kenichi Handa <handa@gnu.org>
7079
7080 * international/mule-conf.el (compound-text-with-extensions):
7081 Add :mime-charset property as x-ctext.
7082
7083 2012-10-07 Stefan Merten <smerten@oekonux.de>
7084
7085 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7086 (rst-indent-literal-normal, rst-indent-literal-minimized)
7087 (rst-indent-comment): Correct :version tag.
7088 (rst-official-cvs-rev): Correct version string.
7089
7090 2012-10-07 Glenn Morris <rgm@gnu.org>
7091
7092 * mail/rmailmm.el (rmail-mime-process-multipart):
7093 Do not confuse a multipart message with an epilogue
7094 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7095
7096 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7097
7098 Fix shell output retrieval and comint-prompt-regexp init.
7099 * progmodes/python.el (inferior-python-mode):
7100 (python-shell-make-comint): Fix initialization of
7101 comint-prompt-regexp from copied file local variables.
7102 (python-shell-fetched-lines): Remove var.
7103 (python-shell-output-filter-in-progress): Rename from
7104 python-shell-fetch-lines-in-progress.
7105 (python-shell-output-filter-buffer): Rename from
7106 python-shell-fetch-lines-string.
7107 (python-shell-fetch-lines-filter): Delete function.
7108 (python-shell-output-filter): New function.
7109 (python-shell-send-string-no-output): Use them.
7110
7111 2012-10-07 Glenn Morris <rgm@gnu.org>
7112
7113 * hi-lock.el (hi-lock-process-phrase):
7114 Try to make it less fragile. (Bug#7161)
7115
7116 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7117
7118 2012-10-06 Glenn Morris <rgm@gnu.org>
7119
7120 * ehelp.el (electric-help-mode): Use help-mode rather than
7121 non-existent mode `help'.
7122 (electric-help-map): Use button-buffer-map. (Bug#10917)
7123
7124 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7125 (reftex-create-bibtex-footer): Fix custom types.
7126
7127 * progmodes/sh-script.el (sh-indent-after-continuation):
7128 Add explicit :group.
7129
7130 * textmodes/rst.el (rst-preferred-decorations)
7131 (rst-shift-basic-offset): Clarify obsolescence versions.
7132
7133 * profiler.el (profiler): Add missing group :version tag.
7134 * avoid.el (mouse-avoidance-banish-position):
7135 * proced.el (proced-renice-command):
7136 * calc/calc.el (calc-ensure-consistent-units):
7137 * calendar/icalendar.el (icalendar-import-format-uid):
7138 * net/tramp.el (tramp-save-ad-hoc-proxies):
7139 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7140 * progmodes/flymake.el (flymake-error-bitmap)
7141 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7142 * progmodes/sh-script.el (sh-indent-after-continuation):
7143 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7144 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7145 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7146 (vhdl-array-index-record-field-in-sensitivity-list)
7147 (vhdl-indent-comment-like-next-code-line):
7148 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7149 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7150 (reftex-cite-key-separator, reftex-create-bibtex-header)
7151 (reftex-create-bibtex-footer):
7152 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7153 (rst-indent-literal-normal, rst-indent-literal-minimized)
7154 (rst-indent-comment): Add missing custom :version tags.
7155
7156 * calendar/timeclock.el (timeclock-modeline-display):
7157 Add missing obsolete alias for renamed user option.
7158
7159 * strokes.el (strokes-modeline-string):
7160 * emulation/crisp.el (crisp-mode-modeline-string):
7161 * eshell/esh-mode.el (eshell-status-in-modeline):
7162 Aliases to defcustoms must come before the defcustom.
7163
7164 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7165 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7166 (cal-tex-cursor-week-monday): Doc fixes.
7167 (cal-tex-cursor-week2-summary): Doc fix.
7168 Rename from cal-tex-cursor-week-at-a-glance.
7169
7170 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7171 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7172
7173 * calendar/calendar.el (calendar-mode-map):
7174 Add cal-tex-cursor-week2-summary.
7175
7176 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7179
7180 * subr.el (read-passwd-map): New var.
7181 (read-passwd): Use `read-string' again.
7182 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7183
7184 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7185
7186 * register.el (append-to-register, prepend-to-register):
7187 Deactivate mark, as does `copy-to-register' (bug#12389).
7188
7189 2012-10-06 Chong Yidong <cyd@gnu.org>
7190
7191 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7192
7193 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7194
7195 * international/characters.el: Fix simple mistake ((car chars) ->
7196 elt), delete duplicated code.
7197
7198 2012-10-06 Glenn Morris <rgm@gnu.org>
7199
7200 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7201
7202 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7203
7204 * color.el (color-hsl-to-rgb): Fix incorrect results for
7205 small and large hue values. (Bug#12559)
7206
7207 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7208
7209 Enhancements to docstring formatting when filling paragraphs.
7210 * progmodes/python.el (python-fill-docstring-style): Rename from
7211 python-fill-string-style. Added new style.
7212 (python-fill-string): Use new style. Better checks for
7213 docstrings.
7214
7215 2012-10-05 Glenn Morris <rgm@gnu.org>
7216
7217 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7218
7219 * color.el (color-name-to-rgb, color-rgb-to-hex)
7220 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7221 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7222 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7223 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7224
7225 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7226
7227 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7228
7229 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7230 to get the correct size across symlinks.
7231
7232 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7233
7234 2012-10-04 Juri Linkov <juri@jurta.org>
7235
7236 * replace.el (query-replace-interactive): Declare obsolete.
7237 (query-replace-read-from): Add the last incremental search string
7238 to the list of default values accessible via M-n.
7239 (map-query-replace-regexp): Use `read-regexp'.
7240 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7241 (map-query-replace-regexp, replace-string, replace-regexp):
7242 Fix docstrings to replace mentions of `query-replace-interactive'
7243 with alternatives. (Bug#12526)
7244
7245 2012-10-04 Juri Linkov <juri@jurta.org>
7246
7247 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7248 (dired-pop-to-buffer): Declare obsolete.
7249 (dired-mark-pop-up): Doc fix.
7250
7251 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7252
7253 Allow user to set docstring style for fill-paragraph.
7254 * progmodes/python.el
7255 (python-fill-comment-function, python-fill-string-function)
7256 (python-fill-decorator-function, python-fill-paren-function):
7257 Remove :safe for defcustoms.
7258 (python-fill-string-style): New defcustom
7259 (python-fill-paragraph-function): Enhance context detection.
7260 (python-fill-string): Honor python-fill-string-style settings.
7261
7262 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7263
7264 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7265 after setting its buffer (Bug#10805).
7266
7267 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7268
7269 Fix cornercase for string syntax.
7270 * progmodes/python.el (python-syntax-propertize-function):
7271 Simplify and enhance the regexp for unescaped quotes. Now it also
7272 matches quotes in weird situations like the single quote in
7273 "something\"'".
7274 (python-syntax-stringify): Simplify num-quotes detecting code.
7275
7276 2012-10-03 Glenn Morris <rgm@gnu.org>
7277
7278 * help-macro.el (three-step-help):
7279 Revert 2012-09-29 change. (Bug#12567)
7280
7281 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7282
7283 * menu-bar.el (kill-this-buffer): Don't do anything when
7284 `menu-frame' is not alive or visible (Bug#8184).
7285
7286 * emacs-lisp/debug.el (debug): When quitting the debugger window
7287 restore current buffer (Bug#12502).
7288
7289 2012-10-02 Chong Yidong <cyd@gnu.org>
7290
7291 * progmodes/hideif.el (hif-lookup, hif-defined):
7292 Handle semantic-c-takeover-hideif.
7293
7294 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7295
7296 Change sampling interval units from ms to ns.
7297 * profiler.el (profiler-sampling-interval): Change units
7298 from ms to ns, multiplying the default by 1000000 so that
7299 it remains 1 ms.
7300 (profiler-report-cpu-line-format): Give enough room for
7301 the maximum counters on 64-bit hosts.
7302 (profiler-report-render-calltree-1): Call them "CPU samples",
7303 not "Time (ms)", since they are not milliseconds now (and
7304 never really were).
7305
7306 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7307
7308 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7309 Fix querying BBDB for entries without a last name (Bug#11580).
7310
7311 2012-10-02 Chong Yidong <cyd@gnu.org>
7312
7313 * emacs-lisp/eieio.el: Restore Version header.
7314
7315 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7316
7317 * vc/diff-mode.el (diff--auto-refine-data): New var.
7318 (diff-hunk): Use it to delay refinement.
7319 (diff-mode): Remove overlays when we turn off font-lock.
7320
7321 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7322 (table-initialize-table-fixed-width-mode)
7323 (table-set-table-fixed-width-mode): Remove functions.
7324 (table-command-list): Move initialization into declaration.
7325 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7326 (table-with-cache-buffer): Use `declare'.
7327 (table-span-cell): Simplify via CSE.
7328 (table-fixed-width-mode): Use define-minor-mode.
7329 (table-call-interactively, table-funcall, table-apply): Remove.
7330 (table-function): New function, to replace them.
7331
7332 * bookmark.el (bookmark-search-pattern): Remove var.
7333 (bookmark-read-search-input): Remove function.
7334 (bookmark-bmenu-search): Reimplement using a minibuffer.
7335
7336 * faces.el (modeline): Remove obsolete face name.
7337
7338 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7339 and give a non-nil default value.
7340 (add-change-log-entry): Simplify accordingly.
7341
7342 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7343
7344 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7345 (vc-git-log-edit-toggle-amend): New function.
7346 (vc-git-log-edit-toggle-signoff): New function.
7347 (vc-git-log-edit-mode): New major mode.
7348 (vc-git-log-edit-mode-map): Keymap for it.
7349 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7350
7351 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7352 header names.
7353 (log-edit-toggle-header): New function.
7354 (log-edit-extract-headers): Accept function values in HEADERS alist.
7355
7356 2012-10-01 David Engster <deng@randomsample.de>
7357
7358 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7359 from symbol property and change message to be more consistent with
7360 Emacs proper.
7361 (eieio-describe-generic): Add filename for each implementation.
7362 Fix indices for generic and normal methods.
7363 (eieio-method-def, eieio-class-def): New buttons.
7364 (eieio-help-find-method-definition)
7365 (eieio-help-find-class-definition): New functions.
7366 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7367 class, constructor and method definitions.
7368
7369 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7370 information in symbol property.
7371 (scoped-class): Remove.
7372 (eieio-slot-name-index, call-next-method): Check if it is bound.
7373
7374 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7375
7376 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7377 (eieio-custom-mode): New major mode.
7378 (eieio-customize-object): Use it.
7379
7380 2012-10-01 Eric Ludlam <zappo@gnu.org>
7381
7382 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7383 specifying the expected class, and whether subclassing is allowed.
7384 (eieio-persistent-convert-list-to-object):
7385 (eieio-persistent-validate/fix-slot-value)
7386 (eieio-persistent-slot-type-is-class-p): New functions.
7387 (eieio-named::slot-missing): Doc fix.
7388
7389 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7390 Stop using unused publd variable.
7391
7392 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7393 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7394 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7395 (eieio-speedbar-handle-click): Do not specify a class for the
7396 method. Fixes method invocation order problems with EDE.
7397
7398 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7401 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7402
7403 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7404
7405 * bookmark.el (bookmark-version-control): Give tags in the
7406 :type choices (Bug#12309), and improve doc string.
7407 (bookmark-write-file): Bind `print-circle' to `t' to allow
7408 circular custom bookmark types. (Bug#12503)
7409
7410 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7411
7412 Revert the FOLLOW-SYMLINKS change for file-attributes.
7413 * files.el (remote-file-name-inhibit-cache, after-find-file):
7414 * time.el (display-time-file-nonempty-p): Undo last change.
7415
7416 * profiler.el (profiler-sampling-interval): Change default back to 1.
7417 See Stefan Monnier in
7418 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7419
7420 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7421
7422 Shell output catching a la gud-gdb.
7423 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7424 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7425 New Vars.
7426 (python-shell-fetch-lines-filter): New function.
7427 (python-shell-send-string-no-output): Use them.
7428
7429 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7430
7431 * profiler.el (profiler-sampling-interval): Rename from
7432 profiler-sample-interval.
7433 (profiler-sampling-interval): Default to 10.
7434 (profiler-find-profile): New command (was profiler-find-log).
7435 (profiler-find-profile-other-window): New command.
7436 (profiler-find-profile-other-frame): New command.
7437 (profiler-profile): Introduce API-level data structure.
7438
7439 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7440
7441 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7442 * files.el (remote-file-name-inhibit-cache):
7443 * time.el (display-time-file-nonempty-p): Use it.
7444 * files.el (after-find-file): Don't chase links before calling
7445 file-exists-p, as file-exists-p already does the right thing.
7446
7447 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7448
7449 Merge from standalone RefTeX repository.
7450
7451 The following ChangeLog entries are shortened versions of the
7452 original ones with file paths adapted. A not so strongly edited
7453 version of the original ChangeLog can be found in the commit log.
7454
7455 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7456 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7457 Correctly handle new value type returned by `reftex-citation'.
7458
7459 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7460 that entries with whitespace at various places are found.
7461 Doc fix. Include entries that are cross-referenced from cited entries.
7462 Include @String definitions in the resulting bib file. Add header
7463 and footer defined in `reftex-create-bibtex-header' and
7464 `reftex-create-bibtex-footer'.
7465 (reftex-do-citation): Make it possible again to insert
7466 non-existent entries. Save match data when asking for optional
7467 arguments. Return all keys, not just the first one.
7468 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7469 all citations in the same line.
7470 (reftex-parse-bibtex-entry): Accept additional optional argument
7471 `raw' and keep quotes or braces if it is non-nil. Match fields
7472 containing hyphens besides word constituents.
7473 (reftex-get-string-refs): New function.
7474 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7475 and ask if it should be reread in case it did.
7476 (reftex-pop-to-bibtex-entry)
7477 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7478 entries with spaces or tabs in front of arguments.
7479 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7480 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7481 Match entries containing numbers and symbol constituents.
7482 (reftex-do-citation, reftex-figure-out-cite-format):
7483 Use `reftex-cite-key-separator'.
7484
7485 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7486 (reftex-mouse-view-crossref): Explain why point is set.
7487
7488 * textmodes/reftex-global.el: Whitespace changes.
7489
7490 * textmodes/reftex-index.el: Move provide statement to end of
7491 file.
7492 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7493 (reftex-index-visit-phrases-buffer): Set marker when visiting
7494 buffer. This allows for returning from the phrases file to the
7495 file one was just editing instead of the file where the last
7496 phrases was added from.
7497 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7498 punctuation syntax as it usually is not used as string quote in
7499 TeX-related modes and may occur unmatched. The change also
7500 prevents fontification of quoted content.
7501 (reftex-index-phrases-mode): Use it.
7502
7503 * textmodes/reftex-parse.el (reftex-parse-from-file):
7504 Move backward one char if a `\' was matched after a section macro.
7505 (reftex-parse-from-file): Use beginning of match instead of end as
7506 bound.
7507
7508 * textmodes/reftex-ref.el: Adapt creation of
7509 `reftex-<package>-<macro>' functions to new structure of
7510 `reftex-ref-style-alist'.
7511 (reftex-reference): Use `reftex-ref-style-list' function.
7512 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7513 reference macro if `reftex-ref-macro-prompt' is non-nil.
7514 (reftex-reference): Pass refstyle to `reftex-format-special'.
7515 Determine reference macro by looking at
7516 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7517 Use only one special format function.
7518 (reftex-varioref-vref, reftex-fancyref-fref)
7519 (reftex-fancyref-Fref): Remove definitions. The functions are now
7520 generated from `reftex-ref-style-alist'.
7521 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7522 Remove.
7523 (reftex-format-special): New function.
7524
7525 * textmodes/reftex-sel.el
7526 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7527 of `reftex-ref-style-alist'. Remove code for testing macro type.
7528 (reftex-select-toggle-varioref)
7529 (reftex-select-toggle-fancyref): Remove.
7530 (reftex-select-cycle-ref-style-internal)
7531 (reftex-select-cycle-ref-style-forward)
7532 (reftex-select-cycle-ref-style-backward): New functions.
7533 (reftex-select-label-map): Use `v' and `V' for general cycling
7534 through reference styles. Add `p' for switching between number
7535 and page reference types.
7536
7537 * textmodes/reftex-toc.el (reftex-re-enlarge):
7538 Call `enlarge-window' only if there is something to do because in Emacs
7539 the horizontal version throws an error even if the parameter is 0.
7540
7541 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7542 (reftex-plug-into-AUCTeX): Doc fix.
7543 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7544 string. Adapt to new name.
7545 (reftex-ref-style-alist): Change structure so that it is not
7546 possible to use multiple different package names within a style.
7547 Remove the symbols for symbols for macro type distinction.
7548 Add characters for macro selection.
7549 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7550 (reftex-create-bibtex-footer): New variables.
7551 (reftex-format-ref-function): Mention third argument of special
7552 format function.
7553 (reftex-ref-style-alist, reftex-ref-style-default-list):
7554 New variables.
7555 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7556 to new implementation. Mark as obsolete. Add compatibility code
7557 for honoring the variable values in case they are set.
7558 (reftex-cite-format-builtin, reftex-bibliography-commands):
7559 Add support for ConTeXt.
7560 (reftex-format-ref-function, reftex-format-cite-function):
7561 Fix custom type.
7562 (reftex-cite-key-separator): New variable.
7563
7564 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7565 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7566 `reftex-syntax-table' because parens have to retain their paren
7567 syntax in order for parsing of BibTeX entries like @book(...) to
7568 work.
7569 (reftex-in-comment): Do not error out if `comment-start-skip' is
7570 not set. Deal correctly with escaped comment characters.
7571 (reftex-tie-multifile-symbols): Add doc string.
7572 Initialize `reftex-ref-style-list'.
7573 (reftex-untie-multifile-symbols): Add doc string.
7574 (reftex-add-index-macros): Doc fix.
7575 (reftex-ref-style-activate, reftex-ref-style-toggle)
7576 (reftex-ref-style-list): New functions.
7577 (reftex-mode-menu): Use them. Adapt to new structure of
7578 `reftex-ref-style-alist'.
7579 (reftex-select-with-char): Kill the RefTeX Select buffer when
7580 done.
7581 (reftex-remove-if): New function.
7582 (reftex-erase-all-selection-and-index-buffers)
7583 (reftex-mode-menu): Reference styles are now computed from
7584 `reftex-ref-style-alist'. Fix typo.
7585 (reftex-report-bug): New function.
7586 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7587 algorithms with O(n log n). Introduce optional argument SORT (not
7588 yet used).
7589
7590 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7591
7592 Enhancements for triple-quote string syntax.
7593 * progmodes/python.el (python-syntax-propertize-function):
7594 Match both quote cases in one regexp.
7595 (python-syntax-stringify): Handle matches properly.
7596
7597 2012-09-30 Juri Linkov <juri@jurta.org>
7598
7599 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7600 to nil around the call to `insert' to prevent
7601 directory time modification by lock_file. (Bug#2295)
7602 * tar-mode.el (tar-summarize-buffer): Idem.
7603
7604 2012-09-30 Juri Linkov <juri@jurta.org>
7605
7606 * facemenu.el (list-colors-sort): Add option "Luminance".
7607 (list-colors-sort-key): Implement it.
7608
7609 * vc/diff-mode.el (diff-refine-removed):
7610 * vc/ediff-init.el (ediff-fine-diff-A):
7611 * vc/smerge-mode.el (smerge-refined-removed):
7612 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7613
7614 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7615
7616 * term/ns-win.el (x-file-dialog): New function.
7617
7618 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * ido.el (ido-max-directory-size): Default to nil; the current
7621 default is small for POSIX systems, and impractical on Windows 7
7622 now that lstat returns directory sizes for NTFS.
7623
7624 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7625
7626 In buffer display functions handle window-height/window-width
7627 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7628 * window.el (window--display-buffer): New argument ALIST.
7629 Obey window-height and window-width alist entries.
7630 (window--try-to-split-window): New argument ALIST.
7631 Bind window-combination-limit to t when the window's size shall be
7632 changed and window-combination-limit equals `window-size'.
7633 (display-buffer-in-atom-window)
7634 (display-buffer-in-major-side-window)
7635 (display-buffer-in-side-window, display-buffer-same-window)
7636 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7637 (display-buffer-pop-up-window, display-buffer-below-selected)
7638 (display-buffer-at-bottom, display-buffer-in-previous-window)
7639 (display-buffer-use-some-window): Adjust all callers of
7640 window--display-buffer and window--try-to-split-window.
7641 (fit-frame-to-buffer): New option.
7642 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7643 is non-nil.
7644 (display-buffer-in-major-side-window): Evaluate window-height /
7645 window-width alist entries.
7646
7647 * help.el (temp-buffer-resize-frames)
7648 (temp-buffer-resize-regexps): Remove options.
7649 (temp-buffer-resize-mode): Adjust doc-string.
7650 (resize-temp-buffer-window): Don't consult
7651 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7652 temp-buffer-resize-frames.
7653
7654 * dired.el (dired-mark-pop-up):
7655 Call display-buffer-below-selected with a fit-window-to-buffer alist
7656 entry.
7657
7658 2012-09-30 Chong Yidong <cyd@gnu.org>
7659
7660 * server.el (server-host): Document the security implications.
7661 (server-auth-key): Doc fix.
7662
7663 * startup.el (initial-buffer-choice): Doc fix.
7664
7665 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7666
7667 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7668 restriction change.
7669
7670 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7671
7672 * help-fns.el (help-fns--obsolete): Fix last change.
7673
7674 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7677 (minor-mode-map-alist): Remove redundant code.
7678
7679 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7680 visited in a buffer.
7681 (cvs-insert-visited-file): New function.
7682 (find-file-hook): Use it.
7683
7684 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7685
7686 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7687 chose face.
7688 (log-edit-empty-buffer-p): Don't require a space after a header.
7689
7690 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7691
7692 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7693
7694 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7695 a proper minor-mode.
7696
7697 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7698
7699 2012-09-29 Glenn Morris <rgm@gnu.org>
7700
7701 * winner.el (winner-mode): Remove variable (let define-minor-mode
7702 handle it).
7703 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7704 Doc fixes.
7705 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7706 (winner-mode): Use define-minor-mode.
7707
7708 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7709 the full definition in loaddefs, rather than duplicating it.
7710
7711 * help-macro.el (three-step-help): No need to autoload defcustom.
7712
7713 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7714 (inferior-lisp-program, inferior-lisp-load-command)
7715 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7716 No need to autoload defcustoms.
7717
7718 * hippie-exp.el (hippie-expand-try-functions-list)
7719 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7720 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7721 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7722 (hippie-expand-only-buffers): No need to autoload defcustoms.
7723 * progmodes/vhdl-mode.el (vhdl-line-expand):
7724 Explicitly load hippie-exp, so it does not get autoloaded
7725 while hippie-expand-try-functions-list is let-bound.
7726
7727 2012-09-28 Glenn Morris <rgm@gnu.org>
7728
7729 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7730
7731 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7732 Only "cl.el" counts as cl these days.
7733
7734 2012-09-28 Juri Linkov <juri@jurta.org>
7735
7736 Display archive errors in the echo area instead of inserting
7737 to the file buffer.
7738
7739 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7740 to STDERR-TEST that can be a regexp matching a successful output.
7741 Create a temporary file and redirect stderr to it. Search for
7742 STDERR-TEST in the stderr output and display it in the echo area
7743 if no match is found.
7744 (archive-extract-by-file): New function like
7745 `archive-extract-by-stdout' but extracting archives to files
7746 and looking for successful matches in stdout. Function body is
7747 mostly copied from `archive-rar-extract'.
7748 (archive-rar-extract): Use `archive-extract-by-file'.
7749 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7750
7751 2012-09-28 Leo Liu <sdl.web@gmail.com>
7752
7753 * pcomplete.el (pcomplete-show-completions):
7754 Use minibuffer-message to make pcomplete usable in minibuffer.
7755
7756 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7757
7758 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * type-break.el: Use lexical-binding.
7761 (type-break-mode): Use define-minor-mode.
7762
7763 * emacs-lisp/pcase.el (pcase--mark-used): New.
7764 (pcase--u1): Use it (bug#12512).
7765
7766 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7767 in load-history with the right file name.
7768
7769 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7770
7771 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7772 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7773 (doc-view-get-bounding-box): Make bounding box slicing work for
7774 ODF and DVI documents.
7775
7776 2012-09-28 Glenn Morris <rgm@gnu.org>
7777
7778 * type-break.el (type-break-mode, type-break-interval)
7779 (type-break-good-rest-interval, type-break-keystroke-threshold):
7780 No need to autoload.
7781 (type-break-good-rest-interval, type-break-keystroke-threshold):
7782 Add :set-after.
7783
7784 2012-09-28 Chong Yidong <cyd@gnu.org>
7785
7786 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7787 Add :version tag.
7788
7789 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7792
7793 2012-09-27 Glenn Morris <rgm@gnu.org>
7794
7795 * faces.el (x-display-name): Declare (for without-x builds).
7796
7797 * linum.el (linum-format): Don't autoload it. Improve :type.
7798
7799 * progmodes/tcl.el: Don't require outline when compiling.
7800 (outline-regexp, outline-level): Declare.
7801 * textmodes/sgml-mode.el: Don't require outline when compiling.
7802 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7803
7804 * term.el (term-ansi-reset):
7805 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7806
7807 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7808 files for RCS and SCCS. (Bug#9781)
7809
7810 2012-09-27 Chong Yidong <cyd@gnu.org>
7811
7812 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7813 change; value should be t.
7814
7815 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * image-mode.el: Use lexical-binding.
7818 (image-mode-winprops): Use t to stand for the window of
7819 a buffer that's not displayed.
7820 * doc-view.el (doc-view-new-window-function): Handle the new
7821 t in winprops.
7822 (doc-view-enlarge): Make it a real nop if the size is not changed.
7823 (doc-view-display): Handle the case where the buffer is not (yet?)
7824 displayed in any window.
7825 (doc-view-saved-settings): New var.
7826 (doc-view-mode): Use it.
7827 (doc-view-fallback-mode): Set it.
7828
7829 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7830 Set lexical-binding.
7831 (minibuffer-eldef-shorten-default): New var.
7832 (minibuffer-default-in-prompt-regexps): Use it for new default.
7833 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7834
7835 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7836
7837 * international/uni-bidi.el:
7838 * international/uni-category.el:
7839 * international/uni-name.el:
7840 * international/uni-numeric.el: Regenerate.
7841
7842 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7843 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * profiler.el: New file.
7846
7847 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7850 (testcover-reinstrument): Simplify with CSE.
7851
7852 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7853
7854 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7855
7856 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7857
7858 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7859 (verilog-auto-input, verilog-auto-insert-lisp)
7860 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7861 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7862 (verilog-auto-unused, verilog-auto-wire)
7863 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7864 newline. Reported by Andrew Jones.
7865 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7866 Reported by Brad Dobbie.
7867 (verilog-batch-delete-trailing-whitespace):
7868 Create verilog-batch-delete-trailing-whitespace.
7869 Reported by Brad Dobbie.
7870 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7871 parameters from another module. Reported by Dan Katz.
7872 (verilog-auto, verilog-auto-assign-modport)
7873 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7874 AUTOINOUTMODPORT for UVM interface module shell generation.
7875 Reported by Brad Dobbie.
7876 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7877 standard behavior.
7878 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7879 Reported by Matt Martin.
7880
7881 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7882
7883 * window.el (window--resize-child-windows): When resizing child
7884 windows proportionally, process them in reverse order to
7885 preserve the "when splitting a window the new one gets the odd
7886 line" behavior.
7887 (window--resize-root-window-vertically): When resizing the
7888 minibuffer window try to affect only windows at the bottom of the
7889 frame. (Bug#12419)
7890
7891 2012-09-25 Chong Yidong <cyd@gnu.org>
7892
7893 * subr.el (declare): Doc fix.
7894
7895 * help-fns.el (help-fns--obsolete): Handle macros properly.
7896
7897 2012-09-25 Chong Yidong <cyd@gnu.org>
7898
7899 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7900 this function obsolete.
7901
7902 * calendar/cal-x.el (calendar-two-frame-setup)
7903 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7904 * calendar/calendar.el (american-calendar, european-calendar)
7905 (calendar-for-loop):
7906 * comint.el (comint-dynamic-simple-complete)
7907 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7908 * desktop.el (desktop-load-default):
7909 * dired-x.el (dired-omit-here-always)
7910 (dired-hack-local-variables, dired-default-directory):
7911 * emacs-lisp/derived.el (derived-mode-class):
7912 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7913 * emacs-lock.el (toggle-emacs-lock):
7914 * epa.el (epa-display-verify-result):
7915 * epg.el (epg-sign-keys, epg-start-sign-keys)
7916 (epg-passphrase-callback-function):
7917 * eshell/esh-util.el (eshell-for):
7918 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7919 (eshell-add-to-window-buffer-names):
7920 * files.el (locate-file-completion):
7921 * imenu.el (imenu-example--create-c-index)
7922 (imenu-example--create-lisp-index)
7923 (imenu-example--lisp-extract-index-name)
7924 (imenu-example--name-and-position):
7925 * international/mule-cmds.el (princ-list):
7926 * international/mule-diag.el (decode-codepage-char):
7927 * international/mule-util.el (detect-coding-with-priority):
7928 * iswitchb.el (iswitchb-read-buffer):
7929 * mail/mailalias.el (mail-complete):
7930 * mail/sendmail.el (mail-sent-via):
7931 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7932 (mouse-major-mode-menu):
7933 * password-cache.el (password-read-and-add):
7934 * pcomplete.el (pcomplete-parse-comint-arguments):
7935 * progmodes/sh-script.el (sh-maybe-here-document):
7936 * replace.el (query-replace-regexp-eval):
7937 * savehist.el (savehist-load):
7938 * simple.el (choose-completion-delete-max-match):
7939 * term.el (term-dynamic-simple-complete):
7940 * vc/ediff-init.el (ediff-check-version):
7941 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7942 * vc/vc.el (vc-diff-switches-list):
7943 * view.el (view-return-to-alist-update): Likewise.
7944
7945 * subr.el (eval-next-after-load, makehash, insert-string)
7946 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7947 mark obsolete.
7948 (mode-line-inverse-video): Variable deleted.
7949
7950 * international/mule-util.el (string-to-sequence): Remove.
7951
7952 * calendar/calendar.el (calendar-version):
7953 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7954 (icalendar-convert-diary-to-ical):
7955 * cus-edit.el (custom-mode):
7956 * ansi-color.el (ansi-color-unfontify-region):
7957 * international/latin1-disp.el (latin1-char-displayable-p):
7958 * progmodes/cwarn.el (turn-on-cwarn-mode):
7959 * progmodes/which-func.el (which-func-update-1):
7960 Use define-obsolete-function-alias.
7961
7962 * net/newst-backend.el (newsticker-cache-filename):
7963 * net/newst-treeview.el (newsticker-groups-filename):
7964 Fix incorrect obsolescence declaration.
7965
7966 * allout.el (allout-passphrase-hint-string): Likewise.
7967 (allout-init): Use a declare form to mark obsolete.
7968
7969 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7970 this applies to functions.
7971
7972 * iswitchb.el (iswitchb-read-buffer): Move code of
7973 iswitchb-define-mode-map here, and delete that obsolete function.
7974
7975 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7976 font-lock-reference-face.
7977
7978 2012-09-25 Glenn Morris <rgm@gnu.org>
7979
7980 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7981 Doc fixes.
7982
7983 * eshell/em-term.el (eshell-term-name):
7984 Default to term-term-name. (Bug#12485)
7985
7986 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7987
7988 * progmodes/python.el (python-shell-send-buffer): Better handling
7989 of "if __name__ == '__main__':" conditionals when sending the buffer.
7990
7991 2012-09-24 Glenn Morris <rgm@gnu.org>
7992
7993 * eshell/esh-cmd.el (eshell-find-alias-function):
7994 Tighten up file-name regexp. (Bug#12499)
7995
7996 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7997
7998 Enhancements for triple-quote string syntax.
7999 * progmodes/python.el (python-quote-syntax): Remove.
8000 (python-syntax-propertize-function): New value.
8001 (python-syntax-count-quotes, python-syntax-stringify):
8002 New functions.
8003
8004 2012-09-24 Chong Yidong <cyd@gnu.org>
8005
8006 * mail/supercite.el (sc-version): Remove obsolete function.
8007 (sc-describe): Don't mark as obsolete, since it is bound.
8008 (sc-submit-bug-report): Remove.
8009
8010 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8011 (cvs-commit-buffer-require-final-newline): Remove.
8012 (log-edit-require-final-newline)
8013 (log-edit-changelog-full-paragraphs): Default to t.
8014
8015 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8016 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8017 * vc/vc.el (vc-checkout-carefully): Likewise.
8018
8019 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8020 (emerge-version): Remove.
8021
8022 * progmodes/compile.el (compile-internal): Remove.
8023 (compilation-parse-errors-function): Fix typo.
8024
8025 * international/mule.el (set-char-table-default): Remove.
8026 (set-coding-priority, make-coding-system, generic-char-p)
8027 (charset-list, charset-bytes, charset-id): Use declare to mark
8028 functions as obsolete.
8029
8030 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8031 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8032 * vc/vc-hooks.el (vc-default-registered): Don't use
8033 vc-master-templates.
8034
8035 * font-lock.el (font-lock-reference-face):
8036 Use define-obsolete-variable-alias.
8037
8038 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8039 * calendar/calendar.el (calendar-font-lock-keywords):
8040 * calendar/diary-lib.el (diary-font-lock-keywords)
8041 (diary-fancy-font-lock-keywords):
8042 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8043 * textmodes/reftex-index.el (reftex-insert-index):
8044 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8045 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8046 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8047 * progmodes/prolog.el (prolog-font-lock-keywords):
8048 * progmodes/idlwave.el (idlwave-idl-keywords):
8049 * progmodes/ada-mode.el (ada-font-lock-keywords):
8050 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8051
8052 2012-09-24 Glenn Morris <rgm@gnu.org>
8053
8054 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8055
8056 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8057
8058 * progmodes/python.el (python-indent-line): More consistent cursor
8059 movement behavior.
8060
8061 2012-09-23 Stefan Merten <smerten@oekonux.de>
8062
8063 * textmodes/rst.el: Fix compiler warning.
8064
8065 2012-09-23 Roland Winkler <winkler@gnu.org>
8066
8067 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8068 Transcribe also LaTeX hyphenation.
8069 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8070 bibtex-reformat-previous-options.
8071
8072 2012-09-23 Roland Winkler <winkler@gnu.org>
8073
8074 * proced.el (proced-renice-command): New variable.
8075 (proced-marked-processes): New function.
8076 (proced-with-processes-buffer): New macro.
8077 (proced-send-signal): Use them.
8078 (proced-renice): New command bound to r.
8079
8080 2012-09-23 Roland Winkler <winkler@gnu.org>
8081
8082 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8083 ibuffer-saved-filter-groups has one element, shortcut the call of
8084 completing-read. (Bug#12331)
8085
8086 2012-09-23 Chong Yidong <cyd@gnu.org>
8087
8088 * bindings.el (mode-line-toggle-read-only):
8089 * bs.el (bs-toggle-readonly):
8090 * buff-menu.el (Buffer-menu-toggle-read-only):
8091 * dired.el (dired-toggle-read-only):
8092 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8093
8094 2012-09-23 Chong Yidong <cyd@gnu.org>
8095
8096 * image.el (image-type-available-p): Adapt to init-image-library
8097 argument changes.
8098
8099 2012-09-22 Juri Linkov <juri@jurta.org>
8100
8101 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8102 `dired-toggle-read-only'. (Bug#12462)
8103
8104 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8105
8106 * subr.el (temp-output-buffer-show): New function.
8107 (with-output-to-temp-buffer): Call temp-output-buffer-show
8108 instead of internal-temp-output-buffer-show.
8109
8110 2012-09-22 Chong Yidong <cyd@gnu.org>
8111
8112 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8113 (Bug#12462).
8114
8115 * repeat.el (repeat): Doc fix (Bug#12348).
8116
8117 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8118 (Bug#10909).
8119
8120 * simple.el (shell-command-on-region): Doc fix.
8121 (read-only-mode): Doc fix.
8122
8123 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8124
8125 * emacs-lisp/timer.el (run-with-idle-timer)
8126 (timer-activate-when-idle): Warn against reinvoking an idle timer
8127 from within its own timer action. (Bug#12447)
8128
8129 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8130
8131 * cus-start.el (window-combination-limit): Add new optional
8132 values.
8133 * window.el (temp-buffer-window-show)
8134 (window--try-to-split-window): Handle new values of
8135 window-combination-limit (Bug#1806).
8136 (split-window): Test window-combination-limit for t instead of
8137 non-nil.
8138 (display-buffer-at-bottom): New buffer display action function.
8139 * help.el (temp-buffer-resize-regexps): New option.
8140 (temp-buffer-resize-mode): Rewrite doc-string.
8141 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8142 Don't resize reused window. Suggested by Glenn Morris.
8143
8144 2012-09-22 Stefan Merten <smerten@oekonux.de>
8145
8146 * textmodes/rst.el: Revamp section title faces.
8147 (rst-official-version)
8148 (rst-package-emacs-version-alist): Sync with official version
8149 V1.4.0.
8150 (rst-faces-defaults, rst-set-level-default)
8151 (rst-level-face-max, rst-level-face-base-color)
8152 (rst-level-face-base-light, rst-level-face-format-light)
8153 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8154 (rst-adornment-faces-alist): Match new setup.
8155 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8156 (rst-level-5, rst-level-6): New faces.
8157
8158 2012-09-22 Chong Yidong <cyd@gnu.org>
8159
8160 * simple.el (undo): Handle indirect buffers (Bug#8207).
8161
8162 2012-09-21 Leo Liu <sdl.web@gmail.com>
8163
8164 IDO: Disable match re-ordering for buffer switching.
8165 * ido.el (ido-buffer-disable-smart-matches): New variable.
8166 (ido-set-matches-1): Use it. (Bug#2042)
8167
8168 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8169
8170 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8171 Fix 2011-05-17 change. (Bug#12418)
8172
8173 2012-09-21 Leo Liu <sdl.web@gmail.com>
8174
8175 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8176
8177 2012-09-21 Glenn Morris <rgm@gnu.org>
8178
8179 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8180 Be more robust about locating simple.el.
8181
8182 2012-09-21 Glenn Morris <rgm@gnu.org>
8183
8184 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8185
8186 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8187
8188 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8189
8190 2012-09-20 Juri Linkov <juri@jurta.org>
8191
8192 * replace.el (query-replace-read-from): Use `read-regexp' instead
8193 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8194 (occur-read-primary-args): Use `read-regexp' instead of
8195 `read-string'.
8196 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8197 `read-from-minibuffer'.
8198 * isearch.el (isearch-occur): Use `read-regexp' instead of
8199 `read-string'.
8200 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8201 `read-from-minibuffer'.
8202 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8203 of `read-string'. (Bug#7567)
8204
8205 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8206 and allow accepting a list of strings prepended to a list of
8207 standard default values. Doc fix. (Bug#12321)
8208
8209 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8210
8211 * replace.el (read-regexp): Don't add ": " when PROMPT already
8212 ends with a colon and space. (Bug#12321)
8213
8214 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8215
8216 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8217 error.
8218
8219 2012-09-20 Stefan Merten <smerten@oekonux.de>
8220
8221 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8222 Fixes feature request bug#11711.
8223 (rst-mode): Create `imenu-create-index-function'.
8224 (rst-get-stripped-line): Delete after refactoring.
8225 (rst-section-tree, rst-section-tree-rec)
8226 (rst-section-tree-point): Refactor and document properly.
8227 (rst-imenu-find-adornments-for-position)
8228 (rst-imenu-convert-cell, rst-imenu-create-index):
8229 New function.
8230
8231 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8234 (macroexp--expand-all): Use it.
8235 (macroexp--funcall-and-return): Remove by folding it into its sole
8236 caller (macroexp--warn-and-return).
8237 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8238 Use macroexp--obsolete-warning.
8239
8240 * calc/calc.el: Fix last change by removing the whole chunk, since it
8241 was only needed back when Calc was not bundled.
8242
8243 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8244
8245 * emacs-lisp/debug.el (debug): Restore assignment to
8246 debugger-old-buffer removed on 2012-09-08.
8247
8248 2012-09-20 Juri Linkov <juri@jurta.org>
8249
8250 * dired-aux.el (dired-diff): Remove (require 'diff) since
8251 `diff-latest-backup-file' is now autoloaded.
8252
8253 2012-09-20 Chong Yidong <cyd@gnu.org>
8254
8255 * vc/diff.el (diff-latest-backup-file): Autoload.
8256
8257 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * calc/calc.el: Remove redundant autoload shape check.
8260 (sel-mode): Don't defvar.
8261 (calc-get-stack-element): Add `sel-mode' arg instead.
8262 (calc-top, calc-top-list): Pass it this additional argument.
8263 * calc/calc-store.el (calc-store-map):
8264 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8265 (calc-map-equation, calc-outer-product, calc-inner-product):
8266 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8267
8268 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8269
8270 2012-09-19 Juri Linkov <juri@jurta.org>
8271
8272 * dired-aux.el (dired-diff): Add (require 'diff) because
8273 `diff-latest-backup-file' is not autoloaded.
8274 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8275 of `dired-get-filename' to t to not report error when there is
8276 no default file on the current line.
8277
8278 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8281 macroexp--eval-if-compile.
8282 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8283 (macroexp--expand-all): Use them (bug#12371).
8284
8285 * doc-view.el (doc-view-guess-paper-size)
8286 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8287
8288 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8289
8290 New feature: set optimal slice from BoundingBox information.
8291 * doc-view.el (doc-view-mode-map): Add keybinding.
8292 (doc-view-menu): Add menu entry.
8293 (doc-view-set-slice): Adapt docstring.
8294 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8295 (doc-view-scale-bounding-box)
8296 (doc-view-set-slice-from-bounding-box): New functions.
8297 (doc-view-paper-sizes): New defvar.
8298
8299 2012-09-19 Glenn Morris <rgm@gnu.org>
8300
8301 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8302 (byte-compile-log-warning): Autoload. (Bug#12371)
8303
8304 * calendar/calendar.el (calendar-american-month-header)
8305 (calendar-european-month-header, calendar-iso-month-header)
8306 (calendar-month-header): New options.
8307 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8308 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8309
8310 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8311
8312 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8313
8314 2012-09-18 Juri Linkov <juri@jurta.org>
8315
8316 * dired-aux.el (dired-diff): Restore original functionality of
8317 getting the default value, but keep new feature of using the
8318 latest existing backup file (`diff-latest-backup-file').
8319
8320 2012-09-18 Juri Linkov <juri@jurta.org>
8321
8322 * dired.el (dired-mark): If the region is active in Transient Mark
8323 mode, mark all files in the active region. Doc fix.
8324 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8325 Doc fix. (Bug#10624)
8326
8327 2012-09-18 Juri Linkov <juri@jurta.org>
8328
8329 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8330 attributes for M-n are pulled from the file at point.
8331 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8332 Suggested by Drew Adams. (Bug#10624)
8333
8334 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8335
8336 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8337 whitespace after "end".
8338 (ruby-do-end-to-brace): Collapse block to one line if it fits
8339 within fill-column.
8340
8341 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8342
8343 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8344 value.
8345 (debug): Don't remove debugger window when debugger is expected
8346 to be back.
8347
8348 2012-09-18 Chong Yidong <cyd@gnu.org>
8349
8350 * custom.el (defface): Doc fix.
8351
8352 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8353
8354 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8355
8356 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8357 to initialize query-on-exit; then test that instead (bug#12288).
8358
8359 2012-09-17 Stefan Merten <smerten@oekonux.de>
8360
8361 * textmodes/rst.el: Add support for `testcover'.
8362 (rst-defcustom-testcover, rst-testcover-add-compose)
8363 (rst-testcover-add-1value): New functions.
8364 (rst-portable-mark-active-p): Replace by `use-region-p'.
8365 (rst-update-section, rst-classify-adornment)
8366 (rst-find-title-line): Mark `1value' forms.
8367 (rst-classify-adornment): Remove superfluous form.
8368 (rst-update-section, rst-get-adornments-around)
8369 (rst-adornment-complete-p, rst-get-next-adornment)
8370 (rst-adjust, rst-promote-region)
8371 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8372 (rst-find-pfx-in-region, rst-section-tree-rec)
8373 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8374 (rst-toc-node, rst-toc, rst-forward-section)
8375 (rst-iterate-leftmost-paragraphs)
8376 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8377 (rst-bullet-list-region)
8378 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8379 (rst-compile-find-conf, rst-compile)
8380 (rst-repeat-last-character): Fix style.
8381
8382 2012-09-17 Chong Yidong <cyd@gnu.org>
8383
8384 * comint.el (comint--complete-file-name-data): Don't add a space
8385 if the status is `sole'; that adds a gratuitous space in the
8386 completion-cycling case (Bug#12092).
8387
8388 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8389
8390 2012-09-17 Richard Stallman <rms@gnu.org>
8391
8392 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8393 only in the mime-shown mode, not in raw mode.
8394 (rmail-mime): Toggle off mime by displaying the message without
8395 mime processing. (Bug#12305)
8396
8397 * mail/rmail.el (rmail-retry-failure):
8398 Turn off mime processing first. (Bug#12037)
8399
8400 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8401
8402 2012-09-17 Chong Yidong <cyd@gnu.org>
8403
8404 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8405 (shell-dynamic-complete-functions): Convert to defcustom.
8406 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8407
8408 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8409 * comint.el (comint-prompt-read-only):
8410 * custom.el (defcustom):
8411 * hi-lock.el (hi-lock-mode):
8412 * ibuffer.el (ibuffer-formats):
8413 * ielm.el (ielm-prompt-read-only):
8414 * novice.el (disable-command):
8415 * saveplace.el (toggle-save-place):
8416 * speedbar.el (speedbar-supported-extension-expressions):
8417 * startup.el (auto-save-list-file-prefix, init-file-user)
8418 (after-init-hook, inhibit-startup-echo-area-message):
8419 * strokes.el (strokes-help):
8420 * time-stamp.el (time-stamp):
8421 * calendar/calendar.el (calendar, diary-file):
8422 * calendar/diary-lib.el (diary-mail-entries, diary)
8423 (diary-list-entries-hook):
8424 * calendar/holidays.el (holidays, calendar-holidays):
8425 * calendar/lunar.el (lunar-phases):
8426 * calendar/solar.el (sunrise-sunset):
8427 * emulation/edt.el (edt-load-keys):
8428 * emulation/viper.el (viper-mode):
8429 * eshell/em-alias.el (eshell-command-aliases-list):
8430 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8431 * international/ogonek.el (ogonek-information):
8432 * net/tramp-cmds.el (tramp-bug):
8433 * net/quickurl.el (quickurl-reread-hook-postfix):
8434 * play/decipher.el (decipher-font-lock-keywords):
8435 * progmodes/cc-styles.el (c-set-style):
8436 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8437 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8438 * progmodes/octave-mod.el (octave-mode):
8439 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8440 * progmodes/verilog-mode.el (verilog-read-defines):
8441 * textmodes/two-column.el (2C-mode): Likewise.
8442
8443 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8444
8445 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8446 that holds many addresses.
8447
8448 2012-09-16 Chong Yidong <cyd@gnu.org>
8449
8450 * align.el (align-areas): Call the indication function with
8451 positions instead of markers for arguments (Bug#12343).
8452
8453 * files.el (parse-colon-path): Use split-string (Bug#12351).
8454
8455 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8456 (display-buffer-function): Mark as obsolete.
8457
8458 * progmodes/compile.el (compilation-parse-errors): Accept list
8459 values similar to font-lock-keywords (Bug#12136).
8460 Suggested by Oleksandr Manzyuk.
8461 (compilation-error-regexp-alist): Doc fix.
8462
8463 2012-09-15 Glenn Morris <rgm@gnu.org>
8464
8465 * version.el (emacs-bzr-version-bzr): New function.
8466 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8467
8468 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8469 checkouts, check the parent dirstate matches the branch.
8470 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8471 empty string.
8472
8473 * version.el (emacs-bzr-version): Doc fix.
8474 (emacs-bzr-version-dirstate): New function.
8475 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8476 is local try and check that it matches the branch. If not, just
8477 use dirstate information. (Bug#12441)
8478
8479 2012-09-14 Juri Linkov <juri@jurta.org>
8480
8481 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8482 (Bug#12399)
8483
8484 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8487
8488 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8489 Remove obsolete byte-compiler hack that tried to silence some warnings.
8490 (edebug-submit-bug-report): Remove.
8491 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8492 Remove aliases, use the un-prefixed name instead.
8493 (edebug-pop-to-buffer): Consider other frames.
8494 (edebug-original-read):: Make it more obvious that it's always defined.
8495 (edebug--make-form-data-entry, edebug--form-data-name)
8496 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8497 single-dashed name, and implement with cl-defstruct.
8498 (edebug-set-form-data-entry): Use the standard accessors.
8499 (edebug-make-top-form-data-entry): Use push.
8500 (edebug-no-match): Drop useless `funcall'.
8501 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8502 to functions.
8503 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8504 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8505 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8506 (easy-menu-define, with-custom-print): Remove redundant specs.
8507 (edebug-outside-overriding-local-map)
8508 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8509 (edebug--display): Bind unread-command-events directly to nil rather
8510 than binding it to unread-command-events and later setting it to nil.
8511 (edebug--display): Kill edebug-eval-buffer here...
8512 (edebug--recursive-edit): ...rather than here.
8513 Bind standard-output and standard-input.
8514 (edebug-eval): Check cl-macroexpand-all is fboundp.
8515 (edebug-temp-display-freq-count): Fix last change.
8516
8517 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8518 * subr.el (noreturn, 1value): Add `debug' spec.
8519 * emacs-lisp/advice.el: Require cl-lib.
8520 (ad-copy-tree): Remove, use copy-tree instead.
8521 (ad-dolist): Remove use dolist or cl-dolist instead.
8522 (ad-do-return): Remove, use cl-return instead.
8523 (defadvice): Add `debug' spec.
8524
8525 2012-09-13 Juri Linkov <juri@jurta.org>
8526
8527 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8528 (Bug#12399)
8529
8530 2012-09-13 Glenn Morris <rgm@gnu.org>
8531
8532 * calc/calc.el (math-compose-expr):
8533 * calc/calc-ext.el (math-compose-expr):
8534 * progmodes/cc-defs.el (cl-macroexpand-all):
8535 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8536 (cl-macroexpand-all): Update declarations.
8537
8538 * vc/vc.el: No need to require ediff.
8539 (ediff-load-version-control): Declare.
8540 (ediff-vc-internal): Fix declaration.
8541 (vc-version-ediff): Require ediff.
8542
8543 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8544
8545 Use a more backwards-compatible timer format (Bug#12430).
8546 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8547 being right after USECS, as that better supports old code that
8548 inadvisedly looked directly at the timer vector.
8549
8550 2012-09-13 Kenichi Handa <handa@gnu.org>
8551
8552 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8553 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8554 `coding-priority' property of these language environment.
8555
8556 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8557
8558 Fix glitches caused by addition of psec to timers (Bug#12430).
8559 * image.el (image-animate-timer):
8560 * time.el (display-time-world-timer):
8561 Use timer--function and timer--args rather than raw access to
8562 timer vector.
8563
8564 2012-09-13 Glenn Morris <rgm@gnu.org>
8565
8566 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8567 If not compiling a file, try using load-file-name.
8568
8569 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8572 Fix last change.
8573 (edebug-update-eval-list): Use `push'.
8574
8575 * emacs-lisp/edebug.el: Use lexical-binding.
8576 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8577 Mark unused args with underscore.
8578 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8579 (edebug-form-data): Use defvar-local.
8580 (edebug-make-before-and-after-form, edebug-make-after-form):
8581 Use backquote.
8582 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8583 Not dynamically scoped any more.
8584 (edebug--enter-trace): Add arguments `function' and `args'.
8585 Rename from edebug-enter-trace.
8586 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8587 (edebug--update-coverage): Add `after-index' and `value' args.
8588 Rename from edebug-update-coverage.
8589 (edebug-slow-after): Call it accordingly.
8590 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8591 edebug-recursive-edit.
8592 (edebug--display): Call it accordingly. Add args `value',
8593 `offset-index', and `arg-mode'. Rename from edebug-display.
8594 (edebug-debugger, edebug): Call it accordingly.
8595 (edebug-eval-display-list): Use dolist.
8596
8597 2012-09-12 Juri Linkov <juri@jurta.org>
8598
8599 * info.el (Info-search): Don't check for isearch-mode and
8600 isearch-regexp before let-binding search-spaces-regexp to
8601 Info-search-whitespace-regexp.
8602 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8603 search-whitespace-regexp if isearch-lax-whitespace or
8604 isearch-regexp-lax-whitespace is non-nil.
8605 (Info-mode): Don't set local variable search-whitespace-regexp.
8606 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8607
8608 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8611 (debugger-env-macro): Remove support for unread-command-char.
8612
8613 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8614 the temporary map re-appearing on emulation-mode-map-alists.
8615
8616 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8617 since 22.1.
8618
8619 * ehelp.el (with-electric-help): Accept functions in
8620 electric-help-form-to-execute.
8621 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8622 And replace unread-command-char -> unread-command-events.
8623
8624 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8625
8626 Sync with Tramp 2.2.6.
8627
8628 * net/tramp.el (tramp-accept-process-output): Don't use
8629 JUST-THIS-ONE in the XEmacs case.
8630
8631 * net/trampver.el: Update release number.
8632
8633 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8634
8635 * emacs-lisp/debug.el (debugger-previous-window-height):
8636 New variable.
8637 (debug): When debugger-jumping-flag is non-nil try to restore
8638 height of debugger window. (Bug#8789)
8639
8640 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8643 overriding-local-map and pre/post-command-hook here.
8644 (edebug-recursive-edit): Do it here instead (bug#12345).
8645 (edebug-outside-unread-command-char): Remove all uses of
8646 unread-command-char.
8647
8648 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8649 inhibit-debugger is bound instead.
8650
8651 2012-09-11 Bastien Guerry <bzg@gnu.org>
8652
8653 * subr.el (set-temporary-overlay-map): Add a docstring.
8654 (Bug#12346)
8655
8656 2012-09-11 Bastien Guerry <bzg@gnu.org>
8657
8658 * minibuffer.el (completion-table-subvert): Fix docstring.
8659 (Bug#12347)
8660
8661 2012-09-11 Bastien Guerry <bzg@gnu.org>
8662
8663 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8664
8665 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8666
8667 * progmodes/sql.el: Version 3.1
8668 (sql-db2-escape-newlines): New variable.
8669 (sql-escape-newlines-filter): Use it.
8670
8671 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8672
8673 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8674
8675 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8676
8677 * vc/diff-mode.el (diff-mode-menu):
8678 Bind diff-remove-trailing-whitespace.
8679
8680 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8683 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8684 (emacs-lisp-byte-code-mode): New functions.
8685 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8686 (eval-defun-2): Remove bogus interactive spec.
8687 (lisp-indent-line): Remove redundant whole-exp code, now done in
8688 indent-according-to-mode.
8689 (save-match-data): Remove redundant indent data.
8690
8691 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8692 Use `declare'.
8693
8694 2012-09-09 Juri Linkov <juri@jurta.org>
8695
8696 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8697 (replace-lax-whitespace, query-replace-regexp)
8698 (query-replace-regexp-eval, replace-regexp): Doc fix.
8699 (perform-replace, replace-highlight): Let-bind
8700 isearch-lax-whitespace to replace-lax-whitespace and
8701 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8702
8703 * isearch.el (isearch-query-replace): Let-bind
8704 replace-lax-whitespace to isearch-lax-whitespace and
8705 replace-regexp-lax-whitespace to
8706 isearch-regexp-lax-whitespace. (Bug#10885)
8707
8708 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8711
8712 2012-09-09 Alan Mackenzie <acm@muc.de>
8713
8714 * progmodes/cc-engine.el (c-state-cache-init):
8715 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8716 (c-record-parse-state-state):
8717 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8718
8719 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8720
8721 * register.el (register-separator): Rename from
8722 separator-register. All uses changed. Doc fix.
8723 (register): Fix version.
8724
8725 2012-09-09 Chong Yidong <cyd@gnu.org>
8726
8727 * replace.el (query-replace-map): Bind four new symbols for
8728 requesting window scrolling.
8729
8730 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8731 query-replace-map (Bug#8948).
8732
8733 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8734
8735 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8736 since they are now in query-replace-map.
8737
8738 * window.el (scroll-other-window-down): Make the arg optional.
8739
8740 2012-09-09 Chong Yidong <cyd@gnu.org>
8741
8742 * files.el (hack-local-variables-confirm): Use quit-window to kill
8743 the *Local Variables* buffer.
8744
8745 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8746
8747 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8748 not just expect to be at its beginning. Adjust callees.
8749 Succeed when do-end block has no space before the pipe character.
8750 (ruby-brace-to-do-end): When the original block is one-liner,
8751 convert to multiline. Reindent the result.
8752
8753 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8754
8755 * register.el (register): New group.
8756 (separator-register): New user option.
8757 (increment-register): Route it to `append-to-register', if
8758 register contains text. Implication is that `C-x r +' can now be
8759 used for appending to a text register (bug#12217).
8760 (append-to-register, prepend-to-register): Add separator based on
8761 `separator-register'.
8762
8763 2012-09-08 Alan Mackenzie <acm@muc.de>
8764
8765 AWK Mode: make auto-newline work when there's "==" in the pattern.
8766 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8767 correctly.
8768 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8769 Test more rigorously for "=" token.
8770
8771 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8772
8773 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8774 Only fail when reached LIMIT.
8775
8776 2012-09-08 Chong Yidong <cyd@gnu.org>
8777
8778 * dired.el (dired-mode-map): Don't bind M-=.
8779
8780 * dired-aux.el (dired-diff): Use backup file as default.
8781
8782 2012-09-08 Drew Adams <drew.adams@oracle.com>
8783
8784 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8785
8786 2012-09-08 Chong Yidong <cyd@gnu.org>
8787
8788 * subr.el (syntax-after, syntax-class): Doc fix.
8789
8790 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8791
8792 * window.el (display-buffer-in-previous-window): New buffer
8793 display action function.
8794
8795 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8796 (debugger-previous-window): New variable.
8797 (debug): Rewrite using display-buffer-in-previous-window,
8798 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8799
8800 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8803
8804 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8805
8806 * progmodes/python.el (python-shell-send-string):
8807 When default-directory is remote, create temp file on remote
8808 filesystem.
8809 (python-shell-send-file): When file is remote, pass local view of
8810 file paths to remote Python interpreter. (Bug#12340)
8811
8812 2012-09-07 Chong Yidong <cyd@gnu.org>
8813
8814 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8815
8816 * files.el (after-find-file): Don't fail on a read-only buffer if
8817 require-final-newline is `visit' or `visit-save' (Bug#11156).
8818
8819 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8820
8821 * userlock.el (ask-user-about-supersession-threat):
8822 Use read-char-choice (Bug#12093).
8823
8824 2012-09-07 Chong Yidong <cyd@gnu.org>
8825
8826 * subr.el (buffer-narrowed-p): New function.
8827
8828 * ses.el (ses-widen):
8829 * simple.el (count-words--buffer-message):
8830 * net/browse-url.el (browse-url-of-buffer): Use it.
8831
8832 * simple.el (count-words-region): Don't signal an error if there
8833 is a non-nil prefix arg and the mark is not set.
8834
8835 * help.el (describe-key-briefly): Allow the message to be seen
8836 when invoked from the minibuffer (Bug#7014).
8837
8838 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8839
8840 * progmodes/ruby-mode.el (ruby-end-of-defun)
8841 (ruby-beginning-of-defun): Simplify, allow indentation before
8842 block beginning and end keywords.
8843 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8844 (ruby-end-of-defun): Expect that the point is at the beginning of
8845 the defun.
8846
8847 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8850 (bug#12367).
8851 (cl--make-usage-args): Strip _ from argument names.
8852
8853 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8854
8855 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8856 obsolete alias speedbar-key-map.
8857 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8858 (vhdl-index-menu-init): Don't use obsolete variable
8859 font-lock-maximum-size.
8860
8861 2012-09-06 Chong Yidong <cyd@gnu.org>
8862
8863 * frame.el (window-system-version): Mark as obsolete.
8864
8865 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8866 of obsolete variable speedbar-key-map.
8867
8868 2012-09-06 Juri Linkov <juri@jurta.org>
8869
8870 * replace.el (replace-lax-whitespace): New defcustom.
8871 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8872 (replace-string, replace-regexp): Mention it in docstrings.
8873 (perform-replace, replace-highlight): Let-bind
8874 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8875 to the values of replace-lax-whitespace and regexp-flag.
8876 Don't let-bind search-whitespace-regexp. (Bug#10885)
8877
8878 * isearch.el (isearch-query-replace): Let-bind
8879 replace-lax-whitespace instead of let-binding
8880 replace-search-function and replace-re-search-function.
8881 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8882 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8883 (isearch-toggle-symbol): Set isearch-regexp to nil
8884 in isearch-word mode (like in isearch-toggle-word).
8885
8886 2012-09-06 Juri Linkov <juri@jurta.org>
8887
8888 * replace.el (replace-search-function)
8889 (replace-re-search-function): Set default values to nil.
8890 (perform-replace): Let-bind isearch-related variables based on
8891 replace-related values, call `isearch-search-fun' and let-bind
8892 the result to `search-function'. Remove code that sets
8893 `search-function' and `search-string' separately for
8894 `delimited-flag'.
8895 (replace-highlight): Add new argument `delimited-flag' and
8896 rename other arguments to the names used in `perform-replace'.
8897 Let-bind `isearch-word' to the argument `delimited-flag'.
8898 (Bug#10885, bug#10887)
8899
8900 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8901
8902 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8903 ruby-beginning-of-indent, simplify, allow all keywords to have
8904 indentation before them.
8905 (ruby-beginning-of-indent): Adjust for above. Search until the
8906 found point is not inside a string or comment.
8907 (ruby-font-lock-keywords): Allow symbols to start with "@"
8908 character, give them higher priority than variables.
8909 (ruby-syntax-propertize-function)
8910 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8911 matchers. Expression expansions are not comments when inside a
8912 string, and there comment syntax status is irrelevant.
8913 (ruby-match-expression-expansion): New function. Check that
8914 expression expansion is inside a string, and it's not escaped.
8915 (ruby-font-lock-keywords): Use it.
8916
8917 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8918
8919 * help.el (temp-buffer-max-height): New default value.
8920 (temp-buffer-resize-frames): New option.
8921 (resize-temp-buffer-window): Optionally resize frame.
8922
8923 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8924 (fit-frame-to-buffer): New function.
8925
8926 2012-09-05 Glenn Morris <rgm@gnu.org>
8927
8928 * emulation/cua-rect.el (cua--init-rectangles):
8929 * textmodes/picture.el (picture-mode-map):
8930 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8931 like forward-char and backward-char. (Bug#12317)
8932
8933 2012-09-05 Leo Liu <sdl.web@gmail.com>
8934
8935 * progmodes/flymake.el (flymake-warning-re): New variable.
8936 (flymake-parse-line): Use it.
8937
8938 2012-09-05 Glenn Morris <rgm@gnu.org>
8939
8940 * calendar/holidays.el (holiday-christian-holidays):
8941 Rename an entry. (Bug#12289)
8942
8943 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8944
8945 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8946 (bug#12222).
8947
8948 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * loadup.el: Load macroexp. Remove hack.
8951 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8952 (macroexp--expand-all): Use it to get better warnings.
8953 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8954 (internal-macroexpand-for-load): New functions.
8955 (macroexp--pending-eager-loads): New var.
8956 (emacs-startup-hook): New hack to replace one in loadup.el.
8957 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8958 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8959 (cl-psetf): Simplify.
8960 (cl-defstruct): Add indent rule.
8961
8962 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8963
8964 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8965 over `user-mail-address' for the SMTP MAIL FROM envelope.
8966 (smtpmail-via-smtp): Ditto.
8967
8968 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8969
8970 * progmodes/ruby-mode.el: Clean up keybindings.
8971 (ruby-mode-map): Don't bind ruby-electric-brace,
8972 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8973 backward-kill-word, reindent-then-newline-and-indent.
8974 (ruby-mark-defun): Remove.
8975 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8976 (ruby-mode): Set local beginning-of-defun-function and
8977 end-of-defun-function values.
8978
8979 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8980
8981 * window.el (temp-buffer-window-setup-hook)
8982 (temp-buffer-window-show-hook): New hooks.
8983 (temp-buffer-window-setup, temp-buffer-window-show)
8984 (with-temp-buffer-window): New functions.
8985 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8986 (special-display-popup-frame): Make sure the window used shows BUFFER.
8987
8988 * help.el (temp-buffer-resize-mode): Fix doc-string.
8989 (resize-temp-buffer-window): New optional argument WINDOW.
8990
8991 * files.el (recover-file, save-buffers-kill-emacs):
8992 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8993
8994 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8995
8996 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8997 remote definition of `default-directory', ensure we can connect.
8998
8999 2012-09-02 Juri Linkov <juri@jurta.org>
9000
9001 Toggle whitespace matching mode with M-s SPC.
9002 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9003
9004 * isearch.el (search-whitespace-regexp): Doc fix.
9005 Remove cons cell customization.
9006 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9007 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9008 New variables.
9009 (isearch-forward, isearch-forward-regexp): Doc fix.
9010 (isearch-toggle-lax-whitespace): New command.
9011 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9012 (re-search-forward-lax-whitespace)
9013 (re-search-backward-lax-whitespace): New functions.
9014 (isearch-whitespace-regexp): Remove function.
9015 (isearch-query-replace): Let-bind replace-search-function and
9016 replace-re-search-function.
9017 (isearch-occur): Let-bind search-spaces-regexp according to the
9018 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9019 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9020 condition for C-q SPC.
9021 (isearch-search-fun-default): Use new functions mentioned above.
9022 (isearch-search-forward, isearch-search-backward): Remove functions.
9023 (isearch-search): Don't let-bind search-spaces-regexp.
9024 (isearch-lazy-highlight-space-regexp): Remove variable.
9025 (isearch-lazy-highlight-lax-whitespace)
9026 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9027 (isearch-lazy-highlight-new-loop): Use them.
9028 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9029
9030 2012-09-02 Chong Yidong <cyd@gnu.org>
9031
9032 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9033
9034 2012-09-02 Glenn Morris <rgm@gnu.org>
9035
9036 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9037
9038 2012-09-01 Glenn Morris <rgm@gnu.org>
9039
9040 * term.el: Tidy up menu definitions.
9041 (term-mode-map): Use easymenu for In/Out, Complete menus.
9042 (term-pager-break-map): Initialize in the defvar.
9043 (term-terminal-menu, term-signals-menu): Define with easymenu.
9044 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9045 (term-pager-menu): New, extracted from term-process-pager.
9046 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9047 (term-update-mode-line): Propertize line/char and page items.
9048 (term-process-pager): Move keymap initialization elsewhere.
9049
9050 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9051
9052 * window.el (switch-to-prev-buffer): Handle additional values of
9053 BURY-OR-KILL argument. Don't switch in minibuffer window.
9054 (switch-to-next-buffer): Don't switch in minibuffer window.
9055 (quit-restore-window): New function based on quit-window.
9056 Handle additional values of former KILL argument.
9057 (quit-window): Call quit-restore-window with appropriate
9058 interpretation of KILL argument.
9059 (display-buffer-below-selected): New buffer display action
9060 function.
9061
9062 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9063
9064 * minibuffer.el (completion-at-point-functions): Complete docstring
9065 (bug#12254).
9066
9067 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9068
9069 Better seed support for (random).
9070 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9071 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9072 * play/mpuz.el, play/tetris.el, play/zone.el:
9073 * calc/calc-comb.el (math-init-random-base):
9074 * play/blackbox.el (bb-init-board):
9075 * play/life.el (life):
9076 * server.el (server-use-tcp):
9077 * type-break.el (type-break):
9078 Remove unnecessary call to (random t).
9079 * net/sasl.el (sasl-unique-id-function):
9080 Change (random t) to (random), now that the latter is more random.
9081 * play/life.el (life-initialized): Remove no-longer-needed var.
9082
9083 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9084
9085 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9086 Consider frame's buffer predicate when choosing the buffer.
9087 (Bug#12081)
9088
9089 2012-08-30 Richard Stallman <rms@gnu.org>
9090
9091 * simple.el (special-mode-map): Delete binding for `z'.
9092
9093 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9094
9095 * progmodes/compile.el (compilation-always-kill): Doc fix.
9096
9097 2012-08-30 Chong Yidong <cyd@gnu.org>
9098
9099 * window.el (display-buffer-reuse-frames): Make the obsolescence
9100 message more informative.
9101
9102 2012-08-30 Glenn Morris <rgm@gnu.org>
9103
9104 * paren.el (show-paren-delay):
9105 Add a :set function. Doc fix. (Bug#12297)
9106
9107 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9108
9109 * progmodes/compile.el (compilation-always-kill): New var.
9110 (compilation-start): Use it.
9111
9112 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9115 * files.el (read-only-mode): Move to simple.el.
9116
9117 * files.el (read-only-mode): New minor mode.
9118 (toggle-read-only): Use it and mark obsolete.
9119 (find-file--read-only):
9120 * vc/vc.el (vc-next-action, vc-checkout):
9121 * vc/vc-cvs.el (vc-cvs-checkout):
9122 * obsolete/vc-mcvs.el (vc-mcvs-update):
9123 * ffap.el (ffap--toggle-read-only): Update callers.
9124
9125 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9126
9127 * eshell/esh-ext.el (eshell-external-command): Do not examine
9128 remote shell scripts.
9129 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9130
9131 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9132 "/usr/local/sbin".
9133
9134 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9137
9138 2012-08-28 Leo Liu <sdl.web@gmail.com>
9139
9140 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9141 completion-at-point. (Bug#12220)
9142
9143 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9144
9145 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9146
9147 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9148
9149 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9150 be buffer-local; add delete-trailing-whitespace (bug#12259).
9151
9152 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9153
9154 * progmodes/hideif.el (hif-compress-define-list):
9155 Fix typo. (Bug#11951)
9156
9157 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9158
9159 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9160 buffer local setting.
9161
9162 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9163 rcirc-encode-coding-system.
9164
9165 2012-08-28 Leo Liu <sdl.web@gmail.com>
9166
9167 * net/rcirc.el (rcirc-split-message): New function.
9168 (rcirc-send-message): Use it. (Bug#12051)
9169
9170 2012-08-28 Juri Linkov <juri@jurta.org>
9171
9172 * info.el (Info-fontify-node): Hide empty lines at the end of
9173 the node. (Bug#12272)
9174
9175 2012-08-27 Drew Adams <drew.adams@oracle.com>
9176
9177 * dired.el (dired-pop-to-buffer): Make window start at beginning
9178 of buffer (Bug#12281).
9179
9180 2012-08-26 Chong Yidong <cyd@gnu.org>
9181
9182 * window.el (special-display-regexps, special-display-frame-alist)
9183 (special-display-buffer-names, special-display-function)
9184 (display-buffer-reuse-frames): Mark as obsolete.
9185
9186 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9187
9188 * help.el (help-print-return-message): Don't treat
9189 display-buffer-reuse-frames specially.
9190
9191 2012-08-26 Chong Yidong <cyd@gnu.org>
9192
9193 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9194 New variable, replacing gdb-frame-parameters.
9195 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9196 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9197 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9198 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9199 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9200 the functions directly with gdb-display-buffer-other-frame-action.
9201 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9202 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9203 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9204 (gdb-display-registers-buffer): Define directly.
9205 (def-gdb-display-buffer): Macro deleted.
9206 (gdb-display-buffer): Remove second and third args, callers don't
9207 use them. Defer to the default display-buffer behavior, apart
9208 from making windows dedicated.
9209 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9210
9211 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9212
9213 * window.el (display-buffer-pop-up-frame): Handle a
9214 pop-up-frame-parameters alist entry.
9215 (display-buffer): Document it.
9216
9217 2012-08-26 Chong Yidong <cyd@gnu.org>
9218
9219 * isearch.el (search-whitespace-regexp): Make string and nil
9220 values apply to both ordinary and regexp search. Allow a cons
9221 cell value to distinguish between the two.
9222 (isearch-whitespace-regexp, isearch-search-forward)
9223 (isearch-search-backward): New functions.
9224 (isearch-occur, isearch-search-fun-default, isearch-search)
9225 (isearch-lazy-highlight-new-loop): Use them.
9226 (isearch-forward, isearch-forward-regexp): Doc fix.
9227
9228 2012-08-26 Chong Yidong <cyd@gnu.org>
9229
9230 * faces.el (help-argument-name): Always inherit from italic
9231 (Bug#12213).
9232
9233 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9234
9235 * window.el (window--even-window-heights): Even heights when
9236 WINDOW and the selected window form a vertical combination.
9237 (display-buffer-use-some-window): Provide that window used gets
9238 sized back by quit-window. (Bug#11880) and (Bug#12091)
9239
9240 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9241
9242 Fix file time stamp problem with bzr and CVS (Bug#12001).
9243 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9244 in the file's time stamp, since the version control system loses
9245 that information.
9246
9247 2012-08-22 Juri Linkov <juri@jurta.org>
9248
9249 * info.el (Info-fontify-node): Hide the suffix of the
9250 Info file name in the header line. (Bug#12187)
9251
9252 2012-08-22 Glenn Morris <rgm@gnu.org>
9253
9254 * calendar/cal-tex.el (cal-tex-weekly-common):
9255 Restore leading blank page.
9256
9257 2012-08-22 Le Wang <l26wang@gmail.com>
9258
9259 * misc.el (forward-to-word, backward-to-word): Activate or extend
9260 the region under `shift-select-mode'. (Bug#12231)
9261
9262 2012-08-22 Bastien Guerry <bzg@gnu.org>
9263
9264 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9265 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9266 gives details on why the space is never needed.
9267
9268 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9269
9270 * window.el (walk-window-tree, window-with-parameter):
9271 New optional argument MINIBUF to control whether these functions
9272 should run on the minibuffer window.
9273 (window-at-side-list): Don't operate on minibuffer window.
9274 (window-in-direction): Simplify and rewrite doc-string.
9275 (window--size-ignore): Rename to window--size-ignore-p.
9276 Update callers.
9277 (display-buffer-in-atom-window, window--major-non-side-window)
9278 (window--major-side-window, display-buffer-in-major-side-window)
9279 (delete-side-window, display-buffer-in-side-window):
9280 New functions.
9281 (window--side-check, window-deletable-p, delete-window)
9282 (delete-other-windows, split-window): Handle side windows and
9283 atomic windows appropriately.
9284 (window--display-buffer): Call display-buffer-record-window also
9285 when the window buffer did not change.
9286
9287 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9288
9289 * help-fns.el (help-fns--key-bindings):
9290 Abbreviate non-symbol remap targets. (Bug#12174)
9291
9292 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9293
9294 * dired.el (dired-mark-remembered): Don't clobber point.
9295 (Bug#11795)
9296
9297 2012-08-22 Glenn Morris <rgm@gnu.org>
9298
9299 * progmodes/bug-reference.el (bug-reference): New custom group.
9300 (bug-reference-bug-regexp): Make it a defcustom.
9301
9302 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9303
9304 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9305 (js-paren-indent-offset, js-square-indent-offset)
9306 (js-curly-indent-offset): Add :safe (Bug#12257).
9307
9308 2012-08-22 Edward O'Connor <hober0@gmail.com>
9309
9310 * json.el (json-key-format): Add error properties.
9311 (json-encode-key): New function.
9312 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9313 Use json-encode-key.
9314
9315 2012-08-22 Glenn Morris <rgm@gnu.org>
9316
9317 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9318 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9319 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9320 Update for above change.
9321
9322 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9323
9324 * cus-face.el (custom-face-attributes): Fix customize type for the
9325 :underline attribute. (Bug#11805)
9326
9327 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9328
9329 * window.el (window-point-1, set-window-point-1): Remove.
9330 (window-in-direction, record-window-buffer)
9331 (set-window-buffer-start-and-point, split-window-below)
9332 (window--state-get-1, display-buffer-record-window):
9333 Replace calls to window-point-1 and set-window-point-1 by calls to
9334 window-point and set-window-point respectively.
9335
9336 2012-08-21 Glenn Morris <rgm@gnu.org>
9337
9338 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9339 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9340 Use it.
9341
9342 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9343 (cal-tex-shortday): New function.
9344 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9345 (cal-tex-cursor-filofax-daily): Use the above.
9346
9347 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9348 New functions.
9349 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9350 (cal-tex-cursor-filofax-week): Use them.
9351
9352 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9353 New constants.
9354 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9355 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9356
9357 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9358 (cal-tex-end-document): Don't rely on buffer name.
9359
9360 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9361 Use cal-tex-vspace.
9362 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9363 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9364 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9365 Use cal-tex-arg.
9366
9367 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9368 (cal-tex-cursor-week, cal-tex-cursor-week2)
9369 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9370 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9371 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9372 (cal-tex-insert-preamble, cal-tex-b-document)
9373 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9374 Improve cal-tex-cmd usage.
9375
9376 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9377 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9378 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9379 (cal-tex-weekly-paper): New function.
9380 (cal-tex-cursor-week, cal-tex-cursor-week2)
9381 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9382 (cal-tex-cursor-day): Use it.
9383
9384 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9385 (cal-tex-cursor-filofax-week): Remove leading blank page.
9386
9387 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9388 Add autoload cookie. For now at least, don't use color, since
9389 no other cal-tex function does.
9390
9391 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9392 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9393 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9394
9395 2012-08-21 Juri Linkov <juri@jurta.org>
9396
9397 * info.el (Info-file-attributes): New variable.
9398 (info-insert-file-contents): Add file attributes to
9399 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9400 `Info-toc-nodes' when previous modtime of the Info file is less
9401 than new modtime.
9402 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9403 of info.el. (Bug#12230)
9404
9405 2012-08-20 Glenn Morris <rgm@gnu.org>
9406
9407 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9408 * calendar/holidays.el (calendar-holiday-list):
9409 Report errors with display-warning rather than beep'n'sleep.
9410
9411 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/tramp.el (tramp-accept-process-output): Accept only output
9414 from PROC. Otherwise, process filters and sentinels might be
9415 confused. (Bug#12145)
9416
9417 2012-08-20 Chong Yidong <cyd@gnu.org>
9418
9419 * descr-text.el (describe-text-properties-1): Use overlays-in to
9420 report on empty overlays (Bug#3322).
9421
9422 2012-08-20 Glenn Morris <rgm@gnu.org>
9423
9424 * mail/rmailout.el (rmail-output-read-file-name):
9425 Trap and report errors in rmail-output-file-alist elements.
9426
9427 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9428 since most non-font-lock faces are not also variables).
9429
9430 2012-08-20 Edward Reingold <reingold@iit.edu>
9431
9432 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9433 New function. (Bug12160)
9434
9435 2012-08-19 Glenn Morris <rgm@gnu.org>
9436
9437 * mail/rmailout.el (rmail-output-read-file-name):
9438 Fix previous change (when the alist is nil or does not match).
9439
9440 2012-08-19 Chong Yidong <cyd@gnu.org>
9441
9442 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9443 (Bug#12228).
9444
9445 2012-08-18 Chong Yidong <cyd@gnu.org>
9446
9447 * simple.el (yank-handled-properties): New defcustom.
9448 (yank-excluded-properties): Add font-lock-face and category.
9449 (yank): Doc fix.
9450
9451 * subr.el (remove-yank-excluded-properties):
9452 Obey yank-handled-properties. The special handling of font-lock-face
9453 and category is now done this way, instead of being hard-coded.
9454 (insert-for-yank-1): Remove font-lock-face handling.
9455 (yank-handle-font-lock-face-property)
9456 (yank-handle-category-property): New function.
9457
9458 2012-08-17 Glenn Morris <rgm@gnu.org>
9459
9460 * mail/rmailout.el (rmail-output-read-file-name):
9461 Check rmail-output-file-alist against the full message body
9462 in the correct rmail buffer. (Bug#12214)
9463
9464 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9465
9466 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9467 Eliminate superfluous prompt. (Bug#12203)
9468
9469 2012-08-17 Chong Yidong <cyd@gnu.org>
9470
9471 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9472 font spec, set the font directly (Bug#3228).
9473
9474 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9475
9476 * window.el (delete-window): Fix last fix.
9477
9478 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9479
9480 * window.el (window-valid-p): Move to window.c.
9481 (window-child, window-child-count, window-last-child)
9482 (window-normalize-window, window-combined-p)
9483 (window-combinations, window-atom-root, window-min-size)
9484 (window-sizable, window-sizable-p, window-size-fixed-p)
9485 (window-min-delta, window-max-delta, window--resizable)
9486 (window--resizable-p, window-resizable, window-total-size)
9487 (window-full-height-p, window-full-width-p, window-body-size)
9488 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9489 (minimize-window, window-deletable-p, delete-window)
9490 (delete-other-windows, set-window-buffer-start-and-point)
9491 (next-buffer, previous-buffer, split-window, balance-windows-2)
9492 (set-window-text-height, window-buffer-height)
9493 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9494 (truncated-partial-width-window-p): Minor code adjustments.
9495 In doc-strings state whether the argument window has to denote a
9496 live, valid or any window.
9497
9498 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9499
9500 * progmodes/subword.el (subword-forward-function)
9501 (subword-backward-function, subword-forward-regexp)
9502 (subword-backward-regexp): New variables.
9503 (subword-forward, subword-forward-internal, subword-backward-internal):
9504 Use new variables, eg so that different "word" definitions
9505 can be easily used. (Bug#11411)
9506
9507 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9510 for composite selectors.
9511 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9512 operation just because we can't find a previous revision.
9513
9514 2012-08-15 Chong Yidong <cyd@gnu.org>
9515
9516 * frame.el (set-frame-font): Accept font objects.
9517
9518 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9521
9522 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9523
9524 * man.el (Man-overstrike-face, Man-underline-face)
9525 (Man-reverse-face): Remove variables.
9526 (Man-overstrike, Man-underline, Man-reverse): New faces.
9527 (Man-fontify-manpage): Use them instead of the variables.
9528 (Man-cleanup-manpage): Comment change.
9529 (Man-ansi-color-map): New variable.
9530 (Man-fontify-manpage): Use it.
9531 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9532
9533 Implement ANSI SGR parameters 22-27 (bug#12146).
9534 * ansi-color.el (ansi-colors): Doc fix.
9535 (ansi-color-context, ansi-color-context-region): Doc fix.
9536 (ansi-color--find-face): New function.
9537 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9538 Rename the local variable `face' to `codes' since it is now a list of
9539 ansi codes. Doc fix.
9540 (ansi-color-get-face): Remove.
9541 (ansi-color-parse-sequence): New function, derived from
9542 ansi-color-get-face.
9543 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9544 codes 22-27.
9545
9546 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * subr.el (read-passwd): Allow use from a minibuffer.
9549
9550 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9551
9552 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9553 inside comments and strings as identifiers.
9554
9555 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9556 expression to evaluate. This allows to evaluate expressions with
9557 embedded whitespace.
9558 (gud-tooltip-tips): Add a blank before the newline in the
9559 message-box text, for the benefit of message-box emulation on
9560 MS-Windows.
9561
9562 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9563 messages from GDB, pop them up in a tooltip to give feedback to
9564 user.
9565 (gdb-tooltip-print-1): Quote the expression to evaluate.
9566 This allows to evaluate expressions with embedded whitespace.
9567 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9568 if the TTY name is nil or empty (which happens when communicating
9569 with the inferior via pipes, e.g. on MS-Windows).
9570 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9571 don't send that to the GUD buffer.
9572
9573 2012-08-14 Glenn Morris <rgm@gnu.org>
9574
9575 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9576 Optimize away setq-default with no args, as for setq. (Bug#12195)
9577
9578 2012-08-14 Chong Yidong <cyd@gnu.org>
9579
9580 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9581
9582 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9583 (Bug#12085).
9584
9585 2012-08-14 Glenn Morris <rgm@gnu.org>
9586
9587 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9588
9589 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9590
9591 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9592 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9593 Use cached shell name.
9594
9595 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9596
9597 * progmodes/python.el (python-shell-send-string):
9598 (python-shell-send-setup-code): Do not use `format' with `message'.
9599
9600 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9601
9602 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9603 (ruby-percent-literal-beg-re): New constant.
9604 (ruby-syntax-general-delimiters-goto-beg): Rename to
9605 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9606 (ruby-syntax-propertize-general-delimiters): Rename to
9607 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9608 popular term. Adjust comments everywhere.
9609 (ruby-syntax-propertize-percent-literal): Only propertize when not
9610 inside a simple string or comment. When the literal is unclosed,
9611 leave the text after it unpropertized.
9612 (ruby-syntax-methods-before-regexp): New constant.
9613 (ruby-syntax-propertize-function): Use it to recognize regexps.
9614 Don't look at the text after regexp, just use the whitelist.
9615
9616 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9617
9618 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9619 non-nil always load the compiled file if it exists. (Bug#12197)
9620
9621 2012-08-14 Chong Yidong <cyd@gnu.org>
9622
9623 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9624 (hi-lock-set-pattern): When deciding whether to use font lock or
9625 overlays, look at font-lock-mode instead of font-lock-fontified
9626 (Bug#12168).
9627 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9628 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9629
9630 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9631
9632 * subr.el (internal--after-with-selected-window): Fix typo
9633 (Bug#12193).
9634
9635 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9636
9637 Use `completion-table-dynamic' for completion functions.
9638 * progmodes/python.el
9639 (python-shell-completion--do-completion-at-point)
9640 (python-shell-completion--get-completions):
9641 Remove functions.
9642 (python-shell-completion-complete-at-point): New function.
9643 (python-completion-complete-at-point): Use it.
9644
9645 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9646
9647 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9648 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9649
9650 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * subr.el (function-get): Refine `autoload' arg so it can also
9653 autoload functions for gv.el (bug#12191).
9654 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9655 autoloads macros.
9656
9657 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9658 Prefer pcase-let over destructuring-bind.
9659 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9660 Also, remove whitespace as we go, rather than after accumulating the
9661 various places.
9662
9663 * subr.el (internal--before-with-selected-window)
9664 (internal--after-with-selected-window): Fix typo seleted->selected.
9665 (with-selected-window): Adjust callers.
9666 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9667
9668 2012-08-13 Bastien Guerry <bzg@gnu.org>
9669
9670 * window.el (special-display-popup-frame): Minor docstring
9671 enhancement. (Bug#12172)
9672
9673 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9674
9675 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9676 type 1-6.
9677 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9678 extended headers.
9679
9680 * files.el (hack-local-variables-filter): Remove useless eval.
9681
9682 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9683
9684 * subr.el (with-selected-window): Fix last change.
9685
9686 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * subr.el (internal--before-with-seleted-window)
9689 (internal--after-with-seleted-window): New functions.
9690 (with-selected-window): Use them, to replace dependency on
9691 tty-top-frame.
9692
9693 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9694
9695 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9696 binding for `newline'.
9697 (ruby-move-to-block): When moving backward, stop at block opening,
9698 not indentation.
9699 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9700 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9701 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9702 `ruby-toggle-block'.
9703
9704 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * ibuffer.el (ibuffer-do-toggle-read-only):
9707 * dired.el (dired-toggle-read-only):
9708 * buff-menu.el (Buffer-menu-toggle-read-only):
9709 * bindings.el (mode-line-toggle-read-only):
9710 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9711
9712 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9713
9714 * descr-text.el (describe-char): Put the overlays over the
9715 "displayed as" character.
9716
9717 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9718
9719 * calc/calc-units.el (math-default-units-table): Give an
9720 initial value.
9721 (math-put-default-units): Add options to put composite units and
9722 unit systems in the default units table.
9723 (calc-convert-units): Send composite units to
9724 `math-put-default-units' when appropriate.
9725
9726 2012-08-11 Glenn Morris <rgm@gnu.org>
9727
9728 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9729
9730 * tutorial.el (help-with-tutorial):
9731 * emacs-lisp/copyright.el (copyright-update-directory):
9732 * emacs-lisp/autoload.el (autoload-find-generated-file)
9733 (autoload-find-file): Disable local eval: (for insurance).
9734
9735 * files.el (hack-local-variables-filter): If an eval: form is not
9736 known to be safe, and enable-local-variables is :safe, then ignore
9737 the form totally, as is done for non-eval forms. (Bug#12155)
9738 This is CVE-2012-3479.
9739
9740 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9743 (rx-form): Simplify.
9744
9745 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9746
9747 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9748 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9749 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9750 (ruby-syntax-propertize-function): Adjust for changes in
9751 `ruby-syntax-propertize-heredoc'.
9752
9753 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9754
9755 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9756 binding (use `M-;' instead).
9757 (ruby-singleton-class-p): New function.
9758 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9759
9760 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9761
9762 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9763
9764 2012-08-10 Chong Yidong <cyd@gnu.org>
9765
9766 * progmodes/python.el (python-shell-get-process-name): Don't mess
9767 with same-window-buffer-names.
9768
9769 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9770 (eshell-remove-from-window-buffer-names): Make obsolete.
9771 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9772 (eshell): Just use pop-to-buffer-same-window instead.
9773
9774 2012-08-10 Chong Yidong <cyd@gnu.org>
9775
9776 * bindings.el: Bind M-= back to count-words-region.
9777
9778 * simple.el (count-words-region): Accept a prefix arg for acting
9779 on the entire buffer.
9780 (count-words--buffer-message): New helper function.
9781
9782 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9783
9784 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9785 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9786 (event-start, event-end): Use posn-at-point to return a more
9787 informative posn.
9788 (posnp): New function.
9789 * mouse.el (popup-menu-normalize-position): Use it.
9790
9791 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9792
9793 * mouse.el (popup-menu-normalize-position): New function.
9794 (popup-menu): Use `popup-menu-normalize-position' to normalize
9795 the form for POSITION argument.
9796
9797 * term/x-win.el (x-menu-bar-open):
9798 Use the value returend from (posn-at-point) as position
9799 passed to `popup-menu'.
9800
9801 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9802
9803 * calc/calccomp.el (math-compose-expr): Add extra argument
9804 indicating that parentheses should be put around products in
9805 denominators. Give multiplication precedence over division during
9806 composition.
9807
9808 2012-08-09 Chong Yidong <cyd@gnu.org>
9809
9810 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9811 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9812 (Man-untabify-command, manual-program): Convert to defcustom
9813 (Bug#10429).
9814
9815 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9816
9817 * descr-text.el (describe-char): Don't insert extra newlines
9818 (Bug#10127).
9819
9820 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9821 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9822
9823 * align.el (align-region): Delete temporary markers (Bug#10047).
9824 Plus some code cleanups.
9825
9826 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9827
9828 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9829 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9830 (python-shell-internal-last-output): Use make-local-variable
9831 instead of make-variable-buffer-local.
9832
9833 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9834
9835 * progmodes/python.el: Enhancements to forward-sexp.
9836 (python-nav-forward-sexp): Rename from
9837 python-nav-forward-sexp-function.
9838 (python-nav--forward-sexp, python-nav--backward-sexp):
9839 New functions.
9840
9841 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9842
9843 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9844 modes and simplification modes.
9845
9846 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9847
9848 * delsel.el (delete-selection-pre-hook): Don't propagate the
9849 file-supersession signals (bug#12161).
9850
9851 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9854 (cl-map-extents): Add compatibility aliases (bug#12135).
9855
9856 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9857
9858 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9859 tests by `ignore-error'.
9860 (tramp-find-shell): Open also a new shell, when cache is already
9861 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9862
9863 2012-08-08 Juri Linkov <juri@jurta.org>
9864
9865 * bookmark.el: Add `defaults' property to the bookmark record.
9866 (bookmark-current-buffer): Doc fix.
9867 (bookmark-make-record): Add `defaults' property with default values
9868 to the bookmark record.
9869 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9870 with `bookmark-insert-current-bookmark'.
9871 (bookmark-set): Get `defaults' property from the bookmark record
9872 and use it in `read-from-minibuffer'.
9873 (bookmark-insert-current-bookmark): Remove function.
9874
9875 * info.el (Info-bookmark-make-record): Add `defaults' property
9876 with values of canonical Info node name, the current Info file
9877 name and the current Info node name. (Bug#12107)
9878
9879 2012-08-08 Juri Linkov <juri@jurta.org>
9880
9881 * files.el (basic-save-buffer): Use `buffer-name' as the default
9882 of `read-file-name' when buffer is not visiting a file (bug#12128).
9883
9884 2012-08-08 Juri Linkov <juri@jurta.org>
9885
9886 * info.el (Info-isearch-search): Doc fix.
9887 (Info-search): Change search-failed message from "initial node" to
9888 "end of node" (bug#12078).
9889 (Info-isearch-search): Change `isearch-string-state' to
9890 `isearch--state-string'.
9891
9892 2012-08-08 Glenn Morris <rgm@gnu.org>
9893
9894 * language/persian.el: Remove file.
9895 * language/misc-lang.el: Move unique part of persian.el here.
9896 * loadup.el: Remove language/persian.
9897
9898 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9899
9900 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9901
9902 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9903
9904 * progmodes/python.el: Fix defsubst warning.
9905 (python-syntax-context) Rename from python-info-ppss-context.
9906 (python-syntax-context-type): Rename from
9907 python-info-ppss-context-type.
9908 (python-syntax-comment-or-string-p): Rename from
9909 python-info-ppss-comment-or-string-p.
9910
9911 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9912
9913 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9914
9915 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9916
9917 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9918 a defcustom that is quoted with backquote.
9919
9920 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9921 Fix handling of interactive spec when the body uses return.
9922 (math-do-arg-check, math-define-function-body): Use backquote forms.
9923 * calc/calc-ext.el (math-defcache): Likewise.
9924 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9925 * allout.el (allout-new-exposure): Likewise.
9926 * calc/calcalg2.el (math-tracing-integral): Likewise.
9927 * info.el (Info-last-menu-item): Likewise.
9928 * emulation/vip.el (vip-loop): Likewise.
9929 * textmodes/artist.el (artist-funcall): Likewise.
9930 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9931 Construct menu-item directly.
9932
9933 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9934 Don't declare.
9935
9936 2012-08-07 Chong Yidong <cyd@gnu.org>
9937
9938 * simple.el (deactivate-mark): Preserve text properties when
9939 saving the primary selection (Bug#8384).
9940
9941 2012-08-07 Kevin Ryde <user42@zip.com.au>
9942
9943 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9944 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9945 and continue processing (Bug#12110).
9946
9947 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9950 syntax-propertize-function (bug#10095).
9951
9952 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9955 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9956 describe-function-1.
9957 (describe-function-1): Use them. Move compiler macro after sig.
9958 (help-fns--compiler-macro): Use function-get. Assume we're already in
9959 standard-output. Adjust layout to new call order.
9960
9961 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9962 re-binding a symbol that has a symbol-macro (bug#12119).
9963
9964 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9965
9966 * language/persian.el: New file. (Bug#11812)
9967 * loadup.el: Add language/persian.el.
9968
9969 2012-08-06 Chong Yidong <cyd@gnu.org>
9970
9971 * window.el (window--maybe-raise-frame): New function.
9972 (window--display-buffer): Split off from here.
9973 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9974 (display-buffer-pop-up-window, display-buffer-use-some-window):
9975 Obey an inhibit-switch-frame action alist entry.
9976 (display-buffer): Update doc.
9977
9978 * replace.el (occur-after-change-function): Avoid losing focus by
9979 using the inhibit-switch-frame display parameter (Bug#12139).
9980
9981 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9982
9983 Make internal shell process buffer names start with space.
9984 * progmodes/python.el (python-shell-make-comint): Add optional
9985 argument INTERNAL.
9986 (run-python-internal): Use it.
9987 (python-shell-internal-get-or-create-process): Check for new
9988 internal buffer names.
9989
9990 2012-08-06 Glenn Morris <rgm@gnu.org>
9991
9992 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9993 Do less getting and setting of environment variables.
9994
9995 2012-08-05 Chong Yidong <cyd@gnu.org>
9996
9997 * proced.el (proced): Add substitution string to docstring to
9998 trigger autoloading of the proced library on C-h f (Bug#1768).
9999
10000 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10001 Don't show defvars which have no second argument (Bug#8638).
10002
10003 * imenu.el (imenu-generic-expression): Move documentation here
10004 from imenu--generic-function.
10005 (imenu--generic-function): Refer to imenu-generic-expression.
10006
10007 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10008
10009 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10010 indentation declaration.
10011 (viper-loop): Add indentation declaration (Bug#7025).
10012
10013 2012-08-05 Chong Yidong <cyd@gnu.org>
10014
10015 * help-fns.el (describe-variable): Add hyperlink for
10016 directory-local variables files. Improve buffer-local and
10017 permanent-local reporting; suggested by MON KEY (Bug#6644).
10018
10019 * help-mode.el (help-dir-local-var-def): New button type.
10020
10021 * files.el (kill-buffer-hook): Provide a defvar.
10022
10023 2012-08-05 Glenn Morris <rgm@gnu.org>
10024
10025 * eshell/esh-ext.el (eshell/addpath):
10026 Also update eshell-path-env. (Bug#12013)
10027
10028 2012-08-05 Chong Yidong <cyd@gnu.org>
10029
10030 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10031
10032 * fringe.el (fringe-styles): Add docstring.
10033 (fringe--check-mode): New function.
10034 (set-fringe-mode, set-fringe-style): Use it.
10035 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10036
10037 * files.el (set-auto-mode): Fix invalid setq call.
10038
10039 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * isearch.el: Misc simplification; use defstruct.
10042 (isearch-mode-map): Dense maps now work like sparse ones.
10043 (isearch--state): New defstruct.
10044 (isearch-string-state, isearch-message-state, isearch-point-state)
10045 (isearch-success-state, isearch-forward-state)
10046 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10047 (isearch-wrapped-state, isearch-barrier-state)
10048 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10049 replaced by defstruct's accessors.
10050 (isearch--set-state): Rename from isearch-top-state and change
10051 calling convention.
10052 (isearch-push-state): Use new isearch--get-state.
10053 (isearch-toggle-word): Disable regexp when enabling word.
10054 (isearch-message-prefix): Remove unused arg _c-q-hack.
10055 (isearch-message-suffix): Remove unused arg _ellipsis.
10056
10057 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10058
10059 * simple.el (list-processes--refresh): For a server use :host or
10060 :local as the address.
10061 (list-processes): Doc fix.
10062
10063 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10064
10065 * lisp/mpc.el: Support password in host argument.
10066 (mpc--proc-connect): Parse and use new password element.
10067 Set mpc-proc variable instead of returning process.
10068 (mpc-proc): Adjust accordingly.
10069
10070 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10071
10072 * whitespace.el (whitespace-display-mappings): Use Unicode
10073 codepoints, instead of emacs-mule codepoints. See
10074 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10075 for the details.
10076
10077 * files.el (file-truename): Don't skip symlink-chasing part on
10078 windows-nt. Incorporate the resolution of 8+3 short aliases on
10079 Windows into the loop that recursively chases symlinks.
10080 Compare directory and its parent case-insensitively on MS-Windows and
10081 MS-DOS.
10082
10083 2012-08-03 Chong Yidong <cyd@gnu.org>
10084
10085 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10086
10087 * sort.el (sort-regexp-fields): Doc fix.
10088
10089 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10090
10091 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10092 labels regex position point at the expected place.
10093
10094 2012-08-03 MON KEY <monkey@sandpframing.com>
10095
10096 * net/imap.el (imap-interactive-login, imap-authenticate)
10097 (imap-mailbox-lsub, imap-mailbox-list)
10098 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10099 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10100 (imap-parse-response): Doc fix.
10101
10102 2012-08-03 João Távora <joaotavora@gmail.com>
10103
10104 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10105 if sexp scanning does not move point (Bug#5734).
10106
10107 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10108
10109 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10110 Add listings, minted, and ctable packages.
10111 (reftex-label-alist-builtin): Move listings, minted, and ctable
10112 entries before LaTeX.
10113 (reftex-label-alist): Docfix.
10114
10115 2012-08-02 Bastien Guerry <bzg@gnu.org>
10116
10117 * replace.el (occur): Fix docstring (bug#12122).
10118
10119 2012-08-02 Glenn Morris <rgm@gnu.org>
10120
10121 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10122
10123 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10124
10125 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10126 * international/mule-cmds.el: Create
10127 inactivate-current-input-method-function as an obsolete alias for
10128 deactivate-current-input-method-function. See Katsumi Yamaoka in
10129 <http://bugs.gnu.org/10150#46>.
10130
10131 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10132
10133 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10134 of nested `if's.
10135
10136 2012-08-01 Glenn Morris <rgm@gnu.org>
10137
10138 * progmodes/autoconf.el (autoconf-definition-regexp):
10139 Add AH_TEMPLATE, adjust submatch numbering.
10140 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10141 (autoconf-current-defun-function): Update for above change.
10142 (autoconf-current-defun-function): First skip to end of current word.
10143
10144 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10145
10146 * calendar/cal-html.el (cal-html-insert-agenda-days):
10147 Fix typo. (Bug#12018)
10148
10149 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10150
10151 Shell processes: enhancements to startup and CEDET compatibility.
10152 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10153 (python-shell-make-comint): accept-process-output at startup.
10154 (run-python-internal): Set inferior-python-mode-hook to nil.
10155 (python-shell-internal-get-or-create-process): call sit-for.
10156 (python-preoutput-result): Add obsolete alias.
10157 (python-shell-internal-send-string): Use it.
10158 (python-shell-send-setup-code): Remove call to
10159 accept-process-output.
10160
10161 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10162
10163 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10164 (Bug#12108)
10165
10166 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10167
10168 * calc-mode.el (calc-basic-simplification-mode): Rename from
10169 `calc-limited-simplification-mode'.
10170 (calc-alg-simplification-mode): New function.
10171 (calc-set-simplify-mode): Adjust message.
10172
10173 * calc.el (calc-set-mode-line): Adjust mode line display for
10174 basic simplification mode.
10175
10176 * calc-help.el (calc-m-prefix-help): Update help message.
10177
10178 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10179 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10180
10181 2012-07-31 Bastien Guerry <bzg@gnu.org>
10182
10183 * man.el (man): Fix comment. (bug#12101)
10184
10185 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10186
10187 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10188 Don't return a non-nil value when no suitable buffer was found.
10189
10190 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10191
10192 * progmodes/python.el (run-python-internal): Disable font lock for
10193 internal shells.
10194
10195 2012-07-30 Stefan Merten <smerten@oekonux.de>
10196
10197 * textmodes/rst.el: Silence `checkdoc-ispell'.
10198 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10199 (rst-official-version, rst-official-cvs-rev)
10200 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10201 (rst-mode-map): New key binding.
10202
10203 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10204
10205 Update .PHONY listings in makefiles.
10206 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10207 autoloads, update-subdirs, updates, bzr-update, update-authors,
10208 compile-onefile, compile-calc, backup-compiled-files,
10209 compile-after-backup, compile-one-process, mh-autoloads,
10210 bootstrap-clean, distclean, maintainer-clean.
10211
10212 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10213
10214 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10215 (calc-set-mode-line): Don't display "AlgSimp ".
10216
10217 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10218 (calc-lim-simplify-mode): New function.
10219 (calc-set-simplify-mode): Default to 'alg.
10220 (calc-default-simplify-mode): Make algebraic simplifications
10221 the default.
10222
10223 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10224 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10225
10226 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10227 indicate new simplification modes.
10228
10229 * calc/README: Mention new default simplification mode.
10230
10231 * calc/calc.el (math-normalize-error): New variable.
10232 (math-normalize): Set `math-normalize-error' to t
10233 when there's an error.
10234
10235 * calc/calc-alg.el (math-simplify): Don't simplify when
10236 `math-normalize' returns an error.
10237
10238 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10239
10240 * international/mule-cmds.el (set-locale-environment): Revert last
10241 change, since display-graphic-p returns nil when this function is
10242 called during startup. Instead...
10243
10244 * term/w32console.el (terminal-init-w32console): ...setup the
10245 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10246
10247 2012-07-29 Juri Linkov <juri@jurta.org>
10248
10249 * simple.el (goto-line): Don't display default line number in the
10250 prompt because it should be displayed by `read-number' (bug#9952).
10251 Add the current line number to the defaults of `goto-line' to
10252 allow its easier modification by users with `M-n' (bug#9201).
10253
10254 * subr.el (read-number): Support multiple default values like in
10255 other minibuffer reading functions. Replace `read' with
10256 `string-to-number' for consistency with `number-to-string'.
10257
10258 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10259
10260 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10261 * emulation/viper-init.el (viper-deactivate-input-method-action):
10262 Rename from viper-inactivate-input-method-action.
10263 (viper-deactivate-input-method):
10264 Rename from viper-inactivate-input-method.
10265 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10266 * international/mule-cmds.el (deactivate-input-method):
10267 Rename from inactivate-input-method.
10268 Also run input-method-deactivate-hook.
10269 (deactivate-current-input-method-function):
10270 Rename from inactivate-current-input-method-function.
10271 (input-method-deactivate-hook): New hook.
10272 (input-method-inactivate-hook): Mark obsolete.
10273 (inactivate-input-method): Mark obsolete.
10274
10275 * international/quail.el (quail-activate):
10276 Also run quail-deactivate-hook.
10277 (quail-deactivate): Rename from quail-inactivate.
10278 * international/robin.el (robin-activate):
10279 Also run robin-deactivate-hook.
10280 (robin-deactivate): Rename from robin-inactivate.
10281
10282 2012-07-29 Chong Yidong <cyd@gnu.org>
10283
10284 * simple.el (indicate-copied-region): New function.
10285 (kill-ring-save): Split off from here.
10286
10287 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10288 (kill-rectangle): Set deactivate-mark to t on read-only error.
10289
10290 * register.el (copy-to-register, copy-rectangle-to-register):
10291 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10292 (append-to-register, prepend-to-register): Call indicate-copied-region.
10293
10294 2012-07-29 Juri Linkov <juri@jurta.org>
10295
10296 * simple.el (async-shell-command-buffer): New defcustom.
10297 (shell-command): Use it. (Bug#4719)
10298
10299 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10300
10301 * international/mule-cmds.el (set-locale-environment): In a
10302 console session on MS-Windows, set up keyboard and terminal
10303 encoding from the OEM codepage, not the ANSI codepage.
10304 (Bug#12055)
10305
10306 2012-07-28 Chong Yidong <cyd@gnu.org>
10307
10308 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10309 gdb-get-location.
10310
10311 2012-07-28 Leo Liu <sdl.web@gmail.com>
10312
10313 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10314 the alist (bug#12029).
10315
10316 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10317
10318 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10319 (compile-always, compile-first)
10320 ($(lisp)/calendar/cal-loaddefs.el)
10321 ($(lisp)/calendar/diary-loaddefs.el)
10322 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10323 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10324 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10325 instead of on update-subdirs.
10326 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10327
10328 2012-07-28 Chong Yidong <cyd@gnu.org>
10329
10330 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10331 directory if vc-deduce-backend returns nil (Bug#7350).
10332
10333 * simple.el (delete-trailing-lines): New option.
10334 (delete-trailing-whitespace): Obey it (Bug#11879).
10335
10336 2012-07-28 David Engster <deng@randomsample.de>
10337
10338 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10339 Explanation of new 'symbol-qnames feature in doc-strings.
10340 (xml-maybe-do-ns): Return expanded names as plain symbols if
10341 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10342 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10343
10344 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10345
10346 Consistent completion in inferior python with emacs -nw.
10347 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10348 binding in inferior-python-mode-map with "\t".
10349 (python-shell-completion-complete-at-point)
10350 (python-completion-complete-at-point): Remove interactive spec.
10351
10352 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10353
10354 * calc/calccomp.el (math-compose-expr): Undo previous change.
10355
10356 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10357
10358 * progmodes/python.el (python-mode-map): Add keybinding for
10359 run-python.
10360 (python-shell-make-comint): Fix pop-to-buffer call.
10361 (run-python): Autoload. New arg SHOW.
10362 (python-shell-get-or-create-process): Do not pop python process
10363 buffer.
10364
10365 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10366
10367 * notifications.el (notifications-on-action-signal)
10368 (notifications-on-closed-signal): Use also the bus address for the map.
10369 (notifications-notify, notifications-close-notification)
10370 (notifications-get-capabilities): Add optional argument BUS.
10371
10372 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10373
10374 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10375 Add support for the lstlisting and minted environments, and for the
10376 ctable macro.
10377 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10378 labels written in keyvals syntax.
10379
10380 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10381
10382 * calc/calccomp.el (math-compose-expr): Use parentheses when
10383 there is a product in the denominator of a fraction.
10384
10385 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10386
10387 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10388 ($(lisp)/calendar/diary-loaddefs.el)
10389 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10390 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10391 Fixes failures in parallel bootstrap because subdirs.el is being
10392 rewritten while the autoload files are built at the same time,
10393 which needs to load subdirs.el.
10394
10395 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10396
10397 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10398 (mouse-drag-line): Don't exit tracking when a switch-frame or
10399 switch-window event occurs (Bug#12006).
10400
10401 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10402
10403 * mouse.el (popup-menu): Fix last change.
10404
10405 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 Autoload from Lisp with more care. Follow aliases when looking for
10408 function properties.
10409 * subr.el (autoloadp): New function.
10410 (symbol-file): Use it.
10411 (function-get): New function.
10412 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10413 autoload-do-load.
10414 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10415 (lisp-indent-function):
10416 * emacs-lisp/gv.el (gv-get):
10417 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10418 * emacs-lisp/byte-opt.el (byte-optimize-form):
10419 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10420 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10421 Use function-get.
10422 * emacs-lisp/cl.el: Don't propagate function properties any more.
10423
10424 * speedbar.el (speedbar-add-localized-speedbar-support):
10425 * emacs-lisp/disass.el (disassemble-internal):
10426 * desktop.el (desktop-load-file):
10427 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10428 (describe-function-1):
10429 * emacs-lisp/find-func.el (find-function-noselect):
10430 * emacs-lisp/elp.el (elp-instrument-function):
10431 * emacs-lisp/advice.el (ad-has-proper-definition):
10432 * apropos.el (apropos-safe-documentation, apropos-macrop):
10433 * emacs-lisp/debug.el (debug-on-entry):
10434 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10435 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10436 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10437
10438 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10439
10440 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10441 function, not an obsolete variable (Bug#12046).
10442
10443 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10444
10445 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10446
10447 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10448
10449 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10450 window only if it is still live (Bug#12034).
10451
10452 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10453
10454 * subr.el (redirect-frame-focus): Add advertised calling
10455 convention (Bug#12030).
10456
10457 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10458
10459 Prefer typical American spelling for "acknowledgment".
10460 * vc/add-log.el (change-log-acknowledgment): Rename from
10461 change-log-acknowledgement, with an alias for the old name.
10462
10463 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10464
10465 * calc-alg.el (math-simplify-divide): Don't cross multiply
10466 in an equation when the lhs is a variable.
10467
10468 2012-07-24 Julien Danjou <julien@danjou.info>
10469
10470 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10471 Remove, unused.
10472
10473 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10474
10475 * startup.el (command-line): Don't display an empty user name in
10476 the error message about non-existent home directory, when
10477 init-file-user was set to an empty string. See
10478 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10479 for the details and context.
10480
10481 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10482
10483 * ses.el (ses-cell-formula-aset): New macro.
10484 (ses-cell-references-aset): New macro.
10485 (ses-cell-p): New function.
10486 (ses-rename-cell): Do no longer rely on complex operations like
10487 ses-cell-set-formula or ses-set-cell to change the cell and handle
10488 the undo at the same time, but rather use lower level new macros
10489 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10490 the undo directly. Refresh the mode line.
10491
10492 2012-07-21 Leo Liu <sdl.web@gmail.com>
10493
10494 * progmodes/cc-cmds.el (c-defun-name):
10495 Use match-string-no-properties instead for consistency.
10496
10497 2012-07-20 Leo Liu <sdl.web@gmail.com>
10498
10499 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10500 (Bug#7879)
10501
10502 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10503
10504 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10505
10506 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10507 * progmodes/bug-reference.el, misearch.el: Provide themselves
10508 (bug#11915).
10509
10510 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10511 of narrowed buffer (bug#11966).
10512
10513 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10514
10515 * ses.el (ses-rename-cell): Set new name also in reference list of
10516 cells of which the renamed cell depends.
10517
10518 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10519
10520 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10521 to check whether menu-bar is shown or not. If not shown,
10522 show the menu-bar as a popup menu instead of using tmm.
10523 * mouse.el (popup-menu): Accept `point' as `position' argument.
10524
10525 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10526
10527 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10528 up inside string symbol literal (bug#11923).
10529
10530 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10531
10532 * startup.el (fancy-startup-text): Read the whole tutorial, not
10533 just its first 256 bytes. Prevents gibberish in display of the
10534 tutorial title.
10535
10536 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10537
10538 Drop idle buffer compaction due to an absence of the
10539 proved efficiency.
10540 * compact.el: Remove.
10541
10542 2012-07-19 Sam Steingold <sds@gnu.org>
10543
10544 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10545 vc-bzr-pull & vc-bzr-merge-branch.
10546 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10547 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10548 for consistency with compilation-error-regexp-alist.
10549 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10550 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10551 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10552 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10553
10554 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * emacs-lisp/chart.el: Use lexical-binding.
10557 (chart-emacs-storage): Don't hardcode the list of entries.
10558
10559 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10560
10561 Next round of tweaks caused by Fgarbage_collect changes.
10562 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10563
10564 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10565
10566 Compact buffers when idle.
10567 * compact.el: New file.
10568
10569 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * subr.el (eventp): Presume that if it looks vaguely like an event,
10572 it's an event (bug#10190).
10573
10574 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10575
10576 Enhancements to ppss related code (thanks Stefan).
10577 * progmodes/python.el (python-indent-context)
10578 (python-indent-calculate-indentation, python-indent-dedent-line)
10579 (python-indent-electric-colon, python-nav-forward-block)
10580 (python-mode-abbrev-table)
10581 (python-info-assignment-continuation-line-p): Simplify checks
10582 for ppss context.
10583 (python-info-continuation-line-p): Cleanup.
10584 (python-info-ppss-context): Do not catch 'quote.
10585 (python-info-ppss-context-type)
10586 (python-info-ppss-comment-or-string-p): Simplify.
10587
10588 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10589
10590 * progmodes/python.el: Enhancements to eldoc support.
10591 (python-info-current-symbol): New function.
10592 (python-eldoc-at-point): Use python-info-current-symbol.
10593 (python-info-current-defun): Fix cornercase on first defun scan.
10594 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10595 and signal error when no inferior python process is available.
10596
10597 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10598
10599 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10600 assume it's always t.
10601 (vc-git-registered): Remove caching, the function is only called
10602 once.
10603 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10604
10605 2012-07-18 Chong Yidong <cyd@gnu.org>
10606
10607 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10608
10609 * simple.el (count-words): Report on narrowing (Bug#9959).
10610
10611 * bindings.el: Bind M-= to count-words.
10612
10613 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10614
10615 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10616
10617 * progmodes/sh-script.el (sh-imenu-generic-expression):
10618 Capture a function with `function' keyword and without parentheses
10619 like "function FOO" (bug#11856).
10620
10621 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10622
10623 * window.el (split-window-sensibly): Make WINDOW argument
10624 optional.
10625
10626 2012-07-18 Chong Yidong <cyd@gnu.org>
10627
10628 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10629
10630 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10631 and make C-x 8 RET exit isearch (Bug#11439).
10632
10633 * international/iso-transl.el: Move isearch-mode-map key
10634 definitions to isearch.el.
10635
10636 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10639 (eieio-defclass): Use gv-define-setter when possible.
10640
10641 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10642
10643 Reflect recent changes in Fgarbage_collect.
10644 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10645 reflect new format of data returned by Fgarbage_collect.
10646
10647 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10648
10649 New utility functions + python-info-ppss-context fix (Bug#11910).
10650 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10651 (python-info-ppss-comment-or-string-p): New functions.
10652 (python-info-ppss-context): Small fix for string check.
10653
10654 2012-07-17 Juri Linkov <juri@jurta.org>
10655
10656 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10657 (dired-do-async-shell-command): Don't add `*' at the end of the
10658 command (Bug#11815).
10659 (dired-do-shell-command): Doc fix.
10660 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10661 Join the individual commands using either "&" or ";" as the
10662 separator depending on the values of these trailing characters.
10663 At the end re-add the trailing "&". (Bug#10598)
10664
10665 * simple.el (async-shell-command): Sync the interactive spec with
10666 `shell-command'. Doc fix.
10667 (shell-command): Doc fix.
10668
10669 2012-07-17 Juri Linkov <juri@jurta.org>
10670
10671 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10672
10673 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10674
10675 Final renames and doc fixes for movement commands (bug#11899).
10676 * progmodes/python.el (python-nav-beginning-of-statement):
10677 Rename from python-nav-statement-start.
10678 (python-nav-end-of-statement): Rename from
10679 python-nav-statement-end.
10680 (python-nav-beginning-of-block): Rename from
10681 python-nav-block-start.
10682 (python-nav-end-of-block): Rename from python-nav-block-end.
10683
10684 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10685
10686 * progmodes/python.el (python-shell-send-string-no-output):
10687 Allow accept-process-output to quit, keeping shell process ready for
10688 future interactions (Bug#11868).
10689
10690 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10693
10694 * emacs-lisp/elint.el (elint-find-args-in-code):
10695 Use help-function-arglist, so as to handle lexical byte-code.
10696
10697 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10698 change (bug#11826).
10699
10700 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10703 Avoid spuriously marking the buffer as modified because of c-is-sws.
10704
10705 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10706 as not-a-comment (bug#11946).
10707
10708 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10709 for uninterned vars.
10710
10711 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10712 Use read-event since we don't really want to read chars but bytes.
10713
10714 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10715 $$..$$ but also $..$ using regexps (bug#11953).
10716 Use tex-verbatim for \url and \path.
10717 (tex-font-lock-keywords): Define as defconst like the others.
10718 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10719
10720 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10721
10722 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10723 alias for insert-char.
10724
10725 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10726
10727 * progmodes/python.el: Simplified imenu implementation.
10728 (python-nav-jump-to-defun): Remove command.
10729 (python-mode-map): Use `imenu' instead.
10730 (python-nav-list-defun-positions-cache)
10731 (python-imenu-include-defun-type, python-imenu-make-tree)
10732 (python-imenu-subtree-root-label, python-imenu-index-alist):
10733 Remove vars.
10734 (python-nav-list-defun-positions, python-nav-read-defun)
10735 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10736 (python-imenu-make-tree, python-imenu-create-index):
10737 Remove functions.
10738 (python-mode): Update to interact with imenu by setting
10739 `imenu-extract-index-name-function' only.
10740
10741 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10742
10743 * progmodes/python.el: Enhancements to navigation commands.
10744 (python-nav-backward-sentence)
10745 (python-nav-forward-sentence): Remove.
10746 (python-nav-backward-statement, python-nav-forward-statement)
10747 (python-nav-statement-start, python-nav-statement-end)
10748 (python-nav-backward-block, python-nav-forward-block)
10749 (python-nav-block-start, python-nav-block-end)
10750 (python-nav-forward-sexp-function)
10751 (python-info-current-line-comment-p)
10752 (python-info-current-line-empty-p): New functions.
10753 (python-indent-context): Use `python-nav-statement-start'.
10754
10755 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10756
10757 * eshell/em-ls.el (eshell/ls): Use `apply'.
10758
10759 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10760 multi-hops, instead of Tramp internals.
10761
10762 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10763
10764 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10765 when F1 and F2 are located on different hosts.
10766
10767 2012-07-14 Chong Yidong <cyd@gnu.org>
10768
10769 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10770 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10771 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10772 (xterm-mouse--read-event-sequence-1000)
10773 (xterm-mouse--read-event-sequence-1006): New functions. For old
10774 mouse protocol, handle M-mouse-X events correctly.
10775 (xterm-mouse-event): New arg specifying mouse protocol.
10776 (turn-on-xterm-mouse-tracking-on-terminal)
10777 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10778 sequence to toggle extended coordinates on newer XTerms.
10779 This appears to be harmless on terminals which do not support this.
10780
10781 2012-07-14 Leo Liu <sdl.web@gmail.com>
10782
10783 Add fringe bitmap indicators for flymake. (Bug#11253)
10784 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10785 (flymake-make-overlay): New arg BITMAP.
10786 (flymake-error-bitmap, flymake-warning-bitmap)
10787 (flymake-fringe-indicator-position): New user variables.
10788
10789 * fringe.el: New bitmap exclamation-mark.
10790
10791 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10792
10793 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10794 also (Bug#7879).
10795
10796 2012-07-14 Chong Yidong <cyd@gnu.org>
10797
10798 * electric.el (electric-pair-post-self-insert-function): Fix pair
10799 insertion in empty-region case (Bug#11520).
10800
10801 2012-07-14 Chong Yidong <cyd@gnu.org>
10802
10803 * bindings.el: Consolidate ctl-x-r-map bindings.
10804 Bind copy-rectangle-as-kill to C-x r w.
10805
10806 * rect.el, register.el: Move bindings to bindings.el.
10807
10808 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10809
10810 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10811
10812 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10813
10814 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10815
10816 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10817
10818 * bindings.el (top): Use `mapc' instead of `mapcar'.
10819
10820 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10821
10822 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10823
10824 * progmodes/sql.el (sql-comint): Suppress the check for program on
10825 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10826 (Bug#11908)
10827
10828 2012-07-13 Chong Yidong <cyd@gnu.org>
10829
10830 * bindings.el: Assign a non-nil permanent-local property to
10831 per-buffer variables which lack a default value (Bug#11930).
10832
10833 * help-fns.el (describe-variable): In the "automatically becomes
10834 local" notice, take note of permanent-local variables.
10835
10836 2012-07-13 Chong Yidong <cyd@gnu.org>
10837
10838 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10839 to allow printing the message when called from Lisp.
10840
10841 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10842 Remove toggle-read-only.
10843
10844 * bs.el (bs-toggle-readonly):
10845 * buff-menu.el (Buffer-menu-toggle-read-only):
10846 Remove with-no-warnings around toggle-read-only.
10847
10848 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10849 Remove with-no-warnings around toggle-read-only.
10850 (ffap-read-only, ffap-read-only-other-window)
10851 (ffap-read-only-other-frame): Callers changed.
10852
10853 * help-mode.el: Don't require view package.
10854 (help-mode-finish): Set buffer-read-only instead of calling
10855 toggle-read-only.
10856
10857 * bindings.el (mode-line-toggle-read-only):
10858 * dired.el (dired-toggle-read-only):
10859 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10860 with non-nil second arg.
10861
10862 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10863 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10864 directly.
10865
10866 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10867
10868 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10869 not incf.
10870
10871 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10872
10873 More CL cleanups and reduction of use of cl.el.
10874 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10875 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10876 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10877 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10878 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10879 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10880 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10881 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10882 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10883 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10884 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10885 * eshell/em-cmpl.el, eshell/em-banner.el:
10886 * calendar/parse-time.el: Use cl-lib.
10887 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10888 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10889 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10890 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10891 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10892 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10893 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10894 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10895 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10896 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10897 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10898 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10899 `lambda' rather than with `quote'.
10900 (eshell-do-opt): Adjust accordingly.
10901 (eshell-process-option): Simplify.
10902 * eshell/esh-var.el:
10903 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10904 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10905 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10906 to `pcase--dontcare'.
10907 * emacs-lisp/cl.el (labels): Mark obsolete.
10908 (cl--letf, letf): Move to cl-lib.
10909 (cl--letf*, letf*): Remove.
10910 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10911 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10912 (cl-progv): Rewrite.
10913 (cl--letf, cl-letf): Move from cl.el.
10914 (cl-letf*): New macro.
10915 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10916
10917 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10918
10919 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10920
10921 2012-07-11 Chong Yidong <cyd@gnu.org>
10922
10923 * vc/log-edit.el (log-edit-vc-backend): New variable.
10924 (log-edit): Doc fix.
10925
10926 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10927 argument of log-edit to set up all local variables.
10928 (vc-start-logentry): New optional arg specifying VC backend.
10929
10930 * vc/vc.el (vc-checkin): Use it.
10931 (vc-deduce-fileset): Handle Log Edit buffers.
10932 (vc-diff): Make first argument optional too.
10933
10934 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10935
10936 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10937
10938 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10939 command, just in case. The function is not needed anymore.
10940 (eshell-external-command): Do not call `eshell-remote-command'.
10941
10942 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10943
10944 Reduce use of (require 'cl).
10945 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10946 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10947 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10948 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10949 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10950 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10951 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10952 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10953 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10954 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10955 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10956 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10957 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10958 (byte-compile-unfold-bcf, byte-compile-check-variable):
10959 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10960 (byte-compile-nilconstp):
10961 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10962 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10963
10964 * emacs-lisp/gv.el (cond): Make it a valid place.
10965 (if): Simplify slightly.
10966
10967 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10968 (pcase--self-quoting-p): New function.
10969 (pcase--u1): Use it.
10970
10971 2012-07-10 Glenn Morris <rgm@gnu.org>
10972
10973 * emacs-lisp/authors.el (authors-fixed-entries):
10974 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10975
10976 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10977
10978 Rename configure.in to configure.ac (Bug#11603).
10979 * emacs-lisp/authors.el (authors-canonical-file-name):
10980 * progmodes/autoconf.el (autoconf-mode):
10981 Prefer configure.ac to configure.in.
10982
10983 2012-07-08 Chong Yidong <cyd@gnu.org>
10984
10985 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10986 Implement the mouse-1-click-follows-link handling properly.
10987
10988 * info.el (Info-link-keymap): Use follow-link mechanism for
10989 header-line links (Bug#374).
10990
10991 * simple.el (deactivate-mark): Do not set the primary selection
10992 if another program has acquired it (Bug#11772).
10993
10994 2012-07-07 Kevin Ryde <user42@zip.com.au>
10995
10996 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10997 (woman-decode-region): Replace escaped-escapes without destroying
10998 bold or underline (Bug#11552).
10999 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11000
11001 2012-07-07 Chong Yidong <cyd@gnu.org>
11002
11003 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11004 (interprogram-cut-function, interprogram-paste-function):
11005 Mention that we typically mean the clipboard.
11006
11007 2012-07-06 Glenn Morris <rgm@gnu.org>
11008
11009 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11010
11011 * files.el (toggle-read-only): Restrict message to interactive use.
11012
11013 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11014
11015 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11016
11017 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11018
11019 2012-07-06 Glenn Morris <rgm@gnu.org>
11020
11021 * Makefile.in (compile-one-process): Rename from "recompile".
11022
11023 * Makefile.in (bzr-update): "compile" is the same as "recompile
11024 autoloads", but parallelizable, so use that instead.
11025
11026 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11027
11028 * window.el (quit-window): Always restore window height when
11029 it's saved in quit-restore parameter (Bug#11810).
11030
11031 2012-07-06 Glenn Morris <rgm@gnu.org>
11032
11033 * simple.el (kill-whole-line): Doc tweak.
11034
11035 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11036
11037 * files.el (file-relative-name): Compare file names
11038 case-insensitively if on MS-Windows or MS-DOS, or if
11039 read-file-name-completion-ignore-case is non-nil. Don't use
11040 case-fold-search for this purpose. (Bug#11827)
11041
11042 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11043
11044 * calendar/cal-dst.el (calendar-current-time-zone):
11045 Return calendar-current-time-zone-cache if non-nil.
11046
11047 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11048 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11049
11050 * calendar/cal-dst.el (calendar-current-time-zone):
11051 Return calendar-current-time-zone-cache if non-nil.
11052
11053 2012-07-06 Glenn Morris <rgm@gnu.org>
11054
11055 * Makefile.in (cvs-update): Remove old alias.
11056
11057 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11058
11059 Sync with Tramp 2.2.6-pre.
11060
11061 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11062 compatible declaration.
11063
11064 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11065 Protect `list-load-path-shadows' call.
11066
11067 * net/tramp-compat.el (top): Require packages, which aren't
11068 autoloaded anymore for XEmacs. Protect call of
11069 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11070 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11071 it hurts at least for SXEmacs.
11072 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11073 standard-value for `temporary-file-directory'.
11074
11075 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11076 Redirect stderr to /dev/null.
11077 (tramp-sh-handle-write-region): uid and gid can be floats.
11078 Reported by Russell Sim <russell.sim@gmail.com>.
11079 (tramp-sh-handle-vc-registered): Hide errors.
11080 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11081 and `start-file-process'.
11082 (tramp-maybe-open-connection): Check also whether `non-essential'
11083 is bound.
11084
11085 2012-07-04 Chong Yidong <cyd@gnu.org>
11086
11087 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11088 (xml-parse-tag): Likewise, and avoid changing entity tables.
11089 (xml-syntax-table): Define from scratch, making sure not to give
11090 x2000 and other Unicode spaces whitespace syntax, since those are
11091 not spaces in XML.
11092 (xml-parse-fragment): Delete unused function.
11093 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11094 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11095 (xml-entity-ref, xml-pe-reference-re)
11096 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11097 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11098 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11099 (xml-entity-value-re): Use syntax references in regexps where
11100 possible; no need to define inside a let-binding.
11101 (xml-parse-dtd): Use xml-pe-reference-re.
11102 (xml-entity-or-char-ref-re): New defconst.
11103 (xml-parse-string, xml-substitute-special): Use it.
11104
11105 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11108 (find-file--read-only): New function.
11109 (find-file-read-only, find-file-read-only-other-window)
11110 (find-file-read-only-other-frame): Use it.
11111 (insert-file-contents-literally): Don't `fset'.
11112 (get-free-disk-space): Use locate-dominating-file.
11113
11114 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11115 function is already compiled.
11116
11117 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11118
11119 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11120
11121 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11122 files on the same host.
11123
11124 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11125
11126 * help-fns.el (describe-function-1): Only call
11127 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11128
11129 2012-07-03 Chong Yidong <cyd@gnu.org>
11130
11131 * xml.el: Protect parser against XML bombs.
11132 (xml-entity-expansion-limit): New variable.
11133 (xml-parse-string, xml-substitute-special): Use it.
11134 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11135
11136 2012-07-03 Glenn Morris <rgm@gnu.org>
11137
11138 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11139 Allow linking to specific messages in debbugs reports (eg 123#5).
11140
11141 2012-07-02 Chong Yidong <cyd@gnu.org>
11142
11143 * xml.el: Fix entity and character reference expansion, allowing
11144 them to expand into markup as per XML spec.
11145 (xml-default-ns): New variable.
11146 (xml-entity-alist): Use XML spec definitions for lt and amp.
11147 (xml-parse-region): Make first two arguments optional.
11148 Discard text properties.
11149 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11150 All callers changed.
11151 (xml-parse-tag): Call xml-parse-tag-1. For backward
11152 compatibility, this function should not modify buffer contents.
11153 (xml-parse-tag-1): Fix opening-tag regexp.
11154 (xml-parse-string): Rewrite, handling entity and character
11155 references properly.
11156 (xml--entity-replacement-text): Signal an error if a parameter
11157 entity is undefined.
11158
11159 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11160
11161 * comint.el (comint-output-filter): Filter out repeated prompts.
11162
11163 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11164 and file-name-absolute-p.
11165 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11166 internal calls.
11167
11168 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11169
11170 Spelling fixes.
11171 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11172 Rename from byte-compile--refiy-function. All uses changed.
11173
11174 2012-07-01 Chong Yidong <cyd@gnu.org>
11175
11176 * xml.el (xml--parse-buffer): New function. Move most of
11177 xml-parse-region here.
11178 (xml-parse-region): Copy region into a temporary buffer, since
11179 parameter entity substitution requires changing buffer contents.
11180 Use xml--parse-buffer.
11181 (xml-parse-file): Use xml--parse-buffer.
11182 (xml-parse-dtd): Make parameter entity substitution work right.
11183 Use proper regexps for ELEMENT declarations (Bug#7172).
11184
11185 2012-06-30 Glenn Morris <rgm@gnu.org>
11186
11187 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11188
11189 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11190 Remove outdated and unnecessary dbus declarations.
11191
11192 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11193
11194 * emacs-lisp/timer.el (timer-until): Subtract results of
11195 float-time, instead of taking float-time of the result of
11196 time-subtract, since float-time signals an error for negative time
11197 arguments.
11198
11199 2012-06-30 Chong Yidong <cyd@gnu.org>
11200
11201 * xml.el (xml-*-re): Convert defvars into defconsts, and
11202 eval-and-compile them so eval-and-compile works on derivatives.
11203 (xml--entity-replacement-text): Use eval-and-comple.
11204
11205 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11206
11207 * vc/vc-git.el (vc-git-registered): Use cache property
11208 `git-registered'.
11209 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11210 `vc-git-working-revision' in order to benefit from the cache.
11211 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11212
11213 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11214
11215 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11216 removed (likely outside Emacs). (Bug#11757)
11217
11218 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * emacs-lisp/cl-lib.el: Require macroexp.
11221
11222 2012-06-30 Chong Yidong <cyd@gnu.org>
11223
11224 * xml.el: Implement XML parameter entities.
11225 (xml-parameter-entity-alist): New variable.
11226 (xml-parse-region, xml-parse-fragment): Preserve previous values
11227 of xml-entity-alist and xml-parameter-entity-alist, so that
11228 repeated calls on different documents do not change them.
11229 (xml-parse-tag): Fix doctype regexp.
11230 (xml--entity-replacement-text): New function.
11231 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11232 properly requires url retrieval which is unimplemented.
11233 (xml-escape-string): Doc fix.
11234
11235 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11238
11239 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11240
11241 * fringe.el (fringe-mode): Doc fix.
11242
11243 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11244
11245 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11246 is non-nil.
11247 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11248 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11249
11250 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11251
11252 * calendar/cal-dst.el (calendar-current-time-zone):
11253 Return calendar-current-time-zone-cache if non-nil.
11254
11255 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11256
11257 * progmodes/which-func.el (which-func-format):
11258 Add mouse-face. (Bug#11698)
11259
11260 2012-06-29 Leo Liu <sdl.web@gmail.com>
11261
11262 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11263
11264 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * minibuffer.el (minibuffer-confirm-exit-commands):
11267 Add completion-at-point (bug#11725).
11268
11269 2012-06-29 Glenn Morris <rgm@gnu.org>
11270
11271 * progmodes/f90.el (f90-font-lock-keywords-2):
11272 Add some preprocessor elements. (Bug#10499)
11273
11274 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11277 Use syntax-propertize (bug#11739).
11278
11279 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11280
11281 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11282
11283 2012-06-28 Julien Danjou <julien@danjou.info>
11284
11285 * term.el (term-handle-colors-array): Use a set of new faces to
11286 color the terminal. Also uses :inverse-video property.
11287 (term-default-fg-color): Set to nil by default, deprecate in favor
11288 of `term-face'.
11289 (term-default-bg-color): Set to nil by default, deprecate in favor
11290 of `term-face'.
11291 (term-current-face): Use `term-face' by default.
11292 (term-bold-attribute): Variable deleted.
11293
11294 2012-06-28 Glenn Morris <rgm@gnu.org>
11295
11296 * simple.el (completion-list-mode-finish):
11297 Don't use toggle-read-only. (Since completion-list-mode has
11298 a special mode-class, it wasn't doing anything extra anyway.)
11299
11300 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 Make inlining of other-mode interpreted functions work (bug#11799).
11303 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11304 (byte-compile): Use it to fix compilation of lexical-binding closures.
11305 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11306 function, if needed.
11307
11308 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * help-mode.el (help-make-xrefs): Don't just withstand
11311 cyclic-variable-indirection but any error in documentation-property.
11312
11313 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11314 memory use.
11315 * bindings.el (bindings--define-key): New function.
11316 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11317 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11318 * bindings.el: Use it to purecopy define-key bindings.
11319
11320 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11321
11322 * emacs-lisp/cl.el (flet): Mark obsolete.
11323 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11324 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11325 * progmodes/js.el (js-c-fill-paragraph):
11326 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11327 (ebrowse-switch-member-buffer-to-derived-class):
11328 * play/5x5.el (5x5-solver): Use cl-flet.
11329
11330 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11331 (cl--symbol-function): New macro.
11332 (cl--letf, cl--letf*): Use it.
11333
11334 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11335 Strip "toggle-" if any.
11336
11337 2012-06-27 Glenn Morris <rgm@gnu.org>
11338
11339 * info.el (Info-default-directory-list): Move here from paths.el.
11340 * paths.el: Remove file, which is now empty.
11341 * loadup.el: No longer load "paths".
11342
11343 * custom.el (custom-initialize-delay): Doc fix.
11344
11345 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11346 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11347 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11348 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11349 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11350 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11351 * eshell/eshell.el (eshell-defgroup): Remove alias.
11352
11353 2012-06-27 Chong Yidong <cyd@gnu.org>
11354
11355 * help.el (help-enable-auto-load): New variable.
11356
11357 * help-fns.el (help-fns--autoloaded-p): New function.
11358 (describe-function-1): Refer to a function as "autoloaded" if it
11359 was autoloaded at any time in the past. Perform autoloading if
11360 help-enable-auto-load is non-nil.
11361
11362 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11363
11364 * makefile.w32-in (compile, compile-always): Depend on
11365 update-subdirs, not on subdirs.el. Otherwise, several different
11366 sub-targets of 'bootstrap' running in parallel could
11367 simultaneously write to subdirs.el, producing a garbled file.
11368
11369 2012-06-26 Sam Steingold <sds@gnu.org>
11370
11371 * files.el (file-name-base): New convenience function.
11372 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11373 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11374 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11375 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11376 * textmodes/ispell.el, textmodes/reftex-ref.el:
11377 * textmodes/tex-mode.el: Use it.
11378 Did not touch cedet and org because they are maintained elsewhere.
11379
11380 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11381
11382 * calendar/calendar.el (calendar-exit): Don't try to delete or
11383 iconify last frame. See:
11384 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11385
11386 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11387
11388 * server.el (server-process-filter): Remember dir in the
11389 process's `server-client-directory' properties.
11390
11391 2012-06-24 Chong Yidong <cyd@gnu.org>
11392
11393 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11394 non-tag text.
11395
11396 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11397
11398 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11399
11400 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * help-fns.el (describe-variable): Don't croak when doc is not found.
11403 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11404 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11405 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11406 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11407 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11408 ((lambda ..) ..).
11409 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11410
11411 2012-06-23 Chong Yidong <cyd@gnu.org>
11412
11413 * info.el (Info-mouse-follow-link): Accept symbol values of
11414 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11415 (Info-fontify-node): Use Info-link-keymap for all navigation
11416 buttons, with link-args property to perform the desired action.
11417 (Info-link-keymap): Doc fix.
11418 (Info-next-link-keymap, Info-prev-link-keymap)
11419 (Info-up-link-keymap): Delete now-unused keymaps.
11420
11421 2012-06-23 Chong Yidong <cyd@gnu.org>
11422
11423 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11424
11425 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11426 system abbrevs.
11427
11428 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11429
11430 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11433 (bug#11719).
11434
11435 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11436 the requote function doesn't work properly (bug#11714).
11437
11438 2012-06-23 Glenn Morris <rgm@gnu.org>
11439
11440 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11441
11442 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 Further GV/CL cleanups.
11445 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11446 gv-expander.
11447 (gv--defun-declaration): New function.
11448 (defun-declarations-alist): Use it.
11449 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11450 (gv-place): Autoload.
11451 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11452 original definition of dotimes and dolist.
11453 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11454 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11455 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11456 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11457 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11458 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11459 to the function's definition.
11460 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11461 * window.el:
11462 * files.el:
11463 * faces.el:
11464 * env.el: Don't use CL.
11465
11466 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11467
11468 Support higher-resolution time stamps (Bug#9000).
11469
11470 * calendar/time-date.el (with-decoded-time-value): New arg
11471 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11472 (encode-time-value): New optional arg PICO. New type 3.
11473 (time-to-seconds) [!float-time]: Support the new picoseconds
11474 component if it's used.
11475 (seconds-to-time, time-subtract, time-add):
11476 Support ps-resolution time stamps as well.
11477
11478 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11479 (timerp): Timer vectors now have length 9, not 8.
11480 (timer--time): Support new-style (4-part) time stamps.
11481 (timer-next-integral-multiple-of-time): Time stamps now have
11482 picosecond resolution, so take a bit more care about rounding.
11483 (timer-relative-time, timer-inc-time): New optional arg psecs.
11484 (timer-set-time-with-usecs): Set psecs to 0.
11485 (timer--activate): Check psecs component, too.
11486
11487 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11488
11489 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11492 Move the non-essential binding to the post/pre-command-hook where it is
11493 more obviously correct.
11494
11495 * subr.el (read-passwd): Don't use a history at all.
11496 * savehist.el (savehist-save): Remove password saved accidentally
11497 because of the above bug.
11498
11499 2012-06-22 Bastien Guerry <bzg@gnu.org>
11500
11501 * files.el (toggle-read-only): Display a message telling whether
11502 the buffer is read-only or not (bug#11726).
11503
11504 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * emacs-lisp/gv.el: New file.
11507 * subr.el (push, pop): Extend to generalized variables.
11508 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11509 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11510 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11511 gv-define-simple-setter, and gv-define-expander.
11512 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11513 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11514 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11515 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11516 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11517 gv-letplace.
11518 (cl-defstruct): Don't define setf-method any more.
11519 * emacs-lisp/cl.el (flet): Don't autoload.
11520 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11521 (define-setf-expander, defsetf, define-modify-macro)
11522 (cl-struct-setf-expander): Move from cl-lib.el.
11523 * emacs-lisp/syntax.el:
11524 * emacs-lisp/ewoc.el:
11525 * emacs-lisp/smie.el:
11526 * emacs-lisp/cconv.el:
11527 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11528 (timer--time): Use gv-define-simple-setter.
11529 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11530 to avoid coding-system problems in subr.el. Adjust all users.
11531 (macroexp--maxsize, macroexp-small-p): New functions.
11532 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11533 * scroll-bar.el (scroll-bar-mode):
11534 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11535 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11536 * winner.el (winner-configuration, winner-make-point-alist)
11537 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11538 * files.el (locate-file-completion-table): Avoid list*.
11539
11540 2012-06-22 Chong Yidong <cyd@gnu.org>
11541
11542 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11543 (dired-create-files): Doc fix (Bug#11329).
11544 (dired-do-copy): Doc fix (Bug#11334).
11545 (dired-mark-read-string): Doc fix (Bug#11553).
11546
11547 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11548 Doc fix (Bug#11326).
11549 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11550 (dired-dwim-target): Doc fix.
11551
11552 * wdired.el (wdired-mode): Doc fix.
11553
11554 2012-06-22 Glenn Morris <rgm@gnu.org>
11555
11556 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11557 (pcmpl-rpm-cache-stamp-file): New constant.
11558 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11559 (pcmpl-rpm-packages): Optionally cache list of packages.
11560
11561 * pcmpl-rpm.el (pcmpl-rpm): New group.
11562 (pcmpl-rpm-query-options): New option.
11563 (pcmpl-rpm-packages): No need to inline it.
11564 Use pcmpl-rpm-query-options.
11565
11566 * calendar/calendar.el (calendar-in-read-only-buffer):
11567 Avoid some needless mode changes.
11568
11569 2012-06-21 Chong Yidong <cyd@gnu.org>
11570
11571 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11572 (desktop-path): Remove . from the default value (Bug#10977).
11573 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11574
11575 2012-06-20 Chong Yidong <cyd@gnu.org>
11576
11577 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11578
11579 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11580
11581 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11582 (bug#11201).
11583
11584 2012-06-20 Chong Yidong <cyd@gnu.org>
11585
11586 * term.el (term-window-width): Handle the case of a missing right
11587 fringe (Bug#8837).
11588 (term-check-size): Use window-text-height (Bug#5445).
11589 (term-mode): Use define-derived-mode. Minor cleanups.
11590 Set font-lock-defaults (Bug#7692).
11591 (term-move-columns, term-insert-char, term-emulate-terminal)
11592 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11593
11594 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11595
11596 * net/ange-ftp.el (ange-ftp-get-passwd):
11597 Bind `enable-recursive-minibuffers'.
11598 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11599
11600 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11601
11602 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11603
11604 2012-06-19 Glenn Morris <rgm@gnu.org>
11605
11606 * progmodes/python.el (python-mode): Derive from prog-mode.
11607
11608 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11609
11610 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11611 (edt-user-menu-bar-update-buffers): New functions.
11612 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11613
11614 2012-06-19 Chong Yidong <cyd@gnu.org>
11615
11616 * subr.el (with-selected-window): Preserve the selected window's
11617 terminal's top-frame (Bug#4702).
11618
11619 * window.el (save-selected-window): Likewise.
11620
11621 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * progmodes/python.el (python-rx-constituents): Move backquote.
11624 (python-skeleton-define, python-define-auxiliary-skeleton):
11625 Use `declare'.
11626
11627 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11628
11629 * minibuffer.el (read-file-name-default): Revert the patch from
11630 2012-06-17.
11631
11632 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11635 (pcase--u1, pcase--q1): Don't use apply-partially.
11636
11637 2012-06-18 Glenn Morris <rgm@gnu.org>
11638
11639 * progmodes/python.el (python-proc, python-buffer)
11640 (python-send-receive, python-send-string): Fix obsolete versions.
11641
11642 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11643
11644 * window.el (special-display-p): Completely remove stringp
11645 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11646
11647 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11648
11649 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11650
11651 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11652
11653 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11654 * net/tramp-sh.el (tramp-maybe-open-connection):
11655 Throw if `non-essential' is non-nil.
11656
11657 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11658
11659 * window.el (special-display-p): Signal an error if BUFFER-NAME
11660 is not a string (Bug#11713).
11661
11662 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11663
11664 * progmodes/python.el (python-info-beginning-of-backslash):
11665 Rename from python-info-beginning-of-backlash, as a spelling fix.
11666
11667 2012-06-17 Chong Yidong <cyd@gnu.org>
11668
11669 * term.el (term-emulate-terminal): If term-check-size is called,
11670 move point to the process mark without resetting point (Bug#4635).
11671
11672 2012-06-17 Glenn Morris <rgm@gnu.org>
11673
11674 * international/mule-cmds.el (mule-menu-keymap)
11675 (set-language-environment, set-locale-environment): Doc tweaks.
11676
11677 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11678
11679 * cus-face.el (custom-face-attributes): Add wave-style underline
11680 attribute.
11681 * faces.el (set-face-attribute): Update docstring to describe
11682 wave-style underline attribute.
11683
11684 2012-06-16 Chong Yidong <cyd@gnu.org>
11685
11686 * term/xterm.el (terminal-init-xterm): Discard input before
11687 querying background mode (Bug#10959).
11688
11689 2012-06-16 Stefan Merten <smerten@oekonux.de>
11690
11691 * textmodes/rst.el: Added and corrected some comments.
11692 (rst-re-alist-def): Improve symbol syntax.
11693 (rst-mode-syntax-table): Correct syntax entries.
11694 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11695 (rst-official-version, rst-official-cvs-rev): Update version
11696 information.
11697
11698 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11699
11700 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11701 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11702
11703 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11704
11705 * progmodes/python.el: New python.el merge.
11706 (python-guess-indent): Obsolete var.
11707 (python-indent-guess-indent-offset): New defcustom.
11708 (python-indent): Obsolete var.
11709 (python-indent-offset): New defcustom.
11710 (python-python-command, python-jython-command): Delete var.
11711 (python-shell-interpreter): New defcustom.
11712 (python-pdbtrack-do-tracking-p): Delete var.
11713 (python-pdbtrack-activate): New defcustom.
11714 (python-use-skeletons): Obsolete var.
11715 (python-skeleton-autoinsert): New defcustom.
11716 (inferior-python-filter-regexp, python-continuation-offset)
11717 (python-honour-comment-indentation, python-indent-string-contents)
11718 (python-jython-packages, python-mode-hook)
11719 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11720 (python-shell-prompt-alist)
11721 (python-source-modes): Delete defcustoms.
11722 (python-check-buffer-name, python-eldoc-setup-code)
11723 (python-eldoc-string-code, python-ffap-setup-code)
11724 (python-ffap-string-code, python-fill-comment-function)
11725 (python-fill-decorator-function, python-fill-paren-function)
11726 (python-fill-string-function, python-imenu-include-defun-type)
11727 (python-imenu-make-tree, python-imenu-subtree-root-label)
11728 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11729 (python-shell-compilation-regexp-alist)
11730 (python-shell-completion-module-string-code)
11731 (python-shell-completion-pdb-string-code)
11732 (python-shell-completion-setup-code)
11733 (python-shell-completion-string-code)
11734 (python-shell-enable-font-lock, python-shell-exec-path)
11735 (python-shell-extra-pythonpaths)
11736 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11737 (python-shell-process-environment)
11738 (python-shell-prompt-block-regexp)
11739 (python-shell-prompt-output-regexp)
11740 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11741 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11742 (python-shell-virtualenv-path): New defcustoms.
11743 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11744 (inferior-python-mode-syntax-table, python--prompt-regexp)
11745 (python-buffer, python-command python-python-command)
11746 (python-default-template, python-imports, python-indent-index)
11747 (python-indent-list, python-indent-list-length)
11748 (python-mode-running, python-pdbtrack-is-tracking-p)
11749 (python-preoutput-continuation, python-preoutput-leftover)
11750 (python-preoutput-result, python-preoutput-skip-next-prompt)
11751 (python-prev-dir/file, python-recursing)
11752 (python-saved-check-command, python-version-checked)
11753 (python-which-func-length-limit)
11754 (view-return-to-alist): Delete vars.
11755 (python-check-custom-command, python-dotty-syntax-table)
11756 (python-imenu-index-alist, python-indent-current-level)
11757 (python-indent-dedenters, python-indent-levels)
11758 (python-nav-beginning-of-defun-regexp)
11759 (python-nav-list-defun-positions-cache)
11760 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11761 (python-shell-internal-buffer)
11762 (python-skeleton-available): New vars.
11763 (def-python-skeleton): Delete macro.
11764 (python-skeleton-define): New macro.
11765 (python-define-auxiliary-skeleton, python-rx): New macros.
11766 (python-insert-class): Delete command.
11767 (python-skeleton-class): New command.
11768 (python-insert-def): Delete command.
11769 (python-skeleton-def): New command.
11770 (python-insert-for): Delete command.
11771 (python-skeleton-for): New command.
11772 (python-insert-if): Delete command.
11773 (python-skeleton-if): New command.
11774 (python-insert-try/except, python-insert-try/finally): Delete commands.
11775 (python-skeleton-try): New command.
11776 (python-insert-while): Delete command.
11777 (python-skeleton-while): New command.
11778 (python-backspace): Delete command.
11779 (python-indent-dedent-line-backspace): New command.
11780 (python-electric-colon): Delete command.
11781 (python-indent-electric-colon): New command.
11782 (python-guess-indent): Delete command.
11783 (python-indent-guess-indent-offset): New command.
11784 (python-shift-left): Delete command.
11785 (python-indent-shift-left): New command.
11786 (python-shift-right): Delete command.
11787 (python-indent-shift-right): New command.
11788 (python-find-function): Delete command.
11789 (python-nav-jump-to-defun): New command.
11790 (python-next-statement): Delete command.
11791 (python-nav-forward-sentence): New command.
11792 (python-previous-statement): Delete command.
11793 (python-nav-backward-sentence): New command.
11794 (python-fill-paragraph): Delete command.
11795 (python-fill-paragraph-function): New command.
11796 (python-send-buffer): Delete command.
11797 (python-shell-send-buffer): New command.
11798 (python-send-defun): Delete command.
11799 (python-shell-send-defun): New command.
11800 (python-send-region, python-send-region-and-go): Delete commands.
11801 (python-shell-send-region)
11802 (python-shell-switch-to-shell): New commands.
11803 (python-send-string): Delete command.
11804 (python-shell-send-string): New command.
11805 (python-switch-to-python): Delete command.
11806 (python-shell-switch-to-shell): New command.
11807 (python-describe-symbol): Delete command.
11808 (python-eldoc-at-point): New command.
11809 (python--set-prompt-regexp, python-args-to-list)
11810 (python-after-info-look, python-check-version)
11811 (python-check-comint-prompt, python-find-imports)
11812 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11813 (python-unload-function, python-expand-template)
11814 (python-maybe-jython, python-preoutput-filter)
11815 (python-pdbtrack-get-source-buffer)
11816 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11817 (python-pdbtrack-toggle-stack-tracking)
11818 (python-pdbtrack-track-stack-file, python-initial-text)
11819 (python-first-word, python-comment-line-p, python-send-command)
11820 (python-setup-brm, python-sentinel, python-set-proc)
11821 (python-skip-out, python-input-filter, python-outdent-p)
11822 (python-outline-level, python-backslash-continuation-line-p)
11823 (python-end-of-block, python-end-of-statement, python-mark-block)
11824 (python-beginning-of-block, python-beginning-of-statement)
11825 (python-blank-line-p, python-beginning-of-string)
11826 (python-open-block-statement-p): Delete functions.
11827 (python-indent-line, python-indent-line-1): Delete functions.
11828 (python-indent-line): New function.
11829 (python-indentation-levels): Delete function.
11830 (python-indent-calculate-levels): New function.
11831 (python-proc): Delete function.
11832 (python-shell-get-process): New function.
11833 (python-send-receive): Delete function.
11834 (python-shell-send-string-no-output): New function.
11835 (python-module-path): Delete function.
11836 (python-ffap-module-path): New function.
11837 (python-completion-at-point)
11838 (python-symbol-completions): Delete functions.
11839 (python-completion-complete-at-point): New function.
11840 (python-load-file): Delete function.
11841 (python-shell-send-file): New function.
11842 (python-calculate-indentation): Delete function.
11843 (python-indent-calculate-indentation): New function.
11844 (python-skip-comments/blanks): Delete function.
11845 (python-util-forward-comment): New function.
11846 (python-continuation-line-p): Delete function.
11847 (python-info-continuation-line-p): New function.
11848 (python-which-func, python-current-defun): Delete function.
11849 (python-info-current-defun): New function.
11850 (python-beginning-of-defun): Delete function.
11851 (python-nav-beginning-of-defun): New function.
11852 (python-close-block-statement-p)
11853 (python-block-end-p): Delete function.
11854 (python-info-closing-block): New function.
11855 (python-comint-output-filter-function)
11856 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11857 (python-fill-comment, python-fill-decorator, python-fill-paren)
11858 (python-fill-string, python-imenu-make-element-tree)
11859 (python-imenu-make-tree, python-imenu-tree-assoc)
11860 (python-indent-context, python-indent-dedent-line)
11861 (python-indent-line-function)
11862 (python-indent-post-self-insert-function)
11863 (python-indent-toggle-levels)
11864 (python-info-assignment-continuation-line-p)
11865 (python-info-beginning-of-backlash)
11866 (python-info-block-continuation-line-p)
11867 (python-info-closing-block-message)
11868 (python-info-line-ends-backslash-p)
11869 (python-info-looking-at-beginning-of-defun)
11870 (python-info-ppss-context, python-info-ppss-context-type)
11871 (python-nav-list-defun-positions, python-nav-read-defun)
11872 (python-nav-sentence-end, python-nav-sentence-start)
11873 (python-pdbtrack-comint-output-filter-function)
11874 (python-pdbtrack-set-tracked-buffer)
11875 (python-shell-calculate-exec-path)
11876 (python-shell-calculate-process-environment)
11877 (python-shell-completion--do-completion-at-point)
11878 (python-shell-completion--get-completions)
11879 (python-shell-completion-complete-at-point)
11880 (python-shell-completion-complete-or-indent)
11881 (python-shell-get-or-create-process)
11882 (python-shell-get-process-name)
11883 (python-shell-internal-get-or-create-process)
11884 (python-shell-internal-get-process-name)
11885 (python-shell-internal-send-string, python-shell-make-comint)
11886 (python-shell-parse-command, python-shell-send-setup-code)
11887 (python-skeleton-add-menu-items)
11888 (python-util-clone-local-variables, python-util-position)
11889 (run-python-internal, python-indentation-levels)
11890 (python-nav-beginning-of-defun)
11891 (python-completion-complete-at-point): New functions.
11892 (run-python): Change arguments. New API requirements.
11893
11894 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11897 (bug#11649).
11898
11899 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11900 (macroexp--expand-all): Use it.
11901
11902 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11903 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11904 Use `cl-function' instead.
11905
11906 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11907
11908 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11909 Suggested by Stefan Monnier while discussing bug#11657.
11910
11911 2012-06-14 Sam Steingold <sds@gnu.org>
11912
11913 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11914
11915 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11916
11917 * play/doctor.el (doctor-doc): Remove parameter and use
11918 doctor-sent instead of sent.
11919 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11920
11921 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * files.el: Require cl-lib.
11924 (file-name-non-special): Replace case -> cl-case.
11925
11926 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11927
11928 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11929 mapping from #' to function*.
11930
11931 2012-06-13 Chong Yidong <cyd@gnu.org>
11932
11933 * mouse.el (mouse-drag-track): Do not set the mark if the user
11934 releases the mouse without selecting anything (Bug#11588).
11935
11936 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11939 as well (bug#11646).
11940
11941 * loadup.el: Count byte-code functions as well.
11942
11943 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11944 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11945
11946 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11947 (bug#11649). Add cl-defun and cl-defmacro.
11948
11949 2012-06-13 Drew Adams <drew.adams@oracle.com>
11950
11951 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11952 Fix last change.
11953
11954 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11955
11956 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11957 Otherwise, it blocks in batch mode.
11958
11959 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11960
11961 * help-mode.el (bookmark-make-record-default): Declare.
11962
11963 2012-06-13 Chong Yidong <cyd@gnu.org>
11964
11965 * emacs-lisp/package.el (list-packages): Compute a list of
11966 packages that are newly-available since the last list-packages
11967 invocation.
11968 (package-menu--new-package-list): New var.
11969 (package-menu--generate, package-menu--print-info)
11970 (package-menu--status-predicate, package-menu-mark-install):
11971 Handle new status label "new".
11972
11973 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11976 conversion to backquotes.
11977
11978 2012-06-12 Chong Yidong <cyd@gnu.org>
11979
11980 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11981 Rename from gud-inhibit-global-bindings.
11982
11983 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11984
11985 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11986 hook from nxml-glyph-set-hook.
11987
11988 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11989 declaration.
11990
11991 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11992
11993 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11994 Convert to defcustom.
11995
11996 2012-06-12 Drew Adams <drew.adams@oracle.com>
11997
11998 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11999 New functions.
12000 (help-mode): Use them.
12001
12002 2012-06-11 Glenn Morris <rgm@gnu.org>
12003
12004 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12005 Use preprocessor face for directives.
12006 (fortran-directive-re): Doc fix.
12007
12008 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12011 conversion to backquotes (bug#11652).
12012
12013 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12014 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12015 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12016 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12017 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12018 (cl-ninth, cl-tenth): Mark them as inlinable.
12019 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12020 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12021 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12022 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12023 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12024 (cl-list*, cl-adjoin): Don't put an autoload manually.
12025 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12026 (cl--compiler-macro-list*): Add autoload cookie.
12027 (cl--compiler-macro-cXXr): New function.
12028
12029 * help-fns.el (help-fns--compiler-macro): New function extracted from
12030 describe-function-1; follow aliases and use `compiler-macro' property.
12031 (describe-function-1): Use it.
12032
12033 2012-06-11 Chong Yidong <cyd@gnu.org>
12034
12035 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12036 is uninstalled, if imagemagick is installed.
12037
12038 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * emacs-lisp/cl-lib.el: Use lexical-binding.
12041 (cl-map-extents, cl-maclisp-member): Remove.
12042 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12043 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12044 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12045 * emacs-lisp/cl-extra.el: Use lexical-binding.
12046 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12047 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12048 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12049 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12050 * emacs-lisp/cl-seq.el: Use lexical-binding.
12051 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12052 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12053 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12054 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12055 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12056 CL's internals.
12057
12058 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12059
12060 Sync with Tramp 2.2.6-pre.
12061
12062 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12063 `print-length' and `print-level' to nil, in order to avoid
12064 truncation. Reported by Christopher Schmidt
12065 <christopher@ristopher.com>.
12066
12067 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12068
12069 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12070 New defmacro.
12071 (tramp-compat-copy-directory): Add optional argument
12072 COPY-CONTENTS. It is not handled yet.
12073
12074 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12075 (tramp-ftp-file-name-p): Simplify.
12076
12077 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12078 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12079 connection vector.
12080
12081 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12082 (tramp-methods): Do not use `tramp-password-end-of-line'.
12083 (tramp-completion-function-alist-putty): Handle UNIX case.
12084 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12085 (tramp-do-file-attributes-with-stat)
12086 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12087 gid as real numbers. They could run out of integer range on cygwin.
12088 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12089 (tramp-sh-handle-expand-file-name): Handle hops.
12090 (tramp-open-connection-setup-interactive-shell):
12091 Use `tramp-cleanup'. Move check for busyboxes ...
12092 (tramp-find-shell): ... here. Simplify implementation.
12093 Set "remote-shell" property also for alternative shells.
12094 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12095 If failing, a regular file would be written otherwise.
12096 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12097 (tramp-find-inline-encoding): Cache the coding commands in the
12098 process cache. Apply test command on the remote side, if defined.
12099 (tramp-find-inline-compress): Cache the compress commands in the
12100 process cache.
12101 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12102 when requested. Handle hops.
12103 (tramp-current-connection): New defvar.
12104 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12105 Throw `suppress', if there was a failed connection shortly before.
12106 Handle user interrupt. (Bug#10187)
12107 (tramp-get-inline-compress, tramp-get-inline-coding):
12108 Read connection properties from the process cache.
12109
12110 * net/tramp-smb.el (tramp-smb-server-version)
12111 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12112 New defconsts.
12113 (tramp-smb-prompt): Extend for powershell prompt.
12114 (tramp-smb-file-name-handler-alist): Add handlers for
12115 `process-file', `shell-command' and `start-file-process'.
12116 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12117 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12118 (tramp-smb-file-name-p): Simplify.
12119 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12120 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12121 (tramp-smb-shell-quote-argument): New defuns.
12122 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12123 Implement using "tar". By this, time-stamps are preserved.
12124 (tramp-smb-handle-copy-file): Handle also the case of directories.
12125 (tramp-smb-do-file-attributes-with-stat)
12126 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12127 Use `tramp-get-connection-buffer').
12128 (tramp-smb-handle-rename-file): Use "rename", when source and
12129 target are on the same share.
12130 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12131 Use `tramp-smb-server-version'.
12132 (tramp-smb-wait-for-output): Remove prompt.
12133
12134 * net/tramp.el (top): Require 'cl.
12135 (tramp-methods, tramp-rsh-end-of-line):
12136 Remove `tramp-password-end-of-line' from docstring.
12137 (tramp-save-ad-hoc-proxies): New defcustom.
12138 (tramp-completion-function-alist): Adapt docstring.
12139 (tramp-default-password-end-of-line): Remove defcustom.
12140 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12141 (tramp-user-regexp, tramp-file-name-regexp-unified)
12142 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12143 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12144 (tramp-remote-file-name-spec-regexp): New defconst.
12145 (tramp-file-name-structure): Extend structure for hops.
12146 (tramp-get-method-parameter): Move up.
12147 (tramp-file-name-p, tramp-dissect-file-name)
12148 (with-parsed-tramp-file-name): Handle hops.
12149 (tramp-file-name-hop): New defun.
12150 (tramp-make-tramp-file-name): New optional arg HOP.
12151 (tramp-message-show-progress-reporter-message): New defvar.
12152 (tramp-with-progress-reporter): Use it. We cannot use
12153 `tramp-message-show-message' here, because this suppresses also
12154 error buffers.
12155 (tramp-error-with-buffer): Suppress buffer view, if
12156 `tramp-message-show-message' is nil.
12157 Use `tramp-get-connection-buffer'.
12158 (tramp-cleanup): New defun.
12159 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12160 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12161 an error unchanged.
12162 (tramp-completion-handle-file-name-all-completions): Handle hops.
12163 Fix an error when called from ido.
12164 (tramp-completion-dissect-file-name): Use better local variable
12165 name. Add hop to the vector.
12166 (tramp-handle-insert-file-contents): Use progress-reporter for the
12167 whole scenario.
12168 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12169 to `t'.
12170 (tramp-check-for-regexp): Simplify search.
12171 (tramp-enter-password): Remove it. Move implementation ...
12172 (tramp-action-password): ... here.
12173 (tramp-mode-string-to-int, tramp-local-host-p)
12174 (tramp-make-tramp-temp-file, tramp-read-passwd)
12175 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12176 Set tramp-autoload cookie.
12177
12178 * net/trampver.el: Update release number.
12179
12180 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12181 Michael Albinus <michael.albinus@gmx.de>
12182
12183 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12184 (tramp-parse-group, tramp-parse-file)
12185 (tramp-parse-shostkeys-sknownhosts): New defuns.
12186 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12187 (tramp-parse-shosts-group, tramp-parse-sconfig)
12188 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12189 (tramp-parse-sknownhosts, tramp-parse-hosts)
12190 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12191 Use them.
12192 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12193 (tramp-parse-putty-group): Don't narrow.
12194 (tramp-parse-putty): Make a loop.
12195 (tramp-file-name-handler): Catch the `suppress' signal.
12196
12197 2012-06-11 Chong Yidong <cyd@gnu.org>
12198
12199 * image.el (imagemagick-register-types): Put the ImageMagick entry
12200 at the end of image-type-file-name-regexps.
12201
12202 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12203
12204 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12205 (pcase, pcase-let*, pcase-dolist): Use them.
12206
12207 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * emacs-lisp/pcase.el (pcase--let*): New function.
12210 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12211 (pcase--expand): Use macroexp-let².
12212
12213 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12216 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12217 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12218 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12219 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12220 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12221
12222 2012-06-10 Glenn Morris <rgm@gnu.org>
12223
12224 * mail/rmail.el (rmail-yank-current-message): Leave point at
12225 correct position. (Bug#11660)
12226
12227 2012-06-10 Chong Yidong <cyd@gnu.org>
12228
12229 * allout-widgets.el: Fix code header.
12230
12231 2012-06-10 Chong Yidong <cyd@gnu.org>
12232
12233 * cus-edit.el (customize-changed-options-previous-release):
12234 Bump to 24.1.
12235
12236 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12237
12238 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12239
12240 2012-06-09 Chong Yidong <cyd@gnu.org>
12241
12242 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12243
12244 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12245
12246 * window.el (special-display-popup-frame): Don't use
12247 window--display-buffer (Bug#11651).
12248
12249 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12250
12251 Fix parallel builds: make sure loaddefs.el is not being written
12252 while Lisp files are compiled.
12253 (compile): Don't depend on 'mh-autoloads'.
12254 (compile-CMD, compile-SH): Depend on 'autoloads'.
12255 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12256
12257 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12258
12259 2012-06-09 Chong Yidong <cyd@gnu.org>
12260
12261 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12262 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12263 Doc fixes (Bug#11225).
12264
12265 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12268 a function if there's a clear indication that it has a compiler-macro.
12269 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12270 (macro-declarations-alist): Add arglist to declaration functions.
12271 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12272 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12273 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12274 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12275 Also add autoload to find the compiler macro.
12276 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12277 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12278 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12279 (cl--compiler-macro-get): New functions, replacing calls to
12280 cl-define-compiler-macro.
12281 (cl-typep) [compiler-macro]: Use macroexp-let².
12282
12283 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12284
12285 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12286 string properly, fixes Bug#11473.
12287
12288 2012-06-08 Chong Yidong <cyd@gnu.org>
12289
12290 * faces.el (set-face-attribute): Doc fix.
12291 (modify-face): Don't use :bold and :italic.
12292 (error, warning, success): Tweak definitions.
12293
12294 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12295 (custom-modified, custom-set, custom-changed, custom-themed)
12296 (custom-saved, custom-button, custom-button-mouse)
12297 (custom-button-pressed, custom-state, custom-comment-tag)
12298 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12299 (custom-group-subtitle): Use new-style face specs.
12300 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12301 (custom-set-face, custom-changed-face, custom-saved-face)
12302 (custom-button-face, custom-button-pressed-face)
12303 (custom-documentation-face, custom-state-face)
12304 (custom-comment-face, custom-comment-tag-face)
12305 (custom-variable-tag-face, custom-variable-button-face)
12306 (custom-face-tag-face, custom-group-tag-face-1)
12307 (custom-group-tag-face): Remove obsolete face alias.
12308
12309 * epa.el (epa-validity-high, epa-validity-medium)
12310 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12311 (epa-field-name, epa-field-body):
12312 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12313 (font-lock-keyword-face, font-lock-builtin-face)
12314 (font-lock-function-name-face, font-lock-variable-name-face)
12315 (font-lock-type-face, font-lock-constant-face):
12316 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12317 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12318 * speedbar.el (speedbar-button-face, speedbar-file-face)
12319 (speedbar-directory-face, speedbar-tag-face)
12320 (speedbar-selected-face, speedbar-highlight-face)
12321 (speedbar-separator-face):
12322 * whitespace.el (whitespace-newline, whitespace-space)
12323 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12324 (whitespace-line, whitespace-space-before-tab)
12325 (whitespace-space-after-tab, whitespace-indentation)
12326 (whitespace-empty):
12327 * emulation/cua-base.el (cua-global-mark):
12328 * eshell/em-prompt.el (eshell-prompt):
12329 * net/newst-plainview.el (newsticker-new-item-face)
12330 (newsticker-old-item-face, newsticker-immortal-item-face)
12331 (newsticker-obsolete-item-face, newsticker-date-face)
12332 (newsticker-statistics-face, newsticker-default-face):
12333 * net/newst-reader.el (newsticker-feed-face)
12334 (newsticker-extra-face, newsticker-enclosure-face):
12335 * net/newst-treeview.el (newsticker-treeview-face)
12336 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12337 (newsticker-treeview-immortal-face)
12338 (newsticker-treeview-obsolete-face)
12339 (newsticker-treeview-selection-face):
12340 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12341 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12342 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12343 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12344 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12345 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12346 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12347 (mpuz-text):
12348 * progmodes/vera-mode.el (vera-font-lock-number)
12349 (vera-font-lock-function, vera-font-lock-interface):
12350 * textmodes/table.el (table-cell): Use new-style face specs, and
12351 don't use the old :bold and :italic attributes.
12352
12353 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12354 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12355 (ebrowse-member-class, ebrowse-progress): Likewise.
12356 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12357 (ebrowse-file-name-face, ebrowse-default-face)
12358 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12359 (ebrowse-progress-face): Remove obsolete faces.
12360
12361 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12362 Inherit from error and warning faces respectively.
12363
12364 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12365 Likewise.
12366 (flyspell-incorrect-face, flyspell-duplicate-face):
12367 Remove obsolete aliases.
12368
12369 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12370
12371 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12372 Avoid infloop.
12373
12374 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * startup.el (argv, argi): Make lexically scoped.
12377 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12378 * emacs-lisp/cl-macs.el: Use lexical-binding.
12379 Rename cl-bind-* to cl--bind-*.
12380 * files.el: Don't require `cl' since it doesn't use it.
12381 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12382
12383 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12384
12385 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12386 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12387 instead of calling external sort utility.
12388 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12389
12390 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12391
12392 * descr-text.el (describe-char): Mention how to insert the
12393 character, if the current input method doesn't support it.
12394 See the discussion in this thread for the details:
12395 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12396
12397 2012-06-08 Sam Steingold <sds@gnu.org>
12398
12399 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12400 XF86Back to previous-buffer.
12401 (minibuffer-local-map): Bind them to next-history-element and
12402 previous-history-element respectively.
12403 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12404 help-go-back respectively.
12405 * info.el (Info-mode-map): Bind them to Info-history-forward and
12406 Info-history-back respectively.
12407 These are the keys next to Up on the ThinkPad keyboard.
12408
12409 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12412 * emacs-lisp/cl-macs.el: Provide itself.
12413 (cl--labels-convert-cache): New var.
12414 (cl--labels-convert): New function.
12415 (cl-flet, cl-labels): New implementation with new semantics, relying on
12416 lexical-binding.
12417 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12418 (cl-closure-vars, cl--function-convert-cache)
12419 (cl--function-convert): Move from cl-macs.el.
12420 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12421 rename by removing the "cl-" prefix.
12422 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12423
12424 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12427 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12428 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12429 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12430 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12431 (cl-hash-table-count): Add old compatibility aliases.
12432
12433 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12434 Use macroexpand-all-environment instead.
12435 (cl--old-macroexpand): New var.
12436 (cl--sm-macroexpand): New function.
12437 (cl-symbol-macrolet): Use it during macro expansion.
12438 (cl--function-convert-cache): New var.
12439 (cl--function-convert): New function, extracted from
12440 cl-macroexpand-all.
12441 (cl-lexical-let): Use it.
12442
12443 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12444 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12445 (cl-member): Remove old alias.
12446
12447 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12448 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12449 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12450 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12451 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12452 (cl-macroexpand-cmacs): Remove var.
12453 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12454 Use macroexpand-all instead.
12455
12456 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12457
12458 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12459 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12460 (macroexp-copyable-p): New functions and macros.
12461 * emacs-lisp/edebug.el (edebug-unwrap):
12462 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12463 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12464 (pcase--let*): Remove.
12465 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12466 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12467 macroexp-const-p instead.
12468 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12469
12470 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12471 instead of "cl-" for internal definitions. Use macroexp-const-p.
12472 (cl-old-bc-file-form): Remove var.
12473 (cl-const-exprs-p): Remove fun.
12474 (cl-labels, cl-macrolet): Use backquote.
12475 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12476 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12477 (cl-define-setf-expander): Rename from cl-define-setf-method.
12478 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12479
12480 * international/mule-cmds.el: Don't require CL.
12481 (view-hello-file): Don't use `letf'.
12482
12483 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * tmm.el (tmm-prompt): Use string-prefix-p.
12486 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12487 (tmm-add-prompt): Use minibuffer-completion-help.
12488 (tmm-delete-map): Remove.
12489
12490 * subr.el (kbd): Make it its own function.
12491
12492 2012-06-07 Stefan Merten <smerten@oekonux.de>
12493
12494 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12495 Silence compiler warnings. Fix versions.
12496 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12497 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12498 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12499 (rst-package-emacs-version-alist): Correct Emacs version to
12500 represent major merge with upstream.
12501 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12502
12503 2012-06-06 Glenn Morris <rgm@gnu.org>
12504
12505 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12506 Only print environment variables if set.
12507
12508 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12511 (macroexp--cons): Rename from maybe-cons.
12512 (macroexp--accumulate): Rename from macroexp-accumulate.
12513 (macroexp--all-forms): Rename from macroexpand-all-forms.
12514 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12515 (macroexp--expand-all): Rename from macroexpand-all-1.
12516
12517 2012-06-06 Sam Steingold <sds@gnu.org>
12518
12519 * calendar/calendar.el (calendar-in-read-only-buffer):
12520 Call `special-mode' to enable the standard read-only keybindings.
12521
12522 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12523
12524 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12525 with "loading" messages (bug#11635).
12526
12527 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12528
12529 * files.el (enable-remote-dir-locals): New option.
12530 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12531
12532 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12533 Ensure, that the temp directory is local.
12534
12535 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12536 `temporary-file-directory'.
12537
12538 * progmodes/python.el (python-send-region): Ensure, that the
12539 temporary file is created also in the remote case.
12540
12541 2012-06-06 Glenn Morris <rgm@gnu.org>
12542
12543 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12544 (vc-rcs-update-changelog): Use it.
12545
12546 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12547
12548 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12549 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12550 (vc-sccs-diff): Replace use of the external vcdiff script.
12551
12552 2012-06-05 Glenn Morris <rgm@gnu.org>
12553
12554 * ledit.el: Move to obsolete/.
12555
12556 2012-06-05 Sam Steingold <sds@gnu.org>
12557
12558 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12559 patch (Bug#11140).
12560
12561 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * emacs-lisp/cust-print.el: Move to obsolete.
12564
12565 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12566 compiler-macro expansion.
12567
12568 Add native compiler-macro support.
12569 * emacs-lisp/macroexp.el (macroexpand-all-1):
12570 Support compiler-macros directly. Properly follow aliases and apply
12571 the compiler macros more thoroughly.
12572 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12573 macroexpand now properly follows aliases.
12574 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12575 (cl-compiler-macroexpand): Use new prop.
12576 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12577
12578 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12579
12580 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12581
12582 * window.el (get-lru-window, get-mru-window, get-largest-window):
12583 New argument NOT-SELECTED to avoid picking the selected window.
12584 (window--display-buffer-1, window--display-buffer-2): Replace by
12585 new function window--display-buffer
12586 (display-buffer-same-window, display-buffer-reuse-window)
12587 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12588 Use window--display-buffer.
12589 (display-buffer-use-some-window): Remove temporary dedication
12590 hack by calling get-lru-window and get-largest-window with
12591 NOT-SELECTED argument non-nil. Call window--display-buffer.
12592
12593 2012-06-05 Glenn Morris <rgm@gnu.org>
12594
12595 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12596 Replace external vcdiff script.
12597
12598 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12599
12600 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12601
12602 2012-06-04 Chong Yidong <cyd@gnu.org>
12603
12604 * image.el (imagemagick-types-inhibit): Revert last change.
12605 Add INFO and M.
12606 (imagemagick-enabled-types): Remove CIN and EPS*.
12607
12608 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * emacs-lisp/cl-lib.el: Rename from cl.el.
12611 * emacs-lisp/cl.el: New compatibility file.
12612 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12613 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12614 to obey the "cl-" prefix.
12615 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12616
12617 2012-06-03 Glenn Morris <rgm@gnu.org>
12618
12619 * emacs-lisp/authors.el (authors-aliases): Addition.
12620
12621 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12622 Fix :version.
12623
12624 2012-06-03 Stefan Merten <smerten@oekonux.de>
12625
12626 * textmodes/rst.el: Add comments.
12627 (rst-transition, rst-adornment): New faces.
12628 (rst-adornment-faces-alist): Make default safe to reevaluate.
12629 Fixes
12630 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12631 Improve customization tags.
12632 (rst-define-level-faces): Clarify meaning.
12633
12634 2012-06-03 Chong Yidong <cyd@gnu.org>
12635
12636 * progmodes/compile.el (compilation-mode-line-fail)
12637 (compilation-mode-line-run, compilation-mode-line-exit):
12638 New faces.
12639 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12640
12641 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12642
12643 * progmodes/which-func.el (which-func-update-ediff-windows):
12644 New function. Use it in ediff-select-hook (Bug#11478).
12645
12646 2012-06-03 Chong Yidong <cyd@gnu.org>
12647
12648 * bindings.el: Remove explicit help text from format-mode-line.
12649 It is now supplied by mode-line-default-help-echo.
12650 (mode-line-front-space, mode-line-end-spaces)
12651 (mode-line-misc-info): New variables.
12652 (mode-line-modes, mode-line-position): Move the default value to
12653 the variable definition.
12654 (mode-line-default-help-echo): New defcustom.
12655 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12656 (mode-line-modified-help-echo): New functions.
12657 (mode-line-mule-info, mode-line-modified): Use them.
12658 (mode-line-eol-desc, propertized-buffer-identification):
12659 Consistency fixes for help text.
12660 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12661 set-buffer-file-coding-system (Bug#289).
12662 (mode-line-mule-info-help-echo): Update help text.
12663
12664 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 * simple.el (execute-extended-command): Set real-this-command
12667 (bug#11506).
12668
12669 2012-06-02 Chong Yidong <cyd@gnu.org>
12670
12671 Remove incorrect uses of "modeline" in comments, docstrings, and
12672 function/variable names (Bug#10329).
12673
12674 * cus-edit.el (mode-line):
12675 * dframe.el (dframe-mouse-hscroll):
12676 * emacs-lisp/re-builder.el:
12677 * emacs-lisp/easy-mmode.el (define-minor-mode):
12678 * frame.el (set-frame-name):
12679 * help.el (lookup-minor-mode-from-indicator):
12680 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12681 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12682 (c-toggle-hungry-state):
12683 * progmodes/antlr-mode.el (antlr-language-alist):
12684 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12685 * progmodes/vhdl-mode.el (vhdl-mode):
12686 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12687 * term/ns-win.el (ns-face-at-pos):
12688 * term/sup-mouse.el (sup-mouse-report):
12689 * textmodes/flyspell.el (flyspell-mode-line-string):
12690 * textmodes/ispell.el (ispell-highlight-face):
12691 * textmodes/reftex-global.el:
12692 * vc/vc-arch.el (vc-arch-mode-line-string):
12693 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12694 * vc/vc-git.el (vc-git-mode-line-string):
12695 * vc/vc-hooks.el (vc-display-status)
12696 (vc-default-mode-line-string):
12697 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12698
12699 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12700
12701 * dired.el (dired-sort-set-mode-line): Rename from
12702 dired-sort-set-modeline. All callers changed.
12703
12704 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12705 eshell-status-in-modeline.
12706
12707 * foldout.el (foldout-mode-line-string): Rename from
12708 foldout-modeline-string. All callers changed.
12709 (foldout-update-mode-line): Rename from foldout-update-modeline.
12710
12711 * subr.el (redraw-modeline): Make into obsolete alias.
12712
12713 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12714 timeclock-modeline-display. Make old name an alias.
12715 (timeclock-update-mode-line): Likewise. All callers changed.
12716 (timeclock-mode-line-display): No need to check before using
12717 add-hook.
12718 (timeclock-relative, timeclock-day-over-hook)
12719 (timeclock-use-elapsed, timeclock-mode-string)
12720 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12721
12722 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12723 crisp-mode-modeline-string.
12724
12725 * play/solitaire.el (solitaire-build-mode-line): Rename from
12726 solitaire-build-modeline. All callers changed.
12727
12728 * play/zone.el (zone-hiding-mode-line): Rename from
12729 zone-hiding-modeline. All callers changed.
12730 (zone): Remove unusued `modeline-hidden-level' property.
12731
12732 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12733 xscheme-modeline-initialize. All callers changed.
12734
12735 * strokes.el (strokes-lighter): Rename from
12736 strokes-modeline-string.
12737
12738 * textmodes/sgml-mode.el (html-face-tag-alist)
12739 (html-tag-face-alist): Use mode-line face instead of obsolete
12740 alias modeline.
12741
12742 2012-06-02 Stefan Merten <smerten@oekonux.de>
12743
12744 * textmodes/rst.el: Always require `cl'.
12745 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12746
12747 2012-06-02 Chong Yidong <cyd@gnu.org>
12748
12749 * image.el (imagemagick-enabled-types): Rename from
12750 imagemagick-types-enable. Add many more types.
12751 (imagemagick-types-inhibit): Change default to nil.
12752 (imagemagick-filter-types): Caller changed.
12753
12754 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * emacs-lisp/cl-macs.el: Use backquotes.
12757 (cl-transform-function-property): Use eval-and-compile rather than
12758 abusing `require'.
12759 (defstruct): Use declare-function instead of with-no-warnings.
12760
12761 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12762 (byte-compile-output-docform): Re-add the print-circle bindings.
12763 (byte-compile-fix-header): Use #$ just because it's shorter.
12764 (byte-compile-output-file-form): Remove defun/defmacro.
12765
12766 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12767
12768 * simple.el (choose-completion): Remove now obsolete binding for
12769 owindow.
12770
12771 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12772
12773 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12774 in order to avoid "Stack overflow in regexp matcher".
12775
12776 2012-05-31 Glenn Morris <rgm@gnu.org>
12777
12778 * image.el: For clarity, call imagemagick-register-types at
12779 top-level, rather than relying on a custom :initialize.
12780 (imagemagick-types-enable): New option. (Bug#11557)
12781 (imagemagick-filter-types): New function. (Bug#7406)
12782 (imagemagick-register-types): Use imagemagick-filter-types.
12783 If disabling support, remove elements altogether rather
12784 than using an impossible regexp.
12785 (imagemagick-types-inhibit): Give it the default init function.
12786
12787 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12788
12789 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12790 Handle arbitrary file name lengths (Bug#11585).
12791
12792 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12793
12794 * desktop.el (desktop-read): Clear previous and next buffers for
12795 all windows and bury *Messages* buffer (bug#11556).
12796
12797 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 Add `declare' for `defun'. Align `defmacro's with it.
12800 * emacs-lisp/easy-mmode.el (define-minor-mode)
12801 (define-globalized-minor-mode): Don't autoload the var definitions.
12802 * emacs-lisp/byte-run.el: Use lexical-binding.
12803 (defun-declarations-alist, macro-declarations-alist): New vars.
12804 (defmacro, defun): Use them.
12805 (make-obsolete, define-obsolete-function-alias)
12806 (make-obsolete-variable, define-obsolete-variable-alias):
12807 Use `declare'.
12808 (macro-declaration-function): Mark obsolete.
12809 * emacs-lisp/autoload.el: Use lexical-binding.
12810 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12811
12812 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12813
12814 * textmodes/ispell.el (ispell-with-no-warnings):
12815 Define as a macro.
12816 (ispell-kill-ispell, ispell-change-dictionary):
12817 Use `called-interactively-p' for Emacs instead of obsolete
12818 `interactive-p'.
12819
12820 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12823 (macro-declaration-function): Move var from C code.
12824 (macro-declaration-function): Define function with defalias.
12825 * emacs-lisp/macroexp.el (macroexpand-all-1):
12826 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12827 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12828 defun/defmacro any more.
12829 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12830 Provide fallback for unknown arglist.
12831 (byte-compile-arglist-warn): Change calling convention.
12832 (byte-compile-output-file-form): Move print-vars binding.
12833 (byte-compile-output-docform): Simplify accordingly.
12834 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12835 (byte-compile-defmacro-declaration): Remove.
12836 (byte-compile-file-form-defmumble): Generalize to defalias.
12837 (byte-compile-output-as-comment): Return byte-positions.
12838 Simplify callers accordingly.
12839 (byte-compile-lambda): Use `assert'.
12840 (byte-compile-defun, byte-compile-defmacro): Remove.
12841 (byte-compile-file-form-defalias):
12842 Use byte-compile-file-form-defmumble.
12843 (byte-compile-defalias-warn): Remove.
12844
12845 2012-05-29 Stefan Merten <smerten@oekonux.de>
12846
12847 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12848 possible. Fix authors. Improve comments. Improve loading of `cl'.
12849
12850 (rst-mode-abbrev-table): Merge definition.
12851 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12852 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12853
12854 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12855
12856 * calendar/icalendar.el
12857 (icalendar-export-region): Export UID properly.
12858
12859 2012-05-29 Leo Liu <sdl.web@gmail.com>
12860 * calendar/icalendar.el (icalendar-import-format):
12861 Add `icalendar-import-format-uid' (Bug#11525).
12862 (icalendar-import-format-uid): New.
12863 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12864 Export UID.
12865
12866 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12869 different alternative patterns.
12870 (pcase-codegen): Be more careful to preserve identity.
12871 (pcase--u1): Don't forget to mark vars as used.
12872
12873 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12874 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12875 (byte-compile-from-buffer): ...rather than here.
12876
12877 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12878 functions from byte-compile-function-environment.
12879
12880 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12881
12882 * window.el (window-deletable-p): Avoid deleting the root window
12883 of a frame with an active minibuffer.
12884
12885 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12886
12887 * simple.el (choose-completion): Use quit-window (Bug#11567).
12888
12889 2012-05-29 Chong Yidong <cyd@gnu.org>
12890
12891 * whitespace.el (whitespace-cleanup): Fix usage of
12892 whitespace-empty-at-bob-regexp (Bug#11492).
12893
12894 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12895
12896 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12897 revert (Bug#11488).
12898
12899 2012-05-29 Juri Linkov <juri@jurta.org>
12900
12901 * isearch.el (isearch-mode-map): Bind `M-s _' to
12902 `isearch-toggle-symbol'. Bind `M-s c' to
12903 `isearch-toggle-case-fold'.
12904 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12905 (isearch-forward): Add `M-s _' to the docstring.
12906 (isearch-forward-symbol, isearch-toggle-case-fold)
12907 (isearch-symbol-regexp): New functions. (Bug#11381)
12908
12909 2012-05-29 Juri Linkov <juri@jurta.org>
12910
12911 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12912 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12913 a function, call it to get the regexp.
12914 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12915 property `isearch-message-prefix' instead of the string "word ".
12916 (isearch-search-fun-default): For the case of `isearch-word',
12917 return a lambda that calls re-search-forward/re-search-backward
12918 with a regexp returned by `word-search-regexp' or by the function
12919 in `isearch-word'.
12920
12921 2012-05-29 Juri Linkov <juri@jurta.org>
12922
12923 * isearch.el (isearch-search-fun-default): New function.
12924 (isearch-search-fun): Move default part to the new function
12925 `isearch-search-fun-default'.
12926 (isearch-search-fun-function): Set the default value to
12927 `isearch-search-fun-default'. (Bug#11381)
12928
12929 * comint.el (comint-history-isearch-end):
12930 Use `isearch-search-fun-default'.
12931 (comint-history-isearch-search): Use `isearch-search-fun-default'
12932 and remove spacial case for `isearch-word'.
12933 (comint-history-isearch-wrap): Remove spacial case for
12934 `isearch-word'.
12935
12936 * hexl.el (hexl-isearch-search-function):
12937 Use `isearch-search-fun-default'.
12938
12939 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12940 Use `word-search-regexp' for `isearch-word'.
12941
12942 * misearch.el (multi-isearch-search-fun):
12943 Use `isearch-search-fun-default'.
12944
12945 * simple.el (minibuffer-history-isearch-search):
12946 Use `isearch-search-fun-default' and remove spacial case for
12947 `isearch-word'.
12948 (minibuffer-history-isearch-wrap): Remove spacial case for
12949 `isearch-word'.
12950
12951 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12952 Remove spacial case for `isearch-word'.
12953 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12954
12955 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12956
12957 Decrease XEmacs incompatibilities.
12958 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12959 Use `string-match'.
12960 (flyspell-delete-region-overlays): Use alternative definition for
12961 XEmacs.
12962 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12963 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12964 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12965 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12966 `define-obsolete-face-alias' under XEmacs, but old method.
12967
12968 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12969 `with-no-warnings' definition or Emacs alias.
12970 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12971 (ispell-word): Do not use `region-p' if XEmacs.
12972
12973 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12974
12975 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12976 Check for `ispell-dictionary-base-alist' instead of full
12977 `ispell-dictionary-alist'.
12978 (ispell-init-process): Show spellchecker when starting new Ispell
12979 process.
12980
12981 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12982
12983 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12984 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12985
12986 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12987
12988 * version.el (motif-version-string, gtk-version-string)
12989 (ns-version-string): Declare.
12990
12991 2012-05-27 Juri Linkov <juri@jurta.org>
12992
12993 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12994 after the `eval-defun-1' specialcaseing
12995 like in `edebug-eval-defun' (bug#10181).
12996
12997 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12998 like in `eval-defun-1'.
12999
13000 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13001
13002 * mail/sendmail.el (mail-yank-region):
13003 Recognize rmail-yank-current-message in addition to insert-buffer.
13004 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13005 a *mail* buffer created through rmail-start-mail with sendmail as
13006 mail-user-agent.
13007
13008 2012-05-27 Chong Yidong <cyd@gnu.org>
13009
13010 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13011 Default to 256 (Bug#11267).
13012
13013 * help.el (describe-mode): Doc fix.
13014
13015 2012-05-26 Glenn Morris <rgm@gnu.org>
13016
13017 * w32-fns.el (w32-init-info): Remove.
13018 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13019
13020 * info.el (info-initialize): For self-contained NS builds, put the
13021 included info/ directory at the front. (Bug#2791)
13022
13023 * paths.el (Info-default-directory-list): Make it a defcustom,
13024 mainly so that we can use custom-initialize-delay.
13025
13026 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13027
13028 * subr.el (buffer-has-markers-at): Mark obsolete.
13029
13030 * subr.el (lambda): Use declare.
13031
13032 * emacs-lisp/lisp-mode.el (lambda):
13033 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13034
13035 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13036
13037 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13038
13039 2012-05-26 Glenn Morris <rgm@gnu.org>
13040
13041 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13042
13043 2012-05-25 Glenn Morris <rgm@gnu.org>
13044
13045 * paths.el: Remove no-byte-compile.
13046 * loadup.el: No need to load paths.el uncompiled.
13047
13048 * image.el (imagemagick-types-inhibit): Doc fix.
13049
13050 * version.el: Remove no-byte-compile and associated formatting.
13051 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13052 is ancient code from when there was an "inc-vers.el".
13053
13054 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13055
13056 * progmodes/gdb-mi.el: Minor style changes.
13057 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13058 Turn into minor modes.
13059 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13060 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13061 (gdb-shell): Remove unneeded let-binding.
13062 (gdb-get-many-fields): Eliminate O(n²) behavior.
13063
13064 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13065
13066 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13067 platforms that don't link in fontset.c.
13068
13069 2012-05-25 Juri Linkov <juri@jurta.org>
13070
13071 Use the same diff color scheme as in modern VCSes (bug#10181).
13072
13073 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13074 to avoid confusion with `diff-added' that now uses green colors.
13075 (diff-removed): Use shades of red.
13076 (diff-added): Use shades of green.
13077 (diff-changed): Leave just the yellow color.
13078 (diff-use-changed-face): New variable.
13079 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13080 how to highlight context diff changes.
13081 (diff-refine-change): Use shades of yellow.
13082 (diff-refine-removed): New face that uses shades of red.
13083 (diff-refine-added): New face that uses shades of green.
13084 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13085 `diff-refine-removed' in the call to `smerge-refine-subst'
13086 depending on the value of `diff-use-changed-face'.
13087
13088 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13089 (smerge-other): Use shades of green.
13090 (smerge-base): Use shades of yellow.
13091 (smerge-refined-change): Empty face.
13092 (smerge-refined-removed): New face that uses shades of red.
13093 (smerge-refined-added): New face that uses shades of green.
13094 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13095 args `props-r' and `props-a', and use them. Doc fix.
13096 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13097 on its value use different faces `smerge-refined-change',
13098 `smerge-refined-removed', `smerge-refined-added' in the call to
13099 `smerge-refine-subst'.
13100
13101 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13102 Add face condition `min-colors 88' with shades of red.
13103 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13104 `min-colors 88' with shades of green.
13105 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13106 `min-colors 88' with shades of yellow.
13107
13108 2012-05-24 Glenn Morris <rgm@gnu.org>
13109
13110 * paths.el (prune-directory-list, remote-shell-program): Move to...
13111 * files.el (prune-directory-list, remote-shell-program): ...here.
13112 For the latter, delay initialization, prefer ssh, just search PATH.
13113
13114 * paths.el (term-file-prefix): Move to faces.el (the only user).
13115 * faces.el (term-file-prefix): Move here, make it a defcustom.
13116
13117 * paths.el (news-directory, news-path, news-inews-program):
13118 Move to gnus/nnspool.el.
13119
13120 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13121
13122 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13123 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13124 Make the latter a defcustom, with a delayed initialization.
13125
13126 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13127 These were deleted from Gnus itself late 2010.
13128
13129 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13130
13131 * progmodes/which-func.el (which-func-ff-hook):
13132 Check against user-error, not error.
13133
13134 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13135 cl-specs.el, which no longer exists.
13136
13137 2012-05-22 Glenn Morris <rgm@gnu.org>
13138
13139 * info.el (info-emacs-bug): New command.
13140 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13141 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13142
13143 2012-05-21 Glenn Morris <rgm@gnu.org>
13144
13145 * makefile.w32-in (update-subdirs-SH):
13146 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13147
13148 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13149
13150 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13151
13152 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13153 Simplify Maven regexp, and make sure the file can't start with a space
13154 (bug#11517).
13155
13156 2012-05-21 Glenn Morris <rgm@gnu.org>
13157
13158 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13159 Scrap superfluous subshells.
13160
13161 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13164 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13165
13166 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13167
13168 * calc/calc.el (calc-ensure-consistent-units): New variable.
13169
13170 * calc/calc-units.el (math-consistent-units-p)
13171 (math-check-unit-consistency): New functions.
13172 (calc-quick-units, calc-convert-units):
13173 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13174 is non-nil.
13175 (calc-extract-units): Fix typo.
13176
13177 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13180
13181 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13182 (flyspell-default-deplacement-commands): Don't spell check after
13183 repeated window/frame switches (e.g. triggered by mouse-movement).
13184 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13185 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13186 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13187 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13188 Remove unused vars.
13189 (flyspell-get-casechars, flyspell-get-not-casechars):
13190 Simplify; Don't bother removing a ] just to add it back.
13191 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13192
13193 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13194
13195 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13196 New functions.
13197 (math-function-table): Add support for more C functions.
13198
13199 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13200
13201 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13202 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13203 Protect delay handling for otherchars against empty otherchars.
13204
13205 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13208 their respective macro declarations.
13209 * skeleton.el (define-skeleton):
13210 * progmodes/compile.el (define-compilation-mode):
13211 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13212 (define-ibuffer-filter):
13213 * emacs-lisp/generic.el (define-generic-mode):
13214 * emacs-lisp/easy-mmode.el (define-minor-mode)
13215 (define-globalized-minor-mode):
13216 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13217 * emacs-lisp/byte-run.el (defsubst):
13218 * custom.el (deftheme): Add doc-string metadata.
13219
13220 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13221
13222 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13223
13224 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13227
13228 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13229 * emacs-lisp/cl-macs.el: Idem.
13230 * emacs-lisp/cl-specs.el: Remove.
13231
13232 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 Minor renaming of internal CL functions and variables.
13235 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13236 (cl--position): Rename from cl-position.
13237 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13238 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13239 (cl--random-state): Rename from *random-state*.
13240
13241 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13244 parens around the arg list (bug#11499).
13245
13246 2012-05-17 Juri Linkov <juri@jurta.org>
13247
13248 * isearch.el (word-search-regexp, word-search-backward)
13249 (word-search-forward, word-search-backward-lax)
13250 (word-search-forward-lax): Move functions from search.c
13251 (bug#10145, bug#11381).
13252
13253 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13254
13255 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13256 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13257 Delay for otherchars as for normal word components.
13258
13259 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * minibuffer.el (completion--sifn-requote): Fix last change.
13262 (minibuffer-local-must-match-filename-map):
13263 Move define-obsolete-variable-alias before its var.
13264
13265 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13266
13267 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13268
13269 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13270 behavior.
13271 (completion--string-equal-p): New function.
13272 (completion--twq-all): Use it to get better assertion failure data.
13273
13274 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13275 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13276 (shell--requote-argument): New functions.
13277 (shell-completion-vars): Use them.
13278 (shell--parse-pcomplete-arguments): Rename from
13279 shell-parse-pcomplete-arguments.
13280 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13281 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13282 Obey comint-file-name-quote-list.
13283
13284 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13285 (smie-indent-keyword): Use it.
13286
13287 2012-05-14 Stefan Merten <smerten@oekonux.de>
13288
13289 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13290
13291 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13292
13293 * net/rlogin.el (rlogin-mode-map): Fix last change.
13294
13295 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13296
13297 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13298 the following \r\n using a single `process-send-string', since the
13299 Lotus SMTP server refuses to accept any commands if they are sent
13300 with two `process-send-string's (Bug#11444).
13301
13302 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13303
13304 * shell.el (shell-parse-pcomplete-arguments):
13305 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13306
13307 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13308
13309 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13310 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13311 (image-transform-width, image-transform-fit-width): New functions.
13312 (image-transform-properties): Use them.
13313 (image-transform-check-size): New function.
13314 (image-toggle-display-image): Use it (for testing).
13315 (image-transform-set-rotation): Reduce angle mod 360.
13316 Delete obsolete comment.
13317
13318 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13319
13320 * image-mode.el: Fix scaling (bug#11399).
13321 (image-transform-resize): Doc fix.
13322 (image-transform-properties): Default scale is 1 and height should
13323 be an integer.
13324
13325 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13326
13327 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13328 than hard-coding `car', to fix misbehavior when moving forward.
13329
13330 2012-05-13 Chong Yidong <cyd@gnu.org>
13331
13332 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13333 (tabulated-list-entries, tabulated-list-padding)
13334 (tabulated-list-sort-key): Make permanent-local.
13335
13336 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13337 (electric-buffer-list): Put electric buffer menu
13338 command descriptions in this docstring, instead of the docstring
13339 of electric-buffer-menu-mode. Code cleanups.
13340 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13341 Electric-buffer-menu-mode.
13342 (electric-buffer-update-highlight): Minor code cleanup.
13343
13344 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13345
13346 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13347 (Bug#11447)
13348
13349 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13350
13351 Move define-obsolete-variable-alias before the var's definition.
13352 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13353 * tooltip.el (tooltip-hook):
13354 * textmodes/reftex-toc.el (reftex-toc-map):
13355 * textmodes/reftex-sel.el (reftex-select-label-map)
13356 (reftex-select-bib-map):
13357 * textmodes/reftex-index.el (reftex-index-map)
13358 (reftex-index-phrases-map):
13359 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13360 * progmodes/meta-mode.el (meta-mode-map):
13361 * novice.el (disabled-command-hook):
13362 * loadhist.el (unload-hook-features-list):
13363 * frame.el (blink-cursor):
13364 * files.el (find-file-not-found-hooks, write-file-hooks)
13365 (write-contents-hooks):
13366 * emulation/tpu-edt.el (GOLD-map):
13367 * emacs-lock.el (emacs-lock-from-exiting):
13368 * emacs-lisp/generic.el (generic-font-lock-defaults):
13369 * emacs-lisp/chart.el (chart-map):
13370 * dos-fns.el (register-name-alist):
13371 * dired-x.el (dired-omit-files-p):
13372 * desktop.el (desktop-enable):
13373 * cus-edit.el (custom-mode-hook):
13374 * buff-menu.el (buffer-menu-mode-hook):
13375 * bookmark.el (bookmark-read-annotation-text-func)
13376 (bookmark-exit-hooks):
13377 * allout.el (allout-mode-deactivate-hook)
13378 (allout-exposure-change-hook, allout-structure-added-hook)
13379 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13380 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13381 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13382 comes before the corresponding variable's definition.
13383
13384 2012-05-12 Chong Yidong <cyd@gnu.org>
13385
13386 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13387 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13388 (Buffer-menu-mode-map): Bind it.
13389 (Buffer-menu--pretty-name): Add a mouse-face property.
13390
13391 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13394 (prolog-upper-case-string, prolog-lower-case-string)
13395 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13396 (prolog-use-smie, prolog-smie-grammar): New vars.
13397 (prolog-smie-forward-token, prolog-smie-backward-token)
13398 (prolog-smie-rules): New funs.
13399 (prolog-comment-indent): Remove.
13400 (prolog-mode-variables): Use default comment indentation instead.
13401 Setup SMIE.
13402 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13403 (prolog-mode): Don't call them any more.
13404 (prolog-electric-colon, prolog-electric-dash)
13405 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13406
13407 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13408
13409 * minibuffer.el (completion--twq-all): Again, allow case differences.
13410
13411 * term.el: Move keymap initialization code to be more idiomatic.
13412 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13413 (term-terminal-menu): Move initialization into declaration.
13414 (term-escape-char): Let the user set it in her .emacs.
13415
13416 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13417 Provide SMIE-based indentation (not enabled by default yet).
13418 (sh-mode-map): Don't bind electric keys.
13419 Use electric-pair-mode instead of skeleton-pair.
13420 (sh-assignment-regexp): Fit within 80 columns.
13421 (sh-indent-supported): Specify actual shell name instead of boolean.
13422 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13423 (sh-maybe-here-document): Use it. Make obsolete.
13424 (sh-electric-here-document-mode) New minor mode.
13425 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13426 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13427 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13428 (sh-smie-rc-grammar, sh-use-smie): New vars.
13429 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13430 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13431 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13432 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13433 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13434 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13435 (sh-set-shell): Use smie-setup if requested.
13436
13437 * term.el (term-set-escape-char): Properly set term-escape-char.
13438 See http://stackoverflow.com/questions/10524656.
13439
13440 2012-05-10 Chong Yidong <cyd@gnu.org>
13441
13442 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13443 Use url-generic-parse-url, and handle host names and Windows
13444 filenames properly.
13445 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13446 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13447 URL schemes to work on.
13448 (ffap--toggle-read-only): New function.
13449 (ffap-read-only, ffap-read-only-other-window)
13450 (ffap-read-only-other-frame): Use it.
13451 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13452 necessary for ffap-url-unwrap-remote.
13453
13454 2012-05-10 Dave Abrahams <dave@boostpro.com>
13455
13456 * cus-start.el (create-lockfiles): Add it.
13457
13458 2012-05-09 Chong Yidong <cyd@gnu.org>
13459
13460 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13461 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13462
13463 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13466
13467 2012-05-09 Chong Yidong <cyd@gnu.org>
13468
13469 * ansi-color.el (ansi-color-process-output): Check for validity of
13470 comint-last-output-start before using it. This avoids a bad
13471 interaction with gdb-mi's input/output buffer.
13472
13473 2012-05-09 Glenn Morris <rgm@gnu.org>
13474
13475 * files.el (dir-locals-read-from-file):
13476 Mention dir-locals in any error message.
13477
13478 2012-05-09 Chong Yidong <cyd@gnu.org>
13479
13480 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13481 package (Bug#11410).
13482
13483 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13484 variables into description.
13485
13486 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13489 shell-delimiter-argument-list (bug#11348).
13490 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13491
13492 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13493
13494 * textmodes/rst.el: Silence byte-compiler warnings.
13495 (rst-re-alist, rst-reset-section-caches): Move around.
13496 (rst-re): Use `characterp', not `char-valid-p'.
13497 (font-lock-beg, font-lock-end): Declare.
13498
13499 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13500 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13501
13502 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13503
13504 2012-05-08 Glenn Morris <rgm@gnu.org>
13505
13506 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13507
13508 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * vc/log-edit.el: Add GNU coding standards highlighting.
13511 (log-edit-font-lock-gnu-style)
13512 (log-edit-font-lock-gnu-keywords): New vars.
13513 (log-edit-font-lock-keywords): New fun.
13514 (log-edit-mode): Don't fold case in font-lock.
13515 (log-edit-font-lock-keywords): Do not assume case-folding.
13516
13517 * imenu.el: Misc cleanup. Make docstrings out of comments.
13518 Use lexical-binding.
13519 (imenu--index-alist, imenu--last-menubar-index-alist)
13520 (imenu-menubar-modified-tick): Use defvar-local.
13521 (imenu--split-menu): Remove unused var.
13522 (imenu--cleanup-seen): Declare as global.
13523 (imenu--cleanup): Use dolist.
13524
13525 * subr.el (defvar-local): Add debug spec and doc-string position.
13526
13527 2012-05-08 Glenn Morris <rgm@gnu.org>
13528
13529 * language/burmese.el, language/cham.el, language/czech.el:
13530 * language/english.el, language/georgian.el, language/greek.el:
13531 * language/japanese.el, language/khmer.el, language/korean.el:
13532 * language/lao.el, language/misc-lang.el, language/romanian.el:
13533 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13534 * language/thai.el, language/utf-8-lang.el:
13535 Remove no-byte-compile setting.
13536
13537 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13538
13539 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13540
13541 * progmodes/make-mode.el (makefile-browse):
13542 Remove unnecessary interactive. (Bug#11324)
13543
13544 2012-05-07 Glenn Morris <rgm@gnu.org>
13545
13546 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13547
13548 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13549
13550 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 * loadup.el: Preload newcomment.el.
13553 * newcomment.el: Move autoload-only code to toplevel.
13554
13555 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13556 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13557 Handle new :right-align column property.
13558 (tabulated-list-print-col): Idem, plus use `display' text-property to
13559 try and preserve alignment for variable pitch fonts.
13560
13561 2012-05-07 Chong Yidong <cyd@gnu.org>
13562
13563 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13564 (tabulated-list-use-header-line): New var.
13565 (tabulated-list-init-header): Use it.
13566 (tabulated-list-print-fake-header): New function.
13567 (tabulated-list-print): Use it.
13568 (tabulated-list-sort-button-map): Add non-header-line commands.
13569 (tabulated-list-init-header): Add column name property to basic
13570 labels as well.
13571 (tabulated-list-col-sort): Handle non-header-line button case.
13572 (tabulated-list--sort-by-column-name): Fix a corner case.
13573
13574 * buff-menu.el (list-buffers--refresh):
13575 Handle Buffer-menu-use-header-line.
13576
13577 2012-05-06 Chong Yidong <cyd@gnu.org>
13578
13579 * buff-menu.el: Convert to Tabulated List mode.
13580 (Buffer-menu-buffer+size-width): Make obsolete.
13581 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13582 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13583 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13584 documentation into docstring of buffer-menu.
13585 (Buffer-menu-toggle-files-only): Add an informative message.
13586 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13587 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13588 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13589 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13590 (Buffer-menu-execute, Buffer-menu-select)
13591 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13592 (Buffer-menu-bury): Use Tabulated List machinery.
13593 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13594 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13595 Delete.
13596 (list-buffers--refresh): New function.
13597 (list-buffers-noselect): Use it.
13598 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13599 (Buffer-menu--pretty-file-name): New helper functions.
13600
13601 * loadup.el: Preload tabulated-list.
13602
13603 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13604 tabulated-list-sort-column.
13605 (tabulated-list-init-header): Add the initial aligning space even
13606 if tabulated-list-padding is zero.
13607
13608 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13609
13610 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13611 whose cdr is not a cons cell correctly (bug#11038).
13612
13613 2012-05-06 Chong Yidong <cyd@gnu.org>
13614
13615 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13616 Accept additional plist in column descriptors.
13617 (tabulated-list-init-header): Obey it.
13618 (tabulated-list-get-entry): New function.
13619 (tabulated-list-put-tag): Use it. Use string-width instead of
13620 length.
13621 (tabulated-list--column-number): New function.
13622 (tabulated-list-print): Use it.
13623 (tabulated-list-print-col): New function.
13624 Set `tabulated-list-column-name' property on each column's text.
13625 (tabulated-list-print-entry): Use it.
13626 (tabulated-list-delete-entry, tabulated-list-set-col):
13627 New functions.
13628 (tabulated-list-sort-column): New command (Bug#11337).
13629
13630 * buff-menu.el (list-buffers): Move C-x C-b binding from
13631 buff-menu.el to bindings.el.
13632
13633 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13634 :advertised-binding feature.
13635
13636 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13637
13638 * progmodes/compile.el (compilation-internal-error-properties):
13639 Calculate start position correctly when end-col is set but
13640 end-line is not (Bug#11382).
13641
13642 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13643
13644 * man.el (Man-unindent): Use text-property-default-nonsticky to
13645 prevent untabify from inheriting face properties (Bug#11408).
13646
13647 2012-05-05 Stefan Merten <smerten@oekonux.de>
13648
13649 * textmodes/rst.el: Major merge with upstream development up to
13650 Docutils SVN r7399 / rst.el V1.2.1.
13651
13652 Clarify maintainership and authors.
13653
13654 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13655 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13656 (rst-official-version, rst-official-cvs-rev, rst-version)
13657 (rst-package-emacs-version-alist): New functions and variables
13658 for version information.
13659
13660 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13661 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13662 (rst-mode-syntax-table, rst-mode): New and corrected functions
13663 and variables representing reStructuredText features.
13664
13665 (rst-re): New function for reStructuredText regexes. Use in
13666 many places.
13667
13668 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13669 (rst-mode-map): Rebind keys.
13670
13671 (rst-mode-lazy, rst-font-lock-keywords)
13672 (rst-font-lock-extend-region)
13673 (rst-font-lock-extend-region-internal)
13674 (rst-font-lock-extend-region-extend)
13675 (rst-font-lock-find-unindented-line-limit)
13676 (rst-font-lock-find-unindented-line-match)
13677 (rst-adornment-level, rst-font-lock-adornment-level)
13678 (rst-font-lock-adornment-match)
13679 (rst-font-lock-handle-adornment-pre-match-form)
13680 (rst-font-lock-handle-adornment-matcher): Major revision of
13681 font-locking. Integrate with other code. Use `jit-lock-mode'.
13682
13683 (rst-preferred-adornments, rst-adjust-hook)
13684 (rst-new-adornment-down, rst-preferred-bullets)
13685 (rst-preferred-bullets, rst-indent, rst-indent-width)
13686 (rst-indent-field, rst-indent-literal-normal)
13687 (rst-indent-literal-minimized, rst-indent-comment): Change,
13688 extend and improve customization.
13689
13690 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13691 (rst-normalize-cursor-position, rst-get-decoration)
13692 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13693 (rst-rstrip, rst-toc-insert-find-delete-contents)
13694 (rst-shift-fill-region, rst-compute-bullet-tabs)
13695 (rst-debug-print-tabs, rst-debug-mark-found)
13696 (rst-shift-region-guts, rst-shift-region-right)
13697 (rst-shift-region-left, rst-use-char-classes)
13698 (rst-font-lock-keywords-function)
13699 (rst-font-lock-indentation-point)
13700 (rst-font-lock-find-unindented-line-begin)
13701 (rst-font-lock-find-unindented-line-end)
13702 (rst-font-lock-find-unindented-line)
13703 (rst-font-lock-adornment-point, rst-font-lock-level)
13704 (rst-adornment-level-alist): Remove functions and variables.
13705
13706 (rst-compare-adornments, rst-get-adornment-match)
13707 (rst-suggest-new-adornment, rst-get-adornments-around)
13708 (rst-adornment-complete-p, rst-get-next-adornment)
13709 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13710 (rst-straighten-adornments): Standardize function names to
13711 use "adornment" instead of "decoration". Correct callers.
13712 Similar standardizing in many places.
13713
13714 (rst-update-section, rst-adjust, rst-promote-region)
13715 (rst-enumerate-region, rst-bullet-list-region)
13716 (rst-repeat-last-character): Correct use of `interactive'.
13717
13718 (rst-classify-adornment, rst-find-all-adornments)
13719 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13720 (rst-find-leftmost-column, rst-repeat-last-character):
13721 Refactor functions.
13722
13723 (rst-find-title-line, rst-reset-section-caches)
13724 (rst-get-adornments-around, rst-adjust-adornment-work)
13725 (rst-arabic-to-roman, rst-roman-to-arabic)
13726 (rst-insert-list-pos, rst-insert-list-new-item)
13727 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13728 New functions.
13729
13730 (rst-all-sections, rst-section-hierarchy)
13731 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13732 New variables.
13733
13734 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13735 configuration instead of only buffer. Change where necessary.
13736
13737 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13738 (rst-shift-region, rst-adaptive-fill): New functions for
13739 indentation and filling.
13740
13741 (rst-comment-line-break, rst-comment-indent)
13742 (rst-comment-insert-comment, rst-comment-region)
13743 (rst-uncomment-region): New functions for handling comments.
13744
13745 (rst-compile): Quote shell arguments.
13746
13747 (rst-compile-pdf-preview, rst-compile-slides-preview):
13748 Delete temporary files after use.
13749
13750 2012-05-05 Glenn Morris <rgm@gnu.org>
13751
13752 * calendar/cal-html.el: Optionally include holidays in the output.
13753 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13754 (cal-html-holidays): New option.
13755 (cal-html-css-default): Add holiday entry.
13756 (holiday-in-range): Autoload it.
13757 (cal-html-htmlify-entry): Add optional class argument.
13758 (cal-html-htmlify-list): Add optional holidays argument.
13759 (cal-html-insert-agenda-days): Include holidays in the output.
13760 (cal-html-one-month): Maybe include holidays.
13761
13762 * calendar/holidays.el (holiday-in-range):
13763 Move here from cal-tex-list-holidays.
13764 * calendar/cal-tex.el (cal-tex-list-holidays):
13765 Make it an obsolete alias for holiday-in-range. Update all callers.
13766
13767 2012-05-05 Chong Yidong <cyd@gnu.org>
13768
13769 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13770 Nextstep.
13771
13772 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13773
13774 * files.el (file-auto-mode-skip): New var.
13775 (set-auto-mode-1): Use it.
13776
13777 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13778
13779 * repeat.el: Use lexical-binding.
13780 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13781 (repeat-undo-count): Remove.
13782 (repeat):
13783 * progmodes/octave-mod.el (octave-abbrev-start):
13784 * progmodes/f90.el (f90-abbrev-start):
13785 * face-remap.el (text-scale-adjust):
13786 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13787
13788 * emacs-lisp/pcase.el (pcase--let*): New function.
13789 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13790 a bit more.
13791 (pcase--split-pred): Be more clever about ruling out overlap between
13792 a predicate and some constant pattern.
13793 (pcase--q1): Use `null' instead of (eq foo nil).
13794
13795 * subr.el (setq-local, defvar-local): New macros.
13796 (kbd): Redefine as an alias.
13797 (with-selected-window): Leave unrelated frames alone.
13798 (set-temporary-overlay-map): New function.
13799
13800 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13801
13802 * subr.el (user-error): New function.
13803 * window.el (switch-to-buffer):
13804 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13805 (smerge-match-conflict):
13806 * simple.el (previous-matching-history-element)
13807 (next-matching-history-element, goto-history-element, undo-more)
13808 (undo-start):
13809 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13810 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13811 (next-file, tags-loop-scan, list-tags, complete-tag):
13812 * progmodes/compile.el (compilation-loop):
13813 * mouse.el (mouse-minibuffer-check):
13814 * man.el (Man-bgproc-sentinel, Man-goto-page):
13815 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13816 (Info-history-forward, Info-follow-reference, Info-menu)
13817 (Info-extract-menu-item, Info-extract-menu-counting)
13818 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13819 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13820 (Info-next-reference, Info-prev-reference, Info-index)
13821 (Info-index-next, Info-follow-nearest-node)
13822 (Info-copy-current-node-name):
13823 * imenu.el (imenu--make-index-alist)
13824 (imenu-default-create-index-function, imenu-add-to-menubar):
13825 * files.el (basic-save-buffer, recover-file):
13826 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13827 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13828 (checkdoc-message-text, checkdoc-defun):
13829 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13830 * cus-edit.el (customize-changed-options, customize-rogue)
13831 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13832 (custom-variable-mark-to-reset-standard)
13833 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13834 (custom-file):
13835 * completion.el (check-completion-length):
13836 * comint.el (comint-search-arg)
13837 (comint-previous-matching-input-string-position)
13838 (comint-previous-matching-input)
13839 (comint-replace-by-expanded-history-before-point, comint-send-input)
13840 (comint-copy-old-input, comint-backward-matching-input)
13841 (comint-goto-process-mark, comint-set-process-mark):
13842 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13843 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13844
13845 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13846
13847 * dabbrev.el (dabbrev--ignore-case-p): New function.
13848 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13849 Use it.
13850
13851 * files.el (automount-dir-prefix): Mark as obsolete.
13852
13853 2012-05-04 Glenn Morris <rgm@gnu.org>
13854
13855 * patcomp.el, play/bruce.el: Move to obsolete/.
13856
13857 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13858
13859 Fix minor Y10k bugs.
13860 * arc-mode.el (archive-unixdate):
13861 * autoinsert.el (auto-insert-alist):
13862 * calc/calc-forms.el (math-this-year):
13863 * emacs-lisp/copyright.el (copyright-current-year)
13864 (copyright-update-year, copyright):
13865 * tar-mode.el (tar-clip-time-string):
13866 * time.el (display-time-update):
13867 Don't assume years have 4 digits.
13868
13869 2012-05-04 Chong Yidong <cyd@gnu.org>
13870
13871 * dos-w32.el (file-name-buffer-file-type-alist)
13872 (direct-print-region-use-command-dot-com):
13873 * ffap.el (ffap-menu-regexp):
13874 * find-file.el (ff-special-constructs):
13875 * follow.el (follow-debug):
13876 * forms.el (forms--debug):
13877 * iswitchb.el (iswitchb-all-frames):
13878 * ido.el (ido-all-frames):
13879 * emacs-lisp/timer.el (timer-max-repeats):
13880 * mail/feedmail.el (feedmail-mail-send-hook)
13881 (feedmail-mail-send-hook-queued):
13882 * mail/footnote.el (footnote-signature-separator):
13883 * mail/mailabbrev.el (mail-alias-separator-string)
13884 (mail-abbrev-mode-regexp):
13885 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13886 * progmodes/idlwave.el (idlwave-libinfo-file)
13887 (idlwave-default-completion-case-is-down)
13888 (idlwave-library-routines): Convert defvars to defcustoms.
13889
13890 * mail/rmail.el (rmail-decode-mime-charset):
13891 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13892 (idlwave-shell-fix-inserted-breaks)
13893 (idlwave-shell-activate-alt-keybindings)
13894 (idlwave-shell-use-breakpoint-glyph):
13895 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13896
13897 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13900
13901 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13902
13903 * progmodes/verilog-mode.el (font-lock-keywords):
13904 Fix mis-highligting auto. Reported by Craig Barner.
13905 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13906 defines from global name space. Reported by Dan Dever.
13907 (verilog-auto-reset, verilog-auto-reset-widths)
13908 (verilog-auto-tieoff): Support using unbased numbers for
13909 AUTORESET and AUTOTIEOFF.
13910 (verilog-submit-bug-report): Update variable list.
13911 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13912 parenthesis from not matching. Reported by Michael Rytting.
13913 (verilog-auto-template-lint): Fix hash error when linting modules
13914 with no used templates.
13915 (verilog-warn, verilog-warn-error)
13916 (verilog-warn-fatal): When non-interactive report multiple
13917 warnings before exiting. Suggested by Brad Dobbie.
13918 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13919 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13920 to report unused template errors. Reported by Brad Dobbie.
13921 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13922 nets, bug438. Reported by Vns Blore.
13923 (verilog-auto-inout-module, verilog-auto-reg)
13924 (verilog-read-decls, verilog-read-sub-decls-sig)
13925 (verilog-signals-edit-wire-reg, verilog-signals-with):
13926 Fix passing of Verilog data types in ANSI input/output ports
13927 such as "output logic" into the AUTOs. Special case "wire" and
13928 "reg" for backwards compatibility presuming Verilog 2001.
13929 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13930 (verilog-preprocess): Fix replication of preprocess output.
13931 Reported by Brad Dobbie.
13932 (verilog-auto-inst-interfaced-ports):
13933 Create verilog-auto-inst-interfaced-ports, bug429.
13934 Reported by Julian Gorfajn.
13935 (verilog-after-save-font-hook)
13936 (verilog-before-save-font-hook): New variable.
13937 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13938 (verilog-save-font-mods): Wrap disabling fontification, reported
13939 by David Rogoff.
13940 (verilog-do-indent, verilog-pretty-declarations-auto)
13941 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13942 Reported by Pierre-David Pfister.
13943 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13944 of class declarations, bug292. Reported by Kevin Heilman.
13945 (verilog-read-decls): Fix 'parameter type' not appearing in
13946 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13947 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13948 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13949 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13950 Reported by David Kravitz.
13951
13952 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13953
13954 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13955 assignment with tests in ifs and for loops.
13956 (verilog-extended-complete-re, verilog-complete-reg): Change so
13957 that DPI inport functions don't look like fuction declarations.
13958 (verilog-pretty-expr): Don't line up assignment
13959 operations to the test and increment in if and for loops
13960 (verilog-extended-complete-re, verilog-complete-reg): Change so
13961 that DPI inport functions don't look like fuction declarations.
13962
13963 2012-05-03 Kenichi Handa <handa@m17n.org>
13964
13965 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13966 decoding, and show a warning message without signaling an error
13967 (Bug#11282).
13968
13969 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * emacs-lisp/bytecomp.el
13972 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13973 since cconv.el might have introduced :fun-body, internal-make-closure,
13974 and friends for bytecomp to handle (bug#11391).
13975 * custom.el (defcustom): Avoid ((λ ..) ..).
13976
13977 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13978
13979 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13980
13981 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13982
13983 * notifications.el (dbus-debug):
13984 * term/linux.el (gpm-mouse-enable):
13985 * term/screen.el (xterm-register-default-colors): Declare.
13986
13987 2012-05-02 Chong Yidong <cyd@gnu.org>
13988
13989 * cus-start.el (gc-cons-percentage, exec-suffixes)
13990 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13991 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13992 (make-cursor-line-fully-visible, void-text-area-pointer)
13993 (font-list-limit): Add customization data.
13994
13995 * allout.el (allout-exposure-change-functions)
13996 (allout-structure-added-functions)
13997 (allout-structure-deleted-functions)
13998 (allout-structure-shifted-functions): Rename abnormal hooks from
13999 *-hook, and convert to defcustoms.
14000 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14001 Convert to defcustoms.
14002 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14003
14004 * allout-widgets.el: Hook callers changed.
14005
14006 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14007
14008 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14009 the yanked message in preference to the default value of
14010 buffer-file-coding-system.
14011
14012 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14013
14014 * window.el (display-buffer--action-function-custom-type):
14015 Fix entry.
14016
14017 2012-05-02 Alan Mackenzie <acm@muc.de>
14018
14019 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14020
14021 2012-05-01 Glenn Morris <rgm@gnu.org>
14022
14023 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14024
14025 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14026
14027 * cus-edit.el (custom-variable-documentation): Simplify with format.
14028
14029 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14030 Stefan Monnier <monnier@iro.umontreal.ca>
14031
14032 * simple.el (suggest-key-bindings, execute-extended-command):
14033 Move from keyboard.c.
14034
14035 2012-05-01 Chong Yidong <cyd@gnu.org>
14036
14037 * follow.el: Eliminate advice.
14038 (set-process-filter, process-filter, sit-for): Advice deleted.
14039 (follow-mode-off-hook): Obsolete hook removed.
14040 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14041 Vars deleted.
14042 (follow-auto): Use a :set function.
14043 (follow-mode): Rewritten. Don't advise process filters.
14044 (follow-switch-to-current-buffer-all, follow-scroll-up)
14045 (follow-scroll-down): Assume follow-mode is bound.
14046 (follow-comint-scroll-to-bottom)
14047 (follow-align-compilation-windows): New functions.
14048 (follow--window-sorter): New function.
14049 (follow-all-followers): Use it to explicitly sort windows by their
14050 positions; don't make assumptions about next-window order.
14051 (follow-windows-start-end, follow-delete-other-windows-and-split)
14052 (follow-calc-win-start): Doc fix.
14053 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14054 vertical-motion unnecessarily.
14055 (follow-adjust-window): New function.
14056 (follow-post-command-hook): Use it.
14057 (follow-call-set-process-filter, follow-call-process-filter)
14058 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14059 (follow-stop-intercept-process-output, follow-generic-filter):
14060 Functions deleted.
14061 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14062 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14063 New functions, replacing advice on scroll-bar-* commands.
14064 (follow-mwheel-scroll): New function (Bug#4112).
14065
14066 * comint.el (comint-adjust-point): New function.
14067 (comint-postoutput-scroll-to-bottom): Use it.
14068 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14069
14070 2012-05-01 Glenn Morris <rgm@gnu.org>
14071
14072 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14073 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14074 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14075 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14076 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14077 Remove no-byte-compile setting.
14078
14079 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14080
14081 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14082 all-completions code to not return a number in the last cdr.
14083
14084 2012-04-30 Leo Liu <sdl.web@gmail.com>
14085
14086 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14087 read-only error.
14088
14089 2012-04-29 Chong Yidong <cyd@gnu.org>
14090
14091 * follow.el (follow-calc-win-end): Rewrite to handle partial
14092 screen lines correctly (Bug#8390).
14093 (follow-avoid-tail-recenter): Minor cleanup.
14094
14095 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14096
14097 Avoid the obsolete `assoc' package.
14098 * speedbar.el (speedbar-refresh): Avoid adelete.
14099 (speedbar-file-lists): Simplify and avoid aput.
14100 * man.el (Man--sections, Man--refpages): New vars, replacing
14101 Man-sections-alist and Man-refpages-alist.
14102 (Man-build-section-alist, Man-build-references-alist):
14103 Use them; avoid aput.
14104 (Man--last-section, Man--last-refpage): New vars.
14105 (Man-follow-manual-reference): Use them.
14106 Use the `default' arg of completing-read.
14107 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14108
14109 2012-04-27 Chong Yidong <cyd@gnu.org>
14110
14111 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14112
14113 * startup.el (x-apply-session-resources): New function.
14114
14115 * term/ns-win.el (ns-initialize-window-system):
14116 * term/w32-win.el (w32-initialize-window-system):
14117 * term/x-win.el (x-initialize-window-system): Use it to properly
14118 set menu-bar-mode and other vars from X resources, even if the
14119 initial frame is not a window-system frame (Bug#2299).
14120
14121 * subr.el (read-key): Avoid running filter function when setting
14122 up temporary tool bar entries (Bug#9922).
14123
14124 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14125
14126 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14127 (Bug#11344)
14128
14129 2012-04-27 Chong Yidong <cyd@gnu.org>
14130
14131 * select.el (xselect--encode-string): New function, split from
14132 xselect-convert-to-string.
14133 (xselect-convert-to-string): Use it.
14134 (xselect-convert-to-filename, xselect-convert-to-os)
14135 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14136 returned strings are properly encoded (Bug#11315).
14137
14138 2012-04-27 Chong Yidong <cyd@gnu.org>
14139
14140 * simple.el (delete-active-region): Move to killing custom group.
14141
14142 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14143
14144 * progmodes/which-func.el (which-func-current): Quote %
14145 characters for mode-line processing.
14146
14147 2012-04-27 Chong Yidong <cyd@gnu.org>
14148
14149 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14150 reaching eob (Bug#11286).
14151
14152 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14153
14154 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14155 (gdb): Make it buffer-local and init to zero.
14156 (gdb-control-commands-regexp): New variable.
14157 (gdb-send): Don't wrap in "-interpreter-exec console" if
14158 gdb-control-level is positive. Increment gdb-control-level
14159 whenever the command matches gdb-control-commands-regexp, and
14160 decrement it each time the command is "end". (Bug#11279)
14161
14162 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14163
14164 * window.el (adjust-window-trailing-edge, enlarge-window)
14165 (shrink-window, window-resize):
14166 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14167 windows (Bug#11276).
14168
14169 2012-04-27 Chong Yidong <cyd@gnu.org>
14170
14171 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14172 fix "missing prefix" warning. All callers changed.
14173
14174 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14175
14176 * emacs-lisp/assoc.el: Move to obsolete/.
14177
14178 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14179
14180 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14181
14182 * term/ns-win.el (ns-define-service):
14183 * progmodes/pascal.el (pascal-goto-defun):
14184 * progmodes/js.el (js--read-tab):
14185 * progmodes/etags.el (tags-lazy-completion-table):
14186 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14187 * emacs-lisp/ewoc.el (ewoc--wrap):
14188 * emacs-lisp/assoc.el (aput, adelete, amake):
14189 * doc-view.el (doc-view-convert-current-doc):
14190 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14191
14192 2012-04-26 Chong Yidong <cyd@gnu.org>
14193
14194 * image.el (image-type-from-buffer): Only return supported image
14195 type (Bug#9045).
14196
14197 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14198 value, for symmetry with diff-end-of-hunk.
14199 (diff-split-hunk, diff-find-source-location)
14200 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14201 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14202 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14203 compute the relevant hunk or file properly (Bug#6005).
14204 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14205
14206 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14207
14208 * vc/vc-mtn.el:
14209 * vc/vc-hg.el:
14210 * vc/vc-git.el:
14211 * vc/vc-dir.el:
14212 * vc/vc-cvs.el:
14213 * vc/vc-bzr.el:
14214 * vc/vc-arch.el:
14215 * vc/vc.el: Replace lexical-let by lexical-binding.
14216 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14217 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14218 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14219
14220 2012-04-26 Chong Yidong <cyd@gnu.org>
14221
14222 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14223 (diff-mode-shared-map): Bind it to / and [remap undo].
14224
14225 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14226 (ediff-window-setup-function): Use it as the default, to set up
14227 windows based on whether the current frame is graphical (Bug#2138).
14228 (ediff-choose-window-setup-function-automatically): Make obsolete.
14229
14230 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14231
14232 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14233
14234 * ffap.el: Remove old code for obsolete package.
14235 (ffap-complete-as-file-p): Remove.
14236
14237 Use completion-table-with-quoting for comint and pcomplete.
14238 * comint.el (comint--unquote&requote-argument)
14239 (comint--unquote-argument, comint--requote-argument): New functions.
14240 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14241 (comint-quote-filename): Use regexp-opt-charset.
14242 (comint--common-suffix, comint--common-quoted-suffix)
14243 (comint--table-subvert): Remove.
14244 (comint-unquote-function, comint-requote-function): New vars.
14245 (comint--complete-file-name-data): Use them with
14246 completion-table-with-quoting.
14247 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14248 * pcomplete.el (pcomplete-arg-quote-list)
14249 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14250 (pcomplete-unquote-argument-function): Default to non-nil.
14251 (pcomplete-unquote-argument): Simplify.
14252 (pcomplete--common-quoted-suffix): Remove.
14253 (pcomplete-requote-argument-function): New var.
14254 (pcomplete--common-suffix): New function.
14255 (pcomplete-completions-at-point): Use completion-table-with-quoting
14256 and completion-table-subvert.
14257
14258 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14259 (minibuffer--double-dollars): Preserve properties.
14260 (completion--sifn-requote): New function.
14261 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14262
14263 * minibuffer.el: Add support for completion of quoted/escaped data.
14264 (completion-table-with-quoting, completion-table-subvert): New funs.
14265 (completion--twq-try, completion--twq-all): New functions.
14266 (completion--nth-completion): New function.
14267 (completion-try-completion, completion-all-completions): Use it.
14268
14269 2012-04-25 Leo Liu <sdl.web@gmail.com>
14270
14271 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14272 Use compilation-message if available to find real filename.
14273
14274 2012-04-25 Chong Yidong <cyd@gnu.org>
14275
14276 * vc/diff-mode.el (diff-setup-whitespace): New function.
14277 (diff-mode): Use it.
14278
14279 * vc/diff.el (diff-sentinel):
14280 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14281 Whitespace mode variables based on diff style (Bug#8612).
14282
14283 2012-04-25 Leo Liu <sdl.web@gmail.com>
14284
14285 * progmodes/python.el (python-send-region): Add suffix .py to the
14286 temp file.
14287
14288 * files.el (auto-mode-alist): Use javascript-mode instead.
14289
14290 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14291
14292 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14293
14294 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14295 (soap-resolve-references-for-array-type): Hack to prevent self
14296 references, see Bug#9.
14297 (soap-parse-envelope): Report the contents of the 'detail' node
14298 when receiving a fault reply.
14299 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14300
14301 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14302 (soap-inspect-simple-type): New function.
14303
14304 * net/soap-client.el (soap-simple-type): New struct.
14305 (soap-default-xsd-types, soap-default-soapenc-types)
14306 (soap-decode-basic-type, soap-encode-basic-type):
14307 support unsignedInt and double basic types.
14308 (soap-resolve-references-for-simple-type)
14309 (soap-parse-simple-type, soap-encode-simple-type): New function.
14310 (soap-parse-schema): Parse xsd:simpleType declarations.
14311
14312 * net/soap-client.el (soap-default-xsd-types)
14313 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14314 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14315 the local name of "soapenc:Array".
14316 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14317 decoding integer, byte and anyURI xsd types.
14318
14319 2012-04-25 Chong Yidong <cyd@gnu.org>
14320
14321 * cus-edit.el (custom-buffer-create-internal): Update header text.
14322
14323 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14324
14325 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14326 settings on 'system-type', not on 'window-system'. On MS-Windows,
14327 set interactive-mode on in GDB.
14328
14329 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14330
14331 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14332 (ruby-syntax-propertize-regexp): Remove.
14333 (ruby-syntax-propertize-function): Split regexp into chunks.
14334 Match following code directly.
14335
14336 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14337
14338 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14339 (ruby-syntax-propertize-regexp): New function.
14340 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14341 by a special keyword.
14342
14343 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14344 (ruby-syntax-general-delimiters-goto-beg)
14345 (ruby-syntax-propertize-general-delimiters): New functions.
14346 (ruby-syntax-propertize-function): Use them to handle GDL.
14347 (ruby-font-lock-keywords): Move old handling of GDL...
14348 (ruby-font-lock-syntactic-keywords): .. to here.
14349 (ruby-calculate-indent): Adjust indentation for GDL.
14350
14351 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14352
14353 * notifications.el (top): Remove unneeded declarations.
14354 (notifications-specification-version): Change to "1.2".
14355 (notifications-interface, notifications-notify-method)
14356 (notifications-close-notification-method): Fix docstring.
14357 (notifications-get-capabilities-method): New defconst.
14358 (notifications-notify): Add :action-items, :resident and
14359 :transient hints. Change "image_data" to "image-data" and
14360 "image_path" to "image-path".
14361 (notifications-get-capabilities): New defun.
14362
14363 2012-04-24 Leo Liu <sdl.web@gmail.com>
14364
14365 * progmodes/python.el: Move hideshow setup to the end.
14366
14367 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14368
14369 * window.el (handle-select-window): Clear echo area since this is
14370 no more done by read_char (Bug#11304).
14371
14372 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14373
14374 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14375 and `/ M' to filter-derived-mode.
14376 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14377 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14378 (ibuffer-mark-by-mode): Use default rather than initial-input.
14379 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14380
14381 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14382
14383 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14384 (ibuffer-filter-by-derived-mode): New filter.
14385 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14386
14387 2012-04-23 Andreas Politz <politza@fh-trier.de>
14388
14389 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14390
14391 2012-04-23 Chong Yidong <cyd@gnu.org>
14392
14393 * cus-edit.el (customize-apropos, customize-apropos-options):
14394 Disable matching of non-option variables (Bug#11176).
14395 (customize-option, customize-option-other-window)
14396 (customize-changed-options): Doc fix.
14397 (customize-apropos-options, customize-apropos-faces)
14398 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14399
14400 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14401 Fix word list splitting (Bug#11132).
14402 (apropos-symbol, apropos-keybinding, apropos-label)
14403 (apropos-property, apropos-function-button)
14404 (apropos-variable-button, apropos-misc-button): New faces.
14405 (apropos-symbol-face, apropos-keybinding-face)
14406 (apropos-label-face, apropos-property-face, apropos-match-face):
14407 Variables removed (Bug#8396).
14408 (apropos-library-button, apropos-format-plist, apropos-print)
14409 (apropos-print-doc, apropos-describe-plist): Callers changed.
14410
14411 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14412
14413 * net/xesam.el (xesam-mode-map): Use let-bound map in
14414 initialization. (Bug#11292)
14415
14416 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14417
14418 Preserve ispell session localwords when switching back to
14419 original buffer.
14420
14421 * textmodes/ispell.el (ispell-buffer-session-localwords):
14422 New buffer-local variable to hold buffer session localwords.
14423 (ispell-kill-ispell): Add option 'clear to delete session
14424 localwords.
14425 (ispell-command-loop, ispell-change-dictionary)
14426 (ispell-buffer-local-words): Preserve session localwords when
14427 needed.
14428
14429 * textmodes/flyspell.el (flyspell-process-localwords)
14430 (flyspell-do-correct): Preserve session localwords when needed.
14431
14432 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14433
14434 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14435 using obsolete `translation-table-for-input'.
14436 (ispell-word, ispell-process-line, ispell-complete-word):
14437 Use plain `insert' instead of removed `ispell-insert-word'.
14438
14439 2012-04-22 Chong Yidong <cyd@gnu.org>
14440
14441 * cus-edit.el (custom-variable-menu)
14442 (custom-variable-reset-saved, custom-face-menu)
14443 (custom-face-reset-saved): If there is no saved value, make the
14444 "reset-saved" operation bring back the default (Bug#9509).
14445 (custom-face-state): Properly detect themed faces.
14446
14447 * faces.el (face-spec-set): Stop supporting deprecated form of
14448 third arg.
14449
14450 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14451
14452 Move functions from C to Lisp. Make non-blocking method calls
14453 the default. Implement further D-Bus standard interfaces.
14454
14455 * net/dbus.el (dbus-message-internal): Declare function.
14456 Remove unneeded function declarations.
14457 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14458 (dbus-message-type-method-return, dbus-message-type-error)
14459 (dbus-message-type-signal): Declare variables. Remove local
14460 definitions.
14461 (dbus-interface-dbus, dbus-interface-peer)
14462 (dbus-interface-introspectable, dbus-interface-properties)
14463 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14464 Adapt docstring.
14465 (dbus-interface-objectmanager): New defconst.
14466 (dbus-call-method, dbus-call-method-asynchronously)
14467 (dbus-send-signal, dbus-method-return-internal)
14468 (dbus-method-error-internal, dbus-register-service)
14469 (dbus-register-signal, dbus-register-method): New defuns, moved
14470 from dbusbind.c
14471 (dbus-call-method-handler, dbus-setenv)
14472 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14473 New defuns.
14474 (dbus-call-method-non-blocking): Make it an obsolete function.
14475 (dbus-unregister-object, dbus-unregister-service)
14476 (dbus-handle-event, dbus-register-property)
14477 (dbus-property-handler): Obey the new structure of
14478 `bus-registered-objects'.
14479 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14480 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14481 Use `dbus-call-method'.
14482
14483 2012-04-22 Chong Yidong <cyd@gnu.org>
14484
14485 * cus-edit.el (custom-commands, custom-reset-menu)
14486 (Custom-reset-standard): Tweak labels.
14487 (custom-reset-button-menu): Change default to t.
14488 (custom-buffer-create-internal): For the custom-reset-button-menu
14489 case, put the revert button first.
14490 (custom-group-subtitle): New face.
14491 (custom-group-value-create): Align docstring to a specific column.
14492
14493 * wid-edit.el (widget-documentation-link-add): Don't handle
14494 indentation in this function.
14495 (widget-documentation-string-indent-to): New function.
14496 (widget-documentation-string-value-create): Use it.
14497
14498 * autorevert.el (auto-revert):
14499 * epg-config.el (epg):
14500 * ibuffer.el (ibuffer):
14501 * mpc.el (mpc):
14502 * ses.el (ses):
14503 * eshell/eshell.el (eshell):
14504 * net/ange-ftp.el (ange-ftp):
14505 * progmodes/ebnf2ps.el (postscript):
14506 * progmodes/flymake.el (flymake):
14507 * progmodes/prolog.el (prolog):
14508 * progmodes/verilog-mode.el (verilog-mode):
14509 * progmodes/which-func.el (which-func):
14510 * term/xterm.el (xterm):
14511 * textmodes/picture.el (picture):
14512 * textmodes/tildify.el (tildify):
14513 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14514 customization buffers.
14515
14516 2012-04-22 Alan Mackenzie <acm@muc.de>
14517
14518 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14519 Adding a ) can hide the resulting (..) from searches. Fix it.
14520 Bound the backward search to the position of the existing (.
14521
14522 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14523
14524 * progmodes/verilog-mode.el (verilog-mode): Check whether
14525 which-func-modes is t before adding verilog-mode.
14526 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14527
14528 2012-04-21 Leo Liu <sdl.web@gmail.com>
14529
14530 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14531
14532 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14533
14534 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14535 filling of the last column of a table (Bug#5635).
14536 (woman-find-next-control-line): New arg, specifying an additional
14537 regexp component for the control line.
14538 (woman2-roff-buffer): Use it.
14539 (woman-break-table): New function.
14540 (woman2-TS): Use it.
14541
14542 2012-04-21 Chong Yidong <cyd@gnu.org>
14543
14544 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14545 (woman-horizontal-escapes, woman-negative-vertical-space)
14546 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14547 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14548
14549 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14550
14551 * minibuffer.el (completion-file-name-table): Complete user names.
14552
14553 2012-04-20 Leo Liu <sdl.web@gmail.com>
14554
14555 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14556 and pcase-let*.
14557
14558 2012-04-20 Chong Yidong <cyd@gnu.org>
14559
14560 * server.el (server-execute): Respect initial-buffer-choice if it
14561 is a string and there are no files to open (Bug#2825).
14562 (server-create-window-system-frame, server-create-tty-frame):
14563 Don't switch buffers here.
14564 (server-process-filter): Only try to open a window system frame if
14565 compiled with graphical support (Bug#8314).
14566
14567 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14568
14569 * battery.el (battery-echo-area-format): Display remaining time
14570 for sysfs backend too (Bug#11269).
14571 (battery-linux-sysfs): Fix conditional for the charge.
14572
14573 2012-04-20 Chong Yidong <cyd@gnu.org>
14574
14575 * progmodes/gdb-mi.el (gdb): Revert previous change.
14576 (gdb-inferior-io--init-proc): New function.
14577 (gdb-init-1): Use it.
14578 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14579 responsible for allocating a new pty and hooking it to gdb when
14580 the old pty gets an EIO due to process exit.
14581 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14582 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14583 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14584
14585 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14586
14587 * window.el (window-min-size, window-sizable, window-min-delta)
14588 (window-max-delta, window--resizable, window-resizable)
14589 (window-total-size, window-full-height-p, window-full-width-p)
14590 (window-in-direction, window--resize-mini-window, window-resize)
14591 (window--resize-child-windows-normal)
14592 (window--resize-child-windows, window--resize-siblings)
14593 (window--resize-this-window, adjust-window-trailing-edge)
14594 (enlarge-window, shrink-window): Doc fixes.
14595
14596 2012-04-20 Chong Yidong <cyd@gnu.org>
14597
14598 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14599 New function to call delete-process on the gdb-inferior buffer's pty.
14600 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14601 pty process (Bug#11273).
14602 (gdb-update): New arg to suppress talking to the gdb process.
14603 (gdb-done-or-error): Use it.
14604 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14605 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14606 sentinel not being called.
14607
14608 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14609
14610 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14611
14612 2012-04-20 Glenn Morris <rgm@gnu.org>
14613
14614 * net/network-stream.el (open-network-stream): Doc fix.
14615
14616 2012-04-20 Chong Yidong <cyd@gnu.org>
14617
14618 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14619
14620 2012-04-20 Alan Mackenzie <acm@muc.de>
14621
14622 Ensure searching for keywords is case sensitive.
14623
14624 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14625 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14626 (c-defun-name, c-mark-function, c-cpp-define-name)
14627 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14628 (c-context-line-break): Bind case-fold-search to nil.
14629
14630 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14631 Bind case-fold-search to nil.
14632
14633 2012-04-20 Chong Yidong <cyd@gnu.org>
14634
14635 * mail/sendmail.el (mail-bury): Call return action with the right
14636 Rmail buffer (Bug#11242).
14637
14638 * server.el (server-process-filter): Handle corner case where both
14639 tty and nowait options are present (Bug#11102).
14640
14641 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14642
14643 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14644 (top level): Put into the executable the ident-style '$Id:' tag on
14645 windows-nt as well.
14646
14647 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14648
14649 * electric.el (electric-indent-post-self-insert-function): Check that
14650 electric-indent-mode is enabled in current buffer.
14651
14652 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14653
14654 * imenu.el (imenu-progress-message): Restore; it is "used" in
14655 erc/erc-imenu.el and net/snmp-mode.el.
14656
14657 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14658
14659 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14660 (mouse-avoidance-nudge-mouse): Remove unused binding.
14661
14662 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14663
14664 * descr-text.el (describe-char):
14665 * progmodes/python.el (python-describe-symbol):
14666 Don't call `toggle-read-only', set `buffer-read-only'.
14667
14668 * imenu.el (imenu-default-goto-function): Mark unused args.
14669 (imenu-progress-message): Remove obsolete macro; all callers changed.
14670
14671 * subr.el (keymap-canonicalize): Remove unused binding.
14672 (read-passwd): Mark unused arg.
14673
14674 * tutorial.el (tutorial--display-changes): Remove unused binding.
14675 (tutorial--save-tutorial-to): Remove unused variable.
14676
14677 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14678 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14679 (package-generate-autoloads, package-menu--generate)
14680 (package-menu--find-upgrades): Remove unused bindings.
14681
14682 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14683 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14684 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14685 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14686 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14687 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14688 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14689 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14690 (cua-delete-char-rectangle): Mark unused args.
14691 (cua-align-rectangle): Remove unused binding.
14692
14693 * mail/rmail.el (compilation--message->loc)
14694 (epa--find-coding-system-for-mime-charset): Declare.
14695
14696 * net/dbus.el (dbus-register-service): Declare.
14697 (dbus-name-owner-changed-handler): Remove unused binding.
14698
14699 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14700 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14701 (nxml-scan-backward-within): Mark unused arg.
14702 (nxml-dynamic-markup-word): Remove unused binding.
14703
14704 * mouse.el (mouse-menu-major-mode-map):
14705 * emacs-lisp/authors.el (authors-scan-change-log)
14706 (authors-add-to-author-list):
14707 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14708 * emacs-lisp/smie.el (smie-auto-fill):
14709 * mail/sendmail.el (mail-bury):
14710 * mail/unrmail.el (unrmail):
14711 * net/tls.el (open-tls-stream):
14712 * textmodes/picture.el (picture-mouse-set-point):
14713 Remove unused bindings.
14714
14715 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14716
14717 * net/tramp.el (tramp-action-password): Let-bind
14718 `enable-recursive-minibuffers' to t.
14719
14720 2012-04-18 Sam Steingold <sds@gnu.org>
14721
14722 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14723 instead of 'string to accommodate values like [f11].
14724 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14725 * progmodes/gdb-mi.el: Likewise.
14726
14727 2012-04-18 Leo Liu <sdl.web@gmail.com>
14728
14729 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14730 current buffer.
14731 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14732 LOCAL is nil.
14733
14734 2012-04-18 Chong Yidong <cyd@gnu.org>
14735
14736 * simple.el (line-move): Use forward-line if in batch mode
14737 (Bug#11053).
14738
14739 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14740
14741 * files.el (after-find-file): Do not try to add a final newline if
14742 the buffer is read-only (Bug#11156).
14743
14744 2012-04-17 Richard Stallman <rms@gnu.org>
14745
14746 * mail/rmail.el (rmail-start-mail):
14747 Pass (rmail-mail-return...) for the return-action.
14748 Pass (rmail-yank-current-message...) for the yank-action.
14749 (rmail-yank-current-message): New function.
14750 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14751 (rmail-reply): Likewise.
14752 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14753
14754 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14755 buffer, not the last. Reject temp buffers. Use the rmail-mode
14756 buffer, not newbuf.
14757
14758 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14759
14760 * server.el (server-ensure-safe-dir): Simplify.
14761
14762 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14763
14764 * emacs-lisp/smie.el: Provide smarter auto-filling.
14765 (smie-auto-fill): New function.
14766 (smie-setup): Use it.
14767
14768 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14769
14770 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14771
14772 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14773 (comment-indent): Use it.
14774
14775 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14776
14777 * ses.el: The overall change is to add cell renaming, that is
14778 setting fancy names for cell symbols other than name matching
14779 "\\`[A-Z]+[0-9]+\\'" regexp .
14780 (ses-localvars): Add ses--renamed-cell-symb-list.
14781 (ses-create-cell-variable): New defun.
14782 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14783 (ses-relocate-formula): Relocate formulas only for cells the
14784 symbols of which are not renamed, i.e. symbols whose names do not
14785 match regexp "\\`[A-Z]+[0-9]+\\'".
14786 (ses-relocate-all): Relocate values only for cells the symbols of
14787 which are not renamed.
14788 (ses-load): Create cells variables as the (ses-cell ...) are read,
14789 in order to check row col consistency with cell symbol name only
14790 for cells that are not renamed.
14791 (ses-replace-name-in-formula): New defun.
14792 (ses-rename-cell): New defun.
14793
14794 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14795
14796 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14797 New option (bug#11118).
14798 (perl-calculate-indent): Respect it.
14799
14800 2012-04-17 Glenn Morris <rgm@gnu.org>
14801
14802 * dired-aux.el (dired-mark-read-string): Doc fix.
14803
14804 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14805
14806 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14807 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14808
14809 2012-04-17 Glenn Morris <rgm@gnu.org>
14810
14811 * mouse.el (mouse-drag-track):
14812 * speedbar.el (speedbar-frame-mode):
14813 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14814
14815 2012-04-16 Leo Liu <sdl.web@gmail.com>
14816
14817 * progmodes/python.el: Trivial cleanup.
14818
14819 2012-04-16 Glenn Morris <rgm@gnu.org>
14820
14821 * vc/vc.el (vc-string-prefix-p):
14822 * vc/pcvs-util.el (cvs-string-prefix-p):
14823 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14824 * mpc.el (mpc-string-prefix-p):
14825 Make all of these into obsolete aliases for string-prefix-p.
14826 Update callers.
14827 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14828
14829 * textmodes/two-column.el: Move custom options to the start.
14830 (frame-width): Remove compat definition.
14831 (2C-associate-buffer, 2C-dissociate):
14832 Use with-current-buffer rather than save-excursion.
14833 (2C-dissociate): Force a mode-line update.
14834 (2C-autoscroll): Use ignore-errors.
14835
14836 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14837 Autoload trivia.
14838
14839 * emacs-lisp/cl-extra.el (*random-state*):
14840 Remove unnecessary declaration.
14841
14842 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14843
14844 * play/cookie1.el (cookie-snarf):
14845 Give an explicit error if input file cannot be read.
14846
14847 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14848
14849 * progmodes/perl-mode.el (c-macro-expand):
14850 Remove unnecessary autoload (it is in loaddefs.el).
14851
14852 * textmodes/picture.el (picture-desired-column)
14853 (picture-update-desired-column): Convert comments to doc-strings.
14854 (picture-substitute): Remove function.
14855 (picture-mode-map): Initialize in the defvar.
14856
14857 * woman.el: Remove eval-after-load for tar-mode.
14858 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14859 (woman-tar-extract-file): Autoload it.
14860
14861 * frame.el (automatic-hscrolling): Make this alias obsolete.
14862
14863 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14864
14865 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14866 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14867 (ispell-dictionary-base-alist): Revert to original XEmacs
14868 friendly version for default. [:alpha:] will be added in
14869 `ispell-set-spellchecker-params' if needed.
14870
14871 2012-04-16 Chong Yidong <cyd@gnu.org>
14872
14873 * image.el (imagemagick--file-regexp): New variable.
14874 (imagemagick-register-types): Use it.
14875 (imagemagick-types-inhibit): Add :set function. Allow new value
14876 of t to inhibit all types.
14877
14878 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14879 so we can preload it.
14880
14881 * loadup.el (fboundp): Preload regexp-opt, needed by
14882 imagemagick-register-types.
14883
14884 2012-04-15 Chong Yidong <cyd@gnu.org>
14885
14886 * frame.el (scrolling): Remove nearly unused customization group.
14887
14888 * scroll-all.el (scroll-all-mode): Move to windows group.
14889
14890 2012-04-15 Chong Yidong <cyd@gnu.org>
14891
14892 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14893
14894 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14895
14896 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14897 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14898
14899 2012-04-15 Glenn Morris <rgm@gnu.org>
14900
14901 * simple.el (process-file-side-effects): Doc fix.
14902
14903 2012-04-15 Glenn Morris <rgm@gnu.org>
14904
14905 * international/mule-cmds.el (set-language-environment): Doc fix.
14906
14907 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14908
14909 * server.el (server-auth-key, server-generate-key): Doc fixes.
14910 (server-get-auth-key): Doc fix. Use `string-match-p'.
14911 (server-start): Reflow docstring.
14912
14913 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14914
14915 * server.el (server-generate-key): `called-interactively-p'
14916 requires a parameter.
14917
14918 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14919
14920 * server.el (server-auth-key): New variable.
14921 (server-generate-key, server-get-auth-key): New function.
14922 (server-start): Use the new variable and functions to allow
14923 setting a permanent server key (bug#9423).
14924
14925 2012-04-14 Leo Liu <sdl.web@gmail.com>
14926
14927 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14928
14929 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14930
14931 Spelling fixes.
14932 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14933 Emacs uses American spelling.
14934
14935 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14936
14937 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14938 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14939 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14940 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14941
14942 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14943
14944 * progmodes/which-func.el (which-func-modes): Change default.
14945
14946 2012-04-14 Kim F. Storm <storm@cua.dk>
14947
14948 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14949 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14950
14951 2012-04-14 Chong Yidong <cyd@gnu.org>
14952
14953 * custom.el (custom-theme-set-variables): Doc fix.
14954
14955 2012-04-14 Glenn Morris <rgm@gnu.org>
14956
14957 * international/mule.el (set-auto-coding-for-load): Doc fix.
14958
14959 2012-04-14 Alan Mackenzie <acm@muc.de>
14960
14961 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14962 imenu work again for Objective C Mode. Correct the *-index values,
14963 these having been disturbed by a previous change in 2011-08.
14964
14965 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14966 Correct two search limits.
14967
14968 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14971
14972 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14973
14974 * international/characters.el: Fix sorting.
14975
14976 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14977
14978 * international/characters.el: Add more missing Latin case pairs.
14979
14980 2012-04-14 Glenn Morris <rgm@gnu.org>
14981
14982 * files.el (dir-locals-set-class-variables): Doc fix.
14983
14984 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14985
14986 * international/characters.el: Add set-case-syntax-pair call for
14987 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14988 counterpart. (Bug#11209)
14989
14990 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14991
14992 2012-04-14 Glenn Morris <rgm@gnu.org>
14993
14994 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14995
14996 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14997
14998 * textmodes/ispell.el (ispell-dictionary-base-alist):
14999 Add data for Hebrew.
15000
15001 2012-04-14 Chong Yidong <cyd@gnu.org>
15002
15003 * net/rcirc.el (rcirc-cmd-quit):
15004 Revert 2012-03-18 change (Bug#11192).
15005
15006 2012-04-14 Glenn Morris <rgm@gnu.org>
15007
15008 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15009
15010 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15011
15012 * minibuffer.el (completion-in-region-mode-map):
15013 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15014
15015 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15016
15017 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15018
15019 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15020
15021 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15022 to allow `C-M-f' and `C-M-b' to move to the nearest path
15023 separator (bug#9511).
15024
15025 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15026
15027 * avoid.el: Require cl when compiling. And also move the
15028 `provide' to the end.
15029
15030 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15031
15032 * avoid.el (mouse-avoidance-banish-position): New variable.
15033 (mouse-avoidance-banish-destination): Use it (bug#10165).
15034
15035 2012-04-13 Leo Liu <sdl.web@gmail.com>
15036
15037 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15038
15039 2012-04-13 Ken Brown <kbrown@cornell.edu>
15040
15041 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15042 this is no longer needed now that cygstart understands file:// URLs.
15043 (browse-url-filename-alist): For the same reason, don't modify
15044 file:// URLs on Cygwin.
15045
15046 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15047
15048 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15049 the region on shift if the binding is already shifted (bug#11221).
15050
15051 2012-04-12 Glenn Morris <rgm@gnu.org>
15052
15053 * mail/mailpost.el: Move to obsolete/.
15054
15055 2012-04-12 Drew Adams <drew.adams@oracle.com>
15056
15057 * imenu.el (imenu--generic-function): Ignore invisible definitions
15058 (bug#10123).
15059
15060 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15061
15062 * hexl.el (hexl-bits): New variable.
15063 (hexl-options): Mention the variable in the doc string.
15064 (hexl-rulerise, hexl-line-displen): New functions.
15065 (hexl-mode): Mention the new variable.
15066 (hexl-mode, hexl-current-address, hexl-current-address):
15067 Use the displen.
15068 (hexl-ascii-start-column): New function.
15069 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15070 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15071
15072 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15073
15074 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15075 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15076 the encoding, as expected by hunspell.
15077
15078 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15079
15080 * battery.el (battery--linux-sysfs-regexp): New const.
15081 (battery-status-function): Use it. Remove yeeloong special case.
15082 (battery-yeeloong-sysfs): Remove.
15083 (battery-echo-area-format): Remove yeeloong special case.
15084
15085 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15086
15087 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15088 Reported by Noah Friedman.
15089
15090 * subr.el (read-passwd): Use read-string.
15091
15092 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15093
15094 * vcursor.el (vcursor-move): Increase the priority of the overlay
15095 (bug#9663).
15096
15097 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15098
15099 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15100 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15101
15102 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15103
15104 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15105 define-minor-mode (bug#10760).
15106
15107 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15108
15109 * progmodes/grep.el (rgrep): Tweak the find command line so
15110 that directories matching `grep-find-ignored-files' won't be
15111 pruned (bug#10351).
15112
15113 2012-04-11 Chong Yidong <cyd@gnu.org>
15114
15115 * startup.el (command-line): Remove support for long-obsolete
15116 variable font-lock-face-attributes.
15117
15118 2012-04-11 Glenn Morris <rgm@gnu.org>
15119
15120 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15121
15122 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15123
15124 * window.el (window--state-get-1): Obey window-point-insertion-type.
15125
15126 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15127
15128 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15129 to previous function when point is on the first character of a
15130 function. Take care of that in `narrow-to-defun' (bug#6157).
15131
15132 2012-04-11 Glenn Morris <rgm@gnu.org>
15133
15134 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15135 not just file-errors.
15136
15137 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15138 (vc-bzr-sha1): Use internal sha1.
15139
15140 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15141
15142 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15143
15144 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15145
15146 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15147 that start in the middle of the line (bug#10496).
15148
15149 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15150
15151 * battery.el (battery-linux-proc-acpi): Only one battery is
15152 discharged at a time, but that seems to confuse battery.el when
15153 computing `rate-type' for the battery not being discharged
15154 (bug#10332).
15155
15156 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15157
15158 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15159
15160 * international/quail.el: Use dolist and simplify.
15161 (quail-define-package, quail-update-keyboard-layout)
15162 (quail-define-rules): Use dolist.
15163 (quail-insert-kbd-layout, quail-get-translation): CSE.
15164
15165 * tmm.el: Use dolist, remove left over hook.
15166 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15167 Use dolist.
15168 (calendar-load-hook): Don't mess with it.
15169
15170 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15171 Use derived-mode-p. Run the diff asynchronously.
15172
15173 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15174
15175 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15176
15177 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15178
15179 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15180 (list-dynamic-libraries--loaded): New function.
15181 (list-dynamic-libraries--refresh): Use it.
15182
15183 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15184
15185 * progmodes/python.el (python-fill-paragraph):
15186 Make python-fill-region in a multiline string work when font-lock is
15187 disabled (bug#7018).
15188
15189 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15190
15191 * language/european.el (cp775): Add oem/legacy (en)coding on
15192 DOS/MS Windows for the Baltic languages. There are still plenty
15193 of texts written in this encoding/codepage (bug#6519).
15194
15195 2012-04-10 Glenn Morris <rgm@gnu.org>
15196
15197 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15198 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15199
15200 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15201
15202 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15203 next-line "n" and previous-line "p" in order to make recentf more
15204 consistent with ibuffer, dired or org-mode (bug#9387).
15205
15206 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15207
15208 * image.el (put-image): Return the overlay created instead of the
15209 optional input string (bug#7834). Note that this may break code
15210 that is (for some reason or other) depending on `put-image'
15211 returning the string.
15212
15213 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15214
15215 * simple.el (zap-to-char): Allow zapping using input methods
15216 (bug#1580).
15217
15218 * textmodes/fill.el (fill-region): Leave point and mark where they
15219 were before filling (bug#5399).
15220
15221 2012-04-09 Glenn Morris <rgm@gnu.org>
15222
15223 * version.el (emacs-bzr-get-version):
15224 Handle lightweight checkouts of local branches.
15225
15226 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15227
15228 * international/characters.el: Recover lost case pairs. (Bug#11209)
15229
15230 2012-04-09 Chong Yidong <cyd@gnu.org>
15231
15232 * custom.el (custom-variable-p): Return nil for non-symbol
15233 arguments instead of signaling an error.
15234 (user-variable-p): Obsolete alias for custom-variable-p.
15235
15236 * apropos.el (apropos-variable):
15237 * files-x.el (read-file-local-variable):
15238 * simple.el (set-variable):
15239 * woman.el (woman-mini-help):
15240 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15241
15242 2012-04-09 Glenn Morris <rgm@gnu.org>
15243
15244 * startup.el (normal-top-level): Don't look for leim-list.el
15245 in places where it will not be found. (Bug#910)
15246
15247 * international/mule-cmds.el (set-default-coding-systems):
15248 * files.el (normal-mode):
15249 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15250 This function was removed with ucs-tables.el in 2008.
15251
15252 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15253
15254 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15255 ispell-encoding8-command to "-i", without a trailing space.
15256 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15257 separate command-line arguments, to specify the encoding, since
15258 that's how hunspell expects it.
15259
15260 2012-04-08 Glenn Morris <rgm@gnu.org>
15261
15262 * loadup.el: Load bindings before cus-start.
15263 This reduces somewhat the number of "rogue" settings in emacs -Q.
15264
15265 2012-04-07 Glenn Morris <rgm@gnu.org>
15266
15267 * version.el (emacs-bzr-get-version): New function.
15268 (emacs-bzr-version): New variable.
15269 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15270 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15271
15272 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15273
15274 * international/uni-bidi.el, international/uni-category.el:
15275 * international/uni-combining.el, international/uni-decimal.el:
15276 * international/uni-decomposition.el, international/uni-digit.el:
15277 * international/uni-lowercase.el, international/uni-mirrored.el:
15278 * international/uni-name.el, international/uni-numeric.el:
15279 * international/uni-titlecase.el, international/uni-uppercase.el:
15280 Update for Unicode 6.1.
15281
15282 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15283
15284 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15285
15286 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15287
15288 * window.el (shrink-window): Mention the `window-min-height'
15289 variable in the doc string.
15290
15291 2012-04-05 Bastien Guerry <bzg@altern.org>
15292
15293 * color.el (color-lighten-name): Fix typo.
15294
15295 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15296
15297 * server.el (server--on-display-p): New function.
15298 (server--on-display-p): Use it.
15299
15300 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15301
15302 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15303 (bug#11145).
15304
15305 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15306
15307 * comint.el (comint--common-quoted-suffix): Check string boundary
15308 before comparing (bug#11158).
15309 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15310
15311 2012-04-04 Chong Yidong <cyd@gnu.org>
15312
15313 * minibuffer.el (completion-extra-properties): Doc fix.
15314
15315 * subr.el (delayed-warnings-hook): Doc fix.
15316
15317 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15318
15319 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15320 selection (Bug#11159).
15321 (epa-insert-keys): Inform that the default public key will be
15322 exported if no key is selected.
15323
15324 2012-04-04 Richard Stallman <rms@gnu.org>
15325
15326 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15327
15328 2012-04-03 Chong Yidong <cyd@gnu.org>
15329
15330 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15331 mail-insert-file, not its obsolete alias mail-attach-file.
15332
15333 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15334
15335 * notifications.el (notifications-notify): Fix docstring.
15336
15337 2012-04-02 Glenn Morris <rgm@gnu.org>
15338
15339 * emacs-lisp/authors.el (authors-aliases): Another addition.
15340
15341 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15342
15343 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15344 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15345 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15346
15347 2012-04-01 Chong Yidong <cyd@gnu.org>
15348
15349 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15350 Handle root directory properly.
15351 (copy-directory): Caller changed.
15352
15353 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15354 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15355
15356 2012-03-31 Glenn Morris <rgm@gnu.org>
15357
15358 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15359
15360 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15361
15362 * calendar/calendar.el (calendar-window-list)
15363 (calendar-hide-window): Restore. (Bug#11140)
15364 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15365
15366 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15367
15368 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15369
15370 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15371 Check if file is a symlink (Bug#10489).
15372
15373 * files.el (copy-directory): Likewise.
15374
15375 2012-03-30 Chong Yidong <cyd@gnu.org>
15376
15377 * image.el (imagemagick-types-inhibit)
15378 (imagemagick-register-types): Doc fix.
15379
15380 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15381
15382 * textmodes/ispell.el (ispell-get-extended-character-mode):
15383 Disable extended-char-mode for hunspell. hunspell does not support it
15384 and treats ~word as ordinary words in pipe mode.
15385
15386 2012-03-30 Glenn Morris <rgm@gnu.org>
15387
15388 * tutorial.el (help-with-tutorial): Ensure local variables don't
15389 happen to make the buffer read-only. (Bug#11127)
15390
15391 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15394 (perl-calculate-indent): Return `noindent' in strings.
15395
15396 2012-03-28 Sam Steingold <sds@gnu.org>
15397
15398 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15399 instead of the broken adhockery which does not prevent calendar
15400 buffers from being displayed at random after exit.
15401 (calendar-window-list, calendar-hide-window): Remove the broken
15402 adhockery.
15403
15404 2012-03-28 Glenn Morris <rgm@gnu.org>
15405
15406 * replace.el (query-replace-map): Doc fix.
15407
15408 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15409
15410 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15411 contents. (Bug#11109)
15412
15413 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15414
15415 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15416 (bug#11077).
15417 (avl-tree--check, avl-tree--check-node): New funs.
15418
15419 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15420
15421 * window.el (switch-to-visible-buffer): New option.
15422 (switch-to-prev-buffer, switch-to-next-buffer):
15423 Observe switch-to-visible-buffer. Make sure that checking for a window
15424 showing a buffer already is done on the same frame.
15425
15426 2012-03-27 Glenn Morris <rgm@gnu.org>
15427
15428 * startup.el (mail-host-address): Doc fix.
15429
15430 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15431
15432 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15433 than 197 variables.
15434
15435 2012-03-26 Ami Fischman <ami@fischman.org>
15436
15437 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15438
15439 2012-03-26 Glenn Morris <rgm@gnu.org>
15440
15441 * files.el (save-buffers-kill-emacs): Doc fix.
15442
15443 * startup.el (normal-top-level, command-line, command-line-1):
15444 Give them doc strings.
15445
15446 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15447
15448 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15449 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15450
15451 2012-03-25 Chong Yidong <cyd@gnu.org>
15452
15453 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15454 theme if it was previously enabled before (Bug#11031).
15455
15456 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15457 spec with custom-face-get-current-spec if its :shown-value is not
15458 determined yet (Bug#9337).
15459 (customize-create-theme, custom-theme-revert): Doc fixes.
15460
15461 * button.el (button-at): Minor addition to docstring.
15462
15463 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15464
15465 * vc/vc.el (vc-merge): Fix a prompt.
15466
15467 2012-03-24 Chong Yidong <cyd@gnu.org>
15468
15469 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15470 point (Bug#9623).
15471
15472 * button.el (button-at): Minor addition to docstring.
15473
15474 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15475
15476 * newcomment.el (comment-choose-indent): No space after BOL.
15477
15478 2012-03-22 Sam Steingold <sds@gnu.org>
15479
15480 * window.el (switch-to-prev-buffer): Revert last patch because the
15481 bug turned out to be an advertised feature (Elisp manual 28.14).
15482
15483 2012-03-22 Glenn Morris <rgm@gnu.org>
15484
15485 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15486 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15487
15488 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15489
15490 * net/network-stream.el (network-stream-open-starttls): Make error
15491 message under Windows be less misleading.
15492
15493 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15494
15495 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15496 understands (bug#9942).
15497
15498 2012-03-22 Chong Yidong <cyd@gnu.org>
15499
15500 * simple.el (end-of-visible-line): Handle return value of
15501 next-single-property-change properly (Bug#9371).
15502
15503 2012-03-22 Kenichi Handa <handa@m17n.org>
15504
15505 * international/quail.el (quail-insert-kbd-layout): Fix previous
15506 change. To avoid unwanted bidi reordering, use
15507 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15508
15509 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15510
15511 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15512 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15513 (ruby-beginning-of-indent): Be more careful with the difference
15514 between word-boundary and symbol boundary.
15515 (ruby-mode-syntax-table): Make : a symbol constituent.
15516
15517 2012-03-21 Andreas Politz <politza@fh-trier.de>
15518
15519 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15520
15521 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15522
15523 * progmodes/etags.el (tags-completion-at-point-function):
15524 Improve last fix.
15525
15526 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15527
15528 2012-03-21 Sam Steingold <sds@gnu.org>
15529
15530 * progmodes/etags.el (tags-completion-at-point-function):
15531 Avoid the error when point is inside the pattern.
15532
15533 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15534
15535 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15536 line (Bug#10855).
15537
15538 2012-03-21 Drew Adams <drew.adams@oracle.com>
15539
15540 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15541
15542 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15543
15544 * ido.el (ido-set-current-directory, ido-read-internal)
15545 (ido-choose-completion-string, ido-completion-help): Handle nil
15546 value of ido-completion-buffer (Bug#11008).
15547
15548 2012-03-21 Sam Steingold <sds@gnu.org>
15549
15550 * window.el (switch-to-prev-buffer): Do not switch to a visible
15551 window previous buffer, just like with the frame previous buffers.
15552
15553 2012-03-21 Chong Yidong <cyd@gnu.org>
15554
15555 * faces.el (make-face, make-empty-face, copy-face):
15556 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15557 Doc fixes.
15558
15559 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15560
15561 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15562 (widget-complete): Remove broken use of it.
15563
15564 2012-03-20 Chong Yidong <cyd@gnu.org>
15565
15566 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15567 Use string-width and truncate-string-width to handle arbitrary
15568 characters.
15569
15570 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15571
15572 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15573 to draw rectangles, not squares. (Regression introduced by revno
15574 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15575
15576 2012-03-18 Chong Yidong <cyd@gnu.org>
15577
15578 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15579 it is not yet defined (for temacs).
15580
15581 2012-03-18 Leo Liu <sdl.web@gmail.com>
15582
15583 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15584 prefix.
15585
15586 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15587
15588 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15589 (ispell-choices-win-default-height, ispell-silently-savep)
15590 (ispell-dictionary-alist, ispell-encoding8-command)
15591 (ispell-check-version, ispell-aspell-find-dictionary)
15592 (ispell-valid-dictionary-list, ispell-words-keyword)
15593 (ispell-get-word, ispell-internal-change-dictionary)
15594 (ispell-region, ispell-skip-region-list)
15595 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15596 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15597 (ispell-message-text-end, ispell-message)
15598 (ispell-buffer-local-parsing): Doc fix.
15599
15600 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15601
15602 * htmlfontify.el: Add support for code block fontification for ODT
15603 export (Bug #9914).
15604 (hfy-optimisations): Define new option
15605 `body-text-only'
15606 (hfy-fontify-buffer): Honor above setting.
15607 (hfy-begin-span, hfy-end-span): New routines factored out form
15608 `hfy-fontify-buffer'.
15609 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15610 that permit insertion of custom tags.
15611 (hfy-fontify-buffer): Use above handlers.
15612 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15613 (hfy-face-to-css): Re-defined to be a variable.
15614 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15615 over multiple runs. This is made possible by having the caller let
15616 bind a special variable `hfy-user-sheet-assoc'.
15617 (htmlfontify-string): New defun.
15618 (hfy-compile-face-map): Make sure that the last char in the
15619 buffer is correctly fontified.
15620 (hfy-face-resolve-face): Whitespace only change.
15621
15622 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15623
15624 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15625 message more clear.
15626
15627 2012-03-16 Leo Liu <sdl.web@gmail.com>
15628
15629 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15630
15631 2012-03-16 Alan Mackenzie <acm@muc.de>
15632
15633 Further optimize the handling of large macros.
15634
15635 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15636 limit to a call of `c-literal-limits'.
15637 (c-determine-+ve-limit): New function.
15638 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15639 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15640 In CASE 5B, restrict a search limit to 500.
15641 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15642
15643 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15644 Restrict macro bounds to +-500 from after-change's BEG END.
15645
15646 2012-03-16 Leo Liu <sdl.web@gmail.com>
15647
15648 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15649
15650 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15651
15652 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15653 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15654
15655 2012-03-16 Glenn Morris <rgm@gnu.org>
15656
15657 * view.el (view-buffer, view-buffer-other-window)
15658 (view-buffer-other-frame): Doc fixes re special mode-class.
15659
15660 * subr.el (eval-after-load): If named feature is provided not from
15661 a file, run after-load forms. (Bug#10946)
15662
15663 * calendar/calendar.el (calendar-insert-at-column):
15664 Handle non-unit-width characters a bit better. (Bug#10978)
15665
15666 2012-03-15 Chong Yidong <cyd@gnu.org>
15667
15668 * emacs-lisp/ring.el (ring-extend): New function.
15669 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15670
15671 * comint.el (comint-read-input-ring)
15672 (comint-add-to-input-history): Grow comint-input-ring lazily.
15673
15674 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15677 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15678
15679 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15680 (imenu-add-to-menubar): Don't add a redundant index.
15681 (imenu-update-menubar): Handle a dynamically composed keymap.
15682
15683 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15684
15685 * mail/sendmail.el (mail-encode-header):
15686 Bind rfc2047-encode-encoded-words to nil.
15687
15688 2012-03-13 Glenn Morris <rgm@gnu.org>
15689
15690 * calendar/calendar.el (calendar-string-spread):
15691 Handle non-unit-width characters a bit better. (Bug#10978)
15692
15693 2012-03-13 Leo Liu <sdl.web@gmail.com>
15694
15695 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15696 directory and file as argument (Bug#10822).
15697
15698 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15699
15700 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15701 For dynamically generated code, follow $PC.
15702 (gdb-disassembly-handler-custom): Handle no function name case.
15703
15704 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15705
15706 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15707 * emulation/ws-mode.el (ws-query-replace):
15708 * sort.el (sort-regexp-fields):
15709 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15710
15711 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15712
15713 * dabbrev.el: Fix cycle completion order (bug#10963).
15714 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15715 (dabbrev-completion): Don't use an obarray; provide
15716 a cycle-sort-function.
15717
15718 2012-03-12 Leo Liu <sdl.web@gmail.com>
15719
15720 * simple.el (kill-new): Use equal-including-properties for comparison.
15721 (kill-do-not-save-duplicates): Doc fix.
15722
15723 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15724
15725 * dabbrev.el: Fix cycle completion (bug#10963).
15726 Use lexical binding and wrap to 80 columns.
15727 (dabbrev-completion): Delay computing the list of completions.
15728
15729 2012-03-12 Kenichi Handa <handa@m17n.org>
15730
15731 * international/quail.el (quail-insert-kbd-layout): Surround each
15732 row by LRO and PDF instead of inserting many LRMs. Pad the left
15733 and right of each non-spacing marks. Insert invisible space
15734 between lower and upper characters to prevent composition.
15735
15736 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15737
15738 * minibuffer.el (minibuffer-complete): Don't get confused when the
15739 function is run twice via different commands (bug#10958).
15740 (complete-with-action): Fix docstring.
15741
15742 2012-03-12 Chong Yidong <cyd@gnu.org>
15743
15744 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15745 (nxml-completion-at-point-function): New function.
15746 (nxml-mode): Use it.
15747 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15748
15749 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15750 Load generated autoloads file before byte compiling (Bug#10970).
15751 (package--make-autoloads-and-compile): New helper fun.
15752
15753 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15754
15755 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15756
15757 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15758
15759 * autorevert.el (auto-revert-handler): Ensure, that
15760 file-readable-p is applied only for local files or in
15761 auto-revert-tail-mode.
15762
15763 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15764
15765 * server.el (server-eval-at): Handle non-tcp connections.
15766 Decode result string.
15767
15768 * server.el (server-msg-size): New constant.
15769 (server-reply-print): New function.
15770 (server-eval-and-print): Use it.
15771 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15772 Handle -print-nonl.
15773
15774 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15775
15776 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15777 (Bug#10987).
15778
15779 2012-03-11 Chong Yidong <cyd@gnu.org>
15780
15781 * simple.el (goto-line): Doc fix (Bug#9938).
15782
15783 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15784
15785 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15786 when finished (Bug#10963).
15787
15788 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15789
15790 * window.el (split-window-below): Fix bug in case where
15791 split-window-keep-point is nil (Bug#10971).
15792
15793 2012-03-11 Juri Linkov <juri@jurta.org>
15794
15795 * replace.el (replace-highlight): Set isearch-word to nil
15796 unconditionally. (Bug#10887)
15797
15798 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15799
15800 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15801 mairix-replace-illegal-chars; all callers changed. Don't remove
15802 ^, ~, and = characters: they are meaningful in mairix search specs.
15803 (mairix-widget-create-query): Add usage information about mairix
15804 search forms: negating words, searching for substrings, etc.
15805
15806 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15807
15808 * international/fontset.el (font-encoding-alist): Add an entry for
15809 ksx1001 (Bug#5667).
15810
15811 2012-03-10 Richard Stallman <rms@gnu.org>
15812
15813 * mail/sendmail.el (mail-encode-header):
15814 Set rfc2047-encode-encoded-words.
15815
15816 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15817
15818 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15819 view buffer means not swapped.
15820 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15821 (rmail-write-region-annotate): Error if real text has disappeared.
15822
15823 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15824
15825 2012-03-10 Chong Yidong <cyd@gnu.org>
15826
15827 * emulation/cua-rect.el (cua--init-rectangles):
15828 * emulation/cua-base.el (cua--init-keymaps):
15829 Add delete-forward-char to remappings (Bug#9666).
15830
15831 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15832
15833 * speedbar.el (speedbar-unhighlight-one-tag-line):
15834 Avoid unhighlighting due to frame switching (Bug#10275).
15835
15836 2012-03-10 Chong Yidong <cyd@gnu.org>
15837
15838 * minibuffer.el (completion-in-region, completion-help-at-point):
15839 Give the completion field overlay a high priority (Bug#6830).
15840
15841 * dired.el (dired-goto-file): Recognize absolute file name
15842 listings (Bug#7126).
15843 (dired-goto-file-1): New helper function.
15844 (dired-toggle-read-only): Inhibit warnings.
15845
15846 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15847
15848 * net/dbus.el (dbus-property-handler): Return empty array if
15849 there are no properties.
15850
15851 2012-03-09 Leo Liu <sdl.web@gmail.com>
15852
15853 * savehist.el (savehist-printable): Stricter check for string
15854 value (Bug#10937).
15855
15856 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15857
15858 * mail/smtpmail.el (smtpmail-send-it):
15859 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15860 valid mbox format.
15861
15862 2012-03-09 Glenn Morris <rgm@gnu.org>
15863
15864 * files.el (dir-locals-find-file):
15865 Don't check result is regular, readable.
15866 (dir-locals-read-from-file): Demote errors.
15867
15868 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15869
15870 * international/quail.el (quail-insert-kbd-layout):
15871 Insert invisible LRM characters before each character in a keyboard
15872 layout cell, to prevent their reordering by bidi display engine.
15873 For details, see the discussion in
15874 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15875
15876 2012-03-08 Alan Mackenzie <acm@muc.de>
15877
15878 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15879 the starting position; make it extend the marked region when
15880 invoked repeatedly - all under appropriate circumstances.
15881 Fixes bugs #5525, #10906.
15882
15883 2012-03-08 Glenn Morris <rgm@gnu.org>
15884
15885 * files.el (locate-dominating-file, dir-locals-find-file):
15886 Undo 2012-03-06 change.
15887
15888 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15889
15890 * international/quail.el (quail-help):
15891 Force bidi-paragraph-direction be left-to-right. See discussion in
15892 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15893 for the reason.
15894
15895 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15896
15897 Avoid superfluous registering of signals. (Bug#10807)
15898
15899 * notifications.el (notifications-on-action-object)
15900 (notifications-on-close-object): New defvars.
15901 (notifications-on-action-signal, notifications-on-closed-signal):
15902 Unregister the signal if not needed any longer.
15903 (notifications-notify): Register `notifications-action-signal' or
15904 `notifications-closed-signal', if :on-action or :on-close has been
15905 passed as argument.
15906
15907 2012-03-07 Chong Yidong <cyd@gnu.org>
15908
15909 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15910 non-X platforms.
15911
15912 2012-03-06 Glenn Morris <rgm@gnu.org>
15913
15914 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15915 (x-disown-selection-internal, x-get-selection-internal):
15916 Doc fix (add arglist signatures). (Bug#10783)
15917
15918 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15919
15920 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15921 Handle breakpoints with no "type".
15922
15923 2012-03-06 Glenn Morris <rgm@gnu.org>
15924
15925 * files.el (locate-dominating-file): Add optional predicate argument.
15926 (dir-locals-find-file): Make use of above change.
15927
15928 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15929
15930 * info.el (Info-insert-dir): Also try "dir.gz".
15931
15932 2012-03-06 Glenn Morris <rgm@gnu.org>
15933
15934 * files.el (dir-locals-find-file):
15935 Ignore non-readable or non-regular files. (Bug#10928)
15936
15937 * files.el (locate-dominating-file): Doc fix.
15938
15939 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15940
15941 * calendar/calendar.el (calendar-set-mode-line):
15942 `getenv' returns a string. (Bug#10951)
15943
15944 2012-03-05 Leo Liu <sdl.web@gmail.com>
15945
15946 * simple.el (backward-delete-char-untabify): Constrain point to
15947 field (Bug#10939).
15948
15949 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15950
15951 2012-03-05 Chong Yidong <cyd@gnu.org>
15952
15953 * simple.el (count-words): If called from Lisp, return the word
15954 count, for symmetry with `count-lines'. Arglist changed.
15955 (count-words--message): Args changed. Consolidate counting code
15956 from count-words and count-words-region.
15957 (count-words-region): Caller changed.
15958 (count-lines-region): Make it an obsolete alias.
15959
15960 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15961
15962 * saveplace.el (save-place-to-alist)
15963 (save-place-ignore-files-regexp): Allow value nil to disable this
15964 feature.
15965
15966 2012-03-04 Chong Yidong <cyd@gnu.org>
15967
15968 * faces.el (face-spec-reset-face): For the default face, reset the
15969 attributes to default values (Bug#10748).
15970
15971 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15972
15973 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15974 previous patch: Check `message-send-mail-function', and not the
15975 default function (bug#10897).
15976
15977 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15978
15979 * notifications.el (notifications-on-action-signal)
15980 (notifications-on-closed-signal): Check for unique service name of
15981 incoming event. Fix error in removing entry.
15982 (top): Register for signals with wildcard service name.
15983 (notifications-notify): Use daemon unique service name for map entries.
15984
15985 2012-03-04 Chong Yidong <cyd@gnu.org>
15986
15987 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15988
15989 2012-03-04 Glenn Morris <rgm@gnu.org>
15990
15991 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15992 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15993 (expand-abbrev, define-abbrev-table): Doc fixes.
15994
15995 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15996
15997 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15998 `message-default-send-mail-function' and not `send-mail-function'
15999 when doing the prompting for `sendmail-query-once' before sending
16000 in Message buffers (bug#10897).
16001
16002 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16003 This is inconsistent with all the other stream functions, which leave
16004 the setting up to the higher levels (if so wanted) (bug#10931).
16005
16006 2012-03-02 Alan Mackenzie <acm@muc.de>
16007
16008 Depessimize the handling of very large macros.
16009
16010 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16011 (c-macro-cache-syntactic): New variables to implement a one
16012 element macro cache.
16013 (c-invalidate-macro-cache): New function.
16014 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16015 Adapt to use the new cache.
16016 (c-state-safe-place): Use better the cache of safe positions.
16017 (c-state-semi-nonlit-pos-cache)
16018 (c-state-semi-nonlit-pos-cache-limit):
16019 New variables for...
16020 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16021 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16022 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16023 Use c-state-semi-safe-place.
16024
16025 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16026 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16027
16028 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16029
16030 * jka-compr.el (jka-compr-call-process):
16031 Apply `file-accessible-directory-p' only when the default directory is
16032 not remote.
16033
16034 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16035
16036 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16037 access of FILE2, if FILE1 does not exist.
16038
16039 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16040 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16041
16042 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16043 Add "PAGER=" to `process-environment'.
16044
16045 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16046
16047 * progmodes/sql.el: Bug fix
16048 (sql-get-login-ext): Save login values in globals.
16049 (sql-get-login): Use new version of `sql-get-login-ext'.
16050 (sql-interactive-mode): Set global `sql-connection' to nil.
16051 (sql-connect): Set global values for connection.
16052 (sql-product-interactive): Save global values as buffer local.
16053
16054 2012-02-29 Leo Liu <sdl.web@gmail.com>
16055
16056 * abbrev.el (define-abbrevs): Reset sys to nil.
16057
16058 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16059
16060 * files.el (file-equal-p): Rename from `files-equal-p'.
16061 Return nil when one or both files don't exist.
16062 (file-subdir-of-p): Now only top directory must exists,
16063 return nil if it doesn't.
16064 (copy-directory): No need to test with `file-subdir-of-p' after
16065 creating dir.
16066 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16067 to `file-equal-p'.
16068
16069 2012-02-28 Glenn Morris <rgm@gnu.org>
16070
16071 * shell.el (shell-mode):
16072 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16073 * play/landmark.el (landmark-font-lock-face-O):
16074 * play/handwrite.el (handwrite):
16075 * play/gomoku.el (gomoku-O):
16076 * net/browse-url.el (browse-url-browser-display):
16077 * international/mule.el (define-charset):
16078 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16079 * filesets.el (filesets-find-file-delay):
16080 * eshell/em-xtra.el (eshell-xtra):
16081 * eshell/em-unix.el (eshell-grep):
16082 * emulation/viper.el (viper-mode):
16083 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16084 * emacs-lisp/easymenu.el (easy-menu-define):
16085 * calendar/timeclock.el (timeclock-use-display-time):
16086 * bs.el (bs-mode):
16087 * bookmark.el (bookmark-save-flag):
16088 Doc fix (standardize possessive apostrophe usage).
16089
16090 2012-02-27 Chong Yidong <cyd@gnu.org>
16091
16092 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16093 Fix key-binding lookup for ESC key (Bug#9146).
16094
16095 * font-lock.el (font-lock-specified-p): Rename from
16096 font-lock-spec-present. Callers changed.
16097
16098 2012-02-27 Daniel Hackney <dan@haxney.org>
16099
16100 * emacs-lisp/package.el (package-compute-transaction):
16101 Handle holding a package version to t in package-load-list.
16102
16103 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16104
16105 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16106 (tramp-get-inode, tramp-get-device): Use cached values.
16107
16108 2012-02-26 Alan Mackenzie <acm@muc.de>
16109
16110 Check there is a font-lock specification before doing initial
16111 fontification.
16112
16113 * font-core.el (font-lock-mode): Move the conditional from
16114 :after-hook to font-lock-initial-fontify.
16115 (font-lock-default-function): Move the check for a specification
16116 to font-lock-spec-present.
16117
16118 * font-lock.el (font-lock-initial-fontify): Call ...
16119 (font-lock-spec-present): New function.
16120
16121 2012-02-26 Jim Blandy <jimb@red-bean.com>
16122
16123 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16124 (gdb-send): Apply it to the operand of the '-interpreter-exec
16125 console' command, so that we can pass arguments with (say) quotes
16126 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16127
16128 2012-02-26 Chong Yidong <cyd@gnu.org>
16129
16130 * help-fns.el (describe-function-1): Clarify description of
16131 remapping (Bug#10844).
16132
16133 * files.el (files-equal-p): Doc fix.
16134 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16135 and quit the loop once a mismatch is found.
16136
16137 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16138
16139 * bs.el (bs--show-with-configuration): Don't throw an error
16140 if the window cannot be split; otherwise, subsequent calls to
16141 bs-show fail, restoring a stale window config. (Bug#10882)
16142
16143 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16144
16145 * term/ns-win.el (global-map): Bind ns-drag-file to
16146 ns-find-file (Bug#5855, Bug#10050).
16147
16148 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16149
16150 * calendar/parse-time.el (parse-time-string): Allow extractor to
16151 return nil.
16152
16153 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16154
16155 * net/tramp.el (tramp-file-name-for-operation):
16156 Add `files-equal-p' and `file-subdir-of-p'.
16157
16158 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16159 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16160 Add COPY-CONTENTS argument.
16161
16162 2012-02-25 Chong Yidong <cyd@gnu.org>
16163
16164 Add custom groups for VC backends, for consistency with vc-bzr.
16165
16166 * vc/vc-arch.el (vc-arch):
16167 * vc/vc-cvs.el (vc-cvs):
16168 * vc/vc-git.el (vc-git):
16169 * vc/vc-hg.el (vc-hg):
16170 * vc/vc-mtn.el (vc-mtn):
16171 * vc/vc-rcs.el (vc-rcs):
16172 * vc/vc-sccs.el (vc-sccs):
16173 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16174 All relevant defcustoms reassigned.
16175
16176 2012-02-25 Chong Yidong <cyd@gnu.org>
16177
16178 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16179
16180 * term/x-win.el (x-initialize-window-system): Reduce default for
16181 x-selection-timeout to 5 seconds (Bug#8869).
16182
16183 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16184
16185 * files.el (files-equal-p, file-subdir-of-p): New functions.
16186 (copy-directory): Error when trying to copy a directory on itself.
16187 Add missing copy-contents arg to tramp handler.
16188 * dired-aux.el (dired-copy-file-recursive): Same.
16189 (dired-create-files): Modify destination when source is equal to
16190 dest when copying files.
16191 Return also when dest is a subdir of source. (Bug#10489)
16192
16193 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16194
16195 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16196 (Bug#10874)
16197
16198 2012-02-23 Alan Mackenzie <acm@muc.de>
16199
16200 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16201 parameter "after-hook:" to allow the expansion to run code after
16202 the execution of the mode hooks.
16203
16204 * font-lock.el (font-lock-initial-fontify): New function extracted
16205 from font-lock-mode-internal.
16206
16207 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16208 :after-hook.
16209
16210 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16211
16212 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16213 (completion--cache-all-sorted-completions): New function.
16214 (completion-all-sorted-completions): Use it.
16215 (completion--do-completion, minibuffer-force-complete):
16216 Use it to re-instate the flush hook.
16217
16218 * icomplete.el (icomplete-completions): Replace last fix with a better
16219 one (bug#10850).
16220
16221 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16222
16223 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16224 when it might call us back infinitely (bug#10797).
16225
16226 2012-02-23 Glenn Morris <rgm@gnu.org>
16227
16228 * minibuffer.el (completion-category-overrides): Doc fix.
16229
16230 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16231
16232 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16233 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16234
16235 2012-02-23 Glenn Morris <rgm@gnu.org>
16236
16237 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16238 (authors-obsolete-files-regexps, authors-ignored-files)
16239 (authors-ambiguous-files, authors-renamed-files-alist):
16240 Add more entries.
16241
16242 2012-02-23 Juri Linkov <juri@jurta.org>
16243
16244 * isearch.el (isearch-occur): Sync interactive spec with occur's
16245 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16246
16247 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16248
16249 2012-02-22 Juri Linkov <juri@jurta.org>
16250
16251 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16252 (ucs-insert): Doc fix. Check for hex digits in the string.
16253 Don't display `nil' in the error message. (Bug#10857)
16254
16255 2012-02-22 Alan Mackenzie <acm@muc.de>
16256
16257 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16258
16259 2012-02-22 Glenn Morris <rgm@gnu.org>
16260
16261 * ffap.el (ffap-c-path):
16262 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16263
16264 2012-02-22 Chong Yidong <cyd@gnu.org>
16265
16266 * custom.el (load-theme): Doc fix.
16267
16268 2012-02-22 Glenn Morris <rgm@gnu.org>
16269
16270 * dired-x.el (dired-guess-shell-alist-default):
16271 Remove escape sequences from nroff output. (Bug#172)
16272
16273 2012-02-21 Glenn Morris <rgm@gnu.org>
16274
16275 * vc/emerge.el (emerge-defvar-local):
16276 Set `permanent-local' property rather than unused `preserved'.
16277
16278 * textmodes/picture.el (picture-delete-char): New alias.
16279 (picture-mode-map): Use it. (Bug#10860)
16280 (picture-mode): Doc fix.
16281
16282 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16283
16284 * newcomment.el (uncomment-region-default): Remove unused binding.
16285
16286 2012-02-21 Glenn Morris <rgm@gnu.org>
16287
16288 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16289 (picture-self-insert, picture-tab-chars): Doc fix.
16290 (picture-mode-map): Fix C-a, C-e.
16291
16292 2012-02-20 Glenn Morris <rgm@gnu.org>
16293
16294 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16295
16296 2012-02-20 Leo Liu <sdl.web@gmail.com>
16297
16298 * icomplete.el (icomplete-completions): Check FROM arg before
16299 passing to substring (Bug#10850).
16300
16301 2012-02-19 Chong Yidong <cyd@gnu.org>
16302
16303 * comint.el: Require ansi-color.
16304 (comint-output-filter-functions): Add ansi-color-process-output.
16305
16306 * ansi-color.el: Don't set comint-output-filter-functions; it is
16307 now in the initial value defined in comint.el.
16308 (ansi-color-apply-face-function): New variable.
16309 (ansi-color-apply-on-region): Use it.
16310 (ansi-color-apply-overlay-face): New function.
16311
16312 * shell.el (shell): No need to require ansi-color.
16313 (shell-mode): Use ansi-color-apply-face-function to highlight
16314 color escapes using font-lock-face property (Bug#10835).
16315
16316 2012-02-19 Chong Yidong <cyd@gnu.org>
16317
16318 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16319 mode-line formats (Bug#10839).
16320
16321 2012-02-18 Glenn Morris <rgm@gnu.org>
16322
16323 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16324
16325 * mail/undigest.el (unforward-rmail-message): Doc fix.
16326
16327 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16328
16329 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16330
16331 * international/characters.el (script-list): Sync with the latest
16332 Unicode Character Database.
16333
16334 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16335
16336 * international/titdic-cnv.el: Remove duplicate coding tag.
16337 * language/cham.el: Likewise.
16338 * language/tai-viet.el: Likewise.
16339
16340 2012-02-18 Glenn Morris <rgm@gnu.org>
16341
16342 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16343 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16344 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16345 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16346 * calendar/holidays.el (holiday-bahai-holidays)
16347 (calendar-holidays, list-holidays):
16348 Use utf-8 Bahá'í in doc-strings, menus, etc.
16349
16350 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16351
16352 * saveplace.el (save-place-ignore-files-regexp): New variable
16353 allowing for excluding files from saving their location of point.
16354 The default value matches the temporary commit message editing
16355 files from Git, SVN, Bazaar, and Mercurial.
16356 (save-place-to-alist): Use it.
16357
16358 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16359 Stefan Monnier <monnier@iro.umontreal.ca>
16360
16361 * newcomment.el (uncomment-region-default): Don't leave extra space
16362 when an arg is provided (bug#8150).
16363
16364 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16365
16366 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16367
16368 2012-02-17 Glenn Morris <rgm@gnu.org>
16369
16370 * net/socks.el: Require network-stream. (Bug#10599)
16371
16372 2012-02-17 Kenichi Handa <handa@m17n.org>
16373
16374 * international/charprop.el:
16375 * international/uni-name.el:
16376 * international/uni-old-name.el:
16377 * international/uni-comment.el: Regenerate.
16378
16379 2012-02-16 Glenn Morris <rgm@gnu.org>
16380
16381 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16382 Interactively in calendar buffer, give an error if not on a date.
16383
16384 2012-02-15 Glenn Morris <rgm@gnu.org>
16385
16386 * shell.el (shell-delimiter-argument-list):
16387 Revert 2011-02-17 change. (Bug#8027)
16388
16389 2012-02-15 Chong Yidong <cyd@gnu.org>
16390
16391 * minibuffer.el (completion-at-point-functions): Doc fix.
16392
16393 * custom.el (defcustom): Doc fix; note use of defvar.
16394
16395 2012-02-15 Glenn Morris <rgm@gnu.org>
16396
16397 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16398 Doc fixes.
16399
16400 2012-02-14 Glenn Morris <rgm@gnu.org>
16401
16402 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16403
16404 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16405
16406 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16407 way the ports list is computed.
16408 (smtpmail-query-smtp-server): Prompt the user for a port number if
16409 we can't connect to any of the standard ports (bug#10810).
16410
16411 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16412
16413 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16414
16415 2012-02-13 Glenn Morris <rgm@gnu.org>
16416
16417 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16418
16419 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16420
16421 * net/gnutls.el (gnutls-trustfiles): New variable.
16422 (gnutls-negotiate): Use it.
16423
16424 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16425
16426 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16427 does its stuff if Gnus is running.
16428
16429 2012-02-13 Alan Mackenzie <acm@muc.de>
16430
16431 Fix a loop in c-set-fl-decl-start.
16432
16433 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16434 c-backward-syntactic-ws actually moves backwards.
16435
16436 2012-02-13 Leo Liu <sdl.web@gmail.com>
16437
16438 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16439 beginning so that all \C-o chars are removed.
16440
16441 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16442
16443 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16444
16445 2012-02-12 Alan Mackenzie <acm@muc.de>
16446
16447 Fix infinite loop with long macros.
16448 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16449
16450 2012-02-12 Chong Yidong <cyd@gnu.org>
16451
16452 * window.el (display-buffer): Doc fix (Bug#10785).
16453
16454 2012-02-12 Glenn Morris <rgm@gnu.org>
16455
16456 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16457 (x-disown-selection-internal, x-get-selection-internal):
16458 Sync docs with the xselect.c versions.
16459
16460 * allout-widgets.el: Add missing license notice.
16461
16462 2012-02-11 Glenn Morris <rgm@gnu.org>
16463
16464 * select.el (x-get-selection-internal, x-own-selection-internal)
16465 (x-disown-selection-internal):
16466 * x-dnd.el (x-get-selection-internal): Update declarations.
16467
16468 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16469
16470 * window.el (window-sides-slots):
16471 * tool-bar.el (tool-bar-position):
16472 * term/xterm.el (xterm-extra-capabilities):
16473 * ses.el (ses-self-reference-early-detection):
16474 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16475 (verilog-auto-wire-type)
16476 (verilog-auto-delete-trailing-whitespace)
16477 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16478 (verilog-auto-tieoff-declaration):
16479 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16480 (sql-oracle-statement-starters, sql-oracle-scan-on):
16481 * progmodes/prolog.el (prolog-align-comments-flag)
16482 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16483 (prolog-left-indent-regexp, prolog-paren-indent-p)
16484 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16485 (prolog-types, prolog-mode-specificators)
16486 (prolog-determinism-specificators, prolog-directives)
16487 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16488 (prolog-electric-dot-flag)
16489 (prolog-electric-dot-full-predicate-template)
16490 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16491 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16492 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16493 (prolog-program-switches, prolog-prompt-regexp)
16494 (prolog-debug-on-string, prolog-debug-off-string)
16495 (prolog-trace-on-string, prolog-trace-off-string)
16496 (prolog-zip-on-string, prolog-zip-off-string)
16497 (prolog-use-standard-consult-compile-method-flag)
16498 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16499 (prolog-imenu-max-lines, prolog-info-predicate-index)
16500 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16501 (prolog-char-quote-workaround):
16502 * progmodes/cc-vars.el (c-defun-tactic):
16503 * net/tramp.el (tramp-encoding-command-interactive)
16504 (tramp-local-end-of-line):
16505 * net/soap-client.el (soap-client):
16506 * net/netrc.el (netrc-file):
16507 * net/gnutls.el (gnutls):
16508 * minibuffer.el (completion-category-overrides)
16509 (completion-cycle-threshold)
16510 (completion-pcm-complete-word-inserts-delimiters):
16511 * man.el (Man-name-local-regexp):
16512 * mail/feedmail.el (feedmail-display-full-frame):
16513 * international/characters.el (glyphless-char-display-control):
16514 * eshell/em-ls.el (eshell-ls-date-format):
16515 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16516 (lisp-lambda-list-keyword-parameter-indentation)
16517 (lisp-lambda-list-keyword-parameter-alignment):
16518 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16519 * dired-x.el (dired-omit-verbose):
16520 * cus-theme.el (custom-theme-allow-multiple-selections):
16521 * calc/calc.el (calc-highlight-selections-with-faces)
16522 (calc-lu-field-reference, calc-lu-power-reference)
16523 (calc-note-threshold):
16524 * battery.el (battery-mode-line-limit):
16525 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16526 (archive-7z-update):
16527 * allout.el (allout-prefixed-keybindings)
16528 (allout-unprefixed-keybindings)
16529 (allout-inhibit-auto-fill-on-headline)
16530 (allout-flattened-numbering-abbreviation):
16531 * allout-widgets.el (allout-widgets-auto-activation)
16532 (allout-widgets-icons-dark-subdir)
16533 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16534 (allout-widgets-theme-dark-background)
16535 (allout-widgets-theme-light-background)
16536 (allout-widgets-item-image-properties-emacs)
16537 (allout-widgets-item-image-properties-xemacs)
16538 (allout-widgets-run-unit-tests-on-load)
16539 (allout-widgets-time-decoration-activity)
16540 (allout-widgets-hook-error-post-time)
16541 (allout-widgets-track-decoration):
16542 Add missing :version tags to new defcustoms and defgroups.
16543
16544 * progmodes/sql.el (sql-ansi-statement-starters)
16545 (sql-oracle-statement-starters): Add custom type.
16546
16547 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16548 (prolog-system-version): Give it a type.
16549
16550 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16551
16552 * term/pc-win.el (x-select-text, x-selection-owner-p)
16553 (x-own-selection-internal, x-disown-selection-internal)
16554 (x-get-selection-internal): Sync doc strings and argument lists
16555 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16556
16557 2012-02-11 Leo Liu <sdl.web@gmail.com>
16558
16559 * progmodes/python.el (python-end-of-statement): Fix infinite
16560 loop. (Bug#10788)
16561
16562 2012-02-10 Glenn Morris <rgm@gnu.org>
16563
16564 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16565 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16566
16567 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16568
16569 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16570 about SMTP before checking the From header.
16571
16572 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16573 into own function for reuse by emacsbug.el.
16574
16575 2012-02-10 Leo Liu <sdl.web@gmail.com>
16576
16577 * subr.el (condition-case-unless-debug): Rename from
16578 condition-case-no-debug. All callers changed.
16579 (with-demoted-errors): Fix caller.
16580
16581 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16582 * nxml/rng-valid.el (rng-do-some-validation):
16583 * emacs-lisp/package.el (package-refresh-contents)
16584 (package-menu-execute):
16585 * desktop.el (desktop-create-buffer):
16586 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16587
16588 2012-02-10 Glenn Morris <rgm@gnu.org>
16589
16590 * textmodes/bibtex.el:
16591 Add missing :version tags for new/changed defcustoms.
16592
16593 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16594
16595 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16596
16597 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16598 (smtpmail-via-smtp): Use it, or fall back on the From address.
16599 (smtpmail-send-it): Ditto.
16600
16601 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16604 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16605 (byte-compile-tmp-var): New const.
16606 (byte-compile-defvar): Use it to minimize .elc size.
16607 Just use `defvar' rather than simulate it (bug#10761).
16608
16609 2012-02-09 Glenn Morris <rgm@gnu.org>
16610
16611 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16612
16613 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16614 Add :version tags.
16615
16616 * progmodes/compile.el (compilation-error-screen-columns)
16617 (compilation-first-column, compilation-filter-start): Doc fixes.
16618
16619 * vc/log-view.el (log-view-toggle-entry-display):
16620 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16621
16622 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16623 (report-emacs-bug-can-use-xdg-email):
16624 (report-emacs-bug-insert-to-mailer): Doc fixes.
16625 (report-emacs-bug): Message fix.
16626
16627 * net/browse-url.el (browse-url-can-use-xdg-open)
16628 (browse-url-xdg-open): Doc fixes.
16629
16630 * electric.el (electric-indent-mode, electric-pair-mode)
16631 (electric-layout-rules, electric-layout-mode): Doc fixes.
16632 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16633
16634 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16635
16636 * server.el (server-unselect-display): Don't inadvertently kill
16637 the current buffer. (Bug#10729)
16638
16639 2012-02-08 Glenn Morris <rgm@gnu.org>
16640
16641 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16642 (sql-list-table): Doc fixes.
16643
16644 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16645 Comment out (does nothing).
16646
16647 * completion.el (dynamic-completion-mode):
16648 * dirtrack.el (dirtrack-debug-mode):
16649 * electric.el (electric-layout-mode):
16650 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16651 * face-remap.el (text-scale-mode, buffer-face-mode):
16652 * iimage.el (iimage-mode):
16653 * image-mode.el (image-transform-mode):
16654 * minibuffer.el (completion-in-region-mode):
16655 * scroll-lock.el (scroll-lock-mode):
16656 * simple.el (next-error-follow-minor-mode):
16657 * tar-mode.el (tar-subfile-mode):
16658 * tooltip.el (tooltip-mode):
16659 * vcursor.el (vcursor-use-vcursor-map):
16660 * wid-browse.el (widget-minor-mode):
16661 * emulation/tpu-edt.el (tpu-edt-mode):
16662 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16663 * international/iso-ascii.el (iso-ascii-mode):
16664 * language/thai-util.el (thai-word-mode):
16665 * mail/supercite.el (sc-minor-mode):
16666 * net/goto-addr.el (goto-address-mode):
16667 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16668 * progmodes/cwarn.el (cwarn-mode):
16669 * progmodes/flymake.el (flymake-mode):
16670 * progmodes/glasses.el (glasses-mode):
16671 * progmodes/hideshow.el (hs-minor-mode):
16672 * progmodes/pascal.el (pascal-outline-mode):
16673 * textmodes/enriched.el (enriched-mode):
16674 * vc/smerge-mode.el (smerge-mode):
16675 Doc fixes (minor mode argument).
16676
16677 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16678
16679 * ls-lisp.el (ls-lisp-sanitize): New function.
16680 (ls-lisp-insert-directory): Use it to fix or remove any elements
16681 in file-alist with missing attributes. (Bug#4673)
16682
16683 2012-02-07 Alan Mackenzie <acm@muc.de>
16684
16685 Fix spurious recognition of c-in-knr-argdecl.
16686
16687 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16688 putative K&R region.
16689
16690 2012-02-07 Alan Mackenzie <acm@muc.de>
16691
16692 * progmodes/cc-engine.el (c-forward-objc-directive):
16693 Prevent looping in "#pragma mark @implementation".
16694
16695 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16696
16697 * notifications.el (notifications-on-closed-signal): Make `reason'
16698 optional. (Bug#10744)
16699
16700 2012-02-07 Glenn Morris <rgm@gnu.org>
16701
16702 * emacs-lisp/easy-mmode.el (define-minor-mode):
16703 Doc fixes for the macro and the mode it defines.
16704
16705 * image.el (imagemagick-types-inhibit): Doc fix.
16706
16707 * cus-start.el (imagemagick-render-type): Add it.
16708
16709 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16710
16711 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16712 Set the default at load time, too, so that `font-lock-fontify-buffer'
16713 can be called without setting up the entire mode first. This fixes
16714 a bug in `mm-inline-text' with C MIME parts.
16715
16716 2012-02-06 Chong Yidong <cyd@gnu.org>
16717
16718 * simple.el (list-processes--refresh): Delete exited processes
16719 (Bug#8094).
16720
16721 * comint.el (comint-next-prompt): next-single-char-property-change
16722 and prev-single-char-property-change never return nil (Bug#8657).
16723
16724 * custom.el (defcustom): Doc fix (Bug#9711).
16725
16726 2012-02-05 Chong Yidong <cyd@gnu.org>
16727
16728 * cus-edit.el (custom-variable-reset-backup): Quote the value
16729 before storing it in the customized-value property (Bug#6712).
16730 (custom-display): Add a customization type tag.
16731 (custom-buffer-create-internal): Improve tooltip message.
16732
16733 * wid-edit.el (widget-field-value-get): New optional arg to
16734 suppress trailing whitespace truncation.
16735 (character): Use it (Bug#2689).
16736
16737 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16738
16739 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16740 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16741
16742 2012-02-05 Chong Yidong <cyd@gnu.org>
16743
16744 * cus-edit.el (custom-variable-value-create): For mismatched
16745 types, show the current value (Bug#7600).
16746
16747 * custom.el (defcustom): Doc fix.
16748
16749 2012-02-05 Glenn Morris <rgm@gnu.org>
16750
16751 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16752
16753 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16754
16755 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16756 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16757 (pp-last-sexp): Use `looking-at-p'.
16758
16759 2012-02-04 Glenn Morris <rgm@gnu.org>
16760
16761 * files.el (revert-buffer):
16762 Doc fix (mention revert-buffer-in-progress-p).
16763
16764 * emacs-lisp/ert-x.el (ert-simulate-command):
16765 Check deferred-action-list (which is obsolete) is bound.
16766
16767 * subr.el (with-wrapper-hook): Doc fixes.
16768
16769 * simple.el (filter-buffer-substring-functions)
16770 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16771
16772 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16773
16774 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16775 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16776
16777 2012-02-04 Leo Liu <sdl.web@gmail.com>
16778
16779 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16780
16781 2012-02-04 Glenn Morris <rgm@gnu.org>
16782
16783 * image.el (image-extension-data): Add obsolete alias.
16784
16785 * isearch.el (isearch-update): Doc fix.
16786
16787 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16788
16789 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16790
16791 2012-02-03 Glenn Morris <rgm@gnu.org>
16792
16793 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16794 (image-animate-timeout): Doc fix.
16795
16796 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16797
16798 2012-02-02 Glenn Morris <rgm@gnu.org>
16799
16800 * server.el (server-auth-dir): Doc fix.
16801 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16802
16803 * subr.el (run-mode-hooks): Doc fix.
16804
16805 2012-02-02 Juri Linkov <juri@jurta.org>
16806
16807 * image-mode.el (image-toggle-display-image): Remove tautological
16808 `major-mode' from the `derived-mode-p' test.
16809
16810 2012-02-02 Kenichi Handa <handa@m17n.org>
16811
16812 * composite.el (compose-region): Cancel previous change.
16813
16814 2012-02-02 Kenichi Handa <handa@m17n.org>
16815
16816 * composite.el (compose-region, compose-string): Signal error for
16817 a null string component (Bug#6988).
16818
16819 2012-02-01 Chong Yidong <cyd@gnu.org>
16820
16821 * view.el (view-buffer-other-window, view-buffer-other-frame):
16822 Handle special modes like view-buffer (Bug#10650).
16823 (view-buffer): Simplify.
16824
16825 * frame.el (set-frame-font): Tweak meaning of third argument.
16826
16827 * dynamic-setting.el (font-setting-change-default-font):
16828 Use set-frame-font (Bug#9982).
16829
16830 2012-02-01 Glenn Morris <rgm@gnu.org>
16831
16832 * progmodes/compile.el (compilation-internal-error-properties):
16833 Respect compilation-first-column in the "*compilation*" buffer.
16834
16835 * emacs-lisp/easy-mmode.el (define-minor-mode):
16836 Relax :variable's test for a named function.
16837
16838 2012-01-31 Alan Mackenzie <acm@muc.de>
16839
16840 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16841 off by one error.
16842
16843 2012-01-31 Chong Yidong <cyd@gnu.org>
16844
16845 * frame.el (set-frame-font): New arg ALL-FRAMES.
16846
16847 * menu-bar.el (menu-set-font): Use set-frame-font.
16848
16849 * faces.el (face-spec-reset-face): Don't apply unspecified
16850 attribute values to the default face.
16851
16852 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16853
16854 * progmodes/cwarn.el (cwarn): Remove dead link.
16855 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16856 Remove * from defcustom docstrings.
16857 (turn-on-cwarn-mode): Make obsolete.
16858 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16859 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16860
16861 2012-01-31 Glenn Morris <rgm@gnu.org>
16862
16863 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16864 Fix :variable handling of mode a symbol not equal to modefun.
16865 Allow named functions to be used as the cdr of :variable.
16866
16867 2012-01-30 Glenn Morris <rgm@gnu.org>
16868
16869 * emacs-lisp/authors.el (authors-fixed-entries):
16870 Remove reference to deleted file rnewspost.el.
16871
16872 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16873
16874 * window.el (window-with-parameter): Remove unused variable `windows'.
16875 (window--side-check): Remove unused variable `code'.
16876 (window--resize-siblings): Remove unused variable `first'.
16877 (adjust-window-trailing-edge): Remove unused variable `failed'.
16878 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16879 Use `let', not `let*'.
16880 (balance-windows-2): Remove unused variable `found'.
16881 (window--state-put-2): Remove unused variable `splits'.
16882 (window-state-put): Remove unused variable `selected'.
16883 (same-window-p): Use `string-match-p'.
16884 (display-buffer-assq-regexp): Remove unused variable `value'.
16885 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16886 Mark argument ALIST as ignored.
16887 (pop-to-buffer): Remove unused variable `old-window'.
16888
16889 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16890
16891 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16892 and .lzma compressed files.
16893
16894 2012-01-29 Chong Yidong <cyd@gnu.org>
16895
16896 * frame.el (window-system-default-frame-alist): Doc fix.
16897
16898 * dynamic-setting.el (font-setting-change-default-font): Don't
16899 change the default face if SET-FONT argument is non-nil (Bug#9982).
16900
16901 2012-01-29 Samuel Bronson <naesten@gmail.com>
16902
16903 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16904
16905 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16906
16907 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16908 breakpoints in files outside current directory (Bug#6098).
16909
16910 2012-01-29 Chong Yidong <cyd@gnu.org>
16911
16912 * progmodes/python.el: Require ansi-color at top-level.
16913
16914 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16915 Define and use in Emacs Lisp mode (Bug#9360).
16916 (lisp-mode-abbrev-table): Add doc.
16917 (lisp-mode-variables): Don't set local-abbrev-table.
16918 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16919
16920 2012-01-28 Roland Winkler <winkler@gnu.org>
16921
16922 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16923
16924 2012-01-28 Roland Winkler <winkler@gnu.org>
16925
16926 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16927 (bibtex-set-dialect): Use it. Either set global values of
16928 dialect-dependent variables or bind these variables buffer-locally
16929 (Bug#10254).
16930 (bibtex-mode): Call bibtex-set-dialect via
16931 hack-local-variables-hook.
16932 (bibtex-dialect): Update docstring.
16933 Add safe-local-variable predicate.
16934 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16935 bibtex-set-dialect.
16936 (bibtex-mode-map): Define menu for each dialect.
16937 (bibtex-entry): Fix docstring.
16938
16939 2012-01-28 Chong Yidong <cyd@gnu.org>
16940
16941 * eshell/esh-arg.el (eshell-quote-argument): New function.
16942
16943 * eshell/esh-ext.el (eshell-invoke-batch-file):
16944 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16945 first arg to eshell-parse-command (Bug#10523).
16946
16947 2012-01-28 Drew Adams <drew.adams@oracle.com>
16948
16949 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16950 `default-directory' is non-nil.
16951
16952 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16953
16954 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16955 line that displays system-configuration-options. (Bug#9924)
16956
16957 2012-01-28 Drew Adams <drew.adams@oracle.com>
16958
16959 * descr-text.el (describe-char): Show information about POS, in
16960 addition to information about the character at POS. Improve and
16961 update the doc string. Change "code point" to "code point in
16962 charset", to avoid confusion with the character's Unicode code
16963 point shown above that. (Bug#10129)
16964
16965 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16966
16967 * descr-text.el (describe-char): Show the raw character, not only
16968 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16969 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16970 for the reasons.
16971
16972 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16973
16974 * emacs-lisp/package.el (package-install):
16975 Run package-refresh-contents if there is no archive yet (Bug#9798).
16976
16977 2012-01-28 Chong Yidong <cyd@gnu.org>
16978
16979 * emacs-lisp/package.el (package-maybe-load-descriptor):
16980 New function, split from package-maybe-load-descriptor.
16981 (package-maybe-load-descriptor): Use it.
16982 (package-download-transaction): Fully load required packages
16983 inside the loop, so that `require' calls work (Bug#10593).
16984 (package-install): No need to call package-initialize now.
16985
16986 2012-01-28 Chong Yidong <cyd@gnu.org>
16987
16988 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16989
16990 * tooltip.el (tooltip-mode): Doc fix.
16991 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16992
16993 * frame.el (set-cursor-color): Doc fix (Bug#352).
16994
16995 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16996 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16997
16998 * cus-edit.el (custom-buffer-create-internal): Fix search button
16999 action (Bug#10542).
17000 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17001
17002 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17003
17004 * dired.el (dired-mark-files-regexp):
17005 Include any subdirectory components. (Bug#10445)
17006
17007 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17008
17009 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17010 Handle [host]:port syntax. (Bug#10533)
17011
17012 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17013
17014 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17015
17016 2012-01-26 Glenn Morris <rgm@gnu.org>
17017
17018 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17019 * term.el (term-raw-escape-map): Use Control-X-prefix.
17020 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17021
17022 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17023
17024 * window.el (window-state-get, window--state-get-1): Don't deal
17025 with fixed-sizeness of windows. Simplify code.
17026
17027 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17028
17029 * window.el (window--state-get-1, window--state-put-2):
17030 Don't save and restore the mark.
17031
17032 2012-01-25 Chong Yidong <cyd@gnu.org>
17033
17034 * custom.el (custom-variable-p): Doc fix.
17035
17036 2012-01-25 Glenn Morris <rgm@gnu.org>
17037
17038 * dired.el (dired-goto-file): Handle some of the more common
17039 characters that `ls -b' escapes. (Bug#10596)
17040
17041 * progmodes/compile.el (compilation-next-error-function):
17042 Respect compilation-first-column in the "*compilation*" buffer.
17043 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17044
17045 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17046
17047 2012-01-24 Glenn Morris <rgm@gnu.org>
17048
17049 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17050
17051 2012-01-24 Julien Danjou <julien@danjou.info>
17052
17053 * color.el (color-rgb-to-hsl): Fix value computing.
17054 (color-hue-to-rgb): New function.
17055 (color-hsl-to-rgb): New function.
17056 (color-clamp, color-saturate-hsl, color-saturate-name)
17057 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17058 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17059
17060 2012-01-24 Glenn Morris <rgm@gnu.org>
17061
17062 * vc/vc-rcs.el (vc-rcs-create-tag):
17063 * vc/vc-sccs.el (vc-sccs-create-tag):
17064 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17065
17066 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17067
17068 * eshell/esh-util.el (eshell-read-hosts-file):
17069 Skip comment lines. (Bug#10549)
17070
17071 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17072
17073 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17074
17075 * subr.el (display-delayed-warnings): Doc fix.
17076 (collapse-delayed-warnings): New function to collapse identical
17077 adjacent warnings.
17078 (delayed-warnings-hook): Add it.
17079
17080 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17081
17082 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17083
17084 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17085 (tramp-default-user-alist): Don't add "pscp".
17086 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17087 property "login-as", if set. (Bug#10530)
17088
17089 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17090
17091 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17092 "plink1" and "psftp". (Bug#10530)
17093
17094 2012-01-21 Kenichi Handa <handa@m17n.org>
17095
17096 * international/mule-cmds.el (prefer-coding-system): Show a
17097 warning message if the default value of file-name-coding-system
17098 was not changed.
17099
17100 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17101
17102 * windmove.el (windmove-reference-loc):
17103 Fix windmove-reference-loc miscalculation.
17104
17105 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17106
17107 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17108 default unit.
17109
17110 2012-01-21 Glenn Morris <rgm@gnu.org>
17111
17112 * international/mule.el (auto-coding-alist): Add .tbz.
17113
17114 * files.el (local-enable-local-variables): Doc fix.
17115 (inhibit-local-variables-regexps): Rename from
17116 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17117 Doc fix. Add some extensions from auto-coding-alist.
17118 (inhibit-local-variables-suffixes):
17119 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17120 (inhibit-local-variables-p):
17121 New function, extracted from set-auto-mode-1.
17122 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17123 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17124 (hack-local-variables): Doc fix. Make the mode-only case
17125 respect enable-local-variables and friends.
17126 Respect inhibit-local-variables-regexps for file-locals, but
17127 not for directory-locals.
17128 (set-visited-file-name):
17129 Take account of inhibit-local-variables-regexps.
17130 Whether it applies may change as the file name is changed.
17131 * jka-cmpr-hook.el (jka-compr-install):
17132 * jka-compr.el (jka-compr-uninstall):
17133 Update for inhibit-first-line-modes-suffixes name change.
17134
17135 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17136
17137 * help-macro.el (make-help-screen): Temporarily restore original
17138 binding for minor-mode-map-alist (Bug#10454).
17139
17140 2012-01-19 Julien Danjou <julien@danjou.info>
17141
17142 * color.el (color-name-to-rgb): Use the white color to find the max
17143 color component value and return correctly computed values.
17144 (color-name-to-rgb): Add missing float conversion for max value.
17145
17146 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17147
17148 * window.el (window--state-get-1, window-state-get): Do not use
17149 special state value for window-persistent-parameters.
17150 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17151 (window--state-put-2): Reset all window parameters to nil before
17152 assigning values of persistent parameters.
17153
17154 2012-01-18 Alan Mackenzie <acm@muc.de>
17155
17156 Eliminate sluggishness and hangs in fontification of "semicolon
17157 deserts".
17158
17159 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17160 Change value 10000 -> 3000.
17161 (c-state-safe-place): Reformulate so it doesn't stack up an
17162 infinite number of wrong entries in c-state-nonlit-pos-cache.
17163 (c-determine-limit-get-base, c-determine-limit): New functions to
17164 determine backward search limits disregarding literals.
17165 (c-find-decl-spots): Amend commenting.
17166 (c-cheap-inside-bracelist-p): New function which detects "={".
17167
17168 * progmodes/cc-fonts.el
17169 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17170 backward search.
17171 (c-font-lock-declarations): Fix an occurrence of point being
17172 undefined. Check additionally for point being in a bracelist or
17173 near a macro invocation without a semicolon so as to avoid a
17174 fruitless time consuming search for a declarator. Give a more
17175 precise search limit for declarators using the new
17176 c-determine-limit.
17177
17178 2012-01-18 Glenn Morris <rgm@gnu.org>
17179
17180 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17181 (set-auto-mode): Doc fixes.
17182
17183 2012-01-17 Glenn Morris <rgm@gnu.org>
17184
17185 * isearch.el (search-nonincremental-instead): Fix doc typo.
17186
17187 * dired.el (dired-insert-directory): Handle newlines in directory name.
17188 (dired-build-subdir-alist): Unescape newlines in directory name.
17189
17190 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17191
17192 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17193 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17194 (tramp-action-terminal): Use it. (Bug#10530)
17195
17196 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17199
17200 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17201
17202 * window.el (window-state-ignored-parameters): Remove variable.
17203 (window--state-get-1): Rename argument MARKERS to IGNORE.
17204 Handle persistent window parameters. Make copy of clone-of
17205 parameter only if requested. (Bug#10348)
17206 (window--state-put-2): Install a window parameter only if it has
17207 a non-nil value or an existing parameter shall be overwritten.
17208
17209 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17210
17211 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17212
17213 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17214
17215 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17216 don't pass the (nil) value of `upnode' to string-match.
17217
17218 2012-01-14 Chong Yidong <cyd@gnu.org>
17219
17220 * startup.el (command-line): Fix X resource class for cursorColor.
17221 Fix values recognized by the cursorBlink resource.
17222
17223 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17224
17225 * epg.el (epg--make-temp-file): Avoid permission race condition
17226 when running on old Emacs versions (bug#10403).
17227
17228 2012-01-14 Glenn Morris <rgm@gnu.org>
17229
17230 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17231
17232 2012-01-13 Alan Mackenzie <acm@muc.de>
17233
17234 Fix filling for when filladapt mode is enabled.
17235
17236 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17237 c-mask-paragraph, pass in `fill-paragraph' rather than
17238 `fill-region-as-paragraph'. (This is a reversion of a previous
17239 change.)
17240 * progmodes/cc-mode.el (c-basic-common-init):
17241 Make fill-paragraph-handle-comment buffer local and set it to nil.
17242
17243 2012-01-13 Glenn Morris <rgm@gnu.org>
17244
17245 * dired.el (dired-switches-escape-p): New function.
17246 (dired-insert-directory): Use dired-switches-escape-p.
17247 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17248
17249 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17250
17251 2012-01-12 Glenn Morris <rgm@gnu.org>
17252
17253 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17254 changes in adaptive-fill-regexp. (Bug#10276)
17255
17256 2012-01-11 Alan Mackenzie <acm@muc.de>
17257
17258 Fix Emacs bug #10463 - put `widen's around the critical spots.
17259
17260 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17261 widen around each invocation of c-state-pp-to-literal. Remove an
17262 unused let variable.
17263
17264 2012-01-11 Glenn Morris <rgm@gnu.org>
17265
17266 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17267 Doc fix.
17268
17269 2012-01-10 Chong Yidong <cyd@gnu.org>
17270
17271 * net/network-stream.el (network-stream-open-starttls):
17272 Avoid emitting a confusing error message when the server gives a bad
17273 response to the capability command.
17274
17275 2012-01-10 Glenn Morris <rgm@gnu.org>
17276
17277 * mail/unrmail.el (unrmail): Tweak previous change.
17278
17279 2012-01-09 Chong Yidong <cyd@gnu.org>
17280
17281 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17282
17283 2012-01-08 Alan Mackenzie <acm@muc.de>
17284
17285 Optimize font locking in long enum definitions.
17286
17287 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17288 arm to a cond form to handle enums.
17289 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17290 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17291
17292 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17293
17294 * files.el (move-file-to-trash): Preserve default file modes on error.
17295 (Bug#10401)
17296
17297 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17298
17299 * faces.el (set-face-attribute): Clarify the meaning of the nil
17300 frame (bug#10294).
17301
17302 * subr.el (with-selected-frame): Mention that the selected frame
17303 is restored (bug#9980).
17304
17305 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17306 (bug#9759).
17307
17308 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17309 (password-read): Don't autoload unused function.
17310
17311 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17312
17313 * progmodes/which-func.el (which-func-mode): Turn into a
17314 non-interactive function and mark as obsolete (bug#10428).
17315
17316 2012-01-06 Chong Yidong <cyd@gnu.org>
17317
17318 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17319 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17320 functions, along with 1 and -1.
17321
17322 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17323
17324 * time.el (display-time-load-average)
17325 (display-time-default-load-average): Doc fixes. See the thread
17326 starting at
17327 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17328 for the details.
17329
17330 2012-01-06 Glenn Morris <rgm@gnu.org>
17331
17332 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17333 has no messages. (Bug#10377)
17334
17335 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17336 than Info-edit. (Bug#10385)
17337
17338 * time.el (display-time-load-average, display-time-next-load-average):
17339 Doc fixes.
17340
17341 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17342 local setting of buffer-read-only to the input buffer. (Bug#10419)
17343
17344 * calendar/calendar.el (calendar-mode):
17345 Locally set scroll-margin to 0. (Bug#10379)
17346
17347 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17348
17349 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17350
17351 2012-01-05 Glenn Morris <rgm@gnu.org>
17352
17353 * eshell/em-unix.el (diff-no-select): Autoload it.
17354 (eshell/diff): Use diff-no-select. (Bug#10420)
17355
17356 2012-01-05 Chong Yidong <cyd@gnu.org>
17357
17358 * shell.el (shell-dynamic-complete-functions): Revert last change.
17359 (shell-command-completion-function): New function.
17360 (shell-completion-vars): Use it to implement
17361 shell-completion-execonly (Bug#10417).
17362
17363 * custom.el (enable-theme): Don't set custom-safe-themes.
17364
17365 * cus-theme.el (custom-theme-merge-theme):
17366 Ignore custom-enabled-themes and custom-safe-themes.
17367
17368 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17369
17370 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17371 first prompt in `sql-interacive-mode'.
17372 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17373 keywords.
17374 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17375 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17376 context of original buffer. Invoke `sql-login-hook'.
17377
17378 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17379
17380 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17381 letters in cite-prefix.
17382
17383 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17384
17385 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17386
17387 2012-01-03 Chong Yidong <cyd@gnu.org>
17388
17389 * shell.el (shell-dynamic-complete-functions):
17390 Put pcomplete-completions-at-point, so as to try
17391 comint-filename-completion first (Bug#10417).
17392
17393 2012-01-02 Richard Stallman <rms@gnu.org>
17394
17395 * battery.el (battery-status-function):
17396 Detect when to use battery-yeeloong-sysfs.
17397 (battery-echo-area-format): Add string for Yeeloong.
17398 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17399 (battery-yeeloong-sysfs): New function.
17400
17401 2012-01-02 Chong Yidong <cyd@gnu.org>
17402
17403 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17404 (dirtrack): Merge code for handling relative filenames in prompt
17405 from shell-dir-cookie-watcher.
17406 (dirtrack-debug-message): New arg to avoid excess format calls.
17407
17408 * shell.el (shell-dir-cookie-re): Variable deleted.
17409 (shell-dir-cookie-watcher): Function deleted.
17410 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17411 with dirtrack-mode.
17412
17413 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17414
17415 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17416 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17417 libgnutls-26.dll.
17418
17419 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17420
17421 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17422
17423 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17424
17425 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17426 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17427
17428 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17429
17430 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17431 also for alternative shells.
17432 (tramp-open-connection-setup-interactive-shell): Check, whether
17433 the shell is a busybox.
17434 (tramp-send-command): Don't suppress multiple prompts for
17435 busyboxes, it hurts.
17436
17437 2011-12-28 Chong Yidong <cyd@gnu.org>
17438
17439 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17440 (gdb-get-source-file): Move mode line update to
17441 gdb-get-source-file (Bug#10087).
17442
17443 2011-12-25 Chong Yidong <cyd@gnu.org>
17444
17445 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17446 gud-gdb-marker-filter without taking it as an argument.
17447 (gud-gdb-run-command-fetch-lines): Caller changed.
17448 (gud-gdb-completion-function): New variable.
17449 (gud-gdb-completion-at-point): Use it.
17450 (gud-gdb-completions-1): Split from gud-gdb-completions.
17451
17452 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17453 function as separate arguments.
17454 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17455 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17456 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17457 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17458 (gdb-stopped, def-gdb-auto-update-trigger)
17459 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17460 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17461 Callers changed.
17462 (gud-gdbmi-completions): New function.
17463 (gdb): Use it for generating the completion table.
17464
17465 2011-12-24 Alan Mackenzie <acm@muc.de>
17466
17467 Introduce a mechanism to widen the region used in context font
17468 locking. Use this to protect declarations from losing their contexts.
17469
17470 * progmodes/cc-langs.el (c-before-font-lock-functions):
17471 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17472 (c-before-context-fontification-functions): New defvar, a list of
17473 functions to be run just before context (etc.) font locking.
17474
17475 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17476 New, functionality extracted from
17477 c-neutralize-syntax-in-and-mark-CPP.
17478 (c-in-after-change-fontification): New variable.
17479 (c-after-change): Set c-in-after-change-fontification.
17480 (c-set-fl-decl-start): Rejig its interface, so it can be called
17481 from both after-change and context fontifying.
17482 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17483 New functions.
17484 (c-standard-font-lock-fontify-region-function): New variable.
17485 (c-font-lock-fontify-region): New function.
17486
17487 2011-12-24 Juri Linkov <juri@jurta.org>
17488
17489 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17490 (Bug#10348)
17491
17492 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17493
17494 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17495 existence of source file. (Bug#10325)
17496
17497 2011-12-23 Alan Mackenzie <acm@muc.de>
17498
17499 Fix unstable fontification inside templates.
17500
17501 * progmodes/cc-langs.el (c-before-font-lock-functions):
17502 Newly created from the singular version. The (c c++ objc) entry now
17503 additionally has c-set-fl-decl-start. The other languages (apart
17504 from AWK) have that as a single entry.
17505
17506 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17507 The functionality for "local" declarations has been extracted to
17508 c-set-fl-decl-start.
17509
17510 * progmodes/cc-mode.el (c-common-init, c-after-change):
17511 Changes due to pluralisation of c-before-font-lock-functions.
17512 (c-set-fl-decl-start): New function, extracted from
17513 c-font-lock-enclosing-decls and enhanced.
17514
17515 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17516
17517 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17518
17519 2011-12-22 Juri Linkov <juri@jurta.org>
17520
17521 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17522
17523 2011-12-22 Chong Yidong <cyd@gnu.org>
17524
17525 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17526
17527 2011-12-21 Drew Adams <drew.adams@oracle.com>
17528
17529 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17530
17531 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17532
17533 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17534
17535 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17536
17537 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17538 highlighting and support. Fix up comments for capitalization.
17539 (cfengine-mode-debug): New var.
17540 (cfengine3-mode): Change the modeline indicator to "CFE3".
17541 (cfengine3-font-lock-keywords): Improve defun highlighting.
17542 (cfengine2-actions): Rename from `cfengine-actions'.
17543 (cfengine2-font-lock-keywords): Rename from
17544 `cfengine-font-lock-keywords'.
17545 (cfengine2-imenu-expression): Rename from
17546 `cfengine-imenu-expression'.
17547 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17548 (cfengine2-beginning-of-defun): Rename from
17549 `cfengine-beginning-of-defun'.
17550 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17551 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17552 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17553 modeline indicator to "CFE2".
17554 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17555 (cfengine-mode-abbrevs): Mark obsolete.
17556
17557 2011-12-21 Chong Yidong <cyd@gnu.org>
17558
17559 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17560 filename argument.
17561
17562 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17563
17564 * window.el (window-normalize-buffer-to-display): Remove.
17565 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17566
17567 2011-12-19 Chong Yidong <cyd@gnu.org>
17568
17569 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17570 Don't signal an error in a predicate function; return non-nil.
17571 (vc-dir-mark-file): Move the error here.
17572 (vc-dir-mark-unmark): If acting on the region, keep going if one
17573 of the entries cannot be marked/unmarked.
17574 (vc-dir-mark-all-files): If current entry is a directory, mark
17575 only child files, as documented.
17576
17577 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17578
17579 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17580 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17581 addition.
17582
17583 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17584
17585 * term/ns-win.el (ns-get-selection-internal)
17586 (ns-store-selection-internal): Declare.
17587 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17588 Declare as obsolete.
17589 (ns-get-pasteboard, ns-paste-secondary):
17590 Use ns-get-selection-internal.
17591 (ns-set-pasteboard, ns-copy-including-secondary):
17592 Use ns-store-selection-internal.
17593
17594 2011-12-17 Chong Yidong <cyd@gnu.org>
17595
17596 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17597 (vc-deduce-fileset): Doc fix.
17598
17599 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17600
17601 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17602
17603 2011-12-13 Sam Steingold <sds@gnu.org>
17604
17605 * man.el (Man-getpage-in-background): When running under a
17606 window-system, ignore $MANWIDTH and $COLUMNS.
17607
17608 2011-12-15 Kenichi Handa <handa@m17n.org>
17609
17610 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17611 (setup-ethiopic-environment-internal): Comment out key-binding for
17612 ethio-toggle-punctuation.
17613
17614 2011-12-13 Alan Mackenzie <acm@muc.de>
17615
17616 Add the switch statement to AWK Mode.
17617
17618 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17619 "default" to the keywords regexp.
17620
17621 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17622 expression as the rest.
17623 (c-nonlabel-token-key): Allow string literals for AWK.
17624 Refactor for the other modes.
17625
17626 Large brace-block initialisation makes CC Mode slow: Fix.
17627 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17628 routines. Limit backward searching in c-font-lock-enclosing.decl.
17629
17630 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17631 pp-state and literal type in addition to the limits.
17632 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17633 (c-state-literal-at): Use the above new defun.
17634 (c-slow-in-literal, c-fast-in-literal): Remove.
17635 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17636
17637 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17638 being in a literal. Add a limit for backward searching.
17639
17640 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17641 c-slow-in-literal.
17642
17643 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17644
17645 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17646
17647 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17648
17649 * window.el (delete-other-windows): Use correct frame in call to
17650 window-with-parameter.
17651
17652 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17653
17654 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17655 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17656 (makefile-gmake-statements, makefile-makepp-statements):
17657 Use it and add new makepp keywords.
17658 (makefile-makepp-font-lock-keywords): Add new patterns.
17659 (makefile-match-function-end): Match new [...] and [[...]].
17660
17661 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17662
17663 * ses.el (ses-call-printer-return, ses-cell-property-get)
17664 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17665 (ses-create-cell-variable, ses-reset-header-string)
17666 (ses-cell-set-formula, ses-repair-cell-reference-all)
17667 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17668 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17669 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17670 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17671 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17672 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17673 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17674 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17675 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17676 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17677 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17678 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17679
17680 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17681
17682 * ses.el: The overall change is to add cell renaming, that is
17683 setting fancy names for cell symbols other than name matching
17684 "\\`[A-Z]+[0-9]+\\'" regexp .
17685 (ses-create-cell-variable): New defun.
17686 (ses-relocate-formula): Relocate formulas only for cells the
17687 symbols of which are not renamed, i.e. symbols whose names do not
17688 match regexp "\\`[A-Z]+[0-9]+\\'".
17689 (ses-relocate-all): Relocate values only for cells the symbols of
17690 which are not renamed.
17691 (ses-load): Create cells variables as the (ses-cell ...) are read,
17692 in order to check row col consistency with cell symbol name only
17693 for cells that are not renamed.
17694 (ses-replace-name-in-formula): New defun.
17695 (ses-rename-cell): New defun.
17696
17697 2011-12-11 Chong Yidong <cyd@gnu.org>
17698
17699 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17700 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17701
17702 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17703
17704 * window.el (other-window): Fix docstring.
17705
17706 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17707
17708 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17709 `from' or `to' address before taking its substring.
17710 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17711 encoded name is chopped in the middle of the encoded string, and
17712 thus displayed encoded.
17713
17714 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17715
17716 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17717
17718 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17719
17720 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17721 to use texinfo-update-node and commands that call it if the
17722 Texinfo file uses @node lines without next/prev/up pointers.
17723 Correct outdated description about texinfo-master-menu.
17724 (texinfo-all-menus-update, texinfo-master-menu)
17725 (texinfo-update-node, texinfo-every-node-update)
17726 (texinfo-multiple-files-update): Doc fix. Warn against updating
17727 all the @node lines.
17728 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17729 argument is numeric. Explain better in the doc string what the
17730 function really does.
17731 (texinfo-insert-master-menu-list): Improve the error message
17732 displayed if there's no menu in the Top node.
17733 (Bug#2975) See also this thread:
17734 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17735
17736 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17737
17738 * speedbar.el (speedbar-supported-extension-expressions):
17739 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17740
17741 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17742
17743 * printing.el (pr-mode-alist):
17744 * simple.el (filter-buffer-substring-functions)
17745 (completion-list-insert-choice-function):
17746 * window.el (window-with-parameter, window-atom-root)
17747 (window-sides-slots, window-size-fixed, window-min-delta)
17748 (window-max-delta, window--resize-mini-window)
17749 (window--resize-child-windows-normal, window-tree)
17750 (delete-other-windows, quit-window, split-window)
17751 (display-buffer-record-window, special-display-buffer-names)
17752 (special-display-regexps, special-display-popup-frame)
17753 (same-window-p, split-window-sensibly)
17754 (display-buffer-overriding-action, display-buffer-alist)
17755 (display-buffer-base-action, display-buffer, switch-to-buffer)
17756 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17757 (fit-window-to-buffer, recenter-positions)
17758 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17759 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17760 and remove unneeded backslashes in docstrings.
17761
17762 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17763
17764 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17765
17766 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17767 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17768 end in ".mk".
17769 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17770 when reading the makefile (bug#10116).
17771
17772 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17773
17774 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17775 (bug#10116).
17776
17777 2011-12-06 Glenn Morris <rgm@gnu.org>
17778
17779 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17780
17781 2011-12-06 Chong Yidong <cyd@gnu.org>
17782
17783 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17784
17785 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17786
17787 * textmodes/table.el (table-shorten-cell): Fix typo.
17788
17789 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17790
17791 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17792
17793 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17794
17795 * descr-text.el (describe-char): Fix display of strong
17796 right-to-left characters and directional embeddings and overrides.
17797
17798 * simple.el (what-cursor-position): Fix display of codepoints of
17799 strong right-to-left characters.
17800
17801 2011-12-05 Chong Yidong <cyd@gnu.org>
17802
17803 * faces.el (read-color): Doc fix.
17804
17805 2011-12-05 Glenn Morris <rgm@gnu.org>
17806
17807 * align.el (align--set-marker): Add doc-string.
17808 Don't try to move something that is not a marker. (Bug#10216)
17809
17810 2011-12-04 Glenn Morris <rgm@gnu.org>
17811
17812 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17813 overly zealous deletion of trailing whitespace.
17814
17815 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17816
17817 * server.el (server-delete-client): On Windows, do not try to delete
17818 the only terminal.
17819 (server-process-filter): On Windows, treat requests for a tty frame as
17820 if they were for a GUI frame if the running server is in GUI mode.
17821
17822 2011-12-03 Glenn Morris <rgm@gnu.org>
17823
17824 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17825
17826 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * electric.el: Streamline electric-indent's hook.
17829 (electric-indent-chars): Revert to simple list.
17830 (electric-indent-functions): New var.
17831 (electric-indent-post-self-insert-function): Use it.
17832
17833 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17834 there's no inferior buffer (bug#10196).
17835 (prolog-consult-compile): Don't use toggle-read-only.
17836
17837 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17838
17839 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17840 interrupt. (Bug#10187)
17841
17842 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17843
17844 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17845 (bug#9160).
17846
17847 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17848 (bug#10191).
17849
17850 2011-12-02 Juri Linkov <juri@jurta.org>
17851
17852 * info.el (Info-search): Display "end of manual" when Isearch
17853 reaches the end of single-file Info manual. (Bug#9918)
17854
17855 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17856
17857 * isearch.el (isearch-message-prefix): Run the input method part
17858 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17859
17860 2011-12-02 Juri Linkov <juri@jurta.org>
17861
17862 * isearch.el (isearch-occur): Use `word-search-regexp' for
17863 `isearch-word'.
17864 (isearch-search-and-update): Add condition for `isearch-word' and
17865 call `word-search-regexp'. (Bug#10145)
17866
17867 2011-12-01 Glenn Morris <rgm@gnu.org>
17868
17869 * eshell/em-hist.el (eshell-hist-initialize):
17870 Handle eshell-history-size nil and HISTSIZE set or unset.
17871 (eshell-history-file-name, eshell-history-size): Fix custom type.
17872
17873 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17874
17875 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17876
17877 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17878
17879 * progmodes/verilog-mode.el (verilog-pretty-expr):
17880 Rework verilog-pretty-expr to handle new assignment operators in system
17881 verilog, such as += *= and the like.
17882 (verilog-assignment-operator-re): Regular expression to find the
17883 assigment operator in a verilog assignment.
17884 (verilog-assignment-operation-re): Regular expression to find an
17885 assignment statement for pretty-expr.
17886 (verilog-in-attribute-p): Query returns true if point is in an
17887 attribute context; used to skip these for expression line up from
17888 pretty-expr.
17889 (verilog-in-parameter-p): Query returns true if point is in an
17890 parameter definition context; used to skip these for expression
17891 line up from pretty-expr.
17892 (verilog-in-parenthesis-p): Query returns true if point is in a
17893 parenthetical expression, specifically ( ) but not [ ] or { };
17894 used by pretty-expr.
17895 (verilog-just-one-space): If there is no space, don't add one.
17896 (verilog-get-lineup-indent-2): Specifically skip just attribute
17897 contexts for expression lineup, rather than skipping all
17898 parenthetical expressions.
17899 (verilog-calculate-indent): Fix comment, and fix indent.
17900 (verilog-do-indent): Indent declarations in lists (suggested by
17901 Joachim Lechner).
17902 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17903 skeleton items.
17904 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17905 by Alain Mellan).
17906
17907 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17908
17909 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17910 parameters with embedded comments. Reported by Ray Stevens.
17911 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17912 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17913 Reported by Tim Holt.
17914 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17915 instantiated by upper module causing wrong expansion until AUTOed a
17916 second time. Reported by K C Buckenmaier.
17917 (verilog-diff-auto): Fix showing .* as a difference when
17918 `verilog-auto-star-save' off. Reported by Dan Dever.
17919 (verilog-auto-reset, verilog-read-always-signals)
17920 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17921 temporary signals in reset list if
17922 verilog-auto-reset-blocking-in-non is nil, and match assignment
17923 style to each signal's assignment type, bug381.
17924 Reported by Thomas Esposito.
17925 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17926 (verilog-uvm-statement-re): Support UVM indentation and
17927 highlighting, with old OVM keywords only.
17928 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17929 Support AUTOTIEOFF creating non-wire data types.
17930 Suggested by Jonathan Greenlaw.
17931 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17932 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17933 (verilog-inject-sense, verilog-read-inst-pins)
17934 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17935 Fix mismatching parenthesis inside commented out code when deleting
17936 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17937 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17938 non-numeric vector width. Reported by Alex Reed.
17939 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17940 detecting signals with parameter widths. Reported by Alex Reed.
17941 (verilog-auto-delete-trailing-whitespace):
17942 With `verilog-auto-delete-trailing-whitespace' remove trailing
17943 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17944 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17945 Fix verilog-scan-cache corruption when running user AUTO expansion
17946 hooks that call indentation routines.
17947 (verilog-simplify-range-expression): Fix typo ignoring lower case
17948 identifiers.
17949 (verilog-delete-auto): Fix delete-autos to also remove user created
17950 automatics, as long as they start with AUTO.
17951 (verilog-batch-diff-auto, verilog-diff-auto)
17952 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17953 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17954 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17955 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17956 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17957 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17958 is disabled and its cache will get corrupt, causing AUTOS not to
17959 expand. Instead use only -quick functions.
17960 (verilog-scan-region): Fix scanning over escaped quotes.
17961 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17962 (verilog-re-search-backward-quick)
17963 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17964 related functions now ignore strings, to fix misparsing of strings
17965 with magic comments embedded in them.
17966 (verilog-read-auto-template):
17967 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17968 Reported by Brad Dobbie.
17969 (verilog-read-auto-template):
17970 Fix 'verilog-auto-inst-template-numbers' with comments.
17971 Reported by Brad Dobbie.
17972 (verilog-auto-inst, verilog-auto-inst-param)
17973 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17974 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17975 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17976 debugging templates without merge conflicts, bug357.
17977 Reported by Brad Dobbie.
17978 (verilog-read-auto-template):
17979 Fix verilog-auto-inst-template-numbers with multiple templates.
17980 Reported by Brad Dobbie.
17981 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17982 abbrevs so user won't be asked to save.
17983 (verilog-read-auto-lisp-present): Fix to start at beginning of
17984 buffer in case called outside of verilog-auto.
17985 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17986 to "X-2". Reported by Matthew Myers.
17987 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17988 all inputs from module templates. Reported by Leith Johnson.
17989 (verilog-module-inside-filename-p): Fix locating programs as with
17990 modules.
17991 (verilog-auto-inst-port): Fix vl-width expressions when using
17992 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17993 (verilog-decls-get-regs, verilog-decls-get-signals,
17994 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17995 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17996 verilog-read-decls): Combine reg and wire structures into one var
17997 structure to represent SystemVerilog concepts.
17998 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17999 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18000 (verilog-auto-wire-type, verilog-insert-definition):
18001 Add verilog-auto-wire-type and AUTOLOGIC to support using
18002 SystemVerilog "logic" keyword instead of "wire"/"reg".
18003 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18004 to declares outputs that also have assignments (presumably in an
18005 ifdef or generate if so there's not a driver conflict).
18006 Reported by Matthew Myers.
18007 (verilog-auto-declare-nettype, verilog-insert-definition):
18008 Add verilog-auto-declare-nettype to fix declarations using
18009 `default_nettype none. Reported by Julian Gorfajn.
18010 (verilog-read-always-signals-recurse, verilog-read-decls)
18011 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18012 malformed end statement, bug325. Reported by Joshua Wise and
18013 Andrew Drake.
18014 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18015 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18016 when expanding .* in interfaces, bug320.
18017 Reported by Pierre-David Pfister.
18018 (verilog-read-module-name): Fix import statements between module
18019 name and open parenthesis, bug317.
18020 Reported by Pierre-David Pfister.
18021 (verilog-simplify-range-expression): Fix simplification of
18022 multiplications inside AUTOWIRE connections, bug303.
18023 (verilog-auto-inst-port): Support parameter expansion in
18024 multidimensional arrays.
18025 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18026 after "assert property". Reported by Julian Gorfajn.
18027 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18028 with multiplication, bug303.
18029 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18030 Reported by Jan Frode Lonnum.
18031
18032 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18033
18034 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18035 (hfy-shell-file-name, hfy-shell):
18036 * international/fontset.el (x-decompose-font-name): Fix typos.
18037
18038 2011-11-29 Ken Brown <kbrown@cornell.edu>
18039
18040 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18041 (gdb-version): Remove defvar.
18042 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18043 (gdb-gud-context-command, gdb-non-stop-handler)
18044 (gdb-current-context-command, gdb-stopped): Use it.
18045 (gdb-init-1): Enable pretty printing here.
18046 (gdb-non-stop-handler): Don't enable pretty-printing here.
18047 Check to see if the target supports non-stop mode; if not, turn off
18048 non-stop mode. Use the following.
18049 (gdb-check-target-async): New defun.
18050 (gud-watch, gdb-stopped): Fix whitespace.
18051 (gdb-get-source-file): Don't try to display the source file if
18052 `gdb-main-file' is nil.
18053
18054 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18055
18056 * align.el: Try to generate fewer markers (bug#10047).
18057 (align--set-marker): New macro.
18058 (align-region): Use it.
18059
18060 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18061
18062 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18063
18064 2011-11-29 Chong Yidong <cyd@gnu.org>
18065
18066 * indent.el (indent-for-tab-command, indent-according-to-mode):
18067 Doc fix.
18068 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18069
18070 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18071
18072 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18073 aware of remote file names. (Bug#10124)
18074
18075 2011-11-29 Chong Yidong <cyd@gnu.org>
18076
18077 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18078
18079 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18080
18081 * files.el (find-file): Don't use force-same-window (bug#10144).
18082 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18083 use pop-to-buffer if the selected window can't be used.
18084 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18085
18086 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18087
18088 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18089 special-mode-map.
18090
18091 2011-11-28 Chong Yidong <cyd@gnu.org>
18092
18093 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18094
18095 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18096
18097 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18098 gdb-get-source-file-list on gdb-create-source-file-list.
18099
18100 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18101
18102 * whitespace.el (whitespace-newline): Use a different foreground
18103 color for 16-color light-background displays.
18104
18105 2011-11-24 Chong Yidong <cyd@gnu.org>
18106
18107 * window.el (display-buffer--special-action): Doc fix.
18108
18109 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18112 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18113 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18114 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18115 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18116 (avl-tree-stack-first):
18117 * emacs-lisp/cconv.el (cconv--analyse-use):
18118 * net/gnutls.el (gnutls-negotiate): Fix typos.
18119
18120 2011-11-24 Glenn Morris <rgm@gnu.org>
18121
18122 * lpr.el (lpr-windows-system, lpr-lp-system):
18123 * mail/binhex.el (binhex-begin-line):
18124 * progmodes/grep.el (grep-history, grep-find-history):
18125 * textmodes/flyspell.el:
18126 * vc/pcvs-defs.el (cvs-global-menu):
18127 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18128 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18129 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18130
18131 * net/tls.el: Fix case of "GnuTLS".
18132
18133 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18134
18135 * version.el (emacs-build-system): Give it a doc-string.
18136
18137 2011-11-24 Juri Linkov <juri@jurta.org>
18138
18139 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18140
18141 2011-11-24 Glenn Morris <rgm@gnu.org>
18142
18143 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18144 if called on a non-mime message just toggle the headers. (Bug#8006)
18145
18146 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18147
18148 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18149 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18150 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18151 (allout-rebullet-heading, allout-open-sibtopic)
18152 (allout-toggle-current-subtree-encryption)
18153 (allout-toggle-subtree-encryption, allout-encrypt-string)
18154 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18155 (allout-distinctive-bullets-string, allout-auto-activation):
18156 * window.el (window-normalize-buffer-to-display):
18157 * progmodes/verilog-mode.el (verilog-batch-indent):
18158 * textmodes/bibtex.el (bibtex-field-braces-opt)
18159 (bibtex-field-strings-opt):
18160 * vc/cvs-status.el (cvs-tree-merge):
18161 Fix typos.
18162
18163 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18164
18165 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18166 `non-essential' to t, in order to avoid remote connections.
18167
18168 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18169
18170 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18171 On MS-DOS and MS-Windows, compare with loaddefs.el
18172 case-insensitively.
18173
18174 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18175
18176 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18177
18178 2011-11-23 Glenn Morris <rgm@gnu.org>
18179
18180 * paths.el (rmail-file-name): Reformat the doc-string so that it
18181 is picked up.
18182
18183 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18184 (rmail-auto-file): Ignore case in the "special" field names,
18185 as mail-fetch-field does for all others.
18186
18187 * mail/rmail.el (rmail-forward):
18188 * mail/rmailkwd.el (rmail-set-label):
18189 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18190 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18191
18192 * mail/rmail.el (rmail-current-message): Doc fix.
18193
18194 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18195
18196 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18197
18198 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18199
18200 2011-11-22 Glenn Morris <rgm@gnu.org>
18201
18202 * mail/rmailmm.el (test-rmail-mime-handler)
18203 (test-rmail-mime-bulk-handler)
18204 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18205
18206 2011-11-21 Juri Linkov <juri@jurta.org>
18207
18208 * calc/calc.el (calc-read-key-sequence):
18209 Let-bind `input-method-function' to nil. (Bug#10018)
18210
18211 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18212
18213 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18214 Tell the caller that the next line needs recomputation, even
18215 though it doesn't start a sexp (bug#10094).
18216
18217 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18218
18219 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18220
18221 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18224 Use force-same-window.
18225
18226 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18227
18228 * descr-text.el (describe-char-unicode-data):
18229 * json.el (json-string-escape):
18230 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18231 (Footnote-unicode, Footnote-style-p):
18232 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18233
18234 2011-11-20 Chong Yidong <cyd@gnu.org>
18235
18236 * window.el (replace-buffer-in-windows): Restore interactive spec.
18237
18238 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18239
18240 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18241
18242 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18243 (byte-compile-global-not-obsolete-vars): New var.
18244 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18245 Use it.
18246 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18247
18248 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18249
18250 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18251 * progmodes/pascal.el (electric-pascal-equal):
18252 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18253 * xml.el (xml-substitute-special): Fix typos.
18254
18255 2011-11-20 Glenn Morris <rgm@gnu.org>
18256
18257 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18258 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18259 Doc fixes.
18260 (rmail-decode-mime-charset): Mark as obsolete.
18261
18262 * mail/rmailsum.el (rmail-message-regexp-p-1):
18263 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18264 Before using mime functions, check they are set. (Bug#10077)
18265
18266 2011-11-19 Juri Linkov <juri@jurta.org>
18267
18268 * info.el (Info-finder-find-node): Use `package--builtins' instead
18269 of `package-alist'. Use node names formed by the pattern "Keyword "
18270 and the keyword name.
18271
18272 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18273
18274 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18275
18276 2011-11-19 Juri Linkov <juri@jurta.org>
18277
18278 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18279 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18280 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18281 `old-history', `old-history-forward'. Add let-binding
18282 `window-selected'. Remove calls to `kill-buffer',
18283 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18284 before calling `Info-find-node', so `Info-find-node-2' will reread
18285 the Info file. Restore window positions only when `window-selected'
18286 is non-nil.
18287
18288 2011-11-19 Juri Linkov <juri@jurta.org>
18289
18290 * isearch.el (isearch-lazy-highlight-new-loop):
18291 Remove condition `(not isearch-error)'. (Bug#9918)
18292
18293 * misearch.el (multi-isearch-search-fun): Add condition
18294 `(not bound)' to ignore lazy-highlighting search.
18295 Add the search-failed message "end of multi" when the end of
18296 multi-sequence is reached. Uncapitalize the search-failed
18297 message "Repeat for next buffer".
18298
18299 * info.el (Info-search): Add the search-failed message
18300 "end of the manual" when the end of the manual is reached
18301 in Isearch mode.
18302
18303 2011-11-19 Juri Linkov <juri@jurta.org>
18304
18305 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18306 Use non-destructive `remove' instead of `delete' because
18307 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18308 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18309
18310 2011-11-19 Juri Linkov <juri@jurta.org>
18311
18312 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18313 to nil instead of binding `search-ring' and `regexp-search-ring'.
18314 (Bug#9185)
18315
18316 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18317
18318 * simple.el (line-move): Force movement by logical lines for any
18319 hscrolled window, not only when auto-hscroll-mode is on.
18320 (line-move-visual): Update doc string to that effect. (Bug#10076)
18321
18322 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18323
18324 * language/european.el (macintosh): Define as alias for mac-roman.
18325
18326 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18327
18328 * mail/rmailmm.el (rmail-mime-display-header)
18329 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18330 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18331 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18332 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18333 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18334 of a raw aref.
18335 (rmail-mime-entity-segment): To get past the tagline, move forward
18336 2 more lines, to account for the 2 empty lines that precede and
18337 follow the line with the buttons.
18338 (rmail-mime-update-tagline): Move one more line, to get past the
18339 empty line that follows the buttons in the tagline. (Bug#9520)
18340
18341 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18342
18343 * window.el (window-max-delta-1, window-min-delta-1)
18344 (window-min-size-1, window-state-get-1, window-state-put-1)
18345 (window-state-put-2): Use "window--" prefix.
18346
18347 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18348
18349 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18350 (smie-warning-count): New var.
18351 (smie-set-prec2tab): Use it.
18352 (smie-bnf->prec2): Improve warnings. Add docstring.
18353 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18354 (smie-bnf--set-class): New function.
18355 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18356 corner case.
18357
18358 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18359 (compilation-error-properties, compilation-move-to-column):
18360 Handle compilation-first-column while in the target buffer.
18361
18362 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18363 Don't hardcode point-min==1.
18364
18365 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18366 (eshell-rewrite-for-command): Remove workaround.
18367 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18368 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18369 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18370
18371 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18372
18373 2011-11-17 Glenn Morris <rgm@gnu.org>
18374
18375 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18376 Ignore buffer-local generated-autoload-file if it is the same
18377 as the global value. (Bug#10049)
18378
18379 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18380
18381 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18382 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18383 (reftex-toc-previous-heading, reftex-toc-max-level)
18384 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18385 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18386 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18387 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18388 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18389 (reftex-toc-rename-label, reftex-toc-visit-location)
18390 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18391 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18392 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18393 leaving "*toc*" only for references to the buffer.
18394
18395 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18396
18397 * window.el (window-resize, delete-window, split-window):
18398 Replace window-splits by window-combination-resize.
18399 * cus-start.el (window-splits): Replace by window-combination-resize.
18400
18401 2011-11-17 Glenn Morris <rgm@gnu.org>
18402
18403 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18404 Make bash entry derive from sh entry, not shell entry.
18405
18406 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18407
18408 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18409 local file name.
18410
18411 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18412
18413 * menu-bar.el (menu-bar-file-menu):
18414 * printing.el (pr-ps-utility):
18415 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18416 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18417 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18418 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18419 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18420 (icalendar--convert-cyclic-to-ical)
18421 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18422 (icalendar--convert-ical-to-diary)
18423 (icalendar--convert-recurring-to-diary)
18424 (icalendar--convert-non-recurring-all-day-to-diary)
18425 (icalendar-import-format-sample):
18426 * progmodes/idlw-shell.el (idlwave-shell-mode):
18427 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18428 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18429 (vhdl-ps-print-init): Fix typos.
18430
18431 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18432
18433 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18434 FSF and collapse date sequence, obscure author/maintainer email address
18435 better, remove extra version line, track relocation of author's webpage.
18436
18437 * progmodes/python.el (python-pdbtrack-input-prompt)
18438 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18439 regular python pdb prompts. Adjustments shamelessly taken exactly as
18440 suggested in EmacsWiki page (tiny change):
18441 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18442
18443 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18444
18445 * expand.el (expand-pos, expand-index, expand-point):
18446 Remove redundant info from docstring.
18447 (expand-add-abbrevs): Doc fix.
18448 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18449 (expand-sample-perl-mode-expand-list): Fix typos.
18450
18451 * net/dbus.el (dbus-event-member-name):
18452 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18453 * term/pc-win.el (msdos-create-frame-with-faces):
18454 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18455
18456 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18457
18458 * window.el (split-window, window-state-get-1)
18459 (window-state-put-1, window-state-put-2): Rename occurrences of
18460 window-nest to window-combination-limit.
18461 * cus-start.el (window-nest): Rename to window-combination-limit.
18462
18463 2011-11-16 Chong Yidong <cyd@gnu.org>
18464
18465 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18466 regexp (Bug#10033).
18467
18468 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18469
18470 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18471 `completing-read' will remove *Completions* and will preserve
18472 current-buffer for us.
18473 (tmm-add-prompt): Users of *Completions* will always (re)set its
18474 major mode.
18475 (tmm-old-comp-map): Remove.
18476
18477 2011-11-16 Glenn Morris <rgm@gnu.org>
18478
18479 * mail/rmailedit.el: Require rmailmm when compiling.
18480 (rmail-old-mime-state): New declaration.
18481 (rmail-edit-current-message): If editing a mime message,
18482 edit the "raw" message from the mbox buffer.
18483 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18484
18485 2011-11-15 Glenn Morris <rgm@gnu.org>
18486
18487 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18488 which wasn't being used. Add optional arg to force given state.
18489 (rmail-mime): Add optional arg to force given state.
18490
18491 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18492
18493 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18494 * frame.el (display-mm-dimensions-alist):
18495 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18496 (outline-move-subtree-down):
18497 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18498 (newsticker--treeview-do-get-node):
18499 * net/quickurl.el (quickurl-list-buffer-name):
18500 * progmodes/dcl-mode.el (dcl-mode):
18501 * progmodes/gdb-mi.el (gdb-mapcar*):
18502 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18503
18504 2011-11-15 Glenn Morris <rgm@gnu.org>
18505
18506 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18507 in a boolean sense, so just make it a boolean, and fix the doc.
18508 (rmail-show-mime-function, rmail-mime-feature)
18509 (rmail-require-mime-maybe): Doc fixes.
18510 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18511
18512 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18513
18514 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18515
18516 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18517 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18518 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18519 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18520
18521 2011-11-15 Glenn Morris <rgm@gnu.org>
18522
18523 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18524 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18525 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18526 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18527 (rmail-mime, rmail-show-mime): Doc fixes.
18528
18529 * term/ns-win.el (mode-line-frame-identification):
18530 Leave it alone. (Bug#10051)
18531
18532 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18533
18534 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18535 Handle empty buffers. (Bug#9978)
18536
18537 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18538
18539 * international/mule.el (define-charset):
18540 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18541 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18542 * progmodes/verilog-mode.el (verilog-backward-token):
18543 * textmodes/ispell.el (lookup-words):
18544 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18545
18546 2011-11-14 Glenn Morris <rgm@gnu.org>
18547
18548 * progmodes/executable.el
18549 (executable-make-buffer-file-executable-if-script-p):
18550 Handle file-modes returning nil.
18551
18552 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18553 message - not necessary, and causes problems. (Bug#9831)
18554
18555 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18556
18557 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18558
18559 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18560 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18561 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18562
18563 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18564
18565 * window.el (window-resize, delete-window): Use window-splits
18566 variable instead of function.
18567 (window-state-get-1, window-state-put-2, window-state-put):
18568 Don't deal with windows' splits status.
18569
18570 2011-11-12 Glenn Morris <rgm@gnu.org>
18571
18572 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18573 (apropos-documentation): Doc fixes.
18574
18575 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18576
18577 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18578 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18579
18580 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18581
18582 * electric.el (electric-indent-post-self-insert-function): Make it
18583 possible for a char to only indent in some circumstances.
18584 (electric-indent-mode): Simplify.
18585
18586 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18587
18588 * window.el (windows-with-parameter): Remove unused function.
18589 (windows-at-side): Rename to window-at-side-list.
18590 (window-check, window-atom-check, window-atom-check-1)
18591 (window-side-check, window-size-ignore, window-size-fixed-1)
18592 (window-in-direction-2): Prefix with "window--".
18593 (window-tree-1): Rename to window--subtree, fix doc-string.
18594
18595 2011-11-11 Glenn Morris <rgm@gnu.org>
18596
18597 * subr.el (eval-after-load): If FILE is already loaded,
18598 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18599
18600 2011-11-10 Glenn Morris <rgm@gnu.org>
18601
18602 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18603 Call svn via vc-svn-command rather than vc-do-command.
18604 (vc-svn-command): Add --non-interactive. (Bug#9993)
18605 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18606
18607 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18608 Add toggle-read-only. (Bug#7292)
18609 * files.el (toggle-read-only): Mention that it should only
18610 be used interactively. (Bug#10006)
18611
18612 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18613
18614 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18615 Adjust regexp for OCaml warnings.
18616
18617 * electric.el (electric-pair-post-self-insert-function): Let user
18618 turn it off buffer-locally (bug#9932).
18619
18620 * progmodes/python.el (python-beginning-of-statement):
18621 Rewrite (bug#2703).
18622
18623 * progmodes/compile.el: Better handle TABs (bug#9749).
18624 (compilation-internal-error-properties)
18625 (compilation-next-error-function): Obey the target buffer's
18626 compilation-error-screen-columns.
18627
18628 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18629
18630 * progmodes/meta-mode.el: Remove obsolete comments.
18631 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18632 Fix typos in docstrings.
18633
18634 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18635
18636 * window.el (window-size-fixed-p): Rewrite doc-string.
18637 (window-resizable-p): Rename to window--resizable-p. Update callers.
18638 (window--resizable): New function. Make all callers of
18639 window-resizable call window--resizable instead.
18640 (window-resizable): Rewrite in terms of window--resizable.
18641
18642 2011-11-08 Glenn Morris <rgm@gnu.org>
18643
18644 * progmodes/delphi.el (delphi-mode-syntax-table):
18645 Let define-derived-mode define a proper syntax table. (Bug#9994)
18646
18647 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18648
18649 * window.el: Stay away from defsubst.
18650 (window-list-no-nils): Remove.
18651 (window-state-get-1, window-state-get): Use backquote instead.
18652
18653 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18654
18655 * emacs-lisp/find-func.el (find-function-read):
18656 Fix incorrect use of default argument in `completing-read'.
18657
18658 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18659
18660 * window.el (display-buffer-function, special-display-function):
18661 Mention display-buffer-record-window but do not mention
18662 help-setup parameter in doc-strings.
18663 (window-min-delta): Fix doc-string typo.
18664
18665 2011-11-08 Chong Yidong <cyd@gnu.org>
18666
18667 * window.el (window-total-height, window-total-width): Doc fix.
18668 (window-body-size): Move from C.
18669 (window-body-height, window-body-width): Move to C.
18670
18671 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18672
18673 * window.el: Make special-display like display-buffer-alist (bug#9532).
18674 (display-buffer--special-action): New function, morphed
18675 from display-buffer--special.
18676 (display-buffer): Use it to handle special-display-buffers at higher
18677 priority (just after display-buffer-alist).
18678 (display-buffer-fallback-action, display-buffer--other-frame-action)
18679 (pop-to-buffer-same-window): Remove display-buffer--special.
18680
18681 2011-11-07 Glenn Morris <rgm@gnu.org>
18682
18683 * calendar/cal-menu.el (cal-menu-set-date-title):
18684 Do nothing if not in a calendar. (Bug#9976)
18685
18686 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18687
18688 * files.el (find-file): Always use selected-window.
18689
18690 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18691
18692 * window.el (window-combinations): Make WINDOW argument
18693 mandatory. Rewrite doc-string.
18694 (walk-window-subtree, window-atom-check, window-min-delta)
18695 (window-max-delta, window--resize-this-window)
18696 (window--resize-root-window-vertically, window-tree)
18697 (balance-windows, window-state-put): Rewrite doc-strings as to
18698 not mention the term "subwindow".
18699 (window--resize-subwindows-skip-p): Rename to
18700 window--resize-child-windows-skip-p.
18701 (window--resize-subwindows-normal): Rename to
18702 window--resize-child-windows-normal.
18703 (window--resize-subwindows): Rename to
18704 window--resize-child-windows.
18705 (window-or-subwindow-p): Rename to window--in-subtree-p.
18706
18707 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18708
18709 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18710 Ensure that mbox format messages end in two newlines (Bug#9974).
18711
18712 2011-11-06 Chong Yidong <cyd@gnu.org>
18713
18714 * window.el (window-combination-p): Function deleted; its
18715 side-effect is not used in any existing code.
18716 (window-combinations, window-combined-p): Call window-*-child
18717 directly.
18718
18719 2011-11-05 Chong Yidong <cyd@gnu.org>
18720
18721 * window.el (window-valid-p): Rename from window-any-p.
18722 (window-size-ignore, window-state-get): Callers changed.
18723 (window-normalize-window): Rename from window-normalize-any-window.
18724 New arg LIVE-ONLY, replacing window-normalize-live-window.
18725 (window-normalize-live-window): Delete.
18726 (window-combination-p, window-combined-p, window-combinations)
18727 (walk-window-subtree, window-atom-root, window-min-size)
18728 (window-sizable, window-sizable-p, window-size-fixed-p)
18729 (window-min-delta, window-max-delta, window-resizable)
18730 (window-resizable-p, window-full-height-p, window-full-width-p)
18731 (window-current-scroll-bars, window-point-1, set-window-point-1)
18732 (window-at-side-p, window-in-direction, window-resize)
18733 (adjust-window-trailing-edge, maximize-window, minimize-window)
18734 (window-deletable-p, delete-window, delete-other-windows)
18735 (record-window-buffer, unrecord-window-buffer)
18736 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18737 (quit-window, split-window, window-state-put)
18738 (set-window-text-height, fit-window-to-buffer)
18739 (shrink-window-if-larger-than-buffer): Callers changed.
18740
18741 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18742
18743 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18744 rfc2047-decode-string.
18745 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18746 warnings.
18747
18748 * window.el (window-body-height, window-body-width): Mention in
18749 the doc string that the return values are in frame's canonical
18750 units. (Bug#9949)
18751
18752 2011-11-03 Alan Mackenzie <acm@muc.de>
18753
18754 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18755 change in cc-engine.el.
18756
18757 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18758
18759 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18760
18761 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18762
18763 * window.el (quit-window): Call unrecord-window-buffer after
18764 showing another buffer in the window. (Bug#9937)
18765 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18766
18767 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18768
18769 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18770 Accept status with more than 9 shelves. (Bug#9935)
18771 Reported by Colin D Bennett <colin@gibibit.com>.
18772
18773 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18774
18775 * help.el (with-help-window): Don't reference
18776 temp-buffer-show-specifiers in doc-string.
18777
18778 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18779
18780 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18781 menu-item.
18782
18783 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18784
18785 * whitespace.el: New version 13.2.2.
18786 (whitespace-newline-mode): Disable properly. Reported by Sarah
18787 <EmacsWiki>.
18788
18789 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18790
18791 * net/newst-treeview.el: Remove "Time-stamp".
18792 (newsticker--group-manage-orphan-feeds): Do not call
18793 newsticker--treeview-tree-update.
18794 (newsticker-treeview-update, newsticker-treeview):
18795 Call newsticker--treeview-tree-update if necessary.
18796
18797 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18798
18799 * window.el (window-iso-combination-p, window-iso-combined-p)
18800 (window-iso-combinations): Remove "iso-" infix.
18801 Suggested by Chong Yidong.
18802 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18803 (window-max-delta-1, window-resize, window--resize-siblings)
18804 (window--resize-this-window, adjust-window-trailing-edge)
18805 (split-window, balance-windows-1)
18806 (shrink-window-if-larger-than-buffer):
18807 * calendar/calendar.el (calendar-generate-window):
18808 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18809
18810 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18811
18812 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18813 in place (bug#9907).
18814 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18815 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18816 (eshell-structure-basic-command, eshell-rewrite-while-command)
18817 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18818 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18819 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18820 (eshell-do-pipelines-synchronously, eshell-eval-command):
18821 Use backquotes and prefer setq to set.
18822 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18823 (eshell-macrop): Use functionp.
18824 (eshell-do-eval): Handle multiple expressions in `while' body.
18825
18826 2011-10-30 Chong Yidong <cyd@gnu.org>
18827
18828 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18829 instead of set-mark (Bug#9810).
18830
18831 2011-10-30 Chong Yidong <cyd@gnu.org>
18832
18833 * window.el (split-window-below, split-window-right): Rename from
18834 split-window-above-each-other and split-window-side-by-side
18835 respectively. All callers changed.
18836 (split-window-sensibly, split-window-sensibly): Use them.
18837 (split-window-keep-point): Doc fix.
18838
18839 * isearch.el: Add isearch-scroll property to split-window-below
18840 and split-window-right.
18841
18842 * follow.el (follow-mode):
18843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18844 * progmodes/ada-xref.el (ada-gdb-application):
18845 * emulation/vip.el (vip-buffer-in-two-windows):
18846 * image-dired.el (image-dired-dired-with-window-configuration):
18847 * dired-x.el (dired-do-find-marked-files):
18848 * dired.el (dired-pop-to-buffer):
18849 * bs.el (bs--show-with-configuration):
18850 * vc/emerge.el (emerge-setup-windows):
18851 * textmodes/two-column.el (2C-two-columns):
18852 * textmodes/reftex-toc.el (reftex-toc):
18853 * progmodes/gdb-mi.el (gdb-setup-windows):
18854 * progmodes/fortran.el (fortran-window-create):
18855 * net/newst-treeview.el (newsticker--treeview-window-init):
18856 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18857 * emulation/tpu-edt.el (tpu-gold-map):
18858 * emulation/crisp.el (crisp-mode-map):
18859 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18860
18861 2011-10-29 Chong Yidong <cyd@gnu.org>
18862
18863 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18864
18865 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18866
18867 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18868 forged Ispell output (Bug#7904).
18869
18870 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18871
18872 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18873
18874 * doc-view.el: Avoid ugly errors about not finding nil.
18875 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18876 (doc-view-dvipdf-program, doc-view-unoconv-program)
18877 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18878 Avoid nil or absolute file name as default value.
18879 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18880
18881 2011-10-28 Alan Mackenzie <acm@muc.de>
18882
18883 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18884
18885 2011-10-28 Alan Mackenzie <acm@muc.de>
18886
18887 Amend the handling of c-beginning/end-of-defun in nested declaration
18888 scopes.
18889
18890 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18891 cc-langs.el. Change it to a defcustom.
18892
18893 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18894 cc-vars.el.
18895
18896 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18897 Prevent "class foo : bar" being spuriously recognized as a label.
18898
18899 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18900 Add parameter `inclusive' (to include enclosing braces in the region).
18901 (c-widen-to-enclosing-decl-scope): New function.
18902 (c-while-widening-to-decl-block): New macro.
18903 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18904 outward for defun boundaries, and correspondingly change symbol
18905 `respect-enclosure' to `go-outward'.
18906 (c-declaration-limits): Change algorithm to report only the "innermost"
18907 defun's boundaries.
18908
18909 2011-10-28 Deniz Dogan <deniz@dogan.se>
18910
18911 * net/rcirc.el (rcirc-mode): Use hard newlines.
18912
18913 2011-10-28 Alan Mackenzie <acm@muc.de>
18914
18915 Amend to indent and fontify macros "which include their own semicolon"
18916 correctly, using the "virtual semicolon" mechanism.
18917
18918 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18919
18920 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18921 Recode to scan one line at a time rather than having \n and \r
18922 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18923 (c-forward-label): Amend for virtual semicolons.
18924 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18925
18926 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18927 of the new C macros.
18928
18929 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18930 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18931 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18932 (c-opt-cpp-macro-define): Make into a full language variable.
18933 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18934 AWK Mode (including \n, \r) removed, no longer needed.
18935
18936 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18937 Invoke c-make-macro-with-semi-re.
18938
18939 * progmodes/cc-vars.el (c-macro-with-semi-re):
18940 (c-macro-names-with-semicolon): New variables.
18941 (c-make-macro-with-semi-re): New function.
18942
18943 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18944
18945 * vc/log-edit.el: Fill empty field rather than adding new one.
18946 (log-edit-add-field): New function.
18947 (log-edit-insert-changelog): Use it.
18948
18949 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18950
18951 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18952
18953 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18954
18955 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18956 (gdb--check-interpreter): New function.
18957 (gdb): Use it.
18958
18959 2011-10-27 Glenn Morris <rgm@gnu.org>
18960
18961 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18962 (least-positive-float, least-negative-float)
18963 (least-positive-normalized-float, least-negative-normalized-float)
18964 (float-epsilon, float-negative-epsilon):
18965 Remove unnecessary declarations.
18966
18967 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18968 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18969 (least-positive-float, least-negative-float)
18970 (least-positive-normalized-float, least-negative-normalized-float)
18971 (float-epsilon, float-negative-epsilon): Add doc-strings,
18972 based on those in cl.texi.
18973
18974 * files.el (set-visited-file-name): If the major-mode changed,
18975 reload the local variables. (Bug#9796)
18976
18977 2011-10-27 Chong Yidong <cyd@gnu.org>
18978
18979 * subr.el (change-major-mode-after-body-hook): New hook.
18980 (run-mode-hooks): Run it.
18981
18982 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18983 Use change-major-mode-before-body-hook.
18984
18985 * simple.el (fundamental-mode):
18986 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18987 change introducing fundamental-mode-hook.
18988
18989 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18990
18991 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18992
18993 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18994
18995 * ido.el (ido-file-name-all-completions-1): Do not require
18996 tramp.el explicitly. (Bug#7583)
18997
18998 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18999
19000 * progmodes/octave-mod.el:
19001 * progmodes/octave-inf.el: Update maintainer.
19002
19003 2011-10-26 Chong Yidong <cyd@gnu.org>
19004
19005 * subr.el (with-wrapper-hook): Rewrite doc.
19006
19007 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19008
19009 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19010 filenames "/method:foo:". (Bug#9793)
19011
19012 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19013
19014 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19015 (bug#9865).
19016
19017 2011-10-24 Glenn Morris <rgm@gnu.org>
19018
19019 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19020
19021 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19022
19023 * notifications.el: Add the requirement of a running D-Bus session
19024 bus to the Commentary.
19025
19026 2011-10-24 Juri Linkov <juri@jurta.org>
19027
19028 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19029 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19030 (Bug#9364)
19031
19032 2011-10-24 Juri Linkov <juri@jurta.org>
19033
19034 * info.el (Info-following-node-name-re): Add newline to the list
19035 of allowed characters for leading space. (Bug#9824)
19036
19037 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19038
19039 * progmodes/octave-inf.el (inferior-octave-mode-map):
19040 Fix C-c C-h binding.
19041 * progmodes/octave-mod.el (octave-help): Remove.
19042
19043 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19044
19045 Sync with Tramp 2.2.3.
19046
19047 * net/tramp-cache.el (top): Pacify byte-compiler using
19048 `init-file-user' and `site-run-file'.
19049
19050 * net/trampver.el: Update release number.
19051
19052 2011-10-23 Chong Yidong <cyd@gnu.org>
19053
19054 * files.el (toggle-read-only): Remove obsolete comment about
19055 version control.
19056
19057 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19058 for toggle-read-only. Note that this hasn't called vc-next-action
19059 since 2008-05-02, though it wasn't documented at the time.
19060
19061 * vc/ediff-init.el (ediff-toggle-read-only-function):
19062 Use toggle-read-only.
19063
19064 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19065
19066 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19067 of c-parse-state.
19068
19069 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19070 correct faulty logical expression.
19071 (c-parse-state-state, c-record-parse-state-state):
19072 (c-replay-parse-state-state): New defvar/defuns.
19073 (c-debug-parse-state): Use new functions.
19074
19075 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19076
19077 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19078 last fix. Use window-in-direction correctly.
19079
19080 2011-10-21 Chong Yidong <cyd@gnu.org>
19081
19082 * progmodes/idlwave.el (idlwave-mode):
19083 * progmodes/vera-mode.el (vera-mode): No need to set
19084 require-final-newline; that's done in prog-mode.
19085 Suggested by Stefan Monnier.
19086
19087 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19088
19089 * mouse.el (mouse-drag-window-above)
19090 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19091 (mouse-drag-mode-line-1, mouse-drag-header-line)
19092 (mouse-drag-vertical-line-rightward-window): Remove.
19093 (mouse-drag-line): New function.
19094 (mouse-drag-mode-line, mouse-drag-header-line)
19095 (mouse-drag-vertical-line): Call mouse-drag-line.
19096 * window.el (window-at-side-p, windows-at-side): New functions.
19097
19098 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19099
19100 * tar-mode.el (tar-grind-file-mode):
19101 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19102
19103 2011-10-21 Chong Yidong <cyd@gnu.org>
19104
19105 * progmodes/idlwave.el (idlwave-mode):
19106 * progmodes/vera-mode.el (vera-mode):
19107 Use mode-require-final-newline.
19108
19109 2011-10-20 Glenn Morris <rgm@gnu.org>
19110
19111 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19112
19113 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19114
19115 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19116
19117 2011-10-20 Chong Yidong <cyd@gnu.org>
19118
19119 * emulation/cua-base.el (cua-mode):
19120 * mail/footnote.el (footnote-mode):
19121 * mail/mailabbrev.el (mail-abbrevs-mode):
19122 * net/xesam.el (xesam-minor-mode):
19123 * progmodes/bug-reference.el (bug-reference-mode):
19124 * progmodes/cap-words.el (capitalized-words-mode):
19125 * progmodes/compile.el (compilation-minor-mode)
19126 (compilation-shell-minor-mode):
19127 * progmodes/gud.el (gud-tooltip-mode):
19128 * progmodes/hideif.el (hide-ifdef-mode):
19129 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19130 * progmodes/subword.el (subword-mode):
19131 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19132 * progmodes/which-func.el (which-function-mode):
19133 * term/tvi970.el (tvi970-set-keypad-mode):
19134 * term/vt100.el (vt100-wide-mode):
19135 * textmodes/flyspell.el (flyspell-mode):
19136 * textmodes/ispell.el (ispell-minor-mode):
19137 * textmodes/nroff-mode.el (nroff-electric-mode):
19138 * textmodes/paragraphs.el (use-hard-newlines):
19139 * textmodes/refill.el (refill-mode):
19140 * textmodes/reftex.el (reftex-mode):
19141 * textmodes/rst.el (rst-minor-mode):
19142 * textmodes/sgml-mode.el (html-autoview-mode)
19143 (sgml-electric-tag-pair-mode):
19144 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19145 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19146 * emulation/crisp.el (crisp-mode):
19147 * emacs-lisp/eldoc.el (eldoc-mode):
19148 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19149 minor mode behavior.
19150
19151 2011-10-19 Juri Linkov <juri@jurta.org>
19152
19153 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19154 the list of hard-coded chars with escape-glyph face.
19155
19156 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19157
19158 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19159
19160 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19161
19162 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19163 running process.
19164
19165 2011-10-19 Glenn Morris <rgm@gnu.org>
19166
19167 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19168 Ignore ignored files. (Bug#9726)
19169
19170 2011-10-19 Chong Yidong <cyd@gnu.org>
19171
19172 Doc fix for minor modes, stating that an omitted argument enables
19173 the mode unconditionally when called from Lisp.
19174
19175 * abbrev.el (abbrev-mode):
19176 * allout.el (allout-mode):
19177 * autoinsert.el (auto-insert-mode):
19178 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19179 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19180 (global-auto-revert-mode):
19181 * battery.el (display-battery-mode):
19182 * composite.el (global-auto-composition-mode)
19183 (auto-composition-mode):
19184 * delsel.el (delete-selection-mode):
19185 * desktop.el (desktop-save-mode):
19186 * dired-x.el (dired-omit-mode):
19187 * dirtrack.el (dirtrack-mode):
19188 * doc-view.el (doc-view-minor-mode):
19189 * double.el (double-mode):
19190 * electric.el (electric-indent-mode, electric-pair-mode):
19191 * emacs-lock.el (emacs-lock-mode):
19192 * epa-hook.el (auto-encryption-mode):
19193 * follow.el (follow-mode):
19194 * font-core.el (font-lock-mode):
19195 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19196 * help.el (temp-buffer-resize-mode):
19197 * hilit-chg.el (highlight-changes-mode)
19198 (highlight-changes-visible-mode):
19199 * hi-lock.el (hi-lock-mode):
19200 * hl-line.el (hl-line-mode, global-hl-line-mode):
19201 * icomplete.el (icomplete-mode):
19202 * ido.el (ido-everywhere):
19203 * image-file.el (auto-image-file-mode):
19204 * image-mode.el (image-minor-mode):
19205 * iswitchb.el (iswitchb-mode):
19206 * jka-cmpr-hook.el (auto-compression-mode):
19207 * linum.el (linum-mode):
19208 * longlines.el (longlines-mode):
19209 * master.el (master-mode):
19210 * mb-depth.el (minibuffer-depth-indicate-mode):
19211 * menu-bar.el (menu-bar-mode):
19212 * minibuf-eldef.el (minibuffer-electric-default-mode):
19213 * mouse-sel.el (mouse-sel-mode):
19214 * msb.el (msb-mode):
19215 * mwheel.el (mouse-wheel-mode):
19216 * outline.el (outline-minor-mode):
19217 * paren.el (show-paren-mode):
19218 * recentf.el (recentf-mode):
19219 * reveal.el (reveal-mode, global-reveal-mode):
19220 * rfn-eshadow.el (file-name-shadow-mode):
19221 * ruler-mode.el (ruler-mode):
19222 * savehist.el (savehist-mode):
19223 * scroll-all.el (scroll-all-mode):
19224 * scroll-bar.el (scroll-bar-mode):
19225 * server.el (server-mode):
19226 * shell.el (shell-dirtrack-mode):
19227 * simple.el (auto-fill-mode, transient-mark-mode)
19228 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19229 (line-number-mode, column-number-mode, size-indication-mode)
19230 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19231 * strokes.el (strokes-mode):
19232 * time.el (display-time-mode):
19233 * t-mouse.el (gpm-mouse-mode):
19234 * tool-bar.el (tool-bar-mode):
19235 * tooltip.el (tooltip-mode):
19236 * type-break.el (type-break-mode-line-message-mode)
19237 (type-break-query-mode):
19238 * view.el (view-mode):
19239 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19240 (global-whitespace-mode, global-whitespace-newline-mode):
19241 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19242
19243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19244 Fix autogenerated docstring.
19245
19246 2011-10-19 Juri Linkov <juri@jurta.org>
19247
19248 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19249 by checking environment variables "DESKTOP_SESSION" and
19250 "XDG_CURRENT_DESKTOP". (Bug#9779)
19251
19252 2011-10-19 Juri Linkov <juri@jurta.org>
19253
19254 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19255 (browse-url-chromium-program, browse-url-chromium-arguments):
19256 New defcustoms.
19257 (browse-url-default-browser): Check for `browse-url-chromium' and
19258 call `browse-url-chromium-program'.
19259 (browse-url-chromium): New command. (Bug#9779)
19260
19261 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19262
19263 * facemenu.el (list-colors-duplicates): On Windows, detect more
19264 duplicates by assuming that only colors matching "^System" are
19265 special "system colors". (Bug#9722)
19266
19267 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19268
19269 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19270 to distinguish the author from the committer.
19271
19272 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19273
19274 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19275
19276 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19277
19278 * international/mule.el (sgml-html-meta-auto-coding-function):
19279 Add support for detecting encoding in HTML5 specified only as
19280 <meta charset="UTF-8">. Implementation just makes http-equiv and
19281 content-type parts from HTML4 encoding string optional. (Bug#9716)
19282
19283 2011-10-18 Glenn Morris <rgm@gnu.org>
19284
19285 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19286
19287 2011-10-18 Chong Yidong <cyd@gnu.org>
19288
19289 * faces.el (cursor): Doc fix.
19290
19291 2011-10-17 Chong Yidong <cyd@gnu.org>
19292
19293 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19294
19295 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19296
19297 * dirtrack.el (dirtrack): Support shell buffers with path
19298 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19299
19300 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19301
19302 * json.el: Bump version to 1.3 and note change in History.
19303 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19304
19305 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19306
19307 * comint.el (comint-insert-input, comint-send-input)
19308 (comint-get-old-input-default, comint-backward-matching-input)
19309 (comint-next-prompt): Use nil instead of `input' for field property of
19310 past user input (bug#114).
19311
19312 * minibuffer.el (completion--replace): Inherit surrounding properties
19313 (bug#114).
19314 (minibuffer-complete-and-exit): Use it.
19315
19316 * comint.el (comint--table-subvert): Quote the all-completions output
19317 (bug#9160).
19318
19319 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19320
19321 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19322
19323 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19324 window on right of selected. (Bug#9350) Reword other window
19325 entries and separate them from frame entries.
19326
19327 2011-10-15 Glenn Morris <rgm@gnu.org>
19328
19329 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19330 Doc fixes.
19331
19332 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19333
19334 * net/network-stream.el (network-stream-open-starttls):
19335 Improve detection of failure due to lack of TLS support.
19336
19337 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19338 putting the input text in front and in bold.
19339
19340 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19341
19342 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19343
19344 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19345 empty buffer.
19346
19347 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19348 unread-command-events rather than pushing yet-another event.
19349
19350 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19351
19352 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19353 the explanation of the possible choices. Make the options passed
19354 to completing-read shorter.
19355
19356 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19357
19358 * textmodes/flyspell.el (flyspell-large-region): Make sure
19359 extended character mode is used if defined (Bug#1339).
19360
19361 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19362
19363 * simple.el (what-cursor-position): Fix the display of the
19364 character info for LRE, LRO, RLE, and RLO characters by appending
19365 an invisible PDF.
19366
19367 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19368
19369 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19370 even in case of error; add debug spec; simplify data flow.
19371 (with-timeout-handler): Remove.
19372
19373 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19374
19375 Fix Bug#6019, Bug#9315.
19376
19377 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19378 complete `buffer-file-name', the local file name part could look
19379 remotely (for example on VMS).
19380
19381 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19382 `tramp-run-real-handler'.
19383 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19384 already quoted by '"'.
19385
19386 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19387 Let `file-name-handler-alist' be nil, the local file name part
19388 could look remotely (for example on VMS).
19389
19390 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19391
19392 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19393 from here...
19394 (flyspell-post-command-hook): ...to here.
19395
19396 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19397
19398 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19399 if not needed.
19400 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19401 using completion. Protect against "slow" callers.
19402 Remove the "message hack".
19403
19404 2011-10-11 Juri Linkov <juri@jurta.org>
19405
19406 * isearch.el (isearch-lazy-highlight-word): New variable.
19407 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19408 Use it. (Bug#9727)
19409
19410 2011-10-11 Glenn Morris <rgm@gnu.org>
19411
19412 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19413 like f90-previous-statement does.
19414
19415 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19416
19417 * eshell/eshell.el (eshell-command): History should be saved
19418 only in interactive use, to avoid error.
19419
19420 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19421
19422 * minibuffer.el (completion-file-name-table): Fix last change,
19423 i.e. ignore normal errors but not the other ones.
19424
19425 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19426
19427 * window.el (special-display-buffer-names)
19428 (special-display-regexps): Remove some remnants of earlier
19429 changes from doc-strings.
19430 (quit-windows-on): New function.
19431
19432 * vc/vc.el (vc-revert, vc-rollback):
19433 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19434 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19435 (Bug#6183) (Bug#7074) (Bug#7447)
19436
19437 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19438
19439 * window.el (frame-auto-hide-function): Add version tag.
19440 (Bug#9699)
19441
19442 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19443
19444 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19445 condition.
19446
19447 2011-10-09 Leo Liu <sdl.web@gmail.com>
19448
19449 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19450 (Bug#9701)
19451
19452 2011-10-08 Glenn Morris <rgm@gnu.org>
19453
19454 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19455 before the first code statement zero indent. (Bug#9690)
19456
19457 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19458
19459 * simple.el (count-words-region): Always count in the region.
19460 Report the number of lines and characters too.
19461 (count-words): New command, which counts in the buffer if the
19462 region is inactive, as count-words-region used to.
19463 (count-words--message): New function. Handle plurals.
19464 (count-lines-region): Make it an alias for count-words-region.
19465
19466 * bindings.el (esc-map): Replace count-lines-region with
19467 count-words-region.
19468
19469 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19470
19471 * window.el (window--delete): Delete dedicated frame
19472 unconditionally when argument KILL is non-nil. (Bug#9699)
19473 (switch-to-buffer): Fix doc-string typo.
19474
19475 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19476
19477 * eshell/eshell.el (eshell-command): Avoid using hooks.
19478
19479 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19480
19481 * bindings.el ([M-left],[M-right]): Bind to left-word and
19482 right-word respectively.
19483
19484 2011-10-07 Glenn Morris <rgm@gnu.org>
19485
19486 * cus-start.el (debug-on-quit): Fix custom type.
19487
19488 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19489
19490 * subr.el (define-key-after): Clarify that the function is not
19491 useful for non-menu keymaps.
19492
19493 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19494
19495 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19496
19497 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19498 in current minibuffer (Fix bug with recursive minibuffers).
19499
19500 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19501
19502 * progmodes/gdb-mi.el (gdb): Doc fix.
19503
19504 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19505
19506 * window.el (frame-auto-hide-function): New option replacing
19507 frame-auto-delete. Suggested by Stefan Monnier.
19508 (window--delete): Call frame-auto-hide-function instead of
19509 investigating frame-auto-delete.
19510 (window-point-1, set-window-point-1): New functions.
19511 (window-in-direction, record-window-buffer, window-state-get-1)
19512 (display-buffer-record-window): Use window-point-1 instead of
19513 window-point.
19514 (set-window-buffer-start-and-point): Use set-window-point-1.
19515
19516 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19517
19518 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19519
19520 2011-10-05 Glenn Morris <rgm@gnu.org>
19521
19522 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19523 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19524
19525 2011-10-05 Leo Liu <sdl.web@gmail.com>
19526
19527 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19528 works with buffer object.
19529
19530 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19531
19532 * mpc.el (mpc-tool-bar-map): Add labels.
19533
19534 2011-10-04 Glenn Morris <rgm@gnu.org>
19535
19536 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19537
19538 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19539
19540 * window.el (window--delete): New function.
19541 (frame-auto-delete): Resuscitate option.
19542 (bury-buffer, replace-buffer-in-windows)
19543 (quit-window): Rewrite using window--delete.
19544 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19545 Pass display-buffer-mark-dedicated to window--display-buffer-2
19546 (Bug#9639).
19547
19548 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19549
19550 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19551 returns a list (bug#9554). Add remote file name completion.
19552 * comint.el (comint--table-subvert): Curry and get quote&unquote
19553 functions as arguments.
19554 (comint--complete-file-name-data): Adjust call accordingly.
19555 * pcomplete.el (pcomplete--table-subvert): Remove.
19556 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19557
19558 * minibuffer.el (completion-table-case-fold): Use currying.
19559 (completion--styles-type, completion--cycling-threshold-type):
19560 New constants.
19561 (completion-styles, completion-category-overrides)
19562 (completion-cycle-threshold): Use them.
19563 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19564 completion-table-case-fold.
19565
19566 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19567
19568 * minibuffer.el (completion-category-overrides): Fix type of styles
19569 and add more user friendly tags (bug#9660).
19570
19571 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19572
19573 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19574 (mule-input-method-string): New widget.
19575 (default-input-method, language-info-custom-alist): Use it.
19576
19577 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19578
19579 * pcomplete.el: Require comint.
19580 (pcomplete--common-suffix): Remove.
19581 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19582 (pcomplete--table-subvert): Sync with comint--table-subvert.
19583 (pcomplete--entries): Use comint-completion-file-name-table.
19584 * comint.el (comint-unquote-filename): Simplify.
19585 (comint-completion-file-name-table): New function (bug#9616).
19586 (comint--complete-file-name-data): Use it.
19587
19588 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19589 (pcmpl-gnu-tar-buffer): Remove.
19590 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19591 around. Make sure pcomplete-suffix-list is only changed temporarily.
19592 Don't look inside the tar's file if it's too large.
19593
19594 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19595
19596 * cus-edit.el (custom-mode-map):
19597 * epa.el (epa-key-list-mode-map):
19598 * man.el (Man-mode-map):
19599 * startup.el (splash-screen-keymap):
19600 * simple.el (special-mode-map): Use scroll-up-command and
19601 scroll-down-command.
19602
19603 * progmodes/idlw-help.el (idlwave-help-mode-map):
19604 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19605 * net/newst-plainview.el (newsticker-mode-map):
19606 * emulation/ws-mode.el (wordstar-mode-map):
19607 * emulation/vi.el (vi-com-map):
19608 * calc/calc-graph.el (calc-graph-show-dumb):
19609 * term/sun.el (terminal-init-sun):
19610 * term/ns-win.el (global-map):
19611 * progmodes/grep.el (grep-mode-map):
19612 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19613 * mail/rmail.el (rmail-mode-map):
19614 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19615
19616 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19617 custom-safe-themes as special.
19618
19619 2011-10-01 Julien Danjou <julien@danjou.info>
19620
19621 * notifications.el (notifications-notify): Fix docstring.
19622
19623 2011-10-01 Per Starbäck <per@starback.se>
19624
19625 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19626
19627 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19628
19629 * startup.el (command-line-1): Fix last fix by inserting
19630 initial-scratch-message into *scratch* before displaying it.
19631 (Bug#9605) and (Bug#9636)
19632
19633 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19634
19635 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19636 window is hscrolled, move by logical lines. (Bug#9607)
19637 (line-move-visual): Update the doc string to the above effect.
19638
19639 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19640
19641 * window.el (display-buffer-record-window): When WINDOW is the
19642 selected window use `point' instead of `window-point'. (Bug#9626)
19643
19644 * startup.el (command-line-1): Use insert-before-markers when
19645 inserting initial-scratch-message. (Bug#9605)
19646
19647 * help.el (help-window): Remove variable.
19648
19649 2011-09-29 Glenn Morris <rgm@gnu.org>
19650
19651 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19652
19653 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19654
19655 * descr-text.el (describe-char-categories): Accept category
19656 descriptions more than one line long.
19657
19658 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19659
19660 * simple.el (delete-trailing-whitespace): Fix last change.
19661
19662 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19663 Don't confuse "y => 3" as the beginning of a `y' operation.
19664
19665 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19666 object has more than 4 slots (bug#9613).
19667
19668 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19669
19670 * subr.el (with-output-to-temp-buffer):
19671 * net/quickurl.el (quickurl, quickurl-browse-url):
19672 Fix typos in docstrings.
19673
19674 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19675
19676 * minibuffer.el (completion-styles)
19677 (completion-category-overrides): Cross reference each other in doc
19678 strings.
19679
19680 2011-09-27 Glenn Morris <rgm@gnu.org>
19681
19682 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19683 to split-string. (Bug#9606)
19684
19685 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19686
19687 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19688 (bug#9615).
19689
19690 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19691
19692 * emacs-lisp/package.el (list-packages): Fix echo area message.
19693
19694 2011-09-27 Leo Liu <sdl.web@gmail.com>
19695
19696 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19697
19698 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19699
19700 * net/dbus.el (dbus-unregister-object): Don't release services for
19701 registered signals. (Bug#9581)
19702
19703 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19704
19705 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19706 function that picks between cfengine 2 and 3 support
19707 automatically. Update docs accordingly.
19708
19709 2011-09-22 Kenichi Handa <handa@m17n.org>
19710
19711 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19712 ZERO.
19713 (indian-itrans-v5-table-for-tamil): New variable.
19714 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19715
19716 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19717
19718 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19719 that's true if the current command involved collapsing of text.
19720 It's reset to false at the beginning of the next command.
19721 (allout-post-command-business): Move the cursor to the beginning
19722 of entry if the cursor is hidden and collapsing activity just
19723 happened.
19724
19725 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19726
19727 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19728 tracking (Bug#9541).
19729
19730 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19731
19732 * net/newst-reader.el (newsticker-html-renderer)
19733 (newsticker-show-news): Automatically load html rendering package
19734 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19735 because w3m-fill-column is let-bound" and the error "Symbol's value
19736 as variable is void: w3m-fill-column".
19737
19738 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19739
19740 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19741 Release services only if they are defined. (Bug#9581)
19742
19743 2011-09-23 Richard Stallman <rms@gnu.org>
19744
19745 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19746 distinguish start of paragraph from start of its text.
19747
19748 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19749
19750 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19751 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19752 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19753
19754 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19755
19756 * international/mule-diag.el (mule-diag): Insert a newline after
19757 each fontset description.
19758
19759 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19760
19761 * simple.el (delete-trailing-whitespace):
19762 Document last change; simplify.
19763
19764 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19765
19766 * simple.el (delete-trailing-whitespace): Also delete
19767 extra newlines at the end of the buffer.
19768
19769 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19770 (picture-newline): Use forward-line so as to ignore fields.
19771
19772 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19773
19774 * subr.el (with-wrapper-hook): Fix edebug spec.
19775
19776 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19777
19778 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19779 (bug#4538).
19780
19781 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19782
19783 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19784 Fix nasty bug using wrong cached values.
19785
19786 2011-09-23 Alan Mackenzie <acm@muc.de>
19787
19788 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19789
19790 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19791
19792 * window.el (pop-to-buffer): Ensure right window is selected if we
19793 chose another frame.
19794
19795 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19796
19797 * simple.el (what-cursor-position): Use get-char-property-change
19798 and next-single-char-property-change, to be able to show display
19799 properties that come from overlays as well as text properties.
19800
19801 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19802
19803 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19804
19805 * cmuscheme.el (run-scheme, switch-to-scheme):
19806 * cus-edit.el (customize-group, custom-buffer-create)
19807 (customize-browse):
19808 * info.el (info):
19809 * shell.el (shell):
19810 * mail/sendmail.el (mail):
19811 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19812
19813 2011-09-22 Richard Stallman <rms@gnu.org>
19814
19815 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19816 move back only to line beg, don't move back over blank lines.
19817
19818 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19819
19820 * files.el (copy-directory): Set directory attributes only in case
19821 they could be retrieved from the source directory. (Bug#9565)
19822
19823 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19824
19825 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19826 (hs-find-block-beginning, hs-hide-level-recursive):
19827 Ignore strings as well as comments. (Bug#9502)
19828
19829 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19830
19831 * progmodes/sql.el (sql-comint-postgres):
19832 Convert port number to a string. (Bug#9566)
19833
19834 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19835
19836 * window.el (quit-window): Undedicate window when switching to
19837 previous buffer. Reported by Thierry Volpiatto
19838 <thierry.volpiatto@gmail.com>.
19839 (special-display-popup-frame): When popping up a new frame reset
19840 its previous buffers to nil. Simplify code.
19841
19842 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19843
19844 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19845 and process filter, as done also in `shell-command'.
19846
19847 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19848
19849 * window.el (set-window-buffer-start-and-point):
19850 Call set-window-start with NOFORCE argument t.
19851 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19852 (quit-window): Reword doc-string. Handle new format of
19853 quit-restore parameter. Don't delete window if it has a
19854 previous buffer we can show instead of the present one.
19855 (display-buffer-record-window): Rewrite using a new format for
19856 the quit-restore window parameter
19857 (special-display-popup-frame, display-buffer-same-window)
19858 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19859 (display-buffer-pop-up-window, display-buffer-use-some-window):
19860 Adapt symbol passed to display-buffer-record-window.
19861 * help.el (help-window-setup): Handle new format of quit-restore
19862 parameter.
19863
19864 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19865
19866 * faces.el (face-list): Fix docstring (bug#9564).
19867
19868 * window.el (display-buffer--action-function-custom-type):
19869 Don't include internal functions in the Custom interface.
19870
19871 2011-09-20 Juri Linkov <juri@jurta.org>
19872
19873 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19874 (Info-forward-node, Info-backward-node, Info-next-preorder)
19875 (Info-last-preorder): Use it. (Bug#9528)
19876
19877 2011-09-20 Juri Linkov <juri@jurta.org>
19878
19879 * info.el (Info-last-preorder): Visit last menu item only when
19880 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19881
19882 2011-09-20 Julien Danjou <julien@danjou.info>
19883
19884 * password-cache.el (password-cache-remove): Remove entries even if the
19885 value is nil, so that password with a nil value (negative caching) is
19886 possible to invalidate.
19887
19888 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19889
19890 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19891 all whitespace around breakpoint. (Bug#9553)
19892 (f90-find-breakpoint): Only break at whitespace inside a comment.
19893
19894 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19895
19896 * minibuffer.el (completion-file-name-table): Keep track of errors.
19897 (completion-table-with-predicate): Handle the case where pred1 is nil.
19898 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19899
19900 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19901
19902 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19903 (debugger-return-value): Signal an error if the debugging context does
19904 not await any return value.
19905
19906 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19907 * image-mode.el (image-toggle-display-text)
19908 (image-toggle-display-image): Stay away from evil `intangible'.
19909
19910 2011-09-19 Leo Liu <sdl.web@gmail.com>
19911
19912 * replace.el (occur-revert-arguments): Make it permanent-local.
19913 (occur-mode): Don't call font-lock-defontify.
19914
19915 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19916
19917 * net/ldap.el (ldap-search-internal): Don't push empty search
19918 result (Bug#9508).
19919
19920 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19923
19924 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19925
19926 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19927 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19928
19929 2011-09-18 Juri Linkov <juri@jurta.org>
19930
19931 * buff-menu.el (Buffer-menu-mode-map):
19932 * dired.el (dired-mode-map):
19933 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19934 (lisp-interaction-mode-map):
19935 * emacs-lisp/package.el (package-menu-mode-map):
19936 * epa.el (epa-key-list-mode-map):
19937 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19938 (menu-bar-options-menu):
19939 * outline.el (outline-mode-menu-bar-map):
19940 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19941 * vc/vc-dir.el (vc-dir-menu-map):
19942 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19943 Capitalize non-function content words in menu item strings.
19944
19945 * dired.el (dired-mode-map): Add menu item for
19946 `image-dired-dired-toggle-marked-thumbs'.
19947
19948 2011-09-18 Juri Linkov <juri@jurta.org>
19949
19950 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19951 to `isearch-case-fold-search' and restore its original value
19952 after the `isearch-mode' call.
19953
19954 2011-09-18 Juri Linkov <juri@jurta.org>
19955
19956 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19957 because `zgrep' returns 1 for successful matches (bug#9226).
19958
19959 2011-09-18 Juri Linkov <juri@jurta.org>
19960
19961 * info.el (Info-extract-menu-node-name): Check the second match
19962 for empty string (second test-case of bug#9528).
19963 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19964 intermediate nodes to the history (first test-case of bug#9528).
19965
19966 2011-09-18 Juri Linkov <juri@jurta.org>
19967
19968 * info.el (Info-mode-syntax-table): New variable.
19969 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19970
19971 2011-09-18 Juri Linkov <juri@jurta.org>
19972
19973 * info.el (Info-file-supports-index-cookies):
19974 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19975 outputs one more line for long file names (bug#4142).
19976
19977 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19978
19979 * newcomment.el (comment-normalize-vars): If prompting for
19980 comment-start, set comment-start-skip too (Bug#8424).
19981
19982 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19983
19984 * icomplete.el: Fix previous fix of Bug#5849.
19985 (icomplete-mode): Don't set completion-show-inline-help.
19986 (icomplete-minibuffer-setup): Set completion-show-inline-help
19987 locally during icompletion.
19988
19989 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19990
19991 * woman.el (woman2-process-escapes): Don't delete unrecognized
19992 escapes (Bug#7843).
19993
19994 * files.el (inhibit-first-line-modes-regexps): Add image files.
19995 (hack-local-variables-prop-line): Return nil for malformed
19996 prop-lines (Bug#9044).
19997
19998 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19999
20000 * net/tramp.el (top): Don't require 'shell.
20001 (tramp-methods): Fix docstring.
20002 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20003 Return complete remote file name. Handle "smb" case.
20004 Use `tramp-tmpdir', if defined for the respective method.
20005 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20006
20007 * net/tramp-compat.el (top): Require 'shell.
20008
20009 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20010 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20011 `tramp-current-host'.
20012 (tramp-get-remote-tmpdir): Remove.
20013
20014 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20015 `tramp-tmpdir' entries.
20016 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20017 (tramp-smb-handle-file-attributes): Ignore errors.
20018 (tramp-smb-wait-for-output): Check also for process end.
20019
20020 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20021
20022 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20023 when sending QUIT (bug#9312).
20024
20025 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20026
20027 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20028 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20029 occur-mode-display-occurrence.
20030 (occur-edit-mode): Add usage message.
20031 (occur-cease-edit): New command.
20032 (occur-after-change-function): Use text properties to find the
20033 position of the prefix text.
20034 (occur-engine): Set stickiness of prefix text properties.
20035
20036 2011-09-17 Glenn Morris <rgm@gnu.org>
20037
20038 * progmodes/etags.el (complete-tag):
20039 Fix call to completion-in-region. (Bug#9526)
20040
20041 2011-09-17 Juri Linkov <juri@jurta.org>
20042
20043 * textmodes/ispell.el (ispell-word): Add to the error message
20044 the word, ispell program name and current dictionary (bug#9121).
20045 (ispell-tex-arg-end): Capitalize "error" in the error message.
20046
20047 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20048
20049 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20050 check. (Bug#4251)
20051
20052 2011-09-17 Juri Linkov <juri@jurta.org>
20053
20054 * window.el (window-safe-min-height, window-safe-min-width):
20055 Fix typos (followup to bug#9522).
20056
20057 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20058
20059 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20060
20061 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20062
20063 * simple.el (line-move): If goal-column is set, move by logical
20064 lines, not by display lines. (Bug#971)
20065 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20066 to reflect the above change.
20067
20068 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20069
20070 * image.el (imagemagick-register-types): Use regexp-opt.
20071
20072 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20073
20074 * window.el (display-buffer-base-action): Rename from
20075 display-buffer-default-action. Make default value empty.
20076 (display-buffer-overriding-action): Convert to defvar.
20077 (display-buffer-fallback-action): New var.
20078
20079 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20080
20081 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20082 declaration.
20083 (package--add-to-archive-contents): If there is a duplicate entry
20084 with an older version, remove it.
20085 (package-menu-mark-delete, package-menu-mark-install)
20086 (package-menu-mark-unmark): Make unused args optional.
20087 (package-menu-mark-obsolete-for-deletion):
20088 Use package-menu-get-status instead of a regexp search.
20089 (package-menu-get-status): Use tabulated-list-entry.
20090 (package-menu-mark-upgrades): New command.
20091 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20092 (package-menu-execute): Do installation before deletion.
20093 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20094 instead of checking major-mode.
20095 (package-menu--find-upgrades): New function.
20096
20097 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20098
20099 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20100 passwords in the log buffer.
20101 (smtpmail-process-filter): Update the process marker so that the
20102 "broken by peer" status message is inserted in the right place.
20103
20104 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20105
20106 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20107 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20108 bibtex-completion-at-point-function.
20109 (bibtex-completion-at-point-function): Use them.
20110
20111 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20112
20113 * mpc.el (mpc-constraints-tag-lookup): New function.
20114 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20115 also to browser "album|playlist".
20116
20117 2011-09-14 Juri Linkov <juri@jurta.org>
20118
20119 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20120 (isearch-edit-string): Use length of `isearch-string' when
20121 `isearch-fail-pos' returns nil.
20122 (isearch-message): Remove duplicate code and call
20123 `isearch-fail-pos' with arg `t'.
20124
20125 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20126
20127 * replace.el (occur-mode-goto-occurrence): Don't force using other
20128 window (Bug#9499).
20129
20130 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20131
20132 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20133
20134 * window.el (display-buffer-window): Remove.
20135 (display-buffer-record-window): Use help-setup window parameter
20136 instead of variable display-buffer-window.
20137 (display-buffer-function, special-display-buffer-names)
20138 (special-display-function): Mention help-setup parameter instead
20139 of display-buffer-window in doc-string.
20140 * help.el (help-window-setup): New argument help-window.
20141 Use help-window-setup parameter instead of display-buffer-window.
20142 Reword some messages.
20143 (with-help-window): Pass window used for displaying the buffer
20144 to help-window-setup. Don't set display-buffer-window.
20145
20146 2011-09-13 Glenn Morris <rgm@gnu.org>
20147
20148 * emacs-lisp/debug.el (debugger-make-xrefs):
20149 Preserve point. (Bug#9462)
20150
20151 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20152
20153 * window.el (window-deletable-p): Use next-frame.
20154
20155 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20156
20157 * window.el (window-auto-delete): Remove.
20158 (window-deletable-p): Remove argument FORCE. Don't deal with
20159 dedication and previous buffers.
20160 (switch-to-prev-buffer): Don't delete window.
20161 (delete-windows-on): Delete a window's frame if and only if the
20162 window is dedicated.
20163 (replace-buffer-in-windows): Delete buffer's window or frame if
20164 and only if window is dedicated.
20165 (quit-window): Handle quit-restore as before last change.
20166 (bury-buffer): Delete window only if window-deletable-p returns t.
20167
20168 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20169
20170 * window.el (window-deletable-p): Never delete the last frame on a
20171 given terminal.
20172
20173 2011-09-13 Glenn Morris <rgm@gnu.org>
20174
20175 * help.el (describe-key-briefly): Copy previous standard-output change.
20176
20177 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20178
20179 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20180
20181 2011-09-13 Glenn Morris <rgm@gnu.org>
20182
20183 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20184 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20185
20186 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20187
20188 * dired-aux.el (dired-mark-read-string): Don't return default
20189 value on empty input (Bug#9361).
20190 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20191 Omit initial minibuffer contents.
20192 (dired-do-chmod): Signal an error on empty input.
20193 (dired-mark-read-string): Don't return default on empty input.
20194
20195 * files.el (file-modes-symbolic-to-number): Doc fix.
20196
20197 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20198
20199 * international/mule-cmds.el (ucs-completions): Remove.
20200 (read-char-by-name): Use complete-with-action instead; add metadata.
20201
20202 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20203
20204 * window.el (display-buffer--action-function-custom-type)
20205 (display-buffer--action-custom-type): New vars.
20206 (display-buffer-alist, display-buffer-default-action)
20207 (display-buffer-overriding-action): Add defcustom types.
20208
20209 * frame.el (delete-other-frames): Doc fix (Bug#276).
20210
20211 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20212
20213 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20214
20215 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20216
20217 Change modes that used same-window-* vars to use switch-to-buffer.
20218
20219 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20220 Use switch-to-buffer.
20221
20222 * cus-edit.el (customize-group, custom-buffer-create)
20223 (customize-browse, custom-buffer-create-other-window):
20224 Use switch-to-buffer or switch-to-buffer-other-window.
20225
20226 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20227 (Info-prev, Info-up, Info-speedbar-goto-node)
20228 (info-display-manual): Use switch-to-buffer.
20229 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20230
20231 * mail/sendmail.el (mail): Use switch-to-buffer.
20232 (mail-recover): Use switch-to-buffer-other-window.
20233
20234 * cmuscheme.el (run-scheme, switch-to-scheme):
20235 * ielm.el (ielm):
20236 * shell.el (shell):
20237 * net/rlogin.el (rlogin):
20238 * net/telnet.el (telnet, rsh):
20239 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20240
20241 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20242
20243 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20244
20245 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20246
20247 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20248 so don't mention it (bug#9301).
20249 (dired-sort-toggle-or-edit): Clarify string further.
20250
20251 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20252 match `x', `w32' and `ns', like the manual says (bug#9029).
20253
20254 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20255 (process-kill-buffer-query-function): Mention the buffer name in
20256 the query.
20257
20258 * image-mode.el (image-next-line): The line parameter is mandatory
20259 (bug#9258).
20260
20261 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20262 which can be useful (bug#9301).
20263
20264 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20265
20266 * subr.el (match-string): Mention that the current buffer should
20267 be the same as the search was done in (bug#9282).
20268
20269 * facemenu.el: Disable the remove-* commands if the mark isn't
20270 active (bug#9162).
20271
20272 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20273
20274 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20275 of display-buffer.
20276 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20277
20278 * replace.el (occur-mode-goto-occurrence)
20279 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20280 and display-buffer.
20281
20282 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20283 display-buffer.
20284
20285 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20286 special-display and same-window variables.
20287 (mail-other-window): Use switch-to-buffer-other-window.
20288 (mail-other-frame): USe switch-to-buffer-other-frame.
20289
20290 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20291 Use display-buffer-other-frame.
20292 (gdb-display-gdb-buffer): Use pop-to-buffer.
20293
20294 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20295
20296 * progmodes/python.el: Don't set same-window-buffer-names.
20297
20298 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20299
20300 * window.el (display-buffer-alist): Add *Python*.
20301
20302 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20303
20304 * window.el (display-buffer-alist): Add entry for buffers
20305 previously handled same-window-*.
20306 (display-buffer-alist, display-buffer-default-action)
20307 (display-buffer-overriding-action): Mark as risky.
20308 (display-buffer-alist): Document action function changes.
20309 (display-buffer--same-window-action)
20310 (display-buffer--other-frame-action): New variables.
20311 (switch-to-buffer, display-buffer-other-frame): Use them.
20312 (display-buffer): Rename reuse-frame entry to reusable-frames.
20313 (display-buffer-reuse-selected-window): Function deleted.
20314 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20315 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20316 (display-buffer-special): New function.
20317 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20318 display-buffer-reuse-or-pop-window. Split off special-display
20319 part into display-buffer-special.
20320 (display-buffer-use-some-window): Don't perform any special
20321 pop-up-frames handling.
20322 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20323 (display-buffer--maybe-same-window): Rename from
20324 display-buffer-maybe-same-window.
20325
20326 * info.el: Don't set same-window-regexps.
20327 (info-setup): New function.
20328 (info-other-window, info): Call it.
20329
20330 * cus-edit.el: Don't set same-window-regexps.
20331 (customize-group): New argument.
20332 (customize-group-other-window): Use it.
20333 (customize-face, customize-face-other-window): Likewise.
20334 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20335
20336 * net/rlogin.el:
20337 * net/telnet.el:
20338 * progmodes/gud.el: Don't set same-window-regexps.
20339
20340 * cmuscheme.el:
20341 * ielm.el:
20342 * shell.el:
20343 * mail/sendmail.el:
20344 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20345
20346 2011-09-10 Juri Linkov <juri@jurta.org>
20347
20348 * isearch.el (isearch-edit-string): Remove obsolete mention of
20349 `C-w' (`isearch-yank-word-or-char') from docstring.
20350 (isearch-query-replace): Fix typo in docstring (bug#9466).
20351
20352 2011-09-10 Juri Linkov <juri@jurta.org>
20353
20354 * paren.el (show-paren-function): Don't show escaped parens.
20355 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20356
20357 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20358
20359 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20360 (mm-default-file-encoding): Remove autoload forms, they are
20361 replaced with autoload cookies in mml.el and mm-encode.el.
20362 (mail-add-attachment): New command.
20363 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20364 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20365 the doc string.
20366 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20367
20368 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20369
20370 * simple.el (count-words-region): Use buffer if there's no region
20371 (bug#9429).
20372
20373 2011-09-09 Juri Linkov <juri@jurta.org>
20374
20375 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20376 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20377 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20378
20379 2011-09-09 Alan Mackenzie <acm@muc.de>
20380
20381 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20382 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20383
20384 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20385
20386 Fix for Savannah bug#9392.
20387 * simple.el (mail-encode-mml): New defvar.
20388
20389 * mail/rmail.el (mail-encode-mml): Add a defvar.
20390 (rmail-enable-mime-composing): Default to t.
20391 (rmail-forward): Use MIME method of forwarding only if both
20392 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20393 Set mail-encode-mml non-nil if the MIME method was used.
20394
20395 * mail/sendmail.el (mml-to-mime): Add autoload form.
20396 (mail-encode-mml): Add a defvar.
20397 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20398 to nil.
20399 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20400 message through mml-to-mime, and reset mail-encode-mml to nil.
20401
20402 2011-09-09 Glenn Morris <rgm@gnu.org>
20403
20404 * woman.el (woman-if-body): When processing an .el block,
20405 do not delete the next .el block as well. (Bug#9447)
20406 (woman-special-characters): Add oq, cq, and hy characters.
20407
20408 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20409
20410 * window.el (window-deletable-p): Make sure window is live before
20411 invoking window-prev-buffers.
20412
20413 2011-09-08 Leo Liu <sdl.web@gmail.com>
20414
20415 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20416
20417 2011-09-08 Juri Linkov <juri@jurta.org>
20418
20419 * progmodes/compile.el (compilation-environment): Make it
20420 a defcustom (bug#8340).
20421
20422 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20423
20424 * window.el (frame-auto-delete): Rename to window-auto-delete.
20425 Make it control auto-deletion of windows and/or frames.
20426 (window-deletable-p): New argument FORCE. Rewrite conditions
20427 for deleting window/frame. (Bug#9419)
20428 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20429 Rewrite handling of case when window/frame can be deleted.
20430 (delete-windows-on): Call window-deletable-p with new FORCE
20431 argument t. (Bug#9456)
20432
20433 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20434
20435 * help-mode.el (help-mode): Restore autoload.
20436
20437 2011-09-07 Juri Linkov <juri@jurta.org>
20438
20439 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20440 `compilation-environment'. Set buffer-local
20441 `compilation-environment' to `thisenv' later after (funcall mode).
20442 (Bug#8340)
20443
20444 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20445 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20446 instead of replacing its value. (Bug#8340)
20447
20448 2011-09-07 Juri Linkov <juri@jurta.org>
20449
20450 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20451 based on text properties put by `grep-filter' instead of matching
20452 escape sequences.
20453 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20454 to the value of `grep-error-screen-columns' (bug#9438).
20455
20456 2011-09-07 Juri Linkov <juri@jurta.org>
20457
20458 * simple.el (next-error-highlight, next-error-highlight-no-select):
20459 Doc fix (bug#9432).
20460
20461 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20462
20463 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20464 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20465
20466 2011-09-07 Leo Liu <sdl.web@gmail.com>
20467
20468 * net/rcirc.el (rcirc-mode): Conditionally initialize
20469 rcirc-input-ring.
20470
20471 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20472
20473 * emacs-lisp/find-func.el (find-function-C-source): Only set
20474 find-function-C-source-directory after checking that we found a source
20475 file there (bug#9440).
20476
20477 2011-09-06 Alan Mackenzie <acm@muc.de>
20478
20479 * isearch.el (isearch-other-meta-char): Wherever a key list is
20480 unread, "unread" the prefix arg, too. This fixes bug #8901.
20481
20482 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20483
20484 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20485
20486 2011-09-05 Juri Linkov <juri@jurta.org>
20487
20488 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20489
20490 2011-09-05 Juri Linkov <juri@jurta.org>
20491
20492 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20493 keeping point where processing of grep matches begins, and
20494 continue to delete remaining escape sequences from the same point.
20495 (grep-filter): Make leading zero optional in "0?1;31m" because
20496 git-grep emits "\033[1;31m" escape sequences unlike expected
20497 "\033[01;31m" as GNU Grep does (bug#9408).
20498 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20499
20500 2011-09-05 Juri Linkov <juri@jurta.org>
20501
20502 * subr.el (y-or-n-p): Capitalize "yes".
20503
20504 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20505
20506 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20507 `tramp-cache-unload-hook' where appropriate.
20508 (tramp-methods): Rename `tramp-remote-sh' to
20509 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20510 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20511
20512 * net/tramp-sh.el (top): Don't require 'shell.
20513 (tramp-methods): Add `tramp-remote-shell' and
20514 `tramp-remote-shell-args' entries.
20515 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20516 (tramp-sh-handle-shell-command): Remove.
20517 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20518 Use `tramp-remote-shell'.
20519
20520 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20521
20522 * mail/sendmail.el (sendmail-query-once-function): Delete.
20523 (sendmail-query-once): Save directly to send-mail-function.
20524 Update message-send-mail-function too.
20525
20526 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20527
20528 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20529
20530 * progmodes/python.el (python-mode-map): Use correct function to
20531 start python interpreter from menu-bar (as reported by Geert
20532 Kloosterman).
20533 (inferior-python-mode-map): Fix typo.
20534 (python-shell-map): Remove.
20535
20536 2011-09-03 Deniz Dogan <deniz@dogan.se>
20537
20538 * net/rcirc.el (rcirc-print): Simplify code for
20539 rcirc-scroll-show-maximum-output. There is no need to walk
20540 through all windows to find the right one.
20541
20542 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20543
20544 * help.el (help-return-method): Doc fix.
20545
20546 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20547
20548 * window.el (window-deletable-p): Don't return a non-nil value
20549 when there's a buffer that was shown in the window before.
20550 (Bug#9419)
20551 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20552 Set window's previous buffers to nil.
20553
20554 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20555
20556 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20557 newline before and after the tag line, so it doesn't interfere
20558 with determining the paragraph direction of bidirectional text.
20559
20560 2011-09-03 Leo Liu <sdl.web@gmail.com>
20561
20562 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20563
20564 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20565
20566 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20567 (pop-to-buffer): Change interactive spec. Pass second argument
20568 directly to display-buffer.
20569 (display-buffer): Fix interactive spec. Use functionp to
20570 distinguish between a function and a list of functions.
20571
20572 * abbrev.el (edit-abbrevs):
20573 * arc-mode.el (archive-extract):
20574 * autoinsert.el (auto-insert):
20575 * bookmark.el (bookmark-bmenu-list):
20576 * files.el (find-file):
20577 * view.el (view-buffer):
20578 * progmodes/compile.el (compilation-goto-locus):
20579 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20580
20581 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20582
20583 * window.el (display-buffer-alist): Doc fix.
20584 (display-buffer): Add docstring. Don't treat
20585 display-buffer-default specially.
20586 (display-buffer-reuse-selected-window)
20587 (display-buffer-same-window, display-buffer-maybe-same-window)
20588 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20589 (display-buffer-pop-up-window)
20590 (display-buffer-reuse-or-pop-window)
20591 (display-buffer-use-some-window): New functions.
20592 (display-buffer-default-action): Use them.
20593 (display-buffer-default): Delete.
20594 (pop-to-buffer-1): Fix choice of actions.
20595
20596 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20597
20598 * minibuffer.el (completion--insert-strings): Don't get confused by
20599 completion entries that end with an LF char.
20600
20601 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20602
20603 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20604
20605 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20606
20607 * window.el (display-buffer): Restore interactive spec.
20608 (display-buffer-same-window, display-buffer-other-window):
20609 New functions.
20610 (pop-to-buffer-1): New function. Use the above.
20611 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20612 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20613
20614 * view.el (view-buffer-other-window, view-buffer-other-frame):
20615 Just use pop-to-buffer.
20616
20617 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20618
20619 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20620
20621 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20622
20623 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20624
20625 2011-08-31 Richard Stallman <rms@gnu.org>
20626
20627 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20628 of the separation of rmail-view-buffer from rmail-buffer.
20629 If you say no to "replace original", the decrypt is in the
20630 view buffer. If you say yes, the decrypt goes into the
20631 rmail buffer also.
20632
20633 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20634
20635 * window.el (display-buffer-window): Rewrite doc-string.
20636 (display-buffer-record-window): New function.
20637 (display-buffer-macro-specifiers)
20638 (display-buffer-even-window-sizes, display-buffer-set-height)
20639 (display-buffer-set-width, display-buffer-in-window)
20640 (display-buffer-reuse-window, display-buffer-split-specifiers)
20641 (display-buffer-side-specifiers, display-buffer-split-window-1)
20642 (display-buffer-split-window, display-buffer-split-atom-window)
20643 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20644 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20645 (display-buffer-other-window-means-other-frame)
20646 (display-buffer-normalize-special)
20647 (display-buffer-normalize-default)
20648 (display-buffer-normalize-argument)
20649 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20650 (display-buffer-normalize-specifiers, display-buffer-frame)
20651 (display-buffer-same-window, display-buffer-same-frame)
20652 (display-buffer-other-window)
20653 (display-buffer-same-frame-other-window)
20654 (display-buffer-other-frame, pop-to-buffer-same-window)
20655 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20656 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20657 (switch-to-buffer-same-frame)
20658 (switch-to-buffer-other-window-same-frame)
20659 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20660 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20661 (display-buffer-alist-set): Remove.
20662 (display-buffer-function, special-display-buffer-names)
20663 (special-display-regexps, special-display-function):
20664 In doc-string refer to display-buffer-window and quit-restore
20665 parameter.
20666 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20667 (special-display-frame-alist, special-display-popup-frame)
20668 (same-window-buffer-names, same-window-regexps, same-window-p)
20669 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20670 (split-window-preferred-function, split-height-threshold)
20671 (split-width-threshold, window-splittable-p)
20672 (split-window-sensibly, window--try-to-split-window)
20673 (window--frame-usable-p, even-window-heights)
20674 (window--even-window-heights, window--display-buffer-1)
20675 (window--display-buffer-2, display-buffer-other-frame):
20676 Restore old Emacs 23 code, order and doc-strings where applicable.
20677 (display-buffer-default, display-buffer-assq-regexp): New functions.
20678 (display-buffer-alist): Rewrite doc-string.
20679 (display-buffer-default-action)
20680 (display-buffer-overriding-action): New variables.
20681 (display-buffer, switch-to-buffer): Rewrite.
20682 (pop-to-buffer): Restore Emacs 23 behavior but use
20683 window-normalize-buffer-to-display.
20684 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20685 Restore Emacs 23 behavior but use
20686 window-normalize-buffer-to-switch-to.
20687 (pop-to-buffer-same-window): Rewrite.
20688 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20689 Rewrite using Emacs 23 options.
20690
20691 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20692
20693 * net/tramp.el (tramp-root-regexp): Remove.
20694 (tramp-completion-file-name-regexp-unified)
20695 (tramp-completion-file-name-regexp-separate)
20696 (tramp-completion-file-name-regexp-url): Don't use leading volume
20697 letter on w32 systems. (Bug#5303, Bug#9311)
20698 (tramp-drop-volume-letter): Simplify definition.
20699 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20700
20701 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20702
20703 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20704 (bug#9356).
20705
20706 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20707
20708 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20709
20710 2011-08-29 Juri Linkov <juri@jurta.org>
20711
20712 * isearch.el (isearch-done): Don't display message "Mark saved"
20713 when arg `edit' is non-nil to prevent its flicker in the echo area.
20714
20715 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20716
20717 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20718 obsolete packages for deletion.
20719
20720 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20721
20722 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20723 (help-mode): Derive help-mode from special-mode. Don't invoke
20724 view-mode from help-mode.
20725 (help-xref-override-view-map): Remove.
20726 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20727 view-mode is not used anymore.
20728
20729 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20730
20731 * server.el (server-port): Doc fix.
20732
20733 * cus-theme.el (custom-theme-choose-mode): Inherit from
20734 special-mode (Bug#9124).
20735 (custom-theme-choose-mode-map): Add special-mode to parent.
20736
20737 2011-08-28 Alan Mackenzie <acm@muc.de>
20738
20739 * progmodes/cc-fonts.el
20740 (c-make-font-lock-BO-decl-search-function): New function.
20741 (c-basic-matchers-after - "Fontify the clauses after various
20742 keywords"): Extract the three keyword lists for the 3 erroneous
20743 constructs from the list of four, and use the new function above
20744 in place of an old one.
20745
20746 2011-08-28 Deniz Dogan <deniz@dogan.se>
20747
20748 * net/rcirc.el (rcirc-insert-prev-input)
20749 (rcirc-insert-next-input): Remove unused argument.
20750
20751 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20752
20753 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20754
20755 2011-08-27 Alan Mackenzie <acm@muc.de>
20756
20757 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20758 handle function pointer parameters properly.
20759
20760 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20761
20762 * window.el (display-buffer-reuse-window): Fix case where
20763 selected window was reused with non-nil OTHER-WINDOW argument.
20764 (Bug#9381)
20765
20766 2011-08-27 Deniz Dogan <deniz@dogan.se>
20767
20768 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20769 oftc's NickServ messages.
20770
20771 2011-08-27 Glenn Morris <rgm@gnu.org>
20772
20773 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20774
20775 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20776
20777 * emacs-lisp/package.el (package-install): Call package-initialize
20778 if called interactively.
20779
20780 2011-08-26 Leo Liu <sdl.web@gmail.com>
20781
20782 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20783
20784 2011-08-25 Juri Linkov <juri@jurta.org>
20785
20786 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20787 `search-whitespace-regexp' (bug#9364).
20788
20789 2011-08-25 Juri Linkov <juri@jurta.org>
20790
20791 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20792 `regexp-search-ring' to their global values to protect from
20793 updating by `read-from-minibuffer' (bug#9185).
20794
20795 2011-08-25 Juri Linkov <juri@jurta.org>
20796
20797 * textmodes/ispell.el (ispell-command-loop): Add newline
20798 at the end of the "Use option `i'..." line.
20799
20800 2011-08-25 Juri Linkov <juri@jurta.org>
20801
20802 * battery.el (display-battery-mode): If `battery-status-function'
20803 or `battery-mode-line-format' is nil, display the message and set
20804 `display-battery-mode' to nil (bug#9363).
20805
20806 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20807
20808 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20809 bidi-string-mark-left-to-right; they are unnecessary now.
20810
20811 2011-08-25 Deniz Dogan <deniz@dogan.se>
20812
20813 * net/quickurl.el: Documentation typo fixes.
20814
20815 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20816
20817 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20818
20819 2011-08-25 Glenn Morris <rgm@gnu.org>
20820
20821 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20822
20823 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20824 (smtpmail-via-smtp): Handle nil response from smtp.
20825
20826 2011-08-24 Juri Linkov <juri@jurta.org>
20827
20828 * proced.el (proced-marked): Inherit from `error' instead of
20829 `font-lock-warning-face'.
20830
20831 * ibuffer.el (ibuffer-marked-face): Change default face from
20832 `font-lock-warning-face' to `warning'.
20833 (ibuffer-deletion-face): Change default face from
20834 `font-lock-type-face' to `error'.
20835
20836 * battery.el (battery-update): Use the face `error' instead of
20837 `font-lock-warning-face' (bug#6117).
20838
20839 2011-08-24 Juri Linkov <juri@jurta.org>
20840
20841 * faces.el (success): Change face color from "Green3" to
20842 "ForestGreen" on light background (bug#9353).
20843
20844 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20845
20846 * window.el (quit-window): Rename from quit-restore-window.
20847 Use same arglist as old quit-window.
20848 (frame-auto-delete): Doc fix.
20849
20850 * view.el (view-mode-exit): Use quit-window.
20851
20852 2011-08-24 Juri Linkov <juri@jurta.org>
20853
20854 * isearch.el (isearch-ring-adjust1): Start visiting previous
20855 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20856 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20857 for empty search string (when the last search string is reused
20858 automatically) to adjust the isearch ring to the last element and
20859 prepare the correct index for further M-p commands (bug#9185).
20860
20861 2011-08-24 Kenichi Handa <handa@m17n.org>
20862
20863 * international/ucs-normalize.el: If decomposition property of
20864 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20865 nil.
20866 (nfd, nfkd): Likewise.
20867
20868 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20869
20870 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20871 from process filters aren't reliably transmitted to the surrounding
20872 accept-process-output.
20873 (mpc-proc-check): New function.
20874 (mpc-proc-sync): Use it (bug#8293)
20875
20876 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20877
20878 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20879 Add compatibility functions (bug#9313).
20880
20881 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20882
20883 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20884
20885 * international/uni-bidi.el: Regenerate.
20886
20887 2011-08-23 Kenichi Handa <handa@m17n.org>
20888
20889 * international/charprop.el:
20890 * international/uni-bidi.el:
20891 * international/uni-category.el:
20892 * international/uni-combining.el:
20893 * international/uni-comment.el:
20894 * international/uni-decimal.el:
20895 * international/uni-decomposition.el:
20896 * international/uni-digit.el:
20897 * international/uni-lowercase.el:
20898 * international/uni-mirrored.el:
20899 * international/uni-name.el:
20900 * international/uni-numeric.el:
20901 * international/uni-old-name.el:
20902 * international/uni-titlecase.el:
20903 * international/uni-uppercase.el: Regenerate.
20904
20905 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20906
20907 * help.el (help-window-setup): Fix message displayed when other
20908 window is reused. (Bug#9341)
20909
20910 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20911
20912 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20913 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20914
20915 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20916 Mark obsolete.
20917 * shell.el (shell-parse-pcomplete-arguments): New function.
20918 (shell-completion-vars): Use it instead (bug#9160).
20919
20920 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20921
20922 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20923 strings and comments (bug#9333).
20924
20925 * emacs-lisp/debug.el (debug-arglist): New function.
20926 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20927 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20928
20929 2011-08-22 Juri Linkov <juri@jurta.org>
20930
20931 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20932 Revert regexp that highlights output switches to its old
20933 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20934
20935 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20936 to check for empty output (bug#9226).
20937
20938 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20939
20940 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20941 symbol-constituent as the default, as that stops font-lock from
20942 working properly (Bug#8843).
20943
20944 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20945
20946 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20947 `coding-system-for-*' around the process open call to avoid
20948 auth-source side effects.
20949 (smtpmail-try-auth-methods): Expand the secret password.
20950 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20951 probe hangs.
20952
20953 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20954
20955 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20956
20957 * emacs-lisp/find-func.el (find-function-noselect): New arg
20958 lisp-only.
20959
20960 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20961 signal an error for built-in functions (Bug#6664).
20962
20963 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20964
20965 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20966 (smtpmail-try-auth-methods): Use it.
20967
20968 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20969
20970 * font-lock.el (font-lock-fontify-region)
20971 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20972 (font-lock-default-unfontify-buffer)
20973 (font-lock-default-fontify-region)
20974 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20975
20976 * progmodes/compile.el (compilation-error-properties):
20977 Fix confusion between file struct and message struct (Bug#9319).
20978 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20979 `ant' regexp.
20980
20981 * net/browse-url.el (browse-url-firefox): Don't call
20982 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20983
20984 2011-08-20 Glenn Morris <rgm@gnu.org>
20985
20986 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20987
20988 * tutorial.el (tutorial--default-keys): Update some default bindings.
20989
20990 * files.el (hack-local-variables): Fully ignore case for "mode:".
20991
20992 2011-08-20 Alan Mackenzie <acm@muc.de>
20993
20994 Resolve invalid use of a regexp in regexp-opt.
20995
20996 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20997 detection for a java annotation.
20998
20999 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21000 detection for a java annotation.
21001
21002 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21003 handling for java.
21004 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21005
21006 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21007
21008 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21009 (Bug#9274).
21010
21011 2011-08-20 Alan Mackenzie <acm@muc.de>
21012
21013 Fontify CPP expressions correctly when starting in the middle of
21014 such a construct. Mainly for when jit-lock etc. starts a chunk
21015 here.
21016
21017 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21018 variable.
21019 (c-make-font-lock-search-form): New function, extracted from
21020 c-make-font-lock-search-function.
21021 (c-make-font-lock-search-function): Use the above function.
21022 (c-make-font-lock-context-search-function): New function.
21023 (c-cpp-matchers): Enhance the preprocessor expression case with
21024 the above function
21025 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21026 which takes an expression.
21027
21028 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21029
21030 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21031
21032 * window.el (display-buffer-reuse-window)
21033 (display-buffer-pop-up-window): Don't reuse or split a side
21034 window.
21035
21036 2011-08-19 Glenn Morris <rgm@gnu.org>
21037
21038 * files.el (hack-local-variables-prop-line, hack-local-variables):
21039 Downcase "Mode:". (Bug#9331)
21040
21041 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21042
21043 * international/characters.el: Add L and R categories.
21044
21045 * subr.el (bidi-string-mark-left-to-right): Rename from
21046 string-mark-left-to-right. Use category search.
21047
21048 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21049
21050 2011-08-18 Juri Linkov <juri@jurta.org>
21051
21052 * faces.el (error, warning, success): New faces with definitions
21053 copied from old default values of `font-lock-warning-face',
21054 `compilation-warning', `compilation-info' (bug#6117).
21055
21056 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21057
21058 * progmodes/compile.el (compilation-error): Inherit from `error'.
21059 (compilation-warning): Inherit from `warning'.
21060 (compilation-info): Inherit from `success'.
21061
21062 * dired.el (dired-marked): Inherit from `warning'.
21063 (dired-flagged): Inherit from `error'.
21064
21065 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21066
21067 * mail/smtpmail.el (auth-source): Require to avoid problems with
21068 binding variables (bug#9298). Also clean up some unused
21069 autoloads.
21070
21071 * net/network-stream.el (network-stream-open-starttls):
21072 Support using starttls.el without using gnutls-cli.
21073
21074 2011-08-17 Juri Linkov <juri@jurta.org>
21075
21076 * progmodes/grep.el (rgrep): Handle the case when
21077 `grep-find-command' is a cons cell (bug#9278).
21078
21079 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21080
21081 * window.el (display-buffer-pop-up-frame): Run frame creation
21082 function with BUFFER current (as special-display-popup-frame
21083 does). Reported by Drew Adams.
21084
21085 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21086
21087 * epa-mail.el: Simplify GnuPG group expansion using
21088 epg-expand-group.
21089 (epa-mail-group-alist, epa-mail-group-modtime)
21090 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21091 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21092 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21093 Remove.
21094
21095 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21096
21097 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21098
21099 2011-08-16 Alan Mackenzie <acm@muc.de>
21100
21101 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21102 Correct, to avoid the inside of macros.
21103
21104 2011-08-16 Richard Stallman <rms@gnu.org>
21105
21106 * epa-mail.el: Handle GnuPG group definitions.
21107 (epa-mail-group-alist, epa-mail-group-modtime)
21108 (epa-mail-gnupg-conf-file): New variables.
21109 (epa-mail-parse-groups, epa-mail-sync-groups)
21110 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21111 (epa-mail-expand-recipients): New functions.
21112 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21113
21114 * mail/rmail.el (rmail-epa-decrypt): New command.
21115
21116 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21117 Don't bind buffer-read-only, just inhibit-read-only.
21118 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21119 (epa-decrypt-armor-in-region): Make error message clearer.
21120
21121 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21122
21123 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21124 and "a2b" to "ab" for `prefix'.
21125
21126 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21127
21128 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21129 filter groups.
21130 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21131 Fourquet (Bug#8804).
21132
21133 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21134
21135 * startup.el (argi): Declare as global variable (bug#9275).
21136
21137 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21138
21139 * subr.el (string-mark-left-to-right): Search the entire string
21140 for RTL script, not just the terminating character. Doc fix.
21141
21142 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21143
21144 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21145 New function.
21146 (js--regexp-literal, js-syntax-propertize-function): Remove.
21147 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21148 (js-mode-map): Don't rebind electric keys.
21149 (js-insert-and-indent): Remove.
21150 (js-mode): Setup electric-layout and electric-indent instead.
21151
21152 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21153
21154 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21155
21156 * epa.el (epa-progress-callback-function): Fix the logic of
21157 displaying progress.
21158 * epa-file.el (epa-file-insert-file-contents): Make progress
21159 display more user-friendly.
21160 (epa-file-write-region): Ditto.
21161
21162 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21163
21164 * subr.el (string-mark-left-to-right): New function.
21165
21166 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21167 Use string-mark-left-to-right.
21168 (list-buffers-noselect): Caller changed.
21169
21170 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21171 Use string-mark-left-to-right.
21172 (tabulated-list-print): Recenter after moving point.
21173
21174 2011-08-10 Juri Linkov <juri@jurta.org>
21175
21176 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21177 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21178 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21179
21180 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21181
21182 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21183 (Bug#7554).
21184
21185 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21186
21187 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21188 character. (Bug#6594)
21189
21190 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21191
21192 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21193 (image-dired--with-db-file): New macro.
21194 (image-dired-write-tags, image-dired-remove-tag)
21195 (image-dired-create-gallery-lists, image-dired-write-comments)
21196 (image-dired-get-comment, image-dired-mark-tagged-files)
21197 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21198 (image-dired-gallery-generate): Use insert-file-contents.
21199
21200 * time.el (display-time-world-list, display-time-world-display):
21201 * time-stamp.el (time-stamp-string):
21202 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21203 set-time-zone-rule (Bug#7337).
21204
21205 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21206
21207 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21208 (epg-error-to-string, epg-errors-to-string): New function.
21209 (epg-wait-for-completion): Reverse errors list.
21210 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21211 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21212 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21213 (epg-sign-keys, epg-generate-key-from-file)
21214 (epg-generate-key-from-string): Format errors by using
21215 epg-errors-to-string (bug#9255).
21216 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21217
21218 2011-08-07 Juri Linkov <juri@jurta.org>
21219
21220 * faces.el (list-faces-display): Remove extra angle bracket
21221 from `help-mode-map'.
21222
21223 * info.el (Info-history-toc-nodes): Doc fix.
21224
21225 * longlines.el (longlines-mode): Doc fix.
21226
21227 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21228
21229 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21230 of statements and in a few more cases (bug#9183).
21231
21232 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21233 New functions.
21234 (cl-transform-lambda): Use them (bug#9239).
21235
21236 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21237
21238 * window.el (display-buffer-same-window)
21239 (display-buffer-same-frame, display-buffer-other-window)
21240 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21241 (pop-to-buffer-other-window)
21242 (pop-to-buffer-same-frame-other-window)
21243 (pop-to-buffer-other-frame): Make them defuns.
21244 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21245
21246 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21247
21248 * subr.el (make-composed-keymap): Move from C. Change calling
21249 convention, and improve docstring to bring attention to a subtle point.
21250 * minibuffer.el (completing-read-default): Adjust accordingly.
21251
21252 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21253
21254 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21255 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21256
21257 * net/trampver.el: Update release number.
21258
21259 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21260
21261 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21262 "in" (bug#9190).
21263
21264 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21265
21266 * mail/sendmail.el (sendmail-query-once): Restore the current
21267 buffer after querying (bug#9074).
21268
21269 * dired.el (dired-flagged): Use different faces for marked and
21270 flagged files (bug#6117).
21271
21272 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21273 (bug#4433).
21274
21275 * ido.el (ido-mode): Switch off the message if called
21276 non-interactively.
21277
21278 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21279 before 587, since it appears that that's more likely to work for
21280 more people.
21281
21282 * cus-edit.el (custom-file): When running under emacs -q, always
21283 refuse to save the customizations, even if the .emacs file doesn't
21284 exist.
21285
21286 * info.el: Remove the `Info-beginning-of-buffer' function
21287 (bug#8325).
21288
21289 * net/network-stream.el (network-stream-open-starttls):
21290 Use `starttls-available-p' to see whether starttls.el can be used.
21291
21292 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21293
21294 * window.el (display-buffer-in-window): Don't set dedicated status
21295 of window here (Bug#9215).
21296 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21297 (display-buffer-pop-up-side-window)
21298 (display-buffer-in-side-window): Set dedicated status of window here.
21299
21300 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21301
21302 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21303 before binding generated-autoload-file.
21304
21305 2011-08-01 Deniz Dogan <deniz@dogan.se>
21306
21307 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21308
21309 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21310
21311 Sync with Tramp 2.2.2.
21312
21313 * net/trampver.el: Update release number.
21314
21315 2011-07-30 Juri Linkov <juri@jurta.org>
21316
21317 * dired-aux.el (dired-touch-initial): Remove function.
21318 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21319 current time, and `default' to the last modification time of the
21320 current marked file (bug#6887).
21321
21322 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21323
21324 * simple.el (goto-line): Use string-to-number to provide a
21325 numeric argument to read-number (bug#9163).
21326
21327 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21328
21329 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21330 connection process, it could be nil.
21331
21332 2011-07-27 Leo Liu <sdl.web@gmail.com>
21333
21334 Simplify url handling in rcirc-mode.
21335
21336 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21337 (rcirc-browse-url-at-mouse): Remove.
21338 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21339
21340 2011-07-26 Alan Mackenzie <acm@muc.de>
21341
21342 Fontify bitfield declarations properly.
21343
21344 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21345 (c-symbol-chars): Now exported as a lang variable.
21346 (c-not-primitive-type-keywords): New lang variable.
21347
21348 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21349 QT keyword "more" to prevent "more slots: ...." being spuriously
21350 parsed as a bitfield declaration.
21351
21352 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21353 Refactor and enhance to handle bitfield declarations.
21354 (c-punctuation-in): New function.
21355 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21356 declarations properly.
21357
21358 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21359
21360 * calendar/icalendar.el (icalendar--all-events): Take care of
21361 multiple vcalendars in a single file.
21362 (icalendar--convert-float-to-ical): Checkdoc fixes.
21363
21364 2011-07-25 Deniz Dogan <deniz@dogan.se>
21365
21366 * image.el (insert-image): Clarifying docstring.
21367
21368 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21369
21370 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21371 `tramp-send-command-and-check' if there is no error.
21372 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21373
21374 2011-07-22 Alan Mackenzie <acm@muc.de>
21375
21376 Prevent cc-langs.elc being loaded at run time.
21377
21378 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21379 cc-langs.
21380
21381 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21382 "(require 'cc-langs)". Quote a form so it will evaluate at
21383 (cc-mode's) compilation time.
21384
21385 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21386
21387 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21388 loading. (Bug#9114)
21389
21390 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21391
21392 * window.el (display-buffer-pop-up-window)
21393 (display-buffer-pop-up-side-window)
21394 (display-buffer-in-side-window): Call display-buffer-set-height
21395 and display-buffer-set-width after setting the new window's
21396 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21397
21398 2011-07-20 Sam Steingold <sds@gnu.org>
21399
21400 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21401 (etags-tags-included-tables): Call `convert-standard-filename' on
21402 the file names contained in TAGS so that windows Emacs can handle
21403 TAGS files created by cygwin ctags.
21404
21405 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21406
21407 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21408 which apparently didn't work.
21409
21410 2011-07-19 Roland Winkler <winkler@gnu.org>
21411
21412 * proced.el (proced-send-signal): For *Marked Processes* buffer
21413 put point at beginning of buffer.
21414
21415 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21416
21417 * proced.el (proced-format): Make header lines align with the text
21418 (bug#1779).
21419
21420 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21421
21422 * view.el (view-buffer): Allow running in `special' modes if we're
21423 visiting a file (bug#8615).
21424
21425 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21426
21427 * window.el (display-buffer-alist-of-strings-p)
21428 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21429 New functions.
21430 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21431 more accurately.
21432
21433 2011-07-18 Alan Mackenzie <acm@muc.de>
21434
21435 Fontify declarators properly when, e.g., a jit-lock chunk begins
21436 inside a declaration.
21437
21438 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21439
21440 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21441 New function.
21442 (c-complex-decl-matchers): Insert reference to
21443 c-font-lock-enclosing-decls.
21444
21445 * progmodes/cc-engine.el (c-backward-single-comment):
21446 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21447 to nil around calls to (forward-comment -1).
21448
21449 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21450
21451 * image.el (put-image): Doc typo fix.
21452
21453 * progmodes/etags.el (tags-search): Doc typo fix.
21454
21455 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21456 password if we get errors 550 to 554.
21457
21458 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21459
21460 * net/gnutls.el (gnutls-log-level): Remove.
21461
21462 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21463 indentation character (bug#6380).
21464
21465 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21466
21467 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21468 to clarify what the problem is (bug#4291).
21469
21470 * simple.el (current-kill): Clarify what
21471 `interprogram-paste-function' does (bug#7500).
21472 (auto-fill-mode): Document `auto-fill-function' in relation to
21473 `auto-fill-mode' (bug#2470).
21474
21475 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21476
21477 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21478 method if slot is read-only (bug#9035).
21479
21480 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21481
21482 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21483 * window.el (pop-to-buffer): Select window used even if it was
21484 selected before, see discussion of (Bug#8615), (Bug#6954).
21485 Pass argument NORECORD on to select-frame-set-input-focus.
21486
21487 2011-07-15 Glenn Morris <rgm@gnu.org>
21488
21489 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21490 Respect help-form.
21491
21492 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21493
21494 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21495 (gnutls-negotiate): Use it.
21496
21497 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21498
21499 * net/gnutls.el (gnutls-negotiate):
21500 Upcase `gnutls-algorithm-priority'.
21501
21502 2011-07-15 Glenn Morris <rgm@gnu.org>
21503
21504 * jka-compr.el (jka-compr-verbose): Move from here...
21505 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21506 Add missing :version tag.
21507 * info.el: No need to require jka-compr when compiling.
21508
21509 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21510
21511 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21512 (gnutls-negotiate): Use it.
21513
21514 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21515
21516 * info.el (Info-beginning-of-buffer): New command.
21517 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21518 announcing `b' as the key (bug#8325).
21519 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21520
21521 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21522
21523 * international/mule-cmds.el
21524 (describe-specified-language-support): Make the error message
21525 clearer (bug#8905).
21526
21527 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21528
21529 * isearch.el (isearch-barrier): Add a doc string, since it's
21530 mentioned in a function doc string (bug#8678).
21531
21532 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21533
21534 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21535 buffer argument (Bug#9083) and self-identifying label argument.
21536
21537 2011-07-15 Glenn Morris <rgm@gnu.org>
21538
21539 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21540
21541 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21542
21543 * man.el (Man-fontify-manpage): Fix message when formatting the
21544 man page (bug#7929).
21545
21546 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21547
21548 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21549 argument LRM; if non-nil, append an invisible LRM character to the
21550 buffer name.
21551 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21552 last argument non-nil, when formatting buffer names.
21553 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21554 paragraph direction.
21555
21556 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21557
21558 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21559 the man page name (bug#7929).
21560
21561 * image.el (put-image): Mention the `put-image' overlay property
21562 (bug#7834).
21563
21564 * scroll-bar.el (set-scroll-bar-mode): Mention that
21565 `scroll-bar-mode' lists the values (bug#7772).
21566
21567 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21568 command (bug#7729).
21569
21570 * rect.el (apply-on-rectangle): Return the point after the last
21571 operation.
21572 (string-rectangle): Go to the point after the last operation
21573 (bug#7522).
21574
21575 * printing.el (pr-toggle-region): Clarify the documentation
21576 slightly (bug#7493).
21577
21578 * time.el (display-time-update):
21579 Allow `display-time-mail-function' to return nil (bug#7158).
21580 Fix suggested by Detlev Zundel.
21581
21582 * vc/diff.el (diff): Clarify the order the file names are read
21583 (bug#7111).
21584
21585 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21586 the doc string (bug#7015).
21587
21588 * font-lock.el (font-lock-maximum-decoration): Mention what
21589 numeric levels mean (bug#6935).
21590
21591 * startup.el (initial-buffer-choice): Don't mention the `none'
21592 selection, which is against policy.
21593
21594 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21595
21596 * window.el (display-buffer-normalize-special):
21597 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21598
21599 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21600
21601 * subr.el (version<, version<=, version=): Mention "-CVS" and
21602 "-12345" alpha version numbers.
21603
21604 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21605
21606 * bindings.el: Add advertised binding for set-mark-command
21607 (Bug#5772).
21608
21609 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21610
21611 * bindings.el (mode-line-other-buffer):
21612 * bookmark.el (bookmark-bmenu-2-window):
21613 * bs.el (bs-cycle-next, bs-cycle-previous):
21614 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21615 switch-to-buffer.
21616
21617 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21618 Delete.
21619
21620 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21621
21622 * follow.el (follow-debug-message, follow-redisplay):
21623 * jka-cmpr-hook.el (with-auto-compression-mode):
21624 Fix typos in docstrings.
21625
21626 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21627
21628 * subr.el (with-silent-modifications): Clarify somewhat what the
21629 macro inhibits (bug#6525).
21630
21631 * simple.el (eval-expression): Note what it does if called
21632 interactively (bug#6495).
21633
21634 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21635
21636 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21637 Use pop-to-buffer buffer-or-name if it is nil.
21638
21639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21640 Remove switch-to-buffer.
21641
21642 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21643
21644 * files.el (make-directory): Clarify that an error will be raised
21645 if there's an error (bug#6397).
21646
21647 * startup.el (initial-buffer-choice): Add `none' as a choice
21648 (bug#6234).
21649
21650 * subr.el (add-hook): Clarify section about buffer-local hooks
21651 (bug#6218).
21652
21653 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21654
21655 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21656
21657 * tabify.el (untabify): Preserve the current column so that point
21658 doesn't move (bug#6032).
21659
21660 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21661
21662 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21663 Rewrite to avoid awkward possessive "s" (bug#5986).
21664
21665 2011-07-13 Glenn Morris <rgm@gnu.org>
21666
21667 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21668 (dired-insert-directory): Give a message the first time
21669 if ls is found not to support --dired.
21670
21671 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21672
21673 * simple.el (toggle-truncate-lines): Clarify what is toggled
21674 (bug#5580). Text by Drew Adams.
21675
21676 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21677
21678 * simple.el (blink-matching-open): Make the error message from the
21679 last change less verbose.
21680
21681 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21682
21683 * font-lock.el (font-lock-comment-face): Use the high contrast
21684 "yellow" color for font-lock-comment-face on low color terminals
21685 using a dark background color (bug#4221).
21686
21687 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21688
21689 * dired.el (dired-insert-set-properties): Make the doc string
21690 reflect what it does now (bug#5325).
21691
21692 * simple.el (blink-matching-open): Say that we were unable to find
21693 the match within the limit, if we're limited (bug#5122).
21694
21695 * international/mule-cmds.el (prefer-coding-system): Add an
21696 example (bug#4869).
21697
21698 * progmodes/etags.el (tags-search): Document `file-list-form'
21699 (bug#4731).
21700
21701 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21702
21703 * net/browse-url.el (browse-url-default-browser)
21704 (browse-url-browser-function): Make the default browser choice a
21705 bit more logical (bug#4300). Also clean up the doc string.
21706
21707 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21708
21709 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21710 binary endings (bug#4440).
21711
21712 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21713
21714 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21715 which can be pretty annoying (bug#8971).
21716
21717 * jka-compr.el (jka-compr-verbose): New variable, and use
21718 throughout (bug#8971).
21719
21720 * info.el (Info-find-file): Fall back on the installation
21721 directory if we can't find the info node anywhere else.
21722
21723 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21724
21725 * vc/vc.el (vc-revert-file):
21726 Don't set file time-stamp in the past. (Bug#5181)
21727
21728 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21729
21730 * files.el (after-find-file): Give a better error message when
21731 trying to find a symlink that points to a file that doesn't exist
21732 (bug#4398).
21733
21734 * progmodes/cc-vars.el: Remove (probably) misleading comment
21735 (bug#4396).
21736
21737 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21738
21739 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21740
21741 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21742
21743 * mouse-sel.el: Hack restoring functionality, while keeping
21744 compatibility with 2010-07-03 changes to mouse selection.
21745 (mouse-sel-primary-overlay): New var.
21746 (mouse-sel-selection-alist): Use it.
21747 (mouse-sel-mode): Doc fix; remove points that are default features
21748 of mouse.el.
21749
21750 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21751
21752 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21753 Fix previous fix (bug#2490).
21754
21755 2011-07-12 Roland Winkler <winkler@gnu.org>
21756
21757 * textmodes/bibtex.el (bibtex-initialize):
21758 Use pop-to-buffer-same-window.
21759 (bibtex-search-entries): Fix interactive call.
21760
21761 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21762
21763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21764 Fontise bytecomp Error lines more correctly (bug#2490).
21765 Fix suggested by Johan Bockgård.
21766
21767 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21768
21769 * dired-x.el (dired-guess-default): Use `delete-dups'.
21770
21771 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21772
21773 * dired.el (dired-mark-prompt):
21774 * dired-aux.el (dired-read-shell-command): Doc fix.
21775
21776 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21777
21778 * mail/sendmail.el (sendmail-query-once):
21779 Use `customize-save-variable' unconditionally, now that it works under
21780 emacs -Q.
21781
21782 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21783
21784 * cus-edit.el (custom-file): Take an optional no-error variable.
21785 (customize-save-variable): Set the variable, and give a warning if
21786 running under "emacs -q".
21787
21788 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21789
21790 * loadhist.el (unload-feature-special-hooks):
21791 Add `auto-coding-functions', `fill-nobreak-predicate' and
21792 `find-directory-functions' (bug#5327).
21793
21794 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21795
21796 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21797
21798 * cus-edit.el (custom-guess-name-alist): -alist variables should
21799 use the `alist' type (bug#3120). Suggested by Drew Adams.
21800
21801 * printing.el: Add documentation to all the `pr-toggle-' commands.
21802
21803 2011-07-11 Leo Liu <sdl.web@gmail.com>
21804
21805 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21806 backends where it makes sense (bug#2623).
21807
21808 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21809
21810 * dired-x.el (dired-guess-default): Remove duplicate shell command
21811 entries (bug#2028).
21812 (dired-guess-default): Fix grammar in doc string (bug#2028).
21813 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21814
21815 * subr.el (remove-duplicates): New conveniency function.
21816
21817 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21818
21819 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21820 (bug#1526).
21821
21822 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21823
21824 * window.el (display-buffer-normalize-default): Don't invert
21825 meaning of even-window-heights. Reported by Eli Zaretskii
21826 <eliz@gnu.org>.
21827
21828 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21829
21830 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21831
21832 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21833
21834 * window.el (display-buffer): Fix arguments to
21835 display-buffer-reuse-window in last change.
21836
21837 * faces.el (link): Use a less saturated blue on light backgrounds.
21838
21839 * startup.el (fancy-startup-text, fancy-about-text)
21840 (fancy-startup-tail): Use font-lock faces, for background safety.
21841
21842 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21843
21844 * emulation/viper-cmd.el (viper-change-state-to-vi):
21845 Limit triggering of abbrev expansion (Bug#9038).
21846
21847 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21848
21849 * window.el (display-buffer-default-specifiers): Remove.
21850 (display-buffer-macro-specifiers): Remove default specifiers.
21851 (display-buffer-alist): Default to nil.
21852 (display-buffer-reuse-window): New optional argument other-window.
21853 (display-buffer-pop-up-window): Allow splitting internal
21854 windows. Check whether a live window was created.
21855 (display-buffer-other-window-means-other-frame)
21856 (display-buffer-normalize-arguments): Rename to
21857 display-buffer-normalize-argument and rewrite. Set the
21858 other-window specifier.
21859 (display-buffer-normalize-special): New function.
21860 (display-buffer-normalize-options): Rename to
21861 display-buffer-normalize-default and rewrite.
21862 (display-buffer-normalize-options-inhibit): Remove.
21863 (display-buffer-normalize-specifiers): Rewrite.
21864 (display-buffer): Process other-window specifier and call
21865 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21866 more faithfully.
21867 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21868 (display-buffer-alist-set): Don't handle 'unset default values.
21869 (display-buffer-in-window, display-buffer-alist-set):
21870 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21871 <tassilo@member.fsf.org>.
21872
21873 2011-07-09 Leo Liu <sdl.web@gmail.com>
21874
21875 * register.el (insert-register): Restore accidental change on
21876 2011-06-26. (Bug#9028)
21877
21878 2011-07-09 Glenn Morris <rgm@gnu.org>
21879
21880 * subr.el (remq): Handle the empty list. (Bug#9024)
21881
21882 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21883
21884 * mail/sendmail.el (send-mail-function): No longer delay custom
21885 initialization.
21886 * custom.el (custom-initialize-delay): Doc fix.
21887
21888 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21889
21890 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21891
21892 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21893
21894 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21895 human-friendly prompt.
21896
21897 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21898
21899 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21900 provided by a particular plugin.
21901
21902 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21903
21904 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21905 save customizations (with "emacs -Q"), just set the variable
21906 instead of erroring out.
21907
21908 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21909
21910 2011-07-08 Juri Linkov <juri@jurta.org>
21911
21912 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21913 (archive-zip-update-case): Use 7z if found by `executable-find'.
21914 The order of searching the available programs is the same as in
21915 `archive-zip-extract' (bug#8968).
21916
21917 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21918
21919 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21920 (menu-bar-options-menu): Tweak descriptions.
21921
21922 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21923
21924 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21925 menu items into verb phrases (bug#1421). Also refill to fit under
21926 80 columns.
21927
21928 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21929
21930 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21931 (Info-read-node-name): Doc fix (Bug#1084).
21932
21933 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21934 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21935 (end-of-sexp, beginning-of-sexp)
21936 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21937 (forward-symbol, forward-same-syntax, word-at-point)
21938 (sentence-at-point): Doc fix (Bug#1144).
21939
21940 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21941
21942 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21943 should cover it (bug#1281).
21944
21945 * cus-edit.el (custom-show): Mark as obsolete.
21946
21947 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21948 negotiation fails, then possibly try again with a non-encrypted
21949 connection (bug#9017).
21950
21951 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21952 be used.
21953
21954 2011-07-07 Richard Stallman <rms@gnu.org>
21955
21956 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21957 property, and handle its changed format.
21958 Look for the correct line number.
21959 Use file's line contents (but not past first =) to find
21960 correct line in message.
21961
21962 2011-07-07 Kenichi Handa <handa@m17n.org>
21963
21964 * international/characters.el (build-unicode-category-table):
21965 Delete it.
21966 (unicode-category-table): Set it by unicode-property-table-internal.
21967
21968 * international/mule-cmds.el (char-code-property-alist): Move to
21969 to src/chartab.c.
21970 (get-char-code-property): Call unicode-property-table-internal to
21971 load a file. Call get-unicode-property-internal where necessary.
21972 (put-char-code-property): Call unicode-property-table-internal to
21973 load a file. Call put-unicode-property-internal where necessary.
21974 put-unicode-property-internal where necessary.
21975 (char-code-property-description):
21976 Call unicode-property-table-internal to load a file.
21977
21978 * international/charprop.el:
21979 * international/uni-bidi.el:
21980 * international/uni-category.el:
21981 * international/uni-combining.el:
21982 * international/uni-comment.el:
21983 * international/uni-decimal.el:
21984 * international/uni-decomposition.el:
21985 * international/uni-digit.el:
21986 * international/uni-lowercase.el:
21987 * international/uni-mirrored.el:
21988 * international/uni-name.el:
21989 * international/uni-numeric.el:
21990 * international/uni-old-name.el:
21991 * international/uni-titlecase.el:
21992 * international/uni-uppercase.el: Regenerate.
21993
21994 * loadup.el: Load international/charprop.el before
21995 international/characters.
21996
21997 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21998
21999 * window.el (next-buffer, previous-buffer): Signal an error if
22000 called from a minibuffer window.
22001
22002 * bindings.el: Revert 2011-07-04 change.
22003
22004 2011-07-06 Richard Stallman <rms@gnu.org>
22005
22006 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22007 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22008 Treat markers like ints.
22009 (rmail-mime-entity): Doc fix.
22010
22011 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22012
22013 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22014 defcustom again for backwards compatibility.
22015
22016 * simple.el (shell-command-on-region): Fill.
22017
22018 * dired-aux.el (dired-kill-line): Add a doc string.
22019
22020 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22021 to "\\sw\\|\\s_" (bug#358).
22022
22023 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22024 (dired-unmark-backward): Ditto.
22025 (dired-flag-backup-files): Ditto.
22026
22027 * dired-x.el (dired-mark-sexp): Ditto.
22028
22029 2011-07-06 Richard Stallman <rms@gnu.org>
22030
22031 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22032 (rmail-mime-entity): New arg TRUNCATED.
22033 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22034 New functions.
22035 (rmail-mime-save): Warn if entity is truncated.
22036 (rmail-mime-toggle-hidden): Likewise, for showing.
22037 (rmail-mime-process-multipart): Record when an entity is truncated.
22038
22039 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22040 if ENTITY is a string.
22041
22042 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22043
22044 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22045 of faces when `M-C-x'-ing their definitions (bug#8378).
22046 Also clean up the code slightly.
22047
22048 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22049 because that makes the colors go away.
22050
22051 * mail/sendmail.el (send-mail-function): Change the default to
22052 `sendmail-query-once'.
22053 (sendmail-query-once): Add an autoload cookie.
22054
22055 * net/network-stream.el (network-stream-open-starttls): Try using
22056 a plain connection even if the server offered STARTTLS, and we
22057 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22058 capability. This should make smtpmail.el work in slightly more
22059 configurations.
22060
22061 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22062
22063 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22064 New defun.
22065 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22066
22067 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22068
22069 * progmodes/sql.el: Version 3.0
22070 (sql-product-alist): Add product :completion-object,
22071 :completion-column, and :statement attributes.
22072 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22073 (sql-mode-syntax-table): Mark all punctuation.
22074 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22075 ansi keywords.
22076 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22077 (sql-mode-oracle-font-lock-keywords): Improve.
22078 (sql-oracle-show-reserved-words): New function for development.
22079 (sql-product-font-lock): Simplify for source code buffers.
22080 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22081 New functions.
22082 (sql-highlight-product): Set product specific syntax table.
22083 (sql-mode-map): Add statement movement functions.
22084 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22085 New variable.
22086 (sql-statement-regexp, sql-beginning-of-statement)
22087 (sql-end-of-statement, sql-signum): New functions.
22088 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22089 (sql-show-sqli-buffer): Bug fix.
22090 (sql-interactive-mode): Store connection data as buffer local.
22091 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22092 with sql-interactive-mode.
22093 (sql-save-connection): Save buffer local settings.
22094 (sql-connection-menu-filter): Change menu entry name.
22095 (sql-product-interactive): Bug fix.
22096 (sql-preoutput-hold): New variable.
22097 (sql-interactive-remove-continuation-prompt): Bug fixes.
22098 (sql-debug-redirect): New variable.
22099 (sql-str-literal): New function.
22100 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22101 Redesign.
22102 (sql-oracle-save-settings, sql-oracle-restore-settings)
22103 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22104 (sql-completion-object, sql-completion-column)
22105 (sql-completion-sqlbuf): New variables.
22106 (sql-build-completions-1, sql-build-completions)
22107 (sql-try-completion): New functions.
22108 (sql-read-table-name): Use them.
22109 (sql-contains-names): New buffer local variable.
22110 (sql-list-all, sql-list-table): Use it.
22111 (sql-oracle-completion-types): New variable.
22112 (sql-oracle-completion-object, sql-sqlite-completion-object)
22113 (sql-postgres-completion-object): New functions.
22114
22115 2011-07-06 Glenn Morris <rgm@gnu.org>
22116
22117 * window.el (pop-to-buffer): Doc fix.
22118
22119 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22120
22121 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22122
22123 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22124
22125 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22126
22127 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22128
22129 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22130
22131 * button.el (button): Inherit from link face. Suggested by Dan
22132 Nicolaescu.
22133
22134 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22135
22136 * progmodes/gdb-mi.el: Fit in 80 columns.
22137 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22138 switch-to-buffer.
22139
22140 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22141 if imenu is simply not configured (bug#8941).
22142
22143 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22144
22145 * allout.el (allout-post-undo-hook): New allout outline-change
22146 event hook to signal undo activity.
22147 (allout-post-command-business): Run allout-post-undo-hook if an
22148 undo just occurred.
22149 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22150 * allout-widgets.el (allout-widgets-after-undo-function):
22151 Ensure the integrity of the current item's decoration after it has been
22152 in the vicinity of an undo.
22153 (allout-widgets-mode): Include allout-widgets-after-undo-function
22154 on the new allout-post-undo-hook.
22155
22156 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22157
22158 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22159 Let define-derived-mode define it.
22160 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22161 cycles of abbrev-table inheritance (bug#8998).
22162
22163 2011-07-05 Roland Winkler <winkler@gnu.org>
22164
22165 * textmodes/bibtex.el: Add support for biblatex.
22166 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22167 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22168 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22169 (bibtex-entry-alist, bibtex-field-alist): New variables.
22170 (bibtex-entry-field-alist): Obsolete alias for
22171 bibtex-BibTeX-entry-alist.
22172 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22173 (bibtex-set-dialect): New command.
22174 (bibtex-entry-type, bibtex-entry-head)
22175 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22176 Bind via bibtex-set-dialect.
22177 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22178 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22179 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22180 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22181 Define via bibtex-set-dialect.
22182 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22183 Obey bibtex-no-opt-remove-re.
22184 (bibtex-vec-push, bibtex-vec-incr): New functions.
22185 (bibtex-format-entry, bibtex-field-list)
22186 (bibtex-print-help-message, bibtex-validate)
22187 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22188
22189 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22190
22191 * progmodes/compile.el (compilation-goto-locus):
22192 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22193 * bs.el (bs-cycle-next, bs-cycle-previous):
22194 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22195 * bindings.el (mode-line-other-buffer):
22196 * autoinsert.el (auto-insert):
22197 * arc-mode.el (archive-extract):
22198 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22199
22200 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22201
22202 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22203 Fix check of `emacs-lock-unlockable-modes'.
22204 Coerce true values of `emacs-lock--try-unlocking' to t.
22205
22206 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22207
22208 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22209 * emacs-lock.el: New file.
22210
22211 2011-07-05 Julien Danjou <julien@danjou.info>
22212
22213 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22214 than `boundp' to check if face is set.
22215
22216 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22217
22218 * register.el (registerv-make):
22219 * window.el (window-min-height): Fix typos in docstrings.
22220
22221 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22222
22223 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22224 Update doc string.
22225
22226 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22227
22228 * server.el (server-execute): Catch quit and call
22229 `server-return-error' to pass the error back to emacsclient and
22230 close the connection (bug#8942).
22231
22232 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22233
22234 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22235 insecure exception for current topic. Also note that auto-saves
22236 are handled differently.
22237
22238 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22239 State variables for tracking auto-save inhibition situation.
22240
22241 (allout-write-contents-hook-handler): Rename from
22242 'allout-write-file-hook-handler', and describe how it depends on
22243 write-contents-functions sensitivity to non-nil value to prevent
22244 file write.
22245
22246 (allout-auto-save-hook-handler): Remove. auto-save does not check
22247 this in individual buffers, only in the starting buffer, so this
22248 is not the right way for us to inhibit auto-save in a buffer
22249 according to its condition.
22250
22251 (allout-mode): Use new allout-write-contents-hook-handler, and
22252 only with write-contents-functions. Remove auto-save provisions -
22253 they're implemented elsewhere.
22254
22255 (allout-before-change-handler): If undo is in progress, note that
22256 for attention of allout-post-command-business.
22257
22258 (allout-post-command-business): If the command we're following was
22259 an undo, check for change in the status of encrypted items and
22260 adjust auto-save inhibitions accordingly.
22261
22262 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22263 according to whether there are or aren't any plain-text topics
22264 pending encryption.
22265
22266 (allout-inhibit-auto-save-info-for-decryption):
22267 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22268 if there are plain-text topics pending encryption.
22269
22270 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22271 buffer-saved-size and some allout state to not inhibit auto-saves
22272 if there are no longer any plain-text topics pending encryption.
22273
22274 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22275 No longer provide for exemption of the current topic.
22276
22277 2011-07-04 Juri Linkov <juri@jurta.org>
22278
22279 Add 7z operations to delete and save changed members (bug#8968).
22280 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22281 New defcustoms.
22282 (archive-7z-write-file-member): New function.
22283 (archive-7z-summarize): Fix the number of dashes in the
22284 listing output.
22285
22286 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22287
22288 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22289 (bug#8958).
22290
22291 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22292
22293 * bindings.el: Ignore next-buffer and previous-buffer in
22294 minibuffer-local-map.
22295
22296 * font-lock.el (font-lock-builtin-face): Change light background
22297 color to dark slate blue (Bug#6693).
22298
22299 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22300
22301 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22302
22303 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22304
22305 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22306 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22307 Add switch-to-buffer.
22308
22309 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22310
22311 * isearch.el (isearch-search-fun-function): Clarify further the
22312 meaning of the function returned.
22313
22314 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22315
22316 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22317
22318 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22319 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22320 Use it.
22321 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22322 `tramp-default-remote-path' does not exist.
22323 (tramp-send-command-and-read): New optional argument NOERROR.
22324 (tramp-open-connection-setup-interactive-shell)
22325 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22326 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22327 (tramp-process-sentinel): Flush also process' connection property.
22328 (tramp-sh-handle-start-file-process): Do not set process
22329 sentinel. It is done now ...
22330 (tramp-maybe-open-connection): ... here. (Bug#8929)
22331
22332 2011-07-04 MON KEY <monkey@sandpframing.com>
22333
22334 * play/animate.el (animate-string): Doc fixes and allow changing
22335 the buffer name (bug#5417).
22336
22337 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22338
22339 * play/animate.el (animation-buffer-name): Rename from *animate*.
22340
22341 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22342
22343 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22344 This is simpler and helps future-proof the code.
22345 (timer-until): Use time-subtract and float-time.
22346 (timer--time-less-p): Use time-less-p.
22347
22348 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22349
22350 * type-break.el (timep): Use the value of `float-time' to avoid a
22351 byte-compiler warning.
22352
22353 * server.el (server-eval-and-print): Return any result, even nil.
22354
22355 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22356
22357 * type-break.el: Accept time formats that the builtins accept.
22358 (timep, type-break-time-difference): Accept any format that
22359 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22360 This is simpler and helps future-proof the code.
22361 (type-break-time-difference): Round rather than ignoring
22362 subseconds components.
22363
22364 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22365
22366 * info.el (Info-apropos-matches): Make non-interactive, since it
22367 doesn't seem to do anything useful as a command (bug#8829).
22368
22369 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22370
22371 * frame.el (frame-background-mode, frame-set-background-mode):
22372 Move from faces.el.
22373 (frame-default-terminal-background): New function.
22374
22375 * custom.el (custom-push-theme): Don't record faces in `changed'
22376 theme; this doesn't work correctly for per-frame face settings.
22377 (disable-theme): Use face-set-after-frame-default to reset faces.
22378 (custom--frame-color-default): New function.
22379
22380 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22381
22382 * dired.el (dired-flagging-regexp): Remove unused variable
22383 (bug#8769).
22384
22385 2011-03-29 Kevin Ryde <user42@zip.com.au>
22386
22387 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22388 `perl-Test2' extend to match possible "fail #N" rep count
22389 (bug#8377).
22390
22391 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22392
22393 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22394 `smtpmail-via-smtp' now returns the error instead of nil.
22395
22396 * isearch.el (isearch-search-fun-function): Clarify the doc string
22397 (bug#8101).
22398
22399 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22400
22401 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22402 unnecessary spaces (bug#8987).
22403
22404 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22405
22406 * net/network-stream.el (open-network-stream): Use the
22407 :end-of-capability command thoughout.
22408
22409 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22410
22411 * net/network-stream.el (open-network-stream): Add the
22412 :end-of-capability command parameter, used by pop3.el.
22413
22414 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22415
22416 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22417
22418 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22419 for list)" (bug#6475).
22420
22421 * files.el (file-expand-wildcards): Ignore non-readable
22422 sub-directories while trying to find matches instead of signaling
22423 an error (bug#6297).
22424
22425 * man.el (Man-reference-regexp): Allow matching possible
22426 word-wrapped references (bug#6289).
22427
22428 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22429 for consistency with the other vc buffers (bug#6197).
22430 (vc-checkin): Ditto.
22431
22432 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22433
22434 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22435
22436 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22437
22438 * custom.el (defcustom): Clarify that :set is only used in the
22439 Customize user interface (bug#6089).
22440
22441 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22442 associated with a file, refuse to run instead of erroring out
22443 (bug#6084).
22444
22445 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22446 the doc string, since it appears that using `fill-column' always
22447 controls the width (bug#7845).
22448
22449 * simple.el (shell-command-on-region): Say where the error output
22450 went if `shell-command-default-error-buffer' is set (bug#6857).
22451
22452 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22453
22454 * allout.el (allout-yank-processing): Adjust cursor position for
22455 backwards-deleted space.
22456
22457 (allout-rebullet-heading): Register changes with
22458 allout-exposure-changed-hook, so the modified topic is properly
22459 decorated.
22460
22461 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22462
22463 * minibuffer.el (completion-in-region): Document PREDICATE
22464 (bug#7136).
22465
22466 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22467 of keyword/argument pairs (bug#6904).
22468
22469 * replace.el (multi-occur):
22470 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22471
22472 2011-07-02 Drew Adams <drew.adams@oracle.com>
22473
22474 * dired.el (dired-mark-if): Make the message about whether it's
22475 marking or unmarking clearer (bug#8523).
22476
22477 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22478
22479 * disp-table.el (display-table-print-array): New function.
22480 (describe-display-table): Use it to print the vectors more pretty
22481 (Bug#8859).
22482
22483 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22484
22485 * window.el (window-state-get-1): Don't assign clone numbers.
22486 Add clone-of item to list of window parameters.
22487 (window-state-put-2): Don't process clone numbers.
22488 (display-buffer-alist): Fix doc-string.
22489
22490 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22491
22492 * subr.el (remq): Don't allocate if it's not needed.
22493 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22494 (keymap--merge-bindings): New functions.
22495 (keymap-canonicalize): Use them to refine the canonicalization.
22496 * minibuffer.el (minibuffer-local-completion-map)
22497 (minibuffer-local-must-match-map): Move initialization from C.
22498 (minibuffer-local-filename-completion-map): Move initialization from C;
22499 don't inherit from anything here.
22500 (minibuffer-local-filename-must-match-map): Make obsolete.
22501 (completing-read-default): Use make-composed-keymap to combine
22502 minibuffer-local-filename-completion-map with either
22503 minibuffer-local-must-match-map or
22504 minibuffer-local-filename-completion-map.
22505
22506 2011-07-01 Glenn Morris <rgm@gnu.org>
22507
22508 * type-break.el (type-break-time-sum): Use dolist.
22509
22510 * textmodes/flyspell.el (flyspell-word-search-backward):
22511 Replace CL function.
22512
22513 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22514
22515 * mouse.el (mouse--strip-first-event): New function.
22516 (function-key-map): Use it to map fringe clicks to normal clicks
22517 by default.
22518
22519 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22520 (vc-bzr-revision-completion-table): Add support for annotate and date.
22521
22522 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22523 inherit from parent.
22524
22525 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22526
22527 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22528 (dired-show-file-type): Doc fixup (bug#8818).
22529
22530 * dired.el (dired-mode): Fix up the doc string as suggested by
22531 Drew Adams (bug#8817).
22532
22533 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22534 cookie, since the manual says that it should be possible to add
22535 this function to `find-file-hook' (bug#8709).
22536
22537 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22538
22539 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22540 here. Noted Ted Zlatanov as the maintainer.
22541 (cfengine-common-settings, cfengine-common-syntax): New functions
22542 to set up common things between `cfengine-mode' and
22543 `cfengine3-mode'.
22544 (cfengine3-mode): New mode.
22545 (cfengine3-defuns cfengine3-defuns-regex
22546 (cfengine3-class-selector-regex cfengine3-category-regex)
22547 (cfengine3-vartypes cfengine3-font-lock-keywords)
22548 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22549 (cfengine3-indent-line): Add from cfengine3.el.
22550
22551 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22552
22553 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22554
22555 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22556
22557 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22558
22559 * window.el (same-window-buffer-names, same-window-regexps)
22560 (same-window-p, special-display-frame-alist)
22561 (special-display-popup-frame, special-display-function)
22562 (special-display-buffer-names, special-display-regexps)
22563 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22564 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22565 (split-window-preferred-function, split-height-threshold)
22566 (split-width-threshold, even-window-heights)
22567 (display-buffer-mark-dedicated, window-splittable-p)
22568 (split-window-sensibly, window-safely-shrinkable-p):
22569 Un-obsolete.
22570 (display-buffer): Don't spread args with function specifier
22571 because special-display-popup-frame won't like it.
22572
22573 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22574
22575 Time-stamp simplifications and fixes.
22576 These improve accuracy slightly, and future-proof the code
22577 against some potential changes to current-time format.
22578
22579 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22580 by using time-since and float-time.
22581
22582 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22583 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22584 + NNN microseconds".
22585
22586 * type-break.el (type-break-time-sum): Rewrite using time-add.
22587
22588 * play/hanoi.el (hanoi-current-time-float): Remove.
22589 All uses replaced by float-time.
22590
22591 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22592 This yields a more-accurate answer.
22593 (rng-time-to-float): Remove; no longer needed.
22594
22595 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22596
22597 * calendar/timeclock.el (timeclock-seconds-to-time):
22598 Defalias to seconds-to-time, since they're the same thing.
22599
22600 * emacs-lisp/elp.el (elp-elapsed-time):
22601 * emacs-lisp/benchmark.el (benchmark-elapse):
22602 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22603
22604 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22605
22606 * window.el (bury-buffer): Don't iconify the only frame.
22607 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22608 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22609
22610 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22611
22612 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22613 Add mouse-yank-primary.
22614
22615 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22616
22617 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22618
22619 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22620
22621 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22622 (find-library-name): Use it to find relative load names when provided
22623 absolute file name (bug#8803).
22624
22625 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22626
22627 * textmodes/flyspell.el (flyspell-word): Consider words that
22628 differ only in case as potential doublons (bug#5687).
22629
22630 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22631 Remove two rather uninteresting debugging-like messages to make
22632 debbugs.el more silent.
22633
22634 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22635 a password-like phrase.
22636
22637 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22638
22639 * progmodes/cc-guess.el: New file.
22640
22641 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22642
22643 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22644 derived from `c-basic-common-init'.
22645
22646 * progmodes/cc-mode.el (top-level): Require cc-guess.
22647 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22648
22649 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22650
22651 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22652
22653 2011-06-30 Alan Mackenzie <acm@muc.de>
22654
22655 * progmodes/cc-engine.el (c-guess-continued-construct):
22656 Correct the handling of template-args-cont, particularly for when font
22657 lock is disabled. Name this case as "CASE G".
22658
22659 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22660
22661 * allout.el (allout-yank-processing): Fix injection of extra space
22662 between bullet and non-whitespace character in first topic when
22663 pasting, ensuring that the actual spacing in the pasted topic
22664 following the bullet char is preserved. This extra space was
22665 causing pasted encrypted topics to get a decrypted status even
22666 when the content was actually still encrypted. Now the decryption
22667 status from before the paste is preserved.
22668
22669 (allout-flag-region): Set all allout overlays so they evaporate
22670 when reduced to zero length (evanescent), to prevent overlay
22671 leakage.
22672
22673 2011-06-30 Glenn Morris <rgm@gnu.org>
22674
22675 * w32-fns.el (w32-charset-info-alist): Declare.
22676
22677 * find-dired.el (find-grep-options): Simplify.
22678
22679 * term/ns-win.el (ns-set-resource): Declare.
22680
22681 * ses.el (row, col): Declare dynamic variables honestly.
22682
22683 * textmodes/reftex-parse.el (index-tags): Declare.
22684
22685 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22686
22687 * cus-edit.el (customize-push-and-save): New function.
22688
22689 * files.el (hack-local-variables-confirm): Use it.
22690
22691 * custom.el (load-theme): New arg NO-CONFIRM.
22692 Use customize-push-and-save (Bug#8720).
22693 (custom-enabled-themes): Doc fix.
22694
22695 * cus-theme.el (customize-create-theme)
22696 (custom-theme-merge-theme): Callers to load-theme changed.
22697
22698 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22699
22700 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22701 short URLs have at least one dot in them (bug #7614).
22702
22703 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22704 nil, because using a pty is apparently too slow (bug #895).
22705
22706 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22707
22708 * mail/sendmail.el (sendmail-query-once): New function.
22709 (sendmail-query-once-function): New variable.
22710
22711 2011-06-29 Glenn Morris <rgm@gnu.org>
22712
22713 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22714
22715 * ses.el (top-level): Require cl when compiling.
22716 (ses-set-localvars): Fix error statement.
22717 Call it at compile time to silence a storm of warnings.
22718
22719 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22720
22721 * window.el (normalize-live-buffer): Rename to
22722 window-normalize-buffer.
22723 (normalize-live-frame): Rename to window-normalize-frame.
22724 (normalize-any-window): Rename to window-normalize-any-window.
22725 (normalize-live-window): Rename to window-normalize-live-window.
22726 (make-window-atom): Rename to window-make-atom.
22727 (window-resize-reset): Rename to window--resize-reset.
22728 (window-resize-reset-1): Rename to window--resize-reset-1.
22729 (resize-mini-window): Rename to window--resize-mini-window.
22730 (resize-subwindows-skip-p): Rename to
22731 window--resize-subwindows-skip-p.
22732 (resize-subwindows-normal): Rename to
22733 window--resize-subwindows-normal.
22734 (resize-subwindows): Rename to window--resize-subwindows.
22735 (resize-other-windows): Rename to window--resize-siblings.
22736 (resize-this-window): Rename to window--resize-this-window.
22737 (resize-root-window): Rename to window--resize-root-window.
22738 (resize-root-window-vertically): Rename to
22739 window--resize-root-window-vertically.
22740 (normalize-buffer-to-display): Rename to
22741 window-normalize-buffer-to-display.
22742 (normalize-buffer-to-switch-to): Rename to
22743 window-normalize-buffer-to-switch-to.
22744 Correspondingly update all callers of the functions listed
22745 above.
22746 (display-buffer-alist, display-buffer-normalize-arguments)
22747 (display-buffer-normalize-options, display-buffer)
22748 (display-buffer-alist-set): Use "function" instead of
22749 "fun-with-args".
22750
22751 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22752
22753 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22754 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22755 debbugs.gnu.org. Mention acknowledgment email.
22756
22757 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22758
22759 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22760 buffer multibyteness, since it shouldn't matter.
22761
22762 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22763
22764 * window.el (display-buffer-in-side-window): Handle dedicated
22765 windows as in display-buffer-reuse-window.
22766 (display-buffer-normalize-alist): Use value of override
22767 specifier.
22768 (display-buffer-normalize-specifiers): Use value of
22769 other-window-means-other-frame specifier.
22770 (display-buffer-alist): Rewrite some texts in widgets.
22771 (display-buffer): Spread arguments when calling function
22772 specified by fun-with-args.
22773
22774 2011-06-28 Deniz Dogan <deniz@dogan.se>
22775
22776 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22777 Unnest `let'.
22778
22779 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22780 selectors (Bug#5732).
22781 (css-proprietary-nmstart-re): Use `regexp-opt'.
22782
22783 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22784
22785 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22786 (eshell-ls-date-format): New defcustom.
22787 (eshell-ls-file): Use it.
22788
22789 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22790
22791 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22792
22793 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22794
22795 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22796 (ange-ftp-make-tmp-name): New arg.
22797 (ange-ftp-file-local-copy): Use it.
22798
22799 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22800
22801 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22802 no-conversion (Bug#8870).
22803
22804 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22805
22806 * window.el (window-right, window-left, window-child)
22807 (window-child-count, window-last-child)
22808 (window-iso-combination-p, walk-window-tree-1)
22809 (window-atom-check-1, window-tree-1, delete-window)
22810 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22811 new naming conventions - window-vchild, window-hchild,
22812 window-next and window-prev are now called window-top-child,
22813 window-left-child, window-next-sibling and window-prev-sibling
22814 respectively.
22815 (resize-window-reset): Rename to window-resize-reset.
22816 (resize-window-reset-1): Rename to window-resize-reset-1.
22817 (resize-window): Rename to window-resize.
22818 (window-min-height, window-min-width)
22819 (resize-mini-window, resize-this-window, resize-root-window)
22820 (resize-root-window-vertically, adjust-window-trailing-edge)
22821 (enlarge-window, shrink-window, maximize-window)
22822 (minimize-window, delete-window, quit-restore-window)
22823 (split-window, balance-windows, balance-windows-area-adjust)
22824 (balance-windows-area, window-state-put-2)
22825 (display-buffer-even-window-sizes, display-buffer-set-height)
22826 (display-buffer-set-width, set-window-text-height)
22827 (fit-window-to-buffer): Rename all "resize-window" prefixed
22828 calls to use the "window-resize" prefix convention.
22829 (display-buffer-alist): Fix symbol for label specifier.
22830 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22831 corresponding specifier.
22832 Reported by Juanma Barranquero <lekktu@gmail.com>.
22833
22834 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22835
22836 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22837 convention.
22838 (ses-call-printer): Does not pass an empty string to formatter when the
22839 cell is empty to keep from barking printer Calc math-format-value.
22840
22841 2011-06-27 Richard Stallman <rms@gnu.org>
22842
22843 * battery.el (battery-mode-line-limit): New variable.
22844 (battery-update): Handle it.
22845
22846 * mail/rmailmm.el (rmail-mime-process-multipart):
22847 Handle truncated messages.
22848
22849 2011-06-27 Glenn Morris <rgm@gnu.org>
22850
22851 * progmodes/flymake.el (flymake-err-line-patterns):
22852 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22853
22854 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22855
22856 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22857 (ses--clean-!, ses--clean-_): New functions.
22858 (ses-range): Add configurability of readout order, and conversion
22859 to Calc vector.
22860
22861 * ses.el (ses-repair-cell-reference-all): New function.
22862 (ses-cell-symbol): Set macro as safe, so that it can be used in
22863 formulas.
22864
22865 * ses.el: Update cycle detection algorithm.
22866 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22867 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22868 (ses-set-localvars): New function.
22869 (ses-make-cell): Add property-list as a cell element.
22870 (ses-cell-property-get-fun, ses-cell-property-get)
22871 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22872 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22873 New functions.
22874 (ses-cell-property-set, ses-cell-property-pop)
22875 (ses-cell-property-get-handle): New macro.
22876 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22877 New aliases, used for code readability.
22878 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22879 cycle detection.
22880 (ses-self-reference-early-detection): New defcustom.
22881 (ses-formula-references): Robustify against self-referring cells.
22882 (ses-mode): Use ses-set-localvars.
22883 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22884 before lauching the update processing.
22885 (ses-initialize-Dijkstra-attempt): New function.
22886 (ses-recalculate-cell): Update for cycle detection based on
22887 Dijkstra algorithm.
22888
22889 * ses.el: Fix commenting and indenting convention.
22890
22891 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22892
22893 * bs.el (bs-cycle-next): Complete last change.
22894
22895 2011-06-27 Drew Adams <drew.adams@oracle.com>
22896
22897 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22898
22899 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22900
22901 * net/network-stream.el (network-stream-open-starttls):
22902 Don't re-get capabilities unless we've reestablished connection.
22903 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22904
22905 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22906 to binary to possibly avoid line encoding issues on Windows (among
22907 other things).
22908
22909 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22910
22911 * net/network-stream.el (open-network-stream): Return an :error
22912 saying what the problem was, if possible.
22913
22914 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22915 server.
22916
22917 * net/network-stream.el (network-stream-open-starttls): If we
22918 wanted to use STARTTLS, and the server offered it, but we weren't
22919 able to because we had no STARTTLS support, then close the connection.
22920 (open-network-stream): Return an :error element, if present.
22921
22922 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22923
22924 * hl-line.el (hl-line-sticky-flag): Doc fix.
22925 (global-hl-line-sticky-flag): New option (Bug#8323).
22926 (global-hl-line-highlight): Obey it.
22927
22928 * vc/vc.el (vc-revert-show-diff): Default to t.
22929
22930 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22931
22932 * allout-widgets.el (allout-widgets-post-command-business):
22933 Stop decorating intermediate isearch matches. They're not being
22934 undecorated when an isearch is continued past, and isearch
22935 automatically collapses them. This leads to "widget leaks", where
22936 decorated items accumulate in collapsed areas. Lines with lots of
22937 hidden widgets can slow down cursor travel, substantially.
22938 Too much complicated machinery would be needed to ensure undecoration,
22939 so we're doing without this nicety.
22940
22941 (allout-widgets-tally-string): Don't try to do a hash-table-count
22942 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22943 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22944 *Messages* when allout-widgets-maintain-tally is t.
22945
22946 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22947
22948 * window.el (display-buffer-normalize-argument): Rename to
22949 display-buffer-normalize-arguments. Handle special meaning of
22950 LABEL argument. Respect special-display-function when popping up
22951 a new frame. Fix code searching for a window showing the buffer
22952 on another frame.
22953 (display-buffer-normalize-specifiers):
22954 Call display-buffer-normalize-arguments.
22955 (display-buffer-in-window): Don't undedicate the window if its
22956 buffer remains the same.
22957 Reported by Drew Adams <drew.adams@oracle.com>.
22958 (display-buffer-alist): Add choice for same-window macro
22959 specfier.
22960 (display-buffer): Mention special meaning of LABEL argument in
22961 doc-string. Fix quoting. Don't pop up a new frame even as
22962 fallback.
22963
22964 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22965
22966 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22967 avoid deleting the current window in some cases (bug#8911).
22968
22969 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22970
22971 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22972 (Bug#8934)
22973
22974 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22975
22976 * net/network-stream.el (network-stream-open-starttls):
22977 Use built-in TLS support if `gnutls-available-p' is true.
22978 (network-stream-open-tls): Ditto.
22979
22980 2011-06-26 Leo Liu <sdl.web@gmail.com>
22981
22982 * register.el (registerv): New struct.
22983 (registerv-make): New function.
22984 (jump-to-register, describe-register-1, insert-register):
22985 Support the jump-func, print-func and insert-func slot of a registerv
22986 struct. (Bug#8415)
22987
22988 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22989
22990 * vc/vc.el (vc-revert-show-diff): New defcustom.
22991 (vc-diff-internal): New arg specifying diff buffer.
22992 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22993 reuse an existing *vc-diff* buffer (Bug#8927).
22994
22995 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22996
22997 2011-06-26 Glenn Morris <rgm@gnu.org>
22998
22999 * progmodes/f90.el (f90-critical-indent): New option.
23000 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23001 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23002 (f90-mode): Doc fix.
23003 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23004 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23005 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23006 (f90-match-end): Handle block, critical.
23007
23008 2011-06-25 Glenn Morris <rgm@gnu.org>
23009
23010 * calendar/diary-lib.el (diary-included-files): Doc fix.
23011 (diary-include-files): New function, extracted from
23012 diary-include-other-diary-files and diary-mark-included-diary-files.
23013 (diary-include-other-diary-files, diary-mark-included-diary-files):
23014 Just call diary-include-files.
23015 (diary-mark-entries): Reset diary-included-files on first call.
23016
23017 * calendar/diary-lib.el (diary-mark-entries)
23018 (diary-mark-included-diary-files):
23019 Visit included diary-files in temp buffers.
23020
23021 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23022 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23023 (f90-start-block-re, f90-imenu-generic-expression)
23024 (f90-looking-at-program-block-start, f90-no-block-limit):
23025 Add support for submodules.
23026
23027 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23028 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23029
23030 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23031
23032 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23033 buffer-file-type before setting its value, to avoid disastrous
23034 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23035
23036 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23037
23038 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23039
23040 * ses.el (ses-unload-function):
23041 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23042
23043 * proced.el (proced-unload-function):
23044 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23045
23046 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23047
23048 * server.el (server-create-window-system-frame): Add parameters arg.
23049 (server-process-filter): Doc fix. Handle frame-parameters.
23050
23051 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23052
23053 Fix bug#8730, bug#8781.
23054
23055 * loadhist.el (unload--set-major-mode): New function.
23056 (unload-feature): Use it.
23057
23058 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23059 (python-unload-function): New function.
23060
23061 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23062
23063 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23064
23065 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23066
23067 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23068 the candidates list.
23069
23070 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23071
23072 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23073
23074 2011-06-23 Richard Stallman <rms@gnu.org>
23075
23076 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23077 (rmail-variables): Set next-error-move-function.
23078 (rmail-what-message): Take argument POS.
23079 (rmail-next-error-move): New function.
23080
23081 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23082
23083 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23084 messages for adjacent non-terminals.
23085
23086 2011-06-23 Richard Stallman <rms@gnu.org>
23087
23088 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23089 (rmail-show-message-1): Preserve buffer modified flag.
23090 (rmail-start-mail): Don't specify use of rmail-mail-return;
23091 that's done by mail-bury now.
23092 (rmail-mail-return): Handle arg NEWBUF.
23093
23094 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23095
23096 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23097 SIZE is a number.
23098
23099 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23100
23101 * window.el (get-lru-window, get-mru-window)
23102 (get-largest-window): Never return a minibuffer window.
23103 (display-buffer-pop-up-window): Fix a bug that could lead to
23104 reusing the minibuffer window.
23105 (display-buffer): Pass original specifier argument to
23106 display-buffer-function instead of the normalized one.
23107 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23108
23109 2011-06-22 Leo Liu <sdl.web@gmail.com>
23110
23111 * minibuffer.el (completing-read-function)
23112 (completing-read-default): Move from minibuf.c.
23113
23114 2011-06-22 Richard Stallman <rms@gnu.org>
23115
23116 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23117 to Rmail even if not started by a special Rmail command.
23118
23119 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23120 Copy the buffer currently showing just one message.
23121
23122 2011-06-22 Roland Winkler <winkler@gnu.org>
23123
23124 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23125 (bibtex-clean-entry): First delete the old key so that a
23126 customized algorithm for generating the new key does not get
23127 confused by the old key.
23128 (bibtex-url): Obey regexp of first step.
23129 (bibtex-search-entries): Do not use add-to-list with local
23130 list-var.
23131
23132 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23133
23134 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23135 stored a user name, then query for the password first, instead of
23136 waiting for SMTP to give an error message and the trying again.
23137
23138 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23139
23140 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23141 BUFFER in call-process.
23142
23143 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23144
23145 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23146 QUIT twice.
23147 (smtpmail-try-auth-methods): Require user name and password from
23148 auth-source.
23149
23150 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23151
23152 * window.el (display-buffer-default-specifiers)
23153 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23154 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23155 (split-window): Normalize SIDE argument (Bug#8916).
23156
23157 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23158 (special-display-frame-alist, special-display-popup-frame):
23159 Remove duplicate declarations. These are now in window.el.
23160
23161 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23162
23163 * mail/smtpmail.el (smtpmail-via-smtp):
23164 Set :use-starttls-if-possible so that we always use STARTTLS if the
23165 server supports it. SMTP servers that support STARTTLS commonly
23166 require it.
23167
23168 * net/network-stream.el (network-stream-open-starttls): Support
23169 upgrading to STARTTLS always, even if we don't have built-in support.
23170 (open-network-stream): Add the :always-query-capabilities keyword.
23171
23172 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23173 upgrades with `open-network-stream', and rely solely on
23174 auth-source for all credentials. Big changes throughout the file,
23175 but in particular:
23176 (smtpmail-auth-credentials): Remove.
23177 (smtpmail-starttls-credentials): Remove.
23178 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23179 MAIL FROM, too.
23180
23181 * net/network-stream.el (network-stream-open-starttls):
23182 Provide support for client certificates both for external and built-in
23183 STARTTLS.
23184 (auth-source): Require.
23185 (open-network-stream): Document the :client-certificate keyword.
23186 (network-stream-certificate): Change cert-cert to cert and
23187 cert-key to key.
23188
23189 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23190
23191 * net/tramp-cache.el (top): Don't load the persistency file when
23192 "emacs -Q" has been called.
23193
23194 2011-06-21 Tim Harper <timcharper@gmail.com>
23195
23196 * term/ns-win.el (ns-initialize-window-system):
23197 Set application-specific `ApplePressAndHoldEnabled' system
23198 resource to NO as it is not yet supported by the NS port.
23199
23200 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23201
23202 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23203 (list-dynamic-libraries): ...not here.
23204
23205 2011-06-21 Leo Liu <sdl.web@gmail.com>
23206
23207 * subr.el (sha1): Implement sha1 using secure-hash.
23208
23209 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23210
23211 * window.el (display-buffer-alist): In default value do not
23212 enforce searching a window on any but the selected frame.
23213 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23214 (display-buffer-select-window): Remove function.
23215 (display-buffer-in-window): When a window on another frame gets
23216 reused, do not select it any more but just raise its frame if
23217 necessary (Bug#8851) and (Bug#8856).
23218 (display-buffer-normalize-options): Handle pop-up-frames related
23219 options more faithfully.
23220 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23221 window if it is on another frame.
23222 (display-buffer-alist, display-buffer-default-specifiers):
23223 Don't make new frame unsplittable by default.
23224 (display-buffer-normalize-argument): Fix doc-string typo and use
23225 'same-frame-other-window instead of 'other-window when associating
23226 with display-buffer-macro-specifiers.
23227
23228 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23229
23230 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23231 New functions.
23232 (5x5-mode-map, 5x5-mode-menu): Bind them.
23233 (5x5-draw-grid): Tweak the solver's rendering.
23234
23235 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23236
23237 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23238 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23239
23240 2011-06-21 Drew Adams <drew.adams@oracle.com>
23241
23242 * menu-bar.el: Use function variable instead of switch-to-buffer.
23243 (menu-bar-select-buffer-function): New variable.
23244 (menu-bar-update-buffers): Use it (bug#8876).
23245
23246 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23247
23248 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23249 variable's status.
23250
23251 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23252
23253 * x-dnd.el (x-dnd-version-from-flags)
23254 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23255 and long as number (Bug#8899).
23256 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23257
23258 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23259
23260 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23261 (completion-try-completion, completion-all-completions): Compute the
23262 metadata argument if it's missing; make it optional (bug#8795).
23263
23264 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23265 (widget-complete): Use new :completion-function property.
23266 (widget-completions-at-point): New function.
23267 (default): Use :completion-function instead of :complete.
23268 (widget-default-completions): Rename from widget-default-complete;
23269 Rewrite.
23270 (widget-string-complete, widget-file-complete, widget-color-complete):
23271 Remove functions.
23272 (file, symbol, function, variable, coding-system, color):
23273 * international/mule-cmds.el (default-input-method, charset)
23274 (language-info-custom-alist):
23275 * cus-edit.el (face): Use new property :completions.
23276
23277 * progmodes/pascal.el (pascal-completions-at-point): New function.
23278 (pascal-mode): Use it.
23279 (pascal-mode-map): Use completion-at-point.
23280 (pascal-toggle-completions): Make obsolete.
23281 (pascal-complete-word, pascal-show-completions):
23282 * progmodes/octave-mod.el (octave-complete-symbol):
23283 Redefine as obsolete alias.
23284 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23285 Signal absence of completion info for old Octave,
23286 (inferior-octave-complete): Redefine as obsolete alias.
23287 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23288 (meta-completions-at-point): Rename from meta-complete-symbol and
23289 adapt it for use on completion-at-point-functions.
23290 (meta-common-mode): Use it.
23291 (meta-looking-at-backward, meta-match-buffer): Remove.
23292 (meta-complete-symbol): Redefine as obsolete alias.
23293 (meta-common-mode-map): Use completion-at-point.
23294 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23295 (makefile-mode-map): Use completion-at-point.
23296 (makefile-completions-at-point): Rename from makefile-complete and
23297 adapt it for use on completion-at-point-functions.
23298 (makefile-mode): Use it.
23299 (makefile-complete): Redefine as obsolete alias.
23300
23301 2011-06-20 Deniz Dogan <deniz@dogan.se>
23302
23303 * net/rcirc.el: Delete trailing whitespaces once and for all.
23304
23305 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23306
23307 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23308
23309 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23310
23311 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23312
23313 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23314
23315 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23316
23317 * window.el (display-buffer-other-window-means-other-frame):
23318 Call display-buffer-normalize-alist.
23319 (display-buffer-normalize-specifiers-1): Rename to
23320 display-buffer-normalize-argument. New argument other-frame.
23321 Rewrite.
23322 (display-buffer-normalize-specifiers-2): Rename to
23323 display-buffer-normalize-options.
23324 (display-buffer-normalize-alist-1): New function.
23325 (display-buffer-normalize-specifiers-3): Rename to
23326 display-buffer-normalize-alist.
23327 Call display-buffer-normalize-alist-1.
23328 (display-buffer-normalize-options-inhibit): New variable.
23329 (display-buffer-normalize-specifiers): Rewrite calling
23330 display-buffer-normalize-alist,
23331 display-buffer-normalize-argument, and
23332 display-buffer-normalize-options. Don't call the latter if
23333 display-buffer-normalize-options-inhibit is non-nil.
23334 (frame-auto-delete): New option.
23335 (window-deletable-p): Use frame-auto-delete.
23336 (window-list-no-nils, window-state-ignored-parameters)
23337 (window-state-get-1, window-state-get, window-state-put-list)
23338 (window-state-put-1, window-state-put-2, window-state-put):
23339 New functions.
23340 (display-buffer-normalize-options): Move special-display-p group
23341 after pop-up-frame group (Bug#8851) and (Bug#8856).
23342
23343 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23344
23345 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23346 groups (Bug#8776).
23347 (rx-submatch-n): New function.
23348 (rx): Document it.
23349
23350 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23351 (Bug#8768).
23352
23353 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23354
23355 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23356
23357 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23358 anytime existing face settings are present (Bug#8889).
23359
23360 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23361 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23362 Remove unused argument.
23363
23364 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23365
23366 * window.el (display-buffer-default-specifiers):
23367 Remove pop-up-frame. Add pop-up-window-min-height,
23368 pop-up-window-min-width, and another reuse-window specifier
23369 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23370 (display-buffer-normalize-specifiers-2):
23371 Handle split-height-threshold and split-width-threshold also when
23372 pop-up-windows is unset. Add a reuse-window specifier for the
23373 case popping up a new window fails.
23374 (special-display-popup-frame): Remove double quoting.
23375 (display-buffer-normalize-specifiers-1): Fix thinko.
23376
23377 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23378
23379 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23380 according to comint-completion-addsuffix.
23381
23382 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23383 (pcomplete-suffix-list): Mark as obsolete.
23384 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23385 pcomplete-seen in the closure.
23386 (pcomplete-comint-setup): Setup completion-at-point as well.
23387 (pcomplete--entries): New function.
23388 (pcomplete--env-regexp): New var.
23389 (pcomplete-entries): Rewrite to work with partial-completion and
23390 without relying on pcomplete-suffix-list.
23391 (pcomplete-pare-list): Remove, unused.
23392
23393 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23394
23395 * window.el (display-buffer-alist): Set pop-up-window-min-height
23396 and pop-up-window-min-width in default value. Reported by
23397 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23398 other-window-means-other-frame.
23399 (display-buffer-macro-specifiers): Comment out entry for
23400 other-window specifier.
23401 (display-buffer-other-window-means-other-frame): New function.
23402 (display-buffer-normalize-specifiers-1): New arguments
23403 buffer-name and label. Treat other-window case specially.
23404 (display-buffer-normalize-specifiers-2): Treat other-window case
23405 specially.
23406 (display-buffer-normalize-specifiers-3): New function.
23407 (display-buffer-normalize-specifiers):
23408 Call display-buffer-normalize-specifiers-3.
23409
23410 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23411
23412 * window.el (same-window-p): Fix two typos introduced when
23413 adding with-no-warnings.
23414 (display-buffer-normalize-specifiers-1): Don't check
23415 pop-up-frames for 'unset initialization.
23416 (display-buffer-normalize-specifiers-2): Major rewrite using
23417 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23418 (pop-up-frames, display-buffer-reuse-frames)
23419 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23420 Suggested by David Engster <deng@randomsample.de>.
23421 (even-window-heights): Initialize to 'unset.
23422 (display-buffer-alist-set): Handle new 'unset initializations.
23423 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23424 other window case.
23425
23426 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23427
23428 * window.el (display-buffer-normalize-specifiers-1):
23429 Respect current value of pop-up-frames for most reasonable values of
23430 second argument of display-buffer (Bug#8865).
23431 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23432 (switch-to-buffer-other-window-same-frame)
23433 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23434 Adams (Bug#8875).
23435 (display-buffer): Don't check noninteractive when calling
23436 display-buffer-pop-up-frame.
23437 (display-buffer-pop-up-frame): Never pop up a frame in
23438 noninteractive mode (Bug#8857).
23439 (enlarge-window, shrink-window): Don't report an error when the
23440 window can't be resized as requested (Bug#8862).
23441
23442 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23443
23444 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23445
23446 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23447
23448 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23449
23450 2011-06-15 Alan Mackenzie <acm@muc.de>
23451
23452 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23453 for declarators, disable knr checking to speed up for normal files.
23454 2: Refactor, replacing a sequence of nested if forms by a cond form.
23455
23456 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23457
23458 * net/network-stream.el (open-network-stream): Add the keyword
23459 :always-query-capabilities for the case where you want to force a
23460 `plain' network connection, but the protocol still requires the
23461 capabilitiy command (i.e., SMTP and EHLO).
23462
23463 * subr.el (process-live-p): Rename from `process-alive-p' for
23464 consistency with other `-live-p' functions.
23465
23466 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23467
23468 * window.el (same-window-buffer-names, same-window-regexps)
23469 (special-display-frame-alist, special-display-popup-frame)
23470 (special-display-function, special-display-buffer-names)
23471 (special-display-regexps, pop-up-frame-alist)
23472 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23473 (pop-up-windows, split-window-preferred-function)
23474 (split-height-threshold, split-width-threshold, even-window-heights)
23475 (display-buffer-mark-dedicated): Don't encourage the use of
23476 display-buffer-alist from Elisp code.
23477
23478 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23479
23480 * progmodes/python.el (python-mode): Derive from prog-mode.
23481 * progmodes/ps-mode.el (ps-mode):
23482 * progmodes/mixal-mode.el (mixal-mode):
23483 * progmodes/cfengine.el (cfengine-mode):
23484 * progmodes/ld-script.el (ld-script-mode): Likewise.
23485
23486 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23487
23488 * window.el (display-buffer-alist): Trim default value to avoid
23489 popping up a new frame (Bug#8857) or reusing an arbitrary window
23490 on another frame.
23491 (display-buffer): Do not fall back on popping up a new frame in
23492 batch mode (Bug#8857).
23493
23494 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23495
23496 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23497 (custom-theme-summary): New function.
23498 (customize-themes): Use it.
23499
23500 2011-06-13 Glenn Morris <rgm@gnu.org>
23501
23502 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23503
23504 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23505
23506 * help.el (help-window): Remove variable.
23507 (help-window-point-marker, temp-buffer-max-height)
23508 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23509 (help-print-return-message): Don't set help-window.
23510 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23511 (help-window-setup-finish): Remove.
23512 (help-window-display-message, help-window-setup)
23513 (with-help-window): Major rewrite based on new
23514 display-buffer-window variable.
23515
23516 * help-mode.el (help-mode-finish): Remove help-window related
23517 code.
23518
23519 * view.el (view-exits-all-viewing-windows): Remove reference to
23520 view-return-to-alist in doc-string.
23521 (view-return-to-alist): Make obsolete.
23522 (view-buffer): Call pop-to-buffer-same-window and remove
23523 undo-window code.
23524 (view-buffer-other-window): Call pop-to-buffer-other-window and
23525 simplify code. Ignore second argument.
23526 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23527 simplify code. Ignore second argument.
23528 (view-return-to-alist-update): Make obsolete.
23529 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23530 Rewrite using quit-restore window parameters.
23531 (view-mode-exit): Rename second argument to EXIT-ONLY.
23532 Rewrite using quit-restore-window.
23533 (View-exit, View-exit-and-edit, View-leave, View-quit)
23534 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23535 appropriate arguments.
23536 (view-end-message): Use quit-restore window parameter.
23537
23538 * window.el (display-buffer-function): Rewrite doc-string.
23539 (display-buffer-window, display-buffer-alist): New variables.
23540 (display-buffer-split-specifiers)
23541 (display-buffer-side-specifiers)
23542 (display-buffer-macro-specifiers): New constants.
23543 (display-buffer-even-window-sizes, display-buffer-set-height)
23544 (display-buffer-set-width, display-buffer-select-window)
23545 (display-buffer-in-window, display-buffer-reuse-window)
23546 (display-buffer-split-window-1, display-buffer-split-window)
23547 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23548 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23549 (display-buffer-in-side-window, normalize-buffer-to-display)
23550 (display-buffer-normalize-specifiers-1)
23551 (display-buffer-normalize-specifiers-2)
23552 (display-buffer-normalize-specifiers, display-buffer-frame):
23553 New functions.
23554 (display-buffer): Major rewrite.
23555 (display-buffer-other-window, display-buffer-other-frame)
23556 (pop-to-buffer, switch-to-buffer-other-window)
23557 (switch-to-buffer-other-frame): Rewrite.
23558 (display-buffer-same-window, display-buffer-same-frame)
23559 (display-buffer-same-frame-other-window)
23560 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23561 (pop-to-buffer-other-window)
23562 (pop-to-buffer-same-frame-other-window)
23563 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23564 (switch-to-buffer-other-window-same-frame): New functions.
23565 (same-window-p, special-display-p): Rewrite disabling warnings.
23566 Make obsolete.
23567 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23568 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23569 Make obsolete
23570 (same-window-buffer-names, same-window-regexps)
23571 (special-display-frame-alist, special-display-popup-frame)
23572 (special-display-function, special-display-buffer-names)
23573 (special-display-regexps, pop-up-frame-alist)
23574 (pop-up-frame-function, split-window-preferred-function)
23575 (split-height-threshold, split-width-threshold)
23576 (even-window-heights): Make obsolete.
23577
23578 2011-06-12 Glenn Morris <rgm@gnu.org>
23579
23580 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23581 Misc simplifications.
23582
23583 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23584
23585 * window.el (window-safely-shrinkable-p): Restore function which
23586 was inadvertently removed in change from 2011-06-11. Declare as
23587 obsolete.
23588
23589 * calendar/calendar.el (calendar-generate-window):
23590 Use window-iso-combined-p instead of combination of one-window-p and
23591 window-safely-shrinkable-p.
23592
23593 2011-06-12 Glenn Morris <rgm@gnu.org>
23594
23595 * progmodes/fortran.el (fortran-mode-syntax-table):
23596 * progmodes/f90.el (f90-mode-syntax-table):
23597 Set % to punctuation. (Bug#8820)
23598 (f90-find-tag-default): Remove, no longer needed.
23599
23600 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23601
23602 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23603
23604 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23605
23606 * image.el (image-animated-p): Return animation delay in seconds.
23607 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23608 (image-animate-timeout): Remove DELAY argument. Don't assume
23609 every subimage has the same delay; get it from image-animated-p.
23610 (image-animate): Caller changed.
23611
23612 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23613
23614 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23615 to ignored backtrace functions.
23616
23617 2011-06-11 Glenn Morris <rgm@gnu.org>
23618
23619 * calendar/appt.el (appt-disp-window-function): Doc fix.
23620 (appt-check): Handle overlapping appointments. (Bug#8337)
23621
23622 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23623
23624 * window.el (window-tree-1, window-tree): New functions, moving
23625 the latter to window.el.
23626 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23627 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23628 (bw-refresh-edges): Remove.
23629 (balance-windows-1, balance-windows-2): New functions.
23630 (balance-windows): Rewrite in terms of window tree functions,
23631 balance-windows-1 and balance-windows-2.
23632 (bw-adjust-window): Remove.
23633 (balance-windows-area-adjust): New function with functionality of
23634 bw-adjust-window but using resize-window.
23635 (set-window-text-height): Rewrite doc-string.
23636 Use normalize-live-window and resize-window.
23637 (enlarge-window-horizontally, shrink-window-horizontally):
23638 Rename argument to DELTA.
23639 (window-buffer-height): New function.
23640 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23641 Rewrite using new window resize routines.
23642 (kill-buffer-and-window, mouse-autoselect-window-select):
23643 Use ignore-errors instead of condition-case.
23644 (quit-window): Call delete-frame instead of delete-windows-on
23645 for the only buffer on frame.
23646
23647 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23648
23649 * loadup.el (top-level): Load window before files for the sake
23650 of replace-buffer-in-windows.
23651
23652 * files.el (read-buffer-to-switch)
23653 (switch-to-buffer-other-window)
23654 (switch-to-buffer-other-frame, display-buffer-other-frame):
23655 Move to window.el.
23656
23657 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23658 (previous-buffer): Move to window.el.
23659
23660 * bindings.el (unbury-buffer): Move to window.el.
23661
23662 * window.el (delete-other-windows-vertically): Move after
23663 definition of delete-other-windows.
23664 (other-window, delete-windows-on, replace-buffer-in-windows):
23665 Move here from window.c.
23666 (record-window-buffer, unrecord-window-buffer)
23667 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23668 (switch-to-next-buffer): New functions.
23669 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23670 from simple.el. Call switch-to-next-buffer.
23671 (previous-buffer): Move here from simple.el.
23672 Call switch-to-prev-buffer.
23673 (bury-buffer): Move here from buffer.c. Switch to previous
23674 buffer when window cannot be deleted.
23675 (unbury-buffer): Move here from bindings.el.
23676 (ctl-x-map): Move binding for other-window from window.c to
23677 here.
23678 (read-buffer-to-switch, switch-to-buffer-other-window)
23679 (switch-to-buffer-other-frame): Move here from files.el.
23680 (normalize-buffer-to-switch-to): New functions.
23681 (switch-to-buffer): Move here from buffer.c.
23682 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23683
23684 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23685
23686 * window.el (window-min-height, window-min-width): Move here
23687 from window.c. Add defcustoms and rewrite doc-strings.
23688 (resize-mini-window, resize-window): New functions.
23689 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23690 Move here from window.c.
23691 (maximize-window, minimize-window): New functions.
23692 (delete-window, delete-other-windows, split-window): Move here
23693 from window.c.
23694 (window-split-min-size): New function.
23695 (split-window-keep-point): Mention split-window-above-each-other
23696 instead of split-window-vertically.
23697 (split-window-above-each-other, split-window-vertically):
23698 Rename split-window-vertically to split-window-above-each-other
23699 and provide defalias for old definition.
23700 (split-window-side-by-side, split-window-horizontally):
23701 Rename split-window-horizontally to split-window-side-by-side
23702 and provide defalias for the old definition.
23703 (ctl-x-map): Move bindings for delete-window,
23704 delete-other-windows and enlarge-window here from window.c.
23705 Replace bindings for split-window-vertically and
23706 split-window-horizontally by bindings for
23707 split-window-above-each-other and split-window-side-by-side.
23708
23709 * cus-start.el (all): Remove entries for window-min-height and
23710 window-min-width. Add entries for window-splits and
23711 window-nest.
23712
23713 2011-06-09 Glenn Morris <rgm@gnu.org>
23714
23715 * calendar/appt.el (appt-mode-line): New function.
23716 (appt-check, appt-disp-window): Use it.
23717
23718 * files.el (hack-one-local-variable-eval-safep):
23719 Allow minor-modes with explicit +/-1 arguments.
23720
23721 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23722
23723 * term/xterm.el (xterm): Add defgroup.
23724 (xterm-extra-capabilities): Add defcustom to supply known xterm
23725 capabilities, skip querying them, or query them (default).
23726 (terminal-init-xterm): Use it.
23727 (terminal-init-xterm-modify-other-keys): New function to set up
23728 modifyOtherKeys support to simplify `terminal-init-xterm'.
23729
23730 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23731
23732 * window.el (resize-window-reset, resize-window-reset-1)
23733 (resize-subwindows-skip-p, resize-subwindows-normal)
23734 (resize-subwindows, resize-other-windows, resize-this-window)
23735 (resize-root-window, resize-root-window-vertically)
23736 (window-deletable-p, window-or-subwindow-p)
23737 (frame-root-window-p): New functions.
23738
23739 2011-06-09 Glenn Morris <rgm@gnu.org>
23740
23741 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23742 (ange-ftp-get-files): Use it.
23743
23744 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23745
23746 * mail/sendmail.el (mail-recover-1, mail-recover):
23747 * files.el (recover-file, recover-session):
23748 Handle dired-listing-switches not being just a single short option.
23749
23750 2011-06-09 Glenn Morris <rgm@gnu.org>
23751
23752 * calendar/appt.el (appt-display-message, appt-disp-window):
23753 Handle lists of appointments.
23754
23755 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23756
23757 * window.el (one-window-p): Move down in code.
23758 Rewrite doc-string.
23759 (window-current-scroll-bars): Rewrite doc-string.
23760 Normalize live window argument.
23761 (walk-windows, get-window-with-predicate, count-windows):
23762 Rewrite doc-string. Use window-list-1.
23763 (window-in-direction-2, window-in-direction, get-mru-window):
23764 New functions.
23765
23766 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23767
23768 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23769 Doc fix (Bug#8713).
23770
23771 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23772
23773 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23774
23775 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23776
23777 * loadhist.el (unload-feature-special-hooks):
23778 Add `comint-output-filter-functions'.
23779
23780 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23781
23782 * calendar/appt.el (appt-check): Move some initializations into the let.
23783
23784 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23785
23786 * window.el (window-height): Defalias to window-total-height.
23787 (window-width): Defalias to window-body-width.
23788
23789 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23790
23791 * image-mode.el (image-toggle-animation): New command.
23792 (image-mode-map): Bind it to RET.
23793 (image-mode): Update message.
23794 (image-toggle-display-image): Avoid a spurious cache flush.
23795 (image-transform-rotation): Doc fix.
23796 (image-transform-properties): Return quickly in the normal case.
23797 (image-animate-loop): Rename from image-animate-max-time.
23798
23799 * image.el (image-animate-max-time): Move to image-mode.el.
23800 (create-animated-image): Remove unnecessary function.
23801 (image-animate): Rename from image-animate-start. New arg.
23802 (image-animate-stop): Remove; just use image-animate-timer.
23803 (image-animate-timer): Use car-safe.
23804 (image-animate-timeout): Rename argument.
23805
23806 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23807
23808 * window.el (get-lru-window, get-largest-window): Move here from
23809 window.c. Rename first argument to ALL-FRAMES.
23810 Rephrase doc-strings.
23811 (get-buffer-window-list): Rewrite using window-list-1.
23812 Rephrase doc-string.
23813 (window-safe-min-height, window-safe-min-width): New constants.
23814 (window-size-ignore, window-min-size, window-min-size-1)
23815 (window-sizable, window-sizable-p, window-size-fixed-1)
23816 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23817 (window-max-delta-1, window-max-delta, window-resizable)
23818 (window-resizable-p, window-total-height, window-total-width)
23819 (window-body-width): New functions.
23820 (window-full-height-p, window-full-width-p): Rewrite using
23821 window-total-size.
23822 (window-body-height): Rewrite using window-body-size.
23823
23824 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23825
23826 * window.el (window-right, window-left, window-child)
23827 (window-child-count, window-last-child, window-any-p)
23828 (normalize-live-buffer, normalize-live-frame)
23829 (normalize-any-window, normalize-live-window)
23830 (window-iso-combination-p, window-iso-combined-p)
23831 (window-iso-combinations)
23832 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23833 (windows-with-parameter, window-with-parameter)
23834 (window-atom-root, make-window-atom, window-atom-check-1)
23835 (window-atom-check, window-side-check, window-check):
23836 New functions.
23837 (ignore-window-parameters, window-sides, window-sides-vertical)
23838 (window-sides-slots): New variables.
23839 (window-size-fixed): Move down in code. Minor doc-string fix.
23840
23841 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23842
23843 * comint.el (comint-dynamic-complete-as-filename)
23844 (comint-dynamic-complete-filename): Correctly call
23845 completion-in-region.
23846
23847 2011-06-05 Deniz Dogan <deniz@dogan.se>
23848
23849 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23850 in last change.
23851
23852 2011-06-05 Deniz Dogan <deniz@dogan.se>
23853
23854 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23855 (rcirc): Use it to prompt for encryption.
23856
23857 2011-06-05 Roland Winkler <winkler@gnu.org>
23858
23859 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23860 (bibtex-search-entries): New command bound to C-c C-a.
23861 (bibtex-display-entries): New function.
23862
23863 2011-06-05 Roland Winkler <winkler@gnu.org>
23864
23865 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23866 (bibtex-insert-kill): After yanking insert newline if necessary.
23867 (bibtex-initialize): Call bibtex-string-files-init only once.
23868 (bibtex-mode): Do not call easy-menu-add.
23869 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23870 (bibtex-yank): Set arg properly if nil.
23871
23872 2011-06-05 Roland Winkler <winkler@gnu.org>
23873
23874 * textmodes/bibtex.el (bibtex-search-entry-globally):
23875 New variable.
23876 (bibtex-search-entry): Use it.
23877
23878 2011-06-05 Roland Winkler <winkler@gnu.org>
23879
23880 * textmodes/bibtex.el (bibtex-entry-format): New option
23881 sort-fields.
23882 (bibtex-format-entry, bibtex-reformat): Honor this option.
23883 (bibtex-parse-entry): Return fields in proper order.
23884
23885 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23886
23887 * doc-view.el (doc-view-remove-if): Move computation of result out
23888 of `dolist' to silence misleading lexical-binding warning.
23889
23890 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23891
23892 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23893 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23894
23895 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23896
23897 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23898 "SunOS 5.10".
23899
23900 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23901
23902 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23903 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23904 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23905 (tramp-parse-putty):
23906 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23907 (tramp-completion-function-alist-ssh)
23908 (tramp-completion-function-alist-telnet)
23909 (tramp-completion-function-alist-su)
23910 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23911 cookie.
23912
23913 * net/tramp-ftp.el:
23914 * net/tramp-sh.el:
23915 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23916 load "tramp.el" `tramp-set-completion-function'.
23917
23918 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23919
23920 * shell.el: Require and use pcomplete.
23921 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23922 (shell-completion-vars): Set pcomplete-default-completion-function.
23923
23924 2011-06-04 Deniz Dogan <deniz@dogan.se>
23925
23926 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23927 `memq' (Bug#8799).
23928
23929 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23930
23931 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23932
23933 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23934
23935 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23936 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23937 * vc/log-view.el (log-view-beginning-of-defun):
23938 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23939 (smerge-refine-forward, smerge-refine-chopup-region):
23940 Silence warning for unused `dotimes' counter variables.
23941
23942 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23943
23944 * net/tramp.el (tramp-with-progress-reporter): Rename from
23945 with-progress-reporter. Use `declare'.
23946 * net/tramp-smb.el:
23947 * net/tramp-sh.el:
23948 * net/tramp-gvfs.el: Update all uses.
23949
23950 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23951
23952 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23953 buffer isn't killed before making it current.
23954
23955 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23956
23957 Silence various byte-compiler warnings.
23958 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23959 `access-type' and new obsolescence format.
23960 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23961 new format.
23962 (byte-compile-check-variable): New `access-type' argument.
23963 Only warn if the access-type is obsolete.
23964 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23965 (byte-compile-variable-set): Adjust callers.
23966 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23967 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23968 setting it as obsolete.
23969 * simple.el (minibuffer-completing-symbol):
23970 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23971 access as obsolete.
23972 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23973 obsolete yet.
23974 * international/quail.el (quail-mouse-choose-completion): Remove unused
23975 code referring to obsolete var.
23976 (quail-choose-completion-string): Remove.
23977 * server.el (server-clients-with, server-kill-buffer-query-function)
23978 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23979 * proced.el (proced-send-signal):
23980 * emacs-lisp/lisp.el (lisp-complete-symbol):
23981 Replace completion-annotate-function with completion-extra-properties.
23982
23983 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23984
23985 * simple.el (goto-line): Use read-number.
23986 (overriding-map-is-bound): Remove.
23987 (saved-overriding-map): Change default.
23988 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23989 Take the map as argument.
23990 (universal-argument, negative-argument, digit-argument): Use it.
23991 (restore-overriding-map): Adjust.
23992 (do-auto-fill): Use fill-forward-paragraph.
23993 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23994
23995 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23996 (minibuffer-inactive-mode): New major mode.
23997 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23998 the *Messages* buffer" hack.
23999 (mouse-popup-menubar): Don't burp if the event is a normal key.
24000
24001 Miscellaneous tweaks.
24002 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24003 lexical scoping as in subr.el's dolist and dotimes.
24004 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24005 Silence compiler warning.
24006 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24007 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24008 * international/ccl.el (ccl-compile): Trivial simplification.
24009 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24010 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24011 `printflag' argument.
24012 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24013 Purecopy the whole obsolescence data.
24014
24015 2011-06-01 Leo Liu <sdl.web@gmail.com>
24016
24017 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24018 improve doc-string as suggested by Marco Pessotto
24019 <melmothx@gmail.com>.
24020 (rcirc-print): Fix last change.
24021
24022 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24023
24024 * minibuffer.el (complete-with-action): Return nil for the metadata and
24025 boundaries of non-functional tables.
24026 (completion-table-dynamic): Return nil for the metadata.
24027 (completion-table-with-terminator): Add default case, using
24028 complete-with-action.
24029 (completion--metadata): New function.
24030 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24031 to try and avoid pathological performance problems.
24032 (completion--embedded-envvar-table): Return `category' metadata.
24033
24034 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24035
24036 * subr.el (process-alive-p): New tiny convenience function.
24037
24038 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24039
24040 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24041 content but also its previous major mode.
24042
24043 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24044
24045 * emacs-lisp/debug.el (debug): Restore the previous content of the
24046 *Backtrace* buffer when we exit with C-M-c.
24047
24048 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24049
24050 * minibuffer.el: Add metadata method to completion tables.
24051 (completion-category-overrides): New defcustom.
24052 (completion-metadata, completion--field-metadata)
24053 (completion-metadata-get, completion--styles)
24054 (completion--cycle-threshold): New functions.
24055 (completion-try-completion, completion-all-completions):
24056 Add `metadata' argument to choose completion-styles.
24057 (completion--do-completion): Use metadata to choose cycling.
24058 (completion-all-sorted-completions): Use metadata for sorting.
24059 Remove :completion-cycle-penalty which is not needed any more.
24060 (completion--try-word-completion): Add `metadata' argument.
24061 (minibuffer-completion-help): Check metadata for annotation function
24062 and sorting.
24063 (completion-file-name-table): Return `category' metadata.
24064 (minibuffer-completing-file-name): Make obsolete.
24065 * simple.el (minibuffer-completing-symbol): Make obsolete.
24066 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24067 completion-try-completion.
24068
24069 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24070
24071 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24072
24073 2011-05-30 Leo Liu <sdl.web@gmail.com>
24074
24075 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24076 (rcirc-print): Decode all incoming messages (bug#8744).
24077 (rcirc-decode-coding-system): Allow value nil for automatic coding
24078 system detection.
24079
24080 2011-06-01 Glenn Morris <rgm@gnu.org>
24081
24082 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24083
24084 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24085
24086 * image.el (image-animate-max-time): Allow nil and t values.
24087 Default to nil.
24088 (create-animated-image): Doc fix.
24089 (image-animate-start): Remove second arg; just use
24090 image-animate-max-time.
24091 (image-animate-timeout): Doc fix. Args changed.
24092
24093 * image-mode.el (image-toggle-display-image): Ensure that the
24094 image spec passed to the animate timer is the same object as in
24095 the buffer's display property (Bug#6981).
24096 (image-transform-properties): Doc fix.
24097
24098 * image.el (image-animate-max-time): Default to nil.
24099
24100 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24101
24102 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24103 entire buffer list (Bug#8184).
24104
24105 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24106
24107 * image.el (imagemagick-types-inhibit)
24108 (imagemagick-register-types): Doc fix.
24109
24110 2011-05-29 Deniz Dogan <deniz@dogan.se>
24111
24112 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24113 default.
24114
24115 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24116
24117 * select.el: Don't perform clipboard-manager saving in hooks;
24118 leave the hooks empty.
24119
24120 2011-05-28 Leo Liu <sdl.web@gmail.com>
24121
24122 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24123 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24124 (occur-edit-mode): New major mode (Bug#8463).
24125 (occur-after-change-function): New function.
24126 (occur-engine): Give Occur tags a read-only property.
24127
24128 2011-05-28 Kevin Ryde <user42@zip.com.au>
24129
24130 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24131
24132 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24133
24134 * bindings.el (help-echo): Make the initial non-indicator dash
24135 empty on graphical terminals (Bug#7295).
24136
24137 * files.el (auto-mode-alist): Move config rule after the
24138 in-stripping one (Bug#8547).
24139
24140 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24141
24142 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24143 setting (Bug#8740).
24144
24145 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24146
24147 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24148 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24149 (Bug#8539).
24150
24151 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24152
24153 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24154
24155 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24156
24157 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24158 (hs-hide-block-at-point, hs-find-block-beginning)
24159 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24160 (Bug#8279).
24161
24162 2011-05-28 Glenn Morris <rgm@gnu.org>
24163
24164 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24165
24166 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24167
24168 * help-fns.el (describe-function-1): If the function is a derived
24169 major mode, print the parent mode.
24170
24171 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24172 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24173
24174 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24175
24176 * minibuffer.el (completion--capf-wrapper): Check applicability before
24177 returning non-nil for non-exclusive completion data.
24178 * progmodes/etags.el (tags-completion-at-point-function):
24179 * info-look.el (info-lookup-completions-at-point): Mark as
24180 non-exclusive.
24181 (info-complete): Adjust accordingly.
24182
24183 * info-look.el: Convert to lexical-binding and completion-at-point.
24184 (info-lookup-completions-at-point): New function.
24185 (info-complete): Use it and completion-in-region.
24186
24187 2011-05-28 Drew Adams <drew.adams@oracle.com>
24188
24189 * isearch.el: Let M-e start with point at the first mismatched char.
24190 (isearch-fail-pos): New function.
24191 (isearch-edit-string): Use it.
24192
24193 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24194
24195 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24196
24197 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24198
24199 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24200 traversal functions for avl-trees.
24201 (avl-tree--stack): New struct.
24202 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24203 (avl-tree-enter): Add optional `updatefun' arg.
24204 (avl-tree--do-enter): Add optional `updatefun' arg.
24205 Change return value.
24206 (avl-tree-delete): Add optional `test' and `nilflag' args.
24207 (avl-tree--do-delete): Add `test' and `nilflag' args.
24208 Change return value.
24209 (avl-tree-member): Add optional `nilflag'
24210 (avl-tree-member-p): New function.
24211 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24212 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24213 (avl-tree-stack-empty-p): New functions.
24214
24215 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24216 avl-tree--del-balance1 and make it work both ways.
24217 (avl-tree--del-balance2): Remove.
24218 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24219 make it work both ways.
24220 (avl-tree--enter-balance2): Remove.
24221 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24222 New macros.
24223 (avl-tree--mapc, avl-tree-map): Add direction argument.
24224
24225 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24226
24227 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24228
24229 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24230
24231 * select.el: Support clipboard managers with built-in function
24232 x-clipboard-manager-save, via delete-frame-functions and
24233 kill-emacs-hook.
24234 (xselect-convert-to-targets): Add MULTIPLE target to list.
24235 (xselect-convert-to-save-targets): New function.
24236
24237 2011-05-27 Kenichi Handa <handa@m17n.org>
24238
24239 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24240 let-binding rfc2047-encode-encoded-words to nil.
24241
24242 2011-05-27 Glenn Morris <rgm@gnu.org>
24243
24244 * mail/emacsbug.el: Don't require url-util.
24245
24246 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24247
24248 * files.el (set-auto-mode):
24249 Also respect mode: entries at the end of the file. (Bug#8586)
24250
24251 2011-05-26 Glenn Morris <rgm@gnu.org>
24252
24253 * files.el (hack-local-variables-prop-line, hack-local-variables):
24254 Downcase mode names, as seems to be traditional.
24255 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24256
24257 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24258 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24259
24260 2011-05-25 Julien Danjou <julien@danjou.info>
24261
24262 * textmodes/rst.el (rst-define-level-faces): Do not define face
24263 symbol if it is already defined.
24264
24265 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24266
24267 * play/5x5.el (5x5-new-game, 5x5-randomize):
24268 Reset 5x5-solver-output to nil when a new grid is cast.
24269 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24270 these debugging traces, as defmacro breaks the compiled code.
24271
24272 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24273
24274 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24275
24276 2011-05-24 Leo Liu <sdl.web@gmail.com>
24277
24278 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24279 (vc-bzr-sha1): Adapt.
24280
24281 * sha1.el: Remove. Function `sha1' is now builtin.
24282
24283 * bindings.el: Provide sha1 feature.
24284
24285 2011-05-24 Kenichi Handa <handa@m17n.org>
24286
24287 * mail/sendmail.el: Require `rfc2047'.
24288 (mail-insert-from-field): Do not perform RFC2047 encoding.
24289 (mail-encode-header): New function.
24290 (sendmail-send-it): Set buffer-file-coding-system of the work
24291 buffer to the return value of select-message-coding-system.
24292 Call mail-encode-header.
24293
24294 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24295
24296 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24297
24298 * mail/supercite.el (sc-default-cite-frame):
24299 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24300
24301 2011-05-24 Glenn Morris <rgm@gnu.org>
24302
24303 * progmodes/python.el (brm-menu): Declare.
24304
24305 * emulation/viper.el (viper-set-hooks): Declare.
24306
24307 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24308 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24309 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24310 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24311 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24312 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24313
24314 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24315
24316 Add an :exit-function for completion-at-point.
24317
24318 * minibuffer.el (completion--done): New fun.
24319 (completion--do-completion): Use it. New arg `expect-exact'.
24320 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24321 since completion--do-completion does it for us now.
24322 (minibuffer-force-complete): Use completion--done and
24323 completion--replace. Handle sole-completion case with more care.
24324 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24325 (completion-extra-properties): New var.
24326 (completion-annotate-function): Make obsolete.
24327 (minibuffer-completion-help): Adjust accordingly.
24328 Use completion-list-insert-choice-function.
24329 (completion-at-point, completion-help-at-point):
24330 Bind completion-extra-properties.
24331 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24332 * simple.el (completion-list-insert-choice-function): New var.
24333 (completion-setup-function): Preserve it.
24334 (choose-completion): Pay attention to it, shuffle the code a bit.
24335 (choose-completion-string): New arg `insert-function'.
24336
24337 * textmodes/bibtex.el: Convert to lexical binding.
24338 (bibtex-mode-map): Use completion-at-point.
24339 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24340 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24341 (bibtex-complete): Define as obsolete alias.
24342 (bibtex-complete-internal): Remove.
24343 (bibtex-format-entry): Remove unused sub-group in regexp.
24344 * shell.el (shell--command-completion-data)
24345 (shell-environment-variable-completion):
24346 * pcomplete.el (pcomplete-completions-at-point):
24347 * comint.el (comint--complete-file-name-data): Use :exit-function
24348 instead of completion-table-with-terminator so it also works for
24349 choose-completion.
24350
24351 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24352
24353 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24354
24355 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24356 (bug#8710).
24357
24358 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24359
24360 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24361
24362 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24363 customization variable and implement: If non-nil, auto-fill will
24364 be inhibited while on topic's header line.
24365
24366 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24367
24368 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24369 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24370 always have a solution in grid size = 5 cases.
24371 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24372 (5x5-solver-output, 5x5-log-buffer): New vars.
24373 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24374 Make these variables buffer local to achieve 5x5 multi-session-ness.
24375 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24376 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24377 (5x5-solve-suggest): New funs.
24378 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24379 randomize a grid so that we ensure that there is always a solution.
24380 (5x5-make-random-grid): Allow other movement than flipping.
24381
24382 2011-05-23 Kevin Ryde <user42@zip.com.au>
24383
24384 * emacs-lisp/advice.el (ad-read-advised-function):
24385 Use `function-called-at-point' as the default, if it has
24386 advice and passes PREDICATE.
24387
24388 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24389
24390 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24391 byte-compile-lambda if it's actually a lambda.
24392
24393 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24394 Fix function quoting. Use backquote better.
24395
24396 2011-05-22 Yuanle Song <sylecn@gmail.com>
24397
24398 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24399 matching (Bug#8516).
24400
24401 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24402
24403 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24404 different face (Bug#8178).
24405
24406 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24407
24408 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24409 defface (Bug#8144).
24410
24411 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24412
24413 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24414 funcall as well (bug#8712). Warn when performing those conversions.
24415 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24416
24417 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24418
24419 2011-05-22 Glenn Morris <rgm@gnu.org>
24420
24421 * files.el (hack-local-variables-prop-line): Small simplifications.
24422 (hack-local-variables, hack-local-variables-prop-line):
24423 If MODE-ONLY, return the mode, rather than just `t'.
24424
24425 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24426
24427 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24428
24429 2011-05-21 Glenn Morris <rgm@gnu.org>
24430
24431 * files.el (hack-local-variables-prop-line, hack-local-variables):
24432 If only interested in the mode, don't bother doing the other stuff.
24433
24434 * image-mode.el (image-after-revert-hook):
24435 Redraw all frames on which the image is visible. (Bug#8567)
24436
24437 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24438
24439 * wid-edit.el (widget-checklist-match-inline):
24440 Fix 2011-04-19 change. (Bug#8649)
24441
24442 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24443
24444 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24445 Also allow singlespace after single-letter capitals followed by a dot.
24446
24447 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24448 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24449
24450 2011-05-20 Nix <nix@esperi.org.uk>
24451
24452 * files.el (basic-save-buffer-2):
24453 Fix handling of break-hardlink-on-save with non-existent files.
24454
24455 2011-05-19 Deniz Dogan <deniz@dogan.se>
24456
24457 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24458 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24459
24460 2011-05-19 Glenn Morris <rgm@gnu.org>
24461
24462 * progmodes/f90.el (f90-type-def-re):
24463 Handle "type, bind(c)". (Bug#8691)
24464
24465 * emacs-lisp/autoload.el (batch-update-autoloads):
24466 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24467
24468 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24469
24470 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24471 property for the correct connection in case of multihops.
24472
24473 2011-05-18 Glenn Morris <rgm@gnu.org>
24474
24475 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24476 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24477
24478 Rationalize calendar handling of day and month abbrev-arrays.
24479 * calendar/calendar.el (calendar-customized-p): New function.
24480 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24481 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24482 Add :set function.
24483 (calendar-abbrev-length, calendar-day-abbrev-array)
24484 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24485 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24486 Elements may no longer be nil.
24487 (calendar-day-name, calendar-month-name):
24488 Update for changed nature of abbrev arrays.
24489 * calendar/diary-lib.el (diary-name-pattern):
24490 Update for changed nature of abbrev arrays.
24491 (diary-mark-entries-1): Update calendar-make-alist calls.
24492 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24493 * calendar/cal-html.el (cal-html-day-abbrev-array):
24494 Simply inherit from calendar-day-abbrev-array.
24495
24496 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24497
24498 * progmodes/grep.el (grep-mode): Disable default
24499 compilation-directory-matcher setting (bug#8684).
24500
24501 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24502
24503 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24504 instead of "head" and "tail". There were problems with SunOS 5.9,
24505 and it performs better.
24506
24507 2011-05-17 Glenn Morris <rgm@gnu.org>
24508
24509 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24510
24511 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24512 Replace obsolete function.
24513
24514 * shell.el (pcomplete-parse-arguments-function): Declare.
24515
24516 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24517 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24518 (appt-check): Doc fixes.
24519 (appt-disp-window-function, appt-delete-window-function):
24520 Remove needless special case in custom :type.
24521 (appt-display-count): Default to 0, not nil.
24522 (appt-check): Reset appt-display-count to 0, not nil.
24523
24524 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24525
24526 * progmodes/python.el (python-font-lock-keywords):
24527 Add the Python 3.X keyword "nonlocal" (bug#8639).
24528
24529 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24530
24531 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24532
24533 2011-05-16 Kevin Ryde <user42@zip.com.au>
24534
24535 * info-look.el (makefile-automake-mode): New setups, looking in
24536 automake manual, then makefile-mode.
24537 (makefile-mode): Remove automake manual, have it just in
24538 makefile-automake-mode since there's various things different or
24539 not relevant to plain make.
24540 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24541 believe a hypothetical automake-mode would go to makefile-mode,
24542 not the other way around.
24543
24544 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24545
24546 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24547 hunk-end tags (Bug#8672).
24548
24549 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24550 vc-annotate-show-diff-revision-at-line (Bug#8671).
24551
24552 2011-05-14 Glenn Morris <rgm@gnu.org>
24553
24554 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24555 in the middle of an existing one with multiple authors. (Bug#8645)
24556 (change-log-font-lock-keywords): Also handle multiple author lines
24557 with leading tabs. (Bug#8644)
24558
24559 * calendar/appt.el (appt-check): Rename some local variables.
24560 Some simplification/reordering.
24561
24562 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24563 (feedmail-sendmail-f-doesnt-sell-me-out)
24564 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24565 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24566 (feedmail-queue-runner-message-sender): Set :version.
24567 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24568 (bbdb-dwim-net-address, vm-mail): Declare.
24569 (feedmail-binmail-gnulinuxish-template):
24570 Rename from feedmail-binmail-linuxish-template.
24571 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24572 Use insert-buffer-substring.
24573
24574 2011-05-14 Bill Carpenter <bill@carpenter.org>
24575
24576 * mail/feedmail.el (feedmail-patch-level): Increase.
24577 (feedmail-debug): New custom group.
24578 (feedmail-confirm-outgoing-timeout)
24579 (feedmail-sendmail-f-doesnt-sell-me-out)
24580 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24581 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24582 (feedmail-sender-line, feedmail-from-line)
24583 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24584 (feedmail-spray-this-address)
24585 (feedmail-spray-address-fiddle-plex-list)
24586 (feedmail-queue-use-send-time-for-date)
24587 (feedmail-queue-use-send-time-for-message-id)
24588 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24589 (feedmail-buffer-eating-function):
24590 Doc fixes.
24591 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24592 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24593 (feedmail-message-action-scroll-down): New functions.
24594 (feedmail-queue-directory, feedmail-queue-draft-directory):
24595 Use expand-file-name.
24596 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24597 Remove C-v help entry.
24598 (feedmail-queue-buffer-file-name): New variable.
24599 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24600 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24601 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24602 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24603 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24604 (feedmail-message-action-toggle-spray)
24605 (feedmail-run-the-queue-no-prompts)
24606 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24607 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24608 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24609 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24610 (feedmail-envelope-deducer, feedmail-fiddle-from)
24611 (feedmail-fiddle-sender, feedmail-default-date-generator)
24612 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24613 (feedmail-fiddle-spray-address)
24614 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24615 (feedmail-fiddle-list-of-fiddle-plexes)
24616 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24617 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24618 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24619 Change default. Doc fix.
24620 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24621 (feedmail-binmail-linuxish-template): New constant.
24622 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24623 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24624 (feedmail-send-it): Add debug call.
24625 Use feedmail-queue-buffer-file-name, and
24626 feedmail-send-it-immediately-wrapper.
24627 (feedmail-message-action-send): Add debug call.
24628 Use feedmail-send-it-immediately-wrapper.
24629 (feedmail-queue-express-to-queue): Add debug call.
24630 Run feedmail-queue-express-hook.
24631 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24632 (feedmail-message-action-help-blat):
24633 Rename from feedmail-queue-send-edit-prompt-help-first.
24634 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24635 Check line-endings. Handle errors better.
24636 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24637 Doc fix. Add debug call.
24638 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24639 Use feedmail-queue-send-edit-prompt-inner.
24640 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24641 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24642 from feedmail-queue-send-edit-prompt.
24643 (feedmail-queue-send-edit-prompt-help)
24644 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24645 (feedmail-tidy-up-slug): Add debug call.
24646 Respect feedmail-queue-slug-suspect-regexp.
24647 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24648 (feedmail-dump-message-to-queue): Add debug call.
24649 Expand queue-directory.
24650 (feedmail-dump-message-to-queue): Change message slightly.
24651 Use feedmail-say-chatter.
24652 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24653 (feedmail-send-it-immediately-wrapper): New function.
24654 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24655 Insert empty string rather than newline. Handle full-frame case.
24656 Use catch/throw. Use feedmail-say-chatter.
24657 (feedmail-fiddle-from): Try mail-host-address.
24658 (feedmail-default-message-id-generator): Doc fix.
24659 Bind system-time-locale. Handle missing end.
24660 (feedmail-fiddle-x-mailer): Add debug call.
24661 Handle feedmail-x-mailer-line being nil.
24662 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24663 Add debug call. Use buffer-substring-no-properties.
24664 (feedmail-say-debug, feedmail-say-chatter): New functions.
24665 (feedmail-find-eoh): Give an explicit error.
24666
24667 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24668
24669 * net/newst-treeview.el (newsticker-treeview-face): Change default
24670 family from helvetica to sans.
24671 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24672 etc/images/newsticker.
24673
24674 * net/newst-reader.el (newsticker-feed-face): Change default
24675 family from helvetica to sans.
24676
24677 * net/newst-plainview.el (newsticker-new-item-face)
24678 (newsticker-old-item-face, newsticker-immortal-item-face)
24679 (newsticker-obsolete-item-face, newsticker-date-face)
24680 (newsticker-statistics-face): Change default family from
24681 helvetica to sans.
24682 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24683 etc/images/newsticker.
24684
24685 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24686 (newsticker--process-auto-mark-filter-match): Tell user about
24687 auto-marking.
24688
24689 2011-05-13 Didier Verna <didier@xemacs.org>
24690
24691 Common Lisp indentation improvements on defmethod and lambda-lists.
24692 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24693 TODO entries.
24694 (lisp-lambda-list-keyword-parameter-indentation)
24695 (lisp-lambda-list-keyword-parameter-alignment)
24696 (lisp-lambda-list-keyword-alignment): New customizable user options.
24697 (lisp-indent-defun-method): Improve docstring.
24698 (extended-loop-p): Fix comment.
24699 (lisp-indent-lambda-list-keywords-regexp): New variable.
24700 (lisp-indent-lambda-list): New function.
24701 (lisp-indent-259): Use it.
24702 (lisp-indent-defmethod): Support for more than one
24703 method qualifier and properly indent methods lambda-lists.
24704 (defgeneric): Provide a missing common-lisp-indent-function property.
24705
24706 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24707
24708 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24709 bounds for the empty string (bug#8667).
24710
24711 2011-05-13 Glenn Morris <rgm@gnu.org>
24712
24713 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24714
24715 * mail/sendmail.el (sendmail-program): Try executable-find first.
24716 (sendmail-send-it): `sendmail-program' cannot be unbound.
24717
24718 * calendar/appt.el (appt-make-list): Simplify.
24719 (appt-time-msg-list): Doc fix.
24720 (appt-check): Change mode-line message at the time of the appointment.
24721
24722 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24723
24724 * progmodes/ld-script.el (ld-script-keywords)
24725 (ld-script-builtins): Update keywords list.
24726
24727 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24728
24729 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24730
24731 * shell.el (shell-completion-vars): New function.
24732 (shell-mode):
24733 * simple.el (read-shell-command): Use it.
24734 (blink-matching-open): No need for " [...]" in minibuffer-message.
24735
24736 2011-05-12 Glenn Morris <rgm@gnu.org>
24737
24738 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24739 (appt-check): Simplify.
24740
24741 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24742
24743 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24744 literal "/dev/null".
24745
24746 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24747
24748 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24749 Fix typo.
24750
24751 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24752
24753 * progmodes/which-func.el (which-function):
24754 Use add-log-current-defun instead of add-log-current-defun-function,
24755 which might not be defined (Bug#8260).
24756
24757 2011-05-12 Glenn Morris <rgm@gnu.org>
24758
24759 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24760 Let byte-compile-initial-macro-environment always take precedence.
24761
24762 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24763
24764 * net/rcirc.el: Add support for SSL/TLS connections.
24765 (rcirc-server-alist): New field `encryption'.
24766 (rcirc): Check `encryption' settings.
24767 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24768 Merge make-local-variable into `set'.
24769 (rcirc--connection-open-p): New function.
24770 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24771 the process is not a network process (e.g. running gnutls-cli).
24772 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24773 Make rcirc-(en|de)code-coding-system local here.
24774 (rcirc-mode): Merge make-local-variable into `set'.
24775 (rcirc-parent-buffer): Make permanent buffer-local.
24776 (rcirc-multiline-minor-mode): Don't do it here.
24777 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24778 there's no server buffer.
24779
24780 2011-05-11 Glenn Morris <rgm@gnu.org>
24781
24782 * newcomment.el (comment-kill): Prefix "unused" local.
24783
24784 * term/w32console.el (get-screen-color): Declare.
24785
24786 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24787 Handle symbol elements of byte-compile-initial-macro-environment.
24788
24789 2011-05-10 Leo Liu <sdl.web@gmail.com>
24790
24791 * bookmark.el (bookmark-bmenu-mode-map):
24792 Bind bookmark-bmenu-search to `/'.
24793
24794 * mail/footnote.el: Convert to utf-8 encoding.
24795 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24796 (Footnote-unicode): New function.
24797 (footnote-style-alist): Add unicode style to the list.
24798 (footnote-style): Doc fix.
24799
24800 2011-05-10 Jim Meyering <meyering@redhat.com>
24801
24802 Fix doubled-word typos.
24803 * international/quail.el (quail-insert-kbd-layout): and and -> and
24804 * kermit.el: and and -> and
24805 * net/ldap.el (ldap-search-internal): to to -> to
24806 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24807 * progmodes/js.el (js-mode): and and -> and
24808 * textmodes/artist.el (artist-move-to-xy): at at -> at
24809 (artist-draw-region-trim-line-endings): if if -> if
24810 And Safetyc -> Safety.
24811 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24812
24813 2011-05-10 Glenn Morris <rgm@gnu.org>
24814 Stefan Monnier <monnier@iro.umontreal.ca>
24815
24816 * files.el (hack-one-local-variable-eval-safep):
24817 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24818
24819 2011-05-10 Glenn Morris <rgm@gnu.org>
24820
24821 * calendar/diary-lib.el (diary-list-entries-hook)
24822 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24823 (diary-nongregorian-marking-hook, diary-list-entries)
24824 (diary-include-other-diary-files, diary-mark-entries)
24825 (diary-mark-included-diary-files): Doc fixes.
24826
24827 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24828
24829 * misc.el: Require tabulated-list.el during compilation.
24830
24831 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24832
24833 * progmodes/compile.el (compilation-start):
24834 Run compilation-filter-hook for the async case too.
24835 (compilation-filter-hook): Doc fix.
24836
24837 2011-05-09 Deniz Dogan <deniz@dogan.se>
24838
24839 * wdired.el: Remove outdated installation comment. Fix usage
24840 comment.
24841
24842 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24843
24844 * misc.el: Implement new command `list-dynamic-libraries'.
24845 (list-dynamic-libraries--loaded-only-p): New variable.
24846 (list-dynamic-libraries--refresh): New function.
24847 (list-dynamic-libraries): New command.
24848
24849 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24850
24851 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24852 Fix the ant regexp to handle end-line and end-column info from jikes.
24853 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24854 higher priority to avoid clobbering by gnu.
24855
24856 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24857
24858 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24859 if the face has existing theme settings (Bug#8454).
24860
24861 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24862
24863 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24864 Only match variables declared via `my' or `our' (Bug#8261).
24865
24866 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24867 special file names `.' and `..' (Bug#8259).
24868
24869 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24870
24871 * progmodes/grep.el (grep-mode-font-lock-keywords):
24872 Remove buffer-changing entries.
24873 (grep-filter): New function.
24874 (grep-mode): Add it to compilation-filter-hook.
24875
24876 * progmodes/compile.el (compilation-filter-hook)
24877 (compilation-filter-start): New defvars.
24878 (compilation-filter): Call compilation-filter-hook prior to
24879 updating the process mark.
24880
24881 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24882
24883 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24884
24885 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24886
24887 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24888 mailclient-send-it even if window-system is nil. (Bug#8595)
24889
24890 * term/w32console.el (terminal-init-w32console):
24891 Call get-screen-color and use its output to set the frame
24892 background-mode. (Bug#8597)
24893
24894 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24895
24896 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24897 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24898 New functions.
24899 (defgeneric, eieio--defmethod): Use them.
24900 (eieio-defgeneric): Remove.
24901 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24902
24903 2011-05-07 Glenn Morris <rgm@gnu.org>
24904
24905 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24906 Use let rather than let*.
24907 (timeclock-find-discrep): Remove unused local.
24908
24909 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24910
24911 * calendar/appt.el (appt-time-msg-list): Doc fix.
24912
24913 2011-05-06 Noah Friedman <friedman@splode.com>
24914
24915 * apropos.el (apropos-print-doc): Only use
24916 emacs-lisp-docstring-fill-column when it is bound to an integer,
24917 per that variable's documentation.
24918
24919 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24920
24921 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24922 and warnings are not silently discarded (e.g. use -d instead of -P).
24923
24924 2011-05-06 Glenn Morris <rgm@gnu.org>
24925
24926 * calendar/appt.el (appt-message-warning-time): Doc fix.
24927 (appt-warning-time-regexp): New option.
24928 (appt-make-list): Respect appt-message-warning-time.
24929
24930 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24931 New options.
24932 (diary-add-to-list): Strip comments from the displayed string.
24933 (diary-mode): Set comment-start and comment-end.
24934
24935 * vc/diff-mode.el (smerge-refine-subst): Declare.
24936 (diff-refine-hunk): Don't require smerge-mode when compiling.
24937
24938 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24939
24940 * simple.el (list-processes): Return nil as the docstring says.
24941
24942 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24943
24944 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24945 to "".
24946 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24947 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24948 determining of binary transfer. (Bug#7383)
24949
24950 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24951
24952 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24953 Fix port computation bug. (Bug#8618)
24954
24955 2011-05-05 Glenn Morris <rgm@gnu.org>
24956
24957 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24958
24959 * simple.el (shell-dynamic-complete-functions)
24960 (comint-dynamic-complete-functions): Declare.
24961
24962 * net/network-stream.el (gnutls-negotiate):
24963 * simple.el (tabulated-list-print): Fix declarations.
24964
24965 * progmodes/gud.el (syntax-symbol, syntax-point):
24966 Remove unnecessary and incorrect declarations.
24967
24968 * emacs-lisp/check-declare.el (check-declare-scan):
24969 Handle byte-compile-initial-macro-environment in bytecomp.el.
24970
24971 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24972
24973 Fix earlier half-done eieio-defmethod change (bug#8338).
24974 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24975 Streamline and change calling convention.
24976 (defmethod): Adjust accordingly and simplify.
24977 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24978 new eieio--defmethod.
24979 (slot-boundp): Minor CSE simplification.
24980
24981 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24982
24983 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24984 (glasses-make-readable): Use glasses-separate-capital-groups.
24985
24986 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24987
24988 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24989 (warning-series): Doc fix.
24990 (display-warning): Don't try to create the buffer if we just found it.
24991
24992 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24993
24994 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24995 (autoload-find-generated-file): New function.
24996 (generate-file-autoloads): Bind generated-autoload-file to
24997 buffer-file-name.
24998 (update-file-autoloads, update-directory-autoloads):
24999 Use autoload-find-generated-file. If called interactively, prompt for
25000 output file (Bug#7989).
25001 (batch-update-autoloads): Doc fix.
25002
25003 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25004
25005 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25006
25007 2011-05-04 Glenn Morris <rgm@gnu.org>
25008
25009 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25010 function, so it follows changes in calendar-date-style.
25011 (diary-fancy-date-matcher): New function.
25012 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25013 (diary-fancy-font-lock-fontify-region-function):
25014 Use diary-fancy-date-pattern as a function.
25015
25016 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25017 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25018
25019 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25020
25021 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25022 instead of positional arguments. Allow :keylist and :crlfiles
25023 arguments.
25024 (open-gnutls-stream): Call it.
25025
25026 * net/network-stream.el (network-stream-open-starttls): Adjust to
25027 call `gnutls-negotiate' with :process and :hostname arguments.
25028
25029 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25030
25031 * minibuffer.el (completion--message): New function.
25032 (completion--do-completion, minibuffer-complete)
25033 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25034 (completion--do-completion): Don't ignore completion-auto-help when in
25035 icomplete-mode.
25036
25037 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25038 internal encoding (e.g. tibetan zero is not whitespace).
25039 (global-whitespace-mode): Prefer save-current-buffer.
25040 (whitespace-trailing-regexp): Remove useless save-match-data.
25041 (whitespace-empty-at-bob-regexp): Minor simplification.
25042
25043 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25044
25045 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25046
25047 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25048
25049 * textmodes/ispell.el (ispell-add-per-file-word-list):
25050 Use `concat' to create string for insertion.
25051
25052 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25053
25054 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25055 Avoid open-line which runs post-self-insert-hook.
25056 (bibtex-fill-entry): Remove unused `end' var.
25057
25058 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25059
25060 * textmodes/ispell.el (ispell-add-per-file-word-list):
25061 Protect against `nil' value of `comment-start' (Bug#8579).
25062
25063 2011-05-03 Leo Liu <sdl.web@gmail.com>
25064
25065 * isearch.el (isearch-yank-pop): New command.
25066 (isearch-mode-map): Bind it to `M-y'.
25067 (isearch-forward): Mention it.
25068
25069 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25070
25071 * simple.el (minibuffer-complete-shell-command): Remove.
25072 (minibuffer-local-shell-command-map): Use completion-at-point.
25073 (read-shell-command): Setup completion vars here instead.
25074 (read-expression-map): Bind TAB to symbol completion.
25075
25076 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25077 error directly rather via storing it into `results'.
25078
25079 2011-05-02 Leo Liu <sdl.web@gmail.com>
25080
25081 * vc/diff.el: Fix description.
25082
25083 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25084
25085 * server.el (server-eval-at): New function.
25086
25087 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25088
25089 * net/network-stream.el (open-network-stream): Take a :nowait
25090 parameter and pass it on to `make-network-process'.
25091 (network-stream-open-plain): Ditto.
25092
25093 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25094
25095 * faces.el (face-spec-set-match-display): Don't match toolkit
25096 options on terminal frames.
25097
25098 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25099
25100 * progmodes/pascal.el: Use lexical binding.
25101 (pascal-mode-map): Remove author preferences.
25102
25103 * pcomplete.el (pcomplete-std-complete): Don't abuse
25104 completion-at-point.
25105
25106 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25107
25108 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25109 removing code that has been dead since 1991 or so.
25110
25111 * startup.el (command-line): When warning about "_emacs", use a
25112 delayed warning to allow the user to filter it out.
25113
25114 2011-04-28 Deniz Dogan <deniz@dogan.se>
25115
25116 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25117 user has not joined.
25118
25119 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25120
25121 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25122 aren't any completions at point.
25123
25124 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25125
25126 * subr.el (display-delayed-warnings): New function.
25127 (delayed-warnings-hook): New variable.
25128
25129 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25130
25131 * minibuffer.el (completion-at-point, completion-help-at-point):
25132 Don't presume that a given completion-at-point-function will always
25133 use the same calling convention.
25134
25135 * pcomplete.el (pcomplete-completions-at-point):
25136 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25137 pcomplete-seen is non-nil.
25138 (pcomplete-comint-setup): Also recognize the new comint/shell
25139 completion functions.
25140 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25141 pcomplete-seen is non-nil.
25142
25143 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25144
25145 * calendar/icalendar.el (diary-lib): Add require statement.
25146 (icalendar--create-uid): Read out a uid from a text-property on
25147 the first character in the entry. This allows for code to add its
25148 own uid to the entry.
25149 (icalendar--convert-float-to-ical): Add export of
25150 `diary-float'-entries save for those with the optional DAY
25151 argument.
25152
25153 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25154
25155 * subr.el (shell-quote-argument): Use alternate escaping strategy
25156 when we spot a variable reference in a string.
25157
25158 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25159
25160 * cus-start.el (all): Define customization for debug-on-event.
25161
25162 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25163
25164 * subr.el (shell-quote-argument): Escape correctly under Windows.
25165
25166 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25167
25168 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25169
25170 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25171
25172 * net/tramp.el (tramp-process-actions): Add POS argument.
25173 Delete region between POS and (pos).
25174
25175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25176 Use `nil' position in `tramp-process-actions' call.
25177 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25178
25179 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25180 position in `tramp-process-actions' call.
25181
25182 * net/trampver.el: Update release number.
25183
25184 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25185
25186 * custom.el (defcustom): Obey lexical-binding.
25187
25188 Fix octave-inf completion problems reported by Alexander Klimov.
25189 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25190 Inherit from octave-mode-syntax-table.
25191 (inferior-octave-mode): Set info-lookup-mode.
25192 (inferior-octave-completion-at-point): New function.
25193 (inferior-octave-complete): Use it and completion-in-region.
25194 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25195 comint-filename-completion.
25196 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25197 symbol elements which shouldn't be word elements.
25198 (octave-font-lock-keywords, octave-beginning-of-defun)
25199 (octave-function-header-regexp): Adjust regexps accordingly.
25200 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25201
25202 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25203
25204 * net/gnutls.el (gnutls-errorp): Declare before first use.
25205
25206 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25207
25208 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25209 verify-error, and verify-hostname-error parameters. Check whether
25210 default trustfile exists before going to use it. Add missing
25211 argument to gnutls-message-maybe call. Return value.
25212 Reported by Claudio Bley <claudio.bley@gmail.com>.
25213 (open-gnutls-stream): Add usage example.
25214
25215 * net/network-stream.el (network-stream-open-starttls): Give host
25216 parameter to `gnutls-negotiate'.
25217 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25218 * subr.el (shell-quote-argument): Escape correctly under Windows.
25219
25220 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25221
25222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25223 Use correct match group (bug#8438).
25224
25225 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25226
25227 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25228 (package-menu--generate): New arg specifying packages to show.
25229 (package-menu-refresh, package-menu-execute, list-packages):
25230 Callers changed.
25231 (package-show-package-list): New function, replacing deleted
25232 package--list-packages (renamed because it is non-internal).
25233
25234 * finder.el (finder-list-matches): Use package-show-package-list
25235 instead of deleted package--list-packages.
25236
25237 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25238 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25239 (vc-annotate-mode-map): Bind it to RET.
25240
25241 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25242
25243 * progmodes/etags.el (next-file): Don't use set-buffer to change
25244 buffers (Bug#8478).
25245
25246 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25247
25248 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25249
25250 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25251 (apropos-accumulator): Doc fix.
25252 (apropos-function, apropos-macro, apropos-command)
25253 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25254 (apropos-plist): Add face property.
25255 (apropos-symbols-internal): Fix indentation.
25256 (apropos-print): Simplify help, and recognize apropos-multi-type.
25257 (apropos-print-doc): Use button-type-get to extract the button's
25258 face property. Fill docstring (Bug#8352).
25259
25260 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25261
25262 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25263
25264 * play/mpuz.el (mpuz-silent): Doc fix.
25265 (mpuz-mode-map): Use mapc.
25266 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25267 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25268 Fix typos in docstrings.
25269
25270 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25271 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25272
25273 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25274
25275 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25276
25277 * minibuffer.el (completion--do-completion): Avoid the "Next char
25278 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25279
25280 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25281 mouse-2 into unread-command-events, it is interpreted correctly.
25282
25283 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25284 (image-toggle-display): Doc fix.
25285
25286 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25287
25288 * textmodes/page.el (what-page): Use line-number-at-pos to
25289 calculate line number (Bug#6825).
25290
25291 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25292
25293 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25294 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25295 Pass argument NO-DEFAULT to `find-tag-interactive'.
25296
25297 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25298
25299 Lexical-binding cleanup.
25300
25301 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25302 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25303 * progmodes/ada-prj.el (ada-prj-initialize-values)
25304 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25305 (ada-prj-show-value):
25306 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25307 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25308 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25309 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25310 * progmodes/bug-reference.el (bug-reference-push-button):
25311 * progmodes/fortran.el (fortran-line-length):
25312 * progmodes/glasses.el (glasses-change):
25313 * progmodes/octave-mod.el (octave-fill-paragraph):
25314 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25315 (python-pdbtrack-grub-for-buffer, python-sentinel):
25316 * progmodes/sql.el (sql-save-connection):
25317 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25318 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25319 Mark unused parameters.
25320
25321 * progmodes/compile.el (compilation--flush-directory-cache)
25322 (compilation--flush-parse, compile-internal): Mark unused parameters.
25323 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25324 (compilation-next-error-function): Remove unused variable `timestamp'.
25325
25326 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25327 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25328
25329 * progmodes/dcl-mode.el (dcl-end-of-command):
25330 Remove unused variable `start'.
25331 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25332 (dcl-option-value-basic, dcl-option-value-offset)
25333 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25334 Mark unused parameters.
25335 (dcl-save-local-variable): Remove unused variable `val'.
25336 (mode): Declare.
25337
25338 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25339 Mark unused parameters.
25340 (delphi-ignore-changes): Move before first use.
25341 (delphi-charset-token-at): Remove unused variable `start'.
25342 (delphi-else-start): Remove unused variable `if-count'.
25343 (delphi-comment-block-start, delphi-comment-block-end):
25344 Remove unused variable `kind'.
25345 (delphi-indent-line): Remove unused variable `new-point'.
25346
25347 * progmodes/ebrowse.el (ebrowse-files-list)
25348 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25349 Mark unused parameters. Don't quote `lambda'.
25350 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25351 Don't quote `lambda'.
25352 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25353 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25354 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25355 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25356 Use `ignore-errors'.
25357 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25358 (ebrowse-view/find-file-and-search-pattern)
25359 (ebrowse-view/find-member-declaration/definition):
25360 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25361 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25362 Rename parameter PREFIX-ARG to PREFIX.
25363 (ebrowse-tags-read-name): Remove unused variables `start' and
25364 `member-info'.
25365 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25366 to `tags-file'.
25367
25368 * progmodes/etags.el (local-find-tag-hook): Declare.
25369 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25370 Mark unused parameters.
25371
25372 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25373 (executable-interpret): Mark unused parameter.
25374
25375 * progmodes/flymake.el (flymake-process-sentinel)
25376 (flymake-after-change-function)
25377 (flymake-create-temp-with-folder-structure)
25378 (flymake-get-include-dirs-dot): Mark unused parameters.
25379 (flymake-safe-delete-directory): Remove unused variable `err'.
25380
25381 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25382 (speedbar-timer-fn, speedbar-line-text)
25383 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25384 (speedbar-center-buffer-smartly): Declare functions.
25385 (gdb-find-watch-expression): Remove unused variable `array'.
25386 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25387 (gdb-starting): Mark unused parameters.
25388 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25389 (gdb-table-string): Remove unused variable `res'.
25390 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25391 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25392 (gdb-display-buffer): Remove unused variable `cur-size'.
25393
25394 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25395 allow lexical-binding compilation.
25396 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25397 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25398 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25399 Mark unused parameters.
25400 (gud-gdb-marker-filter): Remove unused variable `match'.
25401 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25402 lambda expressions and funcall them, instead of using `fset'.
25403
25404 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25405 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25406
25407 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25408 variable `header-beg'; use `let'.
25409
25410 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25411 `restart', `last-sexp' and `at-do'.
25412
25413 * progmodes/js.el (js--debug): Mark unused parameter.
25414 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25415 (js--splice-into-items): Remove unused variable `item'.
25416 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25417
25418 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25419 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25420 (makefile-complete): Remove unused variable `try'.
25421 (makefile-fill-paragraph, makefile-match-function-end):
25422 Mark unused parameters.
25423
25424 * progmodes/octave-inf.el (inferior-octave-complete):
25425 Remove unused variable `proc'.
25426 (inferior-octave-output-digest): Mark unused parameter.
25427
25428 * progmodes/perl-mode.el (perl-calculate-indent):
25429 Remove unused variable `err'.
25430
25431 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25432 (prolog-indent-line): Mark unused parameters.
25433 (prolog-indent-line): Remove unused variable `beg'.
25434
25435 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25436 (reporter-dont-compact-list): Declare.
25437
25438 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25439 Remove unused variable `char'.
25440 (sh-debug): Mark unused parameter.
25441 (sh-get-indent-info): Remove unused variable `start'.
25442 (sh-calculate-indent): Remove unused variable `var'.
25443
25444 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25445 (simula-electric-keyword): Remove unused variable `null'.
25446 (simula-search-backward, simula-search-forward): Remove unused
25447 variables `begin' and `end'.
25448
25449 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25450 Remove unused variable `pos'.
25451 (vera-electric-tab, vera-comment-uncomment-region):
25452 Mark unused parameters.
25453 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25454
25455 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25456
25457 * emacs-lisp/package.el (package--builtins, package-alist)
25458 (package-load-descriptor, package-built-in-p, package-activate)
25459 (define-package, package-installed-p)
25460 (package-compute-transaction, package-buffer-info)
25461 (package--push): Doc fix. Distinguish more clearly between
25462 version strings and version lists.
25463
25464 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25465
25466 Lexical-binding cleanup.
25467
25468 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25469 (5x5-make-mutate-best):
25470 * play/fortune.el (fortune-in-buffer):
25471 * play/gomoku.el (gomoku-init-display):
25472 * play/solitaire.el (solitaire, solitaire-do-check):
25473 * play/tetris.el (tetris-default-update-speed-function):
25474 Mark unused parameters.
25475
25476 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25477 (bubbles--shift): Remove unused variable `char-org'.
25478 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25479 (bubbles--show-images): Remove unused variable `char'.
25480
25481 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25482 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25483 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25484 (decipher-analyze-buffer): Use ?\s.
25485 (decipher-make-checkpoint): Remove unused variable `mapping'.
25486
25487 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25488
25489 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25490 Remove unused variable `result'; use `let'.
25491
25492 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25493 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25494 (gametree-children-shown-p, gametree-compute-reduced-score):
25495 Use `ignore-errors'.
25496
25497 * play/handwrite.el (ps-lpr-switches): Declare.
25498 (handwrite): Remove unused variables `pmin' and `lastp'.
25499
25500 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25501
25502 * play/landmark.el (landmark-init-display)
25503 (landmark-update-naught-weights): Mark unused parameters.
25504 (landmark-y): Remove unused variable `noise'. Simplify.
25505 (landmark-human-plays): Remove unused variable `score'.
25506
25507 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25508 (mpuz-try-proposal): Remove unused variable `game'.
25509
25510 * play/zone.el (life-patterns): Declare.
25511
25512 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25513
25514 * vc/vc.el (ediff-vc-internal): Declare function.
25515
25516 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25517
25518 * shell.el: Use lexical-binding and std completion UI.
25519 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25520 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25521 comint-preoutput-filter-functions rather than on
25522 comint-output-filter-functions.
25523 (shell-command-completion, shell--command-completion-data)
25524 (shell-filename-completion, shell-environment-variable-completion)
25525 (shell-c-a-p-replace-by-expanded-directory): New functions.
25526 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25527 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25528 (shell-dynamic-complete-environment-variable): Use them.
25529 (shell-dynamic-complete-as-environment-variable)
25530 (shell-dynamic-complete-as-command): Remove.
25531 (shell-match-partial-variable): Match past point.
25532 * comint.el: Clean up use of completion-at-point-functions.
25533 (comint-completion-at-point): New function.
25534 (comint-mode): Use it completion-at-point-functions.
25535 (comint-dynamic-complete): Make it obsolete.
25536 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25537 (comint-c-a-p-replace-by-expanded-history): New function.
25538 (comint-dynamic-complete-functions)
25539 (comint-replace-by-expanded-history): Use it.
25540 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25541 termination strings. Try harder to avoid second try-completion.
25542 (completion-in-region-mode-map): Disable bindings that don't work yet.
25543
25544 * comint.el: Use lexical-binding. Require CL.
25545 (comint-dynamic-complete-functions): Use comint-filename-completion.
25546 (comint-completion-addsuffix): Tweak custom type.
25547 (comint-filename-completion, comint--common-suffix)
25548 (comint--common-quoted-suffix, comint--table-subvert)
25549 (comint--complete-file-name-data): New functions.
25550 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25551 (comint-dynamic-list-filename-completions): Use them.
25552 (comint-dynamic-simple-complete): Make obsolete.
25553
25554 * minibuffer.el (completion-in-region-mode):
25555 Keep completion-in-region-mode--predicate global.
25556 (completion-in-region--postch):
25557 Assume completion-in-region-mode--predicate is not null.
25558
25559 * progmodes/flymake.el (flymake-start-syntax-check-process):
25560 Obey `dir'. Simplify.
25561
25562 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25563 we're in VC after all.
25564
25565 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25566
25567 * vc/vc.el (vc-diff-build-argument-list-internal)
25568 (vc-version-ediff, vc-ediff): New commands.
25569 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25570
25571 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25572
25573 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25574 add sanity check.
25575
25576 * obsolete/erc-hecomplete.el: Make obsolete.
25577 * obsolete/: Standardize obsolescence info in the header.
25578
25579 2011-04-20 Glenn Morris <rgm@gnu.org>
25580
25581 * calendar/solar.el (solar-horizontal-coordinates):
25582 Use the longitude argument rather than `calendar-longitude'.
25583 (solar-date-next-longitude): Remove unused locals.
25584
25585 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25586
25587 * whitespace.el: New version 13.2.1.
25588
25589 2011-04-20 felix <EmacsWiki> (tiny change)
25590
25591 * whitespace.el (global-whitespace-mode): Keep highlight when
25592 switching between major modes on a file.
25593
25594 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25595
25596 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25597 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25598 multi-line comments as well.
25599
25600 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25601
25602 Lexical-binding cleanup.
25603
25604 * arc-mode.el (archive-mode-revert):
25605 * cmuscheme.el (scheme-interactively-start-process):
25606 * custom.el (custom-initialize-delay):
25607 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25608 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25609 * emacs-lock.el (emacs-lock-clear-sentinel):
25610 * ezimage.el (defezimage):
25611 * follow.el (follow-avoid-tail-recenter):
25612 * fringe.el (set-fringe-mode-1):
25613 * generic-x.el (bat-generic-mode-compile):
25614 * help-mode.el (help-info-variable, help-do-xref)
25615 (help-mode-revert-buffer):
25616 * help.el (view-emacs-todo):
25617 * iswitchb.el (iswitchb-completion-help):
25618 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25619 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25620 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25621 * locate.el (locate-update):
25622 * longlines.el (longlines-encode-region)
25623 (longlines-after-change-function):
25624 * outline.el (outline-isearch-open-invisible):
25625 * ps-def.el (declare-function, charset-dimension, char-width)
25626 (encode-char):
25627 * ps-mule.el (ps-mule-plot-string):
25628 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25629 (recentf-edit-list-select, recentf-edit-list-validate)
25630 (recentf-open-files-action):
25631 * rect.el (delete-whitespace-rectangle-line)
25632 (rectangle-number-line-callback):
25633 * register.el (window-configuration-to-register)
25634 (frame-configuration-to-register):
25635 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25636 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25637 (xselect-convert-to-targets, xselect-convert-to-delete)
25638 (xselect-convert-to-filename, xselect-convert-to-charpos)
25639 (xselect-convert-to-lineno, xselect-convert-to-colno)
25640 (xselect-convert-to-os, xselect-convert-to-host)
25641 (xselect-convert-to-user, xselect-convert-to-class)
25642 (xselect-convert-to-name, xselect-convert-to-integer)
25643 (xselect-convert-to-atom, xselect-convert-to-identity):
25644 * subr.el (declare, ignore, process-kill-without-query)
25645 (text-clone-maintain):
25646 * terminal.el (te-get-char, te-tic-sentinel):
25647 * tool-bar.el (tool-bar-make-keymap):
25648 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25649 * type-break.el (type-break-mode, type-break-noninteractive-query):
25650 * view.el (View-back-to-mark):
25651 * wid-browse.el (widget-browse-action, widget-browse-widget)
25652 (widget-browse-widgets, widget-browse-sexp):
25653 * widget.el (define-widget-keywords):
25654 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25655 Mark unused parameters.
25656
25657 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25658 (align-areas): Remove unused variable `look'.
25659 (align-region): Remove unused variables `real-end' and `pos-list'.
25660
25661 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25662
25663 * bindings.el (mode-line-modified, mode-line-remote):
25664 Mark unused parameters.
25665 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25666
25667 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25668 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25669
25670 * comint.el (comint-history-isearch-pop-state)
25671 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25672 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25673 (comint-substitute-in-file-name): Doc fix.
25674
25675 * completion.el (cmpl-statistics-block): Mark unused parameter.
25676 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25677 (save-completions-to-file, load-completions-from-file):
25678 Remove unused local variable `e'.
25679
25680 * composite.el (compose-chars): Remove unused variable `len'.
25681 (lgstring-insert-glyph): Remove unused variable `g'.
25682 (compose-glyph-string): Remove unused variables `ascent',
25683 `descent', `lbearing' and `rbearing'.
25684 (compose-glyph-string-relative): Remove unused variables
25685 `lbearing', `rbearing' and `wadjust'.
25686 (compose-gstring-for-graphic): Remove unused variables `header',
25687 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25688 (compose-gstring-for-terminal): Remove unused variables `header'
25689 and `nchars'. Use `let', not `let*'.
25690
25691 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25692 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25693 (Custom-buffer-done, custom-buffer-create-internal)
25694 (custom-browse-visibility-action, custom-browse-group-tag-action)
25695 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25696 (widget-magic-mouse-down-action, custom-toggle-parent)
25697 (custom-add-parent-links, custom-toggle-hide-variable)
25698 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25699 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25700 (custom-face-menu-create, custom-variable-menu-create, get)
25701 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25702 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25703 (customize-apropos): Remove unused variable `tests'.
25704 (custom-group-value-create): Remove unused variable `hidden-p'.
25705 (sort-fold-case): Declare.
25706
25707 * cus-theme.el (custom-reset-standard-faces-list)
25708 (custom-reset-standard-variables-list): Declare.
25709 (customize-create-theme, custom-theme-revert, custom-theme-write)
25710 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25711 Mark unused parameters.
25712
25713 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25714
25715 * delim-col.el (delimit-columns-max): Move defvar before first use.
25716
25717 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25718 (describe-char): Don't quote `lambda'. Mark unused parameter.
25719
25720 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25721 (auto-insert): Declare.
25722 (desktop-restore-file-buffer): Rename desktop-* parameters;
25723 mark unused ones.
25724 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25725 (desktop-buffer): Rename desktop-* parameters.
25726
25727 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25728 (dframe-reposition-frame-xemacs, dframe-help-echo)
25729 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25730 Mark unused parameters.
25731
25732 * dired-aux.el (backup-extract-version-start, overwrite-query)
25733 (overwrite-backup-query, rename-regexp-query)
25734 (rename-non-directory-query): Declare.
25735 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25736 (dired-add-entry): Remove unused variable `orig-file-name'.
25737 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25738 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25739 `dired-copy-preserve-time' directly.
25740 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25741 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25742
25743 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25744 (dired-virtual-revert, dired-make-relative-symlink):
25745 Mark unused parameters.
25746 (manual-program): Declare.
25747 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25748 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25749 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25750
25751 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25752
25753 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25754
25755 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25756 Declare.
25757
25758 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25759
25760 * electric.el (Electric-command-loop): Rename parameter
25761 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25762
25763 * expand.el (expand-in-literal): Remove unused variable `here'.
25764
25765 * facemenu.el (facemenu-add-new-color):
25766 Remove unused variable `docstring'.
25767
25768 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25769 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25770 (face-attr-construct): Mark unused parameter. Doc fix.
25771 (read-color): Remove unused variable `hex-string'.
25772
25773 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25774 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25775 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25776 (display-buffer-other-frame): Remove unused variable `old-window'.
25777 (kill-buffer-hook): Declare.
25778 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25779 Mark unused parameters.
25780 (after-find-file): Pass 1 to `auto-save-mode', not t.
25781
25782 * files-x.el (auto-insert): Declare.
25783 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25784
25785 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25786 variable `buf'. Mark unused parameter.
25787 (find-lisp-insert-directory): Mark unused parameter.
25788
25789 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25790 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25791 (format-common-tail): Remove, unused.
25792 (format-deannotate-region): Remove unused variable `loc'.
25793 (format-annotate-region): Remove unused variable `p'.
25794 (format-annotate-single-property-change): Remove unused variables
25795 `default' and `tail'.
25796
25797 * forms.el (read-file-filter): Declare.
25798 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25799
25800 * frame.el (frame-creation-function-alist): Mark unused parameter.
25801 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25802
25803 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25804 Remove unused parameters.
25805 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25806 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25807
25808 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25809 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25810 (hfy-prepare-tag-map): Mark unused parameters.
25811 (htmlfontify-buffer): Use `called-interactively-p'.
25812
25813 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25814 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25815 (ibuffer-do-occur): Mark unused parameters.
25816 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25817 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25818
25819 * ibuffer.el: Don't quote `lambda'.
25820 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25821 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25822 Mark unused parameters.
25823
25824 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25825 (ido-completing-read): Mark unused parameters.
25826 (ido-copy-current-word): Mark unused parameters;
25827 remove unused variable `name'.
25828 (ido-sort-merged-list): Remove unused parameter `dirs'.
25829
25830 * ielm.el (ielm-input-sender): Mark unused parameter.
25831 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25832 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25833 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25834 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25835 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25836
25837 * image-dired.el (image-dired-display-thumbs): Remove unused
25838 variables `curr-file' and `count'.
25839 (image-dired-remove-tag): Remove unused variable `start'.
25840 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25841 variable `curr-file'
25842 (image-dired-rotate-original): Remove unused variable `temp-file'.
25843 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25844 Remove unused variable `file'.
25845 (image-dired-gallery-generate): Remove unused variable `curr'.
25846 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25847
25848 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25849
25850 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25851
25852 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25853
25854 * isearch.el (minibuffer-history-symbol): Declare.
25855 (isearch-edit-string): Remove unused variable `err'.
25856 (isearch-message-prefix, isearch-message-suffix):
25857 Mark unused parameters.
25858
25859 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25860
25861 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25862
25863 * makesum.el (double-column): Remove unused variable `cnt'.
25864
25865 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25866 (ido-ignore-item-temp-list): Declare.
25867
25868 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25869 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25870 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25871 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25872 `mouse-col-delta'.
25873
25874 * mouse-sel.el (mouse-extend-internal):
25875 Remove unused variable `orig-window-frame'.
25876
25877 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25878 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25879 Move declarations before first use.
25880 (pcomplete-opt): Mark unused parameters; doc fix.
25881
25882 * proced.el (proced-revert): Mark unused parameter.
25883 (proced-send-signal): Remove unused variable `err'.
25884
25885 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25886 Rename parameter PREFIX-ARG to ARG.
25887 (ps-basic-plot-string, ps-basic-plot-whitespace):
25888 Mark unused parameters.
25889
25890 * replace.el (replace-count): Define.
25891 (occur-revert-function): Mark unused parameters.
25892 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25893 (isearch-case-fold-search, isearch-string): Declare.
25894 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25895 bind `case-fold-search'. Remove unused variables `beg' and `end',
25896 and simplify.
25897 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25898 COUNT and bind `replace-count'.
25899 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25900 to COUNT.
25901
25902 * savehist.el (print-readably, print-string-length): Declare.
25903
25904 * shadowfile.el (shadow-expand-cluster-in-file-name):
25905 Remove unused variable `cluster'.
25906 (shadow-copy-file): Remove unused variable `i'.
25907 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25908 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25909 (shadow-define-literal-group, shadow-define-regexp-group)
25910 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25911
25912 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25913 (shell): Use `called-interactively-p'.
25914 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25915
25916 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25917 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25918 (delete-backward-char): Remove unused variable `ocol'.
25919 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25920 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25921 (event-apply-hyper-modifier, event-apply-shift-modifier)
25922 (event-apply-control-modifier, event-apply-meta-modifier):
25923 Mark unused parameters.
25924 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25925 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25926
25927 * speedbar.el (speedbar-ignored-directory-expressions)
25928 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25929 (speedbar-find-file, speedbar-dir-follow)
25930 (speedbar-directory-buttons-follow, speedbar-tag-find)
25931 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25932 (speedbar-buffers-line-directory, speedbar-buffer-click):
25933 Mark unused parameters.
25934 (speedbar-tag-file): Remove unused variable `mode'.
25935 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25936
25937 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25938
25939 * talk.el (talk): Remove unused variable `display'.
25940
25941 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25942 (tar-write-region-annotate): Mark unused parameter.
25943
25944 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25945 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25946 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25947 warning by another.
25948
25949 * time-stamp.el (time-stamp-string-preprocess):
25950 Remove unused variable `require-padding'.
25951
25952 * tree-widget.el (widget-glyph-enable): Declare.
25953 (tree-widget-action): Mark unused parameter.
25954
25955 * w32-fns.el (x-get-selection): Mark unused parameter.
25956 (autoload-make-program, generated-autoload-file): Declare.
25957
25958 * wdired.el (wdired-revert): Mark unused parameters.
25959 (wdired-xcase-word): Remove unused variable `err'.
25960
25961 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25962 (whitespace-help-scroll): Remove unused variable `data-help'.
25963
25964 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25965 (widget-image-insert, widget-after-change, default)
25966 (widget-default-format-handler, widget-default-notify)
25967 (widget-default-prompt-value, widget-info-link-action)
25968 (widget-url-link-action, widget-function-link-action)
25969 (widget-variable-link-action, widget-file-link-action)
25970 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25971 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25972 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25973 (widget-insert-button-action, widget-delete-button-action, visibility)
25974 (widget-documentation-link-action, widget-documentation-string-action)
25975 (widget-const-prompt-value, widget-regexp-match, symbol)
25976 (widget-coding-system-prompt-value)
25977 (widget-key-sequence-value-to-external, sexp)
25978 (widget-sexp-value-to-internal, character, vector, cons)
25979 (widget-choice-prompt-value, widget-boolean-prompt-value)
25980 (widget-color--choose-action): Mark unused parameters.
25981 (widget-item-match-inline, widget-choice-match-inline)
25982 (widget-checklist-match, widget-checklist-match-inline)
25983 (widget-group-match): Rename parameter VALUES to VALS.
25984 (widget-field-value-set): Remove unused variable `size'.
25985 (widget-color-action): Remove unused variables `value' and `start'.
25986
25987 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25988 variable `dir'. Doc fix.
25989 (windmove-find-other-window): Don't pass it.
25990
25991 * window.el (count-windows): Mark unused parameter.
25992 (bw-adjust-window): Remove unused variable `err'.
25993
25994 * woman.el (woman-file-name): Remove unused variable `default'.
25995 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25996 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25997 (global-font-lock-mode): Declare.
25998 (woman-decode-region): Mark unused parameter.
25999 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26000
26001 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26002 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26003 (x-dnd-handle-moz-url): Remove unused variable `title'.
26004 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26005
26006 * xml.el (xml-parse-tag, xml-parse-attlist):
26007 Remove unused variable `pos'.
26008
26009 2011-04-19 Glenn Morris <rgm@gnu.org>
26010
26011 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26012 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26013 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26014 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26015 * calendar/cal-html.el (cal-html-insert-minical):
26016 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26017 (calendar-mark-date-pattern):
26018 Prefix "unused" locals.
26019
26020 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26021 optional argument `style'.
26022
26023 * calendar/appt.el (appt-make-list):
26024 * calendar/cal-china.el (calendar-chinese-date-string):
26025 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26026 (diary-hebrew-yahrzeit):
26027 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26028 * calendar/calendar.el (calendar-generate-window):
26029 * calendar/time-date.el (time-to-days):
26030 Remove unused local variables.
26031
26032 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26033
26034 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26035 glyphless-char-display table.
26036 (tabulated-list-glyphless-char-display): New var.
26037
26038 2011-04-18 Sam Steingold <sds@gnu.org>
26039
26040 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26041 to acknowledgments.
26042
26043 2011-04-17 Glenn Morris <rgm@gnu.org>
26044
26045 * calendar/diary-lib.el (diary-sexp-entry):
26046 * calendar/holidays.el (holiday-sexp):
26047 Set debug-on-error rather than the removed stack-trace-on-error.
26048
26049 2011-04-16 Glenn Morris <rgm@gnu.org>
26050
26051 * progmodes/f90.el: Use lexical-binding.
26052 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26053
26054 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26055
26056 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26057 (mail-mode): Setup mailalias completion here instead.
26058 * mail/mailalias.el: Use lexical-binding.
26059 (pattern, mailalias-done): Declare dynamic.
26060 (mail-completion-at-point-function): New function, from mail-complete.
26061 (mail-complete): Use it.
26062 (mail-completion-expand): New function.
26063 (mail-get-names): Use it.
26064 (mail-directory, mail-directory-process, mail-directory-stream):
26065 Don't use `pattern' for lexically bound arg.
26066
26067 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26068
26069 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26070 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26071 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26072
26073 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26074 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26075 (byte-interactive-p): Define them again, for use when inlining
26076 old code.
26077
26078 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26079
26080 * loadup.el: Use `string-to-number', not `string-to-int'.
26081
26082 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26083
26084 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26085 gud-gdb-complete-command.
26086 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26087 (gud-gdb-completion-at-point): New function.
26088 (gud-gdb-completions): Remove.
26089
26090 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26091
26092 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26093 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26094 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26095 whether `executable-find' is bound.
26096
26097 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26098
26099 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26100
26101 * minibuffer.el (completion-in-region-mode-predicate)
26102 (completion-in-region-mode--predicate): New vars.
26103 (completion-in-region, completion-in-region--postch)
26104 (completion-in-region-mode): Use them.
26105 (completion--capf-wrapper): Also return the hook function.
26106 (completion-at-point, completion-help-at-point):
26107 Adjust and provide a predicate.
26108
26109 Preserve arg names for advice of subr and lexical functions (bug#8457).
26110 * help-fns.el (help-function-arglist): Consolidate the subr and
26111 new-byte-code cases. Add argument `preserve-names' to extract names
26112 from the docstring when needed.
26113 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26114 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26115 (ad-arglist): Use help-function-arglist's new arg.
26116 (ad-definition-type): Use cond.
26117
26118 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26119
26120 * autorevert.el (auto-revert-handler):
26121 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26122 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26123 Don't quote lambda.
26124
26125 * image-mode.el (image-transform-set-scale):
26126 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26127
26128 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26129
26130 * net/network-stream.el (network-stream-open-starttls): Only do
26131 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26132 Upgrades via gnutls-cli are too slow to be done opportunistically.
26133
26134 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26135
26136 * dframe.el (dframe-current-frame): Remove spurious quote.
26137
26138 2011-04-12 Glenn Morris <rgm@gnu.org>
26139
26140 * calendar/cal-tex.el (cal-tex-end-document):
26141 Try to automatically use latin1 input if needed.
26142
26143 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26144 Don't try to cons a mark onto an empty element.
26145
26146 2011-04-11 Leo Liu <sdl.web@gmail.com>
26147
26148 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26149 buffers.
26150 (ido-kill-buffer-at-head): Support killing virtual buffers.
26151
26152 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26153
26154 * minibuffer.el (completion-show-inline-help): New var.
26155 (completion--do-completion, minibuffer-complete)
26156 (minibuffer-force-complete, minibuffer-complete-word):
26157 Inhibit minibuffer messages if completion-show-inline-help is nil.
26158
26159 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26160 to avoid interference from inline help (Bug#5849).
26161
26162 2011-04-10 Leo Liu <sdl.web@gmail.com>
26163
26164 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26165 Fix typo.
26166
26167 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26168
26169 * image-mode.el (image-toggle-display-image): Signal an error if
26170 not in Image mode.
26171 (image-transform-mode, image-transform-resize)
26172 (image-transform-set-rotation): Doc fix.
26173 (image-transform-set-resize): Delete.
26174 (image-transform-set-scale, image-transform-fit-to-height)
26175 (image-transform-fit-to-width): Handle image-toggle-display-image
26176 and image-transform-resize directly.
26177
26178 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26179
26180 * doc-view.el (doc-view-fit-width-to-window)
26181 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26182 New functions for fitting the shown image to the Emacs window size.
26183 (doc-view-mode-map): Add bindings for the new functions.
26184
26185 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26186
26187 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26188 Fix typo in docstring.
26189
26190 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26191
26192 * files.el (file-size-human-readable): Produce one digit after
26193 decimal, like "ls -lh" does.
26194
26195 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26196 the file size representation.
26197
26198 * simple.el (list-processes): If async subprocesses are not
26199 available, error out with a clear error message.
26200
26201 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26202
26203 * help.el (help-form-show): New function, to be called from C.
26204 Put help-form output in a buffer named differently than *Help*.
26205
26206 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26207
26208 * files.el (file-size-human-readable): New function.
26209
26210 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26211 computing the representation inline. Don't require `cl'.
26212
26213 2011-04-08 Glenn Morris <rgm@gnu.org>
26214
26215 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26216
26217 * net/browse-url.el (browse-url-firefox):
26218 Test system-type, not system-configuration.
26219
26220 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26221 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26222 Use log-edit-empty-buffer-p. (Bug#7598)
26223
26224 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26225 (rlogin-mode-map): Initialize in the defvar.
26226 (rlogin): Use ignore-errors.
26227
26228 * replace.el (occur-mode-map): Some fixes for menu items.
26229
26230 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26231
26232 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26233
26234 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26235
26236 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26237 issuing unused warnings.
26238
26239 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26240 macro directly.
26241
26242 * simple.el: Lisp reimplement of list-processes. Based on an
26243 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26244 (process-menu-mode): New major mode.
26245 (list-processes--refresh, list-processes):
26246 (process-menu-visit-buffer): New functions.
26247
26248 * files.el (save-buffers-kill-emacs): Don't assume any return
26249 value of list-processes, which is undocumented anyway.
26250
26251 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26252
26253 * emacs-lisp/tabulated-list.el: New file.
26254
26255 * emacs-lisp/package.el: Use Tabulated List mode.
26256 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26257 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26258 table format using Tabulated List mode variables.
26259 (package--push): New macro, replacing package-list-maybe-add.
26260 (package-menu--generate): Use package--push. Renamed from
26261 package--generate-package-list.
26262 (package-menu-refresh, list-packages): Use it.
26263 (package-menu--print-info): Rename from package-print-package.
26264 Return insertion data instead of inserting it directly.
26265 (package-menu-describe-package, package-menu-execute):
26266 Use tabulated-list-get-id.
26267 (package-menu-mark-delete, package-menu-mark-install)
26268 (package-menu-mark-unmark, package-menu-backup-unmark)
26269 (package-menu-mark-obsolete-for-deletion):
26270 Use tabulated-list-put-tag.
26271 (package--list-packages, package-menu-revert)
26272 (package-menu-get-package, package-menu-get-version)
26273 (package-menu-sort-by-column): Functions deleted.
26274 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26275 (package-menu--status-predicate, package-menu--version-predicate)
26276 (package-menu--name-predicate)
26277 (package-menu--description-predicate): Handle arguments in the
26278 Tabulated List format.
26279 (package-list-packages-no-fetch): Call list-packages.
26280
26281 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26282
26283 * files.el (after-find-file-from-revert-buffer): Remove variable.
26284 (after-find-file): Don't bind it.
26285 (revert-buffer-in-progress-p): New variable.
26286 (revert-buffer): Bind it.
26287 Pass nil for `after-find-file-from-revert-buffer'.
26288
26289 * saveplace.el (save-place-find-file-hook): Use new variable
26290 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26291
26292 2011-04-06 Glenn Morris <rgm@gnu.org>
26293
26294 * Makefile.in (AUTOGEN_VCS): New variable.
26295 (autoloads): Use $AUTOGEN_VCS.
26296
26297 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26298 * calendar/calendar.el (calendar-mode-map):
26299 Check for toolkit scroll bars. (Bug#8305)
26300
26301 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26302
26303 * minibuffer.el (completion-in-region--postch)
26304 (completion-in-region-mode): Remove unnecessary messages.
26305
26306 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26307
26308 * font-lock.el (font-lock-refresh-defaults):
26309 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26310 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26311
26312 * info.el (Info-directory-list, Info-read-node-name-2)
26313 (Info-split-parameter-string): Doc fixes.
26314 (Info-virtual-nodes): Reflow docstring.
26315 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26316 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26317 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26318 Fix typos in docstrings.
26319 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26320 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26321 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26322 (Info-restore-desktop-buffer): Mark unused parameters.
26323 (Info-directory-find-file, Info-directory-find-node)
26324 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26325 (Info-virtual-index-find-node, Info-apropos-find-file)
26326 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26327 Mark unused parameters; fix typos in docstrings.
26328 (Info-virtual-index): Remove unused local variable `nodename'.
26329
26330 2011-04-05 Deniz Dogan <deniz@dogan.se>
26331
26332 * net/rcirc.el: Update my e-mail address.
26333 (rcirc-mode-map): Remove M-o binding.
26334
26335 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26336
26337 * startup.el (command-line): Save the cursor's theme-face
26338 directly, instead of using face-override-spec.
26339
26340 * custom.el (load-theme): Minor optimization in assigning faces.
26341
26342 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26343
26344 * help-fns.el (describe-variable): Complete all variables having
26345 documentation, including keywords.
26346 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26347
26348 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26349
26350 Convert to lexical-binding.
26351
26352 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26353 (bs--get-marked-string, bs--get-modified-string)
26354 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26355 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26356 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26357
26358 * ehelp.el (electric-help-execute-extended)
26359 (electric-help-ctrl-x-prefix):
26360 * hexl.el (hexl-revert-buffer-function):
26361 * linum.el (linum-after-change, linum-after-scroll):
26362 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26363
26364 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26365
26366 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26367
26368 * epa-dired.el:
26369 * epa-mail.el:
26370 * epa-hook.el:
26371 * epa-file.el:
26372 * epa.el:
26373 * epg.el: Use lexical binding.
26374
26375 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26376
26377 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26378
26379 * textmodes/flyspell.el (flyspell-word): Recognize default
26380 dictionary case for flyspell-mark-duplications-exceptions.
26381 Use regexp matching for languages.
26382 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26383 default dictionary (Bug#7926).
26384
26385 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26386
26387 * emacs-lisp/package.el (package--with-work-buffer):
26388 Recognize https URLs.
26389
26390 * net/network-stream.el: Move from gnus/proto-stream.el.
26391 Change prefix to network-stream throughout.
26392 (open-protocol-stream): Merge into open-network-stream, leaving
26393 open-protocol-stream as an alias. Handle nil BUFFER args.
26394
26395 * subr.el (open-network-stream): Move to net/network-stream.el.
26396
26397 2011-04-02 Glenn Morris <rgm@gnu.org>
26398
26399 * find-dired.el (find-exec-terminator): New option.
26400 (find-ls-option): Test for -ls support.
26401 (find-ls-subdir-switches): Test for -b in find-ls-option.
26402 (find-dired, find-grep-dired): Doc fixes.
26403 (find-dired): Use find-exec-terminator.
26404
26405 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26406 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26407 (find-name-arg): Remove purecopy.
26408
26409 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26410 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26411 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26412 accordingly. Don't add the null-device if not needed.
26413
26414 * files.el (save-some-buffers): Doc fix.
26415
26416 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26417
26418 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26419
26420 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26421
26422 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26423 Use `dolist' rather than `mapcar'.
26424
26425 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26426
26427 Add lexical binding.
26428
26429 * subr.el (apply-partially): Use new closures rather than CL.
26430 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26431 (dolist, dotimes): Use slightly different expansion for lexical code.
26432 (functionp): Move to C.
26433 (letrec): New macro.
26434 (with-wrapper-hook): Use it and apply-partially instead of CL.
26435 (eval-after-load): Preserve lexical-binding.
26436 (save-window-excursion, with-output-to-temp-buffer): Turn them
26437 into macros.
26438
26439 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26440
26441 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26442 than the arglist.
26443 (help-add-fundoc-usage): Don't add `Not documented'.
26444 (help-function-arglist): Handle closures, subroutines, and new
26445 byte-code-functions.
26446 (help-make-usage): Remove leading underscores.
26447 (describe-function-1): Handle closures.
26448 (describe-variable): Use special-variable-p for completion.
26449
26450 * files.el (lexical-binding): Declare safe.
26451
26452 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26453 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26454 (pcase): Add `let' pattern.
26455 Change memoization so it actually works.
26456 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26457 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26458 <let>: New case.
26459
26460 * emacs-lisp/macroexp.el: Use lexical binding.
26461 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26462 Don't convert ' to #' without checking that it's indeed quoting
26463 a lambda.
26464
26465 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26466 Use eval-sexp-add-defvars.
26467 (eval-sexp-add-defvars): New fun.
26468
26469 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26470
26471 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26472 Don't autoload.
26473 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26474 than the internal `byte-compile-lambda'.
26475 (defmethod): Don't hide code under quotes.
26476 (eieio-defmethod): New `code' argument.
26477
26478 * emacs-lisp/eieio-comp.el: Remove.
26479
26480 * emacs-lisp/edebug.el (edebug-eval-defun)
26481 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26482 (edebug-toggle): Avoid `eval'.
26483
26484 * emacs-lisp/disass.el (disassemble-internal): Handle new
26485 `closure' objects.
26486 (disassemble-1): Handle new byte codes.
26487
26488 * emacs-lisp/cl.el (pushnew): Silence warning.
26489
26490 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26491 (cl-byte-compile-throw): Remove.
26492 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26493
26494 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26495 closures.
26496
26497 * emacs-lisp/cconv.el: New file.
26498
26499 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26500 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26501 (byte-compile-initial-macro-environment):
26502 Handle declare-function here.
26503 (byte-compile--lexical-environment): New var.
26504 (byte-stack-ref, byte-stack-set, byte-discardN)
26505 (byte-discardN-preserve-tos): New lap codes.
26506 (byte-interactive-p): Don't use any more.
26507 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26508 New macros.
26509 (byte-compile-lapcode): Use them and handle new lap codes.
26510 (byte-compile-obsolete): Remove.
26511 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26512 (byte-compile-arglist-warn): Check late def of inlinable funs.
26513 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26514 since they should have been expanded by now.
26515 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26516 (byte-compile-from-buffer): Remove unused second arg.
26517 (byte-compile-preprocess): New function.
26518 (byte-compile-toplevel-file-form): New function to distinguish
26519 file-form calls from outside from file-form calls from hunk-handlers.
26520 (byte-compile-file-form): Simplify.
26521 (byte-compile-file-form-defsubst): Remove.
26522 (byte-compile-file-form-defmumble): Simplify now that
26523 byte-compile-lambda always returns a byte-code-function.
26524 (byte-compile): Preprocess.
26525 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26526 Remove, not used any more.
26527 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26528 (byte-compile-make-args-desc): New funs.
26529 (byte-compile-lambda): Handle lexical functions. Always return
26530 a byte-code-function.
26531 (byte-compile-reserved-constants): New var, to make up room for
26532 closed-over variables.
26533 (byte-compile-constants-vector): Obey it.
26534 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26535 (byte-compile-macroexpand-declare-function): New function.
26536 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26537 byte-code-functions.
26538 (byte-compile-form): Check obsolescence here.
26539 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26540 (byte-compile-variable-ref): Remove.
26541 (byte-compile-dynamic-variable-op): New fun.
26542 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26543 (byte-compile-variable-set): New funs.
26544 (byte-compile-discard): Add 2 args.
26545 (byte-compile-stack-ref, byte-compile-stack-set)
26546 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26547 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26548 macroexpand-all instead.
26549 (byte-compile-quote-form): Remove.
26550 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26551 (byte-compile-bind, byte-compile-unbind): New funs.
26552 (byte-compile-let): Handle let* and lexical binding.
26553 (byte-compile-let*): Remove.
26554 (byte-compile-catch, byte-compile-unwind-protect)
26555 (byte-compile-track-mouse, byte-compile-condition-case):
26556 Handle a new :fun-body form, used for lexical scoping.
26557 (byte-compile-save-window-excursion)
26558 (byte-compile-with-output-to-temp-buffer): Remove.
26559 (byte-compile-defun): Simplify.
26560 (byte-compile-stack-adjustment): New fun.
26561 (byte-compile-out): Use it.
26562 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26563
26564 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26565 handler any more.
26566
26567 * emacs-lisp/byte-opt.el: Use lexical binding.
26568 (byte-inline-lapcode): Remove (to bytecomp).
26569 (byte-compile-inline-expand): Pay attention to inlining to/from
26570 lexically bound code.
26571 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26572 any more.
26573 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26574 any more and don't call compiler-macros.
26575 (byte-compile-splice-in-already-compiled-code): Remove.
26576 (byte-code): Don't inline any more.
26577 (disassemble-offset): Receive `bytes' as argument rather than via
26578 dynamic scoping.
26579 (byte-compile-tag-number): Declare before first use.
26580 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26581 `return' even if make-spliceable.
26582 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26583 obsolete interactive-p.
26584 (byte-optimize-lapcode): Optimize new lap-codes.
26585 Don't trip up on new form of `byte-constant' lap code.
26586
26587 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26588
26589 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26590
26591 * custom.el (custom-initialize-default, custom-declare-variable):
26592 Use `defvar'.
26593
26594 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26595 New variables.
26596 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26597 (COMPILE_FIRST): Add macroexp and cconv.
26598 * makefile.w32-in: Mirror changes in Makefile.in.
26599
26600 * vc/cvs-status.el:
26601 * vc/diff-mode.el:
26602 * vc/log-edit.el:
26603 * vc/log-view.el:
26604 * vc/smerge-mode.el:
26605 * textmodes/bibtex-style.el:
26606 * textmodes/css-mode.el:
26607 * startup.el:
26608 * uniquify.el:
26609 * minibuffer.el:
26610 * newcomment.el:
26611 * reveal.el:
26612 * server.el:
26613 * mpc.el:
26614 * emacs-lisp/smie.el:
26615 * doc-view.el:
26616 * dired.el:
26617 * abbrev.el: Use lexical binding.
26618
26619 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26620
26621 * info.el (info-display-manual): New function.
26622
26623 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26624
26625 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26626
26627 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26628
26629 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26630 an entry for that server in rcirc-authinfo. (Bug#8385)
26631
26632 2011-03-31 Glenn Morris <rgm@gnu.org>
26633
26634 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26635
26636 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26637
26638 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26639
26640 * progmodes/python.el (python-default-interpreter)
26641 (python-python-command-args, python-jython-command-args)
26642 (python-which-shell, python-which-args, python-which-bufname)
26643 (python-file-queue, python-comint-output-filter-function)
26644 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26645 variables and functions.
26646
26647 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26648
26649 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26650 (completion-in-region-mode): New minor mode.
26651 (completion-in-region): Use it.
26652 (completion-in-region--data, completion-in-region-mode-map): New vars.
26653 (completion-in-region--postch): New function.
26654 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26655 New vars.
26656 (completion--capf-wrapper): New function.
26657 (completion-at-point): Use it to track well-behavedness of
26658 hook functions.
26659 (completion-help-at-point): New command.
26660
26661 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26662
26663 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26664 syntax class to search for whitespace on a single line
26665 (Message-ID: <4D938140.4030905@redhat.com>).
26666
26667 2011-03-30 Leo Liu <sdl.web@gmail.com>
26668
26669 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26670 New commands.
26671 (edit-abbrevs-map): Bind them here.
26672 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26673
26674 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26675
26676 * allout.el (allout-hide-by-annotation, allout-flag-region):
26677 Reduce possibility of overlay leakage by making them volatile.
26678
26679 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26680 hash is not shared between buffers. Mode initialization is
26681 responsible for giving it a useful starting value.
26682 (allout-item-span): Reduce possibility of overlay leakage by
26683 making them volatile.
26684 (allout-widgets-count-buttons-in-region): Add diagnostic function
26685 for tracking down button overlay leaks.
26686
26687 2011-03-29 Leo Liu <sdl.web@gmail.com>
26688
26689 * ido.el (ido-read-internal): Use the default history var
26690 minibuffer-history if no HISTORY is specified.
26691
26692 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26693
26694 * net/imap.el (imap-shell-open, imap-process-connection-type):
26695 Use imap-process-connection-type for 'shell' streams as well as
26696 Kerberos, SSL, other subprocesses.
26697
26698 2011-03-28 Leo Liu <sdl.web@gmail.com>
26699
26700 * abbrev.el (abbrev-table-empty-p): New function.
26701 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26702 nonempty ones. (Bug#5937)
26703
26704 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26705
26706 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26707
26708 2011-03-27 Leo Liu <sdl.web@gmail.com>
26709
26710 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26711 for foreground and background colors.
26712 (ansi-color-make-color-map): Adapt.
26713
26714 2011-03-25 Leo Liu <sdl.web@gmail.com>
26715
26716 * midnight.el (midnight-time-float): Remove. Note it calculates
26717 the microsecond component incorrectly and seconds-to-time does the
26718 same job.
26719 Remove redundant (require 'timer).
26720
26721 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26722 (ido-completions): Remove unused arguments. (Bug#8329)
26723
26724 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26725
26726 * minibuffer.el (completion--flush-all-sorted-completions):
26727 Remove itself from hook.
26728 (completion-at-point): Let the functions perform the completion
26729 immediately and return nil or t.
26730 * comint.el (comint-dynamic-complete-functions): Now identical to
26731 completion-at-point-functions.
26732 (comint-dynamic-list-input-ring): Remove unused var `index'.
26733 (comint--match-partial-filename, comint--unquote&expand-filename):
26734 New funs, split from comint-match-partial-filename.
26735 (comint-dynamic-complete): Use completion-at-point.
26736 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26737
26738 2011-03-24 Drew Adams <drew.adams@oracle.com>
26739
26740 * thingatpt.el: Support `defun'.
26741
26742 2011-03-23 Leo Liu <sdl.web@gmail.com>
26743
26744 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26745
26746 * help-mode.el (help-mode-finish): Tweak regexp.
26747
26748 2011-03-23 Glenn Morris <rgm@gnu.org>
26749
26750 * eshell/esh-opt.el (eshell-eval-using-options):
26751 Do not bind unused local variable `eshell-option-stub'.
26752
26753 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26754
26755 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26756
26757 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26758 keymap variable in `with-no-warnings' to avoid a warning when the
26759 keymap has been already `defconst'ed.
26760
26761 2011-03-22 Leo Liu <sdl.web@gmail.com>
26762
26763 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26764 encode all chars in abbrevs; otherwise use emacs-mule or
26765 utf-8-emacs. (Bug#8308)
26766
26767 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26768
26769 * simple.el (backward-delete-char-untabify):
26770 Avoid warning about using `delete-backward-char'.
26771
26772 * image.el (image-type-file-name-regexps): Make it variable.
26773 `imagemagick-register-types' modifies it, and the user may want
26774 to add new extensions for known image types.
26775 (imagemagick-register-types): Throw error if not using ImageMagick.
26776
26777 2011-03-22 Leo Liu <sdl.web@gmail.com>
26778
26779 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26780 located before rcirc-prompt-end-marker.
26781 (rcirc-complete): Error if point is not after rcirc prompt.
26782 Handle the case when table is nil.
26783 (rcirc-user-authenticated): Define to fix compiler warning.
26784
26785 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26786
26787 * custom.el (custom--inhibit-theme-enable): Make it affect only
26788 custom-theme-set-variables and custom-theme-set-faces.
26789 (provide-theme): Ignore custom--inhibit-theme-enable.
26790 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26791 (custom-enabling-themes): Delete variable.
26792 (enable-theme): Accept only loaded themes as arguments.
26793 Ignore the special custom-enabled-themes variable.
26794 (custom-enabled-themes): Forbid themes from setting this.
26795 Eliminate use of custom-enabling-themes.
26796 (custom-push-theme): Quote "changed" custom var entry.
26797
26798 2011-03-21 Leo Liu <sdl.web@gmail.com>
26799
26800 * ido.el (ido-read-internal): Add ido-selected to history instead
26801 of user input.
26802
26803 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26804
26805 * subr.el (deferred-action-list, deferred-action-function):
26806 Mark obsolete.
26807
26808 2011-03-21 Leo Liu <sdl.web@gmail.com>
26809
26810 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26811 change on 2011-02-13 (bug#8309).
26812
26813 * minibuffer.el (read-file-name-function): Change default value.
26814 (read-file-name--defaults): Rename from read-file-name-defaults.
26815 (read-file-name-default): Rename from read-file-name.
26816 (read-file-name): Call read-file-name-function.
26817
26818 2011-03-21 Glenn Morris <rgm@gnu.org>
26819
26820 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26821 Doc fixes.
26822
26823 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26824
26825 * cus-theme.el: Add missing provide statement.
26826 (customize-create-theme): Extract theme value correctly.
26827 (custom-theme-visit-theme): Autoload.
26828 (customize-create-theme): Prompt before inserting default faces.
26829
26830 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26831
26832 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26833 units and musical notes.
26834
26835 2011-03-20 Leo Liu <sdl.web@gmail.com>
26836
26837 * ido.el (ido-read-internal): Use completing-read-default.
26838 (ido-completing-read): Fix compatibility with completing-read.
26839
26840 2011-03-20 Christian Ohler <ohler@gnu.org>
26841
26842 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26843 (ert-delete-all-tests): Use `called-interactively-p' rather than
26844 `interactive-p'.
26845 (ert--make-xrefs-region): Respect END.
26846
26847 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26848
26849 * dired-aux.el (dired-create-directory): Signal an error if the
26850 directory already exists (Bug#8246).
26851
26852 * facemenu.el (list-colors-display): Call list-faces-display
26853 inside with-help-window.
26854 (list-colors-print): Use display property to align the final
26855 column, instead of checking window-width.
26856
26857 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26858
26859 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26860 windows-nt systems.
26861 (emerge-protect-metachars): Quote correctly for ms-dos and
26862 windows-nt systems.
26863
26864 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26865
26866 * info.el (info-initialize): Replace all uses of `:' with
26867 path-separator for compatibility with non-Unix systems.
26868 Cache quoting of path-separator. (Bug#8258)
26869
26870 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26871
26872 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26873 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26874 (mouse-avoidance-mode): Fix typos in docstrings.
26875
26876 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26877
26878 * startup.el (package-subdirectory-regexp): Move from package.el.
26879 Omit \\` and \\', and let callers add them.
26880
26881 * emacs-lisp/package.el (package-strip-version)
26882 (package-load-all-descriptors): Add \\` and \\' to
26883 package-subdirectory-regexp before using it.
26884 (package-untar-buffer): New arg DIR; ensure that file untars only
26885 into this expected directory. Remove superfluous delete-region.
26886 (package-unpack): Caller changed.
26887 (package-tar-file-info): Use package-subdirectory-regexp.
26888
26889 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26890
26891 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26892 diff-mode-shared-map (bug#8284).
26893 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26894
26895 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26896
26897 * calendar/time-date.el (format-seconds): Use assoc instead of
26898 assoc-string, since assoc-string doesn't exist in XEmacs.
26899
26900 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26901
26902 * custom.el (custom-known-themes): Reflow docstring.
26903 (custom-theme-load-path): Fix typo in docstring.
26904 (load-theme): Fix typo in error message.
26905 (custom-available-themes, custom-variable-theme-value):
26906 Use `let', not `let*'.
26907
26908 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26909
26910 * calc/README: Mention inclusion of musical notes.
26911
26912 * calc/calc-units.el (calc-lu-quant): Rename from
26913 `calc-logunits-quantity'.
26914 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26915 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26916 (calc-db): Rename from `calc-dblevel'.
26917 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26918 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26919 (calc-np): Rename from `calc-nplevel'.
26920 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26921 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26922 (calc-lu-plus): Rename from `calc-logunits-add'.
26923 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26924 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26925 (calc-lu-minus): Rename from `calc-logunits-sub'.
26926 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26927 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26928 (calc-lu-times): Rename from `calc-logunits-mul'.
26929 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26930 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26931 (calc-lu-divide): Rename from `calc-logunits-div'.
26932 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26933 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26934
26935 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26936 functions being autoloaded.
26937
26938 * calc/calc.el (calc-lu-power-reference): Rename from
26939 `calc-logunits-power-reference'.
26940 (calc-lu-field-reference): Rename from
26941 `calc-logunits-field-reference'.
26942
26943 * calc/calc-help.el (calc-l-prefix-help):
26944 Mention musical note functions.
26945
26946 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26947
26948 * minibuffer.el (completion-all-sorted-completions):
26949 Use :completion-cycle-penalty text property if present.
26950
26951 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26952
26953 * allout.el (allout-yank-processing): Adjust for new rebulleting
26954 regime so bullet being yanked is used without prompting the user
26955 for a choice.
26956
26957 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26958
26959 * startup.el (command-line): Warn the user that _emacs is deprecated.
26960
26961 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26962
26963 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26964 (delphi-verbose, delphi-comment-face, delphi-string-face)
26965 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26966 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26967 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26968 (delphi-new-comment-line, delphi-font-lock-defaults)
26969 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26970 Fix typos in docstrings.
26971
26972 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26973
26974 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26975 Invert the roles of character and string values for INSTEAD, so a
26976 string is used for the more common case of a defaulting prompt.
26977
26978 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26979
26980 * progmodes/ruby-mode.el (ruby-backward-sexp):
26981 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26982 * play/gamegrid.el (gamegrid-make-face):
26983 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26984 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26985 * notifications.el (notifications-notify):
26986 * net/xesam.el (xesam-search-engines):
26987 * net/quickurl.el (quickurl-list-insert):
26988 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26989
26990 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26991
26992 * startup.el (command-line): Update package subdirectory regexp.
26993
26994 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26995
26996 * allout.el (allout-abbreviate-flattened-numbering)
26997 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26998
26999 * subr.el (read-char-choice): Only show the cursor after the prompt,
27000 not after the answer.
27001
27002 2011-03-15 Kevin Ryde <user42@zip.com.au>
27003
27004 * help-fns.el (variable-at-point): Skip leading quotes, if any
27005 (bug#8253).
27006
27007 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27008
27009 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27010 warning message.
27011
27012 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27013
27014 * shell.el (shell): When called interactively, offer to change the
27015 shell file name on remote hosts.
27016
27017 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27018
27019 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27020 integration for LDAP parameters. The host, base, user or binddn,
27021 and secret tokens can be specified in a netrc file, for instance.
27022 This is optional because an `auth-source' parameter must be
27023 specified in the search attributes.
27024
27025 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27026
27027 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27028
27029 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27030
27031 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27032 into declaration. Remove redundant and harmful binding.
27033
27034 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27035
27036 * files.el (file-ownership-preserved-p): Pass `integer' as an
27037 explicit 2nd argument to `file-attributes'. If the file's owner
27038 is the Administrators group on Windows, and the current user is
27039 Administrator, consider that a match.
27040
27041 * server.el (server-ensure-safe-dir): Consider server directory
27042 safe on MS-Windows if its owner is the Administrators group while
27043 the current Emacs user is Administrator. Use `=' to compare
27044 numerical UIDs, since they could be integers or floats.
27045
27046 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27047
27048 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27049
27050 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27051
27052 Sync with Tramp 2.2.1.
27053
27054 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27055
27056 * net/trampver.el: Update release number.
27057
27058 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27059
27060 * progmodes/compile.el (compilation--previous-directory): Fix up
27061 various nil/dead-marker mismatches (bug#8014).
27062 (compilation-directory-properties, compilation-error-properties):
27063 Don't call it at a position past the one we're about to change.
27064
27065 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27066 Disable obsolescence warnings in the file that declares it.
27067
27068 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27069
27070 * allout-widgets.el (allout-widgets-tally):
27071 Initialize allout-widgets-tally as a hash table rather than nil to
27072 prevent mode-line redisplay warnings. Also, clarify the module
27073 description and fix a comment typo.
27074
27075 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27076
27077 * help-fns.el (describe-variable): Don't complete keywords.
27078 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27079
27080 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27081
27082 * emacs-lisp/package.el (package-version-join): Impose a standard
27083 string representation for pre/alpha/beta version lists.
27084 (package-unpack-single): Standardize the directory name by passing
27085 it through package-version-join.
27086 (package-strip-rcs-id): Accept any version string that does not
27087 signal an error in version-to-list.
27088
27089 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27090
27091 * simple.el (delete-trailing-whitespace): Return nil for the
27092 benefit of `write-file-functions'.
27093
27094 2011-03-10 Glenn Morris <rgm@gnu.org>
27095
27096 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27097
27098 * vc/vc-git.el (vc-git-program): New option.
27099 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27100 (vc-git--call): Use it.
27101
27102 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27103
27104 * cus-edit.el (Custom-newline): If no button at point, look
27105 for a subgroup button at start-of-line. (Bug#2298)
27106
27107 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27108
27109 2011-03-10 Julien Danjou <julien@danjou.info>
27110
27111 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27112 `cursor-type' is nil.
27113
27114 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27115
27116 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27117
27118 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27119
27120 * allout.el: Change so yank of distinctive-bullet items
27121 preserves the existing header prefix, rebulleting it if necessary,
27122 rather than replacing it. This is necessary for proper operation
27123 of cooperative addons like allout-widgets.
27124 (allout-make-topic-prefix, allout-rebullet-heading):
27125 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27126 value as alternate bullet to be used, instead of prompting the user
27127 for a bullet character.
27128
27129 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27130
27131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27132 Do not use `tramp-file-name-port', because this returns also
27133 `tramp-default-port'.
27134
27135 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27136
27137 * net/rcirc.el (rcirc-handler-001): Remove useless
27138 with-rcirc-process-buffer.
27139 (rcirc-check-auth-status): Swap arguments to string-match.
27140
27141 2011-03-09 Glenn Morris <rgm@gnu.org>
27142
27143 * shell.el (shell-mode):
27144 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27145
27146 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27147 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27148
27149 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27150
27151 * emacs-lisp/package.el (package-refresh-contents)
27152 (package-menu-execute): Use condition-case-no-debug.
27153
27154 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27155
27156 * simple.el (shell-command-to-string): Use `process-file'.
27157
27158 * emacs-lisp/package.el (package-tar-file-info): Handle also
27159 remote files.
27160
27161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27162 Use `equal' for upload base check.
27163
27164 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27165
27166 * textmodes/texinfo.el (texinfo-environments):
27167 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27168
27169 2011-03-08 Glenn Morris <rgm@gnu.org>
27170
27171 * cus-start.el (cursor-in-non-selected-windows):
27172 Fix :set quoting oddness. (Bug#8192)
27173
27174 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27175 in some setf expressions. (Bug#2159)
27176
27177 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27178
27179 * custom.el (custom-available-themes): Return themes in
27180 alphabetical order.
27181
27182 See ChangeLog.15 for earlier changes.
27183
27184 ;; Local Variables:
27185 ;; coding: utf-8
27186 ;; End:
27187
27188 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27189
27190 This file is part of GNU Emacs.
27191
27192 GNU Emacs is free software: you can redistribute it and/or modify
27193 it under the terms of the GNU General Public License as published by
27194 the Free Software Foundation, either version 3 of the License, or
27195 (at your option) any later version.
27196
27197 GNU Emacs is distributed in the hope that it will be useful,
27198 but WITHOUT ANY WARRANTY; without even the implied warranty of
27199 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27200 GNU General Public License for more details.
27201
27202 You should have received a copy of the GNU General Public License
27203 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.