* lisp/progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5 regexp-opt's `words'.
6
7 2013-05-16 Leo Liu <sdl.web@gmail.com>
8
9 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10 (smie--highlight-matching-block-overlay)
11 (smie--highlight-matching-block-lastpos)
12 (smie--highlight-matching-block-timer): New variables.
13 (smie-highlight-matching-block): New function.
14 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15 (smie-setup): Conditionally enable smie-blink-matching-open.
16
17 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
18
19 Sync with upstream verilog-mode r840.
20 * progmodes/verilog-mode.el (verilog-mode-version)
21 (verilog-mode-release-date): Update.
22 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23 (verilog-sig-tieoff): Fix string error on
24 AUTORESET with colon define, bug594. Reported by Andrew Hou.
25 (verilog-read-decls): Fix parameters confusing
26 AUTOINST interfaces, bug565. Reported by Leith Johnson.
27
28 2013-05-16 Eli Zaretskii <eliz@gnu.org>
29
30 * subr.el (reveal-filename): New function.
31
32 * loadup.el: Compute Emacs executable versions on MS-Windows,
33 where executables have the .exe extension. Add a hard link
34 emacs-XX.YY.ZZ.exe on MS-Windows.
35
36 * Makefile.in (XARGS_LIMIT): New variable.
37 (custom-deps, finder-data, autoloads)
38 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
39 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
40 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
41 (compile-main): Limit xargs according to $(XARGS_LIMIT).
42
43 2013-05-16 Leo Liu <sdl.web@gmail.com>
44
45 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
46 (octave-mode-menu, octave-mode-map): Remove its uses.
47
48 2013-05-16 Reto Zimmermann <reto@gnu.org>
49
50 Sync with upstream vhdl mode v3.34.2.
51 * progmodes/vhdl-mode.el: Use `push' throughout.
52 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
53 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
54 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
55 (vhdl-actual-generic-name): New option to derive actual generic name.
56 (vhdl-port-paste-signals): Replace formal by actual generics.
57 (vhdl-beautify): New name for old group vhdl-align. Update users.
58 (vhdl-beautify-options): New option.
59 (vhdl-last-input-event): New compat alias. Use throughout.
60 (vhdl-goto-line): Replace user level function `goto-line'.
61 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
62 vhdl-fix-statement-buffer.
63 (vhdl-create-mode-menu): Add some entries.
64 (vhdl-align-region-groups): Respect vhdl-beautify-options.
65 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
66 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
67 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
68 to force statements on one line.
69 (vhdl-remove-trailing-spaces-region):
70 New, split from vhdl-remove-trailing-spaces.
71 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
72 Respect vhdl-beautify-options.
73 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
74 (vhdl-update-sensitivity-list): Not add with index if exists without.
75 Not include array index with signal. Ignore keywords in comments.
76 (vhdl-get-visible-signals): Regexp tweaks.
77 (vhdl-template-component-inst): Handle empty library.
78 (vhdl-template-type): Add template for 'enum' type.
79 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
80 Use vhdl-replace-string.
81 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
82 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
83 (vhdl-speedbar-initialize): Update for above name change.
84 (vhdl-compose-wire-components): Fix in handling of constants.
85 (vhdl-error-regexp-emacs-alist): New variable.
86 (vhdl-error-regexp-add-emacs): New function;
87 adds support for new compile.el (Emacs 22+)
88 (vhdl-generate-makefile-1): Change target order for single lib. units.
89 Allow use of absolute file names.
90
91 2013-05-16 Leo Liu <sdl.web@gmail.com>
92
93 * simple.el (prog-indent-sexp): Indent enclosing defun.
94
95 2013-05-15 Glenn Morris <rgm@gnu.org>
96
97 * cus-start.el (show-trailing-whitespace): Move to editing basics.
98 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
99 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
100 (whitespace-highlight): Move to whitespace group.
101
102 * comint.el (comint-source):
103 * pcmpl-linux.el (pcmpl-linux):
104 * shell.el (shell-faces):
105 * eshell/esh-opt.el (eshell-opt):
106 * international/ccl.el (ccl): Remove empty custom groups.
107
108 * completion.el (dynamic-completion-mode):
109 * jit-lock.el (jit-lock-debug-mode):
110 * minibuffer.el (completion-in-region-mode):
111 * type-break.el (type-break-mode-line-message-mode)
112 (type-break-query-mode):
113 * emulation/tpu-edt.el (tpu-edt-mode):
114 * progmodes/subword.el (global-subword-mode, global-superword-mode):
115 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
116 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
117
118 * term/xterm.el (xterm): Change parent group to terminals.
119
120 * master.el (master): Remove empty custom group.
121 (master-mode): Remove unused :group argument.
122 * textmodes/refill.el (refill): Remove empty custom group.
123 (refill-mode): Remove unused :group argument.
124
125 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
126
127 * cus-dep.el: Provide a feature.
128 (custom-make-dependencies): Ignore dotfiles (dir-locals).
129 Don't mistakenly ignore files whose basenames match a basename
130 from preloaded-file-list (eg cedet/ede/simple.el).
131 Add a fallback method for getting :group.
132
133 2013-05-15 Juri Linkov <juri@jurta.org>
134
135 * isearch.el (isearch-char-by-name): Rename from
136 `isearch-insert-char-by-name'. Doc fix.
137 (isearch-forward): Mention `isearch-char-by-name' in
138 the docstring. (Bug#13348)
139
140 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
141 `exit-minibuffer' instead of
142 `isearch-nonincremental-exit-minibuffer'.
143 (isearch-edit-string): Remove mention of
144 `isearch-nonincremental-exit-minibuffer' from docstring.
145 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
146 (isearch-forward-exit-minibuffer)
147 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
148
149 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * loadup.el: Just use unversioned DOC.
152
153 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
154 literals as extending to EOB.
155 (nxml-last-fontify-end): Remove unused variable.
156 (nxml-after-change1): Use with-silent-modifications.
157 (nxml-extend-after-change-region): Simplify.
158 (nxml-extend-after-change-region1): Remove function.
159 (nxml-after-change1): Don't adjust for dependent regions.
160 (nxml-fontify-matcher): Simplify.
161 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
162 (xmltok-add-dependent): Remove function.
163 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
164 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
165 (xmltok-scan-prolog-after-processing-instruction-open): Treat
166 unclosed <[[, <?, comment, and other literals as extending to EOB.
167 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
168 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
169 Remove functions.
170 (rng-do-some-validation-1): Don't mark dependent regions.
171 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
172 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
173 (nxml-clear-dependent-regions): Remove functions.
174 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
175 (nxml-ensure-scan-up-to-date):
176 Don't clear&mark dependent regions.
177
178 2013-05-15 Leo Liu <sdl.web@gmail.com>
179
180 * progmodes/octave.el (octave-goto-function-definition):
181 Improve and fix callers.
182
183 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
186 the setter (bug#14387).
187
188 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
189 surrounding group (bug#14402).
190
191 2013-05-14 Juri Linkov <juri@jurta.org>
192
193 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
194 (Bug#14390)
195
196 2013-05-14 Glenn Morris <rgm@gnu.org>
197
198 * progmodes/f90.el (f90-imenu-generic-expression):
199 Fix typo in 2013-05-08 change. (Bug#14402)
200
201 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
202
203 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
204 Remove signals for which replies are never received.
205
206 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
207
208 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
209 (gdb-handler-alist, gdb-handler-number): Remove variables.
210 (gdb-handler-list): New variable.
211 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
212 (gdb-pending-handler-p, gdb-handle-reply)
213 (gdb-remove-all-pending-triggers): New functions.
214 (gdb-discard-unordered-replies): New defcustom.
215 (gdb-handler): New defstruct.
216 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
217 instead of gdb-pending-triggers. Update docstring.
218 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
219 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
220 (gdb-var-update-handler, def-gdb-auto-update-trigger)
221 (def-gdb-auto-update-handler, gdb-get-changed-registers)
222 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
223 (gdb-frame-handler): Pending triggers are now automatically managed.
224 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
225 Remove argument.
226 (gdb-input): Automatically handles pending triggers. Update docstring.
227 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
228 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
229 Update comments.
230 (gdb-done-or-error): Now use gdb-handle-reply.
231
232 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
233
234 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
235 gdb-debug-log.
236
237 2013-05-14 Glenn Morris <rgm@gnu.org>
238
239 * subr.el (user-emacs-directory-warning): New option.
240 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
241
242 2013-05-14 Leo Liu <sdl.web@gmail.com>
243
244 * progmodes/octave.el (octave-font-lock-keywords): Fix error
245 during redisplay.
246 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
247 (octave-font-lock-texinfo-comment): Fix invalid search bound
248 error: wrong side of point.
249
250 2013-05-14 Glenn Morris <rgm@gnu.org>
251
252 * progmodes/flymake.el (flymake-xml-program): New option.
253 (flymake-xml-init): Use it.
254
255 * term/xterm.el: Provide a feature.
256
257 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
258
259 2013-05-13 Glenn Morris <rgm@gnu.org>
260
261 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
262 Add compat aliases as a hack workaround. (Bug#14384)
263
264 2013-05-13 Leo Liu <sdl.web@gmail.com>
265
266 * progmodes/octave.el (octave-indent-comment): Fix indentation for
267 ###, and %!.
268 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
269 C-M-q.
270 (octave-comment-start-skip): Include %!.
271 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
272
273 2013-05-12 Leo Liu <sdl.web@gmail.com>
274
275 * progmodes/octave.el (inferior-octave-startup): Store the value
276 of __octave_srcdir__ for octave-source-directories.
277 (inferior-octave-check-process): New function refactored out of
278 inferior-octave-send-list-and-digest.
279 (octave-source-directories)
280 (octave-find-definition-filename-function): New variables.
281 (octave-source-directories)
282 (octave-find-definition-default-filename): New functions.
283 (octave-find-definition): Improve to find functions implemented in C++.
284
285 2013-05-12 Glenn Morris <rgm@gnu.org>
286
287 * calendar/diary-lib.el (diary-outlook-format-1):
288 Don't include dayname in the output. (Bug#14349)
289
290 2013-05-11 Glenn Morris <rgm@gnu.org>
291
292 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
293
294 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
295 Treat cc-provide like provide.
296
297 2013-05-11 Kevin Ryde <user42@zip.com.au>
298
299 * cus-dep.el (custom-make-dependencies):
300 Use generated-autoload-load-name for the sake of files such
301 such cedet/semantic/bovine/c.el, where the base file name
302 is not in load-path. (Bug#5277)
303
304 2013-05-11 Glenn Morris <rgm@gnu.org>
305
306 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
307 Provide features.
308
309 2013-05-11 Leo Liu <sdl.web@gmail.com>
310
311 * progmodes/octave.el (octave-indent-comment): Improve.
312 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
313 (octave-eldoc-function-signatures, octave-eldoc-function):
314 New functions.
315 (octave-mode, inferior-octave-mode): Add eldoc support.
316
317 2013-05-11 Richard Stallman <rms@gnu.org>
318
319 * epa.el (epa-decrypt-file): Take output file name as argument
320 and read it using `interactive'.
321
322 2013-05-11 Leo Liu <sdl.web@gmail.com>
323
324 * progmodes/octave.el (octave-beginning-of-line)
325 (octave-end-of-line): Check before using up-list because it jumps
326 out of more syntactic contructs since moving to smie.
327 (octave-indent-comment): New function.
328 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
329 (octave-begin-keywords, octave-end-keywords)
330 (octave-reserved-words, octave-smie-bnf-table)
331 (octave-smie-rules): Add new keywords from Octave 3.6.4.
332
333 2013-05-11 Glenn Morris <rgm@gnu.org>
334
335 * faces.el (internal-face-x-get-resource):
336 * frame.el (ns-display-monitor-attributes-list):
337 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
338
339 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
340
341 * calc/calc-menu.el: Make it loadable in isolation.
342
343 * net/eudcb-bbdb.el: Make it loadable without bbdb.
344 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
345 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
346 (eudc-bbdb-query-internal): Require 'bbdb.
347
348 * lpr.el (lpr-headers-switches):
349 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
350
351 * progmodes/sql.el (sql-login-params): Fix and improve :type.
352
353 * emulation/edt-mapper.el: In batch mode, error rather than hang.
354
355 * term.el (term-set-escape-char): Make it idempotent.
356
357 2013-05-10 Leo Liu <sdl.web@gmail.com>
358
359 * progmodes/octave.el (inferior-octave-completion-table):
360 No longer a function and all uses changed. Use cache to speed up
361 completion due to bug#11906.
362 (octave-beginning-of-defun): Re-write to be more general.
363
364 2013-05-10 Glenn Morris <rgm@gnu.org>
365
366 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
367
368 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * comint.el (comint-redirect-send-command-to-process): Use :around
371 rather than :override for comint-redirect-filter.
372 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
373 Call it instead of comint-redirect-original-filter-function (which
374 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
375
376 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
377
378 * frame.el (display-monitor-attributes-list): Add NS case.
379 (ns-display-monitor-attributes-list): Declare.
380
381 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
382
383 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
384
385 2013-05-09 Glenn Morris <rgm@gnu.org>
386
387 * international/fontset.el (vertical-centering-font-regexp):
388 Set standard-value.
389
390 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
391
392 * bookmark.el (bookmark-search-delay):
393 * cus-start.el (vertical-centering-font-regexp):
394 * ps-mule.el (ps-mule-font-info-database-default):
395 * ps-print.el (ps-default-fg, ps-default-bg):
396 * type-break.el (type-break-good-break-interval):
397 * whitespace.el (whitespace-indentation-regexp)
398 (whitespace-space-after-tab-regexp):
399 * emacs-lisp/testcover.el (testcover-1value-functions)
400 (testcover-noreturn-functions, testcover-progn-functions)
401 (testcover-prog1-functions):
402 * emulation/viper-init.el (viper-emacs-state-cursor-color):
403 * eshell/em-glob.el (eshell-glob-translate-alist):
404 * play/tetris.el (tetris-tty-colors):
405 * progmodes/cpp.el (cpp-face-default-list):
406 * progmodes/flymake.el (flymake-allowed-file-name-masks):
407 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
408 (idlwave-help-browser-generic-args):
409 * progmodes/make-mode.el (makefile-special-targets-list):
410 * progmodes/python.el (python-shell-virtualenv-path):
411 * progmodes/verilog-mode.el (verilog-active-low-regexp)
412 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
413 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
414 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
415 * textmodes/reftex-vars.el (reftex-format-label-function):
416 * textmodes/remember.el (remember-diary-file): Fix custom types.
417
418 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
419 Add :version.
420
421 2013-05-09 Leo Liu <sdl.web@gmail.com>
422
423 * progmodes/octave.el (inferior-octave-completion-at-point):
424 Restore file completion. (Bug#14300)
425 (inferior-octave-startup): Fix incorrect highlighting for the
426 first prompt.
427
428 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * progmodes/ruby-mode.el: First cut at SMIE support.
431 (ruby-use-smie): New var.
432 (ruby-smie-grammar): New constant.
433 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
434 (ruby-smie--forward-token, ruby-smie--backward-token)
435 (ruby-smie-rules): New functions.
436 (ruby-mode-variables): Setup SMIE if applicable.
437
438 2013-05-08 Eli Zaretskii <eliz@gnu.org>
439
440 * simple.el (line-move-visual): Signal beginning/end of buffer
441 only if vertical-motion moved less than it was requested. Avoids
442 silly incorrect error messages when there are display strings with
443 multiple newlines at EOL.
444
445 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
448 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
449 (prolog-char-quote-workaround):
450 * progmodes/cperl-mode.el (cperl-under-as-char):
451 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
452 Mark as obsolete.
453 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
454 their declaration.
455 (vhdl-mode-syntax-table-init): Remove.
456
457 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
458 last change.
459
460 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
461 syntax for "_".
462 (ld-script-font-lock-keywords):
463 Change regexps to use things like \_< and \_>.
464
465 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
466 Change all regexps to use things like \_< and \_>.
467
468 * progmodes/autoconf.el (autoconf-definition-regexp)
469 (autoconf-font-lock-keywords, autoconf-current-defun-function):
470 Handle a _ with symbol syntax.
471 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
472
473 * progmodes/ada-mode.el (ada-mode-abbrev-table):
474 Consolidate declaration.
475 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
476 the declaration.
477 (ada-create-syntax-table): Remove.
478 (ada-capitalize-word): Don't mess with the syntax of "_" since it
479 already has the right syntax nowadays.
480 (ada-goto-next-word): Don't change the syntax of "_".
481
482 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
483 with-wrapper-hook.
484
485 2013-05-08 Sam Steingold <sds@gnu.org>
486
487 * thingatpt.el (thing-at-point): Accept optional second argument
488 NO-PROPERTIES to strip the text properties from the return value.
489 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
490 to `thing-at-point' instead of stripping the properties ourselves.
491 Also, when `thing-at-point' fails to find a url, prepend "http://"
492 to the filename at point on the assumption that the user is
493 pointing at something like gnu.org/gnu.
494
495 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
496
497 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
498 * faces.el (crm-separator):
499 Silence byte-compiler.
500
501 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
502 (tool-bar-map): Remove unneeded defvars.
503
504 2013-05-08 Leo Liu <sdl.web@gmail.com>
505
506 Re-work a fix for bug#10994 based on Le Wang's patch.
507 * ido.el (ido-remove-consecutive-dups): New helper.
508 (ido-completing-read): Use it.
509 (ido-chop): Revert fix for bug#10994.
510
511 2013-05-08 Adam Spiers <emacs@adamspiers.org>
512
513 * cus-edit.el (custom-save-variables):
514 Pretty-print long values. (Bug#14187)
515
516 2013-05-08 Glenn Morris <rgm@gnu.org>
517
518 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
519 (m4-mode-syntax-table): Init in the defvar.
520 (m4-mode-abbrev-table): Let define-derived-mode define it.
521
522 2013-05-08 Tom Tromey <tromey@redhat.com>
523
524 * progmodes/m4-mode.el (m4-mode-syntax-table):
525 Do not treat "_" as word constituent. (Bug#14167)
526
527 2013-05-07 Glenn Morris <rgm@gnu.org>
528
529 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
530 Remove explicit eshell-isearch-cancel-map.
531
532 * progmodes/f90.el (f90-smart-end-names): New option.
533 (f90-smart-end): Doc fix.
534 (f90-end-block-optional-name): New constant.
535 (f90-block-match): Respect f90-smart-end-names.
536
537 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * progmodes/octave.el (octave-smie-forward-token): Be more careful
540 about implicit semi-colons (bug#14218).
541
542 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
543
544 * frame.el (display-monitor-attributes-list)
545 (frame-monitor-attributes): New functions.
546
547 2013-05-06 Leo Liu <sdl.web@gmail.com>
548
549 * progmodes/octave.el (octave-syntax-propertize-function): Change
550 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
551 (octave-font-lock-keywords): Use octave-operator-regexp.
552 (octave-completion-at-point): Rename from
553 octave-completion-at-point-function.
554 (inferior-octave-directory-tracker): Robustify.
555 (octave-text-functions): Remove and fix its uses. No such things
556 any more.
557
558 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * emacs-lisp/trace.el (trace--display-buffer): New function.
561 (trace-make-advice): Use it.
562
563 2013-05-06 Juri Linkov <juri@jurta.org>
564
565 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
566 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
567 Doc fix.
568 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
569 in the help string. (Bug#12985)
570
571 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
572
573 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
574
575 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * progmodes/perl-mode.el: Add support for here documents.
578 (perl-syntax-propertize-function): Match here-doc markers.
579 (perl-syntax-propertize-special-constructs): Find their end.
580 (perl-imenu-generic-expression): Use [:alnum:].
581
582 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
583 (advice--add-function): Refresh the advice if already present
584 (bug#14317).
585
586 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
587
588 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
589
590 2013-05-06 Glenn Morris <rgm@gnu.org>
591
592 * w32-fns.el (w32-charset-info-alist): Declare.
593
594 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
595 of its defcustom properties.
596 (eshell-cmpl-initialize): No need to load pcomplete.
597
598 * generic-x.el: No need to require comint when compiling.
599
600 * net/eudc-export.el: Make it loadable without bbdb.
601 (top-level): Use require rather than load-library.
602 (eudc-create-bbdb-record, eudc-bbdbify-phone)
603 (eudc-batch-export-records-to-bbdb)
604 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
605 Require bbdb.
606
607 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
610 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
611 some tweaks, instead.
612
613 2013-05-05 Leo Liu <sdl.web@gmail.com>
614
615 * progmodes/octave.el (octave-font-lock-keywords)
616 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
617 (inferior-octave-send-list-and-digest): Improve error message.
618 (octave-mode, inferior-octave-mode): Use setq-local.
619 (octave-help): Set info-lookup-mode.
620
621 2013-05-05 Richard Stallman <rms@gnu.org>
622
623 * vc/compare-w.el (compare-windows-whitespace):
624 Treat no-break space as whitespace.
625
626 * mail/rmailsum.el (rmail-summary-rmail-update):
627 Detect empty summary and don't change selected message.
628 (rmail-summary-goto-msg): Likewise.
629
630 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
631 Doc fixes, rename args.
632
633 2013-05-05 Alan Mackenzie <acm@muc.de>
634
635 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
636
637 2013-05-05 Juri Linkov <juri@jurta.org>
638
639 * info.el (Info-read-subfile): Use (point-min) instead of (point)
640 to not add the length of the summary segment to the return value.
641 (Bug#14125)
642
643 2013-05-05 Leo Liu <sdl.web@gmail.com>
644
645 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
646 (inferior-octave-output-filter): Remove.
647 (octave-send-region, inferior-octave-startup): Fix callers.
648 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
649 (octave-binary-file-extensions): New user variable.
650 (octave-find-definition): Confirm if opening binary files.
651 (octave-help-file): Use octave-find-definition to get the binary
652 confirmation.
653 (octave-help): Adjust for octave-help-file change.
654
655 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
658 Merge the two entries that handle function definitions.
659 (pascal--syntax-propertize): New const.
660 (pascal-mode): Use it. Use setq-local.
661
662 2013-05-04 Glenn Morris <rgm@gnu.org>
663
664 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
665 (diary-from-outlook): Respect diary-from-outlook-function.
666
667 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
670 Move the declaration from C.
671 (read-minibuffer, eval-minibuffer): Move from C.
672 (completion-setup-function): Avoid minibuffer-completion-contents.
673
674 2013-05-03 Leo Liu <sdl.web@gmail.com>
675
676 * progmodes/octave.el (octave-font-lock-keywords): Do not
677 dehighlight 'end' in comments or strings.
678 (octave-completing-read, octave-goto-function-definition):
679 New helpers.
680 (octave-help-buffer): New user variable.
681 (octave-help-file, octave-help-function): New button types.
682 (octave-help): New command and bind it to C-h ;.
683 (octave-find-definition): New command and bind it to M-.
684 (user-error): Alias to error if not defined.
685
686 2013-05-02 Leo Liu <sdl.web@gmail.com>
687
688 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
689 for \. (bug#14332)
690 (octave-font-lock-keywords): Include [ and {.
691
692 2013-05-02 Leo Liu <sdl.web@gmail.com>
693
694 * progmodes/octave.el (inferior-octave-startup-file): Change default.
695 (inferior-octave): Remove calling comint-mode and return the buffer.
696 (inferior-octave-startup): Cosmetic changes.
697
698 2013-05-02 Leo Liu <sdl.web@gmail.com>
699
700 * progmodes/octave.el (octave-syntax-propertize-function):
701 Include the case when ' is at line beginning. (Bug#14336)
702
703 2013-05-02 Glenn Morris <rgm@gnu.org>
704
705 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
706 * desktop.el (vc-dir-mode): Just autoload it here.
707
708 2013-05-02 Alan Mackenzie <acm@muc.de>
709
710 Eliminate variable c-standard-font-lock-fontify-region-function.
711 * progmodes/cc-mode.el
712 (c-standard-font-lock-fontify-region-function): Remove.
713 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
714
715 2013-05-01 Leo Liu <sdl.web@gmail.com>
716
717 * progmodes/octave.el: Compatible with older emacs-24 releases.
718 (inferior-octave-has-built-in-variables): Remove. Built-in
719 variables were removed from Octave in 2007.
720 (inferior-octave-startup): Fix uses.
721 (comint-line-beginning-position): Remove compatibility code for
722 emacs 21.
723
724 2013-05-01 Juri Linkov <juri@jurta.org>
725
726 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
727
728 2013-05-01 Juri Linkov <juri@jurta.org>
729
730 * comint.el (comint-previous-matching-input): Don't print message
731 "History item: %d" when `isearch-mode' is active.
732 (comint-history-isearch-message): Print message "History item: %d"
733 when `comint-input-ring-index' is not empty and this function is
734 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
735
736 2013-05-01 Leo Liu <sdl.web@gmail.com>
737
738 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
739 definitions. Use completion-at-point to insert keywords.
740 (octave-abbrev-start): Remove.
741 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
742
743 2013-04-30 Leo Liu <sdl.web@gmail.com>
744
745 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
746 change.
747
748 2013-04-30 Alan Mackenzie <acm@muc.de>
749
750 Handle arbitrarily long C++ member initialisation lists.
751 * progmodes/cc-engine.el (c-back-over-member-initializers):
752 new function.
753 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
754 (most) member init lists.
755
756 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
757
758 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
759 variable.
760
761 2013-04-30 Leo Liu <sdl.web@gmail.com>
762
763 * progmodes/octave.el (octave-variables): Remove. No builtin
764 variables any more. All converted to functions.
765 (octave-font-lock-keywords, octave-completion-at-point-function):
766 Fix uses.
767 (octave-font-lock-texinfo-comment): New user variable.
768 (octave-texinfo-font-lock-keywords): New variable for texinfo
769 comment block.
770 (octave-function-comment-block): New face.
771 (octave-font-lock-texinfo-comment): New function.
772 (octave-mode): Font lock texinfo comment block.
773
774 2013-04-29 Leo Liu <sdl.web@gmail.com>
775
776 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
777 indexing expression.
778 (octave-continuation-string): Do not use \.
779 (inferior-octave-complete-impossible): Remove.
780 (inferior-octave-completion-table)
781 (inferior-octave-completion-at-point): Remove its uses.
782 (inferior-octave-startup): completion_matches was introduced to
783 Octave in 1996 so safe to assume it.
784 (octave-function-file-comment): Improve to follow how Octave does it.
785 (octave-update-function-file-comment): Tweak.
786
787 2013-04-29 Leo Liu <sdl.web@gmail.com>
788
789 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
790 (inferior-octave-startup): Remove inferior-octave-startup-hook.
791 (octave-function-file-comment): Fix typo.
792 (octave-sync-function-file-names): Use read-char-choice.
793
794 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
795
796 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
797 to t for the less important warnings.
798
799 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
800
801 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
802
803 2013-04-27 Glenn Morris <rgm@gnu.org>
804
805 * vc/log-view.el (log-view-current-entry):
806 Treat "---" separator lines as part of the following rev. (Bug#14169)
807
808 2013-04-27 Juri Linkov <juri@jurta.org>
809
810 * subr.el (read-number): Doc fix about using it by interactive
811 code letter `n'. (Bug#14254)
812
813 2013-04-27 Juri Linkov <juri@jurta.org>
814
815 * desktop.el (desktop-auto-save-timeout): New option.
816 (desktop-file-checksum): New variable.
817 (desktop-save): Add optional arg `auto-save' and don't auto-save
818 if nothing changed.
819 (desktop-auto-save-timer): New variable.
820 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
821 (after-init-hook): Call `desktop-auto-save-set-timer'.
822 Suggested by Reuben Thomas <rrt@sc3d.org> in
823 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
824
825 2013-04-27 Leo Liu <sdl.web@gmail.com>
826
827 * progmodes/octave.el (octave-function-file-p)
828 (octave-skip-comment-forward, octave-function-file-comment)
829 (octave-update-function-file-comment): New functions.
830 (octave-mode-map): Bind C-c ; to
831 octave-update-function-file-comment.
832 (octave-mode-menu): Add octave-update-function-file-comment.
833 (octave-mode, inferior-octave-mode): Fix doc-string.
834 (octave-insert-defun): Conform to Octave's coding convention.
835 (Bug#14285)
836
837 * files.el (basic-save-buffer): Don't let errors in
838 before-save-hook prevent saving buffer.
839
840 2013-04-20 Roland Winkler <winkler@gnu.org>
841
842 * faces.el (read-face-name): Use completing-read if arg multiple
843 is nil.
844
845 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
846
847 * ls-lisp.el (ls-lisp-insert-directory): If no files are
848 displayed, move point to after the totals line.
849 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
850 for the details.
851
852 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * emacs-lisp/package.el (package-autoload-ensure-default-file):
855 Add current dir to the load-path.
856 (package-generate-autoloads): Don't rely on
857 autoload-ensure-default-file.
858
859 2013-04-26 Reuben Thomas <rrt@sc3d.org>
860
861 * textmodes/remember.el (remember-store-in-files): Document that
862 the file name format is passed to `format-time-string'.
863
864 2013-04-26 Leo Liu <sdl.web@gmail.com>
865
866 * progmodes/octave.el (octave-sync-function-file-names): New function.
867 (octave-mode): Use it in before-save-hook.
868
869 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
872 (bug#14274).
873
874 * progmodes/octave.el (octave-smie-forward-token): Properly skip
875 \n and comment, even if it's not an implicit ; (bug#14218).
876
877 2013-04-26 Glenn Morris <rgm@gnu.org>
878
879 * subr.el (read-number): Once more use `read' rather than
880 `string-to-number', to trap non-numeric input. (Bug#14254)
881
882 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
883
884 * emacs-lisp/syntax.el (syntax-propertize-multiline):
885 Use `syntax-multiline' text property consistently instead of
886 `font-lock-multiline'. (bug#14237).
887
888 2013-04-26 Glenn Morris <rgm@gnu.org>
889
890 * emacs-lisp/shadow.el (list-load-path-shadows):
891 No longer necessary to check for duplicate simple.el, since
892 2012-07-07 change to init_lread to not include installation lisp
893 directories in load-path when running uninstalled. (Bug#14270)
894
895 2013-04-26 Leo Liu <sdl.web@gmail.com>
896
897 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
898 (octave-mode, inferior-octave-mode): Use setq-local.
899 (octave-not-in-string-or-comment-p): Rename to
900 octave-in-string-or-comment-p.
901 (octave-in-comment-p, octave-in-string-p)
902 (octave-in-string-or-comment-p): Replace defsubst with defun.
903
904 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
905
906 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
907
908 2013-04-25 Bastien Guerry <bzg@gnu.org>
909
910 * textmodes/remember.el (remember-data-directory)
911 (remember-directory-file-name-format): Fix custom types.
912
913 2013-04-25 Leo Liu <sdl.web@gmail.com>
914
915 * progmodes/octave.el (octave-completion-at-point-function):
916 Make use of inferior octave process.
917 (octave-initialize-completions): Remove.
918 (inferior-octave-completion-table): New function.
919 (inferior-octave-completion-at-point): Use it.
920 (octave-completion-alist): Remove.
921
922 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
923
924 * progmodes/opascal.el: Use font-lock and syntax-propertize.
925 (opascal-mode-syntax-table): New var.
926 (opascal-literal-kind, opascal-is-literal-end)
927 (opascal-literal-token-at): Rewrite.
928 (opascal--literal-start-re, opascal-font-lock-keywords)
929 (opascal--syntax-propertize): New constants.
930 (opascal-font-lock-defaults): Adjust.
931 (opascal-mode): Use them. Set comment-<foo> variables as well.
932 (delphi-comment-face, opascal-comment-face, delphi-string-face)
933 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
934 (delphi-other-face, opascal-other-face): Remove face variables.
935 (opascal-save-state): Remove macro.
936 (opascal-fontifying-progress-step): Remove constant.
937 (opascal--ignore-changes): Remove var.
938 (opascal-set-token-property, opascal-parse-next-literal)
939 (opascal-is-stable-literal, opascal-complete-literal)
940 (opascal-is-literal-start, opascal-face-of)
941 (opascal-parse-region, opascal-parse-region-until-stable)
942 (opascal-fontify-region, opascal-after-change)
943 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
944 (opascal-debug-parse-region, opascal-debug-parse-window)
945 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
946 (opascal-debug-fontify-buffer): Remove.
947 (opascal-debug-mode-map): Adjust accordingly.
948
949 2013-04-25 Leo Liu <sdl.web@gmail.com>
950
951 Merge octave-mod.el and octave-inf.el into octave.el with some
952 cleanups.
953 * progmodes/octave.el: New file renamed from octave-mod.el.
954 * progmodes/octave-inf.el: Merged into octave.el.
955 * progmodes/octave-mod.el: Renamed to octave.el.
956
957 2013-04-25 Tassilo Horn <tsdh@gnu.org>
958
959 * textmodes/reftex-vars.el
960 (reftex-label-ignored-macros-and-environments): New defcustom.
961
962 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
963
964 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
967 (smie-indent-keyword): Improve the check to ensure that the next
968 comment is really on the same line.
969 (smie-indent-comment): Don't align with a subsequent closer (or eob).
970
971 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
972 semi-colons if the line is not otherwise empty (bug#14218).
973
974 2013-04-25 Glenn Morris <rgm@gnu.org>
975
976 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
977
978 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * progmodes/opascal.el (opascal-set-token-property): Rename from
981 opascal-set-text-properties and only set `token' (bug#14134).
982 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
983 (opascal-literal-text-properties): Remove.
984 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
985 Adjust callers.
986
987 2013-04-24 Reuben Thomas <rrt@sc3d.org>
988
989 * textmodes/remember.el (remember-handler-functions): Add an
990 option for a new handler `remember-store-in-files'.
991 (remember-data-directory, remember-directory-file-name-format):
992 New options.
993 (remember-store-in-files): New function to store remember notes
994 as separate files within a directory.
995
996 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
997
998 * progmodes/compile.el (compilation-next-error-function):
999 Pass "formats" to compilation-find-file (bug#11777).
1000
1001 2013-04-24 Glenn Morris <rgm@gnu.org>
1002
1003 * vc/vc-bzr.el (vc-bzr-print-log):
1004 * vc/vc-hg.el (vc-hg-print-log):
1005 * vc/vc-svn.el (vc-svn-print-log):
1006 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1007
1008 * vc/vc-bzr.el (vc-bzr-print-log):
1009 * vc/vc-cvs.el (vc-cvs-print-log):
1010 * vc/vc-git.el (vc-git-print-log):
1011 * vc/vc-hg.el (vc-hg-print-log):
1012 * vc/vc-mtn.el (vc-mtn-print-log):
1013 * vc/vc-rcs.el (vc-rcs-print-log):
1014 * vc/vc-sccs.el (vc-sccs-print-log):
1015 * vc/vc-svn.el (vc-svn-print-log):
1016 * vc/vc.el (vc-print-log-internal): Doc fixes.
1017
1018 2013-04-23 Glenn Morris <rgm@gnu.org>
1019
1020 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1021 Remove venerable code attempting to avoid substitute-command-keys.
1022
1023 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1024
1025 * textmodes/reftex-vars.el (reftex-label-regexps):
1026 Call `reftex-compile-variables' after changes to this variable.
1027
1028 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1031 Use lexical-binding.
1032 (jit-lock-force-redisplay): Use markers, check buffer's continued
1033 existence and beware narrowed buffers.
1034 (jit-lock-fontify-now): Adjust call accordingly.
1035
1036 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1039 to avoid misleading the user.
1040
1041 2013-04-22 Leo Liu <sdl.web@gmail.com>
1042
1043 * info-look.el: Prefer latex2e.info. (Bug#14240)
1044
1045 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1046
1047 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1048
1049 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1050 * net/tramp.el (tramp-call-process): ... here
1051 (tramp-set-completion-function, tramp-parse-putty):
1052 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1053 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1054 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1055 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1056 (tramp-call-local-coding-command): Use `tramp-call-process'
1057 instead of `tramp-compat-call-process'.
1058
1059 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1060 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1061 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1062 (tramp-find-inline-compress):Improve traces.
1063 (tramp-maybe-send-script): Check for Perl binary.
1064 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1065
1066 2013-04-22 Daiki Ueno <ueno@gnu.org>
1067
1068 * epg.el (epg-context-pinentry-mode): New function.
1069 (epg-context-set-pinentry-mode): New function.
1070 (epg--start): Pass --pinentry-mode option to gpg command.
1071
1072 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1073
1074 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1075 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1076 `completion-at-point'. (Bug#13774)
1077
1078 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1079 default key binding for `describe-distribution' has been moved to
1080 `C-h C-o'. (Bug#13970)
1081
1082 2013-04-21 Glenn Morris <rgm@gnu.org>
1083
1084 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1085 Add doc strings.
1086 (vc-print-log): Clarify interactive prompt.
1087
1088 2013-04-20 Glenn Morris <rgm@gnu.org>
1089
1090 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1091 No longer include timestamp etc information.
1092
1093 2013-04-20 Roland Winkler <winkler@gnu.org>
1094
1095 * faces.el (read-face-name): Bug fix, return just one face if arg
1096 multiple is nil. (Bug#14209)
1097
1098 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1101 (remove-function): Autoload.
1102
1103 * comint.el (comint-redirect-original-filter-function): Remove.
1104 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1105 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1106 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1107 * progmodes/prolog.el (prolog-consult-compile):
1108 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1109 Use add/remove-function instead.
1110 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1111 (gud-tooltip-process-output, gud-tooltip-tips):
1112 Use add/remove-function instead.
1113 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1114 (scheme-interaction-mode, exit-scheme-interaction-mode):
1115 Use add/remove-function instead.
1116
1117 * vc/vc-dispatcher.el: Use lexical-binding.
1118 (vc--process-sentinel): Rename from vc-process-sentinel.
1119 Change last arg to be the code to run. Don't use vc-previous-sentinel
1120 and vc-sentinel-commands any more.
1121 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1122 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1123
1124 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1125
1126 * progmodes/sh-script.el (sh-imenu-generic-expression):
1127 Handle function names with a single character. (Bug#14111)
1128
1129 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1130
1131 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1132 for subroutines defined in an eval (bug#14182).
1133
1134 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1135
1136 * bookmark.el (bookmark-completing-read): Improve handling of empty
1137 string (bug#14176).
1138
1139 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1142
1143 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1144
1145 New faster Imenu implementation (bug#14058).
1146 * progmodes/python.el:
1147 (python-imenu-prev-index-position):
1148 (python-imenu-format-item-label-function)
1149 (python-imenu-format-parent-item-label-function)
1150 (python-imenu-format-parent-item-jump-label-function):
1151 New vars.
1152 (python-imenu-format-item-label)
1153 (python-imenu-format-parent-item-label)
1154 (python-imenu-format-parent-item-jump-label)
1155 (python-imenu--put-parent, python-imenu--build-tree)
1156 (python-imenu-create-index, python-imenu-create-flat-index)
1157 (python-util-popn): New functions.
1158 (python-mode): Set imenu-create-index-function to
1159 python-imenu-create-index.
1160
1161 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * winner.el (winner-active-region): Use region-active-p, activate-mark
1164 and deactivate-mark (bug#14225).
1165
1166 * simple.el (deactivate-mark): Don't inline it.
1167
1168 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1169
1170 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1171
1172 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1173
1174 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1175 file extensions from the archive-mode entry in order to prefer
1176 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1177
1178 2013-04-18 Leo Liu <sdl.web@gmail.com>
1179
1180 * bindings.el (help-event-list): Add ?\?.
1181
1182 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * subr.el (with-wrapper-hook): Declare obsolete.
1185 * simple.el (filter-buffer-substring-function): New hook.
1186 (filter-buffer-substring): Use it.
1187 (filter-buffer-substring-functions): Mark obsolete.
1188 * minibuffer.el (completion-in-region-function): New hook.
1189 (completion-in-region): Use it.
1190 (completion-in-region-functions): Mark obsolete.
1191 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1192 * abbrev.el (abbrev-expand-function): New hook.
1193 (expand-abbrev): Use it.
1194 (abbrev-expand-functions): Mark obsolete.
1195 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1196 and :filter-return.
1197
1198 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1199
1200 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1201 and do not care about match data.
1202
1203 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1206 completion tables when completing error conditions and
1207 `declare' arguments.
1208 (lisp-complete-symbol, field-complete): Mark as obsolete.
1209 (check-parens): Unmatched parens are user errors.
1210 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1211
1212 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1213
1214 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1215 command changed buffer (ie. `flyspell-pre-buffer' is not current
1216 buffer), which prevents making decisions based on invalid value of
1217 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1218 cause an error when `flyspell-pre-point' was nil after switching
1219 buffers.
1220 (flyspell-post-command-hook): No longer needs to change buffers when
1221 checking pre-word. While at it remove unnecessary progn.
1222
1223 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1224
1225 * textmodes/ispell.el (ispell-add-per-file-word-list):
1226 Fix `flyspell-correct-word-before-point' error when accepting
1227 words and `coment-padding' is an integer by using
1228 `comment-normalize-vars' (Bug #14214).
1229
1230 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1231
1232 New defun movement commands.
1233 * progmodes/python.el (python-nav--syntactically)
1234 (python-nav--forward-defun, python-nav-backward-defun)
1235 (python-nav-forward-defun): New functions.
1236
1237 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1238
1239 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1240 (python-syntax-context): Use named compiler-macro for backwards
1241 compatibility with Emacs 24.x.
1242
1243 2013-04-17 Leo Liu <sdl.web@gmail.com>
1244
1245 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1246 octave-hide-process-buffer.
1247
1248 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1251 (bug#14216).
1252
1253 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1254
1255 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1256 Fix adjustment of offset when receiving incomplete responses from GDB
1257 (bug#14129).
1258
1259 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1260
1261 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1262 python-mode-abbrev-table.
1263 (python-skeleton-define): Adjust accordingly.
1264 (python-mode-abbrev-table): New table that inherits from it so that
1265 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1266
1267 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1268 (abbrev-symbol): Use it.
1269 (abbrev--before-point): Use it since we already handle inheritance.
1270
1271 2013-04-16 Leo Liu <sdl.web@gmail.com>
1272
1273 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1274 binding to info-lookup-symbol.
1275
1276 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1277
1278 * minibuffer.el (completion--twq-all):
1279 * term/ns-win.el (ns-initialize-window-system):
1280 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1281
1282 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1285 global bindings.
1286
1287 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1288
1289 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1290
1291 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1292 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1293 to nil.
1294 (ruby-end-of-defun): Remove the unused arg, change the docstring
1295 to reflect that this function is only used as the value of
1296 `end-of-defun-function'.
1297 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1298 to reflect an earlier change that beginning/end-of-defun functions
1299 jump between methods in a class definition, as well as top-level
1300 functions.
1301
1302 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * minibuffer.el (minibuffer-complete): Don't just scroll
1305 a *Completions* that's been iconified.
1306 (minibuffer-force-complete): Make sure repetitions do cycle when going
1307 through completion-in-region -> minibuffer-complete.
1308
1309 2013-04-15 Alan Mackenzie <acm@muc.de>
1310
1311 Correct the placement of c-cpp-delimiters when there're #s not at
1312 col 0.
1313
1314 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1315 place a submatch around the #.
1316 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1317 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1318 on the #, not BOL.
1319
1320 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1323 (advice--member-p): New arg `name'.
1324 (advice--add-function, advice-member-p): Use it (bug#14202).
1325
1326 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1327
1328 Reformulate java imenu-generic-expression.
1329 The old expression contained ill formed regexps.
1330
1331 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1332 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1333 (cc-imenu-java-method-arg-regexp): New defconsts.
1334 (cc-imenu-java-build-type-args-regex): New defun.
1335 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1336 handling of spaces in the regexp.
1337
1338 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1339
1340 * textmodes/ispell.el (ispell-command-loop): Remove
1341 flyspell highlight of a word when ispell accepts it (bug #14178).
1342
1343 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1344
1345 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1346 uses code from the previous `ange-ftp-run-real-handler'.
1347 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1348 only in case that function exist. This is needed for proper
1349 unloading of Tramp.
1350
1351 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1352
1353 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1354
1355 * textmodes/reftex.el (reftex-compile-variables): Use it.
1356
1357 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * files.el (normal-mode): Only use default major-mode if no other mode
1360 was specified.
1361
1362 * emacs-lisp/trace.el (trace-values): New function.
1363
1364 * files.el: Allow : in local variables (bug#14089).
1365 (hack-local-variable-regexp): New var.
1366 (hack-local-variables-prop-line, hack-local-variables): Use it.
1367
1368 2013-04-13 Roland Winkler <winkler@gnu.org>
1369
1370 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1371 data before it gets modified by bibtex-beginning-of-entry.
1372
1373 2013-04-13 Roland Winkler <winkler@gnu.org>
1374
1375 * textmodes/bibtex.el (bibtex-url): Doc fix.
1376
1377 2013-04-13 Roland Winkler <winkler@gnu.org>
1378
1379 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1380 does not visit a BibTeX file, exclude it from the list of buffers
1381 returned by bibtex-initialize.
1382
1383 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1384
1385 * window.el (split-window): Remove interactive form, since as a
1386 command this function is a special case of split-window-below.
1387 Correct doc string.
1388
1389 2013-04-12 Roland Winkler <winkler@gnu.org>
1390
1391 * faces.el (read-face-name): Do not override value of arg default.
1392 Allow single faces and strings as default values. Remove those
1393 elements from return value that are not faces.
1394 (describe-face): Simplify.
1395 (face-at-point): New optional args thing and multiple so that this
1396 function can provide the same functionality previously provided by
1397 read-face-name.
1398 (make-face-bold, make-face-unbold, make-face-italic)
1399 (make-face-unitalic, make-face-bold-italic, invert-face)
1400 (modify-face, read-face-and-attribute): Use face-at-point.
1401
1402 * cus-edit.el (customize-face, customize-face-other-window)
1403 * cus-theme.el (custom-theme-add-face)
1404 * face-remap.el (buffer-face-set)
1405 * facemenu.el (facemenu-set-face): Use face-at-point.
1406
1407 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1408
1409 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1410
1411 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1412
1413 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1414 off leading { and trailing } from field values.
1415
1416 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * emacs-lisp/timer.el (timer--check): New function.
1419 (timer--time, timer-set-function, timer-event-handler): Use it.
1420 (timer-set-idle-time): Simplify.
1421 (timer--activate): CSE.
1422 (timer-event-handler): Give more info in error message.
1423 (internal-timer-start-idle): New function, moved from C.
1424
1425 * mpc.el (mpc-proc): Add `restart' argument.
1426 (mpc-proc-cmd): Use it.
1427 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1428 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1429 less often.
1430
1431 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1432
1433 * progmodes/sh-script.el: Implement `sh-mode' own
1434 `add-log-current-defun-function' (bug#14112).
1435 (sh-current-defun-name): New function.
1436 (sh-mode): Use the function.
1437
1438 2013-04-09 Bastien Guerry <bzg@gnu.org>
1439
1440 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1441
1442 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1445
1446 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1447 timer (bug#14156).
1448
1449 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1450
1451 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1452 declaration.
1453
1454 2013-04-07 Leo Liu <sdl.web@gmail.com>
1455
1456 * pcmpl-x.el: New file.
1457
1458 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1459
1460 Do not set x-display-name until X connection is established.
1461 This is needed to prevent from weird situation described at
1462 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1463 * frame.el (make-frame): Set x-display-name after call to
1464 window system initialization function, not before.
1465 * term/x-win.el (x-initialize-window-system): Add optional
1466 display argument and use it.
1467 * term/w32-win.el (w32-initialize-window-system):
1468 * term/ns-win.el (ns-initialize-window-system):
1469 * term/pc-win.el (msdos-initialize-window-system):
1470 Add compatible optional display argument.
1471
1472 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1473
1474 * files.el (normal-backup-enable-predicate): On MS-Windows and
1475 MS-DOS compare truenames of temporary-file-directory and of the
1476 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1477 don't fail comparison by compare-strings. Also, compare file
1478 names case-insensitively on MS-Windows and MS-DOS.
1479
1480 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1483 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1484
1485 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * whitespace.el (whitespace-color-on, whitespace-color-off):
1488 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1489
1490 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1491
1492 * ispell.el (ispell-set-spellchecker-params):
1493 Really set `ispell-args' for all equivs.
1494
1495 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * ido.el (ido-completions): Use extra elements of ido-decorations
1498 (bug#14143).
1499 (ido-decorations): Update docstring.
1500
1501 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1502
1503 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1504 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1505 nil during initialization, in order not to miss changes since the
1506 file was opened. (Bug#14140)
1507
1508 2013-04-05 Leo Liu <sdl.web@gmail.com>
1509
1510 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1511
1512 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1513
1514 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1515
1516 2013-04-04 Glenn Morris <rgm@gnu.org>
1517
1518 * electric.el (electric-pair-inhibit-predicate): Add :version.
1519
1520 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1523 when a package is required several times (bug#14082).
1524
1525 2013-04-04 Roland Winkler <winkler@gnu.org>
1526
1527 * faces.el (read-face-name): Behave as promised by the docstring.
1528 Assume that arg default is a list of faces.
1529 (describe-face): Call read-face-name with list of default faces.
1530
1531 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1532
1533 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1534 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1535 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1536 the header.
1537 (bookmark-exit-hook-internal): Save even if list is empty.
1538
1539 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1540
1541 * emacs-lisp/package.el (package-pinned-packages): New var.
1542 (package--add-to-archive-contents): Obey it (bug#14118).
1543
1544 2013-04-03 Alan Mackenzie <acm@muc.de>
1545
1546 Handle `parse-partial-sexp' landing inside a comment opener
1547 (Bug#13244). Also adapt to the new values of element 7 of a parse
1548 state.
1549
1550 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1551 parameter `not-in-delimiter'. Handle being inside comment opener.
1552 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1553 character in case we're typing a '*' after a '/'.
1554 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1555 instead by passing the parameter to c-state-pp-to-literal.
1556
1557 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1558 for elt. 7 of a parse state.
1559
1560 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1561
1562 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1563 * international/latin1-disp.el, international/mule-util.el:
1564 * language/cyril-util.el, language/european.el, language/ind-util.el:
1565 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1566 * language/tibetan.el, language/viet-util.el:
1567 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1568
1569 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1572 (electric-pair-post-self-insert-function): Use it.
1573 (electric-pair-default-inhibit): New function, extracted from
1574 electric-pair-post-self-insert-function.
1575
1576 2013-03-31 Roland Winkler <winkler@gnu.org>
1577
1578 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1579
1580 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1583
1584 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1585
1586 Un-indent after "pass" and "return" statements (Bug#13888)
1587 * progmodes/python.el (python-indent-block-enders): New var.
1588 (python-indent-calculate-indentation): Use it.
1589
1590 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1591
1592 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1593 defun. Defining it as defalias could introduce too eager
1594 byte-compiler optimization. (Bug#14030)
1595
1596 2013-03-30 Chong Yidong <cyd@gnu.org>
1597
1598 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1599
1600 2013-03-30 Leo Liu <sdl.web@gmail.com>
1601
1602 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1603 (kmacro-execute-from-register): Pass the keyboard macro to
1604 kmacro-call-macro or repeating won't work correctly.
1605
1606 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1607
1608 * progmodes/subword.el: Back to using `forward-symbol'.
1609
1610 * subr.el (forward-whitespace, forward-symbol)
1611 (forward-same-syntax): Move from thingatpt.el.
1612
1613 2013-03-29 Leo Liu <sdl.web@gmail.com>
1614
1615 * kmacro.el (kmacro-to-register): New command.
1616 (kmacro-execute-from-register): New function.
1617 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1618
1619 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * mpc.el: Use defvar-local and setq-local.
1622 (mpc--proc-connect): Connection failures are not bugs.
1623 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1624 (mpc-volume-map): Bind to the up-events.
1625
1626 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1627
1628 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1629 instead of `forward-symbol'.
1630
1631 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1634 (edebug--recursive-edit): Use it.
1635 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1636 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1637
1638 2013-03-28 Leo Liu <sdl.web@gmail.com>
1639
1640 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1641
1642 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1643
1644 * facemenu.el (list-colors-callback): New defvar.
1645 (list-colors-redisplay): New function.
1646 (list-colors-display): Install list-colors-redisplay as the
1647 revert-buffer-function. (Bug#14063)
1648
1649 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1652 and suffixes don't overlap (bug#14061).
1653
1654 * case-table.el: Use lexical-binding.
1655 (case-table-get-table): New function.
1656 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1657
1658 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1659
1660 * progmodes/subword.el: Add `superword-mode' to do word motion
1661 over symbol_words (parallels and leverages `subword-mode' which
1662 does word motion inside MixedCaseWords).
1663
1664 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1665
1666 * eshell/em-unix.el: Move su and sudo to...
1667 * eshell/em-tramp.el: ...Eshell tramp module.
1668
1669 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1672 Change return value to be a sexp. Delay `get-buffer' to after
1673 restoring the desktop (bug#13951).
1674
1675 2013-03-26 Leo Liu <sdl.web@gmail.com>
1676
1677 * register.el: Move semantic tag handling back to
1678 cedet/semantic/senator.el. (Bug#14052)
1679
1680 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1683 into the prompt either (bug#13963).
1684
1685 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1688 part of "(error-foo)".
1689
1690 2013-03-24 Juri Linkov <juri@jurta.org>
1691
1692 * replace.el (list-matching-lines-prefix-face): New defcustom.
1693 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1694 `occur-engine' if `face-differs-from-default-p' returns t.
1695 (occur-engine): Add `,' inside backquote construct to evaluate
1696 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1697 Pass `prefix-face' to the functions `occur-context-lines' and
1698 `occur-engine-add-prefix'.
1699 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1700 `prefix-face' and propertize the prefix with `prefix-face'.
1701 (Bug#14017)
1702
1703 2013-03-24 Leo Liu <sdl.web@gmail.com>
1704
1705 * nxml/rng-valid.el (rng-validate-while-idle)
1706 (rng-validate-quick-while-idle): Guard against deleted buffer.
1707 (Bug#13999)
1708
1709 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1710 is the last entry in kill-buffer-hook.
1711
1712 * files.el (kill-buffer-hook): Doc fix.
1713
1714 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1715
1716 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1717 Make it safe-local.
1718
1719 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1720
1721 2013-03-23 Leo Liu <sdl.web@gmail.com>
1722
1723 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1724 Remove.
1725
1726 * nxml/rng-valid.el (rng-validate-mode)
1727 (rng-after-change-function, rng-do-some-validation):
1728 * nxml/rng-maint.el (rng-validate-buffer):
1729 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1730 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1731 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1732 (nxml-extend-after-change-region): Use with-silent-modifications.
1733
1734 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1735 timer-idle-list.
1736
1737 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1738 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1739 timer-idle-list. (Bug#13999)
1740
1741 2013-03-23 Juri Linkov <juri@jurta.org>
1742
1743 * info.el (info-index-match): New face.
1744 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1745 main pattern and add text properties with the new face to matches
1746 in index entries relative to the beginning of the index entry.
1747 (Bug#14015)
1748
1749 2013-03-21 Eric Ludlam <zappo@gnu.org>
1750
1751 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1752 Inhibit read only while inserting objects.
1753
1754 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1755
1756 * progmodes/cfengine.el: Update docs to mention
1757 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1758 symbol motion. Remove "_" from the word syntax.
1759
1760 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1761
1762 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1763 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1764
1765 2013-03-20 Juri Linkov <juri@jurta.org>
1766
1767 * info.el (Info-next-reference-or-link)
1768 (Info-prev-reference-or-link): New functions.
1769 (Info-next-reference, Info-prev-reference): Use them.
1770 (Info-try-follow-nearest-node): Handle footnote navigation.
1771 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1772
1773 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1776 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1777
1778 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1779
1780 Suppress unnecessary non-ASCII chatter during build process.
1781 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1782 (batch-skkdic-convert): Suppress most of the chatter.
1783 It's not needed so much now that machines are faster,
1784 and its non-ASCII component was confusing; see Dmitry Gutov in
1785 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1786
1787 2013-03-20 Leo Liu <sdl.web@gmail.com>
1788
1789 * ido.el (ido-chop): Fix bug#10994.
1790
1791 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1792
1793 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1794 Remove vars.
1795 (whitespace-color-on, whitespace-color-off):
1796 Use `font-lock-fontify-buffer' (Bug#13817).
1797
1798 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1799
1800 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1801 remapping in mode-line.
1802 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1803
1804 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1805
1806 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1807 value for `whitespace-line' face (Bug#13875).
1808 (whitespace-font-lock-keywords): Change description.
1809 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1810 the constructed keywords instead.
1811 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1812
1813 2013-03-19 Leo Liu <sdl.web@gmail.com>
1814
1815 * progmodes/compile.el (compilation-display-error): New command.
1816 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1817 C-o. (Bug#13992)
1818
1819 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1820
1821 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1822
1823 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1824
1825 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1826
1827 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1830
1831 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1832 * net/tramp-gvfs.el (top):
1833 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1834 (tramp-handle-shell-command): Use it.
1835 (tramp-dissect-file-name): Raise an error when hostname is a
1836 method name, and neither method nor user is specified.
1837
1838 * net/trampver.el: Update release number.
1839
1840 2013-03-18 Leo Liu <sdl.web@gmail.com>
1841
1842 Make sure eldoc can be turned off properly.
1843 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1844 eldoc-mode.
1845 (eldoc-display-message-p): Revert last change.
1846 (eldoc-display-message-no-interference-p)
1847 (eldoc-print-current-symbol-info): Tweak.
1848
1849 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1850
1851 * doc-view.el (doc-view-new-window-function): Check the new window
1852 overlay's display property instead the char property of the
1853 buffer's first char. Use `with-selected-window' instead of
1854 `save-window-excursion' with `select-window'.
1855 (doc-view-document->bitmap): Check the current doc-view overlay's
1856 display property instead the char property of the buffer's first char.
1857
1858 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1859
1860 Automate the build of ja-dic.el (Bug#13984).
1861 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1862 from the input, rather than assume that it's been done for us by the
1863 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1864 the current date into a ja-dic.el comment, as that complicates
1865 regression testing.
1866
1867 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * whitespace.el: Fix double evaluation.
1870 (whitespace-space, whitespace-hspace, whitespace-tab)
1871 (whitespace-newline, whitespace-trailing, whitespace-line)
1872 (whitespace-space-before-tab, whitespace-indentation)
1873 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1874 obsolete defvars.
1875 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1876 (whitespace-color-on): Use a single font-lock-add-keywords call.
1877 Fix double-evaluation of face variables.
1878
1879 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp-adb.el (tramp-adb-parse-device-names):
1882 Use `start-process' instead of `call-process'. Otherwise, the
1883 function might be blocked under MS Windows. (Bug#13299)
1884
1885 2013-03-17 Leo Liu <sdl.web@gmail.com>
1886
1887 Extend eldoc to display info in the mode-line. (Bug#13978)
1888 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1889 (eldoc-mode-line-string): New variable.
1890 (eldoc-minibuffer-message): New function.
1891 (eldoc-message-function): New variable.
1892 (eldoc-message): Use it.
1893 (eldoc-display-message-p)
1894 (eldoc-display-message-no-interference-p):
1895 Support eldoc-post-insert-mode.
1896
1897 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1898 (eval-expression): Run it.
1899
1900 2013-03-17 Roland Winkler <winkler@gnu.org>
1901
1902 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1903 strings in the list of return values.
1904
1905 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1906
1907 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1908 radix before checking for HMS forms.
1909
1910 2013-03-16 Leo Liu <sdl.web@gmail.com>
1911
1912 * progmodes/scheme.el: Add indentation and font-locking for λ.
1913 (Bug#13975)
1914
1915 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1918 token before point (bug#13942).
1919
1920 2013-03-16 Leo Liu <sdl.web@gmail.com>
1921
1922 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1923
1924 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1925
1926 * startup.el (command-line-normalize-file-name): Fix handling of
1927 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1928 <xfq.free@gmail.com> in
1929 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1930
1931 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1932
1933 Sync with Tramp 2.2.7.
1934
1935 * net/trampver.el: Update release number.
1936
1937 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1938
1939 * doc-view.el Fix bug#13887.
1940 (doc-view-insert-image): Don't modify overlay associated to
1941 non-live windows, and implement horizontal centering of image in
1942 case it's smaller than the window.
1943 (doc-view-new-window-function): Force redisplay of new windows on
1944 doc-view buffers.
1945
1946 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1947
1948 * saveplace.el (save-place-alist-to-file): Don't sort
1949 `save-place-alist', just pretty-print it (bug#13882).
1950
1951 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1952
1953 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1954 whether `default-file-name-coding-system' is bound. It isn't in
1955 XEmacs.
1956
1957 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1960 backquotes for `obsolete' (bug#13929).
1961
1962 * international/mule.el (find-auto-coding): Include file name in
1963 obsolescence warning (bug#13922).
1964
1965 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1966
1967 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1968 for CFEngine 3-specific indentation.
1969 (cfengine3-indent-line): Use it. Fix up category regex.
1970 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1971
1972 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * type-break.el (type-break-file-name):
1975 * textmodes/remember.el (remember-data-file):
1976 * strokes.el (strokes-file):
1977 * shadowfile.el (shadow-initialize):
1978 * saveplace.el (save-place-file):
1979 * ps-bdf.el (bdf-cache-file):
1980 * progmodes/idlwave.el (idlwave-config-directory):
1981 * net/quickurl.el (quickurl-url-file):
1982 * international/kkc.el (kkc-init-file-name):
1983 * ido.el (ido-save-directory-list-file):
1984 * emulation/viper.el (viper-custom-file-name):
1985 * emulation/vip.el (vip-startup-file):
1986 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1987 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1988
1989 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1990
1991 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1992 * language/thai-word.el: Switch to UTF-8.
1993
1994 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1997
1998 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1999
2000 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2001 Use with-current-buffer and don't move point.
2002 (net-utils-run-simple): Remove useless code.
2003 (net-utils-remove-ctl-m): Remove unused custom.
2004
2005 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2006
2007 * international/characters.el (glyphless-set-char-table-range): New fun.
2008 (update-glyphless-char-display): Use it (bug#13744).
2009
2010 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2011
2012 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2013 namespaces in the syntax, indent closer for hanging brace
2014 correctly, allow single-quote delimited 'strings', and make
2015 `cfengine3-mode' the default.
2016
2017 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2018
2019 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2020 Use lexical-binding. Fix up docstring according to conventions.
2021 (gdbmi-debug-mode): New var.
2022 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2023 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2024 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2025 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2026 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2027 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2028 (gdbmi-bnf-incomplete-record-result): New functions.
2029 (gdb-car<): Remove function.
2030 (gdbmi-record-list): Remove variable.
2031 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2032 (gdbmi-bnf-result-state-configs): New const.
2033 (gud-gdbmi-marker-filter): Rewrite.
2034 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2035 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2036 Add `token' argument.
2037 (gdb-done, gdb-error): New functions.
2038 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2039
2040 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * term/xterm.el (xterm--report-background-handler): Don't burp
2043 upon timeout.
2044 (xterm--version-handler): Extract from terminal-init-xterm.
2045 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2046 Allow multiple handlers.
2047 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2048
2049 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2050 (xterm--report-background-handler, xterm--query): New functions.
2051 (terminal-init-xterm): Use them.
2052
2053 2013-03-11 Michael R. Mauger <michael@mauger.com>
2054
2055 * progmodes/sql.el Version 3.2
2056 Please note that my address changed to <michael@mauger.com>;
2057 the <mmaug@yahoo.com> address remains active.
2058 (sql-connection-alist): Updates documentation to fix bug#13715.
2059 (sql-connect): Handle missing `sql-connection-alist' correctly.
2060 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2061 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2062 property.
2063 (sql-default-value): New function.
2064 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2065 values were not used.
2066 (sql-rename-buffer): Make sure alternate buffer name has no text
2067 properties.
2068 (sql-input-sender, sql-execute-feature): Fetch variable with
2069 `buffer-local-value' rather than `with-current-buffer'.
2070 (sql-*): Use #' function syntax consistently.
2071 (sql-*): Use message/error/user-error consistently.
2072
2073 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * xt-mouse.el (xterm-mouse-event-read): Remove.
2076 (xterm-mouse--read-event-sequence-1000)
2077 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2078
2079 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2080
2081 * term/xterm.el (xterm-function-map): Support format used with
2082 formatOtherKeys=1 (bug#13839).
2083
2084 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2085 (with-no-warnings): Use `declare'.
2086
2087 * whitespace.el (whitespace-enable-predicate): New variable.
2088 (whitespace-enable-predicate): Use it.
2089
2090 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2091 (comint-output-filter, comint-update-fence):
2092 Use with-silent-modifications.
2093
2094 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2095
2096 * replace.el (occur-read-regexp-defaults-function): New var.
2097 (occur-read-regexp-defaults): New defun.
2098 (occur-read-primary-args): Propagate above change (bug#13892).
2099
2100 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2103
2104 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2105
2106 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2107
2108 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2109 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2110 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2111 New defconst.
2112 (tramp-gvfs-file-name-handler-alist) [directory-files]
2113 [directory-files-and-attributes, file-exists-p, file-modes]:
2114 Use Tramp default handler.
2115 [file-acl, file-selinux-context, process-file, set-file-acl]:
2116 [set-file-modes, set-file-selinux-context, shell-command]:
2117 [start-file-process]: Remove handler.
2118 [verify-visited-file-modtime]: New handler.
2119 (tramp-gvfs-dbus-string-to-byte-array)
2120 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2121 calls of `dbus-string-to-byte-array' and
2122 `tramp-gvfs-dbus-byte-array-to-string'.
2123 (tramp-gvfs-handle-copy-file)
2124 (tramp-gvfs-handle-delete-directory)
2125 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2126 (tramp-gvfs-handle-file-directory-p)
2127 (tramp-gvfs-handle-file-executable-p)
2128 (tramp-gvfs-handle-file-name-all-completions)
2129 (tramp-gvfs-handle-file-readable-p)
2130 (tramp-gvfs-handle-file-writable-p)
2131 (tramp-gvfs-handle-insert-directory)
2132 (tramp-gvfs-handle-insert-file-contents)
2133 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2134 (tramp-gvfs-handle-set-visited-file-modtime)
2135 (tramp-gvfs-handle-write-region): Rewrite.
2136 (tramp-gvfs-handle-file-acl)
2137 (tramp-gvfs-handle-file-selinux-context)
2138 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2139 (tramp-gvfs-handle-set-file-modes)
2140 (tramp-gvfs-handle-set-file-selinux-context)
2141 (tramp-gvfs-handle-shell-command)
2142 (tramp-gvfs-handle-start-file-process)
2143 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2144 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2145 over the symlinks. Fix user handling.
2146 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2147 of the D-Bus signals.
2148 (tramp-gvfs-connection-mounted-p): Handle different names of the
2149 D-Bus methods.
2150 (tramp-gvfs-mount-spec-entry): New defun.
2151 (tramp-gvfs-mount-spec): Use it.
2152 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2153 there is a share name. Handle different names of the D-Bus
2154 signals and methods. Set connection properties needed for
2155 `tramp-check-cached-permissions'.
2156 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2157 Return t or nil.
2158
2159 * net/tramp.el (tramp-backtrace): Move up.
2160 (tramp-error): Dump a backtrace into the debug buffer when
2161 `tramp-verbose > 9.
2162 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2163 (tramp-file-mode-permissions, tramp-get-local-uid)
2164 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2165 tramp-sh.el.
2166
2167 * net/tramp-sh.el (tramp-file-mode-type-map)
2168 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2169 (tramp-file-mode-permissions, tramp-get-local-uid)
2170 (tramp-get-local-gid): Move to tramp.el.
2171
2172 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 Separate mouse-1-click-follows-link from mouse-drag-region.
2175 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2176 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2177 (mouse-drag-line, mouse-drag-track):
2178 Remove mouse-1-click-follows-link code.
2179 (mouse--remap-link-click-p): Remove.
2180
2181 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2182
2183 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2184 (hi-lock-read-regexp-defaults): New defun.
2185 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2186 (hi-lock-face-phrase-buffer): Propagate above change.
2187 Update docstring (bug#13892).
2188
2189 * subr.el (find-tag-default-as-regexp): New defun.
2190 * replace.el (read-regexp): Propagate above change.
2191
2192 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2193
2194 * calc/calc-units.el (calc-convert-units): Fix the way that default
2195 new units are stored.
2196
2197 2013-03-07 Matthias Meulien <orontee@gmail.com>
2198
2199 * bookmark.el: Define a face to highlight bookmark names in
2200 bookmark menu buffers, where the default is a bold face similarly
2201 to buffer names in buffer menu buffers.
2202 (bookmark-menu-bookmark): New face to highlight bookmark names.
2203 (bookmark-insert-location): Remove duplicated text property to
2204 conform to buffer list (see `list-buffers').
2205 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2206 `bookmark-menu-bookmark' to bookmark names.
2207
2208 2013-03-07 Matthias Meulien <orontee@gmail.com>
2209 Karl Fogel <kfogel@red-bean.com>
2210
2211 * bookmark.el: Display the bookmark list header similarly to the
2212 buffer list header (see `list-buffers'), where the default is now
2213 an immovable/immutable header line.
2214 (bookmark-bmenu-use-header-line): New variable.
2215 (bookmark-bmenu-inline-header-height): New name for
2216 `bookmark-bmenu-header-height', to avoid confusion with the code
2217 for the new immovable header. All references changed.
2218 (bookmark-bmenu-set-header): New function.
2219 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2220 Conditionalize header construction accordingly.
2221 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2222 the inline header height.
2223 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2224 Conditionalize the skipping of the inline header height.
2225
2226 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2227
2228 * progmodes/js.el (js--multi-line-declaration-indentation):
2229 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2230
2231 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2232
2233 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2234 Only propertize regexp when not inside a string (Bug#13885).
2235
2236 2013-03-06 Alan Mackenzie <acm@muc.de>
2237
2238 Correct the position of point in some line-up functions.
2239 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2240 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2241 point at column 0 rather than at a random place in the line.
2242
2243 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2244
2245 * net/tramp-compat.el (tramp-compat-delete-directory):
2246 Implement TRASH argument.
2247
2248 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2249
2250 Keep pre-existing highlighting in completion candidates (Bug#13250).
2251 * minibuffer.el (completions-first-difference): State that the
2252 face is "added" in the docstring.
2253 (completions-common-part): Same. And don't inherit from default.
2254 (completion-hilit-commonality): Prepend 'completions-common-part
2255 and 'completion-first-difference faces to the 'face property,
2256 instead of replacing the value(s).
2257 (completion--insert-strings): Same with 'completions-annotations face.
2258 (completion-hilit-commonality): Use 'face instead of
2259 'font-lock-face, because it gets priority if the completion
2260 strings already have 'face set.
2261
2262 2013-03-04 Alan Mackenzie <acm@muc.de>
2263
2264 Replace `last-command-event' by `last-command-char' in XEmacs.
2265 * progmodes/cc-defs.el (c-last-command-char): New macro.
2266 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2267 (c-semi&comma-no-newlines-before-nonblanks)
2268 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2269 in place of `last-command-event'.
2270 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2271 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2272 (c-electric-paren, c-electric-continued-statement): Use the new
2273 macro in place of `last-command-event'.
2274
2275 2013-03-04 Glenn Morris <rgm@gnu.org>
2276
2277 * files.el (inhibit-local-variables-regexps):
2278 Add .diff and .patch. (Bug#13862)
2279
2280 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2281
2282 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2283 whether the "su" command is available on the device.
2284
2285 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2286
2287 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2288 (tramp-adb-handle-process-file): Remove superfluous setting.
2289 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2290 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2291 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2292
2293 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2296 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2297 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2298 Use dict-key rather than dict-name for the error message.
2299
2300 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2301
2302 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2303 when reverting (bug#13831).
2304
2305 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2306
2307 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2308 Always expand affix-file before storing to protect against changed
2309 `default-directory'.
2310 (ispell-print-if-debug): Make sure message is printed at the end
2311 of the debug buffer.
2312
2313 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2314
2315 * net/tramp.el (tramp-obsolete-methods): New defconst.
2316 (tramp-warned-obsolete-methods): New defvar.
2317 (tramp-find-method): Check for obsolete methods. Map them to a
2318 replacement method if appropriate.
2319
2320 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2321 Remove methods.
2322 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2323 "ssh2" and "plink1".
2324
2325 2013-02-28 Dale Sedivec <dale@codefu.org>
2326
2327 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2328 Return valid syntax-table property value when converting
2329 quotes within text from string syntax to punctuation syntax (bug#13844).
2330
2331 2013-02-28 Juri Linkov <juri@jurta.org>
2332
2333 * dired-aux.el (dired-diff): If file at point is a backup file,
2334 use its original as the default value, and reverse the order
2335 of arguments to the `diff' call. Doc fix. (Bug#13772)
2336
2337 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2340 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2341
2342 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2343
2344 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2345
2346 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2347 Ask hunspell about available and default dictionaries.
2348 (ispell-parse-hunspell-affix-file): Extract relevant info from
2349 hunspell affix file.
2350 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2351 `ispell-dictionary-alist' entry for given dictionary after info
2352 provided by `ispell-parse-hunspell-affix-file'.
2353 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2354 of parsed hunspell dicts and associated affix files.
2355 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2356 of parsed hunspell dicts and associated parameters.
2357 (ispell-set-spellchecker-params):
2358 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2359 previously done.
2360 (ispell-start-process):
2361 Call `ispell-hunspell-fill-dictionary-entry' for current
2362 dictionary if it is not initialized.
2363
2364 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * imenu.el: Comment nitpicks.
2367
2368 2013-02-28 Sam Steingold <sds@gnu.org>
2369
2370 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2371 See <http://stackoverflow.com/questions/14720205>.
2372
2373 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2374
2375 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2376 (net-utils-mode): Use it.
2377 (net-utils--revert-cmd): New var.
2378 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2379 (traceroute): Use net-utils-run-simple.
2380
2381 2013-02-28 Glenn Morris <rgm@gnu.org>
2382
2383 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2384
2385 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2388 (doc-view-fallback-mode): Remove overlays here.
2389 (doc-view-toggle-display): Instead of here. Don't throw away
2390 image-mode-winprops-alist.
2391 (doc-view-goto-page): Don't mess with hscroll.
2392
2393 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2394
2395 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2396 &optional (bug#13819).
2397
2398 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * net/tramp-adb.el (tramp-adb-parse-device-names)
2401 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2402
2403 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2404
2405 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2406 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2407 defined. POSIX environments fall back to the "C" locale then and
2408 emit a warning, which shall be suppressed.
2409
2410 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2413 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2414
2415 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2418
2419 2013-02-25 Juri Linkov <juri@jurta.org>
2420
2421 * replace.el (read-regexp): Let-bind `default' to the first
2422 element of `defaults' if it's a list, otherwise it should be
2423 a string or nil. Let-bind `suggestions' to `defaults' if it's
2424 a list, otherwise make a list with the string value. Doc fix.
2425 (Bug#13805)
2426
2427 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2428
2429 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2430 that match "\`\.#", to avoid compiling lock files, even if they
2431 are readable (as they are on MS-Windows).
2432
2433 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * files.el (basic-save-buffer): Remove redundant directory-creation.
2436
2437 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2438
2439 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2440 Add option to force `pi' to remain symbolic.
2441 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2442 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2443 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2444 derivatives, when necessary.
2445
2446 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2447
2448 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2449 (ps-mode-octal-region): Use string-make-unibyte.
2450
2451 2013-02-23 Glenn Morris <rgm@gnu.org>
2452
2453 * emulation/viper-cmd.el (viper-submit-report):
2454 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2455 * progmodes/vera-mode.el (vera-mode-help-address):
2456 * textmodes/artist.el (artist-maintainer-address):
2457 * textmodes/reftex.el (reftex-report-bug):
2458 * vc/ediff-util.el (ediff-submit-report):
2459 Add bug-gnu-emacs to bug report address.
2460
2461 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2462 Remove bug report entries.
2463 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2464
2465 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2466 (byte-compile-file, byte-compile-from-buffer):
2467 Use separate input/output buffers for each level of recursive
2468 byte-compile-file calls. (Bug#13787)
2469
2470 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * net/tramp.el (tramp-methods): Fix docstring.
2473 (tramp-ssh-controlmaster-options): Rename it from
2474 `tramp-ssh-controlmaster-template'. Return a string.
2475 (tramp-default-method): Adapt check for
2476 `tramp-ssh-controlmaster-options'.
2477
2478 * net/tramp-sh.el (tramp-methods):
2479 Replace `tramp-ssh-controlmaster-template' by "%c".
2480 (tramp-do-copy-or-rename-file-out-of-band)
2481 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2482 that it is applied for the first hop only.
2483
2484 2013-02-22 Juri Linkov <juri@jurta.org>
2485
2486 * isearch.el (isearch-lazy-highlight-new-loop):
2487 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2488 to `isearch-other-end' if it is not nil. (Bug#13402)
2489
2490 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2491 to `match-beg'.
2492
2493 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2494 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2495 and `isearch-error' to nil.
2496
2497 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2498
2499 * progmodes/python.el (python-info-current-defun):
2500 Enhance match-data cluttering prevention.
2501
2502 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2503
2504 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2505
2506 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2507 Handle multibyte file names.
2508
2509 2013-02-22 Glenn Morris <rgm@gnu.org>
2510
2511 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2512 (sgml-transformation-function): Give it a :set function.
2513 (sgml-tag): Doc fix.
2514
2515 * cmuscheme.el (scheme-buffer):
2516 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2517 * progmodes/tcl.el (inferior-tcl-buffer):
2518 * textmodes/tex-mode.el (tex-command): Doc fixes.
2519
2520 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2521
2522 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2523
2524 2013-02-21 Bastien Guerry <bzg@gnu.org>
2525
2526 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2527
2528 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2529
2530 * progmodes/python.el (python-info-current-defun):
2531 Enhance match-data cluttering prevention.
2532
2533 2013-02-21 Glenn Morris <rgm@gnu.org>
2534
2535 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2536 loaded while outline-regexp is let bound. (Bug#9584)
2537
2538 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2539
2540 * progmodes/python.el (python-info-current-defun): Fix failed
2541 defun name retrieval because of unwanted match-data cluttering.
2542
2543 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2544
2545 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2546 defconst. Apply independent check for ControlPersist.
2547
2548 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2549 temporarily, via "env".
2550
2551 2013-02-21 Glenn Morris <rgm@gnu.org>
2552
2553 * info.el (Info-enable-edit): Remove.
2554 (Info-edit): Disable it rather than using Info-enable.
2555 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2556 (Info-cease-edit): Make editing of Info files obsolete.
2557
2558 * informat.el (Info-tagify):
2559 Handle buffers not visiting files. (Bug#13763)
2560
2561 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2562
2563 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2564
2565 2013-02-21 Glenn Morris <rgm@gnu.org>
2566
2567 * files.el (basic-save-buffer): Move check for existing parent
2568 directory after hooks. (Bug#13773)
2569
2570 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * simple.el (command-execute): Move from C. Add obsolete check.
2573 (extended-command-history): Move from C.
2574
2575 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2576
2577 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2578 (jka-compr-mode-alist-additions): Handle .txz suffix for
2579 XZ-compressed tar archives (bug#13770).
2580
2581 2013-02-20 Bastien Guerry <bzg@gnu.org>
2582
2583 * outline.el (outline-regexp, outline-heading-end-regexp):
2584 Make variables, not options (bug#13731).
2585
2586 2013-02-20 Glenn Morris <rgm@gnu.org>
2587
2588 * image.el (image-current-frame): Change from variable to function.
2589 (image-show-frame): Rename from image-nth-frame. Update callers.
2590 * image-mode.el (image-multi-frame): New variable.
2591 (image-mode-map, image-mode, image-goto-frame):
2592 Use image-multi-frame rather than image-current-frame.
2593 (image-mode, image-goto-frame): Use image-current-frame as
2594 function rather than as variable.
2595
2596 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2597 * emacs-lisp/cl-macs.el (cl--make-type-test)
2598 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2599
2600 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2601
2602 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2603 (tramp-get-file-property, tramp-set-file-property)
2604 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2605 (tramp-flush-file-property, tramp-flush-directory-property):
2606 Rename argument to KEY.
2607 (tramp-flush-connection-property): Simplify a little bit.
2608 (tramp-connection-property-p): New defun.
2609 (top): Reapply saved values only if there isn't a corresponding
2610 entry in `tramp-connection-properties'.
2611
2612 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2613
2614 * progmodes/python.el (python-indent-context):
2615 Fix python-info-line-ends-backslash-p call.
2616 (python-info-line-ends-backslash-p)
2617 (python-info-beginning-of-backslash): Respect line-number argument.
2618 (python-info-current-line-comment-p):
2619 Fix behavior when not at beginning-of-line.
2620 (python-util-position): Remove function.
2621 (python-util-goto-line): New function.
2622
2623 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2624
2625 * eshell/em-unix.el (eshell/su): Require tramp.
2626 (eshell/sudo): Require tramp. Remove now unnecessary check.
2627
2628 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2629 `tramp-current-connection' in order to avoid an error when several
2630 commands are invoked in a short time in eshell and friends.
2631
2632 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 Cleanup some of EIEIO's namespace.
2635 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2636 Use it to define all the class-* and object-* field accessors (renamed
2637 to eieio--class-* and eieio--object-*). Update all uses.
2638 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2639 class-num-slots and object-num-slots.
2640 (eieio--check-type): New macro.
2641 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2642 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2643 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2644 (object-assoc-list-safe): Use it.
2645 (eieio-defclass): Tighten regexp.
2646 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2647 Remove unreachable code.
2648 (object-class-fast): Declare obsolete.
2649 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2650 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2651 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2652 Rename from class-name, object-name, object-set-name-string,
2653 object-class, object-class-name, class-parents, class-children,
2654 class-precedence-list, class-parent; with obsolete alias.
2655 (class-of, class-direct-superclasses, class-direct-subclasses):
2656 Declare obsolete.
2657 (eieio-defmethod): Use `memq'; remove unreachable code.
2658 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2659 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2660 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2661
2662 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2663
2664 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2665 commentary.
2666
2667 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2668
2669 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2670 Use font-lock-keyword-face for macros and special forms (bug#8345).
2671
2672 2013-02-17 Didier Verna <didier@didierverna.net>
2673
2674 * net/network-stream.el (network-stream-open-starttls):
2675 Check that response to the starttls-command is non-nil. (Bug#13706)
2676
2677 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2679 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2680 Don't assume all identifier chars have syntax word.
2681 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2682 Remove bar-not-symbol. Adjust callers.
2683 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2684
2685 2013-02-17 Leo Liu <sdl.web@gmail.com>
2686
2687 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2688
2689 2013-02-17 Glenn Morris <rgm@gnu.org>
2690
2691 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2692
2693 * image-mode.el (image-mode-map): Add image-dired menu entry.
2694
2695 * image-dired.el (tumme): Make this alias obsolete.
2696
2697 2013-02-16 Glenn Morris <rgm@gnu.org>
2698
2699 * image.el (image-animated-types): Remove.
2700 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2701 (image-animated-p): Make obsolete alias.
2702 (image-animate, image-nth-frame, image-animate-timeout):
2703 Use image-multi-frame-p.
2704 (image-animate-timeout): If no delay, use image-default-frame-delay.
2705 * image-mode.el (image-mode, image-toggle-animation):
2706 Use image-multi-frame-p. (Bug#763, bug#10739)
2707 (image-mode): Adjust startup message for a multi-frame image.
2708
2709 * image-mode.el (image-mode-map): Give it a menu.
2710
2711 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2712
2713 * net/tramp-cache.el (tramp-connection-properties): New customer
2714 option.
2715 (tramp-get-connection-property): Use it.
2716
2717 * net/tramp-compat.el (top): Require 'trampver.
2718
2719 * net/tramp-sh.el (tramp-remote-process-environment):
2720 Set tramp-autoload cookie.
2721
2722 2013-02-16 Kevin Ryde <user42@zip.com.au>
2723
2724 * info-look.el (info-lookup-select-mode): If major-mode has no
2725 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2726
2727 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2728
2729 * replace.el (read-regexp): Tighten the regexp that matches tag.
2730 When tag is retrieved with `find-tag-default', use regexp that
2731 matches tag at point. Also update docstring (Bug#13687).
2732
2733 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2734
2735 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2736 add watch for the file, not its parent directory, since w32notify
2737 sets up the watch for the directory internally. (Bug#13725)
2738
2739 2013-02-16 Glenn Morris <rgm@gnu.org>
2740
2741 * image.el (image-default-frame-delay): New variable.
2742 (image-animated-p): Use image-default-frame-delay.
2743 (image-minimum-frame-delay): New constant.
2744 (image-animate-timeout): Use image-minimum-frame-delay.
2745
2746 * image.el (image-nth-frame): New, split from image-animate-timeout.
2747 (image-animate-timeout): Use image-nth-frame.
2748 * image-mode.el (image-goto-frame, image-next-frame)
2749 (image-previous-frame): New commands.
2750 (image-mode-map): Add new frame commands.
2751
2752 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2753
2754 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2755 If col-desc already has help-echo, use it. (Bug#13563)
2756
2757 2013-02-16 Glenn Morris <rgm@gnu.org>
2758
2759 * image.el (image-current-frame): New variable.
2760 (image-animate-timeout): Set image-current-frame.
2761 * image-mode.el (image-mode): For animated images,
2762 display a frame counter via mode-line-process.
2763
2764 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2765
2766 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2769
2770 2013-02-15 Alan Mackenzie <acm@muc.de>
2771
2772 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2773 global minor mode has been enabled, call the minor mode function
2774 for a new buffer once only, after the major mode hook, whilst
2775 allowing that hook explicitly to disable the minor mode.
2776 (MODE-disable-in-buffer): New (generated) function.
2777 (disable-MODE): New (generated) buffer local variable.
2778
2779 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2780
2781 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2782 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2783 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2784 `ido-next-match' and `ido-prev-match' resply.
2785 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2786 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2787 `icomplete-backward-completions' (Bug#13708).
2788
2789 2013-02-15 Glenn Morris <rgm@gnu.org>
2790
2791 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2792
2793 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2796 (goto-address-fontify-region): Use them instead of narrowing, so
2797 syntax-ppss has access to the whole buffer.
2798
2799 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2800
2801 * progmodes/python.el: Explain how to restore "cc-mode"-like
2802 forward-sexp movement in header documentation (Bug#13642).
2803 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2804 comments and strings (GH bug 114).
2805
2806 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2807
2808 * progmodes/python.el (python-info-current-defun): Fix current
2809 defun detection (Bug#13618).
2810
2811 2013-02-15 Chong Yidong <cyd@gnu.org>
2812
2813 * xml.el (xml-parse-string): Fix typo in handling of bad character
2814 references.
2815
2816 2013-02-15 Glenn Morris <rgm@gnu.org>
2817
2818 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2819
2820 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2821
2822 * net/tramp.el (tramp-debug-message):
2823 Add `tramp-condition-case-unless-debug'.
2824 (tramp-debug-on-error): New defvar.
2825 (tramp-condition-case-unless-debug): New defun.
2826 (tramp-file-name-handler): Use it.
2827
2828 2013-02-14 Juri Linkov <juri@jurta.org>
2829
2830 * info.el (Info-isearch-filter): Treat non-nil values of
2831 `search-invisible' including its default value `open'
2832 like the value `t' to match hidden text. (Bug#13402)
2833
2834 2013-02-14 Glenn Morris <rgm@gnu.org>
2835
2836 * help-fns.el (find-lisp-object-file-name): Give special treatment
2837 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2838
2839 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2840
2841 * net/quickurl.el (quickurl-save-urls):
2842 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2843
2844 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2845
2846 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2847 depth for unfinished percent literal. Not using it in the caller.
2848 (ruby-move-to-block): Jump over multiline literals of all types,
2849 ignoring code-looking contents inside them.
2850 (ruby-add-log-current-method): Improve performance at the expense
2851 of accuracy. `ruby-block-contains-point' is relatively slow, so
2852 only use it for method and singleton class blocks.
2853
2854 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2855
2856 Use ControlMaster where applicable. (Bug#13677)
2857
2858 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2859 replacing `tramp-detect-ssh-controlmaster'.
2860 (tramp-default-method): Use it.
2861
2862 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2863 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2864 arguments.
2865 [scpc, rsyncc]: Remove methods.
2866 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2867 and "ssh2_old".
2868 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2869 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2870
2871 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * emacs-lisp/package.el (package--initialized): Move before first use.
2874
2875 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2876
2877 * icomplete.el (icomplete-hide-common-prefix): New user option.
2878 (icomplete-first-match): New face.
2879 (icomplete-completions): Correct handling of "complete but not
2880 unique" (Bug#12638).
2881
2882 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2883
2884 * descr-text.el (describe-char): Display the script (bug#13698).
2885
2886 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * tmm.el: Use lexical-binding and current-active-maps.
2889 (tmm-menubar): Use map-keymap and pcase.
2890 (tmm--completion-table): New function.
2891 (tmm-prompt): Use it to fix the menu order.
2892 (tmm-get-keybind): Use current-active-maps.
2893
2894 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2895
2896 Add dired-hide-details-mode. (Bug#6799)
2897
2898 * locate.el (locate-mode): Set parent mode property to dired-mode.
2899
2900 * find-dired.el (find-dired): Call dired-insert-set-properties on
2901 initial information line. Set process mark on end of buffer.
2902 (find-dired-sentinel):
2903 Call dired-insert-set-properties on summary.
2904
2905 * dired.el (dired-hide-details-hide-symlink-targets)
2906 (dired-hide-details-hide-information-lines): New options.
2907 (dired-insert-directory):
2908 Set properties after final treatment of output.
2909 (dired-insert-set-properties):
2910 Set dired-hide-details-* properties.
2911 (dired-mode-map): Bind dired-hide-details-mode.
2912 (dired-mode): Set buffer-invisibility-spec to a list.
2913 (dired-next-line): Skip hidden lines.
2914 (dired-previous-line): Use dired-next-line.
2915 (dired-hide-details-mode): New minor mode.
2916 (dired-hide-details-update-invisibility-spec): New function.
2917
2918 2013-02-13 Glenn Morris <rgm@gnu.org>
2919
2920 * play/yow.el: Move to obsolete/. (Bug#9384)
2921
2922 2013-02-13 Juri Linkov <juri@jurta.org>
2923
2924 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2925 to select `ediff-control-frame' and set input focus correctly on Xfce.
2926 (Bug#12218)
2927
2928 2013-02-13 Juri Linkov <juri@jurta.org>
2929
2930 * image-mode.el (image-mode-map):
2931 * doc-view.el (doc-view-mode-map):
2932 * vc/ediff-util.el (ediff-setup-keymap):
2933 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2934
2935 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2936
2937 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2938 performance. Instead of recalculating indentation fully for each
2939 line, sum up indentation depth based only on visited lines.
2940 (ruby-parse-partial): Increase the depth after "do" even when END
2941 is right after it.
2942 (ruby-parse-partial): When END is in the middle of a percent
2943 literal, increase the depth if the delimiter chars belong to the
2944 paren syntax class.
2945
2946 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2947
2948 * play/fortune.el (fortune-compile): Also make the compiled file
2949 if it does not exist at all, not just if it is old. (Bug#5338)
2950
2951 2013-02-13 Glenn Morris <rgm@gnu.org>
2952
2953 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2954
2955 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2956
2957 * lisp/emacs-lisp/package.el (package-menu-execute):
2958 Add optional noquery argument. (Bug#13625)
2959
2960 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2961
2962 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2963 if DIR exists and PARENTS is non-nil.
2964
2965 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2966
2967 * progmodes/js.el (js--multi-line-declaration-indentation):
2968 Silence byte-compiler warning.
2969
2970 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2973
2974 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2975 only if it doesn't exist.
2976
2977 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2978 Set process marker.
2979
2980 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2981
2982 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2983 UserInstallation when calling soffice to work around LibreOffice
2984 bug 37531.
2985
2986 2013-02-12 Glenn Morris <rgm@gnu.org>
2987
2988 * files.el (basic-save-buffer):
2989 Offer to create a non-existing directory. (Bug#3016)
2990
2991 * calc/calc-graph.el (calc-graph-show-dumb):
2992 * calendar/calendar.el (calendar-mode-map):
2993 * cus-edit.el (custom-mode-map):
2994 * ehelp.el (electric-help-map):
2995 * emulation/vip.el (vip-mode-map):
2996 * epa.el (epa-key-list-mode-map):
2997 * info.el (Info-mode-map):
2998 * mail/rmail.el (rmail-mode-map):
2999 * mail/rmailsum.el (rmail-summary-mode-map):
3000 * man.el (Man-mode-map):
3001 * net/newst-plainview.el (newsticker-mode-map):
3002 * progmodes/cpp.el (cpp-edit-mode-map):
3003 * progmodes/grep.el (grep-mode-map):
3004 * progmodes/idlw-help.el (idlwave-help-mode-map):
3005 * simple.el (special-mode-map):
3006 * startup.el (splash-screen-keymap):
3007 * view.el (view-mode-map):
3008 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3009
3010 2013-02-11 Elias Pipping <pipping@lavabit.com>
3011
3012 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3013 (bug#13679).
3014
3015 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3018
3019 2013-02-11 Glenn Morris <rgm@gnu.org>
3020
3021 * vc/diff.el (diff-use-labels): New variable.
3022 (diff-no-select): Use --label rather than -L, and first
3023 check that it is supported. (Bug#11067)
3024
3025 * files.el (enable-dir-local-variables): New variable.
3026 (hack-dir-local-variables): Respect enable-dir-local-variables.
3027 * tutorial.el (help-with-tutorial):
3028 Ignore directory-local variables. (Bug#11127)
3029
3030 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3031 (vc-svn-global-switches): ... to here. (Bug#13513)
3032
3033 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3034
3035 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3036 Handle "foo (bar, default: xxx): " prompts.
3037
3038 2013-02-10 Chong Yidong <cyd@gnu.org>
3039
3040 * files.el (basic-save-buffer-1): Do not set
3041 buffer-file-coding-system-explicit (Bug#4533).
3042
3043 * mail/emacsbug.el (report-emacs-bug): Change binding of
3044 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3045
3046 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3047
3048 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3049 * calc/calc-units.el (calc-convert-units): Use new variable.
3050
3051 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3052
3053 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3054
3055 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3056 buffer-file-type.
3057
3058 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3059 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3060 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3061 coding-system-for-write instead.
3062
3063 * jka-compr.el (jka-compr-write-region): Don't bind
3064 buffer-file-type.
3065
3066 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3067 buffer-file-type.
3068
3069 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3070 (insert-file-contents-literally): Remove reference to
3071 file-name-buffer-file-type-alist.
3072
3073 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3074 make-obsolete.
3075 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3076 (find-buffer-file-type-coding-system): Remove references to
3077 find-buffer-file-type-match, find-buffer-file-type, and
3078 buffer-file-type.
3079 Don't put find-buffer-file-type-coding-system into
3080 file-coding-system-alist.
3081 (find-file-binary, find-file-text): Bind coding-system-for-read
3082 instead of file-name-buffer-file-type-alist.
3083
3084 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3085
3086 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3087 converter (Bug#13622).
3088 (doc-view-unoconv-program): Make obsolete alias.
3089 (doc-view-odf->pdf-converter-program): New variable.
3090 (doc-view-odf->pdf-converter-function): New variable.
3091 (doc-view-mode-p): Use it.
3092 (doc-view-odf->pdf-converter-unoconv):
3093 Rename from `doc-view-odf->pdf-converter-unoconv'.
3094 (doc-view-odf->pdf-converter-soffice): New function.
3095 (doc-view-convert-current-doc):
3096 Use `doc-view-odf->pdf-converter-function'.
3097
3098 2013-02-09 Chong Yidong <cyd@gnu.org>
3099
3100 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3101 view-echo-area-messages (Bug#13340).
3102
3103 * help.el (view-echo-area-messages): Use display-buffer.
3104
3105 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3106 (Bug#13561).
3107
3108 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3111 Eval body right away, now that we do eager macroexpansion (bug#13605).
3112
3113 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3114 (fundamental-mode): Use run-mode-hooks.
3115
3116 * eshell/esh-proc.el (eshell/kill): Fix last change.
3117 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3118
3119 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3120
3121 * eshell/esh-proc.el (eshell/kill): Rewrite.
3122
3123 * eshell/em-ls.el (show-almost-all): Declare.
3124 (eshell-do-ls): Add support for -A argument.
3125
3126 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3127
3128 * icomplete.el (icomplete-forward-completions)
3129 (icomplete-backward-completions): Handle corner case (bug#13602).
3130
3131 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3132
3133 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3134 be nil. Handle this. (Bug#13636)
3135
3136 2013-02-07 Richard Stallman <rms@gnu.org>
3137
3138 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3139 `save-buffer-coding-system'.
3140
3141 2013-02-07 Alan Mackenzie <acm@muc.de>
3142
3143 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3144 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3145 (c-parse-state-get-strategy): Don't return 'BOD any more.
3146 (c-append-lower-brace-pair-to-state-cache):
3147 Extra parameter HERE instead of narrowing.
3148 Widen to top of buffer before searching backwards for a brace pair.
3149 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3150 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3151 Narrow to parameter HERE, in place of being called narrowed.
3152 (c-remove-stale-state-cache): Extra parameter HERE in place of
3153 narrowing. Check there's an open brace in the cache before
3154 searching for its match.
3155 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3156 (c-parse-state-1): Don't narrow here for 'forward strategy,
3157 instead passing extra parameter HERE to several functions.
3158 Remove 'BOD strategy.
3159
3160 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3161
3162 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3163 used to install the package.
3164
3165 2013-02-06 Glenn Morris <rgm@gnu.org>
3166
3167 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3168 if we can't get user input. (Bug#6567)
3169
3170 * startup.el (command-line): If simple.el is missing,
3171 test and warn about for some possible causes.
3172
3173 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3174
3175 * cus-start.el (all): Add ns-use-native-fullscreen.
3176
3177 2013-02-05 Glenn Morris <rgm@gnu.org>
3178
3179 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3180
3181 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3182 Fix directory creation in fallback case.
3183
3184 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3185
3186 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3187 (vc-update-change-log): Use dolist.
3188
3189 2013-02-04 Chong Yidong <cyd@gnu.org>
3190
3191 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3192 code from ffap.el.
3193 (thing-at-point-beginning-of-url-regexp): New var.
3194 (thing-at-point-uri-schemes): Update list of URI schemes.
3195 (thing-at-point-url-regexp): Variable deleted.
3196 (thing-at-point-markedup-url-regexp): Disallow newlines.
3197 (thing-at-point-newsgroup-regexp)
3198 (thing-at-point-newsgroup-heads)
3199 (thing-at-point-default-mail-uri-scheme): New variables.
3200 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3201 method to find the possible bounds of the URI at point.
3202 New optional argument to find ill-formed URIs.
3203 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3204 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3205 the scheme-adding heuristics from ffap-url-at-point.
3206 (thing-at-point--bounds-of-well-formed-url): New function.
3207 Do parens matching to decide whether to include parens in the URI
3208 (Bug#9153).
3209
3210 * ffap.el: Require thingatpt.
3211 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3212 All URI-valid characters are now recognized (Bug#5673).
3213 (ffap-string-at-point): Use use-region-p.
3214 (ffap-url-regexp): Extra character is handled by thing-at-point.
3215 (ffap-string-at-point-mode-alist): Allow parentheses.
3216 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3217 Convert to aliases; code moved to thingatpt.el.
3218 (ffap-gnus-hook): Use setq-local.
3219
3220 2013-02-04 Glenn Morris <rgm@gnu.org>
3221
3222 * emacs-lisp/ert.el (ert--explain-format-atom):
3223 Don't try to print non-characters as characters. (Bug#13543)
3224
3225 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3228 (tramp-backtrace): New defun.
3229 (tramp-handle-insert-file-contents): Use `visit' when inserting
3230 the local copy.
3231
3232 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3233 Use `remote-file-name-inhibit-cache'.
3234
3235 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3238 (bug#13614).
3239
3240 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3241 current-load-list (bug#13366).
3242
3243 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3244
3245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3246 Identify g++ template instantiation trace. (Bug#12287)
3247 (compilation-mode-hook, compilation-start-hook)
3248 (compilation-window-height): Simplify docstrings. (Bug#13379)
3249
3250 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * mouse.el (mouse-drag-track): Always deactivate the mark before
3253 running the final event's command since that command is in charge of
3254 activating the mark if needed (bug#13523).
3255
3256 2013-02-02 Juri Linkov <juri@jurta.org>
3257
3258 * replace.el (perform-replace): Move let-bindings of isearch-*
3259 variables deeper to the loop that searches for the next match.
3260 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3261 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3262 (Bug#13579)
3263
3264 * isearch.el (isearch-search-fun-default): Check for null
3265 first element of isearch-cmds as a precaution when it's used
3266 with inactive isearch.
3267
3268 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3269
3270 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3271 error when buffer in question is narrowed so position 1 is out of
3272 visible part.
3273
3274 2013-02-02 Glenn Morris <rgm@gnu.org>
3275
3276 * textmodes/remember.el (remember-clipboard): Doc fix.
3277
3278 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3281 properties (bug#13179).
3282
3283 2013-02-02 Juri Linkov <juri@jurta.org>
3284
3285 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3286 instead of hard-coded default face `match'. (Bug#9438)
3287
3288 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3289
3290 * vc/vc-arch.el (vc-arch-registered):
3291 * vc/vc-bzr.el (vc-bzr-registered):
3292 * vc/vc-cvs.el (vc-cvs-registered):
3293 * vc/vc-git.el (vc-git-registered):
3294 * vc/vc-hg.el (vc-hg-registered):
3295 * vc/vc-mtn.el (vc-mtn-registered):
3296 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3297 (Bug#13139)
3298
3299 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3300 prefix argument. (Bug#11656)
3301
3302 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3305
3306 2013-02-01 Glenn Morris <rgm@gnu.org>
3307
3308 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3309 if the backend is known not to support it.
3310
3311 * imenu.el (imenu-default-create-index-function):
3312 Tweak infinite loop test to check for forward motion as well as none.
3313
3314 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3315
3316 * net/soap-client.el (soap-invoke): Encode the string for
3317 `url-request-data' as UTF-8.
3318 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3319
3320 2013-02-01 Glenn Morris <rgm@gnu.org>
3321
3322 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3323
3324 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3325
3326 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * net/tramp.el (tramp-tramp-file-p): Comment check for
3329 `string-as-unibyte'. The function does not exist on XEmacs, and
3330 likely we need another approach.
3331
3332 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3333 `tramp-gw-*' variables are bound.
3334
3335 2013-01-31 Glenn Morris <rgm@gnu.org>
3336
3337 * files.el (basic-save-buffer-2): Choose coding system for
3338 writing the file before backing it up, to reduce delay between
3339 backing up and writing the new version. (Bug#13522)
3340
3341 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3342
3343 * simple.el (cycle-spacing): New command.
3344 (just-one-space): Use it.
3345
3346 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3349 (opascal-newline-always-indents): Remove custom.
3350 (opascal-tab, opascal-newline): Remove commands.
3351 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3352 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3353 (opascal-save-match-data): Remove, use save-match-data instead.
3354 (opascal-save-state): Use with-silent-modifications.
3355
3356 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3357 (bug#13585).
3358
3359 2013-01-30 Juri Linkov <juri@jurta.org>
3360
3361 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3362 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3363 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3364
3365 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3368 column if we're just deleting the backslashes.
3369 (makefile-fill-paragraph): Use eolp.
3370
3371 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3372
3373 * autorevert.el (auto-revert-use-notify): Fix docstring.
3374
3375 2013-01-30 Leo Liu <sdl.web@gmail.com>
3376
3377 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3378
3379 2013-01-30 Glenn Morris <rgm@gnu.org>
3380
3381 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3382 unread-command-events twice in some cases. This tries to implement
3383 the 2012-07-26 changes in a different way. (Bug#13560)
3384
3385 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3386
3387 * progmodes/python.el
3388 (python-pdbtrack-comint-output-filter-function): Enhancements on
3389 stacktrace detection. (thanks @gnovak)
3390
3391 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3394 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3395 Use defvar-local.
3396 (jit-lock-register): Use setq-local.
3397
3398 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3399
3400 * calc-units.el (math-default-units-table): Remove initial value.
3401 (calc-convert-units): Treat expressions where all the units cancel as
3402 if they didn't have units.
3403
3404 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3405
3406 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3407 (tramp-completion-reread-directory-timeout): Fix type.
3408 (tramp-connection-min-time-diff): New defcustom.
3409
3410 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3411
3412 2013-01-30 Glenn Morris <rgm@gnu.org>
3413
3414 * imenu.el (imenu-default-create-index-function):
3415 Put back a version of the infinite loop test removed 2013-01-23.
3416
3417 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3418
3419 * progmodes/python.el (python-shell-parse-command):
3420 Find python-shell-interpreter with modified environment.
3421
3422 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3425
3426 2013-01-29 Alan Mackenzie <acm@muc.de>
3427
3428 Amend to fontify /regexp/s in actions correctly.
3429 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3430 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3431 are no longer included.
3432 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3433 What used to be these variables without "-line" in the name.
3434 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3435 (c-awk-non-arith-op-bra-re): Now also matches {.
3436 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3437 "return", and "case".
3438 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3439 by /.
3440 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3441 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3442
3443 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3444
3445 * autorevert.el (auto-revert-use-notify):
3446 Use `custom-initialize-default' for initialization. (Bug#13583)
3447
3448 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3449
3450 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3451 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3452 in `tramp-file-name-handler'.
3453 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3454 compatibility.
3455 (tramp-compute-multi-hops): Check, whether
3456 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3457
3458 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3461 (bug#13297).
3462
3463 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3464
3465 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3466 checks made superfluous by the \_< operator.
3467 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3468 temporarily) broken indentation.
3469 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3470 Highlight nested constants, too. \_< broke that.
3471
3472 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3473
3474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3475 instead of "\\b".
3476
3477 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3478
3479 * autorevert.el (auto-revert-handler): Notifications which result
3480 from a saved file shall not be taken into account. (Bug#13557)
3481
3482 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3483
3484 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3485 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3486 (lisp-mode): Pass t for it. (Bug#13556)
3487
3488 2013-01-25 Alan Mackenzie <acm@muc.de>
3489
3490 AWK Mode: Fix indentation bug at top level. Bug #12274.
3491
3492 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3493 just before CASE 5D.
3494
3495 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3496
3497 * net/socks.el (socks-nslookup-host): Use string-to-number.
3498
3499 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * autorevert.el (auto-revert-remote-files)
3502 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3503 (auto-revert-notify-enabled, auto-revert-use-notify)
3504 (auto-revert-notify-watch-descriptor-hash-list)
3505 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3506 (auto-revert-notify-event-descriptor)
3507 (auto-revert-notify-event-action)
3508 (auto-revert-notify-event-file-name): Doc fix.
3509 (global-auto-revert-mode): Reorder checks.
3510 (auto-revert-notify-rm-watch): Respect changed values of
3511 `auto-revert-notify-watch-descriptor-hash-list'.
3512 (auto-revert-notify-add-watch): Check for
3513 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3514 `inotify-add-watch'. Watch `default-directory' instead of
3515 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3516 has a changed meaning now. (Bug#13540)
3517 (auto-revert-notify-handler): Change implementation wrt events
3518 returning from a directory.
3519 (auto-revert-handler): Reorder implementation for checks of remote
3520 files.
3521 (auto-revert-buffers): Fix parentheses error.
3522
3523 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3524
3525 * progmodes/python.el: Enhancements to header documentation about
3526 skeletons. (Bug#5716)
3527
3528 * imenu.el (imenu-default-create-index-function): Remove useless
3529 infinite loop check. (Bug#13438)
3530
3531 2013-01-25 Alan Mackenzie <acm@muc.de>
3532
3533 Fix a bug in the state cache mechanism. Refactor this a bit.
3534
3535 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3536 `cache-pos' element from the return value.
3537 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3538 buffer to enable proper searching from beyond HERE. Amend the
3539 test for detecting the sought brace pair. Amend the value written
3540 to the "brace desert cache" when the brace isn't found.
3541 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3542 and several other variables analogously.
3543 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3544 parameter to a locally calculated variable.
3545 (c-parse-state-1): Change the calling conventions to the two
3546 defuns involving `cache-pos'.
3547
3548 2013-01-25 Chong Yidong <cyd@gnu.org>
3549
3550 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3551
3552 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3553
3554 * paren.el (show-paren-function): Make sure to set 'priority and
3555 'face only if the overlay does exist.
3556
3557 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3558
3559 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3560
3561 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3562 basic attributes.
3563 (tramp-sh-handle-set-file-acl): Improve error checking.
3564
3565 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3566
3567 * doc-view.el (doc-view-display): Force mode line update until all
3568 document is converted. Suggested by Stefan Monnier (Bug#13164).
3569
3570 2013-01-23 Bastien Guerry <bzg@gnu.org>
3571
3572 * paren.el (show-paren-function): Make sure an overlay exists
3573 before trying to delete it. Also use `pos' as a position only
3574 when it is an integer.
3575
3576 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3577
3578 * play/gametree.el (gametree-break-line-here): Use point-marker.
3579
3580 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3581
3582 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3583 Mark descriptive parts with `display' property.
3584
3585 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3586
3587 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3588 New variable to map standard dict names to hunspell ones.
3589 (ispell-set-spellchecker-params): Make sure specific dict names
3590 are used for standard dicts with hunspell.
3591
3592 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3593
3594 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3595 chars for note (%N) and url (%U).
3596 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3597
3598 2013-01-21 Juri Linkov <juri@jurta.org>
3599
3600 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3601 in addition to existing separate binding `meta f10' in `global-map'.
3602 (Bug#13484)
3603
3604 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3605
3606 Improve XEmacs compatibility.
3607
3608 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3609
3610 * net/tramp-adb.el (top): Require `time-date'.
3611 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3612 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3613 Use `tramp-file-name-handler'.
3614 (tramp-adb-maybe-open-connection):
3615 Use `tramp-compat-set-process-query-on-exit-flag'.
3616
3617 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3618 Use `tramp-compat-funcall'.
3619
3620 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3621 `tramp-compat-funcall'.
3622
3623 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3624
3625 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3626 reimplementation using "adb shell command ..." instead of running
3627 remote shell interactively.
3628
3629 2013-01-20 Glenn Morris <rgm@gnu.org>
3630
3631 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3632 Add native profiler menu entries.
3633
3634 * profiler.el (profiler-running-p): New function.
3635 (profiler-cpu-profile): Use profiler-running-p.
3636 (profiler-report-mode-map): Add some more menu entries.
3637
3638 2013-01-19 Glenn Morris <rgm@gnu.org>
3639
3640 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3641 fixes 2012-12-07 change. (Bug#13499)
3642
3643 2013-01-19 Leo Liu <sdl.web@gmail.com>
3644
3645 * dired.el (dired-get-marked-files): Prune erroneous values due to
3646 last change. (Bug#13152)
3647
3648 2013-01-19 Glenn Morris <rgm@gnu.org>
3649
3650 * progmodes/etags.el (tags-table-check-computed-list):
3651 Preserve point in tags buffer. (Bug#13412)
3652
3653 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3654
3655 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3656 Chong Yidong <cyd@gnu.org>
3657
3658 * image-mode.el (image-next-file, image-previous-file):
3659 New commands (Bug#8453).
3660 (image-mode-map): Bind them to n and p.
3661 (image-mode--images-in-directory): New helper function.
3662
3663 2013-01-19 Chong Yidong <cyd@gnu.org>
3664
3665 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3666 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3667 save and restore the old window configuration.
3668
3669 2013-01-18 Leo Liu <sdl.web@gmail.com>
3670
3671 * progmodes/js.el: Tweak autoload cookie for alias.
3672
3673 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3674
3675 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3676 buffer local, again. This was lost with the fix on 2013-01-12.
3677
3678 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3679
3680 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3681 order to support several eshell buffers in parallel.
3682
3683 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * autorevert.el (auto-revert-use-notify): In the :set function, do
3686 not modify `kill-buffer-hook'.
3687 (auto-revert-notify-rm-watch):
3688 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3689 (auto-revert-notify-add-watch): Do not call
3690 `auto-revert-notify-rm-watch', but add it to a buffer local
3691 `kill-buffer-hook'.
3692
3693 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3696 call to `eval' rather than a backquoted lambda.
3697
3698 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3701 to return an explicit nil.
3702 (advice--remove-function): Change accordingly.
3703
3704 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3705 the use of nadvice.el.
3706
3707 * progmodes/which-func.el (which-function): Silence imenu errors
3708 (bug#13433).
3709
3710 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3711
3712 * progmodes/sql.el (sql-imenu-generic-expression):
3713 (sql-mode-font-lock-object-name): Match schema qualified names.
3714 (sql-connect): Use string keys.
3715 (sql-product-interactive): Wait for interpreter prompt.
3716 (sql-comint-oracle): Set process coding based on NLS_LANG.
3717
3718 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3719
3720 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3721 (sql-interactive-remove-continuation-prompt):
3722 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3723
3724 2013-01-14 Leo Liu <sdl.web@gmail.com>
3725
3726 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3727 (Bug#13420)
3728
3729 2013-01-14 Glenn Morris <rgm@gnu.org>
3730
3731 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3732 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3733
3734 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3735
3736 * progmodes/python.el (python-nav-end-of-statement):
3737 Fix cornercase when handling multiline strings.
3738
3739 2013-01-13 Richard Stallman <rms@gnu.org>
3740
3741 * mail/sendmail.el (mail-position-on-field): Add doc string.
3742
3743 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3744 Get current message boundaries and pass them to
3745 message-forward-make-body-mime. Minor style changes.
3746
3747 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3748
3749 * cus-start.el (all): Avoid warnings about
3750 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3751
3752 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3753
3754 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3755
3756 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3759 (jit-lock--debug-fontifying): New var.
3760 (jit-lock--debug-fontify): New function.
3761 * subr.el (condition-case-unless-debug): Don't prevent catching the
3762 error, just let the debbugger run.
3763 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3764 timer code and don't drop errors silently.
3765
3766 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3767
3768 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3769 `permanent-local' property.
3770 (auto-revert-notify-handler): Use `file-equal-p'.
3771
3772 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3773
3774 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3775 file notification by ACTION. For filtering by file name, compare
3776 only the non-directory part of the file name.
3777
3778 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * autorevert.el: Use cl-lib instead of cl.
3781
3782 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3783 (vc-bzr-checkin): Use it.
3784 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3785 will preserve match-data.
3786
3787 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3788
3789 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3790 (js--declaration-keyword-re): New var.
3791 (js--multi-line-declaration-indentation): New function.
3792 (js--proper-indentation): Use it.
3793
3794 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3795
3796 * calc/calc.el (calc-highlight-selections-with-faces)
3797 (calc-dispatch):
3798 * comint.el (comint-history-isearch-message):
3799 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3800 * ffap.el (ffap-string-at-point-region, ffap-next)
3801 (ffap-string-at-point, ffap-string-around)
3802 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3803 (ffap-literally):
3804 * font-lock.el (font-lock-keywords-alist)
3805 (font-lock-removed-keywords-alist):
3806 * help-mode.el (help-xref-symbol-regexp):
3807 * info.el (Info-find-emacs-command-nodes):
3808 * international/mule.el (add-to-coding-system-list):
3809 * isearch.el (isearch-message-function, isearch-fail-pos):
3810 * misearch.el (multi-isearch-next-buffer-function):
3811 * newcomment.el (comment-box):
3812 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3813 (pr-setting-database):
3814 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3815 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3816 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3817 (pike-font-lock-keywords-3):
3818 * progmodes/compile.el (compile):
3819 * progmodes/etags.el (tags-table-files)
3820 (tags-table-files-function, tags-included-tables-function):
3821 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3822 (gdb-restore-windows):
3823 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3824 (ps-n-up-filling-database):
3825 * server.el (server-buffer, server-log):
3826 * simple.el (newline, delete-backward-char, delete-forward-char)
3827 (minibuffer-history-isearch-message, kill-line, track-eol)
3828 (temporary-goal-column):
3829 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3830 (flyspell-default-deplacement-commands):
3831 * textmodes/ispell.el (ispell-accept-output):
3832 * textmodes/sgml-mode.el (html-tag-help):
3833 * vc/compare-w.el (compare-ignore-whitespace)
3834 (compare-ignore-case, compare-windows-dehighlight):
3835 * vc/diff.el (diff):
3836 * whitespace.el (whitespace-point)
3837 (whitespace-font-lock-refontify, whitespace-bob-marker)
3838 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3839
3840 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3841
3842 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3843 (auto-revert-notify-rm-watch): Ignore errors.
3844 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3845 inotify, and '(size last-write-time) for w32notify.
3846 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3847 watch fails - this is a fallback to the file modification check.
3848 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3849 (auto-revert-notify-event-action)
3850 (auto-revert-notify-event-file-name): New defuns.
3851 (auto-revert-notify-handler): Use them. Implement first
3852 plausibility checks.
3853 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3854
3855 2013-01-11 Julien Danjou <julien@danjou.info>
3856
3857 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3858 max are almost equal. Also return the correct value for V which is
3859 already between 0 and 1.
3860
3861 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3862
3863 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3864
3865 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3866
3867 * autorevert.el (auto-revert-notify-rm-watch)
3868 (auto-revert-notify-add-watch): Fix typos in w32notify function
3869 names.
3870
3871 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3872
3873 * autorevert.el (auto-revert-notify-enabled): Move up.
3874 (auto-revert-use-notify): New defcustom.
3875 (auto-revert-mode, global-auto-revert-mode)
3876 (auto-revert-notify-add-watch, auto-revert-handler)
3877 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3878 `auto-revert-notify-enabled'.
3879
3880 2013-01-10 Elias Pipping <pipping@exherbo.org>
3881
3882 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3883 * doc-view.el (doc-view-document->bitmap):
3884 Use doc-view-single-page-converter-function instead of
3885 single-page-converter arg; adjust callers.
3886
3887 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3888
3889 * progmodes/which-func.el (which-function): Understand Semantic's use
3890 of overlays in imenu--index-alist.
3891
3892 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3893
3894 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3895 (Man-man-k-use-anchor): New var.
3896 (Man-parse-man-k): New function.
3897 (Man-completion-table): Use it.
3898 (man): Flush the completion cache between uses.
3899
3900 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * autorevert.el: Add file watch support.
3903 (auto-revert-notify-enabled): New defconst.
3904 (auto-revert-notify-watch-descriptor-hash-list)
3905 (auto-revert-notify-watch-descriptor)
3906 (auto-revert-notify-modified-p): New defvars.
3907 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3908 (auto-revert-notify-handler): New defuns.
3909 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3910 when mode is disabled.
3911 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3912 (auto-revert-buffers): Add file watches for active buffers.
3913
3914 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3915
3916 * cus-start.el (toplevel): Only allow float values for
3917 scroll-up-aggressively and scroll-down-aggressively.
3918 Allow any number for line-spacing.
3919
3920 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3923 (doc-view-pdf->png-converter-function): Use mupdf if available.
3924 (doc-view-djvu->png-converter-function)
3925 (doc-view-ps->png-converter-function): Remove.
3926 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3927 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3928 (doc-view-already-converted-p): Adjust accordingly.
3929 (doc-view-mode-p): Simplify.
3930 (doc-view-enlarge): Use setq-local.
3931 (doc-view-pdf->png-converter-ghostscript)
3932 (doc-view-djvu->png-converter-ddjvu)
3933 (doc-view-pdf->png-converter-mupdf): Rework to call
3934 doc-view-start-process directly.
3935 (doc-view-pdf/ps->png): Simplify accordingly.
3936 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3937 (doc-view-document->bitmap): Rename from doc-view-document->png.
3938 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3939 (doc-view-set-slice-from-bounding-box): Fix completion table.
3940 (doc-view-mode): Use add-hook for after-revert-hook.
3941
3942 2013-01-10 Glenn Morris <rgm@gnu.org>
3943
3944 * emacs-lisp/authors.el (authors-ignored-files)
3945 (authors-valid-file-names, authors-renamed-files-alist):
3946 Add some more entries.
3947
3948 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3951 `t' pseudo-window entry.
3952
3953 2013-01-10 Alan Mackenzie <acm@muc.de>
3954
3955 Fix bugs in the c-parse-state mechanism. Reuse some markers
3956 instead of continually generating new ones.
3957
3958 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3959 (c-state-old-cpp-end-marker): New variables.
3960 (c-append-lower-brace-pair-to-state-cache): Start a backward
3961 search for "}" definitively outside CPP constructs.
3962 (c-remove-stale-state-cache): Inform the caller of a need to
3963 search back for a brace pair in certain circumstances.
3964 (c-state-maybe-marker): New macro.
3965 (c-parse-state): Reuse markers when appropriate.
3966
3967 2013-01-10 Glenn Morris <rgm@gnu.org>
3968
3969 * simple.el (execute-extended-command): Doc fix.
3970 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3971
3972 2013-01-10 Chong Yidong <cyd@gnu.org>
3973
3974 * faces.el (read-face-name): Doc fix.
3975
3976 2013-01-10 Roland Winkler <winkler@gnu.org>
3977
3978 * emacs-lisp/crm.el: Allow any regexp for separators.
3979 (crm-default-separator): All spaces around the default comma separator.
3980 (crm--completion-command): New macro.
3981 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3982 (crm-complete-and-exit): Handle non-single-char separators.
3983
3984 2013-01-09 Elias Pipping <pipping@lavabit.com>
3985
3986 * doc-view.el: Add support for DjVu (bug#13164).
3987 (doc-view-djvu->png-converter-function): New config var.
3988 (doc-view-single-page-converter-function, doc-view--image-type)
3989 (doc-view--image-file-extension): New vars.
3990 (doc-view-mode): Initialize them.
3991 (doc-view-goto-page): Use them.
3992 (doc-view-mode-p): Add support for ddjvu.
3993 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3994 (doc-view-set-up-single-converter): New funs.
3995 (doc-view-pdf/ps->png): Extend for djvu.
3996 (doc-view-document->png): Rename from doc-view-pdf->png.
3997 (doc-view-convert-current-doc): Handle djvu.
3998 (doc-view-insert-image, doc-view-display)
3999 (doc-view-already-converted-p): Don't hardcode png.
4000 (doc-view-set-doc-type): Recognize djvu docs.
4001
4002 2013-01-09 Elias Pipping <pipping@lavabit.com>
4003
4004 * doc-view.el: Add support for mupdf converter (bug#13164).
4005 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4006 (doc-view-ps->png-converter-function): New config vars.
4007 (doc-view-pdf->png-converter-ghostscript)
4008 (doc-view-ps->png-converter-ghostscript)
4009 (doc-view-pdf->png-converter-mupdf): New functions.
4010 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4011
4012 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4013
4014 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4015 first in session cache: When `tramp-own-remote-path' is in
4016 `tramp-remote-path', the remote path is only set in the session
4017 cache.
4018
4019 2013-01-09 Glenn Morris <rgm@gnu.org>
4020
4021 * emacs-lisp/trace.el (trace-function-foreground)
4022 (trace-function-background): Doc fix.
4023
4024 2013-01-09 Juri Linkov <juri@jurta.org>
4025
4026 * international/mule-cmds.el (read-char-by-name): Move let-binding
4027 of completion-ignore-case around completing-read to fix regression
4028 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4029 `string-match-p' using the nil value of `case-fold-search' and
4030 `completion-ignore-case' in `completion-pcm--all-completions'.
4031 (Bug#12615).
4032
4033 2013-01-09 Glenn Morris <rgm@gnu.org>
4034
4035 * progmodes/compile.el (compilation-parse-errors):
4036 Fix typo. (Bug#13369)
4037
4038 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4039
4040 * comint.el (comint-send-input): Check size of buffer before
4041 waiting for process output, in case already accepted. (Bug#13290)
4042
4043 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4044
4045 Spelling fixes.
4046 * net/tramp-adb.el (tramp-adb-get-toolbox):
4047 Fix misspelling of 'unknown'.
4048
4049 2013-01-08 Juri Linkov <juri@jurta.org>
4050
4051 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4052 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4053 Use underline style wave on terminals that support it. (Bug#13000)
4054
4055 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4058 the predicate returns nil.
4059
4060 * simple.el: Use lexical-binding.
4061 (primitive-undo): Use pcase.
4062 (minibuffer-history-isearch-push-state): Use a closure.
4063
4064 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4065
4066 * simple.el (primitive-undo): Move from undo.c.
4067
4068 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4069
4070 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4071 (cvs-mode-remove-handled): Use it (bug#13380).
4072
4073 * emacs-lisp/nadvice.el (advice--tweak): New function.
4074 (advice--remove-function, advice--subst-main): Use it.
4075
4076 * emacs-lisp/advice.el: Update commentary.
4077
4078 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4079
4080 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4081 Remove spurious entry.
4082
4083 2013-01-08 Glenn Morris <rgm@gnu.org>
4084
4085 * net/tramp.el (tramp-default-host-alist): Add :version.
4086
4087 2013-01-08 Juri Linkov <juri@jurta.org>
4088
4089 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4090 single completion. (Bug#12456)
4091 (info--manual-names): Expand node completions into an explicit list
4092 before appending it to another list. Filter out internal buffers
4093 with the leading space in the buffer name. (Bug#10771)
4094
4095 2013-01-08 Juri Linkov <juri@jurta.org>
4096
4097 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4098 that defaults to the Top node.
4099 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4100 the short format (FILENAME) goes to the Top node.
4101 (Info-build-node-completions): Rename arg `file' to `filename'.
4102 (Bug#13365)
4103
4104 2013-01-07 Bastien Guerry <bzg@gnu.org>
4105
4106 * menu-bar.el (menu-bar-search-documentation-menu):
4107 Use `apropos-user-option' and fix the help message.
4108
4109 2013-01-07 Bastien Guerry <bzg@gnu.org>
4110
4111 * apropos.el (apropos-do-all): Update docstring.
4112 (apropos-user-option-button): New face.
4113 (apropos-user-option): Rename from `apropos-variable' and update
4114 docstring.
4115 (apropos-variable): Rewrite, now show all variables by default.
4116 (apropos-print): Mention "User option" instead of "Variable" when
4117 printing doc for user options. (Bug#13276)
4118
4119 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4120
4121 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4122 Handle filename correctly, when parsing "source -> target" symlink
4123 output.
4124 (tramp-adb-handle-set-file-times): New defun.
4125
4126 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4129 advice list when the interactive-spec of ad-Advice-* changes.
4130
4131 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4132
4133 * wid-edit.el (widget-default-get): Work for inlined elements.
4134 (Bug#12670)
4135
4136 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4137
4138 * net/tramp.el (tramp-default-host-alist): New defcustom.
4139 (tramp-find-host): Use it.
4140 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4141 `eshell-directory-change-hook'.
4142
4143 * net/tramp-adb.el (top): Add adb specific entry in
4144 `tramp-default-host-alist'.
4145 (tramp-adb-file-name-host): Remove function.
4146 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4147 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4148
4149 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4150
4151 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4152
4153 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4154
4155 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4156
4157 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4158 consist of more than one digit.
4159 (tramp-adb-file-name-handler-alist):
4160 Use `tramp-handle-file-exists-p' consistently.
4161 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4162 (tramp-adb-handle-file-exists-p): Remove function.
4163 (tramp-adb-file-name-host): New defun.
4164 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4165 Use it.
4166 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4167
4168 2013-01-06 Chong Yidong <cyd@gnu.org>
4169
4170 * vc/vc.el (vc-next-action): Detect buffer modifications
4171 conflicting with locking VCS operation (Bug#11490).
4172
4173 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4174
4175 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4176
4177 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4178 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4179
4180 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4181
4182 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4183 parsing of ls output using regular expression (handle filenames
4184 with spaces). Use virtual device number.
4185 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4186 cleanup).
4187
4188 2013-01-04 Daiki Ueno <ueno@gnu.org>
4189
4190 * epg.el: Silence byte-compiler warnings.
4191 (epg--start): Use delete-char instead of delete-backward-char.
4192 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4193
4194 2013-01-04 Daiki Ueno <ueno@gnu.org>
4195
4196 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4197 Suggested by Eli Zaretskii <eliz@gnu.org>.
4198
4199 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4200
4201 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4202 non-negative integers. Otherwise, the default values are used.
4203 (tramp-convert-file-attributes): Convert uid and gid to integers.
4204
4205 2013-01-04 Glenn Morris <rgm@gnu.org>
4206
4207 * term.el (term-handle-colors-array): Ensure face attributes
4208 are fully specified, not nil. (Bug#13337)
4209
4210 * term.el (term-default-fg-color, term-default-bg-color):
4211 Fix custom type.
4212
4213 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4214 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4215 rather than 'jka-compr being loaded. (Bug#13338)
4216
4217 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4218
4219 * icomplete.el (icomplete-completions):
4220 Honor icomplete-prospects-height once more following
4221 2012-11-29 changes. (Bug#13224)
4222
4223 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4226 of called-interactively-p as well (bug#13237).
4227
4228 * view.el (view--enable, view--disable): Rename from view-mode-enable
4229 and view-mode-disable and assume it's called from view-mode.
4230 (view-mode-enable, view-mode-disable): Redefine as obsolete
4231 compatibility layer above view-mode.
4232 (view-mode-enter): Call `view-mode'.
4233
4234 * files.el (after-find-file): Call `view-mode'.
4235
4236 * doc-view.el (doc-view-scale-internally): New var.
4237 (doc-view-enlarge, doc-view-insert-image): Obey it.
4238
4239 2013-01-03 Daiki Ueno <ueno@gnu.org>
4240
4241 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4242 exist. (Bug#13344)
4243
4244 2013-01-03 Glenn Morris <rgm@gnu.org>
4245
4246 * mail/rmail.el (rmail-set-header-1): Ignore case.
4247 Handle multi-line headers. (Bug#13330)
4248
4249 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4250 Handle paragraph starting at beginning of buffer.
4251
4252 * subr.el (eval-after-load): Don't purecopy the form, so that it
4253 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4254
4255 * emacs-lisp/byte-run.el (defun): Place cl declarations
4256 after any interactive spec. (Bug#13265)
4257
4258 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4259
4260 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4261 defun. Don't check for DECL if DOCSTRING isn't a string.
4262 (defun): Likewise.
4263
4264 2013-01-02 Glenn Morris <rgm@gnu.org>
4265
4266 * eshell/em-cmpl.el (eshell-pcomplete):
4267 More thoroughly imitate pcomplete. (Bug#13293)
4268
4269 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4270 Return nil for empty path elements. (Bug#13296)
4271
4272 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4273
4274 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4275 order to improve efficiency (Based on Daniel Colascione's
4276 <dancol@dancol.org> patch). (Bug#13182)
4277
4278 2013-01-02 Glenn Morris <rgm@gnu.org>
4279
4280 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4281
4282 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4283
4284 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4285 neither DOCSTRING nor DECL was given. (Bug#13316)
4286
4287 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4290 `error' call.
4291 (tramp-do-copy-or-rename-file): Ignore errors when calling
4292 `set-file-extended-attributes'.
4293
4294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4295 Add handler for `file-acl'.
4296 (tramp-smb-handle-file-acl): New defun.
4297
4298 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4299
4300 * calc/README: Mention ISO 8601 week-numbering dates.
4301
4302 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4303
4304 * view.el (view-mode-enable): New argument run-view-mode-hook.
4305 Run view-mode-hook only when it's non-nil (Bug#13315).
4306 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4307 argument t.
4308
4309 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4310
4311 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4312 (No device connected, invalid device name). (Bug #13299)
4313
4314 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4315
4316 * window.el (window-resizable--p): Rename to window-resizable-p.
4317 (window-resize-no-error): New function.
4318
4319 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4320 broken in fix from 2012-12-28.
4321
4322 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * subr.el (special-form-p): Don't signal errors on undef aliases.
4325
4326 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4327
4328 * calc/calc-forms.el (math-parse-date): Try using
4329 `math-parse-iso-date' when it looks like it might be needed.
4330 Allow times of 24:00.
4331 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4332 of 24:00.
4333
4334 2012-12-30 Glenn Morris <rgm@gnu.org>
4335
4336 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4337 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4338 (rmail-summary-displayed, rmail-summary): Declare.
4339 (mairix-rmail-display): Just require rmail.
4340
4341 2012-12-30 Chong Yidong <cyd@gnu.org>
4342
4343 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4344 check for the tarball contents.
4345
4346 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4347
4348 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4349 tarfile content listings (Bug#13136).
4350
4351 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4352
4353 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4354 Insert the undecoded text of the message being forwarded. (Bug#9521)
4355
4356 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4357
4358 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4359 integers, if they are real numbers. (Bug#13282)
4360
4361 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4362 Return `t' on success.
4363
4364 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4365 Add handler for `set-file-selinux-context'.
4366
4367 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4368
4369 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4370 (tramp-sh-handle-set-file-acl): Return `t' on success.
4371
4372 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4373
4374 * files.el (backup-buffer-copy, basic-save-buffer-2):
4375 If set-file-extended-attributes fails, fall back on set-file-modes
4376 instead of signaling an error. (Bug#13298)
4377 (basic-save-buffer): Likewise.
4378
4379 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4380
4381 * progmodes/python.el: Support other commands triggering
4382 python-indent-line so indentation cycling continues to work.
4383 (python-indent-trigger-commands): New defcustom.
4384 (python-indent-line): Use it.
4385
4386 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4387
4388 * progmodes/python.el (python-shell-send-region): Add blank lines
4389 for non sent code so backtraces remain correct.
4390
4391 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4392
4393 * progmodes/python.el: Remove cl dependency.
4394 (python-syntax-count-quotes): Replace incf call.
4395 (python-fill-string): Replace setf call.
4396
4397 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4398
4399 * info.el (info-other-window): New arg, for consistency with info.
4400
4401 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4402
4403 * mail/rmail.el (rmail-maybe-display-summary):
4404 Rewrite (Bug#13066).
4405
4406 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4407
4408 * epg.el (epg--start): Modify process-environment locally.
4409
4410 2012-12-28 Daiki Ueno <ueno@gnu.org>
4411
4412 * epg.el: Support pinentry-curses.
4413 Suggested by Werner Koch in
4414 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4415 (epg-agent-file, epg-agent-mtime): New variable.
4416 (epg--start): Record the modified time of gpg-agent socket file,
4417 to restore Emacs frame after pinentry-curses termination.
4418 (epg-wait-for-completion): Restore Emacs frame here.
4419
4420 2012-12-27 Juri Linkov <juri@jurta.org>
4421
4422 * info.el (Info-file-completions): New variable.
4423 (Info-read-node-name-1): Complete node names in the Info file
4424 when a file name is given. Call `Info-build-node-completions'
4425 with a file name.
4426 (Info-build-node-completions): Add new arg `file'. When it is
4427 non-nil, visit it in a temporary buffer and cache its completions in
4428 `Info-current-file-completions'. Move most of the function body to
4429 `Info-build-node-completions-1'.
4430 (Info-build-node-completions-1): New function with the body from
4431 `Info-build-node-completions'. (Bug#12456)
4432
4433 2012-12-27 Juri Linkov <juri@jurta.org>
4434
4435 * frame.el (frame-maximization-style): Remove user option.
4436 (cycle-frame-maximized): Remove function.
4437 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4438 (toggle-frame-fullscreen): New command bound to <f11> instead of
4439 `toggle-frame-maximized'.
4440 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4441
4442 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4443
4444 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4445
4446 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4447 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4448 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4449 for `file-accessible-directory-p'. (Bug#13275)
4450
4451 2012-12-27 Sam Steingold <sds@gnu.org>
4452
4453 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4454 continuations, see <http://stackoverflow.com/questions/3582436>.
4455
4456 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4457
4458 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4459 "module" and "def" to have indentation before them.
4460 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4461
4462 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4463
4464 2012-12-27 Alan Mackenzie <acm@muc.de>
4465
4466 Speed up fontification where there's large brace blocks.
4467 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4468 to a call of c-beginning-of-decl-1.
4469
4470 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4471
4472 * comint.el (comint-adjust-window-point): New function.
4473 (comint-postoutput-scroll-to-bottom):
4474 Call comint-adjust-window-point (Bug#13248).
4475
4476 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4477
4478 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4479 Rakefile regexp.
4480 (auto-mode-alist): Associate .gemspec files with ruby-mode
4481 (https://bugs.ruby-lang.org/issues/5453).
4482
4483 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4484
4485 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4486 Suppress coloring, if possible (required for BusyBox based systems like
4487 CyanogenMod).
4488 (tramp-adb-handle-file-attributes)
4489 (tramp-adb-handle-insert-directory)
4490 (tramp-adb-handle-file-name-all-completions): Use it.
4491 (tramp-adb-get-toolbox): New defun. Check for remote shell
4492 implementation (BusyBox or Toolbox).
4493
4494 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4495
4496 * startup.el (initial-buffer-choice): Allow function as value
4497 (Bug#13251).
4498 (command-line-1): Handle case where initial-buffer-choice
4499 specifies a function.
4500 * server.el (server-execute): Handle case where
4501 initial-buffer-choice specifies a function.
4502
4503 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4504
4505 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4506 its own function.
4507 (smtpmail-try-auth-methods): Forget the user name/password if the
4508 login is unsuccessful (bug#12424).
4509
4510 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4511
4512 * notifications.el (notifications-notify): Protect body with
4513 `with-demoted-errors'.
4514
4515 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4516 Check properties of remote device. Restart connection, if there is a
4517 change.
4518
4519 2012-12-21 Chong Yidong <cyd@gnu.org>
4520
4521 * sort.el (sort-subr): Doc fix (Bug#13056).
4522
4523 2012-12-21 Bastien Guerry <bzg@gnu.org>
4524
4525 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4526
4527 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4528
4529 * simple.el (process-file): Overwrite stderr file, if exists.
4530
4531 2012-12-21 Daiki Ueno <ueno@gnu.org>
4532
4533 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4534 (epg-error): Set `error-message' property.
4535
4536 2012-12-21 Chong Yidong <cyd@gnu.org>
4537
4538 * international/mule-cmds.el (read-char-by-name): Signal an error
4539 if the user does not supply a valid character (Bug#13177).
4540
4541 * simple.el (transpose-subr-1): Preserve marker positions by
4542 changing the insertion sequence (Bug#13122).
4543
4544 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4545
4546 * simple.el (kill-region): Deactivate mark even for empty regions
4547 (Bug#13169).
4548
4549 2012-12-21 Chong Yidong <cyd@gnu.org>
4550
4551 * help-fns.el (describe-variable): Make sure we get the right
4552 buffer name (Bug#13105). Suggested by Kelly Dean.
4553
4554 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4555
4556 * comint.el (comint-redirect-previous-input-string): New variable.
4557 (comint-redirect-setup, comint-redirect-cleanup)
4558 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4559 (comint-redirect-preoutput-filter): Fix verbose message.
4560
4561 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4562
4563 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4564 is too long for Tramp. See discussion in
4565 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4566
4567 * progmodes/compile.el (compilation-start): Remove line escape
4568 template.
4569
4570 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4571
4572 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4573 Adjust comment.
4574
4575 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4576
4577 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4578 following non-comment text (bug#13207).
4579 (lm-header-multiline): Continuation lines need to be indented more than
4580 the first line.
4581 (lm-homepage): New function.
4582 (lm-with-file): Don't be confused if narrowing is in effect.
4583
4584 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4587 very beginning of a hunk (e.g. killing the first line).
4588
4589 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4590
4591 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4592 and text properties from returned ACL string.
4593 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4594 for "setfacl" command.
4595
4596 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4599 `tramp-cleanup-this-connection', when the process has died.
4600 (Bug#13151)
4601
4602 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4605
4606 2012-12-17 Kevin Ryde <user42@zip.com.au>
4607
4608 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4609
4610 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4611
4612 Add support for preserving ACL entries of files.
4613
4614 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4615 `set-file-acl' handlers.
4616
4617 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4618 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4619
4620 * net/tramp-compat.el (tramp-compat-copy-file):
4621 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4622
4623 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4624 Add `file-acl' and `set-file-acl' handlers.
4625 (tramp-gvfs-handle-copy-file):
4626 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4627 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4628 New defuns.
4629
4630 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4631 Add `file-acl' and `set-file-acl' handlers.
4632 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4633 (tramp-sh-handle-set-file-acl): New defuns.
4634 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4635 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4636
4637 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4638 Add `file-acl' and `set-file-acl' handlers.
4639 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4640
4641 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4642
4643 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4644 use pop-to-buffer with NORECORD argument t. As buffer name, use
4645 *Metahelp* with a leading space (Bug#13190).
4646
4647 2012-12-16 Romain Francoise <romain@orebokech.com>
4648
4649 * files.el (file-extended-attributes)
4650 (set-file-extended-attributes): New functions.
4651 (backup-buffer): Use them to handle both SELinux context and ACL
4652 entries.
4653 (backup-buffer-copy): Work with an alist of extended attributes,
4654 rather than an SELinux context.
4655 (basic-save-buffer-2): Ditto.
4656
4657 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4658
4659 * battery.el (battery-bsd-apm): New function.
4660
4661 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4662
4663 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4664 standard date formats.
4665
4666 2012-12-15 Juri Linkov <juri@jurta.org>
4667
4668 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4669 `isearch-insert-char-by-name'.
4670 (with-isearch-suspended): New defmacro with body mostly from
4671 `isearch-edit-string' except the part that sets
4672 `isearch-new-string' and `isearch-new-message'.
4673 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4674 body that sets `isearch-new-string' and `isearch-new-message'.
4675 (isearch-insert-char-by-name): New command.
4676 * international/mule-cmds.el (read-char-by-name): Let-bind
4677 `enable-recursive-minibuffers' to t.
4678 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4679
4680 2012-12-15 Juri Linkov <juri@jurta.org>
4681
4682 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4683 (Bug#13175)
4684
4685 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4686
4687 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4688 the prompt. (Bug#13045)
4689
4690 2012-12-14 Glenn Morris <rgm@gnu.org>
4691
4692 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4693 Try to include filename in non-bytecomp warning. (Bug#13132)
4694
4695 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4696
4697 Fix permissions bugs with setgid directories etc. (Bug#13125)
4698 * files.el (backup-buffer): Don't rely on 9th output of
4699 file-attributes, as it's now a placeholder. Instead, use the new
4700 optional arg of file-ownership-preserved-p.
4701 (file-ownership-preserved-p): New optional arg GROUP.
4702 Fix mishandling of setuid directories that would cause this
4703 function to return t when it should have returned nil.
4704 Document what happens if the file does not exist, and when
4705 it's not known whether the ownership will be preserved.
4706 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4707 Likewise.
4708 (tramp-get-local-gid): Use group-gid for integer, as that's
4709 faster and more reliable.
4710
4711 2012-12-14 Julien Danjou <julien@danjou.info>
4712
4713 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4714 Update keywords list, data type and PL/pgSQL.
4715
4716 2012-12-14 Dave Abrahams <dave@boostpro.com>
4717
4718 * vc/ediff-util.el (ediff-buffer-type): New function.
4719 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4720 rather than taking it as as argument.
4721 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4722
4723 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4724
4725 * json.el: Add pretty-print option (bug#12634).
4726 (json-encoding-separator, json-encoding-default-indentation)
4727 (json--encoding-current-indentation, json-encoding-pretty-print)
4728 (json-encoding-lisp-style-closings): New vars.
4729 (json--with-indentation): New macro.
4730 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4731 (json-encode-array): Use it to obey json-encoding-pretty-print.
4732 (json-pretty-print-buffer, json-pretty-print): New commands.
4733
4734 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4735
4736 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4737 Extract `ruby-syntax-propertize-expansions'.
4738 (ruby-syntax-propertize-expansions): Only change syntax on
4739 certain string delimiters, to punctuation. This way the common
4740 functions like forward-word and thing-at-point still work.
4741 (ruby-match-expression-expansion): Improve readability.
4742 (ruby-block-contains-point): New function.
4743 (ruby-add-log-current-method): Handle several edge cases.
4744
4745 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4746
4747 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4748 unload-feature finishes even when aborting an ongoing edebug session.
4749 Also, do not worry about edebug-mode, unload-feature takes care of it.
4750
4751 2012-12-13 Andreas Schwab <schwab@suse.de>
4752
4753 * net/tls.el (tls-program): Update customize type.
4754
4755 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4758 (edebug-setup-hook, cl-read-load-hooks): Use it.
4759 (edebug-unload-function): New function. (Bug#13163)
4760
4761 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4762
4763 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4764 Otherwise, there could be errors in autoloading. (Bug#13151)
4765
4766 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4767
4768 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4769 sequences.
4770
4771 2012-12-13 Alan Mackenzie <acm@muc.de>
4772
4773 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4774 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4775 around `forward-comment' not recognizing ^M as whitespace.
4776
4777 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4778
4779 * progmodes/python.el (python-skeleton-class)
4780 (python-skeleton-def): Do not add space after defun name.
4781
4782 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4785 (cl--symbol-function): Remove (now that funbound is like nil).
4786
4787 2012-12-12 Glenn Morris <rgm@gnu.org>
4788
4789 * button.el (button--area-button-p): Fix typo.
4790
4791 2012-12-12 Sam Steingold <sds@gnu.org>
4792
4793 * frame.el (frame-maximization-style): New user option.
4794 (toggle-frame-maximized): Toggle frame maximization according to
4795 `frame-maximization-style', bound to <f11>.
4796 (cycle-frame-maximized): Cycle between all maximization styles and
4797 non-maximized frame, bound to shift-<f11>.
4798
4799 2012-12-12 David Cadé <codename68@gmail.com>
4800
4801 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4802
4803 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4804
4805 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4806 (eieio-override-prin1): Don't quote kewords and booleans.
4807 (object-write) <eieio-default-superclass>: Don't put closing parens
4808 on new line, avoid needless empty lines, align values that are objects
4809 with the slot keyword (instead of beginning on the same line).
4810 (eieio-list-prin1): Align value with slot keyword; increase
4811 eieio-print-depth before printing members of the list.
4812
4813 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4816 a display text-property.
4817 (report-emacs-bug-hook): Don't bother deleting it any more.
4818
4819 * hilit-chg.el (highlight-save-buffer-state): Delete.
4820 Use with-silent-modifications instead.
4821 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4822
4823 * button.el: Handle buttons in display text-properties.
4824 (button--area-button-p, button--area-button-string):
4825 Use (STRING . STRING-POS) representation instead of just STRING.
4826
4827 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4828
4829 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4830 subdirectory be skipped.
4831
4832 2012-12-11 Glenn Morris <rgm@gnu.org>
4833
4834 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4835
4836 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4837 Treat preprocessor lines embedded in continuations like comments.
4838 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4839
4840 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4841
4842 * calc/calc.el (calc-standard-date-formats): Add more date
4843 formats.
4844 * calc/calc-forms.el (math-parse-iso-date): New function.
4845 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4846 (math-parse-iso-date-validate): Add extra error checking.
4847 (calc-date-notation): Add ability to access new date formats.
4848
4849 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4852 font-lock as well as when there's no text-property.
4853
4854 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4855
4856 * hi-lock.el: Refine the choice of default face.
4857 (hi-lock-keyword->face): New function. Use it wherever we used
4858 cadadadr instead.
4859 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4860 (hi-lock--last-face): Remove var.
4861 (hi-lock--unused-faces): New var to replace it.
4862 (hi-lock-read-face-name): Use/maintain it.
4863 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4864 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4865 if it has another face.
4866
4867 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4868
4869 * subr.el (w32notify-handle-event): New function.
4870 (inotify-handle-event): Doc fix.
4871
4872 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4873
4874 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4875
4876 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4877
4878 * simple.el (just-one-space): Doc fix.
4879
4880 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4881
4882 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4883
4884 2012-12-10 Le Wang <l26wang@gmail.com>
4885
4886 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4887 narrowed buffer (bug#12361).
4888
4889 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4890
4891 * vc/vc-hooks.el (vc-state): Doc fix.
4892
4893 2012-12-10 Glenn Morris <rgm@gnu.org>
4894
4895 * mail/rmail.el (rmail-maybe-display-summary):
4896 Preserve buffer, in case select-window changes it. (Bug#13066)
4897
4898 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4901 cl-load-hook where they belong.
4902
4903 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4906
4907 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4908
4909 Parallelize byte compilation on MS-Windows.
4910 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4911 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4912 (WINS_BASIC): Define as concatenation of the above.
4913 (compile): Subdivide into 4 separate and independent jobs that can
4914 be run in parallel.
4915 (compile0-CMD, compile0-SH): New targets for compiling
4916 COMPILE_FIRST files, which are prerequisites for the rest of the
4917 byte-compilation.
4918 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4919 New targets for parallel compilation with cmd.exe.
4920 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4921 compiling under a Unixy shell.
4922
4923 2012-12-09 Chong Yidong <cyd@gnu.org>
4924
4925 * simple.el (set-mark-default-inactive): Delete this
4926 accidentally-introduced option.
4927 (set-mark-command, exchange-point-and-mark): Remove calls.
4928
4929 2012-12-09 Glenn Morris <rgm@gnu.org>
4930
4931 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4932 Respect a defcustom's :set function, if appropriate. (Bug#109)
4933 (eval-defun): Doc fix.
4934
4935 2012-12-08 Juri Linkov <juri@jurta.org>
4936
4937 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4938 (Info-fontify-node, Info-bookmark-make-record): Remove the
4939 file extension from Info-current-file (Bug#13016).
4940
4941 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4944 point, still provide some default.
4945 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4946 names, since we don't use it right now. Actually return the list.
4947 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4948
4949 2012-12-07 Chong Yidong <cyd@gnu.org>
4950
4951 * novice.el (disabled-command-function): Remove a spurious help
4952 xref (Bug#13043). Suggested by Kelly Dean.
4953
4954 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4955 syntax is specified (Bug#13025).
4956
4957 * info.el (Info-set-mode-line): Remove the file extension from
4958 Info-current-file if there is one (Bug#13016).
4959
4960 2012-12-07 Glenn Morris <rgm@gnu.org>
4961
4962 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4963 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4964 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4965 and rmail-mime-decoded. (Bug#9841)
4966
4967 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4968 (batch-unrmail, unrmail): Doc fixes.
4969 (unrmail): Respect unrmail-mbox-format.
4970 * mail/rmail.el (rmail-mbox-format): New option.
4971 (rmail-show-message-1): Respect rmail-mbox-format.
4972
4973 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4974
4975 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4976
4977 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4980 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4981 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4982 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4983 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4984 (cl-progv): Don't rely on dynamic scoping to find the body.
4985 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4986 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4987 (cl-declaim): Use backquotes.
4988 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4989 Use "cl--" prefix for the object's tag.
4990
4991 * ses.el: Use advice-add/remove.
4992 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4993 (copy-region-as-kill, yank): Use advice-add.
4994 (ses-unload-function): Use advice-remove.
4995
4996 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4997
4998 * button.el: Make them work in header-lines (bug#12817).
4999 (button-map): Add bindings for header-line and mode-line use.
5000 (button-get, button-put, button-label): `button' may now be a string.
5001 (button-activate): Don't make it a defsubst.
5002 (button--area-button-p, button--area-button-string): New functions.
5003 (make-text-button): Fix the return value when `beg' was a string.
5004 (push-button): Handle the mode-line case.
5005
5006 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5009 (sql-signum): Remove. Use `cl-signum' instead.
5010 (sql-read-passwd): Remove; use read-passwd instread.
5011 (sql-get-login-ext): Use read-string.
5012 (sql-get-login): Use dolist and pcase.
5013 (sql--completion-table): Rename from sql-try-completion.
5014 Use complete-with-action.
5015 (sql-mode): Don't change abbrev-all-caps globally.
5016 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5017 (sql-postgres-completion-object): Initialize vars in their `let'.
5018 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5019 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5020 (sql-comint-interbase): Use a single append, without setq.
5021 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5022
5023 * hi-lock.el: Rework the default face and the serialize regexp code.
5024 (hi-lock--auto-select-face-defaults): Remove.
5025 (hi-lock-string-serialize-serial): Remove.
5026 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5027 make weak.
5028 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5029 equal string.
5030 (hi-lock-set-pattern): Adjust accordingly.
5031 (hi-lock--regexps-at-point): Simplify accordingly.
5032 (hi-lock--auto-select-face-defaults): Remove.
5033 (hi-lock--last-face): New var to replace it.
5034 (hi-lock-read-face-name): Rewrite (bug#11095).
5035 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5036
5037 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5038
5039 * net/tramp.el (tramp-replace-environment-variables):
5040 Hide compiler warning.
5041 (tramp-file-name-for-operation): Remove `executable-find',
5042 `start-process', `call-process' and `call-process-region'.
5043
5044 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5045
5046 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5047 compatibility.
5048
5049 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5050
5051 2012-12-06 Chong Yidong <cyd@gnu.org>
5052
5053 * ffap.el (ffap-replace-file-component): Fix typo.
5054
5055 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5056
5057 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5058 fix open-paren-like token test (bug#12785).
5059
5060 2012-12-06 Glenn Morris <rgm@gnu.org>
5061
5062 * mail/rmailsum.el (rmail-new-summary): Tweak for
5063 rmail-maybe-display-summary changing buffer. (Bug#13066)
5064
5065 2012-12-06 Juri Linkov <juri@jurta.org>
5066
5067 * info.el (Info-fontify-node): Don't hide the last newline.
5068 (Bug#12272)
5069
5070 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5071
5072 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5073 so as to enable message-read-from-minibuffer to expand mail aliases.
5074
5075 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5078 the `intangible' property.
5079 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5080
5081 2012-12-05 Deniz Dogan <deniz@dogan.se>
5082
5083 * net/rcirc.el (rcirc-urls): Update documentation.
5084 (rcirc-condition-filter): New function.
5085 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5086 and exclude consecutive duplicate URLs (Bug#6082).
5087
5088 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5089
5090 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5091 Check return code of copy command.
5092
5093 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5094 Use group `tramp'. Add version.
5095
5096 2012-12-05 Chong Yidong <cyd@gnu.org>
5097
5098 * ffap.el (ffap-url-regexp): Don't require matching at front of
5099 string (Bug#4952).
5100 (ffap-url-p): If only a substring matches, return that.
5101 (ffap-url-at-point): Use the return value of ffap-url-p.
5102 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5103 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5104 (ffap-guess-file-name-at-point): Likewise.
5105 (ffap-replace-file-component): Fix typo.
5106
5107 * info.el (info-display-manual): Add existing Info buffers, whose
5108 files may not be in Info-directory-list, to the completion.
5109 (info--manual-names): New helper function.
5110
5111 2012-12-05 Glenn Morris <rgm@gnu.org>
5112
5113 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5114 New functions, for detecting and resolving conflicts. (Bug#10709)
5115
5116 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5117
5118 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5119 (hi-lock-auto-select-face-defaults): New buffer local variable.
5120 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5121 (hi-lock-unface-buffer): Prompt user with useful defaults.
5122 With prefix arg, unhighlight all hi-lock patterns in buffer.
5123
5124 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5127
5128 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5129
5130 * Makefile.in (TRAMP_SRC):
5131 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5132
5133 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5134
5135 * net/tramp-adb.el: New package.
5136
5137 2012-12-04 Chong Yidong <cyd@gnu.org>
5138
5139 * terminal.el: Move to obsolete/.
5140
5141 * longlines.el: Move to obsolete/.
5142
5143 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5144 Remove code referring to longlines mode.
5145
5146 2012-12-03 Juri Linkov <juri@jurta.org>
5147
5148 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5149
5150 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5151
5152 * textmodes/ispell.el (ispell-init-process)
5153 (ispell-start-process, ispell-internal-change-dictionary):
5154 Make sure personal dictionary name is expanded after initial
5155 `default-directory' value. Use expanded strings for
5156 keep/restart checks and for value (Bug#13019).
5157
5158 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5159
5160 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5161
5162 2012-12-03 Leo Liu <sdl.web@gmail.com>
5163
5164 * files.el (dir-locals-read-from-file): Check file non-empty
5165 before reading. (Bug#13038)
5166
5167 2012-12-03 Glenn Morris <rgm@gnu.org>
5168
5169 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5170 Remove any version extension before checking filename. (Bug#13006)
5171 (jka-compr-compression-info-list): Belated :version bump.
5172
5173 2012-12-03 Chong Yidong <cyd@gnu.org>
5174
5175 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5176
5177 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5178 (buffer-menu): Doc fix (Bug#12294).
5179
5180 2012-12-03 Roland Winkler <winkler@gnu.org>
5181
5182 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5183 of diary-show-all-entries in the diary buffer (Bug#12994).
5184
5185 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5186
5187 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5188 "<STDIN>". This is binary safe.
5189
5190 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5191
5192 * calc/calc-forms.el (math-absolute-from-iso-dt)
5193 (math-date-to-iso-dt, math-parse-iso-date-validate)
5194 (math-iso-dt-to-date): New functions.
5195 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5196 (math-fd-isoweekday): New variables.
5197 (calc-date-notation, math-parse-standard-date, math-format-date)
5198 (math-format-date-part): Add support for more formatting codes.
5199
5200 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5201
5202 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5203 current buffer's file name when called interactively (Bug#12488).
5204
5205 2012-12-02 Juri Linkov <juri@jurta.org>
5206
5207 * info.el (info-display-manual): Don't clobber an existing Info
5208 buffer (Bug#10770). Add completion (Bug#10771).
5209
5210 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5211
5212 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5213 before using it for comparison (Bug#5297).
5214
5215 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5216
5217 * textmodes/css-mode.el (css-current-defun-name): New function.
5218 (css-mode): Use it.
5219
5220 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5221 (html-mode): Use it.
5222
5223 2012-12-01 Chong Yidong <cyd@gnu.org>
5224
5225 Modularize add-log-current-defun (Bug#2224).
5226 Suggested by Jari Aalto.
5227
5228 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5229 (add-log-current-defun): Move mode-specific code to other files.
5230 (add-log-lisp-like-modes, add-log-c-like-modes)
5231 (add-log-tex-like-modes): Variables deleted.
5232
5233 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5234 (lisp-mode-variables): Use it.
5235
5236 * progmodes/cc-mode.el (c-common-init):
5237 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5238 add-log-current-defun-function.
5239
5240 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5241 (m4-mode): Use it.
5242
5243 * progmodes/perl-mode.el (perl-current-defun-name): New.
5244 (perl-mode): Use it.
5245
5246 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5247 Use lisp-current-defun-name.
5248
5249 * textmodes/tex-mode.el (tex-current-defun-name): New.
5250 (tex-common-initialization): Use it.
5251
5252 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5253 (texinfo-mode): Use it.
5254
5255 2012-12-01 Chong Yidong <cyd@gnu.org>
5256
5257 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5258 * progmodes/autoconf.el (autoconf-mode):
5259 * progmodes/js.el (js-mode):
5260 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5261 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5262 * progmodes/perl-mode.el (perl-mode):
5263 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5264 * textmodes/css-mode.el (css-mode):
5265 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5266 (sgml-tags-invisible, sgml-guess-indent):
5267 * textmodes/tex-mode.el (tex-common-initialization)
5268 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5269 (doctex-mode, plain-tex-mode, latex-mode):
5270 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5271
5272 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5273
5274 * vc/vc-hg.el (vc-hg-next-revision):
5275 Ensure use of default "tip" output format. (Bug#6968)
5276
5277 2012-12-01 Kim F. Storm <storm@cua.dk>
5278
5279 * startup.el (fancy-startup-tail): Add a clickable link
5280 (Bug#2176).
5281
5282 2012-12-01 Chong Yidong <cyd@gnu.org>
5283
5284 * startup.el (fancy-startup-tail): Improve the message about
5285 auto-save files (Bug#2176).
5286
5287 * files.el (recover-session): Improve the descriptive message, and
5288 use substitute-command-keys.
5289
5290 2012-12-01 Glenn Morris <rgm@gnu.org>
5291
5292 * ido.el (ido-file-internal):
5293 Handle other-window, other-frame for dired. (Bug#13036)
5294
5295 2012-11-30 Glenn Morris <rgm@gnu.org>
5296
5297 * icomplete.el (icomplete-separator): Fix :version.
5298
5299 2012-11-30 Chong Yidong <cyd@gnu.org>
5300
5301 * shell.el (shell): For C-u M-x shell, use an inactive shell
5302 buffer as the default (Bug#1975).
5303 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5304 (shell-mode): Use them to reapply ansi colorization if Shell mode
5305 is re-enabled.
5306
5307 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5308
5309 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5310
5311 2012-11-30 Samuel Bronson <naesten@gmail.com>
5312
5313 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5314 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5315
5316 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5317
5318 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5319 by move-to-column (Bug#3234).
5320
5321 2012-11-30 Chong Yidong <cyd@gnu.org>
5322
5323 * longlines.el (longlines-wrap-line, longlines-encode-region):
5324 Preserve text properties (Bug#1425).
5325
5326 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5327
5328 * vc/vc.el (vc-register): Allow registering a file which is
5329 already registered with a different backend (Bug#10589).
5330
5331 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5332 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * icomplete.el: Change separator; add ido-style commands.
5335 (icomplete-show-key-bindings): Remove custom var.
5336 (icomplete-get-keys): Remove function.
5337 (icomplete-forward-completions, icomplete-backward-completions):
5338 New commands.
5339 (icomplete-minibuffer-map): New var.
5340 (icomplete-minibuffer-setup): Use it.
5341 (icomplete-exhibit): Don't delay if the list of completions is known.
5342 (icomplete-separator): New custom.
5343 (icomplete-completions): Use it.
5344 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5345 (minibuffer-force-complete-and-exit): New command.
5346 (minibuffer--complete-and-exit): New function extracted from
5347 minibuffer-complete-and-exit.
5348 (minibuffer-complete-and-exit): Use it.
5349
5350 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5351 error message when the file doesn't exist (bug#12974).
5352
5353 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5354
5355 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5356
5357 2012-11-29 Glenn Morris <rgm@gnu.org>
5358
5359 * files.el (hack-dir-local-variables): Warn if try to set
5360 coding via dir-locals, since it doesn't work. (Bug#7169)
5361
5362 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5363 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5364 Set buffer-local value of desktop-save-buffer.
5365 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5366 New functions.
5367 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5368 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5369
5370 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5371 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5372 Doc fix.
5373 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5374 Doc fixes.
5375
5376 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5377
5378 * calc/calc-forms.el (calc-date-notation): Fix regexp
5379 used to find time codes. Fix symbol for seconds.
5380
5381 2012-11-27 Glenn Morris <rgm@gnu.org>
5382
5383 * emacs-lisp/derived.el (derived-mode-make-docstring):
5384 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5385
5386 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5389 lexically scoped variables (bug#13005).
5390
5391 2012-11-27 Glenn Morris <rgm@gnu.org>
5392
5393 * vc/vc-hooks.el (vc-mistrust-permissions):
5394 Default to t, to avoid data-loss. (Bug#11490)
5395
5396 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5397
5398 * progmodes/python.el (python-indent-guess-indent-offset):
5399 If indentation is guessed make python-indent-offset buffer-local.
5400
5401 Fix Imenu regression.
5402 * progmodes/python.el (python-nav-beginning-of-defun):
5403 Fix forward movement when statement(s) separates point from defun.
5404 (python-imenu-prev-index-position): New function.
5405
5406 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5407
5408 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5409
5410 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5411 Don't set buffer-file-type. Return nil. (Bug#12989)
5412
5413 2012-11-27 Glenn Morris <rgm@gnu.org>
5414
5415 * hippie-exp.el (hippie-expand-try-functions-list):
5416 Re-autoload it. (Bug#12982)
5417
5418 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5419
5420 * descr-text.el (describe-char-padded-string):
5421 Call internal-char-font only on GUI frames. (Bug#11964)
5422
5423 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5424
5425 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5426 and obsoletion message.
5427
5428 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5429
5430 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5431 the constructs to keep outside of the `cl-block' (bug#12977).
5432
5433 2012-11-27 Chong Yidong <cyd@gnu.org>
5434
5435 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5436 keep reading until we get the up-event anyway, in order to process
5437 the up-event for mouse-1-click-follows-link (Bug#12971).
5438
5439 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5442 base function is not yet defined (bug#12965).
5443 (ad-activate-advised-definition): Use ad-compile-function.
5444 (ad-activate): Use cond.
5445
5446 2012-11-25 Leo Liu <sdl.web@gmail.com>
5447
5448 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5449 (Bug#12979)
5450
5451 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5452
5453 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5454 reftex-section-info-function in order to be compatible with
5455 Texinfo integration.
5456
5457 * textmodes/reftex.el (reftex-section-pre-regexp)
5458 (reftex-section-post-regexp, reftex-section-info-function):
5459 New variable.
5460 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5461 reftex-section-post-regexp, and reftex-section-info-function in order
5462 to be compatible with Texinfo integration.
5463
5464 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5465 use reftex-section-pre-regexp variable in order to be compatible with
5466 Texinfo integration.
5467
5468 2012-11-25 Chong Yidong <cyd@gnu.org>
5469
5470 * faces.el: Make face-spec-set more analogous to setq.
5471 (face-spec-set): Change the third arg to specify whether this
5472 function is being called via defface, customize, or a third party.
5473 Set the appropriate symbol properties. Clear the override spec if
5474 setting via Custom. Initialize face if necessary. (Bug#4988)
5475 (face-spec-recalc): Allow theme faces to completely replace the
5476 defface spec, in the same way as custom faces (Bug#8454).
5477
5478 * cus-face.el (custom-declare-face): Move face initialization to
5479 face-spec-set.
5480 (custom-theme-set-faces): Don't initialize the face name here, as
5481 that is now done in face-spec-set.
5482
5483 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5484 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5485 Simplify by using the new arg to face-spec-set.
5486
5487 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5488 reset face-override-spec too, and use custom-declare-face.
5489
5490 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5491
5492 * term/ns-win.el (ns-initialize-window-system): Move creation of
5493 fontsets here (Bug#11964).
5494
5495 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5496
5497 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5498 cell renaming.
5499
5500 2012-11-24 Chong Yidong <cyd@gnu.org>
5501
5502 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5503 obsolete.
5504
5505 * custom.el (custom-theme-set-variables): Use a topological sort
5506 for ordering by custom dependencies (Bug#12952).
5507 (custom--sort-vars, custom--sort-vars-1): New functions.
5508
5509 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5512 lexical-binding (bug#12938).
5513
5514 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5515
5516 * image-mode.el (image-transform-check-size): Use assertions only
5517 for images of type imagemagick.
5518
5519 Otherwise no error, image-transform-fit-to-{width,height} is
5520 silently ignored, as before. Doc fix.
5521
5522 2012-11-24 Chong Yidong <cyd@gnu.org>
5523
5524 * faces.el (color-defined-p): Doc fix (Bug#12853).
5525
5526 2012-11-24 Juri Linkov <juri@jurta.org>
5527
5528 * dired.el (dired-mark): Add optional arg `interactive'.
5529 Check for `use-region-p' if `interactive' is non-nil.
5530 (dired-unmark, dired-flag-file-deletion): Add optional arg
5531 `interactive'. Call `dired-mark' with the arg `interactive'.
5532 (Bug#10624)
5533
5534 * wdired.el: Revert 2012-10-17 change partly and replace it with
5535 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5536 (wdired-finish-edit): Add marks for new file names to
5537 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5538 after `revert-buffer'.
5539 (wdired-do-renames): Remove calls to `dired-remove-file',
5540 `dired-add-file', `dired-add-entry'. (Bug#11795)
5541
5542 2012-11-24 Alan Mackenzie <acm@muc.de>
5543
5544 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5545
5546 Fix bugs in the state cache. Enhance a debugging mechanism.
5547 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5548 "brace at column zero" strategy for C++.
5549 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5550 (c-parse-state-point): New variable.
5551 (c-record-parse-state-state): Record old parse state with
5552 `copy-tree'. Record previous value of point.
5553 (c-debug-parse-state-double-cons): New debugging function.
5554 (c-debug-parse-state): Call the above new function.
5555 (c-toggle-parse-state-debug): Output a confirmatory message.
5556
5557 * progmodes/cc-mode.el (c-before-change, c-after-change):
5558 Call c-invalidate-state-cache from `c-before-change' instead of
5559 `c-after-change'.
5560
5561 2012-11-23 Chong Yidong <cyd@gnu.org>
5562
5563 * find-cmd.el (find-constituents): Add executable, ipath,
5564 readable, samefile, writable, daystart, regextype (Bug#12856).
5565
5566 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5569
5570 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5571
5572 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5573 definition. This fixes a bootstrap failure.
5574 (calc-gregorian-switch): In menu, put dates before regions.
5575 This is easier to follow, lines up better in the menu, and lets us
5576 coalesce regions that switch at the same time. Give country
5577 names, not "Vatican", as that's better for non-expert users.
5578 Use names that are stable between the date of switch and now, e.g.,
5579 Bohemia and Moravia (which existed then and now) and not
5580 Czechoslovakia (which didn't exist then and doesn't exist now).
5581 What is now the U.S. mostly did not switch at the same time as
5582 Britain, so omit the U.S. Correct spelling of "Britain".
5583 Catholic Switzerland was too much of a mess, so omit it.
5584
5585 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5586
5587 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5588 after the variable is changed.
5589
5590 2012-11-21 Daniel Colascione <dancol@dancol.org>
5591
5592 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5593 in SQL declarations for font-lock.
5594 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5595
5596 2012-11-21 Glenn Morris <rgm@gnu.org>
5597
5598 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5599 (face-italic-p): Add optional argument "inherit".
5600
5601 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5602 Remove -p suffix from names, for consistency with other set-face-*.
5603 (set-face-inverse-video): Fix interactive spec.
5604 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5605 * textmodes/table.el (table--update-cell-face):
5606 Use set-face-inverse-video rather than now obsolete alias.
5607
5608 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5609
5610 * simple.el (line-move): Don't call line-move-partial if
5611 scroll-conservatively is in effect. (Bug#12927)
5612
5613 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5616 Fallback on completion-at-point rather than
5617 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5618 (eshell-cmpl-initialize): Setup completion-at-point.
5619
5620 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5621
5622 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5623
5624 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5625
5626 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5627 are remote, check out-of-band property for both.
5628
5629 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5632 code rewrite.
5633
5634 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5635
5636 More minor time fixes.
5637 * calendar/time-date.el: Commentary fix.
5638 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5639 too much other code depends on (0 0) time stamps.
5640 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5641 Add a couple of FIXME comments.
5642
5643 Minor cleanup for times as lists of four integers.
5644 * files.el (dir-locals-directory-cache):
5645 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5646 Doc fixes.
5647 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5648 * ps-bdf.el (bdf-file-newer-than-time):
5649 Process four-integers time stamps, not two. Doc fixes.
5650
5651 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * uniquify.el (uniquify-managed): Use defvar-local.
5654 (rename-buffer, create-file-buffer): Advise with advice-add.
5655 (uniquify-unload-function): Unadvise accordingly.
5656
5657 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5658 (trace-buffer): Don't purecopy.
5659 (trace-entry-message, trace-exit-message): Add `context' arg.
5660 (trace--timer): New var.
5661 (trace-make-advice): Adjust for use in nadvice.
5662 Add `context' argument. Delay `display-buffer' via a timer.
5663 (trace-function-internal): Use advice-add.
5664 (trace--read-args): New function.
5665 (trace-function-foreground, trace-function-background): Use it.
5666 (trace-function): Rename to trace-function-foreground and redefine as
5667 an alias to that new name.
5668 (untrace-function, untrace-all): Adjust to the use of nadvice.
5669
5670 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5671
5672 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5673
5674 * subr.el (called-interactively-p-functions): New var.
5675 (internal--called-interactively-p--get-frame): New macro.
5676 (called-interactively-p, interactive-p): Rewrite in Lisp.
5677 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5678 (called-interactively-p-functions): Use it.
5679 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5680 (called-interactively-p-functions): Use it.
5681 * allout.el (allout-called-interactively-p): Don't assume
5682 called-interactively-p is a subr.
5683
5684 2012-11-20 Glenn Morris <rgm@gnu.org>
5685
5686 * profiler.el (profiler-report-mode-map): Add a menu.
5687 No need to bind `q' because we derive from special-mode.
5688 (profiler-report-find-entry): Handle calls from the menu-bar.
5689
5690 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * emacs-lisp/byte-run.el (defun-declarations-alist):
5693 Allow a compiler-macro to be a lambda expression.
5694
5695 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5696 eval-when-compile.
5697 (python-syntax-context): Add compiler-macro.
5698 (python-font-lock-keywords): Simplify with De Morgan.
5699
5700 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5701
5702 * files.el (load-file): Require match in minibuffer selection, as was
5703 the case in Emacs-20 before we changed the spec to allow .elc files
5704 (bug#12935).
5705
5706 * json.el: Don't require cl since we don't use it.
5707 * color.el: Don't require cl.
5708 (color-complement): `caddr' -> `nth 2'.
5709
5710 * calendar/time-date.el (time-to-seconds): De-obsolete.
5711
5712 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5713
5714 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5715 year numbers.
5716 (math-date-to-julian-dt): Adjust the initial approximation for the
5717 year to deal with the new definition of the DATE.
5718
5719 2012-11-19 Daniel Colascione <dancol@dancol.org>
5720
5721 * term/w32-win.el (cygwin-convert-path-from-windows):
5722 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5723
5724 2012-11-18 Chong Yidong <cyd@gnu.org>
5725
5726 * filecache.el (file-cache--read-list): New function.
5727 (file-cache-add-directory-list, file-cache-add-file-list)
5728 (file-cache-delete-file-list, file-cache-delete-directory-list):
5729 Use it to read a list of files or directories (Bug#12846).
5730 (file-cache-add-file, file-cache-add-directory)
5731 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5732 (file-cache-delete-directory): Print an message.
5733
5734 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5735
5736 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5737 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5738
5739 2012-11-18 Glenn Morris <rgm@gnu.org>
5740
5741 * image.el (insert-image, insert-sliced-image): Doc fix.
5742
5743 2012-11-18 Chong Yidong <cyd@gnu.org>
5744
5745 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5746 (Bug#12810).
5747
5748 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5749
5750 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5751 response when the target file is in a subdirectory (Bug#12757).
5752
5753 2012-11-18 Chong Yidong <cyd@gnu.org>
5754
5755 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5756
5757 2012-11-18 Glenn Morris <rgm@gnu.org>
5758
5759 * emacs-lisp/cl-lib.el (face-underline-p):
5760 Use set-face-underline rather than the alias set-face-underline-p.
5761
5762 * window.el (with-temp-buffer-window): Doc fix.
5763 * subr.el (with-output-to-temp-buffer):
5764 Add doc xref to with-temp-buffer-window.
5765
5766 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5767
5768 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5769 * calc/calc.el (math-format-date-cache): Declare.
5770
5771 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5772
5773 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5774 It also uses January 1, 1 AD as its day number 1.
5775 * calc/calc-forms.el (math-julian-date-beginning)
5776 (math-julian-date-beginning-int): Implement this.
5777
5778 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5779
5780 * descr-text.el (quail-find-key):
5781 * dired.el (desktop-file-name):
5782 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5783 * generic-x.el (comint-mode, comint-exec):
5784 * image-dired.el (widget-forward):
5785 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5786 (speedbar-change-expand-button-char)
5787 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5788 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5789 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5790 (widget-field-action, widget-value-set):
5791 * speedbar.el (imenu--make-index-alist):
5792 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5793 (ring-length, ring-insert):
5794 * vcursor.el (compare-windows-skip-whitespace):
5795 * woman.el (dired-get-filename):
5796 Declare functions.
5797
5798 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5799
5800 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5801
5802 * calc/calc.el (calc-gregorian-switch): New variable.
5803
5804 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5805 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5806 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5807 (math-leap-year-p): Add option to distinguish between Julian
5808 and Gregorian calendars.
5809 (math-day-number): Use `math-day-in-year' to do the computations.
5810 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5811 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5812 to do the computations.
5813 (math-date-to-dt): Use `math-date-to-julian-dt' and
5814 `math-date-to-gregorian-dt' to do the computations.
5815 (calcFunc-weekday, math-format-date-part): Use the new version of
5816 the DATE to determine the weekday.
5817 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5818 when necessary.
5819
5820 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5821
5822 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5823 Cygwin; otherwise use 'file:'. (Bug#12914)
5824 (cygwin-convert-path-from-windows): Declare, to avoid
5825 byte-compiler warnings.
5826
5827 2012-11-17 Andreas Politz <politza@fh-trier.de>
5828
5829 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5830 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5831 prefix and negative numeric prefix args (Bug#12795).
5832
5833 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5834
5835 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5836 Don't signal an error with a score that is too low to add to the
5837 list of top scores. (Bug#12779)
5838
5839 2012-11-17 Chong Yidong <cyd@gnu.org>
5840
5841 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5842
5843 * filecache.el (file-cache-add-file): Handle relative file name in
5844 the argument (Bug#12694).
5845
5846 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5847
5848 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5849
5850 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5853
5854 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5855
5856 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5857
5858 * window.el (enlarge-window, shrink-window): Don't mention return
5859 value in doc-string (Bug#12896).
5860 (window--display-buffer): Don't resize frames - it won't work
5861 with all window managers and defeat pop-up-frame-alist.
5862 (display-buffer-alist): In doc-string explain that CONDITION can
5863 be a function and which arguments are passed to it (Bug#12854).
5864 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5865 expressions (Bug#12854).
5866 (display-buffer): Pass ACTION argument to
5867 display-buffer-assq-regexp.
5868
5869 2012-11-16 Glenn Morris <rgm@gnu.org>
5870
5871 * window.el (fit-frame-to-buffer-bottom-margin)
5872 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5873
5874 * faces.el (face-underline-p): Use face-attribute-specified-or.
5875
5876 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5879
5880 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5883
5884 2012-11-16 Glenn Morris <rgm@gnu.org>
5885
5886 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5887 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5888
5889 * faces.el (face-underline-p): Doc fix. Handle :underline being
5890 things other than `t' (a string, a list).
5891 (face-inverse-video-p): Doc fix.
5892 (set-face-underline): Rename it back from set-face-underline-p.
5893 Doc fix. Allow interactive input of values other than t.
5894 (read-face-attribute): Apply formatting to :underline,
5895 since like :box and :stipple it can take list values.
5896
5897 * term.el (ansi-term): Don't let C-x escape-char binding
5898 clobber the more standard C-c binding. (Bug#12842)
5899
5900 * subr.el (set-temporary-overlay-map): Doc fix.
5901
5902 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5903
5904 * window.el (record-window-buffer)
5905 (display-buffer-record-window): When copying the markers to
5906 window-point preserve window-point-insertion-type. (Bug#12588)
5907
5908 2012-11-16 Glenn Morris <rgm@gnu.org>
5909
5910 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5911 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5912 Use new names for hooks rather than obsolete aliases.
5913
5914 2012-11-15 Daniel Colascione <dancol@dancol.org>
5915
5916 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5917 prefix instead of "file:" so that when FILE-NAME begins with "//",
5918 as it does when the target file is on a network share, url-handler
5919 isn't confused.
5920
5921 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5924 a preactivated advice from an old advice.el; they're not compatible!
5925
5926 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5927
5928 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5929 Fix string-spec case.
5930
5931 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5932
5933 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5936 (advice--buffer-local-function-sample): New var.
5937 (advice--set-buffer-local, advice--buffer-local): New functions.
5938 (add-function, remove-function): Use them.
5939
5940 2012-11-15 Drew Adams <drew.adams@oracle.com>
5941
5942 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5943
5944 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5947 potential binding of print-gensym to t, and prettify (back)quotes in
5948 case they appear in args's default values (bug#12884).
5949
5950 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5953 (advice-eval-interactive-spec): New function.
5954 (advice--make-interactive-form): Support around advice (bug#12844).
5955
5956 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5957
5958 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5959 more strict. Add docstring.
5960 (ruby-expression-expansion-re): Extract from
5961 `ruby-match-expression-expansion'.
5962 (ruby-syntax-propertize-function): After everything else, search
5963 for expansions in string literals, mark their insides as
5964 whitespace syntax and save match data for font-lock.
5965 (ruby-font-lock-keywords): Use the 2nd group from expression
5966 expansion matches.
5967 (ruby-match-expression-expansion): Use the match data saved to the
5968 text property in ruby-syntax-propertize-function.
5969
5970 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5973 (bug#12879).
5974
5975 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5976
5977 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5978 start/end keyword a bit harder. Works with different values of N.
5979 Add more comments.
5980 (ruby-end-of-block): Update accordingly.
5981
5982 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * woman.el (woman-file-name): Don't mess with unread-command-events
5985 (bug#12861).
5986
5987 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5988 Remove out of date self-require hack.
5989 (ad-do-advised-functions): Use simple `dolist'.
5990 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5991 (ad-advice-definition): Redefine as functions.
5992 (ad-advice-classes): Move before first use.
5993 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5994 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5995 (ad--defalias-fset): Remove functions.
5996 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5997 (ad-get-orig-definition): Rewrite.
5998 (ad-make-advised-definition-docstring): Change base docstring.
5999 (ad-real-orig-definition): Rewrite.
6000 (ad-map-arglists): Change name of called function.
6001 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6002 (ad-make-advised-definition): Simplify.
6003 (ad-assemble-advised-definition): Tweak for new calling context.
6004 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6005 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6006 function and call ad-activate if needed.
6007 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6008 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6009 (ad-compile-function): Compile ad-Advice-*.
6010 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6011 (ad-start-advice, ad-stop-advice): Remove.
6012
6013 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6014
6015 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6016 period before class method names, not after. Remove handling of
6017 one impossible case. Add comments.
6018
6019 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * emacs-lisp/advice.el: Remove support for freezing.
6022 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6023 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6024 Remove support for `freeze'.
6025
6026 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6027 override the default.
6028 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6029 cl--dotimes/dolist.
6030 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6031 `cl' is loaded.
6032
6033 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6034 from add-advice.
6035 (advice--strip-macro): New function.
6036 (advice--defalias-fset): Use them to handle macros.
6037 (advice-add): Use them.
6038 (advice-member-p): Correctly handle macros.
6039
6040 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6041
6042 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6043 Never font-lock the beginning of singleton class as heredoc.
6044
6045 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6048
6049 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6050
6051 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6052 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6053 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6054
6055 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6056
6057 Fix end-of-defun misbehavior.
6058 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6059 python-beginning-of-defun-function. Handle nested defuns
6060 correctly.
6061 (python-nav-end-of-defun): Rename from
6062 python-end-of-defun-function. Ensure forward movement.
6063 (python-info-current-defun): Reimplement to work as intended
6064 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6065 parent defuns as soon as possible.
6066
6067 2012-11-13 Glenn Morris <rgm@gnu.org>
6068
6069 * progmodes/flymake.el (flymake-error-bitmap)
6070 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6071 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6072
6073 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6074
6075 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6076 backward, always stop at indentation. Reverts the change from
6077 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6078
6079 2012-11-13 Glenn Morris <rgm@gnu.org>
6080
6081 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6082 Add ibuffer-filter-by-derived-mode.
6083
6084 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6085 the same name shadowing each other.
6086
6087 * window.el (with-temp-buffer-window): Doc tweak.
6088
6089 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6090
6091 * help.el (temp-buffer-max-height):
6092 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6093 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6094
6095 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * emacs-lisp/nadvice.el: New package.
6098 * subr.el (special-form-p): New function.
6099 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6100 (elp-all-instrumented-list): Remove var.
6101 (elp-not-profilable): Remove elp-wrapper.
6102 (elp-profilable-p): Use autoloadp and special-form-p.
6103 (elp--advice-name): New const.
6104 (elp-instrument-function): Use advice-add.
6105 (elp--instrumented-p): New predicate.
6106 (elp-restore-function): Use advice-remove.
6107 (elp-restore-all, elp-reset-all): Use mapatoms.
6108 (elp-set-master): Use elp--instrumented-p.
6109 (elp--make-wrapper): Rename from elp-wrapper, return a function
6110 suitable for advice-add. Use cl-inf.
6111 (elp-results): Use mapatoms+elp--instrumented-p.
6112 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6113 (debug-function-list): Remove var.
6114 (debug): Rename arg, and then let-bind it explicitly inside.
6115 (debugger-setup-buffer): Rename arg.
6116 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6117 (debugger-frame-number): Adjust to new debug-on-entry setup.
6118 (debug--implement-debug-on-entry): Rename from
6119 implement-debug-on-entry, add argument.
6120 (debugger-special-form-p): Remove, use special-form-p instead.
6121 (debug-on-entry): Use advice-add.
6122 (debug--function-list): New function.
6123 (cancel-debug-on-entry): Use it, along with advice-remove.
6124 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6125 (debugger-list-functions): Use debug--function-list instead of
6126 debug-function-list.
6127 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6128 (ad-special-form-p): Remove, use special-form-p instead.
6129 (ad-set-advice-info): Use add-function and remove-function.
6130 (ad--defalias-fset): Adjust accordingly.
6131
6132 2012-11-10 Glenn Morris <rgm@gnu.org>
6133
6134 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6135 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6136 (report-emacs-bug-create-existing-bugs-buffer)
6137 (report-emacs-bug-parse-query-results)
6138 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6139
6140 * term.el (term-default-fg-color, term-default-bg-color):
6141 Make obsolete, rather than just saying "deprecated" in the doc.
6142
6143 * term.el (term): Rename from `term-face'.
6144 (term-current-face, ansi-term-color-vector)
6145 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6146 Update all users.
6147
6148 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6149
6150 * server.el (server-create-window-system-frame): Handle Nextstep
6151 specially (Bug#12780).
6152
6153 2012-11-10 Glenn Morris <rgm@gnu.org>
6154
6155 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6156 Unautoload, and make obsolete. (Bug#7449)
6157
6158 2012-11-10 Chong Yidong <cyd@gnu.org>
6159
6160 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6161 rename from diff-remove-trailing-whitespace (Bug#12831).
6162
6163 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6166 miscompilation of trace.el.
6167
6168 2012-11-10 Glenn Morris <rgm@gnu.org>
6169
6170 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6171
6172 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6175 (bug#12812).
6176
6177 2012-11-10 Chong Yidong <cyd@gnu.org>
6178
6179 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6180 a defcustom with an appropriate :set function.
6181 (minibuffer-default--in-prompt-regexps): New function.
6182
6183 2012-11-10 Glenn Morris <rgm@gnu.org>
6184
6185 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6186 (define-modify-macro): Doc fixes.
6187
6188 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6189 (gv-define-simple-setter): Update doc of `fix-return'.
6190
6191 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6194 twice when `fix-return' is set (bug#12813).
6195
6196 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6197 gv-define-simple-setter (bug#12812).
6198
6199 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6200 (bug#12756).
6201
6202 2012-11-10 Glenn Morris <rgm@gnu.org>
6203
6204 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6205
6206 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6207 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6208 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6209 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6210
6211 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6212
6213 2012-11-10 Leo Liu <sdl.web@gmail.com>
6214
6215 * ido.el (ido-set-matches-1): Improve flex matching performance by
6216 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6217
6218 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6221 (ad--defalias-fset): New function.
6222 (ad-safe-fset): Remove.
6223 (ad-make-freeze-definition): Use cl-letf*.
6224
6225 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * subr.el (dolist): Don't bind VAR in RESULT.
6228
6229 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6230 (fset, documentation): Don't save real def since we don't advise.
6231 (ad-do-advised-functions): Remove problematic `result-form'.
6232 (ad-safe-fset): `ad-real-fset' => `fset'.
6233 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6234 uses CL's dolist internally.
6235 (ad-arglist): Remove unused arg `name'.
6236 (ad-docstring, ad-make-advised-docstring):
6237 `ad-real-documentation' => `documentation'.
6238 (warning-suppress-types): Declare.
6239 (ad-set-arguments): Simple CSE.
6240 (ad-recover-normality): Sanity check.
6241
6242 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6243 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6244
6245 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6246
6247 * ses.el: symbol to coordinate mapping is made by symbol property
6248 `ses-cell'. This means that the same mapping is done for all SES
6249 sheets. That is good enough for cells with standard A1 names, but
6250 not for named cell. So a hash map is added for the latter.
6251 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6252 (ses-sym-rowcol): Use hashmap for named cell.
6253 (ses-is-cell-sym-p): New defun.
6254 (ses-decode-cell-symbol): New defun.
6255 (ses-create-cell-variable): Add cell to hashmap when name is not
6256 A1-like.
6257 (ses-rename-cell): Check that cell new name is not already in
6258 spreadsheet with the use of ses-is-cell-sym-p
6259 (ses-rename-cell): Use hash map for named cells, but accept also
6260 renaming back to A1-like.
6261
6262 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * emacs-lisp/advice.el: Use new dynamic docstrings.
6265 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6266 Use dynamic-docstring-function instead of ad-advice-info.
6267 (ad--make-advised-docstring): New function extracted from
6268 ad-make-advised-docstring.
6269 (ad-make-advised-docstring): Use it.
6270 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6271 from sql-help.
6272 (sql-help): Use it with dynamic-docstring-function.
6273
6274 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6275
6276 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * files.el (hack-one-local-variable--obsolete): New function.
6279 (hack-one-local-variable): Use it for obsolete settings.
6280
6281 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6282 the new name.
6283
6284 * progmodes/js.el (js--filling-paragraph): New var.
6285 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6286 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6287 less sneaky.
6288
6289 2012-11-08 Julien Danjou <julien@danjou.info>
6290
6291 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6292 `auto-mode-alist' (Bug#12835).
6293
6294 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6297 (perl--prettify-symbols-alist): New const.
6298 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6299 New functions.
6300 (perl-font-lock-keywords-2): Use them.
6301 (perl-electric-noindent-p): New function.
6302 (perl-mode): Use it to set up electric-indent-mode.
6303 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6304 (perl-mode-map): Remove bindings for them.
6305 (perl-imenu-generic-expression, perl-outline-level):
6306 Match functions&packages in column>0.
6307
6308 * env.el (env--substitute-vars-regexp): New const.
6309 (substitute-env-vars): Use it. Add `only-defined' arg.
6310 * net/tramp.el (tramp-replace-environment-variables): Use it.
6311
6312 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6313 Byte-compile *before* eval in eval-and-compile.
6314 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6315 (byte-compile-file-form-autoload): Don't hide actual definition.
6316 (byte-compile-maybe-guarded): Accept `functionp' as well.
6317
6318 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6319
6320 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6321
6322 * notifications.el (notifications-get-server-information-method):
6323 New defconst.
6324 (notifications-get-capabilities): Fix docstring.
6325 (notifications-get-server-information): New defun.
6326
6327 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6328
6329 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6330 readability.
6331
6332 * textmodes/ispell.el: Experimental support for support debugging.
6333 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6334 buffer for ispell.
6335 (ispell-print-if-debug): New function to print stuff to
6336 `ispell-debug-buffer' if debugging is enabled.
6337 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6338 show some debugging info.
6339 (ispell-buffer-with-debug): New function that creates a debugging
6340 buffer and calls `ispell-buffer' with debugging enabled.
6341
6342 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6343 comment in autoconf mode. (Bug#12768)
6344
6345 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6346
6347 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6348 frame-first-window, frame-root-window, frame-selected-window,
6349 minibuffer-selected-window, minibuffer-window,
6350 window-absolute-pixel-edges, window-at, window-body-height,
6351 window-body-width, window-display-table, window-combination-limit,
6352 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6353 window-inside-edges, window-inside-pixel-edges, window-left-child,
6354 window-left-column, window-margins, window-next-buffers,
6355 window-next-sibling, window-new-normal, window-new-total,
6356 window-normal-size, window-parameter, window-parameters, window-parent,
6357 window-pixel-edges, window-point, window-prev-buffers,
6358 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6359 window-start, window-text-height, window-top-child, window-top-line,
6360 window-total-height, window-total-width and window-use-time to the list
6361 of functions without side-effects.
6362 (toplevel): Add window-valid-p to the list of error-free functions
6363 without side-effects.
6364
6365 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6366
6367 * textmodes/ispell.el (ispell-program-name):
6368 Update spellchecker parameters when customized.
6369
6370 2012-11-04 Glenn Morris <rgm@gnu.org>
6371
6372 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6373
6374 2012-11-04 Chong Yidong <cyd@gnu.org>
6375
6376 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6377 same-window-* variables.
6378
6379 2012-11-04 Juri Linkov <juri@jurta.org>
6380
6381 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6382 (isearch-describe-key, isearch-describe-mode): Use a display
6383 action instead of binding same-window-* variables (Bug#10040).
6384
6385 2012-11-03 Glenn Morris <rgm@gnu.org>
6386
6387 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6388 Rename handler properties back from cl-- to cl-. (Bug#12788)
6389
6390 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6391
6392 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6393
6394 * term/pc-win.el: Don't load term/internal from here.
6395
6396 * loadup.el: Load term/internal from here.
6397
6398 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6399
6400 * progmodes/python.el (inferior-python-mode): Fix hang in
6401 jit-lock (Bug#12645).
6402
6403 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6404
6405 * window.el (switch-to-visible-buffer)
6406 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6407
6408 2012-11-03 Glenn Morris <rgm@gnu.org>
6409
6410 * emacs-lisp/cl-lib.el (cl--random-time):
6411 Rename from cl-random-time. (Bug#12773)
6412 (cl--gensym-counter, cl--random-state): Update callers.
6413 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6414
6415 2012-11-03 Chong Yidong <cyd@gnu.org>
6416
6417 * cus-start.el: Make cursor-type customizable (Bug#11633).
6418
6419 2012-11-02 Glenn Morris <rgm@gnu.org>
6420
6421 * filecache.el: No need to load find-lisp when compiling.
6422 (find-lisp-find-files): Autoload it.
6423 (file-cache-add-directory-recursively): Don't require find-lisp.
6424
6425 * image.el (image-type-from-file-name): Trivial simplification.
6426
6427 * emacs-lisp/bytecomp.el (byte-compile-eval):
6428 Decouple "noruntime" and "cl-functions" warnings.
6429
6430 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6431
6432 * play/gomoku.el (gomoku-display-statistics): Update mode line
6433 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6434
6435 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6436
6437 * window.el (quit-restore-window): If the window has been
6438 created on an existing frame and ended up as the sole window on
6439 that frame, do not delete it (Bug#12764).
6440
6441 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6444 Rename from sh--inside-arithmetic-expression, handle more cases
6445 (bug#11263).
6446
6447 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6448 (sh-font-lock-open-heredoc): Use it (bug#12770).
6449
6450 2012-10-30 Glenn Morris <rgm@gnu.org>
6451
6452 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6453
6454 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6455
6456 2012-10-29 Chong Yidong <cyd@gnu.org>
6457
6458 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6459 function key is stored in a keyboard macro (Bug#4894).
6460
6461 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6462
6463 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6466 header comments".
6467 (diff-unified->context, diff-context->unified)
6468 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6469
6470 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6471
6472 * files.el (find-alternate-file): Only ask one question (bug#12487).
6473
6474 2012-10-29 Chong Yidong <cyd@gnu.org>
6475
6476 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6477 Suggested by Dan Nicolaescu (Bug#6326).
6478
6479 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6480
6481 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6482
6483 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6484
6485 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6486
6487 * face-remap.el (face-remap-add-relative): Handle the case where a
6488 face-remapping-alist entry is a cons cell (Bug#12762).
6489
6490 2012-10-29 Kevin Ryde <user42@zip.com.au>
6491
6492 * woman.el (woman-parse-numeric-value): Handle picas correctly
6493 (Bug#12639).
6494
6495 2012-10-29 Glenn Morris <rgm@gnu.org>
6496
6497 * emacs-lisp/cl.el (defsetf): Doc fix.
6498
6499 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6502 syntax to the matching opener, if any (bug#12547).
6503 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6504 matching open as a "case-(".
6505 (sh-smie-rc-grammar): Add a corresponding rule for it.
6506
6507 2012-10-28 Daniel Hackney <dan@haxney.org>
6508
6509 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6510 "PKGNAME-autoloads.el" in case we created it.
6511
6512 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6515 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6516 (completion--twq-all): Disable too-strict assertions.
6517
6518 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6519
6520 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6521
6522 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6523 text to match the real keybindings.
6524
6525 2012-10-27 Juri Linkov <juri@jurta.org>
6526
6527 * wdired.el (wdired-keep-marker-rename): New defcustom.
6528 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6529 (Bug#11795)
6530
6531 * dired.el (dired-keep-marker-rename): Add reference to
6532 `wdired-keep-marker-rename' in the docstring.
6533 Add default character value ?R to display initially in
6534 Customization UI instead of ?@.
6535
6536 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6537
6538 * window.el (display-buffer): In doc-string describe
6539 window-height and window-width alist entries.
6540
6541 * time.el (display-time-world): Restore fit-window-to-buffer
6542 behavior.
6543
6544 2012-10-27 Chong Yidong <cyd@gnu.org>
6545
6546 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6547
6548 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6549
6550 * minibuffer.el (completion-category-overrides): New completion
6551 category `bookmark' (bug#11131).
6552
6553 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6556 Silence bogus compiler warnings for ad-do-it.
6557
6558 * bookmark.el (bookmark-completing-read): Set the completion category
6559 to `bookmark' (bug#11131).
6560
6561 2012-10-26 Bastien <bzg@altern.org>
6562 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * face-remap.el: Use lexical-binding.
6565 (text-scale-adjust): Improve docstring. Use itself for the temporary
6566 overlay-map bindings, so as to repeat the "Use..." message each time.
6567
6568 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * emacs-lisp/macroexp.el (macroexp--expand-all):
6571 Obey byte-compile-warning-enabled-p (bug#12486).
6572
6573 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6574 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6575
6576 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6577
6578 * mouse.el (mouse-drag-line): Move last form into preceding when
6579 clause (Bug#12731).
6580
6581 * help.el (resize-temp-buffer-window): Fix doc-string.
6582
6583 2012-10-25 David Engster <deng@randomsample.de>
6584
6585 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6586 Remove. This feature is already integrated in imenu.
6587
6588 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6589 always loaded. Require `speedbar' unconditionally.
6590
6591 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6594
6595 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6596
6597 * net/ldap.el (ldap-search-internal): The official ldif format starts
6598 with a "version: 1" header (bug#12724).
6599
6600 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6601 (bug#12721).
6602
6603 2012-10-25 Glenn Morris <rgm@gnu.org>
6604
6605 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6606
6607 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * minibuffer.el (minibuffer-force-complete): Use one more marker
6610 for the temporary-overlay-map command (bug#12619).
6611
6612 2012-10-24 Chong Yidong <cyd@gnu.org>
6613
6614 * time.el (display-time-world-mode): Derive from special-mode.
6615 (display-time-world): Use display-buffer (Bug#12708).
6616 (display-time-world-mode-map): Variable deleted.
6617 (display-time-world-display): Wrap the final delete-char inside
6618 inhibit-read-only.
6619
6620 2012-10-24 Chong Yidong <cyd@gnu.org>
6621
6622 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6623 Doc fix.
6624
6625 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6626
6627 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * minibuffer.el (completion--all-sorted-completions-location): New var.
6630 (completion--cache-all-sorted-completions)
6631 (completion--flush-all-sorted-completions): Use it.
6632 (completion-in-region, completion-in-region--postch)
6633 (completion-at-point, completion-help-at-point): Use markers in
6634 completion-in-region--data (bug#12619).
6635
6636 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * progmodes/compile.el (compilation-start): Try to handle common
6639 quoting of `cd' argument (bug#12640).
6640
6641 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6642 (bug#12671).
6643
6644 2012-10-23 Glenn Morris <rgm@gnu.org>
6645
6646 * progmodes/gud.el (gud-menu-map):
6647 Check gdb-active-process is bound. (Bug#12358)
6648
6649 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * repeat.el (repeat): Set real-this-command (bug#12232).
6652
6653 * htmlfontify.el (hfy-post-html-hook):
6654 * filesets.el (filesets-cache-fill-content-hook):
6655 * arc-mode.el (archive-extract-hook):
6656 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6657 * net/rcirc.el (rcirc-sentinel-functions)
6658 (rcirc-receive-message-functions, rcirc-activity-functions)
6659 (rcirc-print-functions):
6660 * net/dbus.el (dbus-event-error-functions):
6661 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6662 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6663 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6664 * term/sun.el (sun-raw-prefix-hooks):
6665 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6666
6667 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6668
6669 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6670 Set `tramp-chunksize' to 1. This improves the performance.
6671 (tramp-smb-wait-for-output): Add timeout to
6672 `tramp-accept-process-output' calls.
6673
6674 2012-10-23 Chong Yidong <cyd@gnu.org>
6675
6676 * faces.el (font-list-limit): Define as an obsolete variable.
6677
6678 * startup.el (command-line):
6679 * cus-start.el: Don't refer to font-list-limit.
6680
6681 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6682
6683 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * subr.el (internal-temp-output-buffer-show): Rename from
6686 temp-output-buffer-show, since previously compiled files expect this name.
6687
6688 2012-10-23 Glenn Morris <rgm@gnu.org>
6689
6690 * image.el (image-type-from-file-name): If multiple types match,
6691 return the first one that is supported. (Bug#9045)
6692
6693 2012-10-22 Glenn Morris <rgm@gnu.org>
6694
6695 * image.el (imagemagick-enabled-types): Doc fix.
6696
6697 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6698
6699 * progmodes/which-func.el (which-func-current): The hash-table may have
6700 an explicit nil (bug#12338).
6701
6702 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * electric.el (electric-pair-delete-selection-self-insert-function):
6705 Rename to electric-pair-will-use-region, return a boolean.
6706 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6707
6708 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6709 (delete-selection-pre-hook): Use use-region-p.
6710 (delete-selection-self-insert-function): Remove.
6711 (self-insert-command): Obey self-insert-uses-region-functions.
6712 (self-insert-iso): Revert to previous setting, since we don't actually
6713 know what that command does.
6714 (delete-selection-self-insert-hooks): Remove.
6715
6716 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6717
6718 * delsel.el (delete-selection-helper): New function, extracted from
6719 delete-selection-pre-hook.
6720 (delete-selection-pre-hook): Use it.
6721 (delete-selection-self-insert-function): New function.
6722 (delete-selection-self-insert-hooks): New hook.
6723 (self-insert-command, self-insert-iso): Use it.
6724 * electric.el (electric-pair-syntax): New function, extracted from
6725 electric-pair-post-self-insert-function.
6726 (electric-pair-post-self-insert-function): Use it.
6727 (electric-pair-delete-selection-self-insert-function): New function.
6728 (electric-pair-mode): Require delsel and setup
6729 delete-selection-self-insert-hooks (bug#11520).
6730
6731 2012-10-20 Chong Yidong <cyd@gnu.org>
6732
6733 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6734 no changes to show (Bug#12586).
6735
6736 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6737 list explicitly (Bug#12571).
6738
6739 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6740
6741 * progmodes/flymake.el (flymake-create-temp-inplace):
6742 Use file-truename.
6743
6744 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6745
6746 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6747
6748 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6749
6750 * calc/calc-units.el (math-extract-units): Properly extract powers
6751 of units.
6752
6753 2012-10-20 Daniel Colascione <dancol@dancol.org>
6754
6755 * frame.el (make-frame): Set x-display-name as we used to in order
6756 to unbreak creating an X11 frame from an Emacs daemon started
6757 without a display.
6758
6759 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6762 the same completion-field (bug#12221).
6763
6764 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6765
6766 * emacs-lisp/debug.el (debug): Record height of debugger window
6767 also when debugger will be back (Bug#8789).
6768
6769 2012-10-18 Chong Yidong <cyd@gnu.org>
6770
6771 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6772 Convert to defcustom.
6773 (gdb-get-source-file): Don't bind pop-up-windows.
6774
6775 * progmodes/gud.el (gud-display-line): Don't specially re-use
6776 other frames for the gdb-mi case (Bug#12648).
6777
6778 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * emacs-lisp/advice.el: Clean up commentary a bit.
6781 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6782 (byte-code-function-p): Never redefine.
6783
6784 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6785
6786 2012-10-18 Glenn Morris <rgm@gnu.org>
6787
6788 * dired.el (dired-sort-toggle): Some ls implementations only allow
6789 a single option string. (Bug#12666)
6790
6791 * minibuffer.el (completion-cycle-threshold): Doc fix.
6792
6793 2012-10-17 Kenichi Handa <handa@gnu.org>
6794
6795 * international/mule.el (set-keyboard-coding-system):
6796 Recover input meta mode when the new coding system doesn not use 8-bit.
6797 Supply TERMINAL arg to set-input-meta-mode.
6798
6799 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6800
6801 * wdired.el (wdired-old-marks): New variable.
6802 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6803 (wdired-do-renames): Move point with renamed file and don't lose
6804 mark status (Bug#11795).
6805
6806 2012-10-16 Juri Linkov <juri@jurta.org>
6807
6808 * replace.el (query-replace-help): Mention multi-buffer replacement
6809 keys in the Help message. (Bug#12655)
6810
6811 2012-10-15 Chong Yidong <cyd@gnu.org>
6812
6813 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6814
6815 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6816
6817 * window.el (display-buffer): Doc fix.
6818
6819 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6820 Adjust the msft regexp to the output of Studio 2010, and move msft
6821 before edg-1. See the discussion on emacs-devel,
6822 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6823 for the details.
6824
6825 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6828 (oset): Move uses of object-class-fast macro after its definition.
6829
6830 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6831
6832 2012-10-13 Chong Yidong <cyd@gnu.org>
6833
6834 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6835 enabled, re-enable it (Bug#11963).
6836
6837 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6838
6839 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6840 non-nil, restore window configuration (Bug#12623).
6841
6842 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * help-fns.el (describe-variable, describe-function-1):
6845 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6846
6847 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6848
6849 2012-10-12 Glenn Morris <rgm@gnu.org>
6850
6851 * mail/rmailsum.el (rmail-header-summary):
6852 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6853
6854 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6855
6856 * progmodes/python.el (python-mode-map):
6857 Replace subtitute-key-definition with proper command remapping.
6858 (python-nav--up-list): Fix behavior for blocks on the same level.
6859
6860 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6863
6864 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6865 changes to the format of load-history.
6866
6867 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6868 completion-ignore-case in case that var is buffer-local (bug#12615).
6869
6870 2012-10-11 Kenichi Handa <handa@gnu.org>
6871
6872 * international/eucjp-ms.el: Re-generated.
6873
6874 2012-10-10 Kenichi Handa <handa@gnu.org>
6875
6876 * select.el (xselect--encode-string): If a coding is specified for
6877 selection, and that is compatible with COMPOUND_TEXT, use it.
6878
6879 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6880
6881 * window.el (switch-to-buffer-preserve-window-point): New option.
6882 (switch-to-buffer):
6883 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6884
6885 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6888 Don't document nil as a useful value (bug#12583).
6889
6890 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/tramp.el (tramp-debug-message):
6893 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6894 (with-tramp-progress-reporter): Rename from
6895 `tramp-with-progress-reporter'.
6896 (with-tramp-file-property, with-tramp-connection-property):
6897 Move from tramp-cache.el, rename from `with-file-property' and
6898 `with-connection-property', respectively.
6899
6900 * net/tramp-cache.el: Remove `with-file-property' and
6901 `with-connection-property'.
6902
6903 * net/tramp.el:
6904 * net/tramp-gvfs.el:
6905 * net/tramp-sh.el:
6906 * net/tramp-smb.el: Adapt callees.
6907
6908 * net/trampver.el: Update release number.
6909
6910 2012-10-09 Glenn Morris <rgm@gnu.org>
6911
6912 * w32-fns.el (set-message-beep):
6913 * term/w32-win.el (set-message-beep): Update declarations.
6914
6915 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6918 (mode-line-widen, mode-line-input-method-map)
6919 (mode-line-coding-system-map, mode-line-remote)
6920 (mode-line-unbury-buffer, mode-line-bury-buffer)
6921 (mode-line-next-buffer, mode-line-previous-buffer):
6922 Replace save-selected-window+select-window => with-selected-window.
6923
6924 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6925 * progmodes/cc-vars.el (bq-process): Remove, unused.
6926
6927 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6928
6929 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6930
6931 Implemented `backward-up-list'-like navigation.
6932 * progmodes/python.el (python-nav-up-list)
6933 (python-nav-backward-up-list): New functions.
6934 (python-mode-map): Define substitute key for backward-up-list to
6935 python-nav-backward-up-list.
6936
6937 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6938
6939 * progmodes/python.el (python-fill-paragraph): Rename from
6940 python-fill-paragraph-function. Fixed fill-paragraph for
6941 decorators (Bug#12605).
6942
6943 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6944
6945 * progmodes/python.el (python-shell-output-filter): Handle extra
6946 carriage return in OSX (Bug#12409).
6947
6948 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6949
6950 Fix shell handling of unbalanced quotes and parens in output.
6951 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6952 (python-syntax-propertize-function): Use it.
6953 (python-shell-output-syntax-table): New var.
6954 (inferior-python-mode): Prevent unbalanced parens/quotes from
6955 previous output mess with current input context.
6956
6957 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6958
6959 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6960 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6961
6962 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6963
6964 * ffap.el (ffap-replace-file-component): Support Tramp file name
6965 syntax, not only ange-ftp's one.
6966
6967 2012-10-08 Glenn Morris <rgm@gnu.org>
6968
6969 * cus-start.el (message-log-max): Set :version.
6970
6971 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6972
6973 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6974
6975 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6976 the minibuffer window (Bug#10851).
6977
6978 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6979
6980 Enhancements on forward-sexp movement.
6981 * progmodes/python.el (python-nav-beginning-of-statement)
6982 (python-nav-end-of-statement): Return point-marker.
6983 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6984 (python-info-current-symbol)
6985 (python-info-statement-starts-block-p): Rename from
6986 python-info-beginning-of-block-p.
6987 (python-info-statement-ends-block-p): Rename from
6988 python-info-end-of-block-p.
6989 (python-info-beginning-of-statement-p)
6990 (python-info-end-of-statement-p)
6991 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6992 New functions.
6993
6994 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6997 frame-selected-windows.
6998
6999 2012-10-08 Daniel Colascione <dancol@dancol.org>
7000
7001 * battery.el (battery-status-function): Check for
7002 w32-battery-status itself, not system-time windows-nt.
7003
7004 * frame.el: Require cl-lib.
7005 (display-format-alist): New variable mapping frame types to
7006 functions that initialize them.
7007 (window-system-for-display): New function: interprets
7008 display-format-alist.
7009 (make-frame-on-display): Remove existing display-selection logic
7010 and just forward to make-frame, which will now DTRT.
7011 (make-frame): Restructure to use window-system-for-display to
7012 figure out how to create a frame on a given display.
7013 (display-mouse-p): Look for frame-type w32, not a particular
7014 system-type.
7015
7016 * loadup.el: Load w32 lisp code when we have the w32 feature.
7017
7018 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7019 system-type windows-nt.
7020
7021 * server.el (server-create-window-system-frame): Look for window
7022 type.
7023 (server-proces-filter): Only force a window system when windows-nt
7024 _and_ w32. Explain why.
7025
7026 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7027 of window systems we configure for the mode.
7028
7029 * startup.el (command-line): Mark window system is initialized
7030 after we've done it.
7031
7032 * common-win.el (x-select-text): Look for w32, not windows-nt.
7033
7034 * ns-win.el: Require cl-lib. Add ourselves to
7035 display-format-alist.
7036 (ns-initialize-window-system): Assert we're not initialized twice.
7037
7038 * w32-win.el: Enable lexical binding; require cl-lib; add
7039 ourselves to display-format-alist.
7040 (w32-handle-dropped-file): Convert incoming dropped files from
7041 Windows paths to Cygwin ones before passing them on to the rest of
7042 Emacs.
7043 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7044 (w32-initialize-window-system): Assert we're not initialized twice.
7045
7046 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7047 (x-initialize-window-system): Assert we're not initialized twice.
7048
7049 * w32-common-fns.el: New File.
7050 (w32-version, w32-using-nt, w32-get-clipboard-data)
7051 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7052 (w32-charset-info-alist, x-last-selected, text)
7053 (x-get-selection-value, x-selection-value): Move here.
7054
7055 * w32-fns.el: Require w32-common-fns.
7056 (w32-version, w32-using-nt, w32-get-clipboard-data)
7057 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7058 (w32-charset-info-alist, x-last-selected, text)
7059 (x-get-selection-value, x-selection-value): Move to
7060 w32-common-fns.
7061
7062 * w32-vars.el:
7063 (w32-allow-system-shell, w32-system-shells): Define only in
7064 non-cygwin case.
7065
7066 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7069 (read-passwd): Remove a few more potential sources of leaks.
7070
7071 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7072
7073 * progmodes/python.el (inferior-python-mode)
7074 (python-shell-make-comint): Fix initialization of local
7075 variables copied from parent buffer.
7076
7077 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7078
7079 * term/ns-win.el (ns-read-file-name): Update declaration to match
7080 nsfns.m.
7081 (ns-respond-to-change-font): Change fontsize separately so we are sure
7082 it is set when font is acted upon.
7083
7084 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7085
7086 Enhancements to indentation.
7087 * progmodes/python.el (python-indent-context): Give priority to
7088 inside-string context. Make comments indentation markers.
7089 (python-indent-region): Do not mess with strings, unless it's the
7090 enclosing set of quotes.
7091
7092 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * window.el (internal--before-save-selected-window)
7095 (internal--after-save-selected-window): New functions extracted from
7096 save-selected-window. Make sure we return the `alist' we construct.
7097 (save-selected-window): Use them.
7098
7099 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7100 Use with-selected-window.
7101
7102 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7103 forms that define macros (bug#12593).
7104
7105 2012-10-07 Kenichi Handa <handa@gnu.org>
7106
7107 * international/mule-conf.el (compound-text-with-extensions):
7108 Add :mime-charset property as x-ctext.
7109
7110 2012-10-07 Stefan Merten <smerten@oekonux.de>
7111
7112 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7113 (rst-indent-literal-normal, rst-indent-literal-minimized)
7114 (rst-indent-comment): Correct :version tag.
7115 (rst-official-cvs-rev): Correct version string.
7116
7117 2012-10-07 Glenn Morris <rgm@gnu.org>
7118
7119 * mail/rmailmm.el (rmail-mime-process-multipart):
7120 Do not confuse a multipart message with an epilogue
7121 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7122
7123 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7124
7125 Fix shell output retrieval and comint-prompt-regexp init.
7126 * progmodes/python.el (inferior-python-mode):
7127 (python-shell-make-comint): Fix initialization of
7128 comint-prompt-regexp from copied file local variables.
7129 (python-shell-fetched-lines): Remove var.
7130 (python-shell-output-filter-in-progress): Rename from
7131 python-shell-fetch-lines-in-progress.
7132 (python-shell-output-filter-buffer): Rename from
7133 python-shell-fetch-lines-string.
7134 (python-shell-fetch-lines-filter): Delete function.
7135 (python-shell-output-filter): New function.
7136 (python-shell-send-string-no-output): Use them.
7137
7138 2012-10-07 Glenn Morris <rgm@gnu.org>
7139
7140 * hi-lock.el (hi-lock-process-phrase):
7141 Try to make it less fragile. (Bug#7161)
7142
7143 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7144
7145 2012-10-06 Glenn Morris <rgm@gnu.org>
7146
7147 * ehelp.el (electric-help-mode): Use help-mode rather than
7148 non-existent mode `help'.
7149 (electric-help-map): Use button-buffer-map. (Bug#10917)
7150
7151 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7152 (reftex-create-bibtex-footer): Fix custom types.
7153
7154 * progmodes/sh-script.el (sh-indent-after-continuation):
7155 Add explicit :group.
7156
7157 * textmodes/rst.el (rst-preferred-decorations)
7158 (rst-shift-basic-offset): Clarify obsolescence versions.
7159
7160 * profiler.el (profiler): Add missing group :version tag.
7161 * avoid.el (mouse-avoidance-banish-position):
7162 * proced.el (proced-renice-command):
7163 * calc/calc.el (calc-ensure-consistent-units):
7164 * calendar/icalendar.el (icalendar-import-format-uid):
7165 * net/tramp.el (tramp-save-ad-hoc-proxies):
7166 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7167 * progmodes/flymake.el (flymake-error-bitmap)
7168 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7169 * progmodes/sh-script.el (sh-indent-after-continuation):
7170 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7171 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7172 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7173 (vhdl-array-index-record-field-in-sensitivity-list)
7174 (vhdl-indent-comment-like-next-code-line):
7175 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7176 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7177 (reftex-cite-key-separator, reftex-create-bibtex-header)
7178 (reftex-create-bibtex-footer):
7179 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7180 (rst-indent-literal-normal, rst-indent-literal-minimized)
7181 (rst-indent-comment): Add missing custom :version tags.
7182
7183 * calendar/timeclock.el (timeclock-modeline-display):
7184 Add missing obsolete alias for renamed user option.
7185
7186 * strokes.el (strokes-modeline-string):
7187 * emulation/crisp.el (crisp-mode-modeline-string):
7188 * eshell/esh-mode.el (eshell-status-in-modeline):
7189 Aliases to defcustoms must come before the defcustom.
7190
7191 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7192 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7193 (cal-tex-cursor-week-monday): Doc fixes.
7194 (cal-tex-cursor-week2-summary): Doc fix.
7195 Rename from cal-tex-cursor-week-at-a-glance.
7196
7197 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7198 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7199
7200 * calendar/calendar.el (calendar-mode-map):
7201 Add cal-tex-cursor-week2-summary.
7202
7203 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7206
7207 * subr.el (read-passwd-map): New var.
7208 (read-passwd): Use `read-string' again.
7209 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7210
7211 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7212
7213 * register.el (append-to-register, prepend-to-register):
7214 Deactivate mark, as does `copy-to-register' (bug#12389).
7215
7216 2012-10-06 Chong Yidong <cyd@gnu.org>
7217
7218 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7219
7220 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7221
7222 * international/characters.el: Fix simple mistake ((car chars) ->
7223 elt), delete duplicated code.
7224
7225 2012-10-06 Glenn Morris <rgm@gnu.org>
7226
7227 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7228
7229 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7230
7231 * color.el (color-hsl-to-rgb): Fix incorrect results for
7232 small and large hue values. (Bug#12559)
7233
7234 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7235
7236 Enhancements to docstring formatting when filling paragraphs.
7237 * progmodes/python.el (python-fill-docstring-style): Rename from
7238 python-fill-string-style. Added new style.
7239 (python-fill-string): Use new style. Better checks for
7240 docstrings.
7241
7242 2012-10-05 Glenn Morris <rgm@gnu.org>
7243
7244 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7245
7246 * color.el (color-name-to-rgb, color-rgb-to-hex)
7247 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7248 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7249 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7250 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7251
7252 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7253
7254 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7255
7256 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7257 to get the correct size across symlinks.
7258
7259 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7260
7261 2012-10-04 Juri Linkov <juri@jurta.org>
7262
7263 * replace.el (query-replace-interactive): Declare obsolete.
7264 (query-replace-read-from): Add the last incremental search string
7265 to the list of default values accessible via M-n.
7266 (map-query-replace-regexp): Use `read-regexp'.
7267 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7268 (map-query-replace-regexp, replace-string, replace-regexp):
7269 Fix docstrings to replace mentions of `query-replace-interactive'
7270 with alternatives. (Bug#12526)
7271
7272 2012-10-04 Juri Linkov <juri@jurta.org>
7273
7274 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7275 (dired-pop-to-buffer): Declare obsolete.
7276 (dired-mark-pop-up): Doc fix.
7277
7278 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7279
7280 Allow user to set docstring style for fill-paragraph.
7281 * progmodes/python.el
7282 (python-fill-comment-function, python-fill-string-function)
7283 (python-fill-decorator-function, python-fill-paren-function):
7284 Remove :safe for defcustoms.
7285 (python-fill-string-style): New defcustom
7286 (python-fill-paragraph-function): Enhance context detection.
7287 (python-fill-string): Honor python-fill-string-style settings.
7288
7289 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7290
7291 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7292 after setting its buffer (Bug#10805).
7293
7294 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7295
7296 Fix cornercase for string syntax.
7297 * progmodes/python.el (python-syntax-propertize-function):
7298 Simplify and enhance the regexp for unescaped quotes. Now it also
7299 matches quotes in weird situations like the single quote in
7300 "something\"'".
7301 (python-syntax-stringify): Simplify num-quotes detecting code.
7302
7303 2012-10-03 Glenn Morris <rgm@gnu.org>
7304
7305 * help-macro.el (three-step-help):
7306 Revert 2012-09-29 change. (Bug#12567)
7307
7308 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7309
7310 * menu-bar.el (kill-this-buffer): Don't do anything when
7311 `menu-frame' is not alive or visible (Bug#8184).
7312
7313 * emacs-lisp/debug.el (debug): When quitting the debugger window
7314 restore current buffer (Bug#12502).
7315
7316 2012-10-02 Chong Yidong <cyd@gnu.org>
7317
7318 * progmodes/hideif.el (hif-lookup, hif-defined):
7319 Handle semantic-c-takeover-hideif.
7320
7321 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7322
7323 Change sampling interval units from ms to ns.
7324 * profiler.el (profiler-sampling-interval): Change units
7325 from ms to ns, multiplying the default by 1000000 so that
7326 it remains 1 ms.
7327 (profiler-report-cpu-line-format): Give enough room for
7328 the maximum counters on 64-bit hosts.
7329 (profiler-report-render-calltree-1): Call them "CPU samples",
7330 not "Time (ms)", since they are not milliseconds now (and
7331 never really were).
7332
7333 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7334
7335 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7336 Fix querying BBDB for entries without a last name (Bug#11580).
7337
7338 2012-10-02 Chong Yidong <cyd@gnu.org>
7339
7340 * emacs-lisp/eieio.el: Restore Version header.
7341
7342 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * vc/diff-mode.el (diff--auto-refine-data): New var.
7345 (diff-hunk): Use it to delay refinement.
7346 (diff-mode): Remove overlays when we turn off font-lock.
7347
7348 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7349 (table-initialize-table-fixed-width-mode)
7350 (table-set-table-fixed-width-mode): Remove functions.
7351 (table-command-list): Move initialization into declaration.
7352 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7353 (table-with-cache-buffer): Use `declare'.
7354 (table-span-cell): Simplify via CSE.
7355 (table-fixed-width-mode): Use define-minor-mode.
7356 (table-call-interactively, table-funcall, table-apply): Remove.
7357 (table-function): New function, to replace them.
7358
7359 * bookmark.el (bookmark-search-pattern): Remove var.
7360 (bookmark-read-search-input): Remove function.
7361 (bookmark-bmenu-search): Reimplement using a minibuffer.
7362
7363 * faces.el (modeline): Remove obsolete face name.
7364
7365 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7366 and give a non-nil default value.
7367 (add-change-log-entry): Simplify accordingly.
7368
7369 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7370
7371 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7372 (vc-git-log-edit-toggle-amend): New function.
7373 (vc-git-log-edit-toggle-signoff): New function.
7374 (vc-git-log-edit-mode): New major mode.
7375 (vc-git-log-edit-mode-map): Keymap for it.
7376 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7377
7378 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7379 header names.
7380 (log-edit-toggle-header): New function.
7381 (log-edit-extract-headers): Accept function values in HEADERS alist.
7382
7383 2012-10-01 David Engster <deng@randomsample.de>
7384
7385 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7386 from symbol property and change message to be more consistent with
7387 Emacs proper.
7388 (eieio-describe-generic): Add filename for each implementation.
7389 Fix indices for generic and normal methods.
7390 (eieio-method-def, eieio-class-def): New buttons.
7391 (eieio-help-find-method-definition)
7392 (eieio-help-find-class-definition): New functions.
7393 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7394 class, constructor and method definitions.
7395
7396 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7397 information in symbol property.
7398 (scoped-class): Remove.
7399 (eieio-slot-name-index, call-next-method): Check if it is bound.
7400
7401 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7402
7403 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7404 (eieio-custom-mode): New major mode.
7405 (eieio-customize-object): Use it.
7406
7407 2012-10-01 Eric Ludlam <zappo@gnu.org>
7408
7409 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7410 specifying the expected class, and whether subclassing is allowed.
7411 (eieio-persistent-convert-list-to-object):
7412 (eieio-persistent-validate/fix-slot-value)
7413 (eieio-persistent-slot-type-is-class-p): New functions.
7414 (eieio-named::slot-missing): Doc fix.
7415
7416 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7417 Stop using unused publd variable.
7418
7419 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7420 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7421 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7422 (eieio-speedbar-handle-click): Do not specify a class for the
7423 method. Fixes method invocation order problems with EDE.
7424
7425 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7428 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7429
7430 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7431
7432 * bookmark.el (bookmark-version-control): Give tags in the
7433 :type choices (Bug#12309), and improve doc string.
7434 (bookmark-write-file): Bind `print-circle' to `t' to allow
7435 circular custom bookmark types. (Bug#12503)
7436
7437 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7438
7439 Revert the FOLLOW-SYMLINKS change for file-attributes.
7440 * files.el (remote-file-name-inhibit-cache, after-find-file):
7441 * time.el (display-time-file-nonempty-p): Undo last change.
7442
7443 * profiler.el (profiler-sampling-interval): Change default back to 1.
7444 See Stefan Monnier in
7445 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7446
7447 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7448
7449 Shell output catching a la gud-gdb.
7450 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7451 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7452 New Vars.
7453 (python-shell-fetch-lines-filter): New function.
7454 (python-shell-send-string-no-output): Use them.
7455
7456 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7457
7458 * profiler.el (profiler-sampling-interval): Rename from
7459 profiler-sample-interval.
7460 (profiler-sampling-interval): Default to 10.
7461 (profiler-find-profile): New command (was profiler-find-log).
7462 (profiler-find-profile-other-window): New command.
7463 (profiler-find-profile-other-frame): New command.
7464 (profiler-profile): Introduce API-level data structure.
7465
7466 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7467
7468 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7469 * files.el (remote-file-name-inhibit-cache):
7470 * time.el (display-time-file-nonempty-p): Use it.
7471 * files.el (after-find-file): Don't chase links before calling
7472 file-exists-p, as file-exists-p already does the right thing.
7473
7474 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7475
7476 Merge from standalone RefTeX repository.
7477
7478 The following ChangeLog entries are shortened versions of the
7479 original ones with file paths adapted. A not so strongly edited
7480 version of the original ChangeLog can be found in the commit log.
7481
7482 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7483 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7484 Correctly handle new value type returned by `reftex-citation'.
7485
7486 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7487 that entries with whitespace at various places are found.
7488 Doc fix. Include entries that are cross-referenced from cited entries.
7489 Include @String definitions in the resulting bib file. Add header
7490 and footer defined in `reftex-create-bibtex-header' and
7491 `reftex-create-bibtex-footer'.
7492 (reftex-do-citation): Make it possible again to insert
7493 non-existent entries. Save match data when asking for optional
7494 arguments. Return all keys, not just the first one.
7495 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7496 all citations in the same line.
7497 (reftex-parse-bibtex-entry): Accept additional optional argument
7498 `raw' and keep quotes or braces if it is non-nil. Match fields
7499 containing hyphens besides word constituents.
7500 (reftex-get-string-refs): New function.
7501 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7502 and ask if it should be reread in case it did.
7503 (reftex-pop-to-bibtex-entry)
7504 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7505 entries with spaces or tabs in front of arguments.
7506 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7507 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7508 Match entries containing numbers and symbol constituents.
7509 (reftex-do-citation, reftex-figure-out-cite-format):
7510 Use `reftex-cite-key-separator'.
7511
7512 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7513 (reftex-mouse-view-crossref): Explain why point is set.
7514
7515 * textmodes/reftex-global.el: Whitespace changes.
7516
7517 * textmodes/reftex-index.el: Move provide statement to end of
7518 file.
7519 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7520 (reftex-index-visit-phrases-buffer): Set marker when visiting
7521 buffer. This allows for returning from the phrases file to the
7522 file one was just editing instead of the file where the last
7523 phrases was added from.
7524 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7525 punctuation syntax as it usually is not used as string quote in
7526 TeX-related modes and may occur unmatched. The change also
7527 prevents fontification of quoted content.
7528 (reftex-index-phrases-mode): Use it.
7529
7530 * textmodes/reftex-parse.el (reftex-parse-from-file):
7531 Move backward one char if a `\' was matched after a section macro.
7532 (reftex-parse-from-file): Use beginning of match instead of end as
7533 bound.
7534
7535 * textmodes/reftex-ref.el: Adapt creation of
7536 `reftex-<package>-<macro>' functions to new structure of
7537 `reftex-ref-style-alist'.
7538 (reftex-reference): Use `reftex-ref-style-list' function.
7539 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7540 reference macro if `reftex-ref-macro-prompt' is non-nil.
7541 (reftex-reference): Pass refstyle to `reftex-format-special'.
7542 Determine reference macro by looking at
7543 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7544 Use only one special format function.
7545 (reftex-varioref-vref, reftex-fancyref-fref)
7546 (reftex-fancyref-Fref): Remove definitions. The functions are now
7547 generated from `reftex-ref-style-alist'.
7548 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7549 Remove.
7550 (reftex-format-special): New function.
7551
7552 * textmodes/reftex-sel.el
7553 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7554 of `reftex-ref-style-alist'. Remove code for testing macro type.
7555 (reftex-select-toggle-varioref)
7556 (reftex-select-toggle-fancyref): Remove.
7557 (reftex-select-cycle-ref-style-internal)
7558 (reftex-select-cycle-ref-style-forward)
7559 (reftex-select-cycle-ref-style-backward): New functions.
7560 (reftex-select-label-map): Use `v' and `V' for general cycling
7561 through reference styles. Add `p' for switching between number
7562 and page reference types.
7563
7564 * textmodes/reftex-toc.el (reftex-re-enlarge):
7565 Call `enlarge-window' only if there is something to do because in Emacs
7566 the horizontal version throws an error even if the parameter is 0.
7567
7568 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7569 (reftex-plug-into-AUCTeX): Doc fix.
7570 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7571 string. Adapt to new name.
7572 (reftex-ref-style-alist): Change structure so that it is not
7573 possible to use multiple different package names within a style.
7574 Remove the symbols for symbols for macro type distinction.
7575 Add characters for macro selection.
7576 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7577 (reftex-create-bibtex-footer): New variables.
7578 (reftex-format-ref-function): Mention third argument of special
7579 format function.
7580 (reftex-ref-style-alist, reftex-ref-style-default-list):
7581 New variables.
7582 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7583 to new implementation. Mark as obsolete. Add compatibility code
7584 for honoring the variable values in case they are set.
7585 (reftex-cite-format-builtin, reftex-bibliography-commands):
7586 Add support for ConTeXt.
7587 (reftex-format-ref-function, reftex-format-cite-function):
7588 Fix custom type.
7589 (reftex-cite-key-separator): New variable.
7590
7591 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7592 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7593 `reftex-syntax-table' because parens have to retain their paren
7594 syntax in order for parsing of BibTeX entries like @book(...) to
7595 work.
7596 (reftex-in-comment): Do not error out if `comment-start-skip' is
7597 not set. Deal correctly with escaped comment characters.
7598 (reftex-tie-multifile-symbols): Add doc string.
7599 Initialize `reftex-ref-style-list'.
7600 (reftex-untie-multifile-symbols): Add doc string.
7601 (reftex-add-index-macros): Doc fix.
7602 (reftex-ref-style-activate, reftex-ref-style-toggle)
7603 (reftex-ref-style-list): New functions.
7604 (reftex-mode-menu): Use them. Adapt to new structure of
7605 `reftex-ref-style-alist'.
7606 (reftex-select-with-char): Kill the RefTeX Select buffer when
7607 done.
7608 (reftex-remove-if): New function.
7609 (reftex-erase-all-selection-and-index-buffers)
7610 (reftex-mode-menu): Reference styles are now computed from
7611 `reftex-ref-style-alist'. Fix typo.
7612 (reftex-report-bug): New function.
7613 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7614 algorithms with O(n log n). Introduce optional argument SORT (not
7615 yet used).
7616
7617 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7618
7619 Enhancements for triple-quote string syntax.
7620 * progmodes/python.el (python-syntax-propertize-function):
7621 Match both quote cases in one regexp.
7622 (python-syntax-stringify): Handle matches properly.
7623
7624 2012-09-30 Juri Linkov <juri@jurta.org>
7625
7626 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7627 to nil around the call to `insert' to prevent
7628 directory time modification by lock_file. (Bug#2295)
7629 * tar-mode.el (tar-summarize-buffer): Idem.
7630
7631 2012-09-30 Juri Linkov <juri@jurta.org>
7632
7633 * facemenu.el (list-colors-sort): Add option "Luminance".
7634 (list-colors-sort-key): Implement it.
7635
7636 * vc/diff-mode.el (diff-refine-removed):
7637 * vc/ediff-init.el (ediff-fine-diff-A):
7638 * vc/smerge-mode.el (smerge-refined-removed):
7639 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7640
7641 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7642
7643 * term/ns-win.el (x-file-dialog): New function.
7644
7645 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7646
7647 * ido.el (ido-max-directory-size): Default to nil; the current
7648 default is small for POSIX systems, and impractical on Windows 7
7649 now that lstat returns directory sizes for NTFS.
7650
7651 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7652
7653 In buffer display functions handle window-height/window-width
7654 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7655 * window.el (window--display-buffer): New argument ALIST.
7656 Obey window-height and window-width alist entries.
7657 (window--try-to-split-window): New argument ALIST.
7658 Bind window-combination-limit to t when the window's size shall be
7659 changed and window-combination-limit equals `window-size'.
7660 (display-buffer-in-atom-window)
7661 (display-buffer-in-major-side-window)
7662 (display-buffer-in-side-window, display-buffer-same-window)
7663 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7664 (display-buffer-pop-up-window, display-buffer-below-selected)
7665 (display-buffer-at-bottom, display-buffer-in-previous-window)
7666 (display-buffer-use-some-window): Adjust all callers of
7667 window--display-buffer and window--try-to-split-window.
7668 (fit-frame-to-buffer): New option.
7669 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7670 is non-nil.
7671 (display-buffer-in-major-side-window): Evaluate window-height /
7672 window-width alist entries.
7673
7674 * help.el (temp-buffer-resize-frames)
7675 (temp-buffer-resize-regexps): Remove options.
7676 (temp-buffer-resize-mode): Adjust doc-string.
7677 (resize-temp-buffer-window): Don't consult
7678 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7679 temp-buffer-resize-frames.
7680
7681 * dired.el (dired-mark-pop-up):
7682 Call display-buffer-below-selected with a fit-window-to-buffer alist
7683 entry.
7684
7685 2012-09-30 Chong Yidong <cyd@gnu.org>
7686
7687 * server.el (server-host): Document the security implications.
7688 (server-auth-key): Doc fix.
7689
7690 * startup.el (initial-buffer-choice): Doc fix.
7691
7692 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7693
7694 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7695 restriction change.
7696
7697 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7698
7699 * help-fns.el (help-fns--obsolete): Fix last change.
7700
7701 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7702
7703 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7704 (minor-mode-map-alist): Remove redundant code.
7705
7706 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7707 visited in a buffer.
7708 (cvs-insert-visited-file): New function.
7709 (find-file-hook): Use it.
7710
7711 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7712
7713 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7714 chose face.
7715 (log-edit-empty-buffer-p): Don't require a space after a header.
7716
7717 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7718
7719 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7720
7721 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7722 a proper minor-mode.
7723
7724 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7725
7726 2012-09-29 Glenn Morris <rgm@gnu.org>
7727
7728 * winner.el (winner-mode): Remove variable (let define-minor-mode
7729 handle it).
7730 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7731 Doc fixes.
7732 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7733 (winner-mode): Use define-minor-mode.
7734
7735 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7736 the full definition in loaddefs, rather than duplicating it.
7737
7738 * help-macro.el (three-step-help): No need to autoload defcustom.
7739
7740 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7741 (inferior-lisp-program, inferior-lisp-load-command)
7742 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7743 No need to autoload defcustoms.
7744
7745 * hippie-exp.el (hippie-expand-try-functions-list)
7746 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7747 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7748 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7749 (hippie-expand-only-buffers): No need to autoload defcustoms.
7750 * progmodes/vhdl-mode.el (vhdl-line-expand):
7751 Explicitly load hippie-exp, so it does not get autoloaded
7752 while hippie-expand-try-functions-list is let-bound.
7753
7754 2012-09-28 Glenn Morris <rgm@gnu.org>
7755
7756 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7757
7758 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7759 Only "cl.el" counts as cl these days.
7760
7761 2012-09-28 Juri Linkov <juri@jurta.org>
7762
7763 Display archive errors in the echo area instead of inserting
7764 to the file buffer.
7765
7766 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7767 to STDERR-TEST that can be a regexp matching a successful output.
7768 Create a temporary file and redirect stderr to it. Search for
7769 STDERR-TEST in the stderr output and display it in the echo area
7770 if no match is found.
7771 (archive-extract-by-file): New function like
7772 `archive-extract-by-stdout' but extracting archives to files
7773 and looking for successful matches in stdout. Function body is
7774 mostly copied from `archive-rar-extract'.
7775 (archive-rar-extract): Use `archive-extract-by-file'.
7776 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7777
7778 2012-09-28 Leo Liu <sdl.web@gmail.com>
7779
7780 * pcomplete.el (pcomplete-show-completions):
7781 Use minibuffer-message to make pcomplete usable in minibuffer.
7782
7783 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7784
7785 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * type-break.el: Use lexical-binding.
7788 (type-break-mode): Use define-minor-mode.
7789
7790 * emacs-lisp/pcase.el (pcase--mark-used): New.
7791 (pcase--u1): Use it (bug#12512).
7792
7793 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7794 in load-history with the right file name.
7795
7796 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7797
7798 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7799 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7800 (doc-view-get-bounding-box): Make bounding box slicing work for
7801 ODF and DVI documents.
7802
7803 2012-09-28 Glenn Morris <rgm@gnu.org>
7804
7805 * type-break.el (type-break-mode, type-break-interval)
7806 (type-break-good-rest-interval, type-break-keystroke-threshold):
7807 No need to autoload.
7808 (type-break-good-rest-interval, type-break-keystroke-threshold):
7809 Add :set-after.
7810
7811 2012-09-28 Chong Yidong <cyd@gnu.org>
7812
7813 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7814 Add :version tag.
7815
7816 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7819
7820 2012-09-27 Glenn Morris <rgm@gnu.org>
7821
7822 * faces.el (x-display-name): Declare (for without-x builds).
7823
7824 * linum.el (linum-format): Don't autoload it. Improve :type.
7825
7826 * progmodes/tcl.el: Don't require outline when compiling.
7827 (outline-regexp, outline-level): Declare.
7828 * textmodes/sgml-mode.el: Don't require outline when compiling.
7829 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7830
7831 * term.el (term-ansi-reset):
7832 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7833
7834 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7835 files for RCS and SCCS. (Bug#9781)
7836
7837 2012-09-27 Chong Yidong <cyd@gnu.org>
7838
7839 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7840 change; value should be t.
7841
7842 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * image-mode.el: Use lexical-binding.
7845 (image-mode-winprops): Use t to stand for the window of
7846 a buffer that's not displayed.
7847 * doc-view.el (doc-view-new-window-function): Handle the new
7848 t in winprops.
7849 (doc-view-enlarge): Make it a real nop if the size is not changed.
7850 (doc-view-display): Handle the case where the buffer is not (yet?)
7851 displayed in any window.
7852 (doc-view-saved-settings): New var.
7853 (doc-view-mode): Use it.
7854 (doc-view-fallback-mode): Set it.
7855
7856 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7857 Set lexical-binding.
7858 (minibuffer-eldef-shorten-default): New var.
7859 (minibuffer-default-in-prompt-regexps): Use it for new default.
7860 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7861
7862 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7863
7864 * international/uni-bidi.el:
7865 * international/uni-category.el:
7866 * international/uni-name.el:
7867 * international/uni-numeric.el: Regenerate.
7868
7869 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7870 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * profiler.el: New file.
7873
7874 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7877 (testcover-reinstrument): Simplify with CSE.
7878
7879 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7882
7883 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7884
7885 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7886 (verilog-auto-input, verilog-auto-insert-lisp)
7887 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7888 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7889 (verilog-auto-unused, verilog-auto-wire)
7890 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7891 newline. Reported by Andrew Jones.
7892 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7893 Reported by Brad Dobbie.
7894 (verilog-batch-delete-trailing-whitespace):
7895 Create verilog-batch-delete-trailing-whitespace.
7896 Reported by Brad Dobbie.
7897 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7898 parameters from another module. Reported by Dan Katz.
7899 (verilog-auto, verilog-auto-assign-modport)
7900 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7901 AUTOINOUTMODPORT for UVM interface module shell generation.
7902 Reported by Brad Dobbie.
7903 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7904 standard behavior.
7905 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7906 Reported by Matt Martin.
7907
7908 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7909
7910 * window.el (window--resize-child-windows): When resizing child
7911 windows proportionally, process them in reverse order to
7912 preserve the "when splitting a window the new one gets the odd
7913 line" behavior.
7914 (window--resize-root-window-vertically): When resizing the
7915 minibuffer window try to affect only windows at the bottom of the
7916 frame. (Bug#12419)
7917
7918 2012-09-25 Chong Yidong <cyd@gnu.org>
7919
7920 * subr.el (declare): Doc fix.
7921
7922 * help-fns.el (help-fns--obsolete): Handle macros properly.
7923
7924 2012-09-25 Chong Yidong <cyd@gnu.org>
7925
7926 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7927 this function obsolete.
7928
7929 * calendar/cal-x.el (calendar-two-frame-setup)
7930 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7931 * calendar/calendar.el (american-calendar, european-calendar)
7932 (calendar-for-loop):
7933 * comint.el (comint-dynamic-simple-complete)
7934 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7935 * desktop.el (desktop-load-default):
7936 * dired-x.el (dired-omit-here-always)
7937 (dired-hack-local-variables, dired-default-directory):
7938 * emacs-lisp/derived.el (derived-mode-class):
7939 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7940 * emacs-lock.el (toggle-emacs-lock):
7941 * epa.el (epa-display-verify-result):
7942 * epg.el (epg-sign-keys, epg-start-sign-keys)
7943 (epg-passphrase-callback-function):
7944 * eshell/esh-util.el (eshell-for):
7945 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7946 (eshell-add-to-window-buffer-names):
7947 * files.el (locate-file-completion):
7948 * imenu.el (imenu-example--create-c-index)
7949 (imenu-example--create-lisp-index)
7950 (imenu-example--lisp-extract-index-name)
7951 (imenu-example--name-and-position):
7952 * international/mule-cmds.el (princ-list):
7953 * international/mule-diag.el (decode-codepage-char):
7954 * international/mule-util.el (detect-coding-with-priority):
7955 * iswitchb.el (iswitchb-read-buffer):
7956 * mail/mailalias.el (mail-complete):
7957 * mail/sendmail.el (mail-sent-via):
7958 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7959 (mouse-major-mode-menu):
7960 * password-cache.el (password-read-and-add):
7961 * pcomplete.el (pcomplete-parse-comint-arguments):
7962 * progmodes/sh-script.el (sh-maybe-here-document):
7963 * replace.el (query-replace-regexp-eval):
7964 * savehist.el (savehist-load):
7965 * simple.el (choose-completion-delete-max-match):
7966 * term.el (term-dynamic-simple-complete):
7967 * vc/ediff-init.el (ediff-check-version):
7968 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7969 * vc/vc.el (vc-diff-switches-list):
7970 * view.el (view-return-to-alist-update): Likewise.
7971
7972 * subr.el (eval-next-after-load, makehash, insert-string)
7973 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7974 mark obsolete.
7975 (mode-line-inverse-video): Variable deleted.
7976
7977 * international/mule-util.el (string-to-sequence): Remove.
7978
7979 * calendar/calendar.el (calendar-version):
7980 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7981 (icalendar-convert-diary-to-ical):
7982 * cus-edit.el (custom-mode):
7983 * ansi-color.el (ansi-color-unfontify-region):
7984 * international/latin1-disp.el (latin1-char-displayable-p):
7985 * progmodes/cwarn.el (turn-on-cwarn-mode):
7986 * progmodes/which-func.el (which-func-update-1):
7987 Use define-obsolete-function-alias.
7988
7989 * net/newst-backend.el (newsticker-cache-filename):
7990 * net/newst-treeview.el (newsticker-groups-filename):
7991 Fix incorrect obsolescence declaration.
7992
7993 * allout.el (allout-passphrase-hint-string): Likewise.
7994 (allout-init): Use a declare form to mark obsolete.
7995
7996 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7997 this applies to functions.
7998
7999 * iswitchb.el (iswitchb-read-buffer): Move code of
8000 iswitchb-define-mode-map here, and delete that obsolete function.
8001
8002 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8003 font-lock-reference-face.
8004
8005 2012-09-25 Glenn Morris <rgm@gnu.org>
8006
8007 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8008 Doc fixes.
8009
8010 * eshell/em-term.el (eshell-term-name):
8011 Default to term-term-name. (Bug#12485)
8012
8013 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8014
8015 * progmodes/python.el (python-shell-send-buffer): Better handling
8016 of "if __name__ == '__main__':" conditionals when sending the buffer.
8017
8018 2012-09-24 Glenn Morris <rgm@gnu.org>
8019
8020 * eshell/esh-cmd.el (eshell-find-alias-function):
8021 Tighten up file-name regexp. (Bug#12499)
8022
8023 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8024
8025 Enhancements for triple-quote string syntax.
8026 * progmodes/python.el (python-quote-syntax): Remove.
8027 (python-syntax-propertize-function): New value.
8028 (python-syntax-count-quotes, python-syntax-stringify):
8029 New functions.
8030
8031 2012-09-24 Chong Yidong <cyd@gnu.org>
8032
8033 * mail/supercite.el (sc-version): Remove obsolete function.
8034 (sc-describe): Don't mark as obsolete, since it is bound.
8035 (sc-submit-bug-report): Remove.
8036
8037 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8038 (cvs-commit-buffer-require-final-newline): Remove.
8039 (log-edit-require-final-newline)
8040 (log-edit-changelog-full-paragraphs): Default to t.
8041
8042 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8043 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8044 * vc/vc.el (vc-checkout-carefully): Likewise.
8045
8046 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8047 (emerge-version): Remove.
8048
8049 * progmodes/compile.el (compile-internal): Remove.
8050 (compilation-parse-errors-function): Fix typo.
8051
8052 * international/mule.el (set-char-table-default): Remove.
8053 (set-coding-priority, make-coding-system, generic-char-p)
8054 (charset-list, charset-bytes, charset-id): Use declare to mark
8055 functions as obsolete.
8056
8057 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8058 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8059 * vc/vc-hooks.el (vc-default-registered): Don't use
8060 vc-master-templates.
8061
8062 * font-lock.el (font-lock-reference-face):
8063 Use define-obsolete-variable-alias.
8064
8065 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8066 * calendar/calendar.el (calendar-font-lock-keywords):
8067 * calendar/diary-lib.el (diary-font-lock-keywords)
8068 (diary-fancy-font-lock-keywords):
8069 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8070 * textmodes/reftex-index.el (reftex-insert-index):
8071 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8072 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8073 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8074 * progmodes/prolog.el (prolog-font-lock-keywords):
8075 * progmodes/idlwave.el (idlwave-idl-keywords):
8076 * progmodes/ada-mode.el (ada-font-lock-keywords):
8077 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8078
8079 2012-09-24 Glenn Morris <rgm@gnu.org>
8080
8081 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8082
8083 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8084
8085 * progmodes/python.el (python-indent-line): More consistent cursor
8086 movement behavior.
8087
8088 2012-09-23 Stefan Merten <smerten@oekonux.de>
8089
8090 * textmodes/rst.el: Fix compiler warning.
8091
8092 2012-09-23 Roland Winkler <winkler@gnu.org>
8093
8094 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8095 Transcribe also LaTeX hyphenation.
8096 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8097 bibtex-reformat-previous-options.
8098
8099 2012-09-23 Roland Winkler <winkler@gnu.org>
8100
8101 * proced.el (proced-renice-command): New variable.
8102 (proced-marked-processes): New function.
8103 (proced-with-processes-buffer): New macro.
8104 (proced-send-signal): Use them.
8105 (proced-renice): New command bound to r.
8106
8107 2012-09-23 Roland Winkler <winkler@gnu.org>
8108
8109 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8110 ibuffer-saved-filter-groups has one element, shortcut the call of
8111 completing-read. (Bug#12331)
8112
8113 2012-09-23 Chong Yidong <cyd@gnu.org>
8114
8115 * bindings.el (mode-line-toggle-read-only):
8116 * bs.el (bs-toggle-readonly):
8117 * buff-menu.el (Buffer-menu-toggle-read-only):
8118 * dired.el (dired-toggle-read-only):
8119 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8120
8121 2012-09-23 Chong Yidong <cyd@gnu.org>
8122
8123 * image.el (image-type-available-p): Adapt to init-image-library
8124 argument changes.
8125
8126 2012-09-22 Juri Linkov <juri@jurta.org>
8127
8128 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8129 `dired-toggle-read-only'. (Bug#12462)
8130
8131 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8132
8133 * subr.el (temp-output-buffer-show): New function.
8134 (with-output-to-temp-buffer): Call temp-output-buffer-show
8135 instead of internal-temp-output-buffer-show.
8136
8137 2012-09-22 Chong Yidong <cyd@gnu.org>
8138
8139 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8140 (Bug#12462).
8141
8142 * repeat.el (repeat): Doc fix (Bug#12348).
8143
8144 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8145 (Bug#10909).
8146
8147 * simple.el (shell-command-on-region): Doc fix.
8148 (read-only-mode): Doc fix.
8149
8150 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8151
8152 * emacs-lisp/timer.el (run-with-idle-timer)
8153 (timer-activate-when-idle): Warn against reinvoking an idle timer
8154 from within its own timer action. (Bug#12447)
8155
8156 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8157
8158 * cus-start.el (window-combination-limit): Add new optional
8159 values.
8160 * window.el (temp-buffer-window-show)
8161 (window--try-to-split-window): Handle new values of
8162 window-combination-limit (Bug#1806).
8163 (split-window): Test window-combination-limit for t instead of
8164 non-nil.
8165 (display-buffer-at-bottom): New buffer display action function.
8166 * help.el (temp-buffer-resize-regexps): New option.
8167 (temp-buffer-resize-mode): Rewrite doc-string.
8168 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8169 Don't resize reused window. Suggested by Glenn Morris.
8170
8171 2012-09-22 Stefan Merten <smerten@oekonux.de>
8172
8173 * textmodes/rst.el: Revamp section title faces.
8174 (rst-official-version)
8175 (rst-package-emacs-version-alist): Sync with official version
8176 V1.4.0.
8177 (rst-faces-defaults, rst-set-level-default)
8178 (rst-level-face-max, rst-level-face-base-color)
8179 (rst-level-face-base-light, rst-level-face-format-light)
8180 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8181 (rst-adornment-faces-alist): Match new setup.
8182 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8183 (rst-level-5, rst-level-6): New faces.
8184
8185 2012-09-22 Chong Yidong <cyd@gnu.org>
8186
8187 * simple.el (undo): Handle indirect buffers (Bug#8207).
8188
8189 2012-09-21 Leo Liu <sdl.web@gmail.com>
8190
8191 IDO: Disable match re-ordering for buffer switching.
8192 * ido.el (ido-buffer-disable-smart-matches): New variable.
8193 (ido-set-matches-1): Use it. (Bug#2042)
8194
8195 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8196
8197 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8198 Fix 2011-05-17 change. (Bug#12418)
8199
8200 2012-09-21 Leo Liu <sdl.web@gmail.com>
8201
8202 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8203
8204 2012-09-21 Glenn Morris <rgm@gnu.org>
8205
8206 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8207 Be more robust about locating simple.el.
8208
8209 2012-09-21 Glenn Morris <rgm@gnu.org>
8210
8211 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8212
8213 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8214
8215 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8216
8217 2012-09-20 Juri Linkov <juri@jurta.org>
8218
8219 * replace.el (query-replace-read-from): Use `read-regexp' instead
8220 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8221 (occur-read-primary-args): Use `read-regexp' instead of
8222 `read-string'.
8223 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8224 `read-from-minibuffer'.
8225 * isearch.el (isearch-occur): Use `read-regexp' instead of
8226 `read-string'.
8227 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8228 `read-from-minibuffer'.
8229 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8230 of `read-string'. (Bug#7567)
8231
8232 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8233 and allow accepting a list of strings prepended to a list of
8234 standard default values. Doc fix. (Bug#12321)
8235
8236 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8237
8238 * replace.el (read-regexp): Don't add ": " when PROMPT already
8239 ends with a colon and space. (Bug#12321)
8240
8241 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8242
8243 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8244 error.
8245
8246 2012-09-20 Stefan Merten <smerten@oekonux.de>
8247
8248 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8249 Fixes feature request bug#11711.
8250 (rst-mode): Create `imenu-create-index-function'.
8251 (rst-get-stripped-line): Delete after refactoring.
8252 (rst-section-tree, rst-section-tree-rec)
8253 (rst-section-tree-point): Refactor and document properly.
8254 (rst-imenu-find-adornments-for-position)
8255 (rst-imenu-convert-cell, rst-imenu-create-index):
8256 New function.
8257
8258 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8261 (macroexp--expand-all): Use it.
8262 (macroexp--funcall-and-return): Remove by folding it into its sole
8263 caller (macroexp--warn-and-return).
8264 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8265 Use macroexp--obsolete-warning.
8266
8267 * calc/calc.el: Fix last change by removing the whole chunk, since it
8268 was only needed back when Calc was not bundled.
8269
8270 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8271
8272 * emacs-lisp/debug.el (debug): Restore assignment to
8273 debugger-old-buffer removed on 2012-09-08.
8274
8275 2012-09-20 Juri Linkov <juri@jurta.org>
8276
8277 * dired-aux.el (dired-diff): Remove (require 'diff) since
8278 `diff-latest-backup-file' is now autoloaded.
8279
8280 2012-09-20 Chong Yidong <cyd@gnu.org>
8281
8282 * vc/diff.el (diff-latest-backup-file): Autoload.
8283
8284 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * calc/calc.el: Remove redundant autoload shape check.
8287 (sel-mode): Don't defvar.
8288 (calc-get-stack-element): Add `sel-mode' arg instead.
8289 (calc-top, calc-top-list): Pass it this additional argument.
8290 * calc/calc-store.el (calc-store-map):
8291 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8292 (calc-map-equation, calc-outer-product, calc-inner-product):
8293 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8294
8295 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8296
8297 2012-09-19 Juri Linkov <juri@jurta.org>
8298
8299 * dired-aux.el (dired-diff): Add (require 'diff) because
8300 `diff-latest-backup-file' is not autoloaded.
8301 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8302 of `dired-get-filename' to t to not report error when there is
8303 no default file on the current line.
8304
8305 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8308 macroexp--eval-if-compile.
8309 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8310 (macroexp--expand-all): Use them (bug#12371).
8311
8312 * doc-view.el (doc-view-guess-paper-size)
8313 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8314
8315 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8316
8317 New feature: set optimal slice from BoundingBox information.
8318 * doc-view.el (doc-view-mode-map): Add keybinding.
8319 (doc-view-menu): Add menu entry.
8320 (doc-view-set-slice): Adapt docstring.
8321 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8322 (doc-view-scale-bounding-box)
8323 (doc-view-set-slice-from-bounding-box): New functions.
8324 (doc-view-paper-sizes): New defvar.
8325
8326 2012-09-19 Glenn Morris <rgm@gnu.org>
8327
8328 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8329 (byte-compile-log-warning): Autoload. (Bug#12371)
8330
8331 * calendar/calendar.el (calendar-american-month-header)
8332 (calendar-european-month-header, calendar-iso-month-header)
8333 (calendar-month-header): New options.
8334 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8335 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8336
8337 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8338
8339 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8340
8341 2012-09-18 Juri Linkov <juri@jurta.org>
8342
8343 * dired-aux.el (dired-diff): Restore original functionality of
8344 getting the default value, but keep new feature of using the
8345 latest existing backup file (`diff-latest-backup-file').
8346
8347 2012-09-18 Juri Linkov <juri@jurta.org>
8348
8349 * dired.el (dired-mark): If the region is active in Transient Mark
8350 mode, mark all files in the active region. Doc fix.
8351 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8352 Doc fix. (Bug#10624)
8353
8354 2012-09-18 Juri Linkov <juri@jurta.org>
8355
8356 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8357 attributes for M-n are pulled from the file at point.
8358 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8359 Suggested by Drew Adams. (Bug#10624)
8360
8361 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8362
8363 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8364 whitespace after "end".
8365 (ruby-do-end-to-brace): Collapse block to one line if it fits
8366 within fill-column.
8367
8368 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8369
8370 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8371 value.
8372 (debug): Don't remove debugger window when debugger is expected
8373 to be back.
8374
8375 2012-09-18 Chong Yidong <cyd@gnu.org>
8376
8377 * custom.el (defface): Doc fix.
8378
8379 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8380
8381 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8382
8383 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8384 to initialize query-on-exit; then test that instead (bug#12288).
8385
8386 2012-09-17 Stefan Merten <smerten@oekonux.de>
8387
8388 * textmodes/rst.el: Add support for `testcover'.
8389 (rst-defcustom-testcover, rst-testcover-add-compose)
8390 (rst-testcover-add-1value): New functions.
8391 (rst-portable-mark-active-p): Replace by `use-region-p'.
8392 (rst-update-section, rst-classify-adornment)
8393 (rst-find-title-line): Mark `1value' forms.
8394 (rst-classify-adornment): Remove superfluous form.
8395 (rst-update-section, rst-get-adornments-around)
8396 (rst-adornment-complete-p, rst-get-next-adornment)
8397 (rst-adjust, rst-promote-region)
8398 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8399 (rst-find-pfx-in-region, rst-section-tree-rec)
8400 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8401 (rst-toc-node, rst-toc, rst-forward-section)
8402 (rst-iterate-leftmost-paragraphs)
8403 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8404 (rst-bullet-list-region)
8405 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8406 (rst-compile-find-conf, rst-compile)
8407 (rst-repeat-last-character): Fix style.
8408
8409 2012-09-17 Chong Yidong <cyd@gnu.org>
8410
8411 * comint.el (comint--complete-file-name-data): Don't add a space
8412 if the status is `sole'; that adds a gratuitous space in the
8413 completion-cycling case (Bug#12092).
8414
8415 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8416
8417 2012-09-17 Richard Stallman <rms@gnu.org>
8418
8419 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8420 only in the mime-shown mode, not in raw mode.
8421 (rmail-mime): Toggle off mime by displaying the message without
8422 mime processing. (Bug#12305)
8423
8424 * mail/rmail.el (rmail-retry-failure):
8425 Turn off mime processing first. (Bug#12037)
8426
8427 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8428
8429 2012-09-17 Chong Yidong <cyd@gnu.org>
8430
8431 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8432 (shell-dynamic-complete-functions): Convert to defcustom.
8433 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8434
8435 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8436 * comint.el (comint-prompt-read-only):
8437 * custom.el (defcustom):
8438 * hi-lock.el (hi-lock-mode):
8439 * ibuffer.el (ibuffer-formats):
8440 * ielm.el (ielm-prompt-read-only):
8441 * novice.el (disable-command):
8442 * saveplace.el (toggle-save-place):
8443 * speedbar.el (speedbar-supported-extension-expressions):
8444 * startup.el (auto-save-list-file-prefix, init-file-user)
8445 (after-init-hook, inhibit-startup-echo-area-message):
8446 * strokes.el (strokes-help):
8447 * time-stamp.el (time-stamp):
8448 * calendar/calendar.el (calendar, diary-file):
8449 * calendar/diary-lib.el (diary-mail-entries, diary)
8450 (diary-list-entries-hook):
8451 * calendar/holidays.el (holidays, calendar-holidays):
8452 * calendar/lunar.el (lunar-phases):
8453 * calendar/solar.el (sunrise-sunset):
8454 * emulation/edt.el (edt-load-keys):
8455 * emulation/viper.el (viper-mode):
8456 * eshell/em-alias.el (eshell-command-aliases-list):
8457 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8458 * international/ogonek.el (ogonek-information):
8459 * net/tramp-cmds.el (tramp-bug):
8460 * net/quickurl.el (quickurl-reread-hook-postfix):
8461 * play/decipher.el (decipher-font-lock-keywords):
8462 * progmodes/cc-styles.el (c-set-style):
8463 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8464 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8465 * progmodes/octave-mod.el (octave-mode):
8466 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8467 * progmodes/verilog-mode.el (verilog-read-defines):
8468 * textmodes/two-column.el (2C-mode): Likewise.
8469
8470 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8471
8472 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8473 that holds many addresses.
8474
8475 2012-09-16 Chong Yidong <cyd@gnu.org>
8476
8477 * align.el (align-areas): Call the indication function with
8478 positions instead of markers for arguments (Bug#12343).
8479
8480 * files.el (parse-colon-path): Use split-string (Bug#12351).
8481
8482 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8483 (display-buffer-function): Mark as obsolete.
8484
8485 * progmodes/compile.el (compilation-parse-errors): Accept list
8486 values similar to font-lock-keywords (Bug#12136).
8487 Suggested by Oleksandr Manzyuk.
8488 (compilation-error-regexp-alist): Doc fix.
8489
8490 2012-09-15 Glenn Morris <rgm@gnu.org>
8491
8492 * version.el (emacs-bzr-version-bzr): New function.
8493 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8494
8495 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8496 checkouts, check the parent dirstate matches the branch.
8497 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8498 empty string.
8499
8500 * version.el (emacs-bzr-version): Doc fix.
8501 (emacs-bzr-version-dirstate): New function.
8502 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8503 is local try and check that it matches the branch. If not, just
8504 use dirstate information. (Bug#12441)
8505
8506 2012-09-14 Juri Linkov <juri@jurta.org>
8507
8508 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8509 (Bug#12399)
8510
8511 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8514
8515 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8516 Remove obsolete byte-compiler hack that tried to silence some warnings.
8517 (edebug-submit-bug-report): Remove.
8518 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8519 Remove aliases, use the un-prefixed name instead.
8520 (edebug-pop-to-buffer): Consider other frames.
8521 (edebug-original-read):: Make it more obvious that it's always defined.
8522 (edebug--make-form-data-entry, edebug--form-data-name)
8523 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8524 single-dashed name, and implement with cl-defstruct.
8525 (edebug-set-form-data-entry): Use the standard accessors.
8526 (edebug-make-top-form-data-entry): Use push.
8527 (edebug-no-match): Drop useless `funcall'.
8528 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8529 to functions.
8530 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8531 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8532 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8533 (easy-menu-define, with-custom-print): Remove redundant specs.
8534 (edebug-outside-overriding-local-map)
8535 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8536 (edebug--display): Bind unread-command-events directly to nil rather
8537 than binding it to unread-command-events and later setting it to nil.
8538 (edebug--display): Kill edebug-eval-buffer here...
8539 (edebug--recursive-edit): ...rather than here.
8540 Bind standard-output and standard-input.
8541 (edebug-eval): Check cl-macroexpand-all is fboundp.
8542 (edebug-temp-display-freq-count): Fix last change.
8543
8544 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8545 * subr.el (noreturn, 1value): Add `debug' spec.
8546 * emacs-lisp/advice.el: Require cl-lib.
8547 (ad-copy-tree): Remove, use copy-tree instead.
8548 (ad-dolist): Remove use dolist or cl-dolist instead.
8549 (ad-do-return): Remove, use cl-return instead.
8550 (defadvice): Add `debug' spec.
8551
8552 2012-09-13 Juri Linkov <juri@jurta.org>
8553
8554 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8555 (Bug#12399)
8556
8557 2012-09-13 Glenn Morris <rgm@gnu.org>
8558
8559 * calc/calc.el (math-compose-expr):
8560 * calc/calc-ext.el (math-compose-expr):
8561 * progmodes/cc-defs.el (cl-macroexpand-all):
8562 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8563 (cl-macroexpand-all): Update declarations.
8564
8565 * vc/vc.el: No need to require ediff.
8566 (ediff-load-version-control): Declare.
8567 (ediff-vc-internal): Fix declaration.
8568 (vc-version-ediff): Require ediff.
8569
8570 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8571
8572 Use a more backwards-compatible timer format (Bug#12430).
8573 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8574 being right after USECS, as that better supports old code that
8575 inadvisedly looked directly at the timer vector.
8576
8577 2012-09-13 Kenichi Handa <handa@gnu.org>
8578
8579 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8580 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8581 `coding-priority' property of these language environment.
8582
8583 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8584
8585 Fix glitches caused by addition of psec to timers (Bug#12430).
8586 * image.el (image-animate-timer):
8587 * time.el (display-time-world-timer):
8588 Use timer--function and timer--args rather than raw access to
8589 timer vector.
8590
8591 2012-09-13 Glenn Morris <rgm@gnu.org>
8592
8593 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8594 If not compiling a file, try using load-file-name.
8595
8596 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8597
8598 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8599 Fix last change.
8600 (edebug-update-eval-list): Use `push'.
8601
8602 * emacs-lisp/edebug.el: Use lexical-binding.
8603 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8604 Mark unused args with underscore.
8605 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8606 (edebug-form-data): Use defvar-local.
8607 (edebug-make-before-and-after-form, edebug-make-after-form):
8608 Use backquote.
8609 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8610 Not dynamically scoped any more.
8611 (edebug--enter-trace): Add arguments `function' and `args'.
8612 Rename from edebug-enter-trace.
8613 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8614 (edebug--update-coverage): Add `after-index' and `value' args.
8615 Rename from edebug-update-coverage.
8616 (edebug-slow-after): Call it accordingly.
8617 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8618 edebug-recursive-edit.
8619 (edebug--display): Call it accordingly. Add args `value',
8620 `offset-index', and `arg-mode'. Rename from edebug-display.
8621 (edebug-debugger, edebug): Call it accordingly.
8622 (edebug-eval-display-list): Use dolist.
8623
8624 2012-09-12 Juri Linkov <juri@jurta.org>
8625
8626 * info.el (Info-search): Don't check for isearch-mode and
8627 isearch-regexp before let-binding search-spaces-regexp to
8628 Info-search-whitespace-regexp.
8629 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8630 search-whitespace-regexp if isearch-lax-whitespace or
8631 isearch-regexp-lax-whitespace is non-nil.
8632 (Info-mode): Don't set local variable search-whitespace-regexp.
8633 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8634
8635 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8638 (debugger-env-macro): Remove support for unread-command-char.
8639
8640 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8641 the temporary map re-appearing on emulation-mode-map-alists.
8642
8643 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8644 since 22.1.
8645
8646 * ehelp.el (with-electric-help): Accept functions in
8647 electric-help-form-to-execute.
8648 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8649 And replace unread-command-char -> unread-command-events.
8650
8651 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8652
8653 Sync with Tramp 2.2.6.
8654
8655 * net/tramp.el (tramp-accept-process-output): Don't use
8656 JUST-THIS-ONE in the XEmacs case.
8657
8658 * net/trampver.el: Update release number.
8659
8660 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8661
8662 * emacs-lisp/debug.el (debugger-previous-window-height):
8663 New variable.
8664 (debug): When debugger-jumping-flag is non-nil try to restore
8665 height of debugger window. (Bug#8789)
8666
8667 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8670 overriding-local-map and pre/post-command-hook here.
8671 (edebug-recursive-edit): Do it here instead (bug#12345).
8672 (edebug-outside-unread-command-char): Remove all uses of
8673 unread-command-char.
8674
8675 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8676 inhibit-debugger is bound instead.
8677
8678 2012-09-11 Bastien Guerry <bzg@gnu.org>
8679
8680 * subr.el (set-temporary-overlay-map): Add a docstring.
8681 (Bug#12346)
8682
8683 2012-09-11 Bastien Guerry <bzg@gnu.org>
8684
8685 * minibuffer.el (completion-table-subvert): Fix docstring.
8686 (Bug#12347)
8687
8688 2012-09-11 Bastien Guerry <bzg@gnu.org>
8689
8690 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8691
8692 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8693
8694 * progmodes/sql.el: Version 3.1
8695 (sql-db2-escape-newlines): New variable.
8696 (sql-escape-newlines-filter): Use it.
8697
8698 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8699
8700 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8701
8702 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8703
8704 * vc/diff-mode.el (diff-mode-menu):
8705 Bind diff-remove-trailing-whitespace.
8706
8707 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8710 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8711 (emacs-lisp-byte-code-mode): New functions.
8712 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8713 (eval-defun-2): Remove bogus interactive spec.
8714 (lisp-indent-line): Remove redundant whole-exp code, now done in
8715 indent-according-to-mode.
8716 (save-match-data): Remove redundant indent data.
8717
8718 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8719 Use `declare'.
8720
8721 2012-09-09 Juri Linkov <juri@jurta.org>
8722
8723 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8724 (replace-lax-whitespace, query-replace-regexp)
8725 (query-replace-regexp-eval, replace-regexp): Doc fix.
8726 (perform-replace, replace-highlight): Let-bind
8727 isearch-lax-whitespace to replace-lax-whitespace and
8728 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8729
8730 * isearch.el (isearch-query-replace): Let-bind
8731 replace-lax-whitespace to isearch-lax-whitespace and
8732 replace-regexp-lax-whitespace to
8733 isearch-regexp-lax-whitespace. (Bug#10885)
8734
8735 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8738
8739 2012-09-09 Alan Mackenzie <acm@muc.de>
8740
8741 * progmodes/cc-engine.el (c-state-cache-init):
8742 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8743 (c-record-parse-state-state):
8744 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8745
8746 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8747
8748 * register.el (register-separator): Rename from
8749 separator-register. All uses changed. Doc fix.
8750 (register): Fix version.
8751
8752 2012-09-09 Chong Yidong <cyd@gnu.org>
8753
8754 * replace.el (query-replace-map): Bind four new symbols for
8755 requesting window scrolling.
8756
8757 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8758 query-replace-map (Bug#8948).
8759
8760 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8761
8762 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8763 since they are now in query-replace-map.
8764
8765 * window.el (scroll-other-window-down): Make the arg optional.
8766
8767 2012-09-09 Chong Yidong <cyd@gnu.org>
8768
8769 * files.el (hack-local-variables-confirm): Use quit-window to kill
8770 the *Local Variables* buffer.
8771
8772 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8773
8774 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8775 not just expect to be at its beginning. Adjust callees.
8776 Succeed when do-end block has no space before the pipe character.
8777 (ruby-brace-to-do-end): When the original block is one-liner,
8778 convert to multiline. Reindent the result.
8779
8780 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8781
8782 * register.el (register): New group.
8783 (separator-register): New user option.
8784 (increment-register): Route it to `append-to-register', if
8785 register contains text. Implication is that `C-x r +' can now be
8786 used for appending to a text register (bug#12217).
8787 (append-to-register, prepend-to-register): Add separator based on
8788 `separator-register'.
8789
8790 2012-09-08 Alan Mackenzie <acm@muc.de>
8791
8792 AWK Mode: make auto-newline work when there's "==" in the pattern.
8793 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8794 correctly.
8795 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8796 Test more rigorously for "=" token.
8797
8798 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8801 Only fail when reached LIMIT.
8802
8803 2012-09-08 Chong Yidong <cyd@gnu.org>
8804
8805 * dired.el (dired-mode-map): Don't bind M-=.
8806
8807 * dired-aux.el (dired-diff): Use backup file as default.
8808
8809 2012-09-08 Drew Adams <drew.adams@oracle.com>
8810
8811 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8812
8813 2012-09-08 Chong Yidong <cyd@gnu.org>
8814
8815 * subr.el (syntax-after, syntax-class): Doc fix.
8816
8817 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8818
8819 * window.el (display-buffer-in-previous-window): New buffer
8820 display action function.
8821
8822 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8823 (debugger-previous-window): New variable.
8824 (debug): Rewrite using display-buffer-in-previous-window,
8825 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8826
8827 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8830
8831 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8832
8833 * progmodes/python.el (python-shell-send-string):
8834 When default-directory is remote, create temp file on remote
8835 filesystem.
8836 (python-shell-send-file): When file is remote, pass local view of
8837 file paths to remote Python interpreter. (Bug#12340)
8838
8839 2012-09-07 Chong Yidong <cyd@gnu.org>
8840
8841 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8842
8843 * files.el (after-find-file): Don't fail on a read-only buffer if
8844 require-final-newline is `visit' or `visit-save' (Bug#11156).
8845
8846 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8847
8848 * userlock.el (ask-user-about-supersession-threat):
8849 Use read-char-choice (Bug#12093).
8850
8851 2012-09-07 Chong Yidong <cyd@gnu.org>
8852
8853 * subr.el (buffer-narrowed-p): New function.
8854
8855 * ses.el (ses-widen):
8856 * simple.el (count-words--buffer-message):
8857 * net/browse-url.el (browse-url-of-buffer): Use it.
8858
8859 * simple.el (count-words-region): Don't signal an error if there
8860 is a non-nil prefix arg and the mark is not set.
8861
8862 * help.el (describe-key-briefly): Allow the message to be seen
8863 when invoked from the minibuffer (Bug#7014).
8864
8865 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8866
8867 * progmodes/ruby-mode.el (ruby-end-of-defun)
8868 (ruby-beginning-of-defun): Simplify, allow indentation before
8869 block beginning and end keywords.
8870 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8871 (ruby-end-of-defun): Expect that the point is at the beginning of
8872 the defun.
8873
8874 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8877 (bug#12367).
8878 (cl--make-usage-args): Strip _ from argument names.
8879
8880 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8881
8882 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8883 obsolete alias speedbar-key-map.
8884 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8885 (vhdl-index-menu-init): Don't use obsolete variable
8886 font-lock-maximum-size.
8887
8888 2012-09-06 Chong Yidong <cyd@gnu.org>
8889
8890 * frame.el (window-system-version): Mark as obsolete.
8891
8892 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8893 of obsolete variable speedbar-key-map.
8894
8895 2012-09-06 Juri Linkov <juri@jurta.org>
8896
8897 * replace.el (replace-lax-whitespace): New defcustom.
8898 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8899 (replace-string, replace-regexp): Mention it in docstrings.
8900 (perform-replace, replace-highlight): Let-bind
8901 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8902 to the values of replace-lax-whitespace and regexp-flag.
8903 Don't let-bind search-whitespace-regexp. (Bug#10885)
8904
8905 * isearch.el (isearch-query-replace): Let-bind
8906 replace-lax-whitespace instead of let-binding
8907 replace-search-function and replace-re-search-function.
8908 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8909 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8910 (isearch-toggle-symbol): Set isearch-regexp to nil
8911 in isearch-word mode (like in isearch-toggle-word).
8912
8913 2012-09-06 Juri Linkov <juri@jurta.org>
8914
8915 * replace.el (replace-search-function)
8916 (replace-re-search-function): Set default values to nil.
8917 (perform-replace): Let-bind isearch-related variables based on
8918 replace-related values, call `isearch-search-fun' and let-bind
8919 the result to `search-function'. Remove code that sets
8920 `search-function' and `search-string' separately for
8921 `delimited-flag'.
8922 (replace-highlight): Add new argument `delimited-flag' and
8923 rename other arguments to the names used in `perform-replace'.
8924 Let-bind `isearch-word' to the argument `delimited-flag'.
8925 (Bug#10885, bug#10887)
8926
8927 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8928
8929 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8930 ruby-beginning-of-indent, simplify, allow all keywords to have
8931 indentation before them.
8932 (ruby-beginning-of-indent): Adjust for above. Search until the
8933 found point is not inside a string or comment.
8934 (ruby-font-lock-keywords): Allow symbols to start with "@"
8935 character, give them higher priority than variables.
8936 (ruby-syntax-propertize-function)
8937 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8938 matchers. Expression expansions are not comments when inside a
8939 string, and there comment syntax status is irrelevant.
8940 (ruby-match-expression-expansion): New function. Check that
8941 expression expansion is inside a string, and it's not escaped.
8942 (ruby-font-lock-keywords): Use it.
8943
8944 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8945
8946 * help.el (temp-buffer-max-height): New default value.
8947 (temp-buffer-resize-frames): New option.
8948 (resize-temp-buffer-window): Optionally resize frame.
8949
8950 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8951 (fit-frame-to-buffer): New function.
8952
8953 2012-09-05 Glenn Morris <rgm@gnu.org>
8954
8955 * emulation/cua-rect.el (cua--init-rectangles):
8956 * textmodes/picture.el (picture-mode-map):
8957 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8958 like forward-char and backward-char. (Bug#12317)
8959
8960 2012-09-05 Leo Liu <sdl.web@gmail.com>
8961
8962 * progmodes/flymake.el (flymake-warning-re): New variable.
8963 (flymake-parse-line): Use it.
8964
8965 2012-09-05 Glenn Morris <rgm@gnu.org>
8966
8967 * calendar/holidays.el (holiday-christian-holidays):
8968 Rename an entry. (Bug#12289)
8969
8970 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8973 (bug#12222).
8974
8975 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * loadup.el: Load macroexp. Remove hack.
8978 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8979 (macroexp--expand-all): Use it to get better warnings.
8980 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8981 (internal-macroexpand-for-load): New functions.
8982 (macroexp--pending-eager-loads): New var.
8983 (emacs-startup-hook): New hack to replace one in loadup.el.
8984 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8985 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8986 (cl-psetf): Simplify.
8987 (cl-defstruct): Add indent rule.
8988
8989 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8990
8991 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8992 over `user-mail-address' for the SMTP MAIL FROM envelope.
8993 (smtpmail-via-smtp): Ditto.
8994
8995 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8996
8997 * progmodes/ruby-mode.el: Clean up keybindings.
8998 (ruby-mode-map): Don't bind ruby-electric-brace,
8999 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9000 backward-kill-word, reindent-then-newline-and-indent.
9001 (ruby-mark-defun): Remove.
9002 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9003 (ruby-mode): Set local beginning-of-defun-function and
9004 end-of-defun-function values.
9005
9006 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9007
9008 * window.el (temp-buffer-window-setup-hook)
9009 (temp-buffer-window-show-hook): New hooks.
9010 (temp-buffer-window-setup, temp-buffer-window-show)
9011 (with-temp-buffer-window): New functions.
9012 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9013 (special-display-popup-frame): Make sure the window used shows BUFFER.
9014
9015 * help.el (temp-buffer-resize-mode): Fix doc-string.
9016 (resize-temp-buffer-window): New optional argument WINDOW.
9017
9018 * files.el (recover-file, save-buffers-kill-emacs):
9019 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9020
9021 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9022
9023 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9024 remote definition of `default-directory', ensure we can connect.
9025
9026 2012-09-02 Juri Linkov <juri@jurta.org>
9027
9028 Toggle whitespace matching mode with M-s SPC.
9029 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9030
9031 * isearch.el (search-whitespace-regexp): Doc fix.
9032 Remove cons cell customization.
9033 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9034 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9035 New variables.
9036 (isearch-forward, isearch-forward-regexp): Doc fix.
9037 (isearch-toggle-lax-whitespace): New command.
9038 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9039 (re-search-forward-lax-whitespace)
9040 (re-search-backward-lax-whitespace): New functions.
9041 (isearch-whitespace-regexp): Remove function.
9042 (isearch-query-replace): Let-bind replace-search-function and
9043 replace-re-search-function.
9044 (isearch-occur): Let-bind search-spaces-regexp according to the
9045 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9046 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9047 condition for C-q SPC.
9048 (isearch-search-fun-default): Use new functions mentioned above.
9049 (isearch-search-forward, isearch-search-backward): Remove functions.
9050 (isearch-search): Don't let-bind search-spaces-regexp.
9051 (isearch-lazy-highlight-space-regexp): Remove variable.
9052 (isearch-lazy-highlight-lax-whitespace)
9053 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9054 (isearch-lazy-highlight-new-loop): Use them.
9055 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9056
9057 2012-09-02 Chong Yidong <cyd@gnu.org>
9058
9059 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9060
9061 2012-09-02 Glenn Morris <rgm@gnu.org>
9062
9063 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9064
9065 2012-09-01 Glenn Morris <rgm@gnu.org>
9066
9067 * term.el: Tidy up menu definitions.
9068 (term-mode-map): Use easymenu for In/Out, Complete menus.
9069 (term-pager-break-map): Initialize in the defvar.
9070 (term-terminal-menu, term-signals-menu): Define with easymenu.
9071 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9072 (term-pager-menu): New, extracted from term-process-pager.
9073 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9074 (term-update-mode-line): Propertize line/char and page items.
9075 (term-process-pager): Move keymap initialization elsewhere.
9076
9077 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9078
9079 * window.el (switch-to-prev-buffer): Handle additional values of
9080 BURY-OR-KILL argument. Don't switch in minibuffer window.
9081 (switch-to-next-buffer): Don't switch in minibuffer window.
9082 (quit-restore-window): New function based on quit-window.
9083 Handle additional values of former KILL argument.
9084 (quit-window): Call quit-restore-window with appropriate
9085 interpretation of KILL argument.
9086 (display-buffer-below-selected): New buffer display action
9087 function.
9088
9089 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * minibuffer.el (completion-at-point-functions): Complete docstring
9092 (bug#12254).
9093
9094 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9095
9096 Better seed support for (random).
9097 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9098 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9099 * play/mpuz.el, play/tetris.el, play/zone.el:
9100 * calc/calc-comb.el (math-init-random-base):
9101 * play/blackbox.el (bb-init-board):
9102 * play/life.el (life):
9103 * server.el (server-use-tcp):
9104 * type-break.el (type-break):
9105 Remove unnecessary call to (random t).
9106 * net/sasl.el (sasl-unique-id-function):
9107 Change (random t) to (random), now that the latter is more random.
9108 * play/life.el (life-initialized): Remove no-longer-needed var.
9109
9110 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9111
9112 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9113 Consider frame's buffer predicate when choosing the buffer.
9114 (Bug#12081)
9115
9116 2012-08-30 Richard Stallman <rms@gnu.org>
9117
9118 * simple.el (special-mode-map): Delete binding for `z'.
9119
9120 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9121
9122 * progmodes/compile.el (compilation-always-kill): Doc fix.
9123
9124 2012-08-30 Chong Yidong <cyd@gnu.org>
9125
9126 * window.el (display-buffer-reuse-frames): Make the obsolescence
9127 message more informative.
9128
9129 2012-08-30 Glenn Morris <rgm@gnu.org>
9130
9131 * paren.el (show-paren-delay):
9132 Add a :set function. Doc fix. (Bug#12297)
9133
9134 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9135
9136 * progmodes/compile.el (compilation-always-kill): New var.
9137 (compilation-start): Use it.
9138
9139 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9142 * files.el (read-only-mode): Move to simple.el.
9143
9144 * files.el (read-only-mode): New minor mode.
9145 (toggle-read-only): Use it and mark obsolete.
9146 (find-file--read-only):
9147 * vc/vc.el (vc-next-action, vc-checkout):
9148 * vc/vc-cvs.el (vc-cvs-checkout):
9149 * obsolete/vc-mcvs.el (vc-mcvs-update):
9150 * ffap.el (ffap--toggle-read-only): Update callers.
9151
9152 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9153
9154 * eshell/esh-ext.el (eshell-external-command): Do not examine
9155 remote shell scripts.
9156 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9157
9158 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9159 "/usr/local/sbin".
9160
9161 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9164
9165 2012-08-28 Leo Liu <sdl.web@gmail.com>
9166
9167 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9168 completion-at-point. (Bug#12220)
9169
9170 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9171
9172 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9173
9174 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9177 be buffer-local; add delete-trailing-whitespace (bug#12259).
9178
9179 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9180
9181 * progmodes/hideif.el (hif-compress-define-list):
9182 Fix typo. (Bug#11951)
9183
9184 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9185
9186 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9187 buffer local setting.
9188
9189 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9190 rcirc-encode-coding-system.
9191
9192 2012-08-28 Leo Liu <sdl.web@gmail.com>
9193
9194 * net/rcirc.el (rcirc-split-message): New function.
9195 (rcirc-send-message): Use it. (Bug#12051)
9196
9197 2012-08-28 Juri Linkov <juri@jurta.org>
9198
9199 * info.el (Info-fontify-node): Hide empty lines at the end of
9200 the node. (Bug#12272)
9201
9202 2012-08-27 Drew Adams <drew.adams@oracle.com>
9203
9204 * dired.el (dired-pop-to-buffer): Make window start at beginning
9205 of buffer (Bug#12281).
9206
9207 2012-08-26 Chong Yidong <cyd@gnu.org>
9208
9209 * window.el (special-display-regexps, special-display-frame-alist)
9210 (special-display-buffer-names, special-display-function)
9211 (display-buffer-reuse-frames): Mark as obsolete.
9212
9213 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9214
9215 * help.el (help-print-return-message): Don't treat
9216 display-buffer-reuse-frames specially.
9217
9218 2012-08-26 Chong Yidong <cyd@gnu.org>
9219
9220 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9221 New variable, replacing gdb-frame-parameters.
9222 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9223 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9224 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9225 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9226 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9227 the functions directly with gdb-display-buffer-other-frame-action.
9228 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9229 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9230 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9231 (gdb-display-registers-buffer): Define directly.
9232 (def-gdb-display-buffer): Macro deleted.
9233 (gdb-display-buffer): Remove second and third args, callers don't
9234 use them. Defer to the default display-buffer behavior, apart
9235 from making windows dedicated.
9236 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9237
9238 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9239
9240 * window.el (display-buffer-pop-up-frame): Handle a
9241 pop-up-frame-parameters alist entry.
9242 (display-buffer): Document it.
9243
9244 2012-08-26 Chong Yidong <cyd@gnu.org>
9245
9246 * isearch.el (search-whitespace-regexp): Make string and nil
9247 values apply to both ordinary and regexp search. Allow a cons
9248 cell value to distinguish between the two.
9249 (isearch-whitespace-regexp, isearch-search-forward)
9250 (isearch-search-backward): New functions.
9251 (isearch-occur, isearch-search-fun-default, isearch-search)
9252 (isearch-lazy-highlight-new-loop): Use them.
9253 (isearch-forward, isearch-forward-regexp): Doc fix.
9254
9255 2012-08-26 Chong Yidong <cyd@gnu.org>
9256
9257 * faces.el (help-argument-name): Always inherit from italic
9258 (Bug#12213).
9259
9260 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9261
9262 * window.el (window--even-window-heights): Even heights when
9263 WINDOW and the selected window form a vertical combination.
9264 (display-buffer-use-some-window): Provide that window used gets
9265 sized back by quit-window. (Bug#11880) and (Bug#12091)
9266
9267 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9268
9269 Fix file time stamp problem with bzr and CVS (Bug#12001).
9270 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9271 in the file's time stamp, since the version control system loses
9272 that information.
9273
9274 2012-08-22 Juri Linkov <juri@jurta.org>
9275
9276 * info.el (Info-fontify-node): Hide the suffix of the
9277 Info file name in the header line. (Bug#12187)
9278
9279 2012-08-22 Glenn Morris <rgm@gnu.org>
9280
9281 * calendar/cal-tex.el (cal-tex-weekly-common):
9282 Restore leading blank page.
9283
9284 2012-08-22 Le Wang <l26wang@gmail.com>
9285
9286 * misc.el (forward-to-word, backward-to-word): Activate or extend
9287 the region under `shift-select-mode'. (Bug#12231)
9288
9289 2012-08-22 Bastien Guerry <bzg@gnu.org>
9290
9291 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9292 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9293 gives details on why the space is never needed.
9294
9295 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9296
9297 * window.el (walk-window-tree, window-with-parameter):
9298 New optional argument MINIBUF to control whether these functions
9299 should run on the minibuffer window.
9300 (window-at-side-list): Don't operate on minibuffer window.
9301 (window-in-direction): Simplify and rewrite doc-string.
9302 (window--size-ignore): Rename to window--size-ignore-p.
9303 Update callers.
9304 (display-buffer-in-atom-window, window--major-non-side-window)
9305 (window--major-side-window, display-buffer-in-major-side-window)
9306 (delete-side-window, display-buffer-in-side-window):
9307 New functions.
9308 (window--side-check, window-deletable-p, delete-window)
9309 (delete-other-windows, split-window): Handle side windows and
9310 atomic windows appropriately.
9311 (window--display-buffer): Call display-buffer-record-window also
9312 when the window buffer did not change.
9313
9314 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9315
9316 * help-fns.el (help-fns--key-bindings):
9317 Abbreviate non-symbol remap targets. (Bug#12174)
9318
9319 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9320
9321 * dired.el (dired-mark-remembered): Don't clobber point.
9322 (Bug#11795)
9323
9324 2012-08-22 Glenn Morris <rgm@gnu.org>
9325
9326 * progmodes/bug-reference.el (bug-reference): New custom group.
9327 (bug-reference-bug-regexp): Make it a defcustom.
9328
9329 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9330
9331 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9332 (js-paren-indent-offset, js-square-indent-offset)
9333 (js-curly-indent-offset): Add :safe (Bug#12257).
9334
9335 2012-08-22 Edward O'Connor <hober0@gmail.com>
9336
9337 * json.el (json-key-format): Add error properties.
9338 (json-encode-key): New function.
9339 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9340 Use json-encode-key.
9341
9342 2012-08-22 Glenn Morris <rgm@gnu.org>
9343
9344 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9345 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9346 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9347 Update for above change.
9348
9349 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9350
9351 * cus-face.el (custom-face-attributes): Fix customize type for the
9352 :underline attribute. (Bug#11805)
9353
9354 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9355
9356 * window.el (window-point-1, set-window-point-1): Remove.
9357 (window-in-direction, record-window-buffer)
9358 (set-window-buffer-start-and-point, split-window-below)
9359 (window--state-get-1, display-buffer-record-window):
9360 Replace calls to window-point-1 and set-window-point-1 by calls to
9361 window-point and set-window-point respectively.
9362
9363 2012-08-21 Glenn Morris <rgm@gnu.org>
9364
9365 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9366 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9367 Use it.
9368
9369 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9370 (cal-tex-shortday): New function.
9371 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9372 (cal-tex-cursor-filofax-daily): Use the above.
9373
9374 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9375 New functions.
9376 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9377 (cal-tex-cursor-filofax-week): Use them.
9378
9379 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9380 New constants.
9381 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9382 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9383
9384 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9385 (cal-tex-end-document): Don't rely on buffer name.
9386
9387 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9388 Use cal-tex-vspace.
9389 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9390 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9391 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9392 Use cal-tex-arg.
9393
9394 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9395 (cal-tex-cursor-week, cal-tex-cursor-week2)
9396 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9397 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9398 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9399 (cal-tex-insert-preamble, cal-tex-b-document)
9400 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9401 Improve cal-tex-cmd usage.
9402
9403 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9404 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9405 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9406 (cal-tex-weekly-paper): New function.
9407 (cal-tex-cursor-week, cal-tex-cursor-week2)
9408 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9409 (cal-tex-cursor-day): Use it.
9410
9411 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9412 (cal-tex-cursor-filofax-week): Remove leading blank page.
9413
9414 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9415 Add autoload cookie. For now at least, don't use color, since
9416 no other cal-tex function does.
9417
9418 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9419 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9420 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9421
9422 2012-08-21 Juri Linkov <juri@jurta.org>
9423
9424 * info.el (Info-file-attributes): New variable.
9425 (info-insert-file-contents): Add file attributes to
9426 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9427 `Info-toc-nodes' when previous modtime of the Info file is less
9428 than new modtime.
9429 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9430 of info.el. (Bug#12230)
9431
9432 2012-08-20 Glenn Morris <rgm@gnu.org>
9433
9434 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9435 * calendar/holidays.el (calendar-holiday-list):
9436 Report errors with display-warning rather than beep'n'sleep.
9437
9438 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9439
9440 * net/tramp.el (tramp-accept-process-output): Accept only output
9441 from PROC. Otherwise, process filters and sentinels might be
9442 confused. (Bug#12145)
9443
9444 2012-08-20 Chong Yidong <cyd@gnu.org>
9445
9446 * descr-text.el (describe-text-properties-1): Use overlays-in to
9447 report on empty overlays (Bug#3322).
9448
9449 2012-08-20 Glenn Morris <rgm@gnu.org>
9450
9451 * mail/rmailout.el (rmail-output-read-file-name):
9452 Trap and report errors in rmail-output-file-alist elements.
9453
9454 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9455 since most non-font-lock faces are not also variables).
9456
9457 2012-08-20 Edward Reingold <reingold@iit.edu>
9458
9459 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9460 New function. (Bug12160)
9461
9462 2012-08-19 Glenn Morris <rgm@gnu.org>
9463
9464 * mail/rmailout.el (rmail-output-read-file-name):
9465 Fix previous change (when the alist is nil or does not match).
9466
9467 2012-08-19 Chong Yidong <cyd@gnu.org>
9468
9469 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9470 (Bug#12228).
9471
9472 2012-08-18 Chong Yidong <cyd@gnu.org>
9473
9474 * simple.el (yank-handled-properties): New defcustom.
9475 (yank-excluded-properties): Add font-lock-face and category.
9476 (yank): Doc fix.
9477
9478 * subr.el (remove-yank-excluded-properties):
9479 Obey yank-handled-properties. The special handling of font-lock-face
9480 and category is now done this way, instead of being hard-coded.
9481 (insert-for-yank-1): Remove font-lock-face handling.
9482 (yank-handle-font-lock-face-property)
9483 (yank-handle-category-property): New function.
9484
9485 2012-08-17 Glenn Morris <rgm@gnu.org>
9486
9487 * mail/rmailout.el (rmail-output-read-file-name):
9488 Check rmail-output-file-alist against the full message body
9489 in the correct rmail buffer. (Bug#12214)
9490
9491 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9492
9493 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9494 Eliminate superfluous prompt. (Bug#12203)
9495
9496 2012-08-17 Chong Yidong <cyd@gnu.org>
9497
9498 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9499 font spec, set the font directly (Bug#3228).
9500
9501 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9502
9503 * window.el (delete-window): Fix last fix.
9504
9505 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9506
9507 * window.el (window-valid-p): Move to window.c.
9508 (window-child, window-child-count, window-last-child)
9509 (window-normalize-window, window-combined-p)
9510 (window-combinations, window-atom-root, window-min-size)
9511 (window-sizable, window-sizable-p, window-size-fixed-p)
9512 (window-min-delta, window-max-delta, window--resizable)
9513 (window--resizable-p, window-resizable, window-total-size)
9514 (window-full-height-p, window-full-width-p, window-body-size)
9515 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9516 (minimize-window, window-deletable-p, delete-window)
9517 (delete-other-windows, set-window-buffer-start-and-point)
9518 (next-buffer, previous-buffer, split-window, balance-windows-2)
9519 (set-window-text-height, window-buffer-height)
9520 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9521 (truncated-partial-width-window-p): Minor code adjustments.
9522 In doc-strings state whether the argument window has to denote a
9523 live, valid or any window.
9524
9525 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9526
9527 * progmodes/subword.el (subword-forward-function)
9528 (subword-backward-function, subword-forward-regexp)
9529 (subword-backward-regexp): New variables.
9530 (subword-forward, subword-forward-internal, subword-backward-internal):
9531 Use new variables, eg so that different "word" definitions
9532 can be easily used. (Bug#11411)
9533
9534 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9537 for composite selectors.
9538 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9539 operation just because we can't find a previous revision.
9540
9541 2012-08-15 Chong Yidong <cyd@gnu.org>
9542
9543 * frame.el (set-frame-font): Accept font objects.
9544
9545 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9548
9549 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9550
9551 * man.el (Man-overstrike-face, Man-underline-face)
9552 (Man-reverse-face): Remove variables.
9553 (Man-overstrike, Man-underline, Man-reverse): New faces.
9554 (Man-fontify-manpage): Use them instead of the variables.
9555 (Man-cleanup-manpage): Comment change.
9556 (Man-ansi-color-map): New variable.
9557 (Man-fontify-manpage): Use it.
9558 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9559
9560 Implement ANSI SGR parameters 22-27 (bug#12146).
9561 * ansi-color.el (ansi-colors): Doc fix.
9562 (ansi-color-context, ansi-color-context-region): Doc fix.
9563 (ansi-color--find-face): New function.
9564 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9565 Rename the local variable `face' to `codes' since it is now a list of
9566 ansi codes. Doc fix.
9567 (ansi-color-get-face): Remove.
9568 (ansi-color-parse-sequence): New function, derived from
9569 ansi-color-get-face.
9570 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9571 codes 22-27.
9572
9573 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9574
9575 * subr.el (read-passwd): Allow use from a minibuffer.
9576
9577 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9578
9579 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9580 inside comments and strings as identifiers.
9581
9582 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9583 expression to evaluate. This allows to evaluate expressions with
9584 embedded whitespace.
9585 (gud-tooltip-tips): Add a blank before the newline in the
9586 message-box text, for the benefit of message-box emulation on
9587 MS-Windows.
9588
9589 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9590 messages from GDB, pop them up in a tooltip to give feedback to
9591 user.
9592 (gdb-tooltip-print-1): Quote the expression to evaluate.
9593 This allows to evaluate expressions with embedded whitespace.
9594 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9595 if the TTY name is nil or empty (which happens when communicating
9596 with the inferior via pipes, e.g. on MS-Windows).
9597 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9598 don't send that to the GUD buffer.
9599
9600 2012-08-14 Glenn Morris <rgm@gnu.org>
9601
9602 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9603 Optimize away setq-default with no args, as for setq. (Bug#12195)
9604
9605 2012-08-14 Chong Yidong <cyd@gnu.org>
9606
9607 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9608
9609 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9610 (Bug#12085).
9611
9612 2012-08-14 Glenn Morris <rgm@gnu.org>
9613
9614 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9615
9616 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9617
9618 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9619 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9620 Use cached shell name.
9621
9622 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9623
9624 * progmodes/python.el (python-shell-send-string):
9625 (python-shell-send-setup-code): Do not use `format' with `message'.
9626
9627 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9628
9629 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9630 (ruby-percent-literal-beg-re): New constant.
9631 (ruby-syntax-general-delimiters-goto-beg): Rename to
9632 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9633 (ruby-syntax-propertize-general-delimiters): Rename to
9634 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9635 popular term. Adjust comments everywhere.
9636 (ruby-syntax-propertize-percent-literal): Only propertize when not
9637 inside a simple string or comment. When the literal is unclosed,
9638 leave the text after it unpropertized.
9639 (ruby-syntax-methods-before-regexp): New constant.
9640 (ruby-syntax-propertize-function): Use it to recognize regexps.
9641 Don't look at the text after regexp, just use the whitelist.
9642
9643 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9644
9645 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9646 non-nil always load the compiled file if it exists. (Bug#12197)
9647
9648 2012-08-14 Chong Yidong <cyd@gnu.org>
9649
9650 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9651 (hi-lock-set-pattern): When deciding whether to use font lock or
9652 overlays, look at font-lock-mode instead of font-lock-fontified
9653 (Bug#12168).
9654 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9655 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9656
9657 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9658
9659 * subr.el (internal--after-with-selected-window): Fix typo
9660 (Bug#12193).
9661
9662 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9663
9664 Use `completion-table-dynamic' for completion functions.
9665 * progmodes/python.el
9666 (python-shell-completion--do-completion-at-point)
9667 (python-shell-completion--get-completions):
9668 Remove functions.
9669 (python-shell-completion-complete-at-point): New function.
9670 (python-completion-complete-at-point): Use it.
9671
9672 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9673
9674 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9675 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9676
9677 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * subr.el (function-get): Refine `autoload' arg so it can also
9680 autoload functions for gv.el (bug#12191).
9681 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9682 autoloads macros.
9683
9684 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9685 Prefer pcase-let over destructuring-bind.
9686 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9687 Also, remove whitespace as we go, rather than after accumulating the
9688 various places.
9689
9690 * subr.el (internal--before-with-selected-window)
9691 (internal--after-with-selected-window): Fix typo seleted->selected.
9692 (with-selected-window): Adjust callers.
9693 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9694
9695 2012-08-13 Bastien Guerry <bzg@gnu.org>
9696
9697 * window.el (special-display-popup-frame): Minor docstring
9698 enhancement. (Bug#12172)
9699
9700 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9701
9702 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9703 type 1-6.
9704 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9705 extended headers.
9706
9707 * files.el (hack-local-variables-filter): Remove useless eval.
9708
9709 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9710
9711 * subr.el (with-selected-window): Fix last change.
9712
9713 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * subr.el (internal--before-with-seleted-window)
9716 (internal--after-with-seleted-window): New functions.
9717 (with-selected-window): Use them, to replace dependency on
9718 tty-top-frame.
9719
9720 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9721
9722 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9723 binding for `newline'.
9724 (ruby-move-to-block): When moving backward, stop at block opening,
9725 not indentation.
9726 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9727 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9728 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9729 `ruby-toggle-block'.
9730
9731 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * ibuffer.el (ibuffer-do-toggle-read-only):
9734 * dired.el (dired-toggle-read-only):
9735 * buff-menu.el (Buffer-menu-toggle-read-only):
9736 * bindings.el (mode-line-toggle-read-only):
9737 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9738
9739 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9740
9741 * descr-text.el (describe-char): Put the overlays over the
9742 "displayed as" character.
9743
9744 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9745
9746 * calc/calc-units.el (math-default-units-table): Give an
9747 initial value.
9748 (math-put-default-units): Add options to put composite units and
9749 unit systems in the default units table.
9750 (calc-convert-units): Send composite units to
9751 `math-put-default-units' when appropriate.
9752
9753 2012-08-11 Glenn Morris <rgm@gnu.org>
9754
9755 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9756
9757 * tutorial.el (help-with-tutorial):
9758 * emacs-lisp/copyright.el (copyright-update-directory):
9759 * emacs-lisp/autoload.el (autoload-find-generated-file)
9760 (autoload-find-file): Disable local eval: (for insurance).
9761
9762 * files.el (hack-local-variables-filter): If an eval: form is not
9763 known to be safe, and enable-local-variables is :safe, then ignore
9764 the form totally, as is done for non-eval forms. (Bug#12155)
9765 This is CVE-2012-3479.
9766
9767 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9770 (rx-form): Simplify.
9771
9772 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9773
9774 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9775 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9776 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9777 (ruby-syntax-propertize-function): Adjust for changes in
9778 `ruby-syntax-propertize-heredoc'.
9779
9780 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9781
9782 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9783 binding (use `M-;' instead).
9784 (ruby-singleton-class-p): New function.
9785 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9786
9787 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9788
9789 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9790
9791 2012-08-10 Chong Yidong <cyd@gnu.org>
9792
9793 * progmodes/python.el (python-shell-get-process-name): Don't mess
9794 with same-window-buffer-names.
9795
9796 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9797 (eshell-remove-from-window-buffer-names): Make obsolete.
9798 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9799 (eshell): Just use pop-to-buffer-same-window instead.
9800
9801 2012-08-10 Chong Yidong <cyd@gnu.org>
9802
9803 * bindings.el: Bind M-= back to count-words-region.
9804
9805 * simple.el (count-words-region): Accept a prefix arg for acting
9806 on the entire buffer.
9807 (count-words--buffer-message): New helper function.
9808
9809 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9812 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9813 (event-start, event-end): Use posn-at-point to return a more
9814 informative posn.
9815 (posnp): New function.
9816 * mouse.el (popup-menu-normalize-position): Use it.
9817
9818 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9819
9820 * mouse.el (popup-menu-normalize-position): New function.
9821 (popup-menu): Use `popup-menu-normalize-position' to normalize
9822 the form for POSITION argument.
9823
9824 * term/x-win.el (x-menu-bar-open):
9825 Use the value returend from (posn-at-point) as position
9826 passed to `popup-menu'.
9827
9828 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9829
9830 * calc/calccomp.el (math-compose-expr): Add extra argument
9831 indicating that parentheses should be put around products in
9832 denominators. Give multiplication precedence over division during
9833 composition.
9834
9835 2012-08-09 Chong Yidong <cyd@gnu.org>
9836
9837 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9838 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9839 (Man-untabify-command, manual-program): Convert to defcustom
9840 (Bug#10429).
9841
9842 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9843
9844 * descr-text.el (describe-char): Don't insert extra newlines
9845 (Bug#10127).
9846
9847 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9848 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9849
9850 * align.el (align-region): Delete temporary markers (Bug#10047).
9851 Plus some code cleanups.
9852
9853 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9854
9855 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9856 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9857 (python-shell-internal-last-output): Use make-local-variable
9858 instead of make-variable-buffer-local.
9859
9860 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9861
9862 * progmodes/python.el: Enhancements to forward-sexp.
9863 (python-nav-forward-sexp): Rename from
9864 python-nav-forward-sexp-function.
9865 (python-nav--forward-sexp, python-nav--backward-sexp):
9866 New functions.
9867
9868 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9869
9870 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9871 modes and simplification modes.
9872
9873 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * delsel.el (delete-selection-pre-hook): Don't propagate the
9876 file-supersession signals (bug#12161).
9877
9878 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9881 (cl-map-extents): Add compatibility aliases (bug#12135).
9882
9883 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9886 tests by `ignore-error'.
9887 (tramp-find-shell): Open also a new shell, when cache is already
9888 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9889
9890 2012-08-08 Juri Linkov <juri@jurta.org>
9891
9892 * bookmark.el: Add `defaults' property to the bookmark record.
9893 (bookmark-current-buffer): Doc fix.
9894 (bookmark-make-record): Add `defaults' property with default values
9895 to the bookmark record.
9896 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9897 with `bookmark-insert-current-bookmark'.
9898 (bookmark-set): Get `defaults' property from the bookmark record
9899 and use it in `read-from-minibuffer'.
9900 (bookmark-insert-current-bookmark): Remove function.
9901
9902 * info.el (Info-bookmark-make-record): Add `defaults' property
9903 with values of canonical Info node name, the current Info file
9904 name and the current Info node name. (Bug#12107)
9905
9906 2012-08-08 Juri Linkov <juri@jurta.org>
9907
9908 * files.el (basic-save-buffer): Use `buffer-name' as the default
9909 of `read-file-name' when buffer is not visiting a file (bug#12128).
9910
9911 2012-08-08 Juri Linkov <juri@jurta.org>
9912
9913 * info.el (Info-isearch-search): Doc fix.
9914 (Info-search): Change search-failed message from "initial node" to
9915 "end of node" (bug#12078).
9916 (Info-isearch-search): Change `isearch-string-state' to
9917 `isearch--state-string'.
9918
9919 2012-08-08 Glenn Morris <rgm@gnu.org>
9920
9921 * language/persian.el: Remove file.
9922 * language/misc-lang.el: Move unique part of persian.el here.
9923 * loadup.el: Remove language/persian.
9924
9925 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9926
9927 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9928
9929 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9930
9931 * progmodes/python.el: Fix defsubst warning.
9932 (python-syntax-context) Rename from python-info-ppss-context.
9933 (python-syntax-context-type): Rename from
9934 python-info-ppss-context-type.
9935 (python-syntax-comment-or-string-p): Rename from
9936 python-info-ppss-comment-or-string-p.
9937
9938 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9939
9940 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9941
9942 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9943
9944 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9945 a defcustom that is quoted with backquote.
9946
9947 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9948 Fix handling of interactive spec when the body uses return.
9949 (math-do-arg-check, math-define-function-body): Use backquote forms.
9950 * calc/calc-ext.el (math-defcache): Likewise.
9951 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9952 * allout.el (allout-new-exposure): Likewise.
9953 * calc/calcalg2.el (math-tracing-integral): Likewise.
9954 * info.el (Info-last-menu-item): Likewise.
9955 * emulation/vip.el (vip-loop): Likewise.
9956 * textmodes/artist.el (artist-funcall): Likewise.
9957 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9958 Construct menu-item directly.
9959
9960 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9961 Don't declare.
9962
9963 2012-08-07 Chong Yidong <cyd@gnu.org>
9964
9965 * simple.el (deactivate-mark): Preserve text properties when
9966 saving the primary selection (Bug#8384).
9967
9968 2012-08-07 Kevin Ryde <user42@zip.com.au>
9969
9970 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9971 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9972 and continue processing (Bug#12110).
9973
9974 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9977 syntax-propertize-function (bug#10095).
9978
9979 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9982 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9983 describe-function-1.
9984 (describe-function-1): Use them. Move compiler macro after sig.
9985 (help-fns--compiler-macro): Use function-get. Assume we're already in
9986 standard-output. Adjust layout to new call order.
9987
9988 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9989 re-binding a symbol that has a symbol-macro (bug#12119).
9990
9991 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9992
9993 * language/persian.el: New file. (Bug#11812)
9994 * loadup.el: Add language/persian.el.
9995
9996 2012-08-06 Chong Yidong <cyd@gnu.org>
9997
9998 * window.el (window--maybe-raise-frame): New function.
9999 (window--display-buffer): Split off from here.
10000 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10001 (display-buffer-pop-up-window, display-buffer-use-some-window):
10002 Obey an inhibit-switch-frame action alist entry.
10003 (display-buffer): Update doc.
10004
10005 * replace.el (occur-after-change-function): Avoid losing focus by
10006 using the inhibit-switch-frame display parameter (Bug#12139).
10007
10008 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10009
10010 Make internal shell process buffer names start with space.
10011 * progmodes/python.el (python-shell-make-comint): Add optional
10012 argument INTERNAL.
10013 (run-python-internal): Use it.
10014 (python-shell-internal-get-or-create-process): Check for new
10015 internal buffer names.
10016
10017 2012-08-06 Glenn Morris <rgm@gnu.org>
10018
10019 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10020 Do less getting and setting of environment variables.
10021
10022 2012-08-05 Chong Yidong <cyd@gnu.org>
10023
10024 * proced.el (proced): Add substitution string to docstring to
10025 trigger autoloading of the proced library on C-h f (Bug#1768).
10026
10027 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10028 Don't show defvars which have no second argument (Bug#8638).
10029
10030 * imenu.el (imenu-generic-expression): Move documentation here
10031 from imenu--generic-function.
10032 (imenu--generic-function): Refer to imenu-generic-expression.
10033
10034 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10035
10036 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10037 indentation declaration.
10038 (viper-loop): Add indentation declaration (Bug#7025).
10039
10040 2012-08-05 Chong Yidong <cyd@gnu.org>
10041
10042 * help-fns.el (describe-variable): Add hyperlink for
10043 directory-local variables files. Improve buffer-local and
10044 permanent-local reporting; suggested by MON KEY (Bug#6644).
10045
10046 * help-mode.el (help-dir-local-var-def): New button type.
10047
10048 * files.el (kill-buffer-hook): Provide a defvar.
10049
10050 2012-08-05 Glenn Morris <rgm@gnu.org>
10051
10052 * eshell/esh-ext.el (eshell/addpath):
10053 Also update eshell-path-env. (Bug#12013)
10054
10055 2012-08-05 Chong Yidong <cyd@gnu.org>
10056
10057 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10058
10059 * fringe.el (fringe-styles): Add docstring.
10060 (fringe--check-mode): New function.
10061 (set-fringe-mode, set-fringe-style): Use it.
10062 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10063
10064 * files.el (set-auto-mode): Fix invalid setq call.
10065
10066 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * isearch.el: Misc simplification; use defstruct.
10069 (isearch-mode-map): Dense maps now work like sparse ones.
10070 (isearch--state): New defstruct.
10071 (isearch-string-state, isearch-message-state, isearch-point-state)
10072 (isearch-success-state, isearch-forward-state)
10073 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10074 (isearch-wrapped-state, isearch-barrier-state)
10075 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10076 replaced by defstruct's accessors.
10077 (isearch--set-state): Rename from isearch-top-state and change
10078 calling convention.
10079 (isearch-push-state): Use new isearch--get-state.
10080 (isearch-toggle-word): Disable regexp when enabling word.
10081 (isearch-message-prefix): Remove unused arg _c-q-hack.
10082 (isearch-message-suffix): Remove unused arg _ellipsis.
10083
10084 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10085
10086 * simple.el (list-processes--refresh): For a server use :host or
10087 :local as the address.
10088 (list-processes): Doc fix.
10089
10090 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10091
10092 * lisp/mpc.el: Support password in host argument.
10093 (mpc--proc-connect): Parse and use new password element.
10094 Set mpc-proc variable instead of returning process.
10095 (mpc-proc): Adjust accordingly.
10096
10097 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10098
10099 * whitespace.el (whitespace-display-mappings): Use Unicode
10100 codepoints, instead of emacs-mule codepoints. See
10101 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10102 for the details.
10103
10104 * files.el (file-truename): Don't skip symlink-chasing part on
10105 windows-nt. Incorporate the resolution of 8+3 short aliases on
10106 Windows into the loop that recursively chases symlinks.
10107 Compare directory and its parent case-insensitively on MS-Windows and
10108 MS-DOS.
10109
10110 2012-08-03 Chong Yidong <cyd@gnu.org>
10111
10112 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10113
10114 * sort.el (sort-regexp-fields): Doc fix.
10115
10116 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10117
10118 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10119 labels regex position point at the expected place.
10120
10121 2012-08-03 MON KEY <monkey@sandpframing.com>
10122
10123 * net/imap.el (imap-interactive-login, imap-authenticate)
10124 (imap-mailbox-lsub, imap-mailbox-list)
10125 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10126 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10127 (imap-parse-response): Doc fix.
10128
10129 2012-08-03 João Távora <joaotavora@gmail.com>
10130
10131 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10132 if sexp scanning does not move point (Bug#5734).
10133
10134 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10135
10136 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10137 Add listings, minted, and ctable packages.
10138 (reftex-label-alist-builtin): Move listings, minted, and ctable
10139 entries before LaTeX.
10140 (reftex-label-alist): Docfix.
10141
10142 2012-08-02 Bastien Guerry <bzg@gnu.org>
10143
10144 * replace.el (occur): Fix docstring (bug#12122).
10145
10146 2012-08-02 Glenn Morris <rgm@gnu.org>
10147
10148 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10149
10150 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10151
10152 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10153 * international/mule-cmds.el: Create
10154 inactivate-current-input-method-function as an obsolete alias for
10155 deactivate-current-input-method-function. See Katsumi Yamaoka in
10156 <http://bugs.gnu.org/10150#46>.
10157
10158 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10159
10160 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10161 of nested `if's.
10162
10163 2012-08-01 Glenn Morris <rgm@gnu.org>
10164
10165 * progmodes/autoconf.el (autoconf-definition-regexp):
10166 Add AH_TEMPLATE, adjust submatch numbering.
10167 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10168 (autoconf-current-defun-function): Update for above change.
10169 (autoconf-current-defun-function): First skip to end of current word.
10170
10171 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10172
10173 * calendar/cal-html.el (cal-html-insert-agenda-days):
10174 Fix typo. (Bug#12018)
10175
10176 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10177
10178 Shell processes: enhancements to startup and CEDET compatibility.
10179 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10180 (python-shell-make-comint): accept-process-output at startup.
10181 (run-python-internal): Set inferior-python-mode-hook to nil.
10182 (python-shell-internal-get-or-create-process): call sit-for.
10183 (python-preoutput-result): Add obsolete alias.
10184 (python-shell-internal-send-string): Use it.
10185 (python-shell-send-setup-code): Remove call to
10186 accept-process-output.
10187
10188 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10189
10190 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10191 (Bug#12108)
10192
10193 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10194
10195 * calc-mode.el (calc-basic-simplification-mode): Rename from
10196 `calc-limited-simplification-mode'.
10197 (calc-alg-simplification-mode): New function.
10198 (calc-set-simplify-mode): Adjust message.
10199
10200 * calc.el (calc-set-mode-line): Adjust mode line display for
10201 basic simplification mode.
10202
10203 * calc-help.el (calc-m-prefix-help): Update help message.
10204
10205 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10206 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10207
10208 2012-07-31 Bastien Guerry <bzg@gnu.org>
10209
10210 * man.el (man): Fix comment. (bug#12101)
10211
10212 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10213
10214 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10215 Don't return a non-nil value when no suitable buffer was found.
10216
10217 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10218
10219 * progmodes/python.el (run-python-internal): Disable font lock for
10220 internal shells.
10221
10222 2012-07-30 Stefan Merten <smerten@oekonux.de>
10223
10224 * textmodes/rst.el: Silence `checkdoc-ispell'.
10225 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10226 (rst-official-version, rst-official-cvs-rev)
10227 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10228 (rst-mode-map): New key binding.
10229
10230 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10231
10232 Update .PHONY listings in makefiles.
10233 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10234 autoloads, update-subdirs, updates, bzr-update, update-authors,
10235 compile-onefile, compile-calc, backup-compiled-files,
10236 compile-after-backup, compile-one-process, mh-autoloads,
10237 bootstrap-clean, distclean, maintainer-clean.
10238
10239 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10240
10241 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10242 (calc-set-mode-line): Don't display "AlgSimp ".
10243
10244 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10245 (calc-lim-simplify-mode): New function.
10246 (calc-set-simplify-mode): Default to 'alg.
10247 (calc-default-simplify-mode): Make algebraic simplifications
10248 the default.
10249
10250 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10251 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10252
10253 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10254 indicate new simplification modes.
10255
10256 * calc/README: Mention new default simplification mode.
10257
10258 * calc/calc.el (math-normalize-error): New variable.
10259 (math-normalize): Set `math-normalize-error' to t
10260 when there's an error.
10261
10262 * calc/calc-alg.el (math-simplify): Don't simplify when
10263 `math-normalize' returns an error.
10264
10265 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10266
10267 * international/mule-cmds.el (set-locale-environment): Revert last
10268 change, since display-graphic-p returns nil when this function is
10269 called during startup. Instead...
10270
10271 * term/w32console.el (terminal-init-w32console): ...setup the
10272 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10273
10274 2012-07-29 Juri Linkov <juri@jurta.org>
10275
10276 * simple.el (goto-line): Don't display default line number in the
10277 prompt because it should be displayed by `read-number' (bug#9952).
10278 Add the current line number to the defaults of `goto-line' to
10279 allow its easier modification by users with `M-n' (bug#9201).
10280
10281 * subr.el (read-number): Support multiple default values like in
10282 other minibuffer reading functions. Replace `read' with
10283 `string-to-number' for consistency with `number-to-string'.
10284
10285 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10286
10287 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10288 * emulation/viper-init.el (viper-deactivate-input-method-action):
10289 Rename from viper-inactivate-input-method-action.
10290 (viper-deactivate-input-method):
10291 Rename from viper-inactivate-input-method.
10292 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10293 * international/mule-cmds.el (deactivate-input-method):
10294 Rename from inactivate-input-method.
10295 Also run input-method-deactivate-hook.
10296 (deactivate-current-input-method-function):
10297 Rename from inactivate-current-input-method-function.
10298 (input-method-deactivate-hook): New hook.
10299 (input-method-inactivate-hook): Mark obsolete.
10300 (inactivate-input-method): Mark obsolete.
10301
10302 * international/quail.el (quail-activate):
10303 Also run quail-deactivate-hook.
10304 (quail-deactivate): Rename from quail-inactivate.
10305 * international/robin.el (robin-activate):
10306 Also run robin-deactivate-hook.
10307 (robin-deactivate): Rename from robin-inactivate.
10308
10309 2012-07-29 Chong Yidong <cyd@gnu.org>
10310
10311 * simple.el (indicate-copied-region): New function.
10312 (kill-ring-save): Split off from here.
10313
10314 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10315 (kill-rectangle): Set deactivate-mark to t on read-only error.
10316
10317 * register.el (copy-to-register, copy-rectangle-to-register):
10318 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10319 (append-to-register, prepend-to-register): Call indicate-copied-region.
10320
10321 2012-07-29 Juri Linkov <juri@jurta.org>
10322
10323 * simple.el (async-shell-command-buffer): New defcustom.
10324 (shell-command): Use it. (Bug#4719)
10325
10326 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10327
10328 * international/mule-cmds.el (set-locale-environment): In a
10329 console session on MS-Windows, set up keyboard and terminal
10330 encoding from the OEM codepage, not the ANSI codepage.
10331 (Bug#12055)
10332
10333 2012-07-28 Chong Yidong <cyd@gnu.org>
10334
10335 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10336 gdb-get-location.
10337
10338 2012-07-28 Leo Liu <sdl.web@gmail.com>
10339
10340 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10341 the alist (bug#12029).
10342
10343 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10344
10345 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10346 (compile-always, compile-first)
10347 ($(lisp)/calendar/cal-loaddefs.el)
10348 ($(lisp)/calendar/diary-loaddefs.el)
10349 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10350 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10351 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10352 instead of on update-subdirs.
10353 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10354
10355 2012-07-28 Chong Yidong <cyd@gnu.org>
10356
10357 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10358 directory if vc-deduce-backend returns nil (Bug#7350).
10359
10360 * simple.el (delete-trailing-lines): New option.
10361 (delete-trailing-whitespace): Obey it (Bug#11879).
10362
10363 2012-07-28 David Engster <deng@randomsample.de>
10364
10365 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10366 Explanation of new 'symbol-qnames feature in doc-strings.
10367 (xml-maybe-do-ns): Return expanded names as plain symbols if
10368 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10369 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10370
10371 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10372
10373 Consistent completion in inferior python with emacs -nw.
10374 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10375 binding in inferior-python-mode-map with "\t".
10376 (python-shell-completion-complete-at-point)
10377 (python-completion-complete-at-point): Remove interactive spec.
10378
10379 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10380
10381 * calc/calccomp.el (math-compose-expr): Undo previous change.
10382
10383 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10384
10385 * progmodes/python.el (python-mode-map): Add keybinding for
10386 run-python.
10387 (python-shell-make-comint): Fix pop-to-buffer call.
10388 (run-python): Autoload. New arg SHOW.
10389 (python-shell-get-or-create-process): Do not pop python process
10390 buffer.
10391
10392 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10393
10394 * notifications.el (notifications-on-action-signal)
10395 (notifications-on-closed-signal): Use also the bus address for the map.
10396 (notifications-notify, notifications-close-notification)
10397 (notifications-get-capabilities): Add optional argument BUS.
10398
10399 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10400
10401 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10402 Add support for the lstlisting and minted environments, and for the
10403 ctable macro.
10404 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10405 labels written in keyvals syntax.
10406
10407 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10408
10409 * calc/calccomp.el (math-compose-expr): Use parentheses when
10410 there is a product in the denominator of a fraction.
10411
10412 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10413
10414 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10415 ($(lisp)/calendar/diary-loaddefs.el)
10416 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10417 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10418 Fixes failures in parallel bootstrap because subdirs.el is being
10419 rewritten while the autoload files are built at the same time,
10420 which needs to load subdirs.el.
10421
10422 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10423
10424 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10425 (mouse-drag-line): Don't exit tracking when a switch-frame or
10426 switch-window event occurs (Bug#12006).
10427
10428 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * mouse.el (popup-menu): Fix last change.
10431
10432 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 Autoload from Lisp with more care. Follow aliases when looking for
10435 function properties.
10436 * subr.el (autoloadp): New function.
10437 (symbol-file): Use it.
10438 (function-get): New function.
10439 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10440 autoload-do-load.
10441 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10442 (lisp-indent-function):
10443 * emacs-lisp/gv.el (gv-get):
10444 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10445 * emacs-lisp/byte-opt.el (byte-optimize-form):
10446 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10447 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10448 Use function-get.
10449 * emacs-lisp/cl.el: Don't propagate function properties any more.
10450
10451 * speedbar.el (speedbar-add-localized-speedbar-support):
10452 * emacs-lisp/disass.el (disassemble-internal):
10453 * desktop.el (desktop-load-file):
10454 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10455 (describe-function-1):
10456 * emacs-lisp/find-func.el (find-function-noselect):
10457 * emacs-lisp/elp.el (elp-instrument-function):
10458 * emacs-lisp/advice.el (ad-has-proper-definition):
10459 * apropos.el (apropos-safe-documentation, apropos-macrop):
10460 * emacs-lisp/debug.el (debug-on-entry):
10461 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10462 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10463 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10464
10465 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10466
10467 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10468 function, not an obsolete variable (Bug#12046).
10469
10470 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10471
10472 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10473
10474 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10475
10476 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10477 window only if it is still live (Bug#12034).
10478
10479 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10480
10481 * subr.el (redirect-frame-focus): Add advertised calling
10482 convention (Bug#12030).
10483
10484 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10485
10486 Prefer typical American spelling for "acknowledgment".
10487 * vc/add-log.el (change-log-acknowledgment): Rename from
10488 change-log-acknowledgement, with an alias for the old name.
10489
10490 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10491
10492 * calc-alg.el (math-simplify-divide): Don't cross multiply
10493 in an equation when the lhs is a variable.
10494
10495 2012-07-24 Julien Danjou <julien@danjou.info>
10496
10497 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10498 Remove, unused.
10499
10500 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10501
10502 * startup.el (command-line): Don't display an empty user name in
10503 the error message about non-existent home directory, when
10504 init-file-user was set to an empty string. See
10505 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10506 for the details and context.
10507
10508 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10509
10510 * ses.el (ses-cell-formula-aset): New macro.
10511 (ses-cell-references-aset): New macro.
10512 (ses-cell-p): New function.
10513 (ses-rename-cell): Do no longer rely on complex operations like
10514 ses-cell-set-formula or ses-set-cell to change the cell and handle
10515 the undo at the same time, but rather use lower level new macros
10516 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10517 the undo directly. Refresh the mode line.
10518
10519 2012-07-21 Leo Liu <sdl.web@gmail.com>
10520
10521 * progmodes/cc-cmds.el (c-defun-name):
10522 Use match-string-no-properties instead for consistency.
10523
10524 2012-07-20 Leo Liu <sdl.web@gmail.com>
10525
10526 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10527 (Bug#7879)
10528
10529 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10530
10531 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10532
10533 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10534 * progmodes/bug-reference.el, misearch.el: Provide themselves
10535 (bug#11915).
10536
10537 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10538 of narrowed buffer (bug#11966).
10539
10540 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10541
10542 * ses.el (ses-rename-cell): Set new name also in reference list of
10543 cells of which the renamed cell depends.
10544
10545 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10546
10547 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10548 to check whether menu-bar is shown or not. If not shown,
10549 show the menu-bar as a popup menu instead of using tmm.
10550 * mouse.el (popup-menu): Accept `point' as `position' argument.
10551
10552 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10553
10554 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10555 up inside string symbol literal (bug#11923).
10556
10557 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10558
10559 * startup.el (fancy-startup-text): Read the whole tutorial, not
10560 just its first 256 bytes. Prevents gibberish in display of the
10561 tutorial title.
10562
10563 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10564
10565 Drop idle buffer compaction due to an absence of the
10566 proved efficiency.
10567 * compact.el: Remove.
10568
10569 2012-07-19 Sam Steingold <sds@gnu.org>
10570
10571 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10572 vc-bzr-pull & vc-bzr-merge-branch.
10573 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10574 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10575 for consistency with compilation-error-regexp-alist.
10576 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10577 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10578 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10579 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10580
10581 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * emacs-lisp/chart.el: Use lexical-binding.
10584 (chart-emacs-storage): Don't hardcode the list of entries.
10585
10586 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10587
10588 Next round of tweaks caused by Fgarbage_collect changes.
10589 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10590
10591 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10592
10593 Compact buffers when idle.
10594 * compact.el: New file.
10595
10596 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * subr.el (eventp): Presume that if it looks vaguely like an event,
10599 it's an event (bug#10190).
10600
10601 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10602
10603 Enhancements to ppss related code (thanks Stefan).
10604 * progmodes/python.el (python-indent-context)
10605 (python-indent-calculate-indentation, python-indent-dedent-line)
10606 (python-indent-electric-colon, python-nav-forward-block)
10607 (python-mode-abbrev-table)
10608 (python-info-assignment-continuation-line-p): Simplify checks
10609 for ppss context.
10610 (python-info-continuation-line-p): Cleanup.
10611 (python-info-ppss-context): Do not catch 'quote.
10612 (python-info-ppss-context-type)
10613 (python-info-ppss-comment-or-string-p): Simplify.
10614
10615 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10616
10617 * progmodes/python.el: Enhancements to eldoc support.
10618 (python-info-current-symbol): New function.
10619 (python-eldoc-at-point): Use python-info-current-symbol.
10620 (python-info-current-defun): Fix cornercase on first defun scan.
10621 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10622 and signal error when no inferior python process is available.
10623
10624 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10625
10626 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10627 assume it's always t.
10628 (vc-git-registered): Remove caching, the function is only called
10629 once.
10630 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10631
10632 2012-07-18 Chong Yidong <cyd@gnu.org>
10633
10634 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10635
10636 * simple.el (count-words): Report on narrowing (Bug#9959).
10637
10638 * bindings.el: Bind M-= to count-words.
10639
10640 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10641
10642 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10643
10644 * progmodes/sh-script.el (sh-imenu-generic-expression):
10645 Capture a function with `function' keyword and without parentheses
10646 like "function FOO" (bug#11856).
10647
10648 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10649
10650 * window.el (split-window-sensibly): Make WINDOW argument
10651 optional.
10652
10653 2012-07-18 Chong Yidong <cyd@gnu.org>
10654
10655 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10656
10657 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10658 and make C-x 8 RET exit isearch (Bug#11439).
10659
10660 * international/iso-transl.el: Move isearch-mode-map key
10661 definitions to isearch.el.
10662
10663 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10666 (eieio-defclass): Use gv-define-setter when possible.
10667
10668 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10669
10670 Reflect recent changes in Fgarbage_collect.
10671 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10672 reflect new format of data returned by Fgarbage_collect.
10673
10674 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10675
10676 New utility functions + python-info-ppss-context fix (Bug#11910).
10677 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10678 (python-info-ppss-comment-or-string-p): New functions.
10679 (python-info-ppss-context): Small fix for string check.
10680
10681 2012-07-17 Juri Linkov <juri@jurta.org>
10682
10683 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10684 (dired-do-async-shell-command): Don't add `*' at the end of the
10685 command (Bug#11815).
10686 (dired-do-shell-command): Doc fix.
10687 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10688 Join the individual commands using either "&" or ";" as the
10689 separator depending on the values of these trailing characters.
10690 At the end re-add the trailing "&". (Bug#10598)
10691
10692 * simple.el (async-shell-command): Sync the interactive spec with
10693 `shell-command'. Doc fix.
10694 (shell-command): Doc fix.
10695
10696 2012-07-17 Juri Linkov <juri@jurta.org>
10697
10698 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10699
10700 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10701
10702 Final renames and doc fixes for movement commands (bug#11899).
10703 * progmodes/python.el (python-nav-beginning-of-statement):
10704 Rename from python-nav-statement-start.
10705 (python-nav-end-of-statement): Rename from
10706 python-nav-statement-end.
10707 (python-nav-beginning-of-block): Rename from
10708 python-nav-block-start.
10709 (python-nav-end-of-block): Rename from python-nav-block-end.
10710
10711 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10712
10713 * progmodes/python.el (python-shell-send-string-no-output):
10714 Allow accept-process-output to quit, keeping shell process ready for
10715 future interactions (Bug#11868).
10716
10717 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10718
10719 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10720
10721 * emacs-lisp/elint.el (elint-find-args-in-code):
10722 Use help-function-arglist, so as to handle lexical byte-code.
10723
10724 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10725 change (bug#11826).
10726
10727 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10730 Avoid spuriously marking the buffer as modified because of c-is-sws.
10731
10732 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10733 as not-a-comment (bug#11946).
10734
10735 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10736 for uninterned vars.
10737
10738 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10739 Use read-event since we don't really want to read chars but bytes.
10740
10741 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10742 $$..$$ but also $..$ using regexps (bug#11953).
10743 Use tex-verbatim for \url and \path.
10744 (tex-font-lock-keywords): Define as defconst like the others.
10745 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10746
10747 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10748
10749 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10750 alias for insert-char.
10751
10752 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10753
10754 * progmodes/python.el: Simplified imenu implementation.
10755 (python-nav-jump-to-defun): Remove command.
10756 (python-mode-map): Use `imenu' instead.
10757 (python-nav-list-defun-positions-cache)
10758 (python-imenu-include-defun-type, python-imenu-make-tree)
10759 (python-imenu-subtree-root-label, python-imenu-index-alist):
10760 Remove vars.
10761 (python-nav-list-defun-positions, python-nav-read-defun)
10762 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10763 (python-imenu-make-tree, python-imenu-create-index):
10764 Remove functions.
10765 (python-mode): Update to interact with imenu by setting
10766 `imenu-extract-index-name-function' only.
10767
10768 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10769
10770 * progmodes/python.el: Enhancements to navigation commands.
10771 (python-nav-backward-sentence)
10772 (python-nav-forward-sentence): Remove.
10773 (python-nav-backward-statement, python-nav-forward-statement)
10774 (python-nav-statement-start, python-nav-statement-end)
10775 (python-nav-backward-block, python-nav-forward-block)
10776 (python-nav-block-start, python-nav-block-end)
10777 (python-nav-forward-sexp-function)
10778 (python-info-current-line-comment-p)
10779 (python-info-current-line-empty-p): New functions.
10780 (python-indent-context): Use `python-nav-statement-start'.
10781
10782 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10783
10784 * eshell/em-ls.el (eshell/ls): Use `apply'.
10785
10786 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10787 multi-hops, instead of Tramp internals.
10788
10789 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10790
10791 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10792 when F1 and F2 are located on different hosts.
10793
10794 2012-07-14 Chong Yidong <cyd@gnu.org>
10795
10796 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10797 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10798 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10799 (xterm-mouse--read-event-sequence-1000)
10800 (xterm-mouse--read-event-sequence-1006): New functions. For old
10801 mouse protocol, handle M-mouse-X events correctly.
10802 (xterm-mouse-event): New arg specifying mouse protocol.
10803 (turn-on-xterm-mouse-tracking-on-terminal)
10804 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10805 sequence to toggle extended coordinates on newer XTerms.
10806 This appears to be harmless on terminals which do not support this.
10807
10808 2012-07-14 Leo Liu <sdl.web@gmail.com>
10809
10810 Add fringe bitmap indicators for flymake. (Bug#11253)
10811 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10812 (flymake-make-overlay): New arg BITMAP.
10813 (flymake-error-bitmap, flymake-warning-bitmap)
10814 (flymake-fringe-indicator-position): New user variables.
10815
10816 * fringe.el: New bitmap exclamation-mark.
10817
10818 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10819
10820 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10821 also (Bug#7879).
10822
10823 2012-07-14 Chong Yidong <cyd@gnu.org>
10824
10825 * electric.el (electric-pair-post-self-insert-function): Fix pair
10826 insertion in empty-region case (Bug#11520).
10827
10828 2012-07-14 Chong Yidong <cyd@gnu.org>
10829
10830 * bindings.el: Consolidate ctl-x-r-map bindings.
10831 Bind copy-rectangle-as-kill to C-x r w.
10832
10833 * rect.el, register.el: Move bindings to bindings.el.
10834
10835 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10836
10837 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10838
10839 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10840
10841 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10842
10843 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10844
10845 * bindings.el (top): Use `mapc' instead of `mapcar'.
10846
10847 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10848
10849 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10850
10851 * progmodes/sql.el (sql-comint): Suppress the check for program on
10852 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10853 (Bug#11908)
10854
10855 2012-07-13 Chong Yidong <cyd@gnu.org>
10856
10857 * bindings.el: Assign a non-nil permanent-local property to
10858 per-buffer variables which lack a default value (Bug#11930).
10859
10860 * help-fns.el (describe-variable): In the "automatically becomes
10861 local" notice, take note of permanent-local variables.
10862
10863 2012-07-13 Chong Yidong <cyd@gnu.org>
10864
10865 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10866 to allow printing the message when called from Lisp.
10867
10868 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10869 Remove toggle-read-only.
10870
10871 * bs.el (bs-toggle-readonly):
10872 * buff-menu.el (Buffer-menu-toggle-read-only):
10873 Remove with-no-warnings around toggle-read-only.
10874
10875 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10876 Remove with-no-warnings around toggle-read-only.
10877 (ffap-read-only, ffap-read-only-other-window)
10878 (ffap-read-only-other-frame): Callers changed.
10879
10880 * help-mode.el: Don't require view package.
10881 (help-mode-finish): Set buffer-read-only instead of calling
10882 toggle-read-only.
10883
10884 * bindings.el (mode-line-toggle-read-only):
10885 * dired.el (dired-toggle-read-only):
10886 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10887 with non-nil second arg.
10888
10889 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10890 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10891 directly.
10892
10893 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10894
10895 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10896 not incf.
10897
10898 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 More CL cleanups and reduction of use of cl.el.
10901 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10902 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10903 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10904 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10905 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10906 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10907 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10908 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10909 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10910 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10911 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10912 * eshell/em-cmpl.el, eshell/em-banner.el:
10913 * calendar/parse-time.el: Use cl-lib.
10914 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10915 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10916 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10917 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10918 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10919 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10920 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10921 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10922 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10923 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10924 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10925 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10926 `lambda' rather than with `quote'.
10927 (eshell-do-opt): Adjust accordingly.
10928 (eshell-process-option): Simplify.
10929 * eshell/esh-var.el:
10930 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10931 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10932 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10933 to `pcase--dontcare'.
10934 * emacs-lisp/cl.el (labels): Mark obsolete.
10935 (cl--letf, letf): Move to cl-lib.
10936 (cl--letf*, letf*): Remove.
10937 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10938 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10939 (cl-progv): Rewrite.
10940 (cl--letf, cl-letf): Move from cl.el.
10941 (cl-letf*): New macro.
10942 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10943
10944 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10945
10946 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10947
10948 2012-07-11 Chong Yidong <cyd@gnu.org>
10949
10950 * vc/log-edit.el (log-edit-vc-backend): New variable.
10951 (log-edit): Doc fix.
10952
10953 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10954 argument of log-edit to set up all local variables.
10955 (vc-start-logentry): New optional arg specifying VC backend.
10956
10957 * vc/vc.el (vc-checkin): Use it.
10958 (vc-deduce-fileset): Handle Log Edit buffers.
10959 (vc-diff): Make first argument optional too.
10960
10961 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10962
10963 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10964
10965 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10966 command, just in case. The function is not needed anymore.
10967 (eshell-external-command): Do not call `eshell-remote-command'.
10968
10969 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 Reduce use of (require 'cl).
10972 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10973 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10974 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10975 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10976 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10977 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10978 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10979 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10980 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10981 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10982 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10983 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10984 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10985 (byte-compile-unfold-bcf, byte-compile-check-variable):
10986 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10987 (byte-compile-nilconstp):
10988 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10989 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10990
10991 * emacs-lisp/gv.el (cond): Make it a valid place.
10992 (if): Simplify slightly.
10993
10994 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10995 (pcase--self-quoting-p): New function.
10996 (pcase--u1): Use it.
10997
10998 2012-07-10 Glenn Morris <rgm@gnu.org>
10999
11000 * emacs-lisp/authors.el (authors-fixed-entries):
11001 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11002
11003 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11004
11005 Rename configure.in to configure.ac (Bug#11603).
11006 * emacs-lisp/authors.el (authors-canonical-file-name):
11007 * progmodes/autoconf.el (autoconf-mode):
11008 Prefer configure.ac to configure.in.
11009
11010 2012-07-08 Chong Yidong <cyd@gnu.org>
11011
11012 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11013 Implement the mouse-1-click-follows-link handling properly.
11014
11015 * info.el (Info-link-keymap): Use follow-link mechanism for
11016 header-line links (Bug#374).
11017
11018 * simple.el (deactivate-mark): Do not set the primary selection
11019 if another program has acquired it (Bug#11772).
11020
11021 2012-07-07 Kevin Ryde <user42@zip.com.au>
11022
11023 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11024 (woman-decode-region): Replace escaped-escapes without destroying
11025 bold or underline (Bug#11552).
11026 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11027
11028 2012-07-07 Chong Yidong <cyd@gnu.org>
11029
11030 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11031 (interprogram-cut-function, interprogram-paste-function):
11032 Mention that we typically mean the clipboard.
11033
11034 2012-07-06 Glenn Morris <rgm@gnu.org>
11035
11036 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11037
11038 * files.el (toggle-read-only): Restrict message to interactive use.
11039
11040 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11041
11042 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11043
11044 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11045
11046 2012-07-06 Glenn Morris <rgm@gnu.org>
11047
11048 * Makefile.in (compile-one-process): Rename from "recompile".
11049
11050 * Makefile.in (bzr-update): "compile" is the same as "recompile
11051 autoloads", but parallelizable, so use that instead.
11052
11053 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11054
11055 * window.el (quit-window): Always restore window height when
11056 it's saved in quit-restore parameter (Bug#11810).
11057
11058 2012-07-06 Glenn Morris <rgm@gnu.org>
11059
11060 * simple.el (kill-whole-line): Doc tweak.
11061
11062 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11063
11064 * files.el (file-relative-name): Compare file names
11065 case-insensitively if on MS-Windows or MS-DOS, or if
11066 read-file-name-completion-ignore-case is non-nil. Don't use
11067 case-fold-search for this purpose. (Bug#11827)
11068
11069 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11070
11071 * calendar/cal-dst.el (calendar-current-time-zone):
11072 Return calendar-current-time-zone-cache if non-nil.
11073
11074 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11075 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11076
11077 * calendar/cal-dst.el (calendar-current-time-zone):
11078 Return calendar-current-time-zone-cache if non-nil.
11079
11080 2012-07-06 Glenn Morris <rgm@gnu.org>
11081
11082 * Makefile.in (cvs-update): Remove old alias.
11083
11084 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11085
11086 Sync with Tramp 2.2.6-pre.
11087
11088 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11089 compatible declaration.
11090
11091 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11092 Protect `list-load-path-shadows' call.
11093
11094 * net/tramp-compat.el (top): Require packages, which aren't
11095 autoloaded anymore for XEmacs. Protect call of
11096 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11097 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11098 it hurts at least for SXEmacs.
11099 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11100 standard-value for `temporary-file-directory'.
11101
11102 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11103 Redirect stderr to /dev/null.
11104 (tramp-sh-handle-write-region): uid and gid can be floats.
11105 Reported by Russell Sim <russell.sim@gmail.com>.
11106 (tramp-sh-handle-vc-registered): Hide errors.
11107 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11108 and `start-file-process'.
11109 (tramp-maybe-open-connection): Check also whether `non-essential'
11110 is bound.
11111
11112 2012-07-04 Chong Yidong <cyd@gnu.org>
11113
11114 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11115 (xml-parse-tag): Likewise, and avoid changing entity tables.
11116 (xml-syntax-table): Define from scratch, making sure not to give
11117 x2000 and other Unicode spaces whitespace syntax, since those are
11118 not spaces in XML.
11119 (xml-parse-fragment): Delete unused function.
11120 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11121 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11122 (xml-entity-ref, xml-pe-reference-re)
11123 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11124 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11125 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11126 (xml-entity-value-re): Use syntax references in regexps where
11127 possible; no need to define inside a let-binding.
11128 (xml-parse-dtd): Use xml-pe-reference-re.
11129 (xml-entity-or-char-ref-re): New defconst.
11130 (xml-parse-string, xml-substitute-special): Use it.
11131
11132 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11135 (find-file--read-only): New function.
11136 (find-file-read-only, find-file-read-only-other-window)
11137 (find-file-read-only-other-frame): Use it.
11138 (insert-file-contents-literally): Don't `fset'.
11139 (get-free-disk-space): Use locate-dominating-file.
11140
11141 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11142 function is already compiled.
11143
11144 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11145
11146 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11147
11148 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11149 files on the same host.
11150
11151 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11152
11153 * help-fns.el (describe-function-1): Only call
11154 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11155
11156 2012-07-03 Chong Yidong <cyd@gnu.org>
11157
11158 * xml.el: Protect parser against XML bombs.
11159 (xml-entity-expansion-limit): New variable.
11160 (xml-parse-string, xml-substitute-special): Use it.
11161 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11162
11163 2012-07-03 Glenn Morris <rgm@gnu.org>
11164
11165 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11166 Allow linking to specific messages in debbugs reports (eg 123#5).
11167
11168 2012-07-02 Chong Yidong <cyd@gnu.org>
11169
11170 * xml.el: Fix entity and character reference expansion, allowing
11171 them to expand into markup as per XML spec.
11172 (xml-default-ns): New variable.
11173 (xml-entity-alist): Use XML spec definitions for lt and amp.
11174 (xml-parse-region): Make first two arguments optional.
11175 Discard text properties.
11176 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11177 All callers changed.
11178 (xml-parse-tag): Call xml-parse-tag-1. For backward
11179 compatibility, this function should not modify buffer contents.
11180 (xml-parse-tag-1): Fix opening-tag regexp.
11181 (xml-parse-string): Rewrite, handling entity and character
11182 references properly.
11183 (xml--entity-replacement-text): Signal an error if a parameter
11184 entity is undefined.
11185
11186 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * comint.el (comint-output-filter): Filter out repeated prompts.
11189
11190 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11191 and file-name-absolute-p.
11192 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11193 internal calls.
11194
11195 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11196
11197 Spelling fixes.
11198 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11199 Rename from byte-compile--refiy-function. All uses changed.
11200
11201 2012-07-01 Chong Yidong <cyd@gnu.org>
11202
11203 * xml.el (xml--parse-buffer): New function. Move most of
11204 xml-parse-region here.
11205 (xml-parse-region): Copy region into a temporary buffer, since
11206 parameter entity substitution requires changing buffer contents.
11207 Use xml--parse-buffer.
11208 (xml-parse-file): Use xml--parse-buffer.
11209 (xml-parse-dtd): Make parameter entity substitution work right.
11210 Use proper regexps for ELEMENT declarations (Bug#7172).
11211
11212 2012-06-30 Glenn Morris <rgm@gnu.org>
11213
11214 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11215
11216 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11217 Remove outdated and unnecessary dbus declarations.
11218
11219 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11220
11221 * emacs-lisp/timer.el (timer-until): Subtract results of
11222 float-time, instead of taking float-time of the result of
11223 time-subtract, since float-time signals an error for negative time
11224 arguments.
11225
11226 2012-06-30 Chong Yidong <cyd@gnu.org>
11227
11228 * xml.el (xml-*-re): Convert defvars into defconsts, and
11229 eval-and-compile them so eval-and-compile works on derivatives.
11230 (xml--entity-replacement-text): Use eval-and-comple.
11231
11232 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11233
11234 * vc/vc-git.el (vc-git-registered): Use cache property
11235 `git-registered'.
11236 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11237 `vc-git-working-revision' in order to benefit from the cache.
11238 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11239
11240 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11241
11242 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11243 removed (likely outside Emacs). (Bug#11757)
11244
11245 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * emacs-lisp/cl-lib.el: Require macroexp.
11248
11249 2012-06-30 Chong Yidong <cyd@gnu.org>
11250
11251 * xml.el: Implement XML parameter entities.
11252 (xml-parameter-entity-alist): New variable.
11253 (xml-parse-region, xml-parse-fragment): Preserve previous values
11254 of xml-entity-alist and xml-parameter-entity-alist, so that
11255 repeated calls on different documents do not change them.
11256 (xml-parse-tag): Fix doctype regexp.
11257 (xml--entity-replacement-text): New function.
11258 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11259 properly requires url retrieval which is unimplemented.
11260 (xml-escape-string): Doc fix.
11261
11262 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11265
11266 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11267
11268 * fringe.el (fringe-mode): Doc fix.
11269
11270 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11271
11272 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11273 is non-nil.
11274 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11275 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11276
11277 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11278
11279 * calendar/cal-dst.el (calendar-current-time-zone):
11280 Return calendar-current-time-zone-cache if non-nil.
11281
11282 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11283
11284 * progmodes/which-func.el (which-func-format):
11285 Add mouse-face. (Bug#11698)
11286
11287 2012-06-29 Leo Liu <sdl.web@gmail.com>
11288
11289 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11290
11291 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11292
11293 * minibuffer.el (minibuffer-confirm-exit-commands):
11294 Add completion-at-point (bug#11725).
11295
11296 2012-06-29 Glenn Morris <rgm@gnu.org>
11297
11298 * progmodes/f90.el (f90-font-lock-keywords-2):
11299 Add some preprocessor elements. (Bug#10499)
11300
11301 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11304 Use syntax-propertize (bug#11739).
11305
11306 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11307
11308 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11309
11310 2012-06-28 Julien Danjou <julien@danjou.info>
11311
11312 * term.el (term-handle-colors-array): Use a set of new faces to
11313 color the terminal. Also uses :inverse-video property.
11314 (term-default-fg-color): Set to nil by default, deprecate in favor
11315 of `term-face'.
11316 (term-default-bg-color): Set to nil by default, deprecate in favor
11317 of `term-face'.
11318 (term-current-face): Use `term-face' by default.
11319 (term-bold-attribute): Variable deleted.
11320
11321 2012-06-28 Glenn Morris <rgm@gnu.org>
11322
11323 * simple.el (completion-list-mode-finish):
11324 Don't use toggle-read-only. (Since completion-list-mode has
11325 a special mode-class, it wasn't doing anything extra anyway.)
11326
11327 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11328
11329 Make inlining of other-mode interpreted functions work (bug#11799).
11330 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11331 (byte-compile): Use it to fix compilation of lexical-binding closures.
11332 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11333 function, if needed.
11334
11335 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * help-mode.el (help-make-xrefs): Don't just withstand
11338 cyclic-variable-indirection but any error in documentation-property.
11339
11340 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11341 memory use.
11342 * bindings.el (bindings--define-key): New function.
11343 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11344 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11345 * bindings.el: Use it to purecopy define-key bindings.
11346
11347 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11348
11349 * emacs-lisp/cl.el (flet): Mark obsolete.
11350 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11351 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11352 * progmodes/js.el (js-c-fill-paragraph):
11353 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11354 (ebrowse-switch-member-buffer-to-derived-class):
11355 * play/5x5.el (5x5-solver): Use cl-flet.
11356
11357 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11358 (cl--symbol-function): New macro.
11359 (cl--letf, cl--letf*): Use it.
11360
11361 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11362 Strip "toggle-" if any.
11363
11364 2012-06-27 Glenn Morris <rgm@gnu.org>
11365
11366 * info.el (Info-default-directory-list): Move here from paths.el.
11367 * paths.el: Remove file, which is now empty.
11368 * loadup.el: No longer load "paths".
11369
11370 * custom.el (custom-initialize-delay): Doc fix.
11371
11372 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11373 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11374 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11375 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11376 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11377 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11378 * eshell/eshell.el (eshell-defgroup): Remove alias.
11379
11380 2012-06-27 Chong Yidong <cyd@gnu.org>
11381
11382 * help.el (help-enable-auto-load): New variable.
11383
11384 * help-fns.el (help-fns--autoloaded-p): New function.
11385 (describe-function-1): Refer to a function as "autoloaded" if it
11386 was autoloaded at any time in the past. Perform autoloading if
11387 help-enable-auto-load is non-nil.
11388
11389 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11390
11391 * makefile.w32-in (compile, compile-always): Depend on
11392 update-subdirs, not on subdirs.el. Otherwise, several different
11393 sub-targets of 'bootstrap' running in parallel could
11394 simultaneously write to subdirs.el, producing a garbled file.
11395
11396 2012-06-26 Sam Steingold <sds@gnu.org>
11397
11398 * files.el (file-name-base): New convenience function.
11399 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11400 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11401 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11402 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11403 * textmodes/ispell.el, textmodes/reftex-ref.el:
11404 * textmodes/tex-mode.el: Use it.
11405 Did not touch cedet and org because they are maintained elsewhere.
11406
11407 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11408
11409 * calendar/calendar.el (calendar-exit): Don't try to delete or
11410 iconify last frame. See:
11411 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11412
11413 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11414
11415 * server.el (server-process-filter): Remember dir in the
11416 process's `server-client-directory' properties.
11417
11418 2012-06-24 Chong Yidong <cyd@gnu.org>
11419
11420 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11421 non-tag text.
11422
11423 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11424
11425 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11426
11427 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * help-fns.el (describe-variable): Don't croak when doc is not found.
11430 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11431 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11432 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11433 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11434 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11435 ((lambda ..) ..).
11436 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11437
11438 2012-06-23 Chong Yidong <cyd@gnu.org>
11439
11440 * info.el (Info-mouse-follow-link): Accept symbol values of
11441 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11442 (Info-fontify-node): Use Info-link-keymap for all navigation
11443 buttons, with link-args property to perform the desired action.
11444 (Info-link-keymap): Doc fix.
11445 (Info-next-link-keymap, Info-prev-link-keymap)
11446 (Info-up-link-keymap): Delete now-unused keymaps.
11447
11448 2012-06-23 Chong Yidong <cyd@gnu.org>
11449
11450 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11451
11452 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11453 system abbrevs.
11454
11455 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11456
11457 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11460 (bug#11719).
11461
11462 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11463 the requote function doesn't work properly (bug#11714).
11464
11465 2012-06-23 Glenn Morris <rgm@gnu.org>
11466
11467 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11468
11469 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11470
11471 Further GV/CL cleanups.
11472 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11473 gv-expander.
11474 (gv--defun-declaration): New function.
11475 (defun-declarations-alist): Use it.
11476 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11477 (gv-place): Autoload.
11478 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11479 original definition of dotimes and dolist.
11480 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11481 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11482 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11483 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11484 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11485 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11486 to the function's definition.
11487 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11488 * window.el:
11489 * files.el:
11490 * faces.el:
11491 * env.el: Don't use CL.
11492
11493 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11494
11495 Support higher-resolution time stamps (Bug#9000).
11496
11497 * calendar/time-date.el (with-decoded-time-value): New arg
11498 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11499 (encode-time-value): New optional arg PICO. New type 3.
11500 (time-to-seconds) [!float-time]: Support the new picoseconds
11501 component if it's used.
11502 (seconds-to-time, time-subtract, time-add):
11503 Support ps-resolution time stamps as well.
11504
11505 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11506 (timerp): Timer vectors now have length 9, not 8.
11507 (timer--time): Support new-style (4-part) time stamps.
11508 (timer-next-integral-multiple-of-time): Time stamps now have
11509 picosecond resolution, so take a bit more care about rounding.
11510 (timer-relative-time, timer-inc-time): New optional arg psecs.
11511 (timer-set-time-with-usecs): Set psecs to 0.
11512 (timer--activate): Check psecs component, too.
11513
11514 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11515
11516 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11519 Move the non-essential binding to the post/pre-command-hook where it is
11520 more obviously correct.
11521
11522 * subr.el (read-passwd): Don't use a history at all.
11523 * savehist.el (savehist-save): Remove password saved accidentally
11524 because of the above bug.
11525
11526 2012-06-22 Bastien Guerry <bzg@gnu.org>
11527
11528 * files.el (toggle-read-only): Display a message telling whether
11529 the buffer is read-only or not (bug#11726).
11530
11531 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * emacs-lisp/gv.el: New file.
11534 * subr.el (push, pop): Extend to generalized variables.
11535 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11536 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11537 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11538 gv-define-simple-setter, and gv-define-expander.
11539 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11540 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11541 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11542 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11543 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11544 gv-letplace.
11545 (cl-defstruct): Don't define setf-method any more.
11546 * emacs-lisp/cl.el (flet): Don't autoload.
11547 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11548 (define-setf-expander, defsetf, define-modify-macro)
11549 (cl-struct-setf-expander): Move from cl-lib.el.
11550 * emacs-lisp/syntax.el:
11551 * emacs-lisp/ewoc.el:
11552 * emacs-lisp/smie.el:
11553 * emacs-lisp/cconv.el:
11554 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11555 (timer--time): Use gv-define-simple-setter.
11556 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11557 to avoid coding-system problems in subr.el. Adjust all users.
11558 (macroexp--maxsize, macroexp-small-p): New functions.
11559 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11560 * scroll-bar.el (scroll-bar-mode):
11561 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11562 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11563 * winner.el (winner-configuration, winner-make-point-alist)
11564 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11565 * files.el (locate-file-completion-table): Avoid list*.
11566
11567 2012-06-22 Chong Yidong <cyd@gnu.org>
11568
11569 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11570 (dired-create-files): Doc fix (Bug#11329).
11571 (dired-do-copy): Doc fix (Bug#11334).
11572 (dired-mark-read-string): Doc fix (Bug#11553).
11573
11574 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11575 Doc fix (Bug#11326).
11576 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11577 (dired-dwim-target): Doc fix.
11578
11579 * wdired.el (wdired-mode): Doc fix.
11580
11581 2012-06-22 Glenn Morris <rgm@gnu.org>
11582
11583 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11584 (pcmpl-rpm-cache-stamp-file): New constant.
11585 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11586 (pcmpl-rpm-packages): Optionally cache list of packages.
11587
11588 * pcmpl-rpm.el (pcmpl-rpm): New group.
11589 (pcmpl-rpm-query-options): New option.
11590 (pcmpl-rpm-packages): No need to inline it.
11591 Use pcmpl-rpm-query-options.
11592
11593 * calendar/calendar.el (calendar-in-read-only-buffer):
11594 Avoid some needless mode changes.
11595
11596 2012-06-21 Chong Yidong <cyd@gnu.org>
11597
11598 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11599 (desktop-path): Remove . from the default value (Bug#10977).
11600 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11601
11602 2012-06-20 Chong Yidong <cyd@gnu.org>
11603
11604 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11605
11606 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11607
11608 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11609 (bug#11201).
11610
11611 2012-06-20 Chong Yidong <cyd@gnu.org>
11612
11613 * term.el (term-window-width): Handle the case of a missing right
11614 fringe (Bug#8837).
11615 (term-check-size): Use window-text-height (Bug#5445).
11616 (term-mode): Use define-derived-mode. Minor cleanups.
11617 Set font-lock-defaults (Bug#7692).
11618 (term-move-columns, term-insert-char, term-emulate-terminal)
11619 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11620
11621 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11622
11623 * net/ange-ftp.el (ange-ftp-get-passwd):
11624 Bind `enable-recursive-minibuffers'.
11625 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11626
11627 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11628
11629 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11630
11631 2012-06-19 Glenn Morris <rgm@gnu.org>
11632
11633 * progmodes/python.el (python-mode): Derive from prog-mode.
11634
11635 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11636
11637 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11638 (edt-user-menu-bar-update-buffers): New functions.
11639 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11640
11641 2012-06-19 Chong Yidong <cyd@gnu.org>
11642
11643 * subr.el (with-selected-window): Preserve the selected window's
11644 terminal's top-frame (Bug#4702).
11645
11646 * window.el (save-selected-window): Likewise.
11647
11648 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11649
11650 * progmodes/python.el (python-rx-constituents): Move backquote.
11651 (python-skeleton-define, python-define-auxiliary-skeleton):
11652 Use `declare'.
11653
11654 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11655
11656 * minibuffer.el (read-file-name-default): Revert the patch from
11657 2012-06-17.
11658
11659 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11660
11661 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11662 (pcase--u1, pcase--q1): Don't use apply-partially.
11663
11664 2012-06-18 Glenn Morris <rgm@gnu.org>
11665
11666 * progmodes/python.el (python-proc, python-buffer)
11667 (python-send-receive, python-send-string): Fix obsolete versions.
11668
11669 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11670
11671 * window.el (special-display-p): Completely remove stringp
11672 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11673
11674 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11675
11676 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11677
11678 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11679
11680 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11681 * net/tramp-sh.el (tramp-maybe-open-connection):
11682 Throw if `non-essential' is non-nil.
11683
11684 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11685
11686 * window.el (special-display-p): Signal an error if BUFFER-NAME
11687 is not a string (Bug#11713).
11688
11689 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11690
11691 * progmodes/python.el (python-info-beginning-of-backslash):
11692 Rename from python-info-beginning-of-backlash, as a spelling fix.
11693
11694 2012-06-17 Chong Yidong <cyd@gnu.org>
11695
11696 * term.el (term-emulate-terminal): If term-check-size is called,
11697 move point to the process mark without resetting point (Bug#4635).
11698
11699 2012-06-17 Glenn Morris <rgm@gnu.org>
11700
11701 * international/mule-cmds.el (mule-menu-keymap)
11702 (set-language-environment, set-locale-environment): Doc tweaks.
11703
11704 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11705
11706 * cus-face.el (custom-face-attributes): Add wave-style underline
11707 attribute.
11708 * faces.el (set-face-attribute): Update docstring to describe
11709 wave-style underline attribute.
11710
11711 2012-06-16 Chong Yidong <cyd@gnu.org>
11712
11713 * term/xterm.el (terminal-init-xterm): Discard input before
11714 querying background mode (Bug#10959).
11715
11716 2012-06-16 Stefan Merten <smerten@oekonux.de>
11717
11718 * textmodes/rst.el: Added and corrected some comments.
11719 (rst-re-alist-def): Improve symbol syntax.
11720 (rst-mode-syntax-table): Correct syntax entries.
11721 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11722 (rst-official-version, rst-official-cvs-rev): Update version
11723 information.
11724
11725 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11726
11727 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11728 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11729
11730 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11731
11732 * progmodes/python.el: New python.el merge.
11733 (python-guess-indent): Obsolete var.
11734 (python-indent-guess-indent-offset): New defcustom.
11735 (python-indent): Obsolete var.
11736 (python-indent-offset): New defcustom.
11737 (python-python-command, python-jython-command): Delete var.
11738 (python-shell-interpreter): New defcustom.
11739 (python-pdbtrack-do-tracking-p): Delete var.
11740 (python-pdbtrack-activate): New defcustom.
11741 (python-use-skeletons): Obsolete var.
11742 (python-skeleton-autoinsert): New defcustom.
11743 (inferior-python-filter-regexp, python-continuation-offset)
11744 (python-honour-comment-indentation, python-indent-string-contents)
11745 (python-jython-packages, python-mode-hook)
11746 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11747 (python-shell-prompt-alist)
11748 (python-source-modes): Delete defcustoms.
11749 (python-check-buffer-name, python-eldoc-setup-code)
11750 (python-eldoc-string-code, python-ffap-setup-code)
11751 (python-ffap-string-code, python-fill-comment-function)
11752 (python-fill-decorator-function, python-fill-paren-function)
11753 (python-fill-string-function, python-imenu-include-defun-type)
11754 (python-imenu-make-tree, python-imenu-subtree-root-label)
11755 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11756 (python-shell-compilation-regexp-alist)
11757 (python-shell-completion-module-string-code)
11758 (python-shell-completion-pdb-string-code)
11759 (python-shell-completion-setup-code)
11760 (python-shell-completion-string-code)
11761 (python-shell-enable-font-lock, python-shell-exec-path)
11762 (python-shell-extra-pythonpaths)
11763 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11764 (python-shell-process-environment)
11765 (python-shell-prompt-block-regexp)
11766 (python-shell-prompt-output-regexp)
11767 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11768 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11769 (python-shell-virtualenv-path): New defcustoms.
11770 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11771 (inferior-python-mode-syntax-table, python--prompt-regexp)
11772 (python-buffer, python-command python-python-command)
11773 (python-default-template, python-imports, python-indent-index)
11774 (python-indent-list, python-indent-list-length)
11775 (python-mode-running, python-pdbtrack-is-tracking-p)
11776 (python-preoutput-continuation, python-preoutput-leftover)
11777 (python-preoutput-result, python-preoutput-skip-next-prompt)
11778 (python-prev-dir/file, python-recursing)
11779 (python-saved-check-command, python-version-checked)
11780 (python-which-func-length-limit)
11781 (view-return-to-alist): Delete vars.
11782 (python-check-custom-command, python-dotty-syntax-table)
11783 (python-imenu-index-alist, python-indent-current-level)
11784 (python-indent-dedenters, python-indent-levels)
11785 (python-nav-beginning-of-defun-regexp)
11786 (python-nav-list-defun-positions-cache)
11787 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11788 (python-shell-internal-buffer)
11789 (python-skeleton-available): New vars.
11790 (def-python-skeleton): Delete macro.
11791 (python-skeleton-define): New macro.
11792 (python-define-auxiliary-skeleton, python-rx): New macros.
11793 (python-insert-class): Delete command.
11794 (python-skeleton-class): New command.
11795 (python-insert-def): Delete command.
11796 (python-skeleton-def): New command.
11797 (python-insert-for): Delete command.
11798 (python-skeleton-for): New command.
11799 (python-insert-if): Delete command.
11800 (python-skeleton-if): New command.
11801 (python-insert-try/except, python-insert-try/finally): Delete commands.
11802 (python-skeleton-try): New command.
11803 (python-insert-while): Delete command.
11804 (python-skeleton-while): New command.
11805 (python-backspace): Delete command.
11806 (python-indent-dedent-line-backspace): New command.
11807 (python-electric-colon): Delete command.
11808 (python-indent-electric-colon): New command.
11809 (python-guess-indent): Delete command.
11810 (python-indent-guess-indent-offset): New command.
11811 (python-shift-left): Delete command.
11812 (python-indent-shift-left): New command.
11813 (python-shift-right): Delete command.
11814 (python-indent-shift-right): New command.
11815 (python-find-function): Delete command.
11816 (python-nav-jump-to-defun): New command.
11817 (python-next-statement): Delete command.
11818 (python-nav-forward-sentence): New command.
11819 (python-previous-statement): Delete command.
11820 (python-nav-backward-sentence): New command.
11821 (python-fill-paragraph): Delete command.
11822 (python-fill-paragraph-function): New command.
11823 (python-send-buffer): Delete command.
11824 (python-shell-send-buffer): New command.
11825 (python-send-defun): Delete command.
11826 (python-shell-send-defun): New command.
11827 (python-send-region, python-send-region-and-go): Delete commands.
11828 (python-shell-send-region)
11829 (python-shell-switch-to-shell): New commands.
11830 (python-send-string): Delete command.
11831 (python-shell-send-string): New command.
11832 (python-switch-to-python): Delete command.
11833 (python-shell-switch-to-shell): New command.
11834 (python-describe-symbol): Delete command.
11835 (python-eldoc-at-point): New command.
11836 (python--set-prompt-regexp, python-args-to-list)
11837 (python-after-info-look, python-check-version)
11838 (python-check-comint-prompt, python-find-imports)
11839 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11840 (python-unload-function, python-expand-template)
11841 (python-maybe-jython, python-preoutput-filter)
11842 (python-pdbtrack-get-source-buffer)
11843 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11844 (python-pdbtrack-toggle-stack-tracking)
11845 (python-pdbtrack-track-stack-file, python-initial-text)
11846 (python-first-word, python-comment-line-p, python-send-command)
11847 (python-setup-brm, python-sentinel, python-set-proc)
11848 (python-skip-out, python-input-filter, python-outdent-p)
11849 (python-outline-level, python-backslash-continuation-line-p)
11850 (python-end-of-block, python-end-of-statement, python-mark-block)
11851 (python-beginning-of-block, python-beginning-of-statement)
11852 (python-blank-line-p, python-beginning-of-string)
11853 (python-open-block-statement-p): Delete functions.
11854 (python-indent-line, python-indent-line-1): Delete functions.
11855 (python-indent-line): New function.
11856 (python-indentation-levels): Delete function.
11857 (python-indent-calculate-levels): New function.
11858 (python-proc): Delete function.
11859 (python-shell-get-process): New function.
11860 (python-send-receive): Delete function.
11861 (python-shell-send-string-no-output): New function.
11862 (python-module-path): Delete function.
11863 (python-ffap-module-path): New function.
11864 (python-completion-at-point)
11865 (python-symbol-completions): Delete functions.
11866 (python-completion-complete-at-point): New function.
11867 (python-load-file): Delete function.
11868 (python-shell-send-file): New function.
11869 (python-calculate-indentation): Delete function.
11870 (python-indent-calculate-indentation): New function.
11871 (python-skip-comments/blanks): Delete function.
11872 (python-util-forward-comment): New function.
11873 (python-continuation-line-p): Delete function.
11874 (python-info-continuation-line-p): New function.
11875 (python-which-func, python-current-defun): Delete function.
11876 (python-info-current-defun): New function.
11877 (python-beginning-of-defun): Delete function.
11878 (python-nav-beginning-of-defun): New function.
11879 (python-close-block-statement-p)
11880 (python-block-end-p): Delete function.
11881 (python-info-closing-block): New function.
11882 (python-comint-output-filter-function)
11883 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11884 (python-fill-comment, python-fill-decorator, python-fill-paren)
11885 (python-fill-string, python-imenu-make-element-tree)
11886 (python-imenu-make-tree, python-imenu-tree-assoc)
11887 (python-indent-context, python-indent-dedent-line)
11888 (python-indent-line-function)
11889 (python-indent-post-self-insert-function)
11890 (python-indent-toggle-levels)
11891 (python-info-assignment-continuation-line-p)
11892 (python-info-beginning-of-backlash)
11893 (python-info-block-continuation-line-p)
11894 (python-info-closing-block-message)
11895 (python-info-line-ends-backslash-p)
11896 (python-info-looking-at-beginning-of-defun)
11897 (python-info-ppss-context, python-info-ppss-context-type)
11898 (python-nav-list-defun-positions, python-nav-read-defun)
11899 (python-nav-sentence-end, python-nav-sentence-start)
11900 (python-pdbtrack-comint-output-filter-function)
11901 (python-pdbtrack-set-tracked-buffer)
11902 (python-shell-calculate-exec-path)
11903 (python-shell-calculate-process-environment)
11904 (python-shell-completion--do-completion-at-point)
11905 (python-shell-completion--get-completions)
11906 (python-shell-completion-complete-at-point)
11907 (python-shell-completion-complete-or-indent)
11908 (python-shell-get-or-create-process)
11909 (python-shell-get-process-name)
11910 (python-shell-internal-get-or-create-process)
11911 (python-shell-internal-get-process-name)
11912 (python-shell-internal-send-string, python-shell-make-comint)
11913 (python-shell-parse-command, python-shell-send-setup-code)
11914 (python-skeleton-add-menu-items)
11915 (python-util-clone-local-variables, python-util-position)
11916 (run-python-internal, python-indentation-levels)
11917 (python-nav-beginning-of-defun)
11918 (python-completion-complete-at-point): New functions.
11919 (run-python): Change arguments. New API requirements.
11920
11921 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11924 (bug#11649).
11925
11926 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11927 (macroexp--expand-all): Use it.
11928
11929 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11930 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11931 Use `cl-function' instead.
11932
11933 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11934
11935 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11936 Suggested by Stefan Monnier while discussing bug#11657.
11937
11938 2012-06-14 Sam Steingold <sds@gnu.org>
11939
11940 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11941
11942 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11943
11944 * play/doctor.el (doctor-doc): Remove parameter and use
11945 doctor-sent instead of sent.
11946 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11947
11948 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * files.el: Require cl-lib.
11951 (file-name-non-special): Replace case -> cl-case.
11952
11953 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11954
11955 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11956 mapping from #' to function*.
11957
11958 2012-06-13 Chong Yidong <cyd@gnu.org>
11959
11960 * mouse.el (mouse-drag-track): Do not set the mark if the user
11961 releases the mouse without selecting anything (Bug#11588).
11962
11963 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11964
11965 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11966 as well (bug#11646).
11967
11968 * loadup.el: Count byte-code functions as well.
11969
11970 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11971 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11972
11973 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11974 (bug#11649). Add cl-defun and cl-defmacro.
11975
11976 2012-06-13 Drew Adams <drew.adams@oracle.com>
11977
11978 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11979 Fix last change.
11980
11981 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11982
11983 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11984 Otherwise, it blocks in batch mode.
11985
11986 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11987
11988 * help-mode.el (bookmark-make-record-default): Declare.
11989
11990 2012-06-13 Chong Yidong <cyd@gnu.org>
11991
11992 * emacs-lisp/package.el (list-packages): Compute a list of
11993 packages that are newly-available since the last list-packages
11994 invocation.
11995 (package-menu--new-package-list): New var.
11996 (package-menu--generate, package-menu--print-info)
11997 (package-menu--status-predicate, package-menu-mark-install):
11998 Handle new status label "new".
11999
12000 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12001
12002 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12003 conversion to backquotes.
12004
12005 2012-06-12 Chong Yidong <cyd@gnu.org>
12006
12007 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12008 Rename from gud-inhibit-global-bindings.
12009
12010 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12011
12012 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12013 hook from nxml-glyph-set-hook.
12014
12015 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12016 declaration.
12017
12018 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12019
12020 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12021 Convert to defcustom.
12022
12023 2012-06-12 Drew Adams <drew.adams@oracle.com>
12024
12025 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12026 New functions.
12027 (help-mode): Use them.
12028
12029 2012-06-11 Glenn Morris <rgm@gnu.org>
12030
12031 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12032 Use preprocessor face for directives.
12033 (fortran-directive-re): Doc fix.
12034
12035 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12038 conversion to backquotes (bug#11652).
12039
12040 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12041 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12042 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12043 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12044 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12045 (cl-ninth, cl-tenth): Mark them as inlinable.
12046 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12047 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12048 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12049 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12050 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12051 (cl-list*, cl-adjoin): Don't put an autoload manually.
12052 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12053 (cl--compiler-macro-list*): Add autoload cookie.
12054 (cl--compiler-macro-cXXr): New function.
12055
12056 * help-fns.el (help-fns--compiler-macro): New function extracted from
12057 describe-function-1; follow aliases and use `compiler-macro' property.
12058 (describe-function-1): Use it.
12059
12060 2012-06-11 Chong Yidong <cyd@gnu.org>
12061
12062 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12063 is uninstalled, if imagemagick is installed.
12064
12065 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * emacs-lisp/cl-lib.el: Use lexical-binding.
12068 (cl-map-extents, cl-maclisp-member): Remove.
12069 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12070 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12071 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12072 * emacs-lisp/cl-extra.el: Use lexical-binding.
12073 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12074 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12075 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12076 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12077 * emacs-lisp/cl-seq.el: Use lexical-binding.
12078 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12079 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12080 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12081 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12082 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12083 CL's internals.
12084
12085 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12086
12087 Sync with Tramp 2.2.6-pre.
12088
12089 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12090 `print-length' and `print-level' to nil, in order to avoid
12091 truncation. Reported by Christopher Schmidt
12092 <christopher@ristopher.com>.
12093
12094 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12095
12096 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12097 New defmacro.
12098 (tramp-compat-copy-directory): Add optional argument
12099 COPY-CONTENTS. It is not handled yet.
12100
12101 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12102 (tramp-ftp-file-name-p): Simplify.
12103
12104 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12105 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12106 connection vector.
12107
12108 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12109 (tramp-methods): Do not use `tramp-password-end-of-line'.
12110 (tramp-completion-function-alist-putty): Handle UNIX case.
12111 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12112 (tramp-do-file-attributes-with-stat)
12113 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12114 gid as real numbers. They could run out of integer range on cygwin.
12115 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12116 (tramp-sh-handle-expand-file-name): Handle hops.
12117 (tramp-open-connection-setup-interactive-shell):
12118 Use `tramp-cleanup'. Move check for busyboxes ...
12119 (tramp-find-shell): ... here. Simplify implementation.
12120 Set "remote-shell" property also for alternative shells.
12121 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12122 If failing, a regular file would be written otherwise.
12123 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12124 (tramp-find-inline-encoding): Cache the coding commands in the
12125 process cache. Apply test command on the remote side, if defined.
12126 (tramp-find-inline-compress): Cache the compress commands in the
12127 process cache.
12128 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12129 when requested. Handle hops.
12130 (tramp-current-connection): New defvar.
12131 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12132 Throw `suppress', if there was a failed connection shortly before.
12133 Handle user interrupt. (Bug#10187)
12134 (tramp-get-inline-compress, tramp-get-inline-coding):
12135 Read connection properties from the process cache.
12136
12137 * net/tramp-smb.el (tramp-smb-server-version)
12138 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12139 New defconsts.
12140 (tramp-smb-prompt): Extend for powershell prompt.
12141 (tramp-smb-file-name-handler-alist): Add handlers for
12142 `process-file', `shell-command' and `start-file-process'.
12143 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12144 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12145 (tramp-smb-file-name-p): Simplify.
12146 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12147 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12148 (tramp-smb-shell-quote-argument): New defuns.
12149 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12150 Implement using "tar". By this, time-stamps are preserved.
12151 (tramp-smb-handle-copy-file): Handle also the case of directories.
12152 (tramp-smb-do-file-attributes-with-stat)
12153 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12154 Use `tramp-get-connection-buffer').
12155 (tramp-smb-handle-rename-file): Use "rename", when source and
12156 target are on the same share.
12157 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12158 Use `tramp-smb-server-version'.
12159 (tramp-smb-wait-for-output): Remove prompt.
12160
12161 * net/tramp.el (top): Require 'cl.
12162 (tramp-methods, tramp-rsh-end-of-line):
12163 Remove `tramp-password-end-of-line' from docstring.
12164 (tramp-save-ad-hoc-proxies): New defcustom.
12165 (tramp-completion-function-alist): Adapt docstring.
12166 (tramp-default-password-end-of-line): Remove defcustom.
12167 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12168 (tramp-user-regexp, tramp-file-name-regexp-unified)
12169 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12170 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12171 (tramp-remote-file-name-spec-regexp): New defconst.
12172 (tramp-file-name-structure): Extend structure for hops.
12173 (tramp-get-method-parameter): Move up.
12174 (tramp-file-name-p, tramp-dissect-file-name)
12175 (with-parsed-tramp-file-name): Handle hops.
12176 (tramp-file-name-hop): New defun.
12177 (tramp-make-tramp-file-name): New optional arg HOP.
12178 (tramp-message-show-progress-reporter-message): New defvar.
12179 (tramp-with-progress-reporter): Use it. We cannot use
12180 `tramp-message-show-message' here, because this suppresses also
12181 error buffers.
12182 (tramp-error-with-buffer): Suppress buffer view, if
12183 `tramp-message-show-message' is nil.
12184 Use `tramp-get-connection-buffer'.
12185 (tramp-cleanup): New defun.
12186 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12187 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12188 an error unchanged.
12189 (tramp-completion-handle-file-name-all-completions): Handle hops.
12190 Fix an error when called from ido.
12191 (tramp-completion-dissect-file-name): Use better local variable
12192 name. Add hop to the vector.
12193 (tramp-handle-insert-file-contents): Use progress-reporter for the
12194 whole scenario.
12195 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12196 to `t'.
12197 (tramp-check-for-regexp): Simplify search.
12198 (tramp-enter-password): Remove it. Move implementation ...
12199 (tramp-action-password): ... here.
12200 (tramp-mode-string-to-int, tramp-local-host-p)
12201 (tramp-make-tramp-temp-file, tramp-read-passwd)
12202 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12203 Set tramp-autoload cookie.
12204
12205 * net/trampver.el: Update release number.
12206
12207 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12208 Michael Albinus <michael.albinus@gmx.de>
12209
12210 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12211 (tramp-parse-group, tramp-parse-file)
12212 (tramp-parse-shostkeys-sknownhosts): New defuns.
12213 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12214 (tramp-parse-shosts-group, tramp-parse-sconfig)
12215 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12216 (tramp-parse-sknownhosts, tramp-parse-hosts)
12217 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12218 Use them.
12219 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12220 (tramp-parse-putty-group): Don't narrow.
12221 (tramp-parse-putty): Make a loop.
12222 (tramp-file-name-handler): Catch the `suppress' signal.
12223
12224 2012-06-11 Chong Yidong <cyd@gnu.org>
12225
12226 * image.el (imagemagick-register-types): Put the ImageMagick entry
12227 at the end of image-type-file-name-regexps.
12228
12229 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12230
12231 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12232 (pcase, pcase-let*, pcase-dolist): Use them.
12233
12234 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * emacs-lisp/pcase.el (pcase--let*): New function.
12237 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12238 (pcase--expand): Use macroexp-let².
12239
12240 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12241
12242 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12243 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12244 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12245 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12246 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12247 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12248
12249 2012-06-10 Glenn Morris <rgm@gnu.org>
12250
12251 * mail/rmail.el (rmail-yank-current-message): Leave point at
12252 correct position. (Bug#11660)
12253
12254 2012-06-10 Chong Yidong <cyd@gnu.org>
12255
12256 * allout-widgets.el: Fix code header.
12257
12258 2012-06-10 Chong Yidong <cyd@gnu.org>
12259
12260 * cus-edit.el (customize-changed-options-previous-release):
12261 Bump to 24.1.
12262
12263 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12264
12265 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12266
12267 2012-06-09 Chong Yidong <cyd@gnu.org>
12268
12269 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12270
12271 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12272
12273 * window.el (special-display-popup-frame): Don't use
12274 window--display-buffer (Bug#11651).
12275
12276 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12277
12278 Fix parallel builds: make sure loaddefs.el is not being written
12279 while Lisp files are compiled.
12280 (compile): Don't depend on 'mh-autoloads'.
12281 (compile-CMD, compile-SH): Depend on 'autoloads'.
12282 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12283
12284 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12285
12286 2012-06-09 Chong Yidong <cyd@gnu.org>
12287
12288 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12289 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12290 Doc fixes (Bug#11225).
12291
12292 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12293
12294 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12295 a function if there's a clear indication that it has a compiler-macro.
12296 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12297 (macro-declarations-alist): Add arglist to declaration functions.
12298 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12299 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12300 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12301 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12302 Also add autoload to find the compiler macro.
12303 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12304 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12305 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12306 (cl--compiler-macro-get): New functions, replacing calls to
12307 cl-define-compiler-macro.
12308 (cl-typep) [compiler-macro]: Use macroexp-let².
12309
12310 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12311
12312 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12313 string properly, fixes Bug#11473.
12314
12315 2012-06-08 Chong Yidong <cyd@gnu.org>
12316
12317 * faces.el (set-face-attribute): Doc fix.
12318 (modify-face): Don't use :bold and :italic.
12319 (error, warning, success): Tweak definitions.
12320
12321 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12322 (custom-modified, custom-set, custom-changed, custom-themed)
12323 (custom-saved, custom-button, custom-button-mouse)
12324 (custom-button-pressed, custom-state, custom-comment-tag)
12325 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12326 (custom-group-subtitle): Use new-style face specs.
12327 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12328 (custom-set-face, custom-changed-face, custom-saved-face)
12329 (custom-button-face, custom-button-pressed-face)
12330 (custom-documentation-face, custom-state-face)
12331 (custom-comment-face, custom-comment-tag-face)
12332 (custom-variable-tag-face, custom-variable-button-face)
12333 (custom-face-tag-face, custom-group-tag-face-1)
12334 (custom-group-tag-face): Remove obsolete face alias.
12335
12336 * epa.el (epa-validity-high, epa-validity-medium)
12337 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12338 (epa-field-name, epa-field-body):
12339 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12340 (font-lock-keyword-face, font-lock-builtin-face)
12341 (font-lock-function-name-face, font-lock-variable-name-face)
12342 (font-lock-type-face, font-lock-constant-face):
12343 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12344 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12345 * speedbar.el (speedbar-button-face, speedbar-file-face)
12346 (speedbar-directory-face, speedbar-tag-face)
12347 (speedbar-selected-face, speedbar-highlight-face)
12348 (speedbar-separator-face):
12349 * whitespace.el (whitespace-newline, whitespace-space)
12350 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12351 (whitespace-line, whitespace-space-before-tab)
12352 (whitespace-space-after-tab, whitespace-indentation)
12353 (whitespace-empty):
12354 * emulation/cua-base.el (cua-global-mark):
12355 * eshell/em-prompt.el (eshell-prompt):
12356 * net/newst-plainview.el (newsticker-new-item-face)
12357 (newsticker-old-item-face, newsticker-immortal-item-face)
12358 (newsticker-obsolete-item-face, newsticker-date-face)
12359 (newsticker-statistics-face, newsticker-default-face):
12360 * net/newst-reader.el (newsticker-feed-face)
12361 (newsticker-extra-face, newsticker-enclosure-face):
12362 * net/newst-treeview.el (newsticker-treeview-face)
12363 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12364 (newsticker-treeview-immortal-face)
12365 (newsticker-treeview-obsolete-face)
12366 (newsticker-treeview-selection-face):
12367 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12368 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12369 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12370 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12371 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12372 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12373 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12374 (mpuz-text):
12375 * progmodes/vera-mode.el (vera-font-lock-number)
12376 (vera-font-lock-function, vera-font-lock-interface):
12377 * textmodes/table.el (table-cell): Use new-style face specs, and
12378 don't use the old :bold and :italic attributes.
12379
12380 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12381 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12382 (ebrowse-member-class, ebrowse-progress): Likewise.
12383 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12384 (ebrowse-file-name-face, ebrowse-default-face)
12385 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12386 (ebrowse-progress-face): Remove obsolete faces.
12387
12388 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12389 Inherit from error and warning faces respectively.
12390
12391 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12392 Likewise.
12393 (flyspell-incorrect-face, flyspell-duplicate-face):
12394 Remove obsolete aliases.
12395
12396 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12397
12398 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12399 Avoid infloop.
12400
12401 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12402
12403 * startup.el (argv, argi): Make lexically scoped.
12404 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12405 * emacs-lisp/cl-macs.el: Use lexical-binding.
12406 Rename cl-bind-* to cl--bind-*.
12407 * files.el: Don't require `cl' since it doesn't use it.
12408 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12409
12410 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12411
12412 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12413 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12414 instead of calling external sort utility.
12415 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12416
12417 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12418
12419 * descr-text.el (describe-char): Mention how to insert the
12420 character, if the current input method doesn't support it.
12421 See the discussion in this thread for the details:
12422 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12423
12424 2012-06-08 Sam Steingold <sds@gnu.org>
12425
12426 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12427 XF86Back to previous-buffer.
12428 (minibuffer-local-map): Bind them to next-history-element and
12429 previous-history-element respectively.
12430 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12431 help-go-back respectively.
12432 * info.el (Info-mode-map): Bind them to Info-history-forward and
12433 Info-history-back respectively.
12434 These are the keys next to Up on the ThinkPad keyboard.
12435
12436 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12437
12438 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12439 * emacs-lisp/cl-macs.el: Provide itself.
12440 (cl--labels-convert-cache): New var.
12441 (cl--labels-convert): New function.
12442 (cl-flet, cl-labels): New implementation with new semantics, relying on
12443 lexical-binding.
12444 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12445 (cl-closure-vars, cl--function-convert-cache)
12446 (cl--function-convert): Move from cl-macs.el.
12447 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12448 rename by removing the "cl-" prefix.
12449 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12450
12451 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12454 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12455 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12456 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12457 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12458 (cl-hash-table-count): Add old compatibility aliases.
12459
12460 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12461 Use macroexpand-all-environment instead.
12462 (cl--old-macroexpand): New var.
12463 (cl--sm-macroexpand): New function.
12464 (cl-symbol-macrolet): Use it during macro expansion.
12465 (cl--function-convert-cache): New var.
12466 (cl--function-convert): New function, extracted from
12467 cl-macroexpand-all.
12468 (cl-lexical-let): Use it.
12469
12470 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12471 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12472 (cl-member): Remove old alias.
12473
12474 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12475 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12476 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12477 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12478 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12479 (cl-macroexpand-cmacs): Remove var.
12480 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12481 Use macroexpand-all instead.
12482
12483 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12486 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12487 (macroexp-copyable-p): New functions and macros.
12488 * emacs-lisp/edebug.el (edebug-unwrap):
12489 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12490 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12491 (pcase--let*): Remove.
12492 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12493 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12494 macroexp-const-p instead.
12495 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12496
12497 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12498 instead of "cl-" for internal definitions. Use macroexp-const-p.
12499 (cl-old-bc-file-form): Remove var.
12500 (cl-const-exprs-p): Remove fun.
12501 (cl-labels, cl-macrolet): Use backquote.
12502 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12503 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12504 (cl-define-setf-expander): Rename from cl-define-setf-method.
12505 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12506
12507 * international/mule-cmds.el: Don't require CL.
12508 (view-hello-file): Don't use `letf'.
12509
12510 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * tmm.el (tmm-prompt): Use string-prefix-p.
12513 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12514 (tmm-add-prompt): Use minibuffer-completion-help.
12515 (tmm-delete-map): Remove.
12516
12517 * subr.el (kbd): Make it its own function.
12518
12519 2012-06-07 Stefan Merten <smerten@oekonux.de>
12520
12521 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12522 Silence compiler warnings. Fix versions.
12523 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12524 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12525 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12526 (rst-package-emacs-version-alist): Correct Emacs version to
12527 represent major merge with upstream.
12528 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12529
12530 2012-06-06 Glenn Morris <rgm@gnu.org>
12531
12532 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12533 Only print environment variables if set.
12534
12535 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12536
12537 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12538 (macroexp--cons): Rename from maybe-cons.
12539 (macroexp--accumulate): Rename from macroexp-accumulate.
12540 (macroexp--all-forms): Rename from macroexpand-all-forms.
12541 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12542 (macroexp--expand-all): Rename from macroexpand-all-1.
12543
12544 2012-06-06 Sam Steingold <sds@gnu.org>
12545
12546 * calendar/calendar.el (calendar-in-read-only-buffer):
12547 Call `special-mode' to enable the standard read-only keybindings.
12548
12549 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12550
12551 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12552 with "loading" messages (bug#11635).
12553
12554 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12555
12556 * files.el (enable-remote-dir-locals): New option.
12557 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12558
12559 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12560 Ensure, that the temp directory is local.
12561
12562 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12563 `temporary-file-directory'.
12564
12565 * progmodes/python.el (python-send-region): Ensure, that the
12566 temporary file is created also in the remote case.
12567
12568 2012-06-06 Glenn Morris <rgm@gnu.org>
12569
12570 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12571 (vc-rcs-update-changelog): Use it.
12572
12573 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12574
12575 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12576 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12577 (vc-sccs-diff): Replace use of the external vcdiff script.
12578
12579 2012-06-05 Glenn Morris <rgm@gnu.org>
12580
12581 * ledit.el: Move to obsolete/.
12582
12583 2012-06-05 Sam Steingold <sds@gnu.org>
12584
12585 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12586 patch (Bug#11140).
12587
12588 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * emacs-lisp/cust-print.el: Move to obsolete.
12591
12592 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12593 compiler-macro expansion.
12594
12595 Add native compiler-macro support.
12596 * emacs-lisp/macroexp.el (macroexpand-all-1):
12597 Support compiler-macros directly. Properly follow aliases and apply
12598 the compiler macros more thoroughly.
12599 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12600 macroexpand now properly follows aliases.
12601 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12602 (cl-compiler-macroexpand): Use new prop.
12603 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12604
12605 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12606
12607 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12608
12609 * window.el (get-lru-window, get-mru-window, get-largest-window):
12610 New argument NOT-SELECTED to avoid picking the selected window.
12611 (window--display-buffer-1, window--display-buffer-2): Replace by
12612 new function window--display-buffer
12613 (display-buffer-same-window, display-buffer-reuse-window)
12614 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12615 Use window--display-buffer.
12616 (display-buffer-use-some-window): Remove temporary dedication
12617 hack by calling get-lru-window and get-largest-window with
12618 NOT-SELECTED argument non-nil. Call window--display-buffer.
12619
12620 2012-06-05 Glenn Morris <rgm@gnu.org>
12621
12622 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12623 Replace external vcdiff script.
12624
12625 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12628
12629 2012-06-04 Chong Yidong <cyd@gnu.org>
12630
12631 * image.el (imagemagick-types-inhibit): Revert last change.
12632 Add INFO and M.
12633 (imagemagick-enabled-types): Remove CIN and EPS*.
12634
12635 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * emacs-lisp/cl-lib.el: Rename from cl.el.
12638 * emacs-lisp/cl.el: New compatibility file.
12639 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12640 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12641 to obey the "cl-" prefix.
12642 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12643
12644 2012-06-03 Glenn Morris <rgm@gnu.org>
12645
12646 * emacs-lisp/authors.el (authors-aliases): Addition.
12647
12648 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12649 Fix :version.
12650
12651 2012-06-03 Stefan Merten <smerten@oekonux.de>
12652
12653 * textmodes/rst.el: Add comments.
12654 (rst-transition, rst-adornment): New faces.
12655 (rst-adornment-faces-alist): Make default safe to reevaluate.
12656 Fixes
12657 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12658 Improve customization tags.
12659 (rst-define-level-faces): Clarify meaning.
12660
12661 2012-06-03 Chong Yidong <cyd@gnu.org>
12662
12663 * progmodes/compile.el (compilation-mode-line-fail)
12664 (compilation-mode-line-run, compilation-mode-line-exit):
12665 New faces.
12666 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12667
12668 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12669
12670 * progmodes/which-func.el (which-func-update-ediff-windows):
12671 New function. Use it in ediff-select-hook (Bug#11478).
12672
12673 2012-06-03 Chong Yidong <cyd@gnu.org>
12674
12675 * bindings.el: Remove explicit help text from format-mode-line.
12676 It is now supplied by mode-line-default-help-echo.
12677 (mode-line-front-space, mode-line-end-spaces)
12678 (mode-line-misc-info): New variables.
12679 (mode-line-modes, mode-line-position): Move the default value to
12680 the variable definition.
12681 (mode-line-default-help-echo): New defcustom.
12682 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12683 (mode-line-modified-help-echo): New functions.
12684 (mode-line-mule-info, mode-line-modified): Use them.
12685 (mode-line-eol-desc, propertized-buffer-identification):
12686 Consistency fixes for help text.
12687 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12688 set-buffer-file-coding-system (Bug#289).
12689 (mode-line-mule-info-help-echo): Update help text.
12690
12691 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12692
12693 * simple.el (execute-extended-command): Set real-this-command
12694 (bug#11506).
12695
12696 2012-06-02 Chong Yidong <cyd@gnu.org>
12697
12698 Remove incorrect uses of "modeline" in comments, docstrings, and
12699 function/variable names (Bug#10329).
12700
12701 * cus-edit.el (mode-line):
12702 * dframe.el (dframe-mouse-hscroll):
12703 * emacs-lisp/re-builder.el:
12704 * emacs-lisp/easy-mmode.el (define-minor-mode):
12705 * frame.el (set-frame-name):
12706 * help.el (lookup-minor-mode-from-indicator):
12707 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12708 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12709 (c-toggle-hungry-state):
12710 * progmodes/antlr-mode.el (antlr-language-alist):
12711 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12712 * progmodes/vhdl-mode.el (vhdl-mode):
12713 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12714 * term/ns-win.el (ns-face-at-pos):
12715 * term/sup-mouse.el (sup-mouse-report):
12716 * textmodes/flyspell.el (flyspell-mode-line-string):
12717 * textmodes/ispell.el (ispell-highlight-face):
12718 * textmodes/reftex-global.el:
12719 * vc/vc-arch.el (vc-arch-mode-line-string):
12720 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12721 * vc/vc-git.el (vc-git-mode-line-string):
12722 * vc/vc-hooks.el (vc-display-status)
12723 (vc-default-mode-line-string):
12724 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12725
12726 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12727
12728 * dired.el (dired-sort-set-mode-line): Rename from
12729 dired-sort-set-modeline. All callers changed.
12730
12731 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12732 eshell-status-in-modeline.
12733
12734 * foldout.el (foldout-mode-line-string): Rename from
12735 foldout-modeline-string. All callers changed.
12736 (foldout-update-mode-line): Rename from foldout-update-modeline.
12737
12738 * subr.el (redraw-modeline): Make into obsolete alias.
12739
12740 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12741 timeclock-modeline-display. Make old name an alias.
12742 (timeclock-update-mode-line): Likewise. All callers changed.
12743 (timeclock-mode-line-display): No need to check before using
12744 add-hook.
12745 (timeclock-relative, timeclock-day-over-hook)
12746 (timeclock-use-elapsed, timeclock-mode-string)
12747 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12748
12749 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12750 crisp-mode-modeline-string.
12751
12752 * play/solitaire.el (solitaire-build-mode-line): Rename from
12753 solitaire-build-modeline. All callers changed.
12754
12755 * play/zone.el (zone-hiding-mode-line): Rename from
12756 zone-hiding-modeline. All callers changed.
12757 (zone): Remove unusued `modeline-hidden-level' property.
12758
12759 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12760 xscheme-modeline-initialize. All callers changed.
12761
12762 * strokes.el (strokes-lighter): Rename from
12763 strokes-modeline-string.
12764
12765 * textmodes/sgml-mode.el (html-face-tag-alist)
12766 (html-tag-face-alist): Use mode-line face instead of obsolete
12767 alias modeline.
12768
12769 2012-06-02 Stefan Merten <smerten@oekonux.de>
12770
12771 * textmodes/rst.el: Always require `cl'.
12772 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12773
12774 2012-06-02 Chong Yidong <cyd@gnu.org>
12775
12776 * image.el (imagemagick-enabled-types): Rename from
12777 imagemagick-types-enable. Add many more types.
12778 (imagemagick-types-inhibit): Change default to nil.
12779 (imagemagick-filter-types): Caller changed.
12780
12781 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12782
12783 * emacs-lisp/cl-macs.el: Use backquotes.
12784 (cl-transform-function-property): Use eval-and-compile rather than
12785 abusing `require'.
12786 (defstruct): Use declare-function instead of with-no-warnings.
12787
12788 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12789 (byte-compile-output-docform): Re-add the print-circle bindings.
12790 (byte-compile-fix-header): Use #$ just because it's shorter.
12791 (byte-compile-output-file-form): Remove defun/defmacro.
12792
12793 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12794
12795 * simple.el (choose-completion): Remove now obsolete binding for
12796 owindow.
12797
12798 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12799
12800 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12801 in order to avoid "Stack overflow in regexp matcher".
12802
12803 2012-05-31 Glenn Morris <rgm@gnu.org>
12804
12805 * image.el: For clarity, call imagemagick-register-types at
12806 top-level, rather than relying on a custom :initialize.
12807 (imagemagick-types-enable): New option. (Bug#11557)
12808 (imagemagick-filter-types): New function. (Bug#7406)
12809 (imagemagick-register-types): Use imagemagick-filter-types.
12810 If disabling support, remove elements altogether rather
12811 than using an impossible regexp.
12812 (imagemagick-types-inhibit): Give it the default init function.
12813
12814 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12815
12816 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12817 Handle arbitrary file name lengths (Bug#11585).
12818
12819 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12820
12821 * desktop.el (desktop-read): Clear previous and next buffers for
12822 all windows and bury *Messages* buffer (bug#11556).
12823
12824 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 Add `declare' for `defun'. Align `defmacro's with it.
12827 * emacs-lisp/easy-mmode.el (define-minor-mode)
12828 (define-globalized-minor-mode): Don't autoload the var definitions.
12829 * emacs-lisp/byte-run.el: Use lexical-binding.
12830 (defun-declarations-alist, macro-declarations-alist): New vars.
12831 (defmacro, defun): Use them.
12832 (make-obsolete, define-obsolete-function-alias)
12833 (make-obsolete-variable, define-obsolete-variable-alias):
12834 Use `declare'.
12835 (macro-declaration-function): Mark obsolete.
12836 * emacs-lisp/autoload.el: Use lexical-binding.
12837 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12838
12839 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12840
12841 * textmodes/ispell.el (ispell-with-no-warnings):
12842 Define as a macro.
12843 (ispell-kill-ispell, ispell-change-dictionary):
12844 Use `called-interactively-p' for Emacs instead of obsolete
12845 `interactive-p'.
12846
12847 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12850 (macro-declaration-function): Move var from C code.
12851 (macro-declaration-function): Define function with defalias.
12852 * emacs-lisp/macroexp.el (macroexpand-all-1):
12853 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12854 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12855 defun/defmacro any more.
12856 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12857 Provide fallback for unknown arglist.
12858 (byte-compile-arglist-warn): Change calling convention.
12859 (byte-compile-output-file-form): Move print-vars binding.
12860 (byte-compile-output-docform): Simplify accordingly.
12861 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12862 (byte-compile-defmacro-declaration): Remove.
12863 (byte-compile-file-form-defmumble): Generalize to defalias.
12864 (byte-compile-output-as-comment): Return byte-positions.
12865 Simplify callers accordingly.
12866 (byte-compile-lambda): Use `assert'.
12867 (byte-compile-defun, byte-compile-defmacro): Remove.
12868 (byte-compile-file-form-defalias):
12869 Use byte-compile-file-form-defmumble.
12870 (byte-compile-defalias-warn): Remove.
12871
12872 2012-05-29 Stefan Merten <smerten@oekonux.de>
12873
12874 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12875 possible. Fix authors. Improve comments. Improve loading of `cl'.
12876
12877 (rst-mode-abbrev-table): Merge definition.
12878 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12879 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12880
12881 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12882
12883 * calendar/icalendar.el
12884 (icalendar-export-region): Export UID properly.
12885
12886 2012-05-29 Leo Liu <sdl.web@gmail.com>
12887 * calendar/icalendar.el (icalendar-import-format):
12888 Add `icalendar-import-format-uid' (Bug#11525).
12889 (icalendar-import-format-uid): New.
12890 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12891 Export UID.
12892
12893 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12896 different alternative patterns.
12897 (pcase-codegen): Be more careful to preserve identity.
12898 (pcase--u1): Don't forget to mark vars as used.
12899
12900 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12901 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12902 (byte-compile-from-buffer): ...rather than here.
12903
12904 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12905 functions from byte-compile-function-environment.
12906
12907 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12908
12909 * window.el (window-deletable-p): Avoid deleting the root window
12910 of a frame with an active minibuffer.
12911
12912 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12913
12914 * simple.el (choose-completion): Use quit-window (Bug#11567).
12915
12916 2012-05-29 Chong Yidong <cyd@gnu.org>
12917
12918 * whitespace.el (whitespace-cleanup): Fix usage of
12919 whitespace-empty-at-bob-regexp (Bug#11492).
12920
12921 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12922
12923 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12924 revert (Bug#11488).
12925
12926 2012-05-29 Juri Linkov <juri@jurta.org>
12927
12928 * isearch.el (isearch-mode-map): Bind `M-s _' to
12929 `isearch-toggle-symbol'. Bind `M-s c' to
12930 `isearch-toggle-case-fold'.
12931 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12932 (isearch-forward): Add `M-s _' to the docstring.
12933 (isearch-forward-symbol, isearch-toggle-case-fold)
12934 (isearch-symbol-regexp): New functions. (Bug#11381)
12935
12936 2012-05-29 Juri Linkov <juri@jurta.org>
12937
12938 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12939 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12940 a function, call it to get the regexp.
12941 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12942 property `isearch-message-prefix' instead of the string "word ".
12943 (isearch-search-fun-default): For the case of `isearch-word',
12944 return a lambda that calls re-search-forward/re-search-backward
12945 with a regexp returned by `word-search-regexp' or by the function
12946 in `isearch-word'.
12947
12948 2012-05-29 Juri Linkov <juri@jurta.org>
12949
12950 * isearch.el (isearch-search-fun-default): New function.
12951 (isearch-search-fun): Move default part to the new function
12952 `isearch-search-fun-default'.
12953 (isearch-search-fun-function): Set the default value to
12954 `isearch-search-fun-default'. (Bug#11381)
12955
12956 * comint.el (comint-history-isearch-end):
12957 Use `isearch-search-fun-default'.
12958 (comint-history-isearch-search): Use `isearch-search-fun-default'
12959 and remove spacial case for `isearch-word'.
12960 (comint-history-isearch-wrap): Remove spacial case for
12961 `isearch-word'.
12962
12963 * hexl.el (hexl-isearch-search-function):
12964 Use `isearch-search-fun-default'.
12965
12966 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12967 Use `word-search-regexp' for `isearch-word'.
12968
12969 * misearch.el (multi-isearch-search-fun):
12970 Use `isearch-search-fun-default'.
12971
12972 * simple.el (minibuffer-history-isearch-search):
12973 Use `isearch-search-fun-default' and remove spacial case for
12974 `isearch-word'.
12975 (minibuffer-history-isearch-wrap): Remove spacial case for
12976 `isearch-word'.
12977
12978 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12979 Remove spacial case for `isearch-word'.
12980 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12981
12982 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12983
12984 Decrease XEmacs incompatibilities.
12985 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12986 Use `string-match'.
12987 (flyspell-delete-region-overlays): Use alternative definition for
12988 XEmacs.
12989 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12990 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12991 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12992 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12993 `define-obsolete-face-alias' under XEmacs, but old method.
12994
12995 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12996 `with-no-warnings' definition or Emacs alias.
12997 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12998 (ispell-word): Do not use `region-p' if XEmacs.
12999
13000 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13001
13002 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13003 Check for `ispell-dictionary-base-alist' instead of full
13004 `ispell-dictionary-alist'.
13005 (ispell-init-process): Show spellchecker when starting new Ispell
13006 process.
13007
13008 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13009
13010 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13011 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13012
13013 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13014
13015 * version.el (motif-version-string, gtk-version-string)
13016 (ns-version-string): Declare.
13017
13018 2012-05-27 Juri Linkov <juri@jurta.org>
13019
13020 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13021 after the `eval-defun-1' specialcaseing
13022 like in `edebug-eval-defun' (bug#10181).
13023
13024 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13025 like in `eval-defun-1'.
13026
13027 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13028
13029 * mail/sendmail.el (mail-yank-region):
13030 Recognize rmail-yank-current-message in addition to insert-buffer.
13031 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13032 a *mail* buffer created through rmail-start-mail with sendmail as
13033 mail-user-agent.
13034
13035 2012-05-27 Chong Yidong <cyd@gnu.org>
13036
13037 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13038 Default to 256 (Bug#11267).
13039
13040 * help.el (describe-mode): Doc fix.
13041
13042 2012-05-26 Glenn Morris <rgm@gnu.org>
13043
13044 * w32-fns.el (w32-init-info): Remove.
13045 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13046
13047 * info.el (info-initialize): For self-contained NS builds, put the
13048 included info/ directory at the front. (Bug#2791)
13049
13050 * paths.el (Info-default-directory-list): Make it a defcustom,
13051 mainly so that we can use custom-initialize-delay.
13052
13053 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13054
13055 * subr.el (buffer-has-markers-at): Mark obsolete.
13056
13057 * subr.el (lambda): Use declare.
13058
13059 * emacs-lisp/lisp-mode.el (lambda):
13060 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13061
13062 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13063
13064 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13065
13066 2012-05-26 Glenn Morris <rgm@gnu.org>
13067
13068 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13069
13070 2012-05-25 Glenn Morris <rgm@gnu.org>
13071
13072 * paths.el: Remove no-byte-compile.
13073 * loadup.el: No need to load paths.el uncompiled.
13074
13075 * image.el (imagemagick-types-inhibit): Doc fix.
13076
13077 * version.el: Remove no-byte-compile and associated formatting.
13078 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13079 is ancient code from when there was an "inc-vers.el".
13080
13081 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * progmodes/gdb-mi.el: Minor style changes.
13084 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13085 Turn into minor modes.
13086 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13087 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13088 (gdb-shell): Remove unneeded let-binding.
13089 (gdb-get-many-fields): Eliminate O(n²) behavior.
13090
13091 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13092
13093 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13094 platforms that don't link in fontset.c.
13095
13096 2012-05-25 Juri Linkov <juri@jurta.org>
13097
13098 Use the same diff color scheme as in modern VCSes (bug#10181).
13099
13100 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13101 to avoid confusion with `diff-added' that now uses green colors.
13102 (diff-removed): Use shades of red.
13103 (diff-added): Use shades of green.
13104 (diff-changed): Leave just the yellow color.
13105 (diff-use-changed-face): New variable.
13106 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13107 how to highlight context diff changes.
13108 (diff-refine-change): Use shades of yellow.
13109 (diff-refine-removed): New face that uses shades of red.
13110 (diff-refine-added): New face that uses shades of green.
13111 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13112 `diff-refine-removed' in the call to `smerge-refine-subst'
13113 depending on the value of `diff-use-changed-face'.
13114
13115 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13116 (smerge-other): Use shades of green.
13117 (smerge-base): Use shades of yellow.
13118 (smerge-refined-change): Empty face.
13119 (smerge-refined-removed): New face that uses shades of red.
13120 (smerge-refined-added): New face that uses shades of green.
13121 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13122 args `props-r' and `props-a', and use them. Doc fix.
13123 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13124 on its value use different faces `smerge-refined-change',
13125 `smerge-refined-removed', `smerge-refined-added' in the call to
13126 `smerge-refine-subst'.
13127
13128 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13129 Add face condition `min-colors 88' with shades of red.
13130 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13131 `min-colors 88' with shades of green.
13132 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13133 `min-colors 88' with shades of yellow.
13134
13135 2012-05-24 Glenn Morris <rgm@gnu.org>
13136
13137 * paths.el (prune-directory-list, remote-shell-program): Move to...
13138 * files.el (prune-directory-list, remote-shell-program): ...here.
13139 For the latter, delay initialization, prefer ssh, just search PATH.
13140
13141 * paths.el (term-file-prefix): Move to faces.el (the only user).
13142 * faces.el (term-file-prefix): Move here, make it a defcustom.
13143
13144 * paths.el (news-directory, news-path, news-inews-program):
13145 Move to gnus/nnspool.el.
13146
13147 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13148
13149 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13150 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13151 Make the latter a defcustom, with a delayed initialization.
13152
13153 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13154 These were deleted from Gnus itself late 2010.
13155
13156 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13157
13158 * progmodes/which-func.el (which-func-ff-hook):
13159 Check against user-error, not error.
13160
13161 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13162 cl-specs.el, which no longer exists.
13163
13164 2012-05-22 Glenn Morris <rgm@gnu.org>
13165
13166 * info.el (info-emacs-bug): New command.
13167 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13168 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13169
13170 2012-05-21 Glenn Morris <rgm@gnu.org>
13171
13172 * makefile.w32-in (update-subdirs-SH):
13173 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13174
13175 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13176
13177 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13178
13179 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13180 Simplify Maven regexp, and make sure the file can't start with a space
13181 (bug#11517).
13182
13183 2012-05-21 Glenn Morris <rgm@gnu.org>
13184
13185 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13186 Scrap superfluous subshells.
13187
13188 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13191 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13192
13193 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13194
13195 * calc/calc.el (calc-ensure-consistent-units): New variable.
13196
13197 * calc/calc-units.el (math-consistent-units-p)
13198 (math-check-unit-consistency): New functions.
13199 (calc-quick-units, calc-convert-units):
13200 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13201 is non-nil.
13202 (calc-extract-units): Fix typo.
13203
13204 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13207
13208 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13209 (flyspell-default-deplacement-commands): Don't spell check after
13210 repeated window/frame switches (e.g. triggered by mouse-movement).
13211 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13212 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13213 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13214 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13215 Remove unused vars.
13216 (flyspell-get-casechars, flyspell-get-not-casechars):
13217 Simplify; Don't bother removing a ] just to add it back.
13218 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13219
13220 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13221
13222 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13223 New functions.
13224 (math-function-table): Add support for more C functions.
13225
13226 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13227
13228 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13229 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13230 Protect delay handling for otherchars against empty otherchars.
13231
13232 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13235 their respective macro declarations.
13236 * skeleton.el (define-skeleton):
13237 * progmodes/compile.el (define-compilation-mode):
13238 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13239 (define-ibuffer-filter):
13240 * emacs-lisp/generic.el (define-generic-mode):
13241 * emacs-lisp/easy-mmode.el (define-minor-mode)
13242 (define-globalized-minor-mode):
13243 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13244 * emacs-lisp/byte-run.el (defsubst):
13245 * custom.el (deftheme): Add doc-string metadata.
13246
13247 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13250
13251 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13252
13253 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13254
13255 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13256 * emacs-lisp/cl-macs.el: Idem.
13257 * emacs-lisp/cl-specs.el: Remove.
13258
13259 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 Minor renaming of internal CL functions and variables.
13262 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13263 (cl--position): Rename from cl-position.
13264 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13265 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13266 (cl--random-state): Rename from *random-state*.
13267
13268 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13271 parens around the arg list (bug#11499).
13272
13273 2012-05-17 Juri Linkov <juri@jurta.org>
13274
13275 * isearch.el (word-search-regexp, word-search-backward)
13276 (word-search-forward, word-search-backward-lax)
13277 (word-search-forward-lax): Move functions from search.c
13278 (bug#10145, bug#11381).
13279
13280 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13281
13282 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13283 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13284 Delay for otherchars as for normal word components.
13285
13286 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * minibuffer.el (completion--sifn-requote): Fix last change.
13289 (minibuffer-local-must-match-filename-map):
13290 Move define-obsolete-variable-alias before its var.
13291
13292 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13293
13294 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13295
13296 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13297 behavior.
13298 (completion--string-equal-p): New function.
13299 (completion--twq-all): Use it to get better assertion failure data.
13300
13301 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13302 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13303 (shell--requote-argument): New functions.
13304 (shell-completion-vars): Use them.
13305 (shell--parse-pcomplete-arguments): Rename from
13306 shell-parse-pcomplete-arguments.
13307 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13308 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13309 Obey comint-file-name-quote-list.
13310
13311 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13312 (smie-indent-keyword): Use it.
13313
13314 2012-05-14 Stefan Merten <smerten@oekonux.de>
13315
13316 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13317
13318 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13319
13320 * net/rlogin.el (rlogin-mode-map): Fix last change.
13321
13322 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13323
13324 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13325 the following \r\n using a single `process-send-string', since the
13326 Lotus SMTP server refuses to accept any commands if they are sent
13327 with two `process-send-string's (Bug#11444).
13328
13329 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 * shell.el (shell-parse-pcomplete-arguments):
13332 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13333
13334 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13335
13336 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13337 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13338 (image-transform-width, image-transform-fit-width): New functions.
13339 (image-transform-properties): Use them.
13340 (image-transform-check-size): New function.
13341 (image-toggle-display-image): Use it (for testing).
13342 (image-transform-set-rotation): Reduce angle mod 360.
13343 Delete obsolete comment.
13344
13345 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13346
13347 * image-mode.el: Fix scaling (bug#11399).
13348 (image-transform-resize): Doc fix.
13349 (image-transform-properties): Default scale is 1 and height should
13350 be an integer.
13351
13352 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13353
13354 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13355 than hard-coding `car', to fix misbehavior when moving forward.
13356
13357 2012-05-13 Chong Yidong <cyd@gnu.org>
13358
13359 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13360 (tabulated-list-entries, tabulated-list-padding)
13361 (tabulated-list-sort-key): Make permanent-local.
13362
13363 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13364 (electric-buffer-list): Put electric buffer menu
13365 command descriptions in this docstring, instead of the docstring
13366 of electric-buffer-menu-mode. Code cleanups.
13367 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13368 Electric-buffer-menu-mode.
13369 (electric-buffer-update-highlight): Minor code cleanup.
13370
13371 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13372
13373 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13374 (Bug#11447)
13375
13376 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13377
13378 Move define-obsolete-variable-alias before the var's definition.
13379 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13380 * tooltip.el (tooltip-hook):
13381 * textmodes/reftex-toc.el (reftex-toc-map):
13382 * textmodes/reftex-sel.el (reftex-select-label-map)
13383 (reftex-select-bib-map):
13384 * textmodes/reftex-index.el (reftex-index-map)
13385 (reftex-index-phrases-map):
13386 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13387 * progmodes/meta-mode.el (meta-mode-map):
13388 * novice.el (disabled-command-hook):
13389 * loadhist.el (unload-hook-features-list):
13390 * frame.el (blink-cursor):
13391 * files.el (find-file-not-found-hooks, write-file-hooks)
13392 (write-contents-hooks):
13393 * emulation/tpu-edt.el (GOLD-map):
13394 * emacs-lock.el (emacs-lock-from-exiting):
13395 * emacs-lisp/generic.el (generic-font-lock-defaults):
13396 * emacs-lisp/chart.el (chart-map):
13397 * dos-fns.el (register-name-alist):
13398 * dired-x.el (dired-omit-files-p):
13399 * desktop.el (desktop-enable):
13400 * cus-edit.el (custom-mode-hook):
13401 * buff-menu.el (buffer-menu-mode-hook):
13402 * bookmark.el (bookmark-read-annotation-text-func)
13403 (bookmark-exit-hooks):
13404 * allout.el (allout-mode-deactivate-hook)
13405 (allout-exposure-change-hook, allout-structure-added-hook)
13406 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13407 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13408 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13409 comes before the corresponding variable's definition.
13410
13411 2012-05-12 Chong Yidong <cyd@gnu.org>
13412
13413 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13414 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13415 (Buffer-menu-mode-map): Bind it.
13416 (Buffer-menu--pretty-name): Add a mouse-face property.
13417
13418 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13419
13420 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13421 (prolog-upper-case-string, prolog-lower-case-string)
13422 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13423 (prolog-use-smie, prolog-smie-grammar): New vars.
13424 (prolog-smie-forward-token, prolog-smie-backward-token)
13425 (prolog-smie-rules): New funs.
13426 (prolog-comment-indent): Remove.
13427 (prolog-mode-variables): Use default comment indentation instead.
13428 Setup SMIE.
13429 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13430 (prolog-mode): Don't call them any more.
13431 (prolog-electric-colon, prolog-electric-dash)
13432 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13433
13434 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13435
13436 * minibuffer.el (completion--twq-all): Again, allow case differences.
13437
13438 * term.el: Move keymap initialization code to be more idiomatic.
13439 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13440 (term-terminal-menu): Move initialization into declaration.
13441 (term-escape-char): Let the user set it in her .emacs.
13442
13443 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13444 Provide SMIE-based indentation (not enabled by default yet).
13445 (sh-mode-map): Don't bind electric keys.
13446 Use electric-pair-mode instead of skeleton-pair.
13447 (sh-assignment-regexp): Fit within 80 columns.
13448 (sh-indent-supported): Specify actual shell name instead of boolean.
13449 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13450 (sh-maybe-here-document): Use it. Make obsolete.
13451 (sh-electric-here-document-mode) New minor mode.
13452 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13453 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13454 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13455 (sh-smie-rc-grammar, sh-use-smie): New vars.
13456 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13457 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13458 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13459 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13460 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13461 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13462 (sh-set-shell): Use smie-setup if requested.
13463
13464 * term.el (term-set-escape-char): Properly set term-escape-char.
13465 See http://stackoverflow.com/questions/10524656.
13466
13467 2012-05-10 Chong Yidong <cyd@gnu.org>
13468
13469 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13470 Use url-generic-parse-url, and handle host names and Windows
13471 filenames properly.
13472 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13473 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13474 URL schemes to work on.
13475 (ffap--toggle-read-only): New function.
13476 (ffap-read-only, ffap-read-only-other-window)
13477 (ffap-read-only-other-frame): Use it.
13478 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13479 necessary for ffap-url-unwrap-remote.
13480
13481 2012-05-10 Dave Abrahams <dave@boostpro.com>
13482
13483 * cus-start.el (create-lockfiles): Add it.
13484
13485 2012-05-09 Chong Yidong <cyd@gnu.org>
13486
13487 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13488 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13489
13490 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13493
13494 2012-05-09 Chong Yidong <cyd@gnu.org>
13495
13496 * ansi-color.el (ansi-color-process-output): Check for validity of
13497 comint-last-output-start before using it. This avoids a bad
13498 interaction with gdb-mi's input/output buffer.
13499
13500 2012-05-09 Glenn Morris <rgm@gnu.org>
13501
13502 * files.el (dir-locals-read-from-file):
13503 Mention dir-locals in any error message.
13504
13505 2012-05-09 Chong Yidong <cyd@gnu.org>
13506
13507 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13508 package (Bug#11410).
13509
13510 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13511 variables into description.
13512
13513 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13514
13515 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13516 shell-delimiter-argument-list (bug#11348).
13517 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13518
13519 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13520
13521 * textmodes/rst.el: Silence byte-compiler warnings.
13522 (rst-re-alist, rst-reset-section-caches): Move around.
13523 (rst-re): Use `characterp', not `char-valid-p'.
13524 (font-lock-beg, font-lock-end): Declare.
13525
13526 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13527 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13528
13529 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13530
13531 2012-05-08 Glenn Morris <rgm@gnu.org>
13532
13533 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13534
13535 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * vc/log-edit.el: Add GNU coding standards highlighting.
13538 (log-edit-font-lock-gnu-style)
13539 (log-edit-font-lock-gnu-keywords): New vars.
13540 (log-edit-font-lock-keywords): New fun.
13541 (log-edit-mode): Don't fold case in font-lock.
13542 (log-edit-font-lock-keywords): Do not assume case-folding.
13543
13544 * imenu.el: Misc cleanup. Make docstrings out of comments.
13545 Use lexical-binding.
13546 (imenu--index-alist, imenu--last-menubar-index-alist)
13547 (imenu-menubar-modified-tick): Use defvar-local.
13548 (imenu--split-menu): Remove unused var.
13549 (imenu--cleanup-seen): Declare as global.
13550 (imenu--cleanup): Use dolist.
13551
13552 * subr.el (defvar-local): Add debug spec and doc-string position.
13553
13554 2012-05-08 Glenn Morris <rgm@gnu.org>
13555
13556 * language/burmese.el, language/cham.el, language/czech.el:
13557 * language/english.el, language/georgian.el, language/greek.el:
13558 * language/japanese.el, language/khmer.el, language/korean.el:
13559 * language/lao.el, language/misc-lang.el, language/romanian.el:
13560 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13561 * language/thai.el, language/utf-8-lang.el:
13562 Remove no-byte-compile setting.
13563
13564 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13565
13566 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13567
13568 * progmodes/make-mode.el (makefile-browse):
13569 Remove unnecessary interactive. (Bug#11324)
13570
13571 2012-05-07 Glenn Morris <rgm@gnu.org>
13572
13573 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13574
13575 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13576
13577 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * loadup.el: Preload newcomment.el.
13580 * newcomment.el: Move autoload-only code to toplevel.
13581
13582 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13583 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13584 Handle new :right-align column property.
13585 (tabulated-list-print-col): Idem, plus use `display' text-property to
13586 try and preserve alignment for variable pitch fonts.
13587
13588 2012-05-07 Chong Yidong <cyd@gnu.org>
13589
13590 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13591 (tabulated-list-use-header-line): New var.
13592 (tabulated-list-init-header): Use it.
13593 (tabulated-list-print-fake-header): New function.
13594 (tabulated-list-print): Use it.
13595 (tabulated-list-sort-button-map): Add non-header-line commands.
13596 (tabulated-list-init-header): Add column name property to basic
13597 labels as well.
13598 (tabulated-list-col-sort): Handle non-header-line button case.
13599 (tabulated-list--sort-by-column-name): Fix a corner case.
13600
13601 * buff-menu.el (list-buffers--refresh):
13602 Handle Buffer-menu-use-header-line.
13603
13604 2012-05-06 Chong Yidong <cyd@gnu.org>
13605
13606 * buff-menu.el: Convert to Tabulated List mode.
13607 (Buffer-menu-buffer+size-width): Make obsolete.
13608 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13609 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13610 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13611 documentation into docstring of buffer-menu.
13612 (Buffer-menu-toggle-files-only): Add an informative message.
13613 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13614 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13615 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13616 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13617 (Buffer-menu-execute, Buffer-menu-select)
13618 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13619 (Buffer-menu-bury): Use Tabulated List machinery.
13620 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13621 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13622 Delete.
13623 (list-buffers--refresh): New function.
13624 (list-buffers-noselect): Use it.
13625 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13626 (Buffer-menu--pretty-file-name): New helper functions.
13627
13628 * loadup.el: Preload tabulated-list.
13629
13630 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13631 tabulated-list-sort-column.
13632 (tabulated-list-init-header): Add the initial aligning space even
13633 if tabulated-list-padding is zero.
13634
13635 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13636
13637 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13638 whose cdr is not a cons cell correctly (bug#11038).
13639
13640 2012-05-06 Chong Yidong <cyd@gnu.org>
13641
13642 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13643 Accept additional plist in column descriptors.
13644 (tabulated-list-init-header): Obey it.
13645 (tabulated-list-get-entry): New function.
13646 (tabulated-list-put-tag): Use it. Use string-width instead of
13647 length.
13648 (tabulated-list--column-number): New function.
13649 (tabulated-list-print): Use it.
13650 (tabulated-list-print-col): New function.
13651 Set `tabulated-list-column-name' property on each column's text.
13652 (tabulated-list-print-entry): Use it.
13653 (tabulated-list-delete-entry, tabulated-list-set-col):
13654 New functions.
13655 (tabulated-list-sort-column): New command (Bug#11337).
13656
13657 * buff-menu.el (list-buffers): Move C-x C-b binding from
13658 buff-menu.el to bindings.el.
13659
13660 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13661 :advertised-binding feature.
13662
13663 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13664
13665 * progmodes/compile.el (compilation-internal-error-properties):
13666 Calculate start position correctly when end-col is set but
13667 end-line is not (Bug#11382).
13668
13669 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13670
13671 * man.el (Man-unindent): Use text-property-default-nonsticky to
13672 prevent untabify from inheriting face properties (Bug#11408).
13673
13674 2012-05-05 Stefan Merten <smerten@oekonux.de>
13675
13676 * textmodes/rst.el: Major merge with upstream development up to
13677 Docutils SVN r7399 / rst.el V1.2.1.
13678
13679 Clarify maintainership and authors.
13680
13681 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13682 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13683 (rst-official-version, rst-official-cvs-rev, rst-version)
13684 (rst-package-emacs-version-alist): New functions and variables
13685 for version information.
13686
13687 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13688 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13689 (rst-mode-syntax-table, rst-mode): New and corrected functions
13690 and variables representing reStructuredText features.
13691
13692 (rst-re): New function for reStructuredText regexes. Use in
13693 many places.
13694
13695 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13696 (rst-mode-map): Rebind keys.
13697
13698 (rst-mode-lazy, rst-font-lock-keywords)
13699 (rst-font-lock-extend-region)
13700 (rst-font-lock-extend-region-internal)
13701 (rst-font-lock-extend-region-extend)
13702 (rst-font-lock-find-unindented-line-limit)
13703 (rst-font-lock-find-unindented-line-match)
13704 (rst-adornment-level, rst-font-lock-adornment-level)
13705 (rst-font-lock-adornment-match)
13706 (rst-font-lock-handle-adornment-pre-match-form)
13707 (rst-font-lock-handle-adornment-matcher): Major revision of
13708 font-locking. Integrate with other code. Use `jit-lock-mode'.
13709
13710 (rst-preferred-adornments, rst-adjust-hook)
13711 (rst-new-adornment-down, rst-preferred-bullets)
13712 (rst-preferred-bullets, rst-indent, rst-indent-width)
13713 (rst-indent-field, rst-indent-literal-normal)
13714 (rst-indent-literal-minimized, rst-indent-comment): Change,
13715 extend and improve customization.
13716
13717 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13718 (rst-normalize-cursor-position, rst-get-decoration)
13719 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13720 (rst-rstrip, rst-toc-insert-find-delete-contents)
13721 (rst-shift-fill-region, rst-compute-bullet-tabs)
13722 (rst-debug-print-tabs, rst-debug-mark-found)
13723 (rst-shift-region-guts, rst-shift-region-right)
13724 (rst-shift-region-left, rst-use-char-classes)
13725 (rst-font-lock-keywords-function)
13726 (rst-font-lock-indentation-point)
13727 (rst-font-lock-find-unindented-line-begin)
13728 (rst-font-lock-find-unindented-line-end)
13729 (rst-font-lock-find-unindented-line)
13730 (rst-font-lock-adornment-point, rst-font-lock-level)
13731 (rst-adornment-level-alist): Remove functions and variables.
13732
13733 (rst-compare-adornments, rst-get-adornment-match)
13734 (rst-suggest-new-adornment, rst-get-adornments-around)
13735 (rst-adornment-complete-p, rst-get-next-adornment)
13736 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13737 (rst-straighten-adornments): Standardize function names to
13738 use "adornment" instead of "decoration". Correct callers.
13739 Similar standardizing in many places.
13740
13741 (rst-update-section, rst-adjust, rst-promote-region)
13742 (rst-enumerate-region, rst-bullet-list-region)
13743 (rst-repeat-last-character): Correct use of `interactive'.
13744
13745 (rst-classify-adornment, rst-find-all-adornments)
13746 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13747 (rst-find-leftmost-column, rst-repeat-last-character):
13748 Refactor functions.
13749
13750 (rst-find-title-line, rst-reset-section-caches)
13751 (rst-get-adornments-around, rst-adjust-adornment-work)
13752 (rst-arabic-to-roman, rst-roman-to-arabic)
13753 (rst-insert-list-pos, rst-insert-list-new-item)
13754 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13755 New functions.
13756
13757 (rst-all-sections, rst-section-hierarchy)
13758 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13759 New variables.
13760
13761 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13762 configuration instead of only buffer. Change where necessary.
13763
13764 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13765 (rst-shift-region, rst-adaptive-fill): New functions for
13766 indentation and filling.
13767
13768 (rst-comment-line-break, rst-comment-indent)
13769 (rst-comment-insert-comment, rst-comment-region)
13770 (rst-uncomment-region): New functions for handling comments.
13771
13772 (rst-compile): Quote shell arguments.
13773
13774 (rst-compile-pdf-preview, rst-compile-slides-preview):
13775 Delete temporary files after use.
13776
13777 2012-05-05 Glenn Morris <rgm@gnu.org>
13778
13779 * calendar/cal-html.el: Optionally include holidays in the output.
13780 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13781 (cal-html-holidays): New option.
13782 (cal-html-css-default): Add holiday entry.
13783 (holiday-in-range): Autoload it.
13784 (cal-html-htmlify-entry): Add optional class argument.
13785 (cal-html-htmlify-list): Add optional holidays argument.
13786 (cal-html-insert-agenda-days): Include holidays in the output.
13787 (cal-html-one-month): Maybe include holidays.
13788
13789 * calendar/holidays.el (holiday-in-range):
13790 Move here from cal-tex-list-holidays.
13791 * calendar/cal-tex.el (cal-tex-list-holidays):
13792 Make it an obsolete alias for holiday-in-range. Update all callers.
13793
13794 2012-05-05 Chong Yidong <cyd@gnu.org>
13795
13796 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13797 Nextstep.
13798
13799 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13800
13801 * files.el (file-auto-mode-skip): New var.
13802 (set-auto-mode-1): Use it.
13803
13804 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13805
13806 * repeat.el: Use lexical-binding.
13807 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13808 (repeat-undo-count): Remove.
13809 (repeat):
13810 * progmodes/octave-mod.el (octave-abbrev-start):
13811 * progmodes/f90.el (f90-abbrev-start):
13812 * face-remap.el (text-scale-adjust):
13813 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13814
13815 * emacs-lisp/pcase.el (pcase--let*): New function.
13816 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13817 a bit more.
13818 (pcase--split-pred): Be more clever about ruling out overlap between
13819 a predicate and some constant pattern.
13820 (pcase--q1): Use `null' instead of (eq foo nil).
13821
13822 * subr.el (setq-local, defvar-local): New macros.
13823 (kbd): Redefine as an alias.
13824 (with-selected-window): Leave unrelated frames alone.
13825 (set-temporary-overlay-map): New function.
13826
13827 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13828
13829 * subr.el (user-error): New function.
13830 * window.el (switch-to-buffer):
13831 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13832 (smerge-match-conflict):
13833 * simple.el (previous-matching-history-element)
13834 (next-matching-history-element, goto-history-element, undo-more)
13835 (undo-start):
13836 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13837 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13838 (next-file, tags-loop-scan, list-tags, complete-tag):
13839 * progmodes/compile.el (compilation-loop):
13840 * mouse.el (mouse-minibuffer-check):
13841 * man.el (Man-bgproc-sentinel, Man-goto-page):
13842 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13843 (Info-history-forward, Info-follow-reference, Info-menu)
13844 (Info-extract-menu-item, Info-extract-menu-counting)
13845 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13846 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13847 (Info-next-reference, Info-prev-reference, Info-index)
13848 (Info-index-next, Info-follow-nearest-node)
13849 (Info-copy-current-node-name):
13850 * imenu.el (imenu--make-index-alist)
13851 (imenu-default-create-index-function, imenu-add-to-menubar):
13852 * files.el (basic-save-buffer, recover-file):
13853 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13854 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13855 (checkdoc-message-text, checkdoc-defun):
13856 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13857 * cus-edit.el (customize-changed-options, customize-rogue)
13858 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13859 (custom-variable-mark-to-reset-standard)
13860 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13861 (custom-file):
13862 * completion.el (check-completion-length):
13863 * comint.el (comint-search-arg)
13864 (comint-previous-matching-input-string-position)
13865 (comint-previous-matching-input)
13866 (comint-replace-by-expanded-history-before-point, comint-send-input)
13867 (comint-copy-old-input, comint-backward-matching-input)
13868 (comint-goto-process-mark, comint-set-process-mark):
13869 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13870 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13871
13872 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13873
13874 * dabbrev.el (dabbrev--ignore-case-p): New function.
13875 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13876 Use it.
13877
13878 * files.el (automount-dir-prefix): Mark as obsolete.
13879
13880 2012-05-04 Glenn Morris <rgm@gnu.org>
13881
13882 * patcomp.el, play/bruce.el: Move to obsolete/.
13883
13884 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13885
13886 Fix minor Y10k bugs.
13887 * arc-mode.el (archive-unixdate):
13888 * autoinsert.el (auto-insert-alist):
13889 * calc/calc-forms.el (math-this-year):
13890 * emacs-lisp/copyright.el (copyright-current-year)
13891 (copyright-update-year, copyright):
13892 * tar-mode.el (tar-clip-time-string):
13893 * time.el (display-time-update):
13894 Don't assume years have 4 digits.
13895
13896 2012-05-04 Chong Yidong <cyd@gnu.org>
13897
13898 * dos-w32.el (file-name-buffer-file-type-alist)
13899 (direct-print-region-use-command-dot-com):
13900 * ffap.el (ffap-menu-regexp):
13901 * find-file.el (ff-special-constructs):
13902 * follow.el (follow-debug):
13903 * forms.el (forms--debug):
13904 * iswitchb.el (iswitchb-all-frames):
13905 * ido.el (ido-all-frames):
13906 * emacs-lisp/timer.el (timer-max-repeats):
13907 * mail/feedmail.el (feedmail-mail-send-hook)
13908 (feedmail-mail-send-hook-queued):
13909 * mail/footnote.el (footnote-signature-separator):
13910 * mail/mailabbrev.el (mail-alias-separator-string)
13911 (mail-abbrev-mode-regexp):
13912 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13913 * progmodes/idlwave.el (idlwave-libinfo-file)
13914 (idlwave-default-completion-case-is-down)
13915 (idlwave-library-routines): Convert defvars to defcustoms.
13916
13917 * mail/rmail.el (rmail-decode-mime-charset):
13918 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13919 (idlwave-shell-fix-inserted-breaks)
13920 (idlwave-shell-activate-alt-keybindings)
13921 (idlwave-shell-use-breakpoint-glyph):
13922 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13923
13924 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13927
13928 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13929
13930 * progmodes/verilog-mode.el (font-lock-keywords):
13931 Fix mis-highligting auto. Reported by Craig Barner.
13932 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13933 defines from global name space. Reported by Dan Dever.
13934 (verilog-auto-reset, verilog-auto-reset-widths)
13935 (verilog-auto-tieoff): Support using unbased numbers for
13936 AUTORESET and AUTOTIEOFF.
13937 (verilog-submit-bug-report): Update variable list.
13938 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13939 parenthesis from not matching. Reported by Michael Rytting.
13940 (verilog-auto-template-lint): Fix hash error when linting modules
13941 with no used templates.
13942 (verilog-warn, verilog-warn-error)
13943 (verilog-warn-fatal): When non-interactive report multiple
13944 warnings before exiting. Suggested by Brad Dobbie.
13945 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13946 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13947 to report unused template errors. Reported by Brad Dobbie.
13948 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13949 nets, bug438. Reported by Vns Blore.
13950 (verilog-auto-inout-module, verilog-auto-reg)
13951 (verilog-read-decls, verilog-read-sub-decls-sig)
13952 (verilog-signals-edit-wire-reg, verilog-signals-with):
13953 Fix passing of Verilog data types in ANSI input/output ports
13954 such as "output logic" into the AUTOs. Special case "wire" and
13955 "reg" for backwards compatibility presuming Verilog 2001.
13956 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13957 (verilog-preprocess): Fix replication of preprocess output.
13958 Reported by Brad Dobbie.
13959 (verilog-auto-inst-interfaced-ports):
13960 Create verilog-auto-inst-interfaced-ports, bug429.
13961 Reported by Julian Gorfajn.
13962 (verilog-after-save-font-hook)
13963 (verilog-before-save-font-hook): New variable.
13964 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13965 (verilog-save-font-mods): Wrap disabling fontification, reported
13966 by David Rogoff.
13967 (verilog-do-indent, verilog-pretty-declarations-auto)
13968 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13969 Reported by Pierre-David Pfister.
13970 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13971 of class declarations, bug292. Reported by Kevin Heilman.
13972 (verilog-read-decls): Fix 'parameter type' not appearing in
13973 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13974 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13975 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13976 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13977 Reported by David Kravitz.
13978
13979 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13980
13981 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13982 assignment with tests in ifs and for loops.
13983 (verilog-extended-complete-re, verilog-complete-reg): Change so
13984 that DPI inport functions don't look like fuction declarations.
13985 (verilog-pretty-expr): Don't line up assignment
13986 operations to the test and increment in if and for loops
13987 (verilog-extended-complete-re, verilog-complete-reg): Change so
13988 that DPI inport functions don't look like fuction declarations.
13989
13990 2012-05-03 Kenichi Handa <handa@m17n.org>
13991
13992 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13993 decoding, and show a warning message without signaling an error
13994 (Bug#11282).
13995
13996 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13997
13998 * emacs-lisp/bytecomp.el
13999 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14000 since cconv.el might have introduced :fun-body, internal-make-closure,
14001 and friends for bytecomp to handle (bug#11391).
14002 * custom.el (defcustom): Avoid ((λ ..) ..).
14003
14004 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14007
14008 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14009
14010 * notifications.el (dbus-debug):
14011 * term/linux.el (gpm-mouse-enable):
14012 * term/screen.el (xterm-register-default-colors): Declare.
14013
14014 2012-05-02 Chong Yidong <cyd@gnu.org>
14015
14016 * cus-start.el (gc-cons-percentage, exec-suffixes)
14017 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14018 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14019 (make-cursor-line-fully-visible, void-text-area-pointer)
14020 (font-list-limit): Add customization data.
14021
14022 * allout.el (allout-exposure-change-functions)
14023 (allout-structure-added-functions)
14024 (allout-structure-deleted-functions)
14025 (allout-structure-shifted-functions): Rename abnormal hooks from
14026 *-hook, and convert to defcustoms.
14027 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14028 Convert to defcustoms.
14029 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14030
14031 * allout-widgets.el: Hook callers changed.
14032
14033 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14034
14035 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14036 the yanked message in preference to the default value of
14037 buffer-file-coding-system.
14038
14039 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14040
14041 * window.el (display-buffer--action-function-custom-type):
14042 Fix entry.
14043
14044 2012-05-02 Alan Mackenzie <acm@muc.de>
14045
14046 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14047
14048 2012-05-01 Glenn Morris <rgm@gnu.org>
14049
14050 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14051
14052 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14053
14054 * cus-edit.el (custom-variable-documentation): Simplify with format.
14055
14056 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14057 Stefan Monnier <monnier@iro.umontreal.ca>
14058
14059 * simple.el (suggest-key-bindings, execute-extended-command):
14060 Move from keyboard.c.
14061
14062 2012-05-01 Chong Yidong <cyd@gnu.org>
14063
14064 * follow.el: Eliminate advice.
14065 (set-process-filter, process-filter, sit-for): Advice deleted.
14066 (follow-mode-off-hook): Obsolete hook removed.
14067 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14068 Vars deleted.
14069 (follow-auto): Use a :set function.
14070 (follow-mode): Rewritten. Don't advise process filters.
14071 (follow-switch-to-current-buffer-all, follow-scroll-up)
14072 (follow-scroll-down): Assume follow-mode is bound.
14073 (follow-comint-scroll-to-bottom)
14074 (follow-align-compilation-windows): New functions.
14075 (follow--window-sorter): New function.
14076 (follow-all-followers): Use it to explicitly sort windows by their
14077 positions; don't make assumptions about next-window order.
14078 (follow-windows-start-end, follow-delete-other-windows-and-split)
14079 (follow-calc-win-start): Doc fix.
14080 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14081 vertical-motion unnecessarily.
14082 (follow-adjust-window): New function.
14083 (follow-post-command-hook): Use it.
14084 (follow-call-set-process-filter, follow-call-process-filter)
14085 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14086 (follow-stop-intercept-process-output, follow-generic-filter):
14087 Functions deleted.
14088 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14089 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14090 New functions, replacing advice on scroll-bar-* commands.
14091 (follow-mwheel-scroll): New function (Bug#4112).
14092
14093 * comint.el (comint-adjust-point): New function.
14094 (comint-postoutput-scroll-to-bottom): Use it.
14095 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14096
14097 2012-05-01 Glenn Morris <rgm@gnu.org>
14098
14099 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14100 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14101 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14102 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14103 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14104 Remove no-byte-compile setting.
14105
14106 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14107
14108 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14109 all-completions code to not return a number in the last cdr.
14110
14111 2012-04-30 Leo Liu <sdl.web@gmail.com>
14112
14113 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14114 read-only error.
14115
14116 2012-04-29 Chong Yidong <cyd@gnu.org>
14117
14118 * follow.el (follow-calc-win-end): Rewrite to handle partial
14119 screen lines correctly (Bug#8390).
14120 (follow-avoid-tail-recenter): Minor cleanup.
14121
14122 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 Avoid the obsolete `assoc' package.
14125 * speedbar.el (speedbar-refresh): Avoid adelete.
14126 (speedbar-file-lists): Simplify and avoid aput.
14127 * man.el (Man--sections, Man--refpages): New vars, replacing
14128 Man-sections-alist and Man-refpages-alist.
14129 (Man-build-section-alist, Man-build-references-alist):
14130 Use them; avoid aput.
14131 (Man--last-section, Man--last-refpage): New vars.
14132 (Man-follow-manual-reference): Use them.
14133 Use the `default' arg of completing-read.
14134 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14135
14136 2012-04-27 Chong Yidong <cyd@gnu.org>
14137
14138 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14139
14140 * startup.el (x-apply-session-resources): New function.
14141
14142 * term/ns-win.el (ns-initialize-window-system):
14143 * term/w32-win.el (w32-initialize-window-system):
14144 * term/x-win.el (x-initialize-window-system): Use it to properly
14145 set menu-bar-mode and other vars from X resources, even if the
14146 initial frame is not a window-system frame (Bug#2299).
14147
14148 * subr.el (read-key): Avoid running filter function when setting
14149 up temporary tool bar entries (Bug#9922).
14150
14151 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14152
14153 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14154 (Bug#11344)
14155
14156 2012-04-27 Chong Yidong <cyd@gnu.org>
14157
14158 * select.el (xselect--encode-string): New function, split from
14159 xselect-convert-to-string.
14160 (xselect-convert-to-string): Use it.
14161 (xselect-convert-to-filename, xselect-convert-to-os)
14162 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14163 returned strings are properly encoded (Bug#11315).
14164
14165 2012-04-27 Chong Yidong <cyd@gnu.org>
14166
14167 * simple.el (delete-active-region): Move to killing custom group.
14168
14169 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14170
14171 * progmodes/which-func.el (which-func-current): Quote %
14172 characters for mode-line processing.
14173
14174 2012-04-27 Chong Yidong <cyd@gnu.org>
14175
14176 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14177 reaching eob (Bug#11286).
14178
14179 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14180
14181 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14182 (gdb): Make it buffer-local and init to zero.
14183 (gdb-control-commands-regexp): New variable.
14184 (gdb-send): Don't wrap in "-interpreter-exec console" if
14185 gdb-control-level is positive. Increment gdb-control-level
14186 whenever the command matches gdb-control-commands-regexp, and
14187 decrement it each time the command is "end". (Bug#11279)
14188
14189 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14190
14191 * window.el (adjust-window-trailing-edge, enlarge-window)
14192 (shrink-window, window-resize):
14193 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14194 windows (Bug#11276).
14195
14196 2012-04-27 Chong Yidong <cyd@gnu.org>
14197
14198 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14199 fix "missing prefix" warning. All callers changed.
14200
14201 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14202
14203 * emacs-lisp/assoc.el: Move to obsolete/.
14204
14205 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14208
14209 * term/ns-win.el (ns-define-service):
14210 * progmodes/pascal.el (pascal-goto-defun):
14211 * progmodes/js.el (js--read-tab):
14212 * progmodes/etags.el (tags-lazy-completion-table):
14213 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14214 * emacs-lisp/ewoc.el (ewoc--wrap):
14215 * emacs-lisp/assoc.el (aput, adelete, amake):
14216 * doc-view.el (doc-view-convert-current-doc):
14217 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14218
14219 2012-04-26 Chong Yidong <cyd@gnu.org>
14220
14221 * image.el (image-type-from-buffer): Only return supported image
14222 type (Bug#9045).
14223
14224 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14225 value, for symmetry with diff-end-of-hunk.
14226 (diff-split-hunk, diff-find-source-location)
14227 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14228 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14229 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14230 compute the relevant hunk or file properly (Bug#6005).
14231 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14232
14233 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * vc/vc-mtn.el:
14236 * vc/vc-hg.el:
14237 * vc/vc-git.el:
14238 * vc/vc-dir.el:
14239 * vc/vc-cvs.el:
14240 * vc/vc-bzr.el:
14241 * vc/vc-arch.el:
14242 * vc/vc.el: Replace lexical-let by lexical-binding.
14243 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14244 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14245 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14246
14247 2012-04-26 Chong Yidong <cyd@gnu.org>
14248
14249 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14250 (diff-mode-shared-map): Bind it to / and [remap undo].
14251
14252 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14253 (ediff-window-setup-function): Use it as the default, to set up
14254 windows based on whether the current frame is graphical (Bug#2138).
14255 (ediff-choose-window-setup-function-automatically): Make obsolete.
14256
14257 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14258
14259 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * ffap.el: Remove old code for obsolete package.
14262 (ffap-complete-as-file-p): Remove.
14263
14264 Use completion-table-with-quoting for comint and pcomplete.
14265 * comint.el (comint--unquote&requote-argument)
14266 (comint--unquote-argument, comint--requote-argument): New functions.
14267 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14268 (comint-quote-filename): Use regexp-opt-charset.
14269 (comint--common-suffix, comint--common-quoted-suffix)
14270 (comint--table-subvert): Remove.
14271 (comint-unquote-function, comint-requote-function): New vars.
14272 (comint--complete-file-name-data): Use them with
14273 completion-table-with-quoting.
14274 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14275 * pcomplete.el (pcomplete-arg-quote-list)
14276 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14277 (pcomplete-unquote-argument-function): Default to non-nil.
14278 (pcomplete-unquote-argument): Simplify.
14279 (pcomplete--common-quoted-suffix): Remove.
14280 (pcomplete-requote-argument-function): New var.
14281 (pcomplete--common-suffix): New function.
14282 (pcomplete-completions-at-point): Use completion-table-with-quoting
14283 and completion-table-subvert.
14284
14285 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14286 (minibuffer--double-dollars): Preserve properties.
14287 (completion--sifn-requote): New function.
14288 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14289
14290 * minibuffer.el: Add support for completion of quoted/escaped data.
14291 (completion-table-with-quoting, completion-table-subvert): New funs.
14292 (completion--twq-try, completion--twq-all): New functions.
14293 (completion--nth-completion): New function.
14294 (completion-try-completion, completion-all-completions): Use it.
14295
14296 2012-04-25 Leo Liu <sdl.web@gmail.com>
14297
14298 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14299 Use compilation-message if available to find real filename.
14300
14301 2012-04-25 Chong Yidong <cyd@gnu.org>
14302
14303 * vc/diff-mode.el (diff-setup-whitespace): New function.
14304 (diff-mode): Use it.
14305
14306 * vc/diff.el (diff-sentinel):
14307 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14308 Whitespace mode variables based on diff style (Bug#8612).
14309
14310 2012-04-25 Leo Liu <sdl.web@gmail.com>
14311
14312 * progmodes/python.el (python-send-region): Add suffix .py to the
14313 temp file.
14314
14315 * files.el (auto-mode-alist): Use javascript-mode instead.
14316
14317 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14318
14319 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14320
14321 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14322 (soap-resolve-references-for-array-type): Hack to prevent self
14323 references, see Bug#9.
14324 (soap-parse-envelope): Report the contents of the 'detail' node
14325 when receiving a fault reply.
14326 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14327
14328 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14329 (soap-inspect-simple-type): New function.
14330
14331 * net/soap-client.el (soap-simple-type): New struct.
14332 (soap-default-xsd-types, soap-default-soapenc-types)
14333 (soap-decode-basic-type, soap-encode-basic-type):
14334 support unsignedInt and double basic types.
14335 (soap-resolve-references-for-simple-type)
14336 (soap-parse-simple-type, soap-encode-simple-type): New function.
14337 (soap-parse-schema): Parse xsd:simpleType declarations.
14338
14339 * net/soap-client.el (soap-default-xsd-types)
14340 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14341 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14342 the local name of "soapenc:Array".
14343 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14344 decoding integer, byte and anyURI xsd types.
14345
14346 2012-04-25 Chong Yidong <cyd@gnu.org>
14347
14348 * cus-edit.el (custom-buffer-create-internal): Update header text.
14349
14350 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14351
14352 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14353 settings on 'system-type', not on 'window-system'. On MS-Windows,
14354 set interactive-mode on in GDB.
14355
14356 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14357
14358 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14359 (ruby-syntax-propertize-regexp): Remove.
14360 (ruby-syntax-propertize-function): Split regexp into chunks.
14361 Match following code directly.
14362
14363 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14364
14365 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14366 (ruby-syntax-propertize-regexp): New function.
14367 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14368 by a special keyword.
14369
14370 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14371 (ruby-syntax-general-delimiters-goto-beg)
14372 (ruby-syntax-propertize-general-delimiters): New functions.
14373 (ruby-syntax-propertize-function): Use them to handle GDL.
14374 (ruby-font-lock-keywords): Move old handling of GDL...
14375 (ruby-font-lock-syntactic-keywords): .. to here.
14376 (ruby-calculate-indent): Adjust indentation for GDL.
14377
14378 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14379
14380 * notifications.el (top): Remove unneeded declarations.
14381 (notifications-specification-version): Change to "1.2".
14382 (notifications-interface, notifications-notify-method)
14383 (notifications-close-notification-method): Fix docstring.
14384 (notifications-get-capabilities-method): New defconst.
14385 (notifications-notify): Add :action-items, :resident and
14386 :transient hints. Change "image_data" to "image-data" and
14387 "image_path" to "image-path".
14388 (notifications-get-capabilities): New defun.
14389
14390 2012-04-24 Leo Liu <sdl.web@gmail.com>
14391
14392 * progmodes/python.el: Move hideshow setup to the end.
14393
14394 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14395
14396 * window.el (handle-select-window): Clear echo area since this is
14397 no more done by read_char (Bug#11304).
14398
14399 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14402 and `/ M' to filter-derived-mode.
14403 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14404 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14405 (ibuffer-mark-by-mode): Use default rather than initial-input.
14406 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14407
14408 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14409
14410 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14411 (ibuffer-filter-by-derived-mode): New filter.
14412 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14413
14414 2012-04-23 Andreas Politz <politza@fh-trier.de>
14415
14416 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14417
14418 2012-04-23 Chong Yidong <cyd@gnu.org>
14419
14420 * cus-edit.el (customize-apropos, customize-apropos-options):
14421 Disable matching of non-option variables (Bug#11176).
14422 (customize-option, customize-option-other-window)
14423 (customize-changed-options): Doc fix.
14424 (customize-apropos-options, customize-apropos-faces)
14425 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14426
14427 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14428 Fix word list splitting (Bug#11132).
14429 (apropos-symbol, apropos-keybinding, apropos-label)
14430 (apropos-property, apropos-function-button)
14431 (apropos-variable-button, apropos-misc-button): New faces.
14432 (apropos-symbol-face, apropos-keybinding-face)
14433 (apropos-label-face, apropos-property-face, apropos-match-face):
14434 Variables removed (Bug#8396).
14435 (apropos-library-button, apropos-format-plist, apropos-print)
14436 (apropos-print-doc, apropos-describe-plist): Callers changed.
14437
14438 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14439
14440 * net/xesam.el (xesam-mode-map): Use let-bound map in
14441 initialization. (Bug#11292)
14442
14443 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14444
14445 Preserve ispell session localwords when switching back to
14446 original buffer.
14447
14448 * textmodes/ispell.el (ispell-buffer-session-localwords):
14449 New buffer-local variable to hold buffer session localwords.
14450 (ispell-kill-ispell): Add option 'clear to delete session
14451 localwords.
14452 (ispell-command-loop, ispell-change-dictionary)
14453 (ispell-buffer-local-words): Preserve session localwords when
14454 needed.
14455
14456 * textmodes/flyspell.el (flyspell-process-localwords)
14457 (flyspell-do-correct): Preserve session localwords when needed.
14458
14459 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14460
14461 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14462 using obsolete `translation-table-for-input'.
14463 (ispell-word, ispell-process-line, ispell-complete-word):
14464 Use plain `insert' instead of removed `ispell-insert-word'.
14465
14466 2012-04-22 Chong Yidong <cyd@gnu.org>
14467
14468 * cus-edit.el (custom-variable-menu)
14469 (custom-variable-reset-saved, custom-face-menu)
14470 (custom-face-reset-saved): If there is no saved value, make the
14471 "reset-saved" operation bring back the default (Bug#9509).
14472 (custom-face-state): Properly detect themed faces.
14473
14474 * faces.el (face-spec-set): Stop supporting deprecated form of
14475 third arg.
14476
14477 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14478
14479 Move functions from C to Lisp. Make non-blocking method calls
14480 the default. Implement further D-Bus standard interfaces.
14481
14482 * net/dbus.el (dbus-message-internal): Declare function.
14483 Remove unneeded function declarations.
14484 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14485 (dbus-message-type-method-return, dbus-message-type-error)
14486 (dbus-message-type-signal): Declare variables. Remove local
14487 definitions.
14488 (dbus-interface-dbus, dbus-interface-peer)
14489 (dbus-interface-introspectable, dbus-interface-properties)
14490 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14491 Adapt docstring.
14492 (dbus-interface-objectmanager): New defconst.
14493 (dbus-call-method, dbus-call-method-asynchronously)
14494 (dbus-send-signal, dbus-method-return-internal)
14495 (dbus-method-error-internal, dbus-register-service)
14496 (dbus-register-signal, dbus-register-method): New defuns, moved
14497 from dbusbind.c
14498 (dbus-call-method-handler, dbus-setenv)
14499 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14500 New defuns.
14501 (dbus-call-method-non-blocking): Make it an obsolete function.
14502 (dbus-unregister-object, dbus-unregister-service)
14503 (dbus-handle-event, dbus-register-property)
14504 (dbus-property-handler): Obey the new structure of
14505 `bus-registered-objects'.
14506 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14507 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14508 Use `dbus-call-method'.
14509
14510 2012-04-22 Chong Yidong <cyd@gnu.org>
14511
14512 * cus-edit.el (custom-commands, custom-reset-menu)
14513 (Custom-reset-standard): Tweak labels.
14514 (custom-reset-button-menu): Change default to t.
14515 (custom-buffer-create-internal): For the custom-reset-button-menu
14516 case, put the revert button first.
14517 (custom-group-subtitle): New face.
14518 (custom-group-value-create): Align docstring to a specific column.
14519
14520 * wid-edit.el (widget-documentation-link-add): Don't handle
14521 indentation in this function.
14522 (widget-documentation-string-indent-to): New function.
14523 (widget-documentation-string-value-create): Use it.
14524
14525 * autorevert.el (auto-revert):
14526 * epg-config.el (epg):
14527 * ibuffer.el (ibuffer):
14528 * mpc.el (mpc):
14529 * ses.el (ses):
14530 * eshell/eshell.el (eshell):
14531 * net/ange-ftp.el (ange-ftp):
14532 * progmodes/ebnf2ps.el (postscript):
14533 * progmodes/flymake.el (flymake):
14534 * progmodes/prolog.el (prolog):
14535 * progmodes/verilog-mode.el (verilog-mode):
14536 * progmodes/which-func.el (which-func):
14537 * term/xterm.el (xterm):
14538 * textmodes/picture.el (picture):
14539 * textmodes/tildify.el (tildify):
14540 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14541 customization buffers.
14542
14543 2012-04-22 Alan Mackenzie <acm@muc.de>
14544
14545 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14546 Adding a ) can hide the resulting (..) from searches. Fix it.
14547 Bound the backward search to the position of the existing (.
14548
14549 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14550
14551 * progmodes/verilog-mode.el (verilog-mode): Check whether
14552 which-func-modes is t before adding verilog-mode.
14553 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14554
14555 2012-04-21 Leo Liu <sdl.web@gmail.com>
14556
14557 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14558
14559 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14560
14561 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14562 filling of the last column of a table (Bug#5635).
14563 (woman-find-next-control-line): New arg, specifying an additional
14564 regexp component for the control line.
14565 (woman2-roff-buffer): Use it.
14566 (woman-break-table): New function.
14567 (woman2-TS): Use it.
14568
14569 2012-04-21 Chong Yidong <cyd@gnu.org>
14570
14571 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14572 (woman-horizontal-escapes, woman-negative-vertical-space)
14573 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14574 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14575
14576 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * minibuffer.el (completion-file-name-table): Complete user names.
14579
14580 2012-04-20 Leo Liu <sdl.web@gmail.com>
14581
14582 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14583 and pcase-let*.
14584
14585 2012-04-20 Chong Yidong <cyd@gnu.org>
14586
14587 * server.el (server-execute): Respect initial-buffer-choice if it
14588 is a string and there are no files to open (Bug#2825).
14589 (server-create-window-system-frame, server-create-tty-frame):
14590 Don't switch buffers here.
14591 (server-process-filter): Only try to open a window system frame if
14592 compiled with graphical support (Bug#8314).
14593
14594 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14595
14596 * battery.el (battery-echo-area-format): Display remaining time
14597 for sysfs backend too (Bug#11269).
14598 (battery-linux-sysfs): Fix conditional for the charge.
14599
14600 2012-04-20 Chong Yidong <cyd@gnu.org>
14601
14602 * progmodes/gdb-mi.el (gdb): Revert previous change.
14603 (gdb-inferior-io--init-proc): New function.
14604 (gdb-init-1): Use it.
14605 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14606 responsible for allocating a new pty and hooking it to gdb when
14607 the old pty gets an EIO due to process exit.
14608 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14609 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14610 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14611
14612 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14613
14614 * window.el (window-min-size, window-sizable, window-min-delta)
14615 (window-max-delta, window--resizable, window-resizable)
14616 (window-total-size, window-full-height-p, window-full-width-p)
14617 (window-in-direction, window--resize-mini-window, window-resize)
14618 (window--resize-child-windows-normal)
14619 (window--resize-child-windows, window--resize-siblings)
14620 (window--resize-this-window, adjust-window-trailing-edge)
14621 (enlarge-window, shrink-window): Doc fixes.
14622
14623 2012-04-20 Chong Yidong <cyd@gnu.org>
14624
14625 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14626 New function to call delete-process on the gdb-inferior buffer's pty.
14627 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14628 pty process (Bug#11273).
14629 (gdb-update): New arg to suppress talking to the gdb process.
14630 (gdb-done-or-error): Use it.
14631 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14632 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14633 sentinel not being called.
14634
14635 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14636
14637 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14638
14639 2012-04-20 Glenn Morris <rgm@gnu.org>
14640
14641 * net/network-stream.el (open-network-stream): Doc fix.
14642
14643 2012-04-20 Chong Yidong <cyd@gnu.org>
14644
14645 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14646
14647 2012-04-20 Alan Mackenzie <acm@muc.de>
14648
14649 Ensure searching for keywords is case sensitive.
14650
14651 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14652 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14653 (c-defun-name, c-mark-function, c-cpp-define-name)
14654 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14655 (c-context-line-break): Bind case-fold-search to nil.
14656
14657 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14658 Bind case-fold-search to nil.
14659
14660 2012-04-20 Chong Yidong <cyd@gnu.org>
14661
14662 * mail/sendmail.el (mail-bury): Call return action with the right
14663 Rmail buffer (Bug#11242).
14664
14665 * server.el (server-process-filter): Handle corner case where both
14666 tty and nowait options are present (Bug#11102).
14667
14668 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14669
14670 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14671 (top level): Put into the executable the ident-style '$Id:' tag on
14672 windows-nt as well.
14673
14674 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * electric.el (electric-indent-post-self-insert-function): Check that
14677 electric-indent-mode is enabled in current buffer.
14678
14679 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14680
14681 * imenu.el (imenu-progress-message): Restore; it is "used" in
14682 erc/erc-imenu.el and net/snmp-mode.el.
14683
14684 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14685
14686 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14687 (mouse-avoidance-nudge-mouse): Remove unused binding.
14688
14689 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14690
14691 * descr-text.el (describe-char):
14692 * progmodes/python.el (python-describe-symbol):
14693 Don't call `toggle-read-only', set `buffer-read-only'.
14694
14695 * imenu.el (imenu-default-goto-function): Mark unused args.
14696 (imenu-progress-message): Remove obsolete macro; all callers changed.
14697
14698 * subr.el (keymap-canonicalize): Remove unused binding.
14699 (read-passwd): Mark unused arg.
14700
14701 * tutorial.el (tutorial--display-changes): Remove unused binding.
14702 (tutorial--save-tutorial-to): Remove unused variable.
14703
14704 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14705 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14706 (package-generate-autoloads, package-menu--generate)
14707 (package-menu--find-upgrades): Remove unused bindings.
14708
14709 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14710 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14711 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14712 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14713 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14714 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14715 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14716 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14717 (cua-delete-char-rectangle): Mark unused args.
14718 (cua-align-rectangle): Remove unused binding.
14719
14720 * mail/rmail.el (compilation--message->loc)
14721 (epa--find-coding-system-for-mime-charset): Declare.
14722
14723 * net/dbus.el (dbus-register-service): Declare.
14724 (dbus-name-owner-changed-handler): Remove unused binding.
14725
14726 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14727 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14728 (nxml-scan-backward-within): Mark unused arg.
14729 (nxml-dynamic-markup-word): Remove unused binding.
14730
14731 * mouse.el (mouse-menu-major-mode-map):
14732 * emacs-lisp/authors.el (authors-scan-change-log)
14733 (authors-add-to-author-list):
14734 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14735 * emacs-lisp/smie.el (smie-auto-fill):
14736 * mail/sendmail.el (mail-bury):
14737 * mail/unrmail.el (unrmail):
14738 * net/tls.el (open-tls-stream):
14739 * textmodes/picture.el (picture-mouse-set-point):
14740 Remove unused bindings.
14741
14742 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14743
14744 * net/tramp.el (tramp-action-password): Let-bind
14745 `enable-recursive-minibuffers' to t.
14746
14747 2012-04-18 Sam Steingold <sds@gnu.org>
14748
14749 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14750 instead of 'string to accommodate values like [f11].
14751 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14752 * progmodes/gdb-mi.el: Likewise.
14753
14754 2012-04-18 Leo Liu <sdl.web@gmail.com>
14755
14756 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14757 current buffer.
14758 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14759 LOCAL is nil.
14760
14761 2012-04-18 Chong Yidong <cyd@gnu.org>
14762
14763 * simple.el (line-move): Use forward-line if in batch mode
14764 (Bug#11053).
14765
14766 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14767
14768 * files.el (after-find-file): Do not try to add a final newline if
14769 the buffer is read-only (Bug#11156).
14770
14771 2012-04-17 Richard Stallman <rms@gnu.org>
14772
14773 * mail/rmail.el (rmail-start-mail):
14774 Pass (rmail-mail-return...) for the return-action.
14775 Pass (rmail-yank-current-message...) for the yank-action.
14776 (rmail-yank-current-message): New function.
14777 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14778 (rmail-reply): Likewise.
14779 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14780
14781 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14782 buffer, not the last. Reject temp buffers. Use the rmail-mode
14783 buffer, not newbuf.
14784
14785 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14786
14787 * server.el (server-ensure-safe-dir): Simplify.
14788
14789 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14790
14791 * emacs-lisp/smie.el: Provide smarter auto-filling.
14792 (smie-auto-fill): New function.
14793 (smie-setup): Use it.
14794
14795 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14796
14797 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14798
14799 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14800 (comment-indent): Use it.
14801
14802 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14803
14804 * ses.el: The overall change is to add cell renaming, that is
14805 setting fancy names for cell symbols other than name matching
14806 "\\`[A-Z]+[0-9]+\\'" regexp .
14807 (ses-localvars): Add ses--renamed-cell-symb-list.
14808 (ses-create-cell-variable): New defun.
14809 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14810 (ses-relocate-formula): Relocate formulas only for cells the
14811 symbols of which are not renamed, i.e. symbols whose names do not
14812 match regexp "\\`[A-Z]+[0-9]+\\'".
14813 (ses-relocate-all): Relocate values only for cells the symbols of
14814 which are not renamed.
14815 (ses-load): Create cells variables as the (ses-cell ...) are read,
14816 in order to check row col consistency with cell symbol name only
14817 for cells that are not renamed.
14818 (ses-replace-name-in-formula): New defun.
14819 (ses-rename-cell): New defun.
14820
14821 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14822
14823 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14824 New option (bug#11118).
14825 (perl-calculate-indent): Respect it.
14826
14827 2012-04-17 Glenn Morris <rgm@gnu.org>
14828
14829 * dired-aux.el (dired-mark-read-string): Doc fix.
14830
14831 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14832
14833 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14834 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14835
14836 2012-04-17 Glenn Morris <rgm@gnu.org>
14837
14838 * mouse.el (mouse-drag-track):
14839 * speedbar.el (speedbar-frame-mode):
14840 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14841
14842 2012-04-16 Leo Liu <sdl.web@gmail.com>
14843
14844 * progmodes/python.el: Trivial cleanup.
14845
14846 2012-04-16 Glenn Morris <rgm@gnu.org>
14847
14848 * vc/vc.el (vc-string-prefix-p):
14849 * vc/pcvs-util.el (cvs-string-prefix-p):
14850 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14851 * mpc.el (mpc-string-prefix-p):
14852 Make all of these into obsolete aliases for string-prefix-p.
14853 Update callers.
14854 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14855
14856 * textmodes/two-column.el: Move custom options to the start.
14857 (frame-width): Remove compat definition.
14858 (2C-associate-buffer, 2C-dissociate):
14859 Use with-current-buffer rather than save-excursion.
14860 (2C-dissociate): Force a mode-line update.
14861 (2C-autoscroll): Use ignore-errors.
14862
14863 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14864 Autoload trivia.
14865
14866 * emacs-lisp/cl-extra.el (*random-state*):
14867 Remove unnecessary declaration.
14868
14869 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14870
14871 * play/cookie1.el (cookie-snarf):
14872 Give an explicit error if input file cannot be read.
14873
14874 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14875
14876 * progmodes/perl-mode.el (c-macro-expand):
14877 Remove unnecessary autoload (it is in loaddefs.el).
14878
14879 * textmodes/picture.el (picture-desired-column)
14880 (picture-update-desired-column): Convert comments to doc-strings.
14881 (picture-substitute): Remove function.
14882 (picture-mode-map): Initialize in the defvar.
14883
14884 * woman.el: Remove eval-after-load for tar-mode.
14885 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14886 (woman-tar-extract-file): Autoload it.
14887
14888 * frame.el (automatic-hscrolling): Make this alias obsolete.
14889
14890 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14891
14892 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14893 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14894 (ispell-dictionary-base-alist): Revert to original XEmacs
14895 friendly version for default. [:alpha:] will be added in
14896 `ispell-set-spellchecker-params' if needed.
14897
14898 2012-04-16 Chong Yidong <cyd@gnu.org>
14899
14900 * image.el (imagemagick--file-regexp): New variable.
14901 (imagemagick-register-types): Use it.
14902 (imagemagick-types-inhibit): Add :set function. Allow new value
14903 of t to inhibit all types.
14904
14905 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14906 so we can preload it.
14907
14908 * loadup.el (fboundp): Preload regexp-opt, needed by
14909 imagemagick-register-types.
14910
14911 2012-04-15 Chong Yidong <cyd@gnu.org>
14912
14913 * frame.el (scrolling): Remove nearly unused customization group.
14914
14915 * scroll-all.el (scroll-all-mode): Move to windows group.
14916
14917 2012-04-15 Chong Yidong <cyd@gnu.org>
14918
14919 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14920
14921 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14924 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14925
14926 2012-04-15 Glenn Morris <rgm@gnu.org>
14927
14928 * simple.el (process-file-side-effects): Doc fix.
14929
14930 2012-04-15 Glenn Morris <rgm@gnu.org>
14931
14932 * international/mule-cmds.el (set-language-environment): Doc fix.
14933
14934 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14935
14936 * server.el (server-auth-key, server-generate-key): Doc fixes.
14937 (server-get-auth-key): Doc fix. Use `string-match-p'.
14938 (server-start): Reflow docstring.
14939
14940 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14941
14942 * server.el (server-generate-key): `called-interactively-p'
14943 requires a parameter.
14944
14945 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14946
14947 * server.el (server-auth-key): New variable.
14948 (server-generate-key, server-get-auth-key): New function.
14949 (server-start): Use the new variable and functions to allow
14950 setting a permanent server key (bug#9423).
14951
14952 2012-04-14 Leo Liu <sdl.web@gmail.com>
14953
14954 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14955
14956 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14957
14958 Spelling fixes.
14959 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14960 Emacs uses American spelling.
14961
14962 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14963
14964 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14965 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14966 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14967 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14968
14969 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14970
14971 * progmodes/which-func.el (which-func-modes): Change default.
14972
14973 2012-04-14 Kim F. Storm <storm@cua.dk>
14974
14975 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14976 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14977
14978 2012-04-14 Chong Yidong <cyd@gnu.org>
14979
14980 * custom.el (custom-theme-set-variables): Doc fix.
14981
14982 2012-04-14 Glenn Morris <rgm@gnu.org>
14983
14984 * international/mule.el (set-auto-coding-for-load): Doc fix.
14985
14986 2012-04-14 Alan Mackenzie <acm@muc.de>
14987
14988 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14989 imenu work again for Objective C Mode. Correct the *-index values,
14990 these having been disturbed by a previous change in 2011-08.
14991
14992 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14993 Correct two search limits.
14994
14995 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14996
14997 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14998
14999 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15000
15001 * international/characters.el: Fix sorting.
15002
15003 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15004
15005 * international/characters.el: Add more missing Latin case pairs.
15006
15007 2012-04-14 Glenn Morris <rgm@gnu.org>
15008
15009 * files.el (dir-locals-set-class-variables): Doc fix.
15010
15011 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15012
15013 * international/characters.el: Add set-case-syntax-pair call for
15014 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15015 counterpart. (Bug#11209)
15016
15017 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15018
15019 2012-04-14 Glenn Morris <rgm@gnu.org>
15020
15021 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15022
15023 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15024
15025 * textmodes/ispell.el (ispell-dictionary-base-alist):
15026 Add data for Hebrew.
15027
15028 2012-04-14 Chong Yidong <cyd@gnu.org>
15029
15030 * net/rcirc.el (rcirc-cmd-quit):
15031 Revert 2012-03-18 change (Bug#11192).
15032
15033 2012-04-14 Glenn Morris <rgm@gnu.org>
15034
15035 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15036
15037 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15038
15039 * minibuffer.el (completion-in-region-mode-map):
15040 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15041
15042 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15043
15044 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15045
15046 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15047
15048 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15049 to allow `C-M-f' and `C-M-b' to move to the nearest path
15050 separator (bug#9511).
15051
15052 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15053
15054 * avoid.el: Require cl when compiling. And also move the
15055 `provide' to the end.
15056
15057 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15058
15059 * avoid.el (mouse-avoidance-banish-position): New variable.
15060 (mouse-avoidance-banish-destination): Use it (bug#10165).
15061
15062 2012-04-13 Leo Liu <sdl.web@gmail.com>
15063
15064 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15065
15066 2012-04-13 Ken Brown <kbrown@cornell.edu>
15067
15068 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15069 this is no longer needed now that cygstart understands file:// URLs.
15070 (browse-url-filename-alist): For the same reason, don't modify
15071 file:// URLs on Cygwin.
15072
15073 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15076 the region on shift if the binding is already shifted (bug#11221).
15077
15078 2012-04-12 Glenn Morris <rgm@gnu.org>
15079
15080 * mail/mailpost.el: Move to obsolete/.
15081
15082 2012-04-12 Drew Adams <drew.adams@oracle.com>
15083
15084 * imenu.el (imenu--generic-function): Ignore invisible definitions
15085 (bug#10123).
15086
15087 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15088
15089 * hexl.el (hexl-bits): New variable.
15090 (hexl-options): Mention the variable in the doc string.
15091 (hexl-rulerise, hexl-line-displen): New functions.
15092 (hexl-mode): Mention the new variable.
15093 (hexl-mode, hexl-current-address, hexl-current-address):
15094 Use the displen.
15095 (hexl-ascii-start-column): New function.
15096 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15097 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15098
15099 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15100
15101 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15102 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15103 the encoding, as expected by hunspell.
15104
15105 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15106
15107 * battery.el (battery--linux-sysfs-regexp): New const.
15108 (battery-status-function): Use it. Remove yeeloong special case.
15109 (battery-yeeloong-sysfs): Remove.
15110 (battery-echo-area-format): Remove yeeloong special case.
15111
15112 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15113
15114 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15115 Reported by Noah Friedman.
15116
15117 * subr.el (read-passwd): Use read-string.
15118
15119 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15120
15121 * vcursor.el (vcursor-move): Increase the priority of the overlay
15122 (bug#9663).
15123
15124 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15125
15126 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15127 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15128
15129 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15130
15131 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15132 define-minor-mode (bug#10760).
15133
15134 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15135
15136 * progmodes/grep.el (rgrep): Tweak the find command line so
15137 that directories matching `grep-find-ignored-files' won't be
15138 pruned (bug#10351).
15139
15140 2012-04-11 Chong Yidong <cyd@gnu.org>
15141
15142 * startup.el (command-line): Remove support for long-obsolete
15143 variable font-lock-face-attributes.
15144
15145 2012-04-11 Glenn Morris <rgm@gnu.org>
15146
15147 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15148
15149 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15150
15151 * window.el (window--state-get-1): Obey window-point-insertion-type.
15152
15153 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15154
15155 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15156 to previous function when point is on the first character of a
15157 function. Take care of that in `narrow-to-defun' (bug#6157).
15158
15159 2012-04-11 Glenn Morris <rgm@gnu.org>
15160
15161 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15162 not just file-errors.
15163
15164 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15165 (vc-bzr-sha1): Use internal sha1.
15166
15167 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15168
15169 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15170
15171 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15172
15173 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15174 that start in the middle of the line (bug#10496).
15175
15176 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15177
15178 * battery.el (battery-linux-proc-acpi): Only one battery is
15179 discharged at a time, but that seems to confuse battery.el when
15180 computing `rate-type' for the battery not being discharged
15181 (bug#10332).
15182
15183 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15186
15187 * international/quail.el: Use dolist and simplify.
15188 (quail-define-package, quail-update-keyboard-layout)
15189 (quail-define-rules): Use dolist.
15190 (quail-insert-kbd-layout, quail-get-translation): CSE.
15191
15192 * tmm.el: Use dolist, remove left over hook.
15193 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15194 Use dolist.
15195 (calendar-load-hook): Don't mess with it.
15196
15197 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15198 Use derived-mode-p. Run the diff asynchronously.
15199
15200 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15201
15202 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15203
15204 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15205
15206 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15207 (list-dynamic-libraries--loaded): New function.
15208 (list-dynamic-libraries--refresh): Use it.
15209
15210 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15211
15212 * progmodes/python.el (python-fill-paragraph):
15213 Make python-fill-region in a multiline string work when font-lock is
15214 disabled (bug#7018).
15215
15216 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15217
15218 * language/european.el (cp775): Add oem/legacy (en)coding on
15219 DOS/MS Windows for the Baltic languages. There are still plenty
15220 of texts written in this encoding/codepage (bug#6519).
15221
15222 2012-04-10 Glenn Morris <rgm@gnu.org>
15223
15224 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15225 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15226
15227 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15228
15229 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15230 next-line "n" and previous-line "p" in order to make recentf more
15231 consistent with ibuffer, dired or org-mode (bug#9387).
15232
15233 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15234
15235 * image.el (put-image): Return the overlay created instead of the
15236 optional input string (bug#7834). Note that this may break code
15237 that is (for some reason or other) depending on `put-image'
15238 returning the string.
15239
15240 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15241
15242 * simple.el (zap-to-char): Allow zapping using input methods
15243 (bug#1580).
15244
15245 * textmodes/fill.el (fill-region): Leave point and mark where they
15246 were before filling (bug#5399).
15247
15248 2012-04-09 Glenn Morris <rgm@gnu.org>
15249
15250 * version.el (emacs-bzr-get-version):
15251 Handle lightweight checkouts of local branches.
15252
15253 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15254
15255 * international/characters.el: Recover lost case pairs. (Bug#11209)
15256
15257 2012-04-09 Chong Yidong <cyd@gnu.org>
15258
15259 * custom.el (custom-variable-p): Return nil for non-symbol
15260 arguments instead of signaling an error.
15261 (user-variable-p): Obsolete alias for custom-variable-p.
15262
15263 * apropos.el (apropos-variable):
15264 * files-x.el (read-file-local-variable):
15265 * simple.el (set-variable):
15266 * woman.el (woman-mini-help):
15267 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15268
15269 2012-04-09 Glenn Morris <rgm@gnu.org>
15270
15271 * startup.el (normal-top-level): Don't look for leim-list.el
15272 in places where it will not be found. (Bug#910)
15273
15274 * international/mule-cmds.el (set-default-coding-systems):
15275 * files.el (normal-mode):
15276 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15277 This function was removed with ucs-tables.el in 2008.
15278
15279 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15280
15281 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15282 ispell-encoding8-command to "-i", without a trailing space.
15283 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15284 separate command-line arguments, to specify the encoding, since
15285 that's how hunspell expects it.
15286
15287 2012-04-08 Glenn Morris <rgm@gnu.org>
15288
15289 * loadup.el: Load bindings before cus-start.
15290 This reduces somewhat the number of "rogue" settings in emacs -Q.
15291
15292 2012-04-07 Glenn Morris <rgm@gnu.org>
15293
15294 * version.el (emacs-bzr-get-version): New function.
15295 (emacs-bzr-version): New variable.
15296 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15297 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15298
15299 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15300
15301 * international/uni-bidi.el, international/uni-category.el:
15302 * international/uni-combining.el, international/uni-decimal.el:
15303 * international/uni-decomposition.el, international/uni-digit.el:
15304 * international/uni-lowercase.el, international/uni-mirrored.el:
15305 * international/uni-name.el, international/uni-numeric.el:
15306 * international/uni-titlecase.el, international/uni-uppercase.el:
15307 Update for Unicode 6.1.
15308
15309 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15310
15311 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15312
15313 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15314
15315 * window.el (shrink-window): Mention the `window-min-height'
15316 variable in the doc string.
15317
15318 2012-04-05 Bastien Guerry <bzg@altern.org>
15319
15320 * color.el (color-lighten-name): Fix typo.
15321
15322 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15323
15324 * server.el (server--on-display-p): New function.
15325 (server--on-display-p): Use it.
15326
15327 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15328
15329 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15330 (bug#11145).
15331
15332 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15333
15334 * comint.el (comint--common-quoted-suffix): Check string boundary
15335 before comparing (bug#11158).
15336 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15337
15338 2012-04-04 Chong Yidong <cyd@gnu.org>
15339
15340 * minibuffer.el (completion-extra-properties): Doc fix.
15341
15342 * subr.el (delayed-warnings-hook): Doc fix.
15343
15344 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15345
15346 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15347 selection (Bug#11159).
15348 (epa-insert-keys): Inform that the default public key will be
15349 exported if no key is selected.
15350
15351 2012-04-04 Richard Stallman <rms@gnu.org>
15352
15353 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15354
15355 2012-04-03 Chong Yidong <cyd@gnu.org>
15356
15357 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15358 mail-insert-file, not its obsolete alias mail-attach-file.
15359
15360 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15361
15362 * notifications.el (notifications-notify): Fix docstring.
15363
15364 2012-04-02 Glenn Morris <rgm@gnu.org>
15365
15366 * emacs-lisp/authors.el (authors-aliases): Another addition.
15367
15368 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15369
15370 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15371 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15372 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15373
15374 2012-04-01 Chong Yidong <cyd@gnu.org>
15375
15376 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15377 Handle root directory properly.
15378 (copy-directory): Caller changed.
15379
15380 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15381 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15382
15383 2012-03-31 Glenn Morris <rgm@gnu.org>
15384
15385 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15386
15387 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15388
15389 * calendar/calendar.el (calendar-window-list)
15390 (calendar-hide-window): Restore. (Bug#11140)
15391 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15392
15393 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15394
15395 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15396
15397 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15398 Check if file is a symlink (Bug#10489).
15399
15400 * files.el (copy-directory): Likewise.
15401
15402 2012-03-30 Chong Yidong <cyd@gnu.org>
15403
15404 * image.el (imagemagick-types-inhibit)
15405 (imagemagick-register-types): Doc fix.
15406
15407 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15408
15409 * textmodes/ispell.el (ispell-get-extended-character-mode):
15410 Disable extended-char-mode for hunspell. hunspell does not support it
15411 and treats ~word as ordinary words in pipe mode.
15412
15413 2012-03-30 Glenn Morris <rgm@gnu.org>
15414
15415 * tutorial.el (help-with-tutorial): Ensure local variables don't
15416 happen to make the buffer read-only. (Bug#11127)
15417
15418 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15419
15420 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15421 (perl-calculate-indent): Return `noindent' in strings.
15422
15423 2012-03-28 Sam Steingold <sds@gnu.org>
15424
15425 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15426 instead of the broken adhockery which does not prevent calendar
15427 buffers from being displayed at random after exit.
15428 (calendar-window-list, calendar-hide-window): Remove the broken
15429 adhockery.
15430
15431 2012-03-28 Glenn Morris <rgm@gnu.org>
15432
15433 * replace.el (query-replace-map): Doc fix.
15434
15435 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15436
15437 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15438 contents. (Bug#11109)
15439
15440 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15441
15442 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15443 (bug#11077).
15444 (avl-tree--check, avl-tree--check-node): New funs.
15445
15446 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15447
15448 * window.el (switch-to-visible-buffer): New option.
15449 (switch-to-prev-buffer, switch-to-next-buffer):
15450 Observe switch-to-visible-buffer. Make sure that checking for a window
15451 showing a buffer already is done on the same frame.
15452
15453 2012-03-27 Glenn Morris <rgm@gnu.org>
15454
15455 * startup.el (mail-host-address): Doc fix.
15456
15457 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15458
15459 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15460 than 197 variables.
15461
15462 2012-03-26 Ami Fischman <ami@fischman.org>
15463
15464 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15465
15466 2012-03-26 Glenn Morris <rgm@gnu.org>
15467
15468 * files.el (save-buffers-kill-emacs): Doc fix.
15469
15470 * startup.el (normal-top-level, command-line, command-line-1):
15471 Give them doc strings.
15472
15473 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15474
15475 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15476 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15477
15478 2012-03-25 Chong Yidong <cyd@gnu.org>
15479
15480 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15481 theme if it was previously enabled before (Bug#11031).
15482
15483 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15484 spec with custom-face-get-current-spec if its :shown-value is not
15485 determined yet (Bug#9337).
15486 (customize-create-theme, custom-theme-revert): Doc fixes.
15487
15488 * button.el (button-at): Minor addition to docstring.
15489
15490 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15491
15492 * vc/vc.el (vc-merge): Fix a prompt.
15493
15494 2012-03-24 Chong Yidong <cyd@gnu.org>
15495
15496 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15497 point (Bug#9623).
15498
15499 * button.el (button-at): Minor addition to docstring.
15500
15501 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15502
15503 * newcomment.el (comment-choose-indent): No space after BOL.
15504
15505 2012-03-22 Sam Steingold <sds@gnu.org>
15506
15507 * window.el (switch-to-prev-buffer): Revert last patch because the
15508 bug turned out to be an advertised feature (Elisp manual 28.14).
15509
15510 2012-03-22 Glenn Morris <rgm@gnu.org>
15511
15512 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15513 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15514
15515 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15516
15517 * net/network-stream.el (network-stream-open-starttls): Make error
15518 message under Windows be less misleading.
15519
15520 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15521
15522 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15523 understands (bug#9942).
15524
15525 2012-03-22 Chong Yidong <cyd@gnu.org>
15526
15527 * simple.el (end-of-visible-line): Handle return value of
15528 next-single-property-change properly (Bug#9371).
15529
15530 2012-03-22 Kenichi Handa <handa@m17n.org>
15531
15532 * international/quail.el (quail-insert-kbd-layout): Fix previous
15533 change. To avoid unwanted bidi reordering, use
15534 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15535
15536 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15537
15538 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15539 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15540 (ruby-beginning-of-indent): Be more careful with the difference
15541 between word-boundary and symbol boundary.
15542 (ruby-mode-syntax-table): Make : a symbol constituent.
15543
15544 2012-03-21 Andreas Politz <politza@fh-trier.de>
15545
15546 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15547
15548 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * progmodes/etags.el (tags-completion-at-point-function):
15551 Improve last fix.
15552
15553 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15554
15555 2012-03-21 Sam Steingold <sds@gnu.org>
15556
15557 * progmodes/etags.el (tags-completion-at-point-function):
15558 Avoid the error when point is inside the pattern.
15559
15560 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15561
15562 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15563 line (Bug#10855).
15564
15565 2012-03-21 Drew Adams <drew.adams@oracle.com>
15566
15567 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15568
15569 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15570
15571 * ido.el (ido-set-current-directory, ido-read-internal)
15572 (ido-choose-completion-string, ido-completion-help): Handle nil
15573 value of ido-completion-buffer (Bug#11008).
15574
15575 2012-03-21 Sam Steingold <sds@gnu.org>
15576
15577 * window.el (switch-to-prev-buffer): Do not switch to a visible
15578 window previous buffer, just like with the frame previous buffers.
15579
15580 2012-03-21 Chong Yidong <cyd@gnu.org>
15581
15582 * faces.el (make-face, make-empty-face, copy-face):
15583 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15584 Doc fixes.
15585
15586 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15589 (widget-complete): Remove broken use of it.
15590
15591 2012-03-20 Chong Yidong <cyd@gnu.org>
15592
15593 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15594 Use string-width and truncate-string-width to handle arbitrary
15595 characters.
15596
15597 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15598
15599 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15600 to draw rectangles, not squares. (Regression introduced by revno
15601 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15602
15603 2012-03-18 Chong Yidong <cyd@gnu.org>
15604
15605 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15606 it is not yet defined (for temacs).
15607
15608 2012-03-18 Leo Liu <sdl.web@gmail.com>
15609
15610 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15611 prefix.
15612
15613 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15614
15615 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15616 (ispell-choices-win-default-height, ispell-silently-savep)
15617 (ispell-dictionary-alist, ispell-encoding8-command)
15618 (ispell-check-version, ispell-aspell-find-dictionary)
15619 (ispell-valid-dictionary-list, ispell-words-keyword)
15620 (ispell-get-word, ispell-internal-change-dictionary)
15621 (ispell-region, ispell-skip-region-list)
15622 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15623 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15624 (ispell-message-text-end, ispell-message)
15625 (ispell-buffer-local-parsing): Doc fix.
15626
15627 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15628
15629 * htmlfontify.el: Add support for code block fontification for ODT
15630 export (Bug #9914).
15631 (hfy-optimisations): Define new option
15632 `body-text-only'
15633 (hfy-fontify-buffer): Honor above setting.
15634 (hfy-begin-span, hfy-end-span): New routines factored out form
15635 `hfy-fontify-buffer'.
15636 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15637 that permit insertion of custom tags.
15638 (hfy-fontify-buffer): Use above handlers.
15639 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15640 (hfy-face-to-css): Re-defined to be a variable.
15641 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15642 over multiple runs. This is made possible by having the caller let
15643 bind a special variable `hfy-user-sheet-assoc'.
15644 (htmlfontify-string): New defun.
15645 (hfy-compile-face-map): Make sure that the last char in the
15646 buffer is correctly fontified.
15647 (hfy-face-resolve-face): Whitespace only change.
15648
15649 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15650
15651 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15652 message more clear.
15653
15654 2012-03-16 Leo Liu <sdl.web@gmail.com>
15655
15656 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15657
15658 2012-03-16 Alan Mackenzie <acm@muc.de>
15659
15660 Further optimize the handling of large macros.
15661
15662 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15663 limit to a call of `c-literal-limits'.
15664 (c-determine-+ve-limit): New function.
15665 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15666 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15667 In CASE 5B, restrict a search limit to 500.
15668 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15669
15670 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15671 Restrict macro bounds to +-500 from after-change's BEG END.
15672
15673 2012-03-16 Leo Liu <sdl.web@gmail.com>
15674
15675 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15676
15677 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15678
15679 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15680 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15681
15682 2012-03-16 Glenn Morris <rgm@gnu.org>
15683
15684 * view.el (view-buffer, view-buffer-other-window)
15685 (view-buffer-other-frame): Doc fixes re special mode-class.
15686
15687 * subr.el (eval-after-load): If named feature is provided not from
15688 a file, run after-load forms. (Bug#10946)
15689
15690 * calendar/calendar.el (calendar-insert-at-column):
15691 Handle non-unit-width characters a bit better. (Bug#10978)
15692
15693 2012-03-15 Chong Yidong <cyd@gnu.org>
15694
15695 * emacs-lisp/ring.el (ring-extend): New function.
15696 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15697
15698 * comint.el (comint-read-input-ring)
15699 (comint-add-to-input-history): Grow comint-input-ring lazily.
15700
15701 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15702
15703 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15704 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15705
15706 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15707 (imenu-add-to-menubar): Don't add a redundant index.
15708 (imenu-update-menubar): Handle a dynamically composed keymap.
15709
15710 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15711
15712 * mail/sendmail.el (mail-encode-header):
15713 Bind rfc2047-encode-encoded-words to nil.
15714
15715 2012-03-13 Glenn Morris <rgm@gnu.org>
15716
15717 * calendar/calendar.el (calendar-string-spread):
15718 Handle non-unit-width characters a bit better. (Bug#10978)
15719
15720 2012-03-13 Leo Liu <sdl.web@gmail.com>
15721
15722 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15723 directory and file as argument (Bug#10822).
15724
15725 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15726
15727 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15728 For dynamically generated code, follow $PC.
15729 (gdb-disassembly-handler-custom): Handle no function name case.
15730
15731 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15732
15733 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15734 * emulation/ws-mode.el (ws-query-replace):
15735 * sort.el (sort-regexp-fields):
15736 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15737
15738 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15739
15740 * dabbrev.el: Fix cycle completion order (bug#10963).
15741 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15742 (dabbrev-completion): Don't use an obarray; provide
15743 a cycle-sort-function.
15744
15745 2012-03-12 Leo Liu <sdl.web@gmail.com>
15746
15747 * simple.el (kill-new): Use equal-including-properties for comparison.
15748 (kill-do-not-save-duplicates): Doc fix.
15749
15750 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 * dabbrev.el: Fix cycle completion (bug#10963).
15753 Use lexical binding and wrap to 80 columns.
15754 (dabbrev-completion): Delay computing the list of completions.
15755
15756 2012-03-12 Kenichi Handa <handa@m17n.org>
15757
15758 * international/quail.el (quail-insert-kbd-layout): Surround each
15759 row by LRO and PDF instead of inserting many LRMs. Pad the left
15760 and right of each non-spacing marks. Insert invisible space
15761 between lower and upper characters to prevent composition.
15762
15763 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15764
15765 * minibuffer.el (minibuffer-complete): Don't get confused when the
15766 function is run twice via different commands (bug#10958).
15767 (complete-with-action): Fix docstring.
15768
15769 2012-03-12 Chong Yidong <cyd@gnu.org>
15770
15771 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15772 (nxml-completion-at-point-function): New function.
15773 (nxml-mode): Use it.
15774 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15775
15776 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15777 Load generated autoloads file before byte compiling (Bug#10970).
15778 (package--make-autoloads-and-compile): New helper fun.
15779
15780 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15781
15782 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15783
15784 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15785
15786 * autorevert.el (auto-revert-handler): Ensure, that
15787 file-readable-p is applied only for local files or in
15788 auto-revert-tail-mode.
15789
15790 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15791
15792 * server.el (server-eval-at): Handle non-tcp connections.
15793 Decode result string.
15794
15795 * server.el (server-msg-size): New constant.
15796 (server-reply-print): New function.
15797 (server-eval-and-print): Use it.
15798 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15799 Handle -print-nonl.
15800
15801 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15802
15803 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15804 (Bug#10987).
15805
15806 2012-03-11 Chong Yidong <cyd@gnu.org>
15807
15808 * simple.el (goto-line): Doc fix (Bug#9938).
15809
15810 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15811
15812 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15813 when finished (Bug#10963).
15814
15815 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15816
15817 * window.el (split-window-below): Fix bug in case where
15818 split-window-keep-point is nil (Bug#10971).
15819
15820 2012-03-11 Juri Linkov <juri@jurta.org>
15821
15822 * replace.el (replace-highlight): Set isearch-word to nil
15823 unconditionally. (Bug#10887)
15824
15825 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15826
15827 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15828 mairix-replace-illegal-chars; all callers changed. Don't remove
15829 ^, ~, and = characters: they are meaningful in mairix search specs.
15830 (mairix-widget-create-query): Add usage information about mairix
15831 search forms: negating words, searching for substrings, etc.
15832
15833 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15834
15835 * international/fontset.el (font-encoding-alist): Add an entry for
15836 ksx1001 (Bug#5667).
15837
15838 2012-03-10 Richard Stallman <rms@gnu.org>
15839
15840 * mail/sendmail.el (mail-encode-header):
15841 Set rfc2047-encode-encoded-words.
15842
15843 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15844
15845 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15846 view buffer means not swapped.
15847 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15848 (rmail-write-region-annotate): Error if real text has disappeared.
15849
15850 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15851
15852 2012-03-10 Chong Yidong <cyd@gnu.org>
15853
15854 * emulation/cua-rect.el (cua--init-rectangles):
15855 * emulation/cua-base.el (cua--init-keymaps):
15856 Add delete-forward-char to remappings (Bug#9666).
15857
15858 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15859
15860 * speedbar.el (speedbar-unhighlight-one-tag-line):
15861 Avoid unhighlighting due to frame switching (Bug#10275).
15862
15863 2012-03-10 Chong Yidong <cyd@gnu.org>
15864
15865 * minibuffer.el (completion-in-region, completion-help-at-point):
15866 Give the completion field overlay a high priority (Bug#6830).
15867
15868 * dired.el (dired-goto-file): Recognize absolute file name
15869 listings (Bug#7126).
15870 (dired-goto-file-1): New helper function.
15871 (dired-toggle-read-only): Inhibit warnings.
15872
15873 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15874
15875 * net/dbus.el (dbus-property-handler): Return empty array if
15876 there are no properties.
15877
15878 2012-03-09 Leo Liu <sdl.web@gmail.com>
15879
15880 * savehist.el (savehist-printable): Stricter check for string
15881 value (Bug#10937).
15882
15883 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15884
15885 * mail/smtpmail.el (smtpmail-send-it):
15886 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15887 valid mbox format.
15888
15889 2012-03-09 Glenn Morris <rgm@gnu.org>
15890
15891 * files.el (dir-locals-find-file):
15892 Don't check result is regular, readable.
15893 (dir-locals-read-from-file): Demote errors.
15894
15895 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15896
15897 * international/quail.el (quail-insert-kbd-layout):
15898 Insert invisible LRM characters before each character in a keyboard
15899 layout cell, to prevent their reordering by bidi display engine.
15900 For details, see the discussion in
15901 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15902
15903 2012-03-08 Alan Mackenzie <acm@muc.de>
15904
15905 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15906 the starting position; make it extend the marked region when
15907 invoked repeatedly - all under appropriate circumstances.
15908 Fixes bugs #5525, #10906.
15909
15910 2012-03-08 Glenn Morris <rgm@gnu.org>
15911
15912 * files.el (locate-dominating-file, dir-locals-find-file):
15913 Undo 2012-03-06 change.
15914
15915 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15916
15917 * international/quail.el (quail-help):
15918 Force bidi-paragraph-direction be left-to-right. See discussion in
15919 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15920 for the reason.
15921
15922 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15923
15924 Avoid superfluous registering of signals. (Bug#10807)
15925
15926 * notifications.el (notifications-on-action-object)
15927 (notifications-on-close-object): New defvars.
15928 (notifications-on-action-signal, notifications-on-closed-signal):
15929 Unregister the signal if not needed any longer.
15930 (notifications-notify): Register `notifications-action-signal' or
15931 `notifications-closed-signal', if :on-action or :on-close has been
15932 passed as argument.
15933
15934 2012-03-07 Chong Yidong <cyd@gnu.org>
15935
15936 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15937 non-X platforms.
15938
15939 2012-03-06 Glenn Morris <rgm@gnu.org>
15940
15941 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15942 (x-disown-selection-internal, x-get-selection-internal):
15943 Doc fix (add arglist signatures). (Bug#10783)
15944
15945 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15946
15947 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15948 Handle breakpoints with no "type".
15949
15950 2012-03-06 Glenn Morris <rgm@gnu.org>
15951
15952 * files.el (locate-dominating-file): Add optional predicate argument.
15953 (dir-locals-find-file): Make use of above change.
15954
15955 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15956
15957 * info.el (Info-insert-dir): Also try "dir.gz".
15958
15959 2012-03-06 Glenn Morris <rgm@gnu.org>
15960
15961 * files.el (dir-locals-find-file):
15962 Ignore non-readable or non-regular files. (Bug#10928)
15963
15964 * files.el (locate-dominating-file): Doc fix.
15965
15966 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15967
15968 * calendar/calendar.el (calendar-set-mode-line):
15969 `getenv' returns a string. (Bug#10951)
15970
15971 2012-03-05 Leo Liu <sdl.web@gmail.com>
15972
15973 * simple.el (backward-delete-char-untabify): Constrain point to
15974 field (Bug#10939).
15975
15976 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15977
15978 2012-03-05 Chong Yidong <cyd@gnu.org>
15979
15980 * simple.el (count-words): If called from Lisp, return the word
15981 count, for symmetry with `count-lines'. Arglist changed.
15982 (count-words--message): Args changed. Consolidate counting code
15983 from count-words and count-words-region.
15984 (count-words-region): Caller changed.
15985 (count-lines-region): Make it an obsolete alias.
15986
15987 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15988
15989 * saveplace.el (save-place-to-alist)
15990 (save-place-ignore-files-regexp): Allow value nil to disable this
15991 feature.
15992
15993 2012-03-04 Chong Yidong <cyd@gnu.org>
15994
15995 * faces.el (face-spec-reset-face): For the default face, reset the
15996 attributes to default values (Bug#10748).
15997
15998 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15999
16000 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16001 previous patch: Check `message-send-mail-function', and not the
16002 default function (bug#10897).
16003
16004 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16005
16006 * notifications.el (notifications-on-action-signal)
16007 (notifications-on-closed-signal): Check for unique service name of
16008 incoming event. Fix error in removing entry.
16009 (top): Register for signals with wildcard service name.
16010 (notifications-notify): Use daemon unique service name for map entries.
16011
16012 2012-03-04 Chong Yidong <cyd@gnu.org>
16013
16014 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16015
16016 2012-03-04 Glenn Morris <rgm@gnu.org>
16017
16018 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16019 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16020 (expand-abbrev, define-abbrev-table): Doc fixes.
16021
16022 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16023
16024 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16025 `message-default-send-mail-function' and not `send-mail-function'
16026 when doing the prompting for `sendmail-query-once' before sending
16027 in Message buffers (bug#10897).
16028
16029 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16030 This is inconsistent with all the other stream functions, which leave
16031 the setting up to the higher levels (if so wanted) (bug#10931).
16032
16033 2012-03-02 Alan Mackenzie <acm@muc.de>
16034
16035 Depessimize the handling of very large macros.
16036
16037 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16038 (c-macro-cache-syntactic): New variables to implement a one
16039 element macro cache.
16040 (c-invalidate-macro-cache): New function.
16041 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16042 Adapt to use the new cache.
16043 (c-state-safe-place): Use better the cache of safe positions.
16044 (c-state-semi-nonlit-pos-cache)
16045 (c-state-semi-nonlit-pos-cache-limit):
16046 New variables for...
16047 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16048 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16049 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16050 Use c-state-semi-safe-place.
16051
16052 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16053 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16054
16055 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16056
16057 * jka-compr.el (jka-compr-call-process):
16058 Apply `file-accessible-directory-p' only when the default directory is
16059 not remote.
16060
16061 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16062
16063 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16064 access of FILE2, if FILE1 does not exist.
16065
16066 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16067 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16068
16069 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16070 Add "PAGER=" to `process-environment'.
16071
16072 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16073
16074 * progmodes/sql.el: Bug fix
16075 (sql-get-login-ext): Save login values in globals.
16076 (sql-get-login): Use new version of `sql-get-login-ext'.
16077 (sql-interactive-mode): Set global `sql-connection' to nil.
16078 (sql-connect): Set global values for connection.
16079 (sql-product-interactive): Save global values as buffer local.
16080
16081 2012-02-29 Leo Liu <sdl.web@gmail.com>
16082
16083 * abbrev.el (define-abbrevs): Reset sys to nil.
16084
16085 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16086
16087 * files.el (file-equal-p): Rename from `files-equal-p'.
16088 Return nil when one or both files don't exist.
16089 (file-subdir-of-p): Now only top directory must exists,
16090 return nil if it doesn't.
16091 (copy-directory): No need to test with `file-subdir-of-p' after
16092 creating dir.
16093 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16094 to `file-equal-p'.
16095
16096 2012-02-28 Glenn Morris <rgm@gnu.org>
16097
16098 * shell.el (shell-mode):
16099 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16100 * play/landmark.el (landmark-font-lock-face-O):
16101 * play/handwrite.el (handwrite):
16102 * play/gomoku.el (gomoku-O):
16103 * net/browse-url.el (browse-url-browser-display):
16104 * international/mule.el (define-charset):
16105 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16106 * filesets.el (filesets-find-file-delay):
16107 * eshell/em-xtra.el (eshell-xtra):
16108 * eshell/em-unix.el (eshell-grep):
16109 * emulation/viper.el (viper-mode):
16110 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16111 * emacs-lisp/easymenu.el (easy-menu-define):
16112 * calendar/timeclock.el (timeclock-use-display-time):
16113 * bs.el (bs-mode):
16114 * bookmark.el (bookmark-save-flag):
16115 Doc fix (standardize possessive apostrophe usage).
16116
16117 2012-02-27 Chong Yidong <cyd@gnu.org>
16118
16119 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16120 Fix key-binding lookup for ESC key (Bug#9146).
16121
16122 * font-lock.el (font-lock-specified-p): Rename from
16123 font-lock-spec-present. Callers changed.
16124
16125 2012-02-27 Daniel Hackney <dan@haxney.org>
16126
16127 * emacs-lisp/package.el (package-compute-transaction):
16128 Handle holding a package version to t in package-load-list.
16129
16130 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16131
16132 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16133 (tramp-get-inode, tramp-get-device): Use cached values.
16134
16135 2012-02-26 Alan Mackenzie <acm@muc.de>
16136
16137 Check there is a font-lock specification before doing initial
16138 fontification.
16139
16140 * font-core.el (font-lock-mode): Move the conditional from
16141 :after-hook to font-lock-initial-fontify.
16142 (font-lock-default-function): Move the check for a specification
16143 to font-lock-spec-present.
16144
16145 * font-lock.el (font-lock-initial-fontify): Call ...
16146 (font-lock-spec-present): New function.
16147
16148 2012-02-26 Jim Blandy <jimb@red-bean.com>
16149
16150 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16151 (gdb-send): Apply it to the operand of the '-interpreter-exec
16152 console' command, so that we can pass arguments with (say) quotes
16153 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16154
16155 2012-02-26 Chong Yidong <cyd@gnu.org>
16156
16157 * help-fns.el (describe-function-1): Clarify description of
16158 remapping (Bug#10844).
16159
16160 * files.el (files-equal-p): Doc fix.
16161 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16162 and quit the loop once a mismatch is found.
16163
16164 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16165
16166 * bs.el (bs--show-with-configuration): Don't throw an error
16167 if the window cannot be split; otherwise, subsequent calls to
16168 bs-show fail, restoring a stale window config. (Bug#10882)
16169
16170 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16171
16172 * term/ns-win.el (global-map): Bind ns-drag-file to
16173 ns-find-file (Bug#5855, Bug#10050).
16174
16175 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16176
16177 * calendar/parse-time.el (parse-time-string): Allow extractor to
16178 return nil.
16179
16180 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16181
16182 * net/tramp.el (tramp-file-name-for-operation):
16183 Add `files-equal-p' and `file-subdir-of-p'.
16184
16185 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16186 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16187 Add COPY-CONTENTS argument.
16188
16189 2012-02-25 Chong Yidong <cyd@gnu.org>
16190
16191 Add custom groups for VC backends, for consistency with vc-bzr.
16192
16193 * vc/vc-arch.el (vc-arch):
16194 * vc/vc-cvs.el (vc-cvs):
16195 * vc/vc-git.el (vc-git):
16196 * vc/vc-hg.el (vc-hg):
16197 * vc/vc-mtn.el (vc-mtn):
16198 * vc/vc-rcs.el (vc-rcs):
16199 * vc/vc-sccs.el (vc-sccs):
16200 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16201 All relevant defcustoms reassigned.
16202
16203 2012-02-25 Chong Yidong <cyd@gnu.org>
16204
16205 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16206
16207 * term/x-win.el (x-initialize-window-system): Reduce default for
16208 x-selection-timeout to 5 seconds (Bug#8869).
16209
16210 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16211
16212 * files.el (files-equal-p, file-subdir-of-p): New functions.
16213 (copy-directory): Error when trying to copy a directory on itself.
16214 Add missing copy-contents arg to tramp handler.
16215 * dired-aux.el (dired-copy-file-recursive): Same.
16216 (dired-create-files): Modify destination when source is equal to
16217 dest when copying files.
16218 Return also when dest is a subdir of source. (Bug#10489)
16219
16220 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16221
16222 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16223 (Bug#10874)
16224
16225 2012-02-23 Alan Mackenzie <acm@muc.de>
16226
16227 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16228 parameter "after-hook:" to allow the expansion to run code after
16229 the execution of the mode hooks.
16230
16231 * font-lock.el (font-lock-initial-fontify): New function extracted
16232 from font-lock-mode-internal.
16233
16234 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16235 :after-hook.
16236
16237 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16240 (completion--cache-all-sorted-completions): New function.
16241 (completion-all-sorted-completions): Use it.
16242 (completion--do-completion, minibuffer-force-complete):
16243 Use it to re-instate the flush hook.
16244
16245 * icomplete.el (icomplete-completions): Replace last fix with a better
16246 one (bug#10850).
16247
16248 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16249
16250 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16251 when it might call us back infinitely (bug#10797).
16252
16253 2012-02-23 Glenn Morris <rgm@gnu.org>
16254
16255 * minibuffer.el (completion-category-overrides): Doc fix.
16256
16257 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16260 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16261
16262 2012-02-23 Glenn Morris <rgm@gnu.org>
16263
16264 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16265 (authors-obsolete-files-regexps, authors-ignored-files)
16266 (authors-ambiguous-files, authors-renamed-files-alist):
16267 Add more entries.
16268
16269 2012-02-23 Juri Linkov <juri@jurta.org>
16270
16271 * isearch.el (isearch-occur): Sync interactive spec with occur's
16272 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16273
16274 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16275
16276 2012-02-22 Juri Linkov <juri@jurta.org>
16277
16278 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16279 (ucs-insert): Doc fix. Check for hex digits in the string.
16280 Don't display `nil' in the error message. (Bug#10857)
16281
16282 2012-02-22 Alan Mackenzie <acm@muc.de>
16283
16284 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16285
16286 2012-02-22 Glenn Morris <rgm@gnu.org>
16287
16288 * ffap.el (ffap-c-path):
16289 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16290
16291 2012-02-22 Chong Yidong <cyd@gnu.org>
16292
16293 * custom.el (load-theme): Doc fix.
16294
16295 2012-02-22 Glenn Morris <rgm@gnu.org>
16296
16297 * dired-x.el (dired-guess-shell-alist-default):
16298 Remove escape sequences from nroff output. (Bug#172)
16299
16300 2012-02-21 Glenn Morris <rgm@gnu.org>
16301
16302 * vc/emerge.el (emerge-defvar-local):
16303 Set `permanent-local' property rather than unused `preserved'.
16304
16305 * textmodes/picture.el (picture-delete-char): New alias.
16306 (picture-mode-map): Use it. (Bug#10860)
16307 (picture-mode): Doc fix.
16308
16309 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16310
16311 * newcomment.el (uncomment-region-default): Remove unused binding.
16312
16313 2012-02-21 Glenn Morris <rgm@gnu.org>
16314
16315 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16316 (picture-self-insert, picture-tab-chars): Doc fix.
16317 (picture-mode-map): Fix C-a, C-e.
16318
16319 2012-02-20 Glenn Morris <rgm@gnu.org>
16320
16321 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16322
16323 2012-02-20 Leo Liu <sdl.web@gmail.com>
16324
16325 * icomplete.el (icomplete-completions): Check FROM arg before
16326 passing to substring (Bug#10850).
16327
16328 2012-02-19 Chong Yidong <cyd@gnu.org>
16329
16330 * comint.el: Require ansi-color.
16331 (comint-output-filter-functions): Add ansi-color-process-output.
16332
16333 * ansi-color.el: Don't set comint-output-filter-functions; it is
16334 now in the initial value defined in comint.el.
16335 (ansi-color-apply-face-function): New variable.
16336 (ansi-color-apply-on-region): Use it.
16337 (ansi-color-apply-overlay-face): New function.
16338
16339 * shell.el (shell): No need to require ansi-color.
16340 (shell-mode): Use ansi-color-apply-face-function to highlight
16341 color escapes using font-lock-face property (Bug#10835).
16342
16343 2012-02-19 Chong Yidong <cyd@gnu.org>
16344
16345 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16346 mode-line formats (Bug#10839).
16347
16348 2012-02-18 Glenn Morris <rgm@gnu.org>
16349
16350 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16351
16352 * mail/undigest.el (unforward-rmail-message): Doc fix.
16353
16354 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16355
16356 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16357
16358 * international/characters.el (script-list): Sync with the latest
16359 Unicode Character Database.
16360
16361 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16362
16363 * international/titdic-cnv.el: Remove duplicate coding tag.
16364 * language/cham.el: Likewise.
16365 * language/tai-viet.el: Likewise.
16366
16367 2012-02-18 Glenn Morris <rgm@gnu.org>
16368
16369 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16370 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16371 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16372 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16373 * calendar/holidays.el (holiday-bahai-holidays)
16374 (calendar-holidays, list-holidays):
16375 Use utf-8 Bahá'í in doc-strings, menus, etc.
16376
16377 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16378
16379 * saveplace.el (save-place-ignore-files-regexp): New variable
16380 allowing for excluding files from saving their location of point.
16381 The default value matches the temporary commit message editing
16382 files from Git, SVN, Bazaar, and Mercurial.
16383 (save-place-to-alist): Use it.
16384
16385 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16386 Stefan Monnier <monnier@iro.umontreal.ca>
16387
16388 * newcomment.el (uncomment-region-default): Don't leave extra space
16389 when an arg is provided (bug#8150).
16390
16391 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16392
16393 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16394
16395 2012-02-17 Glenn Morris <rgm@gnu.org>
16396
16397 * net/socks.el: Require network-stream. (Bug#10599)
16398
16399 2012-02-17 Kenichi Handa <handa@m17n.org>
16400
16401 * international/charprop.el:
16402 * international/uni-name.el:
16403 * international/uni-old-name.el:
16404 * international/uni-comment.el: Regenerate.
16405
16406 2012-02-16 Glenn Morris <rgm@gnu.org>
16407
16408 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16409 Interactively in calendar buffer, give an error if not on a date.
16410
16411 2012-02-15 Glenn Morris <rgm@gnu.org>
16412
16413 * shell.el (shell-delimiter-argument-list):
16414 Revert 2011-02-17 change. (Bug#8027)
16415
16416 2012-02-15 Chong Yidong <cyd@gnu.org>
16417
16418 * minibuffer.el (completion-at-point-functions): Doc fix.
16419
16420 * custom.el (defcustom): Doc fix; note use of defvar.
16421
16422 2012-02-15 Glenn Morris <rgm@gnu.org>
16423
16424 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16425 Doc fixes.
16426
16427 2012-02-14 Glenn Morris <rgm@gnu.org>
16428
16429 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16430
16431 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16432
16433 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16434 way the ports list is computed.
16435 (smtpmail-query-smtp-server): Prompt the user for a port number if
16436 we can't connect to any of the standard ports (bug#10810).
16437
16438 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16439
16440 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16441
16442 2012-02-13 Glenn Morris <rgm@gnu.org>
16443
16444 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16445
16446 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16447
16448 * net/gnutls.el (gnutls-trustfiles): New variable.
16449 (gnutls-negotiate): Use it.
16450
16451 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16452
16453 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16454 does its stuff if Gnus is running.
16455
16456 2012-02-13 Alan Mackenzie <acm@muc.de>
16457
16458 Fix a loop in c-set-fl-decl-start.
16459
16460 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16461 c-backward-syntactic-ws actually moves backwards.
16462
16463 2012-02-13 Leo Liu <sdl.web@gmail.com>
16464
16465 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16466 beginning so that all \C-o chars are removed.
16467
16468 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16469
16470 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16471
16472 2012-02-12 Alan Mackenzie <acm@muc.de>
16473
16474 Fix infinite loop with long macros.
16475 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16476
16477 2012-02-12 Chong Yidong <cyd@gnu.org>
16478
16479 * window.el (display-buffer): Doc fix (Bug#10785).
16480
16481 2012-02-12 Glenn Morris <rgm@gnu.org>
16482
16483 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16484 (x-disown-selection-internal, x-get-selection-internal):
16485 Sync docs with the xselect.c versions.
16486
16487 * allout-widgets.el: Add missing license notice.
16488
16489 2012-02-11 Glenn Morris <rgm@gnu.org>
16490
16491 * select.el (x-get-selection-internal, x-own-selection-internal)
16492 (x-disown-selection-internal):
16493 * x-dnd.el (x-get-selection-internal): Update declarations.
16494
16495 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16496
16497 * window.el (window-sides-slots):
16498 * tool-bar.el (tool-bar-position):
16499 * term/xterm.el (xterm-extra-capabilities):
16500 * ses.el (ses-self-reference-early-detection):
16501 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16502 (verilog-auto-wire-type)
16503 (verilog-auto-delete-trailing-whitespace)
16504 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16505 (verilog-auto-tieoff-declaration):
16506 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16507 (sql-oracle-statement-starters, sql-oracle-scan-on):
16508 * progmodes/prolog.el (prolog-align-comments-flag)
16509 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16510 (prolog-left-indent-regexp, prolog-paren-indent-p)
16511 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16512 (prolog-types, prolog-mode-specificators)
16513 (prolog-determinism-specificators, prolog-directives)
16514 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16515 (prolog-electric-dot-flag)
16516 (prolog-electric-dot-full-predicate-template)
16517 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16518 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16519 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16520 (prolog-program-switches, prolog-prompt-regexp)
16521 (prolog-debug-on-string, prolog-debug-off-string)
16522 (prolog-trace-on-string, prolog-trace-off-string)
16523 (prolog-zip-on-string, prolog-zip-off-string)
16524 (prolog-use-standard-consult-compile-method-flag)
16525 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16526 (prolog-imenu-max-lines, prolog-info-predicate-index)
16527 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16528 (prolog-char-quote-workaround):
16529 * progmodes/cc-vars.el (c-defun-tactic):
16530 * net/tramp.el (tramp-encoding-command-interactive)
16531 (tramp-local-end-of-line):
16532 * net/soap-client.el (soap-client):
16533 * net/netrc.el (netrc-file):
16534 * net/gnutls.el (gnutls):
16535 * minibuffer.el (completion-category-overrides)
16536 (completion-cycle-threshold)
16537 (completion-pcm-complete-word-inserts-delimiters):
16538 * man.el (Man-name-local-regexp):
16539 * mail/feedmail.el (feedmail-display-full-frame):
16540 * international/characters.el (glyphless-char-display-control):
16541 * eshell/em-ls.el (eshell-ls-date-format):
16542 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16543 (lisp-lambda-list-keyword-parameter-indentation)
16544 (lisp-lambda-list-keyword-parameter-alignment):
16545 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16546 * dired-x.el (dired-omit-verbose):
16547 * cus-theme.el (custom-theme-allow-multiple-selections):
16548 * calc/calc.el (calc-highlight-selections-with-faces)
16549 (calc-lu-field-reference, calc-lu-power-reference)
16550 (calc-note-threshold):
16551 * battery.el (battery-mode-line-limit):
16552 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16553 (archive-7z-update):
16554 * allout.el (allout-prefixed-keybindings)
16555 (allout-unprefixed-keybindings)
16556 (allout-inhibit-auto-fill-on-headline)
16557 (allout-flattened-numbering-abbreviation):
16558 * allout-widgets.el (allout-widgets-auto-activation)
16559 (allout-widgets-icons-dark-subdir)
16560 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16561 (allout-widgets-theme-dark-background)
16562 (allout-widgets-theme-light-background)
16563 (allout-widgets-item-image-properties-emacs)
16564 (allout-widgets-item-image-properties-xemacs)
16565 (allout-widgets-run-unit-tests-on-load)
16566 (allout-widgets-time-decoration-activity)
16567 (allout-widgets-hook-error-post-time)
16568 (allout-widgets-track-decoration):
16569 Add missing :version tags to new defcustoms and defgroups.
16570
16571 * progmodes/sql.el (sql-ansi-statement-starters)
16572 (sql-oracle-statement-starters): Add custom type.
16573
16574 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16575 (prolog-system-version): Give it a type.
16576
16577 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16578
16579 * term/pc-win.el (x-select-text, x-selection-owner-p)
16580 (x-own-selection-internal, x-disown-selection-internal)
16581 (x-get-selection-internal): Sync doc strings and argument lists
16582 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16583
16584 2012-02-11 Leo Liu <sdl.web@gmail.com>
16585
16586 * progmodes/python.el (python-end-of-statement): Fix infinite
16587 loop. (Bug#10788)
16588
16589 2012-02-10 Glenn Morris <rgm@gnu.org>
16590
16591 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16592 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16593
16594 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16595
16596 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16597 about SMTP before checking the From header.
16598
16599 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16600 into own function for reuse by emacsbug.el.
16601
16602 2012-02-10 Leo Liu <sdl.web@gmail.com>
16603
16604 * subr.el (condition-case-unless-debug): Rename from
16605 condition-case-no-debug. All callers changed.
16606 (with-demoted-errors): Fix caller.
16607
16608 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16609 * nxml/rng-valid.el (rng-do-some-validation):
16610 * emacs-lisp/package.el (package-refresh-contents)
16611 (package-menu-execute):
16612 * desktop.el (desktop-create-buffer):
16613 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16614
16615 2012-02-10 Glenn Morris <rgm@gnu.org>
16616
16617 * textmodes/bibtex.el:
16618 Add missing :version tags for new/changed defcustoms.
16619
16620 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16621
16622 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16623
16624 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16625 (smtpmail-via-smtp): Use it, or fall back on the From address.
16626 (smtpmail-send-it): Ditto.
16627
16628 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16629
16630 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16631 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16632 (byte-compile-tmp-var): New const.
16633 (byte-compile-defvar): Use it to minimize .elc size.
16634 Just use `defvar' rather than simulate it (bug#10761).
16635
16636 2012-02-09 Glenn Morris <rgm@gnu.org>
16637
16638 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16639
16640 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16641 Add :version tags.
16642
16643 * progmodes/compile.el (compilation-error-screen-columns)
16644 (compilation-first-column, compilation-filter-start): Doc fixes.
16645
16646 * vc/log-view.el (log-view-toggle-entry-display):
16647 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16648
16649 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16650 (report-emacs-bug-can-use-xdg-email):
16651 (report-emacs-bug-insert-to-mailer): Doc fixes.
16652 (report-emacs-bug): Message fix.
16653
16654 * net/browse-url.el (browse-url-can-use-xdg-open)
16655 (browse-url-xdg-open): Doc fixes.
16656
16657 * electric.el (electric-indent-mode, electric-pair-mode)
16658 (electric-layout-rules, electric-layout-mode): Doc fixes.
16659 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16660
16661 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16662
16663 * server.el (server-unselect-display): Don't inadvertently kill
16664 the current buffer. (Bug#10729)
16665
16666 2012-02-08 Glenn Morris <rgm@gnu.org>
16667
16668 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16669 (sql-list-table): Doc fixes.
16670
16671 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16672 Comment out (does nothing).
16673
16674 * completion.el (dynamic-completion-mode):
16675 * dirtrack.el (dirtrack-debug-mode):
16676 * electric.el (electric-layout-mode):
16677 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16678 * face-remap.el (text-scale-mode, buffer-face-mode):
16679 * iimage.el (iimage-mode):
16680 * image-mode.el (image-transform-mode):
16681 * minibuffer.el (completion-in-region-mode):
16682 * scroll-lock.el (scroll-lock-mode):
16683 * simple.el (next-error-follow-minor-mode):
16684 * tar-mode.el (tar-subfile-mode):
16685 * tooltip.el (tooltip-mode):
16686 * vcursor.el (vcursor-use-vcursor-map):
16687 * wid-browse.el (widget-minor-mode):
16688 * emulation/tpu-edt.el (tpu-edt-mode):
16689 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16690 * international/iso-ascii.el (iso-ascii-mode):
16691 * language/thai-util.el (thai-word-mode):
16692 * mail/supercite.el (sc-minor-mode):
16693 * net/goto-addr.el (goto-address-mode):
16694 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16695 * progmodes/cwarn.el (cwarn-mode):
16696 * progmodes/flymake.el (flymake-mode):
16697 * progmodes/glasses.el (glasses-mode):
16698 * progmodes/hideshow.el (hs-minor-mode):
16699 * progmodes/pascal.el (pascal-outline-mode):
16700 * textmodes/enriched.el (enriched-mode):
16701 * vc/smerge-mode.el (smerge-mode):
16702 Doc fixes (minor mode argument).
16703
16704 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16705
16706 * ls-lisp.el (ls-lisp-sanitize): New function.
16707 (ls-lisp-insert-directory): Use it to fix or remove any elements
16708 in file-alist with missing attributes. (Bug#4673)
16709
16710 2012-02-07 Alan Mackenzie <acm@muc.de>
16711
16712 Fix spurious recognition of c-in-knr-argdecl.
16713
16714 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16715 putative K&R region.
16716
16717 2012-02-07 Alan Mackenzie <acm@muc.de>
16718
16719 * progmodes/cc-engine.el (c-forward-objc-directive):
16720 Prevent looping in "#pragma mark @implementation".
16721
16722 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16723
16724 * notifications.el (notifications-on-closed-signal): Make `reason'
16725 optional. (Bug#10744)
16726
16727 2012-02-07 Glenn Morris <rgm@gnu.org>
16728
16729 * emacs-lisp/easy-mmode.el (define-minor-mode):
16730 Doc fixes for the macro and the mode it defines.
16731
16732 * image.el (imagemagick-types-inhibit): Doc fix.
16733
16734 * cus-start.el (imagemagick-render-type): Add it.
16735
16736 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16737
16738 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16739 Set the default at load time, too, so that `font-lock-fontify-buffer'
16740 can be called without setting up the entire mode first. This fixes
16741 a bug in `mm-inline-text' with C MIME parts.
16742
16743 2012-02-06 Chong Yidong <cyd@gnu.org>
16744
16745 * simple.el (list-processes--refresh): Delete exited processes
16746 (Bug#8094).
16747
16748 * comint.el (comint-next-prompt): next-single-char-property-change
16749 and prev-single-char-property-change never return nil (Bug#8657).
16750
16751 * custom.el (defcustom): Doc fix (Bug#9711).
16752
16753 2012-02-05 Chong Yidong <cyd@gnu.org>
16754
16755 * cus-edit.el (custom-variable-reset-backup): Quote the value
16756 before storing it in the customized-value property (Bug#6712).
16757 (custom-display): Add a customization type tag.
16758 (custom-buffer-create-internal): Improve tooltip message.
16759
16760 * wid-edit.el (widget-field-value-get): New optional arg to
16761 suppress trailing whitespace truncation.
16762 (character): Use it (Bug#2689).
16763
16764 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16765
16766 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16767 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16768
16769 2012-02-05 Chong Yidong <cyd@gnu.org>
16770
16771 * cus-edit.el (custom-variable-value-create): For mismatched
16772 types, show the current value (Bug#7600).
16773
16774 * custom.el (defcustom): Doc fix.
16775
16776 2012-02-05 Glenn Morris <rgm@gnu.org>
16777
16778 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16779
16780 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16781
16782 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16783 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16784 (pp-last-sexp): Use `looking-at-p'.
16785
16786 2012-02-04 Glenn Morris <rgm@gnu.org>
16787
16788 * files.el (revert-buffer):
16789 Doc fix (mention revert-buffer-in-progress-p).
16790
16791 * emacs-lisp/ert-x.el (ert-simulate-command):
16792 Check deferred-action-list (which is obsolete) is bound.
16793
16794 * subr.el (with-wrapper-hook): Doc fixes.
16795
16796 * simple.el (filter-buffer-substring-functions)
16797 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16798
16799 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16800
16801 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16802 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16803
16804 2012-02-04 Leo Liu <sdl.web@gmail.com>
16805
16806 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16807
16808 2012-02-04 Glenn Morris <rgm@gnu.org>
16809
16810 * image.el (image-extension-data): Add obsolete alias.
16811
16812 * isearch.el (isearch-update): Doc fix.
16813
16814 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16815
16816 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16817
16818 2012-02-03 Glenn Morris <rgm@gnu.org>
16819
16820 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16821 (image-animate-timeout): Doc fix.
16822
16823 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16824
16825 2012-02-02 Glenn Morris <rgm@gnu.org>
16826
16827 * server.el (server-auth-dir): Doc fix.
16828 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16829
16830 * subr.el (run-mode-hooks): Doc fix.
16831
16832 2012-02-02 Juri Linkov <juri@jurta.org>
16833
16834 * image-mode.el (image-toggle-display-image): Remove tautological
16835 `major-mode' from the `derived-mode-p' test.
16836
16837 2012-02-02 Kenichi Handa <handa@m17n.org>
16838
16839 * composite.el (compose-region): Cancel previous change.
16840
16841 2012-02-02 Kenichi Handa <handa@m17n.org>
16842
16843 * composite.el (compose-region, compose-string): Signal error for
16844 a null string component (Bug#6988).
16845
16846 2012-02-01 Chong Yidong <cyd@gnu.org>
16847
16848 * view.el (view-buffer-other-window, view-buffer-other-frame):
16849 Handle special modes like view-buffer (Bug#10650).
16850 (view-buffer): Simplify.
16851
16852 * frame.el (set-frame-font): Tweak meaning of third argument.
16853
16854 * dynamic-setting.el (font-setting-change-default-font):
16855 Use set-frame-font (Bug#9982).
16856
16857 2012-02-01 Glenn Morris <rgm@gnu.org>
16858
16859 * progmodes/compile.el (compilation-internal-error-properties):
16860 Respect compilation-first-column in the "*compilation*" buffer.
16861
16862 * emacs-lisp/easy-mmode.el (define-minor-mode):
16863 Relax :variable's test for a named function.
16864
16865 2012-01-31 Alan Mackenzie <acm@muc.de>
16866
16867 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16868 off by one error.
16869
16870 2012-01-31 Chong Yidong <cyd@gnu.org>
16871
16872 * frame.el (set-frame-font): New arg ALL-FRAMES.
16873
16874 * menu-bar.el (menu-set-font): Use set-frame-font.
16875
16876 * faces.el (face-spec-reset-face): Don't apply unspecified
16877 attribute values to the default face.
16878
16879 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16880
16881 * progmodes/cwarn.el (cwarn): Remove dead link.
16882 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16883 Remove * from defcustom docstrings.
16884 (turn-on-cwarn-mode): Make obsolete.
16885 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16886 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16887
16888 2012-01-31 Glenn Morris <rgm@gnu.org>
16889
16890 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16891 Fix :variable handling of mode a symbol not equal to modefun.
16892 Allow named functions to be used as the cdr of :variable.
16893
16894 2012-01-30 Glenn Morris <rgm@gnu.org>
16895
16896 * emacs-lisp/authors.el (authors-fixed-entries):
16897 Remove reference to deleted file rnewspost.el.
16898
16899 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16900
16901 * window.el (window-with-parameter): Remove unused variable `windows'.
16902 (window--side-check): Remove unused variable `code'.
16903 (window--resize-siblings): Remove unused variable `first'.
16904 (adjust-window-trailing-edge): Remove unused variable `failed'.
16905 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16906 Use `let', not `let*'.
16907 (balance-windows-2): Remove unused variable `found'.
16908 (window--state-put-2): Remove unused variable `splits'.
16909 (window-state-put): Remove unused variable `selected'.
16910 (same-window-p): Use `string-match-p'.
16911 (display-buffer-assq-regexp): Remove unused variable `value'.
16912 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16913 Mark argument ALIST as ignored.
16914 (pop-to-buffer): Remove unused variable `old-window'.
16915
16916 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16917
16918 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16919 and .lzma compressed files.
16920
16921 2012-01-29 Chong Yidong <cyd@gnu.org>
16922
16923 * frame.el (window-system-default-frame-alist): Doc fix.
16924
16925 * dynamic-setting.el (font-setting-change-default-font): Don't
16926 change the default face if SET-FONT argument is non-nil (Bug#9982).
16927
16928 2012-01-29 Samuel Bronson <naesten@gmail.com>
16929
16930 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16931
16932 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16933
16934 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16935 breakpoints in files outside current directory (Bug#6098).
16936
16937 2012-01-29 Chong Yidong <cyd@gnu.org>
16938
16939 * progmodes/python.el: Require ansi-color at top-level.
16940
16941 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16942 Define and use in Emacs Lisp mode (Bug#9360).
16943 (lisp-mode-abbrev-table): Add doc.
16944 (lisp-mode-variables): Don't set local-abbrev-table.
16945 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16946
16947 2012-01-28 Roland Winkler <winkler@gnu.org>
16948
16949 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16950
16951 2012-01-28 Roland Winkler <winkler@gnu.org>
16952
16953 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16954 (bibtex-set-dialect): Use it. Either set global values of
16955 dialect-dependent variables or bind these variables buffer-locally
16956 (Bug#10254).
16957 (bibtex-mode): Call bibtex-set-dialect via
16958 hack-local-variables-hook.
16959 (bibtex-dialect): Update docstring.
16960 Add safe-local-variable predicate.
16961 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16962 bibtex-set-dialect.
16963 (bibtex-mode-map): Define menu for each dialect.
16964 (bibtex-entry): Fix docstring.
16965
16966 2012-01-28 Chong Yidong <cyd@gnu.org>
16967
16968 * eshell/esh-arg.el (eshell-quote-argument): New function.
16969
16970 * eshell/esh-ext.el (eshell-invoke-batch-file):
16971 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16972 first arg to eshell-parse-command (Bug#10523).
16973
16974 2012-01-28 Drew Adams <drew.adams@oracle.com>
16975
16976 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16977 `default-directory' is non-nil.
16978
16979 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16980
16981 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16982 line that displays system-configuration-options. (Bug#9924)
16983
16984 2012-01-28 Drew Adams <drew.adams@oracle.com>
16985
16986 * descr-text.el (describe-char): Show information about POS, in
16987 addition to information about the character at POS. Improve and
16988 update the doc string. Change "code point" to "code point in
16989 charset", to avoid confusion with the character's Unicode code
16990 point shown above that. (Bug#10129)
16991
16992 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16993
16994 * descr-text.el (describe-char): Show the raw character, not only
16995 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16996 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16997 for the reasons.
16998
16999 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17000
17001 * emacs-lisp/package.el (package-install):
17002 Run package-refresh-contents if there is no archive yet (Bug#9798).
17003
17004 2012-01-28 Chong Yidong <cyd@gnu.org>
17005
17006 * emacs-lisp/package.el (package-maybe-load-descriptor):
17007 New function, split from package-maybe-load-descriptor.
17008 (package-maybe-load-descriptor): Use it.
17009 (package-download-transaction): Fully load required packages
17010 inside the loop, so that `require' calls work (Bug#10593).
17011 (package-install): No need to call package-initialize now.
17012
17013 2012-01-28 Chong Yidong <cyd@gnu.org>
17014
17015 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17016
17017 * tooltip.el (tooltip-mode): Doc fix.
17018 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17019
17020 * frame.el (set-cursor-color): Doc fix (Bug#352).
17021
17022 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17023 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17024
17025 * cus-edit.el (custom-buffer-create-internal): Fix search button
17026 action (Bug#10542).
17027 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17028
17029 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17030
17031 * dired.el (dired-mark-files-regexp):
17032 Include any subdirectory components. (Bug#10445)
17033
17034 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17035
17036 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17037 Handle [host]:port syntax. (Bug#10533)
17038
17039 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17040
17041 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17042
17043 2012-01-26 Glenn Morris <rgm@gnu.org>
17044
17045 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17046 * term.el (term-raw-escape-map): Use Control-X-prefix.
17047 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17048
17049 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17050
17051 * window.el (window-state-get, window--state-get-1): Don't deal
17052 with fixed-sizeness of windows. Simplify code.
17053
17054 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17055
17056 * window.el (window--state-get-1, window--state-put-2):
17057 Don't save and restore the mark.
17058
17059 2012-01-25 Chong Yidong <cyd@gnu.org>
17060
17061 * custom.el (custom-variable-p): Doc fix.
17062
17063 2012-01-25 Glenn Morris <rgm@gnu.org>
17064
17065 * dired.el (dired-goto-file): Handle some of the more common
17066 characters that `ls -b' escapes. (Bug#10596)
17067
17068 * progmodes/compile.el (compilation-next-error-function):
17069 Respect compilation-first-column in the "*compilation*" buffer.
17070 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17071
17072 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17073
17074 2012-01-24 Glenn Morris <rgm@gnu.org>
17075
17076 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17077
17078 2012-01-24 Julien Danjou <julien@danjou.info>
17079
17080 * color.el (color-rgb-to-hsl): Fix value computing.
17081 (color-hue-to-rgb): New function.
17082 (color-hsl-to-rgb): New function.
17083 (color-clamp, color-saturate-hsl, color-saturate-name)
17084 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17085 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17086
17087 2012-01-24 Glenn Morris <rgm@gnu.org>
17088
17089 * vc/vc-rcs.el (vc-rcs-create-tag):
17090 * vc/vc-sccs.el (vc-sccs-create-tag):
17091 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17092
17093 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17094
17095 * eshell/esh-util.el (eshell-read-hosts-file):
17096 Skip comment lines. (Bug#10549)
17097
17098 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17099
17100 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17101
17102 * subr.el (display-delayed-warnings): Doc fix.
17103 (collapse-delayed-warnings): New function to collapse identical
17104 adjacent warnings.
17105 (delayed-warnings-hook): Add it.
17106
17107 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17108
17109 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17110
17111 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17112 (tramp-default-user-alist): Don't add "pscp".
17113 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17114 property "login-as", if set. (Bug#10530)
17115
17116 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17117
17118 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17119 "plink1" and "psftp". (Bug#10530)
17120
17121 2012-01-21 Kenichi Handa <handa@m17n.org>
17122
17123 * international/mule-cmds.el (prefer-coding-system): Show a
17124 warning message if the default value of file-name-coding-system
17125 was not changed.
17126
17127 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17128
17129 * windmove.el (windmove-reference-loc):
17130 Fix windmove-reference-loc miscalculation.
17131
17132 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17133
17134 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17135 default unit.
17136
17137 2012-01-21 Glenn Morris <rgm@gnu.org>
17138
17139 * international/mule.el (auto-coding-alist): Add .tbz.
17140
17141 * files.el (local-enable-local-variables): Doc fix.
17142 (inhibit-local-variables-regexps): Rename from
17143 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17144 Doc fix. Add some extensions from auto-coding-alist.
17145 (inhibit-local-variables-suffixes):
17146 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17147 (inhibit-local-variables-p):
17148 New function, extracted from set-auto-mode-1.
17149 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17150 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17151 (hack-local-variables): Doc fix. Make the mode-only case
17152 respect enable-local-variables and friends.
17153 Respect inhibit-local-variables-regexps for file-locals, but
17154 not for directory-locals.
17155 (set-visited-file-name):
17156 Take account of inhibit-local-variables-regexps.
17157 Whether it applies may change as the file name is changed.
17158 * jka-cmpr-hook.el (jka-compr-install):
17159 * jka-compr.el (jka-compr-uninstall):
17160 Update for inhibit-first-line-modes-suffixes name change.
17161
17162 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17163
17164 * help-macro.el (make-help-screen): Temporarily restore original
17165 binding for minor-mode-map-alist (Bug#10454).
17166
17167 2012-01-19 Julien Danjou <julien@danjou.info>
17168
17169 * color.el (color-name-to-rgb): Use the white color to find the max
17170 color component value and return correctly computed values.
17171 (color-name-to-rgb): Add missing float conversion for max value.
17172
17173 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17174
17175 * window.el (window--state-get-1, window-state-get): Do not use
17176 special state value for window-persistent-parameters.
17177 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17178 (window--state-put-2): Reset all window parameters to nil before
17179 assigning values of persistent parameters.
17180
17181 2012-01-18 Alan Mackenzie <acm@muc.de>
17182
17183 Eliminate sluggishness and hangs in fontification of "semicolon
17184 deserts".
17185
17186 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17187 Change value 10000 -> 3000.
17188 (c-state-safe-place): Reformulate so it doesn't stack up an
17189 infinite number of wrong entries in c-state-nonlit-pos-cache.
17190 (c-determine-limit-get-base, c-determine-limit): New functions to
17191 determine backward search limits disregarding literals.
17192 (c-find-decl-spots): Amend commenting.
17193 (c-cheap-inside-bracelist-p): New function which detects "={".
17194
17195 * progmodes/cc-fonts.el
17196 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17197 backward search.
17198 (c-font-lock-declarations): Fix an occurrence of point being
17199 undefined. Check additionally for point being in a bracelist or
17200 near a macro invocation without a semicolon so as to avoid a
17201 fruitless time consuming search for a declarator. Give a more
17202 precise search limit for declarators using the new
17203 c-determine-limit.
17204
17205 2012-01-18 Glenn Morris <rgm@gnu.org>
17206
17207 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17208 (set-auto-mode): Doc fixes.
17209
17210 2012-01-17 Glenn Morris <rgm@gnu.org>
17211
17212 * isearch.el (search-nonincremental-instead): Fix doc typo.
17213
17214 * dired.el (dired-insert-directory): Handle newlines in directory name.
17215 (dired-build-subdir-alist): Unescape newlines in directory name.
17216
17217 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17218
17219 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17220 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17221 (tramp-action-terminal): Use it. (Bug#10530)
17222
17223 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17224
17225 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17226
17227 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17228
17229 * window.el (window-state-ignored-parameters): Remove variable.
17230 (window--state-get-1): Rename argument MARKERS to IGNORE.
17231 Handle persistent window parameters. Make copy of clone-of
17232 parameter only if requested. (Bug#10348)
17233 (window--state-put-2): Install a window parameter only if it has
17234 a non-nil value or an existing parameter shall be overwritten.
17235
17236 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17237
17238 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17239
17240 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17241
17242 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17243 don't pass the (nil) value of `upnode' to string-match.
17244
17245 2012-01-14 Chong Yidong <cyd@gnu.org>
17246
17247 * startup.el (command-line): Fix X resource class for cursorColor.
17248 Fix values recognized by the cursorBlink resource.
17249
17250 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17251
17252 * epg.el (epg--make-temp-file): Avoid permission race condition
17253 when running on old Emacs versions (bug#10403).
17254
17255 2012-01-14 Glenn Morris <rgm@gnu.org>
17256
17257 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17258
17259 2012-01-13 Alan Mackenzie <acm@muc.de>
17260
17261 Fix filling for when filladapt mode is enabled.
17262
17263 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17264 c-mask-paragraph, pass in `fill-paragraph' rather than
17265 `fill-region-as-paragraph'. (This is a reversion of a previous
17266 change.)
17267 * progmodes/cc-mode.el (c-basic-common-init):
17268 Make fill-paragraph-handle-comment buffer local and set it to nil.
17269
17270 2012-01-13 Glenn Morris <rgm@gnu.org>
17271
17272 * dired.el (dired-switches-escape-p): New function.
17273 (dired-insert-directory): Use dired-switches-escape-p.
17274 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17275
17276 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17277
17278 2012-01-12 Glenn Morris <rgm@gnu.org>
17279
17280 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17281 changes in adaptive-fill-regexp. (Bug#10276)
17282
17283 2012-01-11 Alan Mackenzie <acm@muc.de>
17284
17285 Fix Emacs bug #10463 - put `widen's around the critical spots.
17286
17287 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17288 widen around each invocation of c-state-pp-to-literal. Remove an
17289 unused let variable.
17290
17291 2012-01-11 Glenn Morris <rgm@gnu.org>
17292
17293 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17294 Doc fix.
17295
17296 2012-01-10 Chong Yidong <cyd@gnu.org>
17297
17298 * net/network-stream.el (network-stream-open-starttls):
17299 Avoid emitting a confusing error message when the server gives a bad
17300 response to the capability command.
17301
17302 2012-01-10 Glenn Morris <rgm@gnu.org>
17303
17304 * mail/unrmail.el (unrmail): Tweak previous change.
17305
17306 2012-01-09 Chong Yidong <cyd@gnu.org>
17307
17308 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17309
17310 2012-01-08 Alan Mackenzie <acm@muc.de>
17311
17312 Optimize font locking in long enum definitions.
17313
17314 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17315 arm to a cond form to handle enums.
17316 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17317 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17318
17319 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17320
17321 * files.el (move-file-to-trash): Preserve default file modes on error.
17322 (Bug#10401)
17323
17324 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17325
17326 * faces.el (set-face-attribute): Clarify the meaning of the nil
17327 frame (bug#10294).
17328
17329 * subr.el (with-selected-frame): Mention that the selected frame
17330 is restored (bug#9980).
17331
17332 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17333 (bug#9759).
17334
17335 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17336 (password-read): Don't autoload unused function.
17337
17338 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17339
17340 * progmodes/which-func.el (which-func-mode): Turn into a
17341 non-interactive function and mark as obsolete (bug#10428).
17342
17343 2012-01-06 Chong Yidong <cyd@gnu.org>
17344
17345 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17346 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17347 functions, along with 1 and -1.
17348
17349 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17350
17351 * time.el (display-time-load-average)
17352 (display-time-default-load-average): Doc fixes. See the thread
17353 starting at
17354 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17355 for the details.
17356
17357 2012-01-06 Glenn Morris <rgm@gnu.org>
17358
17359 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17360 has no messages. (Bug#10377)
17361
17362 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17363 than Info-edit. (Bug#10385)
17364
17365 * time.el (display-time-load-average, display-time-next-load-average):
17366 Doc fixes.
17367
17368 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17369 local setting of buffer-read-only to the input buffer. (Bug#10419)
17370
17371 * calendar/calendar.el (calendar-mode):
17372 Locally set scroll-margin to 0. (Bug#10379)
17373
17374 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17375
17376 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17377
17378 2012-01-05 Glenn Morris <rgm@gnu.org>
17379
17380 * eshell/em-unix.el (diff-no-select): Autoload it.
17381 (eshell/diff): Use diff-no-select. (Bug#10420)
17382
17383 2012-01-05 Chong Yidong <cyd@gnu.org>
17384
17385 * shell.el (shell-dynamic-complete-functions): Revert last change.
17386 (shell-command-completion-function): New function.
17387 (shell-completion-vars): Use it to implement
17388 shell-completion-execonly (Bug#10417).
17389
17390 * custom.el (enable-theme): Don't set custom-safe-themes.
17391
17392 * cus-theme.el (custom-theme-merge-theme):
17393 Ignore custom-enabled-themes and custom-safe-themes.
17394
17395 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17396
17397 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17398 first prompt in `sql-interacive-mode'.
17399 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17400 keywords.
17401 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17402 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17403 context of original buffer. Invoke `sql-login-hook'.
17404
17405 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17406
17407 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17408 letters in cite-prefix.
17409
17410 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17411
17412 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17413
17414 2012-01-03 Chong Yidong <cyd@gnu.org>
17415
17416 * shell.el (shell-dynamic-complete-functions):
17417 Put pcomplete-completions-at-point, so as to try
17418 comint-filename-completion first (Bug#10417).
17419
17420 2012-01-02 Richard Stallman <rms@gnu.org>
17421
17422 * battery.el (battery-status-function):
17423 Detect when to use battery-yeeloong-sysfs.
17424 (battery-echo-area-format): Add string for Yeeloong.
17425 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17426 (battery-yeeloong-sysfs): New function.
17427
17428 2012-01-02 Chong Yidong <cyd@gnu.org>
17429
17430 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17431 (dirtrack): Merge code for handling relative filenames in prompt
17432 from shell-dir-cookie-watcher.
17433 (dirtrack-debug-message): New arg to avoid excess format calls.
17434
17435 * shell.el (shell-dir-cookie-re): Variable deleted.
17436 (shell-dir-cookie-watcher): Function deleted.
17437 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17438 with dirtrack-mode.
17439
17440 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17441
17442 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17443 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17444 libgnutls-26.dll.
17445
17446 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17447
17448 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17449
17450 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17451
17452 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17453 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17454
17455 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17456
17457 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17458 also for alternative shells.
17459 (tramp-open-connection-setup-interactive-shell): Check, whether
17460 the shell is a busybox.
17461 (tramp-send-command): Don't suppress multiple prompts for
17462 busyboxes, it hurts.
17463
17464 2011-12-28 Chong Yidong <cyd@gnu.org>
17465
17466 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17467 (gdb-get-source-file): Move mode line update to
17468 gdb-get-source-file (Bug#10087).
17469
17470 2011-12-25 Chong Yidong <cyd@gnu.org>
17471
17472 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17473 gud-gdb-marker-filter without taking it as an argument.
17474 (gud-gdb-run-command-fetch-lines): Caller changed.
17475 (gud-gdb-completion-function): New variable.
17476 (gud-gdb-completion-at-point): Use it.
17477 (gud-gdb-completions-1): Split from gud-gdb-completions.
17478
17479 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17480 function as separate arguments.
17481 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17482 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17483 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17484 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17485 (gdb-stopped, def-gdb-auto-update-trigger)
17486 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17487 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17488 Callers changed.
17489 (gud-gdbmi-completions): New function.
17490 (gdb): Use it for generating the completion table.
17491
17492 2011-12-24 Alan Mackenzie <acm@muc.de>
17493
17494 Introduce a mechanism to widen the region used in context font
17495 locking. Use this to protect declarations from losing their contexts.
17496
17497 * progmodes/cc-langs.el (c-before-font-lock-functions):
17498 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17499 (c-before-context-fontification-functions): New defvar, a list of
17500 functions to be run just before context (etc.) font locking.
17501
17502 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17503 New, functionality extracted from
17504 c-neutralize-syntax-in-and-mark-CPP.
17505 (c-in-after-change-fontification): New variable.
17506 (c-after-change): Set c-in-after-change-fontification.
17507 (c-set-fl-decl-start): Rejig its interface, so it can be called
17508 from both after-change and context fontifying.
17509 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17510 New functions.
17511 (c-standard-font-lock-fontify-region-function): New variable.
17512 (c-font-lock-fontify-region): New function.
17513
17514 2011-12-24 Juri Linkov <juri@jurta.org>
17515
17516 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17517 (Bug#10348)
17518
17519 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17520
17521 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17522 existence of source file. (Bug#10325)
17523
17524 2011-12-23 Alan Mackenzie <acm@muc.de>
17525
17526 Fix unstable fontification inside templates.
17527
17528 * progmodes/cc-langs.el (c-before-font-lock-functions):
17529 Newly created from the singular version. The (c c++ objc) entry now
17530 additionally has c-set-fl-decl-start. The other languages (apart
17531 from AWK) have that as a single entry.
17532
17533 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17534 The functionality for "local" declarations has been extracted to
17535 c-set-fl-decl-start.
17536
17537 * progmodes/cc-mode.el (c-common-init, c-after-change):
17538 Changes due to pluralisation of c-before-font-lock-functions.
17539 (c-set-fl-decl-start): New function, extracted from
17540 c-font-lock-enclosing-decls and enhanced.
17541
17542 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17543
17544 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17545
17546 2011-12-22 Juri Linkov <juri@jurta.org>
17547
17548 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17549
17550 2011-12-22 Chong Yidong <cyd@gnu.org>
17551
17552 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17553
17554 2011-12-21 Drew Adams <drew.adams@oracle.com>
17555
17556 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17557
17558 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17559
17560 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17561
17562 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17563
17564 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17565 highlighting and support. Fix up comments for capitalization.
17566 (cfengine-mode-debug): New var.
17567 (cfengine3-mode): Change the modeline indicator to "CFE3".
17568 (cfengine3-font-lock-keywords): Improve defun highlighting.
17569 (cfengine2-actions): Rename from `cfengine-actions'.
17570 (cfengine2-font-lock-keywords): Rename from
17571 `cfengine-font-lock-keywords'.
17572 (cfengine2-imenu-expression): Rename from
17573 `cfengine-imenu-expression'.
17574 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17575 (cfengine2-beginning-of-defun): Rename from
17576 `cfengine-beginning-of-defun'.
17577 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17578 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17579 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17580 modeline indicator to "CFE2".
17581 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17582 (cfengine-mode-abbrevs): Mark obsolete.
17583
17584 2011-12-21 Chong Yidong <cyd@gnu.org>
17585
17586 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17587 filename argument.
17588
17589 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17590
17591 * window.el (window-normalize-buffer-to-display): Remove.
17592 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17593
17594 2011-12-19 Chong Yidong <cyd@gnu.org>
17595
17596 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17597 Don't signal an error in a predicate function; return non-nil.
17598 (vc-dir-mark-file): Move the error here.
17599 (vc-dir-mark-unmark): If acting on the region, keep going if one
17600 of the entries cannot be marked/unmarked.
17601 (vc-dir-mark-all-files): If current entry is a directory, mark
17602 only child files, as documented.
17603
17604 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17605
17606 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17607 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17608 addition.
17609
17610 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17611
17612 * term/ns-win.el (ns-get-selection-internal)
17613 (ns-store-selection-internal): Declare.
17614 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17615 Declare as obsolete.
17616 (ns-get-pasteboard, ns-paste-secondary):
17617 Use ns-get-selection-internal.
17618 (ns-set-pasteboard, ns-copy-including-secondary):
17619 Use ns-store-selection-internal.
17620
17621 2011-12-17 Chong Yidong <cyd@gnu.org>
17622
17623 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17624 (vc-deduce-fileset): Doc fix.
17625
17626 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17627
17628 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17629
17630 2011-12-13 Sam Steingold <sds@gnu.org>
17631
17632 * man.el (Man-getpage-in-background): When running under a
17633 window-system, ignore $MANWIDTH and $COLUMNS.
17634
17635 2011-12-15 Kenichi Handa <handa@m17n.org>
17636
17637 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17638 (setup-ethiopic-environment-internal): Comment out key-binding for
17639 ethio-toggle-punctuation.
17640
17641 2011-12-13 Alan Mackenzie <acm@muc.de>
17642
17643 Add the switch statement to AWK Mode.
17644
17645 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17646 "default" to the keywords regexp.
17647
17648 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17649 expression as the rest.
17650 (c-nonlabel-token-key): Allow string literals for AWK.
17651 Refactor for the other modes.
17652
17653 Large brace-block initialisation makes CC Mode slow: Fix.
17654 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17655 routines. Limit backward searching in c-font-lock-enclosing.decl.
17656
17657 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17658 pp-state and literal type in addition to the limits.
17659 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17660 (c-state-literal-at): Use the above new defun.
17661 (c-slow-in-literal, c-fast-in-literal): Remove.
17662 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17663
17664 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17665 being in a literal. Add a limit for backward searching.
17666
17667 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17668 c-slow-in-literal.
17669
17670 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17673
17674 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17675
17676 * window.el (delete-other-windows): Use correct frame in call to
17677 window-with-parameter.
17678
17679 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17680
17681 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17682 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17683 (makefile-gmake-statements, makefile-makepp-statements):
17684 Use it and add new makepp keywords.
17685 (makefile-makepp-font-lock-keywords): Add new patterns.
17686 (makefile-match-function-end): Match new [...] and [[...]].
17687
17688 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17689
17690 * ses.el (ses-call-printer-return, ses-cell-property-get)
17691 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17692 (ses-create-cell-variable, ses-reset-header-string)
17693 (ses-cell-set-formula, ses-repair-cell-reference-all)
17694 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17695 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17696 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17697 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17698 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17699 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17700 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17701 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17702 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17703 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17704 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17705 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17706
17707 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17708
17709 * ses.el: The overall change is to add cell renaming, that is
17710 setting fancy names for cell symbols other than name matching
17711 "\\`[A-Z]+[0-9]+\\'" regexp .
17712 (ses-create-cell-variable): New defun.
17713 (ses-relocate-formula): Relocate formulas only for cells the
17714 symbols of which are not renamed, i.e. symbols whose names do not
17715 match regexp "\\`[A-Z]+[0-9]+\\'".
17716 (ses-relocate-all): Relocate values only for cells the symbols of
17717 which are not renamed.
17718 (ses-load): Create cells variables as the (ses-cell ...) are read,
17719 in order to check row col consistency with cell symbol name only
17720 for cells that are not renamed.
17721 (ses-replace-name-in-formula): New defun.
17722 (ses-rename-cell): New defun.
17723
17724 2011-12-11 Chong Yidong <cyd@gnu.org>
17725
17726 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17727 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17728
17729 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17730
17731 * window.el (other-window): Fix docstring.
17732
17733 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17734
17735 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17736 `from' or `to' address before taking its substring.
17737 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17738 encoded name is chopped in the middle of the encoded string, and
17739 thus displayed encoded.
17740
17741 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17742
17743 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17744
17745 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17746
17747 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17748 to use texinfo-update-node and commands that call it if the
17749 Texinfo file uses @node lines without next/prev/up pointers.
17750 Correct outdated description about texinfo-master-menu.
17751 (texinfo-all-menus-update, texinfo-master-menu)
17752 (texinfo-update-node, texinfo-every-node-update)
17753 (texinfo-multiple-files-update): Doc fix. Warn against updating
17754 all the @node lines.
17755 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17756 argument is numeric. Explain better in the doc string what the
17757 function really does.
17758 (texinfo-insert-master-menu-list): Improve the error message
17759 displayed if there's no menu in the Top node.
17760 (Bug#2975) See also this thread:
17761 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17762
17763 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17764
17765 * speedbar.el (speedbar-supported-extension-expressions):
17766 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17767
17768 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17769
17770 * printing.el (pr-mode-alist):
17771 * simple.el (filter-buffer-substring-functions)
17772 (completion-list-insert-choice-function):
17773 * window.el (window-with-parameter, window-atom-root)
17774 (window-sides-slots, window-size-fixed, window-min-delta)
17775 (window-max-delta, window--resize-mini-window)
17776 (window--resize-child-windows-normal, window-tree)
17777 (delete-other-windows, quit-window, split-window)
17778 (display-buffer-record-window, special-display-buffer-names)
17779 (special-display-regexps, special-display-popup-frame)
17780 (same-window-p, split-window-sensibly)
17781 (display-buffer-overriding-action, display-buffer-alist)
17782 (display-buffer-base-action, display-buffer, switch-to-buffer)
17783 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17784 (fit-window-to-buffer, recenter-positions)
17785 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17786 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17787 and remove unneeded backslashes in docstrings.
17788
17789 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17790
17791 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17792
17793 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17794 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17795 end in ".mk".
17796 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17797 when reading the makefile (bug#10116).
17798
17799 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17800
17801 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17802 (bug#10116).
17803
17804 2011-12-06 Glenn Morris <rgm@gnu.org>
17805
17806 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17807
17808 2011-12-06 Chong Yidong <cyd@gnu.org>
17809
17810 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17811
17812 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17813
17814 * textmodes/table.el (table-shorten-cell): Fix typo.
17815
17816 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17817
17818 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17819
17820 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17821
17822 * descr-text.el (describe-char): Fix display of strong
17823 right-to-left characters and directional embeddings and overrides.
17824
17825 * simple.el (what-cursor-position): Fix display of codepoints of
17826 strong right-to-left characters.
17827
17828 2011-12-05 Chong Yidong <cyd@gnu.org>
17829
17830 * faces.el (read-color): Doc fix.
17831
17832 2011-12-05 Glenn Morris <rgm@gnu.org>
17833
17834 * align.el (align--set-marker): Add doc-string.
17835 Don't try to move something that is not a marker. (Bug#10216)
17836
17837 2011-12-04 Glenn Morris <rgm@gnu.org>
17838
17839 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17840 overly zealous deletion of trailing whitespace.
17841
17842 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17843
17844 * server.el (server-delete-client): On Windows, do not try to delete
17845 the only terminal.
17846 (server-process-filter): On Windows, treat requests for a tty frame as
17847 if they were for a GUI frame if the running server is in GUI mode.
17848
17849 2011-12-03 Glenn Morris <rgm@gnu.org>
17850
17851 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17852
17853 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17854
17855 * electric.el: Streamline electric-indent's hook.
17856 (electric-indent-chars): Revert to simple list.
17857 (electric-indent-functions): New var.
17858 (electric-indent-post-self-insert-function): Use it.
17859
17860 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17861 there's no inferior buffer (bug#10196).
17862 (prolog-consult-compile): Don't use toggle-read-only.
17863
17864 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17865
17866 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17867 interrupt. (Bug#10187)
17868
17869 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17870
17871 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17872 (bug#9160).
17873
17874 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17875 (bug#10191).
17876
17877 2011-12-02 Juri Linkov <juri@jurta.org>
17878
17879 * info.el (Info-search): Display "end of manual" when Isearch
17880 reaches the end of single-file Info manual. (Bug#9918)
17881
17882 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17883
17884 * isearch.el (isearch-message-prefix): Run the input method part
17885 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17886
17887 2011-12-02 Juri Linkov <juri@jurta.org>
17888
17889 * isearch.el (isearch-occur): Use `word-search-regexp' for
17890 `isearch-word'.
17891 (isearch-search-and-update): Add condition for `isearch-word' and
17892 call `word-search-regexp'. (Bug#10145)
17893
17894 2011-12-01 Glenn Morris <rgm@gnu.org>
17895
17896 * eshell/em-hist.el (eshell-hist-initialize):
17897 Handle eshell-history-size nil and HISTSIZE set or unset.
17898 (eshell-history-file-name, eshell-history-size): Fix custom type.
17899
17900 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17901
17902 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17903
17904 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17905
17906 * progmodes/verilog-mode.el (verilog-pretty-expr):
17907 Rework verilog-pretty-expr to handle new assignment operators in system
17908 verilog, such as += *= and the like.
17909 (verilog-assignment-operator-re): Regular expression to find the
17910 assigment operator in a verilog assignment.
17911 (verilog-assignment-operation-re): Regular expression to find an
17912 assignment statement for pretty-expr.
17913 (verilog-in-attribute-p): Query returns true if point is in an
17914 attribute context; used to skip these for expression line up from
17915 pretty-expr.
17916 (verilog-in-parameter-p): Query returns true if point is in an
17917 parameter definition context; used to skip these for expression
17918 line up from pretty-expr.
17919 (verilog-in-parenthesis-p): Query returns true if point is in a
17920 parenthetical expression, specifically ( ) but not [ ] or { };
17921 used by pretty-expr.
17922 (verilog-just-one-space): If there is no space, don't add one.
17923 (verilog-get-lineup-indent-2): Specifically skip just attribute
17924 contexts for expression lineup, rather than skipping all
17925 parenthetical expressions.
17926 (verilog-calculate-indent): Fix comment, and fix indent.
17927 (verilog-do-indent): Indent declarations in lists (suggested by
17928 Joachim Lechner).
17929 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17930 skeleton items.
17931 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17932 by Alain Mellan).
17933
17934 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17935
17936 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17937 parameters with embedded comments. Reported by Ray Stevens.
17938 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17939 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17940 Reported by Tim Holt.
17941 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17942 instantiated by upper module causing wrong expansion until AUTOed a
17943 second time. Reported by K C Buckenmaier.
17944 (verilog-diff-auto): Fix showing .* as a difference when
17945 `verilog-auto-star-save' off. Reported by Dan Dever.
17946 (verilog-auto-reset, verilog-read-always-signals)
17947 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17948 temporary signals in reset list if
17949 verilog-auto-reset-blocking-in-non is nil, and match assignment
17950 style to each signal's assignment type, bug381.
17951 Reported by Thomas Esposito.
17952 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17953 (verilog-uvm-statement-re): Support UVM indentation and
17954 highlighting, with old OVM keywords only.
17955 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17956 Support AUTOTIEOFF creating non-wire data types.
17957 Suggested by Jonathan Greenlaw.
17958 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17959 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17960 (verilog-inject-sense, verilog-read-inst-pins)
17961 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17962 Fix mismatching parenthesis inside commented out code when deleting
17963 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17964 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17965 non-numeric vector width. Reported by Alex Reed.
17966 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17967 detecting signals with parameter widths. Reported by Alex Reed.
17968 (verilog-auto-delete-trailing-whitespace):
17969 With `verilog-auto-delete-trailing-whitespace' remove trailing
17970 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17971 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17972 Fix verilog-scan-cache corruption when running user AUTO expansion
17973 hooks that call indentation routines.
17974 (verilog-simplify-range-expression): Fix typo ignoring lower case
17975 identifiers.
17976 (verilog-delete-auto): Fix delete-autos to also remove user created
17977 automatics, as long as they start with AUTO.
17978 (verilog-batch-diff-auto, verilog-diff-auto)
17979 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17980 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17981 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17982 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17983 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17984 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17985 is disabled and its cache will get corrupt, causing AUTOS not to
17986 expand. Instead use only -quick functions.
17987 (verilog-scan-region): Fix scanning over escaped quotes.
17988 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17989 (verilog-re-search-backward-quick)
17990 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17991 related functions now ignore strings, to fix misparsing of strings
17992 with magic comments embedded in them.
17993 (verilog-read-auto-template):
17994 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17995 Reported by Brad Dobbie.
17996 (verilog-read-auto-template):
17997 Fix 'verilog-auto-inst-template-numbers' with comments.
17998 Reported by Brad Dobbie.
17999 (verilog-auto-inst, verilog-auto-inst-param)
18000 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18001 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18002 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18003 debugging templates without merge conflicts, bug357.
18004 Reported by Brad Dobbie.
18005 (verilog-read-auto-template):
18006 Fix verilog-auto-inst-template-numbers with multiple templates.
18007 Reported by Brad Dobbie.
18008 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18009 abbrevs so user won't be asked to save.
18010 (verilog-read-auto-lisp-present): Fix to start at beginning of
18011 buffer in case called outside of verilog-auto.
18012 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18013 to "X-2". Reported by Matthew Myers.
18014 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18015 all inputs from module templates. Reported by Leith Johnson.
18016 (verilog-module-inside-filename-p): Fix locating programs as with
18017 modules.
18018 (verilog-auto-inst-port): Fix vl-width expressions when using
18019 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18020 (verilog-decls-get-regs, verilog-decls-get-signals,
18021 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18022 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18023 verilog-read-decls): Combine reg and wire structures into one var
18024 structure to represent SystemVerilog concepts.
18025 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18026 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18027 (verilog-auto-wire-type, verilog-insert-definition):
18028 Add verilog-auto-wire-type and AUTOLOGIC to support using
18029 SystemVerilog "logic" keyword instead of "wire"/"reg".
18030 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18031 to declares outputs that also have assignments (presumably in an
18032 ifdef or generate if so there's not a driver conflict).
18033 Reported by Matthew Myers.
18034 (verilog-auto-declare-nettype, verilog-insert-definition):
18035 Add verilog-auto-declare-nettype to fix declarations using
18036 `default_nettype none. Reported by Julian Gorfajn.
18037 (verilog-read-always-signals-recurse, verilog-read-decls)
18038 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18039 malformed end statement, bug325. Reported by Joshua Wise and
18040 Andrew Drake.
18041 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18042 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18043 when expanding .* in interfaces, bug320.
18044 Reported by Pierre-David Pfister.
18045 (verilog-read-module-name): Fix import statements between module
18046 name and open parenthesis, bug317.
18047 Reported by Pierre-David Pfister.
18048 (verilog-simplify-range-expression): Fix simplification of
18049 multiplications inside AUTOWIRE connections, bug303.
18050 (verilog-auto-inst-port): Support parameter expansion in
18051 multidimensional arrays.
18052 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18053 after "assert property". Reported by Julian Gorfajn.
18054 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18055 with multiplication, bug303.
18056 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18057 Reported by Jan Frode Lonnum.
18058
18059 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18060
18061 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18062 (hfy-shell-file-name, hfy-shell):
18063 * international/fontset.el (x-decompose-font-name): Fix typos.
18064
18065 2011-11-29 Ken Brown <kbrown@cornell.edu>
18066
18067 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18068 (gdb-version): Remove defvar.
18069 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18070 (gdb-gud-context-command, gdb-non-stop-handler)
18071 (gdb-current-context-command, gdb-stopped): Use it.
18072 (gdb-init-1): Enable pretty printing here.
18073 (gdb-non-stop-handler): Don't enable pretty-printing here.
18074 Check to see if the target supports non-stop mode; if not, turn off
18075 non-stop mode. Use the following.
18076 (gdb-check-target-async): New defun.
18077 (gud-watch, gdb-stopped): Fix whitespace.
18078 (gdb-get-source-file): Don't try to display the source file if
18079 `gdb-main-file' is nil.
18080
18081 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18082
18083 * align.el: Try to generate fewer markers (bug#10047).
18084 (align--set-marker): New macro.
18085 (align-region): Use it.
18086
18087 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18088
18089 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18090
18091 2011-11-29 Chong Yidong <cyd@gnu.org>
18092
18093 * indent.el (indent-for-tab-command, indent-according-to-mode):
18094 Doc fix.
18095 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18096
18097 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18098
18099 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18100 aware of remote file names. (Bug#10124)
18101
18102 2011-11-29 Chong Yidong <cyd@gnu.org>
18103
18104 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18105
18106 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18107
18108 * files.el (find-file): Don't use force-same-window (bug#10144).
18109 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18110 use pop-to-buffer if the selected window can't be used.
18111 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18112
18113 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18114
18115 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18116 special-mode-map.
18117
18118 2011-11-28 Chong Yidong <cyd@gnu.org>
18119
18120 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18121
18122 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18123
18124 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18125 gdb-get-source-file-list on gdb-create-source-file-list.
18126
18127 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18128
18129 * whitespace.el (whitespace-newline): Use a different foreground
18130 color for 16-color light-background displays.
18131
18132 2011-11-24 Chong Yidong <cyd@gnu.org>
18133
18134 * window.el (display-buffer--special-action): Doc fix.
18135
18136 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18137
18138 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18139 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18140 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18141 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18142 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18143 (avl-tree-stack-first):
18144 * emacs-lisp/cconv.el (cconv--analyse-use):
18145 * net/gnutls.el (gnutls-negotiate): Fix typos.
18146
18147 2011-11-24 Glenn Morris <rgm@gnu.org>
18148
18149 * lpr.el (lpr-windows-system, lpr-lp-system):
18150 * mail/binhex.el (binhex-begin-line):
18151 * progmodes/grep.el (grep-history, grep-find-history):
18152 * textmodes/flyspell.el:
18153 * vc/pcvs-defs.el (cvs-global-menu):
18154 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18155 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18156 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18157
18158 * net/tls.el: Fix case of "GnuTLS".
18159
18160 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18161
18162 * version.el (emacs-build-system): Give it a doc-string.
18163
18164 2011-11-24 Juri Linkov <juri@jurta.org>
18165
18166 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18167
18168 2011-11-24 Glenn Morris <rgm@gnu.org>
18169
18170 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18171 if called on a non-mime message just toggle the headers. (Bug#8006)
18172
18173 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18174
18175 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18176 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18177 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18178 (allout-rebullet-heading, allout-open-sibtopic)
18179 (allout-toggle-current-subtree-encryption)
18180 (allout-toggle-subtree-encryption, allout-encrypt-string)
18181 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18182 (allout-distinctive-bullets-string, allout-auto-activation):
18183 * window.el (window-normalize-buffer-to-display):
18184 * progmodes/verilog-mode.el (verilog-batch-indent):
18185 * textmodes/bibtex.el (bibtex-field-braces-opt)
18186 (bibtex-field-strings-opt):
18187 * vc/cvs-status.el (cvs-tree-merge):
18188 Fix typos.
18189
18190 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18191
18192 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18193 `non-essential' to t, in order to avoid remote connections.
18194
18195 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18196
18197 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18198 On MS-DOS and MS-Windows, compare with loaddefs.el
18199 case-insensitively.
18200
18201 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18202
18203 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18204
18205 2011-11-23 Glenn Morris <rgm@gnu.org>
18206
18207 * paths.el (rmail-file-name): Reformat the doc-string so that it
18208 is picked up.
18209
18210 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18211 (rmail-auto-file): Ignore case in the "special" field names,
18212 as mail-fetch-field does for all others.
18213
18214 * mail/rmail.el (rmail-forward):
18215 * mail/rmailkwd.el (rmail-set-label):
18216 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18217 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18218
18219 * mail/rmail.el (rmail-current-message): Doc fix.
18220
18221 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18222
18223 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18224
18225 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18226
18227 2011-11-22 Glenn Morris <rgm@gnu.org>
18228
18229 * mail/rmailmm.el (test-rmail-mime-handler)
18230 (test-rmail-mime-bulk-handler)
18231 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18232
18233 2011-11-21 Juri Linkov <juri@jurta.org>
18234
18235 * calc/calc.el (calc-read-key-sequence):
18236 Let-bind `input-method-function' to nil. (Bug#10018)
18237
18238 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18239
18240 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18241 Tell the caller that the next line needs recomputation, even
18242 though it doesn't start a sexp (bug#10094).
18243
18244 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18245
18246 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18247
18248 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18249
18250 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18251 Use force-same-window.
18252
18253 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18254
18255 * descr-text.el (describe-char-unicode-data):
18256 * json.el (json-string-escape):
18257 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18258 (Footnote-unicode, Footnote-style-p):
18259 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18260
18261 2011-11-20 Chong Yidong <cyd@gnu.org>
18262
18263 * window.el (replace-buffer-in-windows): Restore interactive spec.
18264
18265 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18266
18267 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18268
18269 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18270 (byte-compile-global-not-obsolete-vars): New var.
18271 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18272 Use it.
18273 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18274
18275 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18276
18277 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18278 * progmodes/pascal.el (electric-pascal-equal):
18279 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18280 * xml.el (xml-substitute-special): Fix typos.
18281
18282 2011-11-20 Glenn Morris <rgm@gnu.org>
18283
18284 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18285 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18286 Doc fixes.
18287 (rmail-decode-mime-charset): Mark as obsolete.
18288
18289 * mail/rmailsum.el (rmail-message-regexp-p-1):
18290 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18291 Before using mime functions, check they are set. (Bug#10077)
18292
18293 2011-11-19 Juri Linkov <juri@jurta.org>
18294
18295 * info.el (Info-finder-find-node): Use `package--builtins' instead
18296 of `package-alist'. Use node names formed by the pattern "Keyword "
18297 and the keyword name.
18298
18299 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18300
18301 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18302
18303 2011-11-19 Juri Linkov <juri@jurta.org>
18304
18305 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18306 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18307 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18308 `old-history', `old-history-forward'. Add let-binding
18309 `window-selected'. Remove calls to `kill-buffer',
18310 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18311 before calling `Info-find-node', so `Info-find-node-2' will reread
18312 the Info file. Restore window positions only when `window-selected'
18313 is non-nil.
18314
18315 2011-11-19 Juri Linkov <juri@jurta.org>
18316
18317 * isearch.el (isearch-lazy-highlight-new-loop):
18318 Remove condition `(not isearch-error)'. (Bug#9918)
18319
18320 * misearch.el (multi-isearch-search-fun): Add condition
18321 `(not bound)' to ignore lazy-highlighting search.
18322 Add the search-failed message "end of multi" when the end of
18323 multi-sequence is reached. Uncapitalize the search-failed
18324 message "Repeat for next buffer".
18325
18326 * info.el (Info-search): Add the search-failed message
18327 "end of the manual" when the end of the manual is reached
18328 in Isearch mode.
18329
18330 2011-11-19 Juri Linkov <juri@jurta.org>
18331
18332 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18333 Use non-destructive `remove' instead of `delete' because
18334 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18335 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18336
18337 2011-11-19 Juri Linkov <juri@jurta.org>
18338
18339 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18340 to nil instead of binding `search-ring' and `regexp-search-ring'.
18341 (Bug#9185)
18342
18343 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18344
18345 * simple.el (line-move): Force movement by logical lines for any
18346 hscrolled window, not only when auto-hscroll-mode is on.
18347 (line-move-visual): Update doc string to that effect. (Bug#10076)
18348
18349 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18350
18351 * language/european.el (macintosh): Define as alias for mac-roman.
18352
18353 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18354
18355 * mail/rmailmm.el (rmail-mime-display-header)
18356 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18357 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18358 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18359 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18360 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18361 of a raw aref.
18362 (rmail-mime-entity-segment): To get past the tagline, move forward
18363 2 more lines, to account for the 2 empty lines that precede and
18364 follow the line with the buttons.
18365 (rmail-mime-update-tagline): Move one more line, to get past the
18366 empty line that follows the buttons in the tagline. (Bug#9520)
18367
18368 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18369
18370 * window.el (window-max-delta-1, window-min-delta-1)
18371 (window-min-size-1, window-state-get-1, window-state-put-1)
18372 (window-state-put-2): Use "window--" prefix.
18373
18374 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18375
18376 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18377 (smie-warning-count): New var.
18378 (smie-set-prec2tab): Use it.
18379 (smie-bnf->prec2): Improve warnings. Add docstring.
18380 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18381 (smie-bnf--set-class): New function.
18382 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18383 corner case.
18384
18385 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18386 (compilation-error-properties, compilation-move-to-column):
18387 Handle compilation-first-column while in the target buffer.
18388
18389 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18390 Don't hardcode point-min==1.
18391
18392 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18393 (eshell-rewrite-for-command): Remove workaround.
18394 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18395 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18396 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18397
18398 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18399
18400 2011-11-17 Glenn Morris <rgm@gnu.org>
18401
18402 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18403 Ignore buffer-local generated-autoload-file if it is the same
18404 as the global value. (Bug#10049)
18405
18406 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18407
18408 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18409 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18410 (reftex-toc-previous-heading, reftex-toc-max-level)
18411 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18412 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18413 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18414 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18415 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18416 (reftex-toc-rename-label, reftex-toc-visit-location)
18417 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18418 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18419 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18420 leaving "*toc*" only for references to the buffer.
18421
18422 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18423
18424 * window.el (window-resize, delete-window, split-window):
18425 Replace window-splits by window-combination-resize.
18426 * cus-start.el (window-splits): Replace by window-combination-resize.
18427
18428 2011-11-17 Glenn Morris <rgm@gnu.org>
18429
18430 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18431 Make bash entry derive from sh entry, not shell entry.
18432
18433 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18434
18435 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18436 local file name.
18437
18438 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18439
18440 * menu-bar.el (menu-bar-file-menu):
18441 * printing.el (pr-ps-utility):
18442 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18443 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18444 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18445 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18446 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18447 (icalendar--convert-cyclic-to-ical)
18448 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18449 (icalendar--convert-ical-to-diary)
18450 (icalendar--convert-recurring-to-diary)
18451 (icalendar--convert-non-recurring-all-day-to-diary)
18452 (icalendar-import-format-sample):
18453 * progmodes/idlw-shell.el (idlwave-shell-mode):
18454 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18455 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18456 (vhdl-ps-print-init): Fix typos.
18457
18458 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18459
18460 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18461 FSF and collapse date sequence, obscure author/maintainer email address
18462 better, remove extra version line, track relocation of author's webpage.
18463
18464 * progmodes/python.el (python-pdbtrack-input-prompt)
18465 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18466 regular python pdb prompts. Adjustments shamelessly taken exactly as
18467 suggested in EmacsWiki page (tiny change):
18468 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18469
18470 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18471
18472 * expand.el (expand-pos, expand-index, expand-point):
18473 Remove redundant info from docstring.
18474 (expand-add-abbrevs): Doc fix.
18475 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18476 (expand-sample-perl-mode-expand-list): Fix typos.
18477
18478 * net/dbus.el (dbus-event-member-name):
18479 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18480 * term/pc-win.el (msdos-create-frame-with-faces):
18481 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18482
18483 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18484
18485 * window.el (split-window, window-state-get-1)
18486 (window-state-put-1, window-state-put-2): Rename occurrences of
18487 window-nest to window-combination-limit.
18488 * cus-start.el (window-nest): Rename to window-combination-limit.
18489
18490 2011-11-16 Chong Yidong <cyd@gnu.org>
18491
18492 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18493 regexp (Bug#10033).
18494
18495 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18496
18497 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18498 `completing-read' will remove *Completions* and will preserve
18499 current-buffer for us.
18500 (tmm-add-prompt): Users of *Completions* will always (re)set its
18501 major mode.
18502 (tmm-old-comp-map): Remove.
18503
18504 2011-11-16 Glenn Morris <rgm@gnu.org>
18505
18506 * mail/rmailedit.el: Require rmailmm when compiling.
18507 (rmail-old-mime-state): New declaration.
18508 (rmail-edit-current-message): If editing a mime message,
18509 edit the "raw" message from the mbox buffer.
18510 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18511
18512 2011-11-15 Glenn Morris <rgm@gnu.org>
18513
18514 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18515 which wasn't being used. Add optional arg to force given state.
18516 (rmail-mime): Add optional arg to force given state.
18517
18518 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18519
18520 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18521 * frame.el (display-mm-dimensions-alist):
18522 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18523 (outline-move-subtree-down):
18524 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18525 (newsticker--treeview-do-get-node):
18526 * net/quickurl.el (quickurl-list-buffer-name):
18527 * progmodes/dcl-mode.el (dcl-mode):
18528 * progmodes/gdb-mi.el (gdb-mapcar*):
18529 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18530
18531 2011-11-15 Glenn Morris <rgm@gnu.org>
18532
18533 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18534 in a boolean sense, so just make it a boolean, and fix the doc.
18535 (rmail-show-mime-function, rmail-mime-feature)
18536 (rmail-require-mime-maybe): Doc fixes.
18537 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18538
18539 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18540
18541 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18542
18543 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18544 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18545 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18546 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18547
18548 2011-11-15 Glenn Morris <rgm@gnu.org>
18549
18550 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18551 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18552 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18553 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18554 (rmail-mime, rmail-show-mime): Doc fixes.
18555
18556 * term/ns-win.el (mode-line-frame-identification):
18557 Leave it alone. (Bug#10051)
18558
18559 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18560
18561 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18562 Handle empty buffers. (Bug#9978)
18563
18564 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18565
18566 * international/mule.el (define-charset):
18567 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18568 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18569 * progmodes/verilog-mode.el (verilog-backward-token):
18570 * textmodes/ispell.el (lookup-words):
18571 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18572
18573 2011-11-14 Glenn Morris <rgm@gnu.org>
18574
18575 * progmodes/executable.el
18576 (executable-make-buffer-file-executable-if-script-p):
18577 Handle file-modes returning nil.
18578
18579 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18580 message - not necessary, and causes problems. (Bug#9831)
18581
18582 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18583
18584 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18585
18586 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18587 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18588 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18589
18590 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18591
18592 * window.el (window-resize, delete-window): Use window-splits
18593 variable instead of function.
18594 (window-state-get-1, window-state-put-2, window-state-put):
18595 Don't deal with windows' splits status.
18596
18597 2011-11-12 Glenn Morris <rgm@gnu.org>
18598
18599 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18600 (apropos-documentation): Doc fixes.
18601
18602 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18603
18604 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18605 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18606
18607 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18608
18609 * electric.el (electric-indent-post-self-insert-function): Make it
18610 possible for a char to only indent in some circumstances.
18611 (electric-indent-mode): Simplify.
18612
18613 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18614
18615 * window.el (windows-with-parameter): Remove unused function.
18616 (windows-at-side): Rename to window-at-side-list.
18617 (window-check, window-atom-check, window-atom-check-1)
18618 (window-side-check, window-size-ignore, window-size-fixed-1)
18619 (window-in-direction-2): Prefix with "window--".
18620 (window-tree-1): Rename to window--subtree, fix doc-string.
18621
18622 2011-11-11 Glenn Morris <rgm@gnu.org>
18623
18624 * subr.el (eval-after-load): If FILE is already loaded,
18625 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18626
18627 2011-11-10 Glenn Morris <rgm@gnu.org>
18628
18629 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18630 Call svn via vc-svn-command rather than vc-do-command.
18631 (vc-svn-command): Add --non-interactive. (Bug#9993)
18632 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18633
18634 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18635 Add toggle-read-only. (Bug#7292)
18636 * files.el (toggle-read-only): Mention that it should only
18637 be used interactively. (Bug#10006)
18638
18639 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18640
18641 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18642 Adjust regexp for OCaml warnings.
18643
18644 * electric.el (electric-pair-post-self-insert-function): Let user
18645 turn it off buffer-locally (bug#9932).
18646
18647 * progmodes/python.el (python-beginning-of-statement):
18648 Rewrite (bug#2703).
18649
18650 * progmodes/compile.el: Better handle TABs (bug#9749).
18651 (compilation-internal-error-properties)
18652 (compilation-next-error-function): Obey the target buffer's
18653 compilation-error-screen-columns.
18654
18655 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18656
18657 * progmodes/meta-mode.el: Remove obsolete comments.
18658 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18659 Fix typos in docstrings.
18660
18661 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18662
18663 * window.el (window-size-fixed-p): Rewrite doc-string.
18664 (window-resizable-p): Rename to window--resizable-p. Update callers.
18665 (window--resizable): New function. Make all callers of
18666 window-resizable call window--resizable instead.
18667 (window-resizable): Rewrite in terms of window--resizable.
18668
18669 2011-11-08 Glenn Morris <rgm@gnu.org>
18670
18671 * progmodes/delphi.el (delphi-mode-syntax-table):
18672 Let define-derived-mode define a proper syntax table. (Bug#9994)
18673
18674 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18675
18676 * window.el: Stay away from defsubst.
18677 (window-list-no-nils): Remove.
18678 (window-state-get-1, window-state-get): Use backquote instead.
18679
18680 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18681
18682 * emacs-lisp/find-func.el (find-function-read):
18683 Fix incorrect use of default argument in `completing-read'.
18684
18685 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18686
18687 * window.el (display-buffer-function, special-display-function):
18688 Mention display-buffer-record-window but do not mention
18689 help-setup parameter in doc-strings.
18690 (window-min-delta): Fix doc-string typo.
18691
18692 2011-11-08 Chong Yidong <cyd@gnu.org>
18693
18694 * window.el (window-total-height, window-total-width): Doc fix.
18695 (window-body-size): Move from C.
18696 (window-body-height, window-body-width): Move to C.
18697
18698 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18699
18700 * window.el: Make special-display like display-buffer-alist (bug#9532).
18701 (display-buffer--special-action): New function, morphed
18702 from display-buffer--special.
18703 (display-buffer): Use it to handle special-display-buffers at higher
18704 priority (just after display-buffer-alist).
18705 (display-buffer-fallback-action, display-buffer--other-frame-action)
18706 (pop-to-buffer-same-window): Remove display-buffer--special.
18707
18708 2011-11-07 Glenn Morris <rgm@gnu.org>
18709
18710 * calendar/cal-menu.el (cal-menu-set-date-title):
18711 Do nothing if not in a calendar. (Bug#9976)
18712
18713 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18714
18715 * files.el (find-file): Always use selected-window.
18716
18717 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18718
18719 * window.el (window-combinations): Make WINDOW argument
18720 mandatory. Rewrite doc-string.
18721 (walk-window-subtree, window-atom-check, window-min-delta)
18722 (window-max-delta, window--resize-this-window)
18723 (window--resize-root-window-vertically, window-tree)
18724 (balance-windows, window-state-put): Rewrite doc-strings as to
18725 not mention the term "subwindow".
18726 (window--resize-subwindows-skip-p): Rename to
18727 window--resize-child-windows-skip-p.
18728 (window--resize-subwindows-normal): Rename to
18729 window--resize-child-windows-normal.
18730 (window--resize-subwindows): Rename to
18731 window--resize-child-windows.
18732 (window-or-subwindow-p): Rename to window--in-subtree-p.
18733
18734 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18735
18736 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18737 Ensure that mbox format messages end in two newlines (Bug#9974).
18738
18739 2011-11-06 Chong Yidong <cyd@gnu.org>
18740
18741 * window.el (window-combination-p): Function deleted; its
18742 side-effect is not used in any existing code.
18743 (window-combinations, window-combined-p): Call window-*-child
18744 directly.
18745
18746 2011-11-05 Chong Yidong <cyd@gnu.org>
18747
18748 * window.el (window-valid-p): Rename from window-any-p.
18749 (window-size-ignore, window-state-get): Callers changed.
18750 (window-normalize-window): Rename from window-normalize-any-window.
18751 New arg LIVE-ONLY, replacing window-normalize-live-window.
18752 (window-normalize-live-window): Delete.
18753 (window-combination-p, window-combined-p, window-combinations)
18754 (walk-window-subtree, window-atom-root, window-min-size)
18755 (window-sizable, window-sizable-p, window-size-fixed-p)
18756 (window-min-delta, window-max-delta, window-resizable)
18757 (window-resizable-p, window-full-height-p, window-full-width-p)
18758 (window-current-scroll-bars, window-point-1, set-window-point-1)
18759 (window-at-side-p, window-in-direction, window-resize)
18760 (adjust-window-trailing-edge, maximize-window, minimize-window)
18761 (window-deletable-p, delete-window, delete-other-windows)
18762 (record-window-buffer, unrecord-window-buffer)
18763 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18764 (quit-window, split-window, window-state-put)
18765 (set-window-text-height, fit-window-to-buffer)
18766 (shrink-window-if-larger-than-buffer): Callers changed.
18767
18768 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18769
18770 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18771 rfc2047-decode-string.
18772 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18773 warnings.
18774
18775 * window.el (window-body-height, window-body-width): Mention in
18776 the doc string that the return values are in frame's canonical
18777 units. (Bug#9949)
18778
18779 2011-11-03 Alan Mackenzie <acm@muc.de>
18780
18781 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18782 change in cc-engine.el.
18783
18784 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18785
18786 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18787
18788 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18789
18790 * window.el (quit-window): Call unrecord-window-buffer after
18791 showing another buffer in the window. (Bug#9937)
18792 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18793
18794 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18795
18796 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18797 Accept status with more than 9 shelves. (Bug#9935)
18798 Reported by Colin D Bennett <colin@gibibit.com>.
18799
18800 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18801
18802 * help.el (with-help-window): Don't reference
18803 temp-buffer-show-specifiers in doc-string.
18804
18805 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18806
18807 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18808 menu-item.
18809
18810 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18811
18812 * whitespace.el: New version 13.2.2.
18813 (whitespace-newline-mode): Disable properly. Reported by Sarah
18814 <EmacsWiki>.
18815
18816 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18817
18818 * net/newst-treeview.el: Remove "Time-stamp".
18819 (newsticker--group-manage-orphan-feeds): Do not call
18820 newsticker--treeview-tree-update.
18821 (newsticker-treeview-update, newsticker-treeview):
18822 Call newsticker--treeview-tree-update if necessary.
18823
18824 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18825
18826 * window.el (window-iso-combination-p, window-iso-combined-p)
18827 (window-iso-combinations): Remove "iso-" infix.
18828 Suggested by Chong Yidong.
18829 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18830 (window-max-delta-1, window-resize, window--resize-siblings)
18831 (window--resize-this-window, adjust-window-trailing-edge)
18832 (split-window, balance-windows-1)
18833 (shrink-window-if-larger-than-buffer):
18834 * calendar/calendar.el (calendar-generate-window):
18835 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18836
18837 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18838
18839 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18840 in place (bug#9907).
18841 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18842 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18843 (eshell-structure-basic-command, eshell-rewrite-while-command)
18844 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18845 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18846 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18847 (eshell-do-pipelines-synchronously, eshell-eval-command):
18848 Use backquotes and prefer setq to set.
18849 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18850 (eshell-macrop): Use functionp.
18851 (eshell-do-eval): Handle multiple expressions in `while' body.
18852
18853 2011-10-30 Chong Yidong <cyd@gnu.org>
18854
18855 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18856 instead of set-mark (Bug#9810).
18857
18858 2011-10-30 Chong Yidong <cyd@gnu.org>
18859
18860 * window.el (split-window-below, split-window-right): Rename from
18861 split-window-above-each-other and split-window-side-by-side
18862 respectively. All callers changed.
18863 (split-window-sensibly, split-window-sensibly): Use them.
18864 (split-window-keep-point): Doc fix.
18865
18866 * isearch.el: Add isearch-scroll property to split-window-below
18867 and split-window-right.
18868
18869 * follow.el (follow-mode):
18870 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18871 * progmodes/ada-xref.el (ada-gdb-application):
18872 * emulation/vip.el (vip-buffer-in-two-windows):
18873 * image-dired.el (image-dired-dired-with-window-configuration):
18874 * dired-x.el (dired-do-find-marked-files):
18875 * dired.el (dired-pop-to-buffer):
18876 * bs.el (bs--show-with-configuration):
18877 * vc/emerge.el (emerge-setup-windows):
18878 * textmodes/two-column.el (2C-two-columns):
18879 * textmodes/reftex-toc.el (reftex-toc):
18880 * progmodes/gdb-mi.el (gdb-setup-windows):
18881 * progmodes/fortran.el (fortran-window-create):
18882 * net/newst-treeview.el (newsticker--treeview-window-init):
18883 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18884 * emulation/tpu-edt.el (tpu-gold-map):
18885 * emulation/crisp.el (crisp-mode-map):
18886 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18887
18888 2011-10-29 Chong Yidong <cyd@gnu.org>
18889
18890 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18891
18892 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18893
18894 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18895 forged Ispell output (Bug#7904).
18896
18897 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18898
18899 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18900
18901 * doc-view.el: Avoid ugly errors about not finding nil.
18902 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18903 (doc-view-dvipdf-program, doc-view-unoconv-program)
18904 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18905 Avoid nil or absolute file name as default value.
18906 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18907
18908 2011-10-28 Alan Mackenzie <acm@muc.de>
18909
18910 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18911
18912 2011-10-28 Alan Mackenzie <acm@muc.de>
18913
18914 Amend the handling of c-beginning/end-of-defun in nested declaration
18915 scopes.
18916
18917 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18918 cc-langs.el. Change it to a defcustom.
18919
18920 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18921 cc-vars.el.
18922
18923 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18924 Prevent "class foo : bar" being spuriously recognized as a label.
18925
18926 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18927 Add parameter `inclusive' (to include enclosing braces in the region).
18928 (c-widen-to-enclosing-decl-scope): New function.
18929 (c-while-widening-to-decl-block): New macro.
18930 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18931 outward for defun boundaries, and correspondingly change symbol
18932 `respect-enclosure' to `go-outward'.
18933 (c-declaration-limits): Change algorithm to report only the "innermost"
18934 defun's boundaries.
18935
18936 2011-10-28 Deniz Dogan <deniz@dogan.se>
18937
18938 * net/rcirc.el (rcirc-mode): Use hard newlines.
18939
18940 2011-10-28 Alan Mackenzie <acm@muc.de>
18941
18942 Amend to indent and fontify macros "which include their own semicolon"
18943 correctly, using the "virtual semicolon" mechanism.
18944
18945 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18946
18947 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18948 Recode to scan one line at a time rather than having \n and \r
18949 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18950 (c-forward-label): Amend for virtual semicolons.
18951 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18952
18953 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18954 of the new C macros.
18955
18956 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18957 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18958 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18959 (c-opt-cpp-macro-define): Make into a full language variable.
18960 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18961 AWK Mode (including \n, \r) removed, no longer needed.
18962
18963 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18964 Invoke c-make-macro-with-semi-re.
18965
18966 * progmodes/cc-vars.el (c-macro-with-semi-re):
18967 (c-macro-names-with-semicolon): New variables.
18968 (c-make-macro-with-semi-re): New function.
18969
18970 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18971
18972 * vc/log-edit.el: Fill empty field rather than adding new one.
18973 (log-edit-add-field): New function.
18974 (log-edit-insert-changelog): Use it.
18975
18976 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18977
18978 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18979
18980 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18981
18982 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18983 (gdb--check-interpreter): New function.
18984 (gdb): Use it.
18985
18986 2011-10-27 Glenn Morris <rgm@gnu.org>
18987
18988 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18989 (least-positive-float, least-negative-float)
18990 (least-positive-normalized-float, least-negative-normalized-float)
18991 (float-epsilon, float-negative-epsilon):
18992 Remove unnecessary declarations.
18993
18994 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18995 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18996 (least-positive-float, least-negative-float)
18997 (least-positive-normalized-float, least-negative-normalized-float)
18998 (float-epsilon, float-negative-epsilon): Add doc-strings,
18999 based on those in cl.texi.
19000
19001 * files.el (set-visited-file-name): If the major-mode changed,
19002 reload the local variables. (Bug#9796)
19003
19004 2011-10-27 Chong Yidong <cyd@gnu.org>
19005
19006 * subr.el (change-major-mode-after-body-hook): New hook.
19007 (run-mode-hooks): Run it.
19008
19009 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19010 Use change-major-mode-before-body-hook.
19011
19012 * simple.el (fundamental-mode):
19013 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19014 change introducing fundamental-mode-hook.
19015
19016 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19017
19018 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19019
19020 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19021
19022 * ido.el (ido-file-name-all-completions-1): Do not require
19023 tramp.el explicitly. (Bug#7583)
19024
19025 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19026
19027 * progmodes/octave-mod.el:
19028 * progmodes/octave-inf.el: Update maintainer.
19029
19030 2011-10-26 Chong Yidong <cyd@gnu.org>
19031
19032 * subr.el (with-wrapper-hook): Rewrite doc.
19033
19034 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19035
19036 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19037 filenames "/method:foo:". (Bug#9793)
19038
19039 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19040
19041 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19042 (bug#9865).
19043
19044 2011-10-24 Glenn Morris <rgm@gnu.org>
19045
19046 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19047
19048 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19049
19050 * notifications.el: Add the requirement of a running D-Bus session
19051 bus to the Commentary.
19052
19053 2011-10-24 Juri Linkov <juri@jurta.org>
19054
19055 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19056 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19057 (Bug#9364)
19058
19059 2011-10-24 Juri Linkov <juri@jurta.org>
19060
19061 * info.el (Info-following-node-name-re): Add newline to the list
19062 of allowed characters for leading space. (Bug#9824)
19063
19064 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19065
19066 * progmodes/octave-inf.el (inferior-octave-mode-map):
19067 Fix C-c C-h binding.
19068 * progmodes/octave-mod.el (octave-help): Remove.
19069
19070 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19071
19072 Sync with Tramp 2.2.3.
19073
19074 * net/tramp-cache.el (top): Pacify byte-compiler using
19075 `init-file-user' and `site-run-file'.
19076
19077 * net/trampver.el: Update release number.
19078
19079 2011-10-23 Chong Yidong <cyd@gnu.org>
19080
19081 * files.el (toggle-read-only): Remove obsolete comment about
19082 version control.
19083
19084 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19085 for toggle-read-only. Note that this hasn't called vc-next-action
19086 since 2008-05-02, though it wasn't documented at the time.
19087
19088 * vc/ediff-init.el (ediff-toggle-read-only-function):
19089 Use toggle-read-only.
19090
19091 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19092
19093 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19094 of c-parse-state.
19095
19096 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19097 correct faulty logical expression.
19098 (c-parse-state-state, c-record-parse-state-state):
19099 (c-replay-parse-state-state): New defvar/defuns.
19100 (c-debug-parse-state): Use new functions.
19101
19102 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19103
19104 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19105 last fix. Use window-in-direction correctly.
19106
19107 2011-10-21 Chong Yidong <cyd@gnu.org>
19108
19109 * progmodes/idlwave.el (idlwave-mode):
19110 * progmodes/vera-mode.el (vera-mode): No need to set
19111 require-final-newline; that's done in prog-mode.
19112 Suggested by Stefan Monnier.
19113
19114 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19115
19116 * mouse.el (mouse-drag-window-above)
19117 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19118 (mouse-drag-mode-line-1, mouse-drag-header-line)
19119 (mouse-drag-vertical-line-rightward-window): Remove.
19120 (mouse-drag-line): New function.
19121 (mouse-drag-mode-line, mouse-drag-header-line)
19122 (mouse-drag-vertical-line): Call mouse-drag-line.
19123 * window.el (window-at-side-p, windows-at-side): New functions.
19124
19125 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19126
19127 * tar-mode.el (tar-grind-file-mode):
19128 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19129
19130 2011-10-21 Chong Yidong <cyd@gnu.org>
19131
19132 * progmodes/idlwave.el (idlwave-mode):
19133 * progmodes/vera-mode.el (vera-mode):
19134 Use mode-require-final-newline.
19135
19136 2011-10-20 Glenn Morris <rgm@gnu.org>
19137
19138 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19139
19140 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19141
19142 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19143
19144 2011-10-20 Chong Yidong <cyd@gnu.org>
19145
19146 * emulation/cua-base.el (cua-mode):
19147 * mail/footnote.el (footnote-mode):
19148 * mail/mailabbrev.el (mail-abbrevs-mode):
19149 * net/xesam.el (xesam-minor-mode):
19150 * progmodes/bug-reference.el (bug-reference-mode):
19151 * progmodes/cap-words.el (capitalized-words-mode):
19152 * progmodes/compile.el (compilation-minor-mode)
19153 (compilation-shell-minor-mode):
19154 * progmodes/gud.el (gud-tooltip-mode):
19155 * progmodes/hideif.el (hide-ifdef-mode):
19156 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19157 * progmodes/subword.el (subword-mode):
19158 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19159 * progmodes/which-func.el (which-function-mode):
19160 * term/tvi970.el (tvi970-set-keypad-mode):
19161 * term/vt100.el (vt100-wide-mode):
19162 * textmodes/flyspell.el (flyspell-mode):
19163 * textmodes/ispell.el (ispell-minor-mode):
19164 * textmodes/nroff-mode.el (nroff-electric-mode):
19165 * textmodes/paragraphs.el (use-hard-newlines):
19166 * textmodes/refill.el (refill-mode):
19167 * textmodes/reftex.el (reftex-mode):
19168 * textmodes/rst.el (rst-minor-mode):
19169 * textmodes/sgml-mode.el (html-autoview-mode)
19170 (sgml-electric-tag-pair-mode):
19171 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19172 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19173 * emulation/crisp.el (crisp-mode):
19174 * emacs-lisp/eldoc.el (eldoc-mode):
19175 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19176 minor mode behavior.
19177
19178 2011-10-19 Juri Linkov <juri@jurta.org>
19179
19180 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19181 the list of hard-coded chars with escape-glyph face.
19182
19183 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19184
19185 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19186
19187 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19188
19189 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19190 running process.
19191
19192 2011-10-19 Glenn Morris <rgm@gnu.org>
19193
19194 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19195 Ignore ignored files. (Bug#9726)
19196
19197 2011-10-19 Chong Yidong <cyd@gnu.org>
19198
19199 Doc fix for minor modes, stating that an omitted argument enables
19200 the mode unconditionally when called from Lisp.
19201
19202 * abbrev.el (abbrev-mode):
19203 * allout.el (allout-mode):
19204 * autoinsert.el (auto-insert-mode):
19205 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19206 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19207 (global-auto-revert-mode):
19208 * battery.el (display-battery-mode):
19209 * composite.el (global-auto-composition-mode)
19210 (auto-composition-mode):
19211 * delsel.el (delete-selection-mode):
19212 * desktop.el (desktop-save-mode):
19213 * dired-x.el (dired-omit-mode):
19214 * dirtrack.el (dirtrack-mode):
19215 * doc-view.el (doc-view-minor-mode):
19216 * double.el (double-mode):
19217 * electric.el (electric-indent-mode, electric-pair-mode):
19218 * emacs-lock.el (emacs-lock-mode):
19219 * epa-hook.el (auto-encryption-mode):
19220 * follow.el (follow-mode):
19221 * font-core.el (font-lock-mode):
19222 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19223 * help.el (temp-buffer-resize-mode):
19224 * hilit-chg.el (highlight-changes-mode)
19225 (highlight-changes-visible-mode):
19226 * hi-lock.el (hi-lock-mode):
19227 * hl-line.el (hl-line-mode, global-hl-line-mode):
19228 * icomplete.el (icomplete-mode):
19229 * ido.el (ido-everywhere):
19230 * image-file.el (auto-image-file-mode):
19231 * image-mode.el (image-minor-mode):
19232 * iswitchb.el (iswitchb-mode):
19233 * jka-cmpr-hook.el (auto-compression-mode):
19234 * linum.el (linum-mode):
19235 * longlines.el (longlines-mode):
19236 * master.el (master-mode):
19237 * mb-depth.el (minibuffer-depth-indicate-mode):
19238 * menu-bar.el (menu-bar-mode):
19239 * minibuf-eldef.el (minibuffer-electric-default-mode):
19240 * mouse-sel.el (mouse-sel-mode):
19241 * msb.el (msb-mode):
19242 * mwheel.el (mouse-wheel-mode):
19243 * outline.el (outline-minor-mode):
19244 * paren.el (show-paren-mode):
19245 * recentf.el (recentf-mode):
19246 * reveal.el (reveal-mode, global-reveal-mode):
19247 * rfn-eshadow.el (file-name-shadow-mode):
19248 * ruler-mode.el (ruler-mode):
19249 * savehist.el (savehist-mode):
19250 * scroll-all.el (scroll-all-mode):
19251 * scroll-bar.el (scroll-bar-mode):
19252 * server.el (server-mode):
19253 * shell.el (shell-dirtrack-mode):
19254 * simple.el (auto-fill-mode, transient-mark-mode)
19255 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19256 (line-number-mode, column-number-mode, size-indication-mode)
19257 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19258 * strokes.el (strokes-mode):
19259 * time.el (display-time-mode):
19260 * t-mouse.el (gpm-mouse-mode):
19261 * tool-bar.el (tool-bar-mode):
19262 * tooltip.el (tooltip-mode):
19263 * type-break.el (type-break-mode-line-message-mode)
19264 (type-break-query-mode):
19265 * view.el (view-mode):
19266 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19267 (global-whitespace-mode, global-whitespace-newline-mode):
19268 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19269
19270 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19271 Fix autogenerated docstring.
19272
19273 2011-10-19 Juri Linkov <juri@jurta.org>
19274
19275 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19276 by checking environment variables "DESKTOP_SESSION" and
19277 "XDG_CURRENT_DESKTOP". (Bug#9779)
19278
19279 2011-10-19 Juri Linkov <juri@jurta.org>
19280
19281 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19282 (browse-url-chromium-program, browse-url-chromium-arguments):
19283 New defcustoms.
19284 (browse-url-default-browser): Check for `browse-url-chromium' and
19285 call `browse-url-chromium-program'.
19286 (browse-url-chromium): New command. (Bug#9779)
19287
19288 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19289
19290 * facemenu.el (list-colors-duplicates): On Windows, detect more
19291 duplicates by assuming that only colors matching "^System" are
19292 special "system colors". (Bug#9722)
19293
19294 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19295
19296 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19297 to distinguish the author from the committer.
19298
19299 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19300
19301 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19302
19303 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19304
19305 * international/mule.el (sgml-html-meta-auto-coding-function):
19306 Add support for detecting encoding in HTML5 specified only as
19307 <meta charset="UTF-8">. Implementation just makes http-equiv and
19308 content-type parts from HTML4 encoding string optional. (Bug#9716)
19309
19310 2011-10-18 Glenn Morris <rgm@gnu.org>
19311
19312 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19313
19314 2011-10-18 Chong Yidong <cyd@gnu.org>
19315
19316 * faces.el (cursor): Doc fix.
19317
19318 2011-10-17 Chong Yidong <cyd@gnu.org>
19319
19320 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19321
19322 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19323
19324 * dirtrack.el (dirtrack): Support shell buffers with path
19325 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19326
19327 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19328
19329 * json.el: Bump version to 1.3 and note change in History.
19330 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19331
19332 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19333
19334 * comint.el (comint-insert-input, comint-send-input)
19335 (comint-get-old-input-default, comint-backward-matching-input)
19336 (comint-next-prompt): Use nil instead of `input' for field property of
19337 past user input (bug#114).
19338
19339 * minibuffer.el (completion--replace): Inherit surrounding properties
19340 (bug#114).
19341 (minibuffer-complete-and-exit): Use it.
19342
19343 * comint.el (comint--table-subvert): Quote the all-completions output
19344 (bug#9160).
19345
19346 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19347
19348 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19349
19350 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19351 window on right of selected. (Bug#9350) Reword other window
19352 entries and separate them from frame entries.
19353
19354 2011-10-15 Glenn Morris <rgm@gnu.org>
19355
19356 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19357 Doc fixes.
19358
19359 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19360
19361 * net/network-stream.el (network-stream-open-starttls):
19362 Improve detection of failure due to lack of TLS support.
19363
19364 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19365 putting the input text in front and in bold.
19366
19367 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19368
19369 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19370
19371 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19372 empty buffer.
19373
19374 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19375 unread-command-events rather than pushing yet-another event.
19376
19377 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19378
19379 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19380 the explanation of the possible choices. Make the options passed
19381 to completing-read shorter.
19382
19383 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19384
19385 * textmodes/flyspell.el (flyspell-large-region): Make sure
19386 extended character mode is used if defined (Bug#1339).
19387
19388 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19389
19390 * simple.el (what-cursor-position): Fix the display of the
19391 character info for LRE, LRO, RLE, and RLO characters by appending
19392 an invisible PDF.
19393
19394 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19395
19396 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19397 even in case of error; add debug spec; simplify data flow.
19398 (with-timeout-handler): Remove.
19399
19400 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19401
19402 Fix Bug#6019, Bug#9315.
19403
19404 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19405 complete `buffer-file-name', the local file name part could look
19406 remotely (for example on VMS).
19407
19408 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19409 `tramp-run-real-handler'.
19410 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19411 already quoted by '"'.
19412
19413 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19414 Let `file-name-handler-alist' be nil, the local file name part
19415 could look remotely (for example on VMS).
19416
19417 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19418
19419 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19420 from here...
19421 (flyspell-post-command-hook): ...to here.
19422
19423 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19424
19425 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19426 if not needed.
19427 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19428 using completion. Protect against "slow" callers.
19429 Remove the "message hack".
19430
19431 2011-10-11 Juri Linkov <juri@jurta.org>
19432
19433 * isearch.el (isearch-lazy-highlight-word): New variable.
19434 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19435 Use it. (Bug#9727)
19436
19437 2011-10-11 Glenn Morris <rgm@gnu.org>
19438
19439 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19440 like f90-previous-statement does.
19441
19442 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19443
19444 * eshell/eshell.el (eshell-command): History should be saved
19445 only in interactive use, to avoid error.
19446
19447 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19448
19449 * minibuffer.el (completion-file-name-table): Fix last change,
19450 i.e. ignore normal errors but not the other ones.
19451
19452 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19453
19454 * window.el (special-display-buffer-names)
19455 (special-display-regexps): Remove some remnants of earlier
19456 changes from doc-strings.
19457 (quit-windows-on): New function.
19458
19459 * vc/vc.el (vc-revert, vc-rollback):
19460 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19461 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19462 (Bug#6183) (Bug#7074) (Bug#7447)
19463
19464 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19465
19466 * window.el (frame-auto-hide-function): Add version tag.
19467 (Bug#9699)
19468
19469 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19470
19471 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19472 condition.
19473
19474 2011-10-09 Leo Liu <sdl.web@gmail.com>
19475
19476 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19477 (Bug#9701)
19478
19479 2011-10-08 Glenn Morris <rgm@gnu.org>
19480
19481 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19482 before the first code statement zero indent. (Bug#9690)
19483
19484 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19485
19486 * simple.el (count-words-region): Always count in the region.
19487 Report the number of lines and characters too.
19488 (count-words): New command, which counts in the buffer if the
19489 region is inactive, as count-words-region used to.
19490 (count-words--message): New function. Handle plurals.
19491 (count-lines-region): Make it an alias for count-words-region.
19492
19493 * bindings.el (esc-map): Replace count-lines-region with
19494 count-words-region.
19495
19496 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19497
19498 * window.el (window--delete): Delete dedicated frame
19499 unconditionally when argument KILL is non-nil. (Bug#9699)
19500 (switch-to-buffer): Fix doc-string typo.
19501
19502 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19503
19504 * eshell/eshell.el (eshell-command): Avoid using hooks.
19505
19506 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19507
19508 * bindings.el ([M-left],[M-right]): Bind to left-word and
19509 right-word respectively.
19510
19511 2011-10-07 Glenn Morris <rgm@gnu.org>
19512
19513 * cus-start.el (debug-on-quit): Fix custom type.
19514
19515 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19516
19517 * subr.el (define-key-after): Clarify that the function is not
19518 useful for non-menu keymaps.
19519
19520 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19521
19522 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19523
19524 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19525 in current minibuffer (Fix bug with recursive minibuffers).
19526
19527 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19528
19529 * progmodes/gdb-mi.el (gdb): Doc fix.
19530
19531 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19532
19533 * window.el (frame-auto-hide-function): New option replacing
19534 frame-auto-delete. Suggested by Stefan Monnier.
19535 (window--delete): Call frame-auto-hide-function instead of
19536 investigating frame-auto-delete.
19537 (window-point-1, set-window-point-1): New functions.
19538 (window-in-direction, record-window-buffer, window-state-get-1)
19539 (display-buffer-record-window): Use window-point-1 instead of
19540 window-point.
19541 (set-window-buffer-start-and-point): Use set-window-point-1.
19542
19543 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19544
19545 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19546
19547 2011-10-05 Glenn Morris <rgm@gnu.org>
19548
19549 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19550 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19551
19552 2011-10-05 Leo Liu <sdl.web@gmail.com>
19553
19554 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19555 works with buffer object.
19556
19557 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19558
19559 * mpc.el (mpc-tool-bar-map): Add labels.
19560
19561 2011-10-04 Glenn Morris <rgm@gnu.org>
19562
19563 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19564
19565 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19566
19567 * window.el (window--delete): New function.
19568 (frame-auto-delete): Resuscitate option.
19569 (bury-buffer, replace-buffer-in-windows)
19570 (quit-window): Rewrite using window--delete.
19571 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19572 Pass display-buffer-mark-dedicated to window--display-buffer-2
19573 (Bug#9639).
19574
19575 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19576
19577 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19578 returns a list (bug#9554). Add remote file name completion.
19579 * comint.el (comint--table-subvert): Curry and get quote&unquote
19580 functions as arguments.
19581 (comint--complete-file-name-data): Adjust call accordingly.
19582 * pcomplete.el (pcomplete--table-subvert): Remove.
19583 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19584
19585 * minibuffer.el (completion-table-case-fold): Use currying.
19586 (completion--styles-type, completion--cycling-threshold-type):
19587 New constants.
19588 (completion-styles, completion-category-overrides)
19589 (completion-cycle-threshold): Use them.
19590 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19591 completion-table-case-fold.
19592
19593 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19594
19595 * minibuffer.el (completion-category-overrides): Fix type of styles
19596 and add more user friendly tags (bug#9660).
19597
19598 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19599
19600 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19601 (mule-input-method-string): New widget.
19602 (default-input-method, language-info-custom-alist): Use it.
19603
19604 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19605
19606 * pcomplete.el: Require comint.
19607 (pcomplete--common-suffix): Remove.
19608 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19609 (pcomplete--table-subvert): Sync with comint--table-subvert.
19610 (pcomplete--entries): Use comint-completion-file-name-table.
19611 * comint.el (comint-unquote-filename): Simplify.
19612 (comint-completion-file-name-table): New function (bug#9616).
19613 (comint--complete-file-name-data): Use it.
19614
19615 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19616 (pcmpl-gnu-tar-buffer): Remove.
19617 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19618 around. Make sure pcomplete-suffix-list is only changed temporarily.
19619 Don't look inside the tar's file if it's too large.
19620
19621 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19622
19623 * cus-edit.el (custom-mode-map):
19624 * epa.el (epa-key-list-mode-map):
19625 * man.el (Man-mode-map):
19626 * startup.el (splash-screen-keymap):
19627 * simple.el (special-mode-map): Use scroll-up-command and
19628 scroll-down-command.
19629
19630 * progmodes/idlw-help.el (idlwave-help-mode-map):
19631 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19632 * net/newst-plainview.el (newsticker-mode-map):
19633 * emulation/ws-mode.el (wordstar-mode-map):
19634 * emulation/vi.el (vi-com-map):
19635 * calc/calc-graph.el (calc-graph-show-dumb):
19636 * term/sun.el (terminal-init-sun):
19637 * term/ns-win.el (global-map):
19638 * progmodes/grep.el (grep-mode-map):
19639 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19640 * mail/rmail.el (rmail-mode-map):
19641 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19642
19643 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19644 custom-safe-themes as special.
19645
19646 2011-10-01 Julien Danjou <julien@danjou.info>
19647
19648 * notifications.el (notifications-notify): Fix docstring.
19649
19650 2011-10-01 Per Starbäck <per@starback.se>
19651
19652 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19653
19654 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19655
19656 * startup.el (command-line-1): Fix last fix by inserting
19657 initial-scratch-message into *scratch* before displaying it.
19658 (Bug#9605) and (Bug#9636)
19659
19660 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19661
19662 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19663 window is hscrolled, move by logical lines. (Bug#9607)
19664 (line-move-visual): Update the doc string to the above effect.
19665
19666 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19667
19668 * window.el (display-buffer-record-window): When WINDOW is the
19669 selected window use `point' instead of `window-point'. (Bug#9626)
19670
19671 * startup.el (command-line-1): Use insert-before-markers when
19672 inserting initial-scratch-message. (Bug#9605)
19673
19674 * help.el (help-window): Remove variable.
19675
19676 2011-09-29 Glenn Morris <rgm@gnu.org>
19677
19678 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19679
19680 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19681
19682 * descr-text.el (describe-char-categories): Accept category
19683 descriptions more than one line long.
19684
19685 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19686
19687 * simple.el (delete-trailing-whitespace): Fix last change.
19688
19689 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19690 Don't confuse "y => 3" as the beginning of a `y' operation.
19691
19692 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19693 object has more than 4 slots (bug#9613).
19694
19695 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19696
19697 * subr.el (with-output-to-temp-buffer):
19698 * net/quickurl.el (quickurl, quickurl-browse-url):
19699 Fix typos in docstrings.
19700
19701 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19702
19703 * minibuffer.el (completion-styles)
19704 (completion-category-overrides): Cross reference each other in doc
19705 strings.
19706
19707 2011-09-27 Glenn Morris <rgm@gnu.org>
19708
19709 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19710 to split-string. (Bug#9606)
19711
19712 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19713
19714 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19715 (bug#9615).
19716
19717 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19718
19719 * emacs-lisp/package.el (list-packages): Fix echo area message.
19720
19721 2011-09-27 Leo Liu <sdl.web@gmail.com>
19722
19723 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19724
19725 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19726
19727 * net/dbus.el (dbus-unregister-object): Don't release services for
19728 registered signals. (Bug#9581)
19729
19730 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19731
19732 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19733 function that picks between cfengine 2 and 3 support
19734 automatically. Update docs accordingly.
19735
19736 2011-09-22 Kenichi Handa <handa@m17n.org>
19737
19738 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19739 ZERO.
19740 (indian-itrans-v5-table-for-tamil): New variable.
19741 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19742
19743 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19744
19745 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19746 that's true if the current command involved collapsing of text.
19747 It's reset to false at the beginning of the next command.
19748 (allout-post-command-business): Move the cursor to the beginning
19749 of entry if the cursor is hidden and collapsing activity just
19750 happened.
19751
19752 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19753
19754 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19755 tracking (Bug#9541).
19756
19757 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19758
19759 * net/newst-reader.el (newsticker-html-renderer)
19760 (newsticker-show-news): Automatically load html rendering package
19761 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19762 because w3m-fill-column is let-bound" and the error "Symbol's value
19763 as variable is void: w3m-fill-column".
19764
19765 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19766
19767 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19768 Release services only if they are defined. (Bug#9581)
19769
19770 2011-09-23 Richard Stallman <rms@gnu.org>
19771
19772 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19773 distinguish start of paragraph from start of its text.
19774
19775 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19776
19777 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19778 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19779 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19780
19781 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19782
19783 * international/mule-diag.el (mule-diag): Insert a newline after
19784 each fontset description.
19785
19786 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19787
19788 * simple.el (delete-trailing-whitespace):
19789 Document last change; simplify.
19790
19791 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19792
19793 * simple.el (delete-trailing-whitespace): Also delete
19794 extra newlines at the end of the buffer.
19795
19796 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19797 (picture-newline): Use forward-line so as to ignore fields.
19798
19799 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19800
19801 * subr.el (with-wrapper-hook): Fix edebug spec.
19802
19803 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19804
19805 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19806 (bug#4538).
19807
19808 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19809
19810 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19811 Fix nasty bug using wrong cached values.
19812
19813 2011-09-23 Alan Mackenzie <acm@muc.de>
19814
19815 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19816
19817 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19818
19819 * window.el (pop-to-buffer): Ensure right window is selected if we
19820 chose another frame.
19821
19822 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19823
19824 * simple.el (what-cursor-position): Use get-char-property-change
19825 and next-single-char-property-change, to be able to show display
19826 properties that come from overlays as well as text properties.
19827
19828 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19829
19830 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19831
19832 * cmuscheme.el (run-scheme, switch-to-scheme):
19833 * cus-edit.el (customize-group, custom-buffer-create)
19834 (customize-browse):
19835 * info.el (info):
19836 * shell.el (shell):
19837 * mail/sendmail.el (mail):
19838 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19839
19840 2011-09-22 Richard Stallman <rms@gnu.org>
19841
19842 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19843 move back only to line beg, don't move back over blank lines.
19844
19845 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19846
19847 * files.el (copy-directory): Set directory attributes only in case
19848 they could be retrieved from the source directory. (Bug#9565)
19849
19850 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19851
19852 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19853 (hs-find-block-beginning, hs-hide-level-recursive):
19854 Ignore strings as well as comments. (Bug#9502)
19855
19856 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19857
19858 * progmodes/sql.el (sql-comint-postgres):
19859 Convert port number to a string. (Bug#9566)
19860
19861 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19862
19863 * window.el (quit-window): Undedicate window when switching to
19864 previous buffer. Reported by Thierry Volpiatto
19865 <thierry.volpiatto@gmail.com>.
19866 (special-display-popup-frame): When popping up a new frame reset
19867 its previous buffers to nil. Simplify code.
19868
19869 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19870
19871 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19872 and process filter, as done also in `shell-command'.
19873
19874 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19875
19876 * window.el (set-window-buffer-start-and-point):
19877 Call set-window-start with NOFORCE argument t.
19878 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19879 (quit-window): Reword doc-string. Handle new format of
19880 quit-restore parameter. Don't delete window if it has a
19881 previous buffer we can show instead of the present one.
19882 (display-buffer-record-window): Rewrite using a new format for
19883 the quit-restore window parameter
19884 (special-display-popup-frame, display-buffer-same-window)
19885 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19886 (display-buffer-pop-up-window, display-buffer-use-some-window):
19887 Adapt symbol passed to display-buffer-record-window.
19888 * help.el (help-window-setup): Handle new format of quit-restore
19889 parameter.
19890
19891 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19892
19893 * faces.el (face-list): Fix docstring (bug#9564).
19894
19895 * window.el (display-buffer--action-function-custom-type):
19896 Don't include internal functions in the Custom interface.
19897
19898 2011-09-20 Juri Linkov <juri@jurta.org>
19899
19900 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19901 (Info-forward-node, Info-backward-node, Info-next-preorder)
19902 (Info-last-preorder): Use it. (Bug#9528)
19903
19904 2011-09-20 Juri Linkov <juri@jurta.org>
19905
19906 * info.el (Info-last-preorder): Visit last menu item only when
19907 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19908
19909 2011-09-20 Julien Danjou <julien@danjou.info>
19910
19911 * password-cache.el (password-cache-remove): Remove entries even if the
19912 value is nil, so that password with a nil value (negative caching) is
19913 possible to invalidate.
19914
19915 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19916
19917 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19918 all whitespace around breakpoint. (Bug#9553)
19919 (f90-find-breakpoint): Only break at whitespace inside a comment.
19920
19921 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19922
19923 * minibuffer.el (completion-file-name-table): Keep track of errors.
19924 (completion-table-with-predicate): Handle the case where pred1 is nil.
19925 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19926
19927 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19928
19929 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19930 (debugger-return-value): Signal an error if the debugging context does
19931 not await any return value.
19932
19933 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19934 * image-mode.el (image-toggle-display-text)
19935 (image-toggle-display-image): Stay away from evil `intangible'.
19936
19937 2011-09-19 Leo Liu <sdl.web@gmail.com>
19938
19939 * replace.el (occur-revert-arguments): Make it permanent-local.
19940 (occur-mode): Don't call font-lock-defontify.
19941
19942 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19943
19944 * net/ldap.el (ldap-search-internal): Don't push empty search
19945 result (Bug#9508).
19946
19947 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19948
19949 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19950
19951 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19952
19953 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19954 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19955
19956 2011-09-18 Juri Linkov <juri@jurta.org>
19957
19958 * buff-menu.el (Buffer-menu-mode-map):
19959 * dired.el (dired-mode-map):
19960 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19961 (lisp-interaction-mode-map):
19962 * emacs-lisp/package.el (package-menu-mode-map):
19963 * epa.el (epa-key-list-mode-map):
19964 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19965 (menu-bar-options-menu):
19966 * outline.el (outline-mode-menu-bar-map):
19967 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19968 * vc/vc-dir.el (vc-dir-menu-map):
19969 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19970 Capitalize non-function content words in menu item strings.
19971
19972 * dired.el (dired-mode-map): Add menu item for
19973 `image-dired-dired-toggle-marked-thumbs'.
19974
19975 2011-09-18 Juri Linkov <juri@jurta.org>
19976
19977 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19978 to `isearch-case-fold-search' and restore its original value
19979 after the `isearch-mode' call.
19980
19981 2011-09-18 Juri Linkov <juri@jurta.org>
19982
19983 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19984 because `zgrep' returns 1 for successful matches (bug#9226).
19985
19986 2011-09-18 Juri Linkov <juri@jurta.org>
19987
19988 * info.el (Info-extract-menu-node-name): Check the second match
19989 for empty string (second test-case of bug#9528).
19990 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19991 intermediate nodes to the history (first test-case of bug#9528).
19992
19993 2011-09-18 Juri Linkov <juri@jurta.org>
19994
19995 * info.el (Info-mode-syntax-table): New variable.
19996 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19997
19998 2011-09-18 Juri Linkov <juri@jurta.org>
19999
20000 * info.el (Info-file-supports-index-cookies):
20001 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20002 outputs one more line for long file names (bug#4142).
20003
20004 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20005
20006 * newcomment.el (comment-normalize-vars): If prompting for
20007 comment-start, set comment-start-skip too (Bug#8424).
20008
20009 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20010
20011 * icomplete.el: Fix previous fix of Bug#5849.
20012 (icomplete-mode): Don't set completion-show-inline-help.
20013 (icomplete-minibuffer-setup): Set completion-show-inline-help
20014 locally during icompletion.
20015
20016 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20017
20018 * woman.el (woman2-process-escapes): Don't delete unrecognized
20019 escapes (Bug#7843).
20020
20021 * files.el (inhibit-first-line-modes-regexps): Add image files.
20022 (hack-local-variables-prop-line): Return nil for malformed
20023 prop-lines (Bug#9044).
20024
20025 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20026
20027 * net/tramp.el (top): Don't require 'shell.
20028 (tramp-methods): Fix docstring.
20029 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20030 Return complete remote file name. Handle "smb" case.
20031 Use `tramp-tmpdir', if defined for the respective method.
20032 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20033
20034 * net/tramp-compat.el (top): Require 'shell.
20035
20036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20037 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20038 `tramp-current-host'.
20039 (tramp-get-remote-tmpdir): Remove.
20040
20041 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20042 `tramp-tmpdir' entries.
20043 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20044 (tramp-smb-handle-file-attributes): Ignore errors.
20045 (tramp-smb-wait-for-output): Check also for process end.
20046
20047 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20048
20049 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20050 when sending QUIT (bug#9312).
20051
20052 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20053
20054 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20055 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20056 occur-mode-display-occurrence.
20057 (occur-edit-mode): Add usage message.
20058 (occur-cease-edit): New command.
20059 (occur-after-change-function): Use text properties to find the
20060 position of the prefix text.
20061 (occur-engine): Set stickiness of prefix text properties.
20062
20063 2011-09-17 Glenn Morris <rgm@gnu.org>
20064
20065 * progmodes/etags.el (complete-tag):
20066 Fix call to completion-in-region. (Bug#9526)
20067
20068 2011-09-17 Juri Linkov <juri@jurta.org>
20069
20070 * textmodes/ispell.el (ispell-word): Add to the error message
20071 the word, ispell program name and current dictionary (bug#9121).
20072 (ispell-tex-arg-end): Capitalize "error" in the error message.
20073
20074 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20075
20076 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20077 check. (Bug#4251)
20078
20079 2011-09-17 Juri Linkov <juri@jurta.org>
20080
20081 * window.el (window-safe-min-height, window-safe-min-width):
20082 Fix typos (followup to bug#9522).
20083
20084 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20085
20086 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20087
20088 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20089
20090 * simple.el (line-move): If goal-column is set, move by logical
20091 lines, not by display lines. (Bug#971)
20092 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20093 to reflect the above change.
20094
20095 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20096
20097 * image.el (imagemagick-register-types): Use regexp-opt.
20098
20099 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20100
20101 * window.el (display-buffer-base-action): Rename from
20102 display-buffer-default-action. Make default value empty.
20103 (display-buffer-overriding-action): Convert to defvar.
20104 (display-buffer-fallback-action): New var.
20105
20106 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20107
20108 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20109 declaration.
20110 (package--add-to-archive-contents): If there is a duplicate entry
20111 with an older version, remove it.
20112 (package-menu-mark-delete, package-menu-mark-install)
20113 (package-menu-mark-unmark): Make unused args optional.
20114 (package-menu-mark-obsolete-for-deletion):
20115 Use package-menu-get-status instead of a regexp search.
20116 (package-menu-get-status): Use tabulated-list-entry.
20117 (package-menu-mark-upgrades): New command.
20118 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20119 (package-menu-execute): Do installation before deletion.
20120 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20121 instead of checking major-mode.
20122 (package-menu--find-upgrades): New function.
20123
20124 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20125
20126 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20127 passwords in the log buffer.
20128 (smtpmail-process-filter): Update the process marker so that the
20129 "broken by peer" status message is inserted in the right place.
20130
20131 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20132
20133 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20134 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20135 bibtex-completion-at-point-function.
20136 (bibtex-completion-at-point-function): Use them.
20137
20138 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20139
20140 * mpc.el (mpc-constraints-tag-lookup): New function.
20141 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20142 also to browser "album|playlist".
20143
20144 2011-09-14 Juri Linkov <juri@jurta.org>
20145
20146 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20147 (isearch-edit-string): Use length of `isearch-string' when
20148 `isearch-fail-pos' returns nil.
20149 (isearch-message): Remove duplicate code and call
20150 `isearch-fail-pos' with arg `t'.
20151
20152 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20153
20154 * replace.el (occur-mode-goto-occurrence): Don't force using other
20155 window (Bug#9499).
20156
20157 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20158
20159 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20160
20161 * window.el (display-buffer-window): Remove.
20162 (display-buffer-record-window): Use help-setup window parameter
20163 instead of variable display-buffer-window.
20164 (display-buffer-function, special-display-buffer-names)
20165 (special-display-function): Mention help-setup parameter instead
20166 of display-buffer-window in doc-string.
20167 * help.el (help-window-setup): New argument help-window.
20168 Use help-window-setup parameter instead of display-buffer-window.
20169 Reword some messages.
20170 (with-help-window): Pass window used for displaying the buffer
20171 to help-window-setup. Don't set display-buffer-window.
20172
20173 2011-09-13 Glenn Morris <rgm@gnu.org>
20174
20175 * emacs-lisp/debug.el (debugger-make-xrefs):
20176 Preserve point. (Bug#9462)
20177
20178 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20179
20180 * window.el (window-deletable-p): Use next-frame.
20181
20182 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20183
20184 * window.el (window-auto-delete): Remove.
20185 (window-deletable-p): Remove argument FORCE. Don't deal with
20186 dedication and previous buffers.
20187 (switch-to-prev-buffer): Don't delete window.
20188 (delete-windows-on): Delete a window's frame if and only if the
20189 window is dedicated.
20190 (replace-buffer-in-windows): Delete buffer's window or frame if
20191 and only if window is dedicated.
20192 (quit-window): Handle quit-restore as before last change.
20193 (bury-buffer): Delete window only if window-deletable-p returns t.
20194
20195 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20196
20197 * window.el (window-deletable-p): Never delete the last frame on a
20198 given terminal.
20199
20200 2011-09-13 Glenn Morris <rgm@gnu.org>
20201
20202 * help.el (describe-key-briefly): Copy previous standard-output change.
20203
20204 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20205
20206 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20207
20208 2011-09-13 Glenn Morris <rgm@gnu.org>
20209
20210 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20211 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20212
20213 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20214
20215 * dired-aux.el (dired-mark-read-string): Don't return default
20216 value on empty input (Bug#9361).
20217 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20218 Omit initial minibuffer contents.
20219 (dired-do-chmod): Signal an error on empty input.
20220 (dired-mark-read-string): Don't return default on empty input.
20221
20222 * files.el (file-modes-symbolic-to-number): Doc fix.
20223
20224 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20225
20226 * international/mule-cmds.el (ucs-completions): Remove.
20227 (read-char-by-name): Use complete-with-action instead; add metadata.
20228
20229 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20230
20231 * window.el (display-buffer--action-function-custom-type)
20232 (display-buffer--action-custom-type): New vars.
20233 (display-buffer-alist, display-buffer-default-action)
20234 (display-buffer-overriding-action): Add defcustom types.
20235
20236 * frame.el (delete-other-frames): Doc fix (Bug#276).
20237
20238 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20239
20240 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20241
20242 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20243
20244 Change modes that used same-window-* vars to use switch-to-buffer.
20245
20246 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20247 Use switch-to-buffer.
20248
20249 * cus-edit.el (customize-group, custom-buffer-create)
20250 (customize-browse, custom-buffer-create-other-window):
20251 Use switch-to-buffer or switch-to-buffer-other-window.
20252
20253 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20254 (Info-prev, Info-up, Info-speedbar-goto-node)
20255 (info-display-manual): Use switch-to-buffer.
20256 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20257
20258 * mail/sendmail.el (mail): Use switch-to-buffer.
20259 (mail-recover): Use switch-to-buffer-other-window.
20260
20261 * cmuscheme.el (run-scheme, switch-to-scheme):
20262 * ielm.el (ielm):
20263 * shell.el (shell):
20264 * net/rlogin.el (rlogin):
20265 * net/telnet.el (telnet, rsh):
20266 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20267
20268 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20269
20270 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20271
20272 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20273
20274 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20275 so don't mention it (bug#9301).
20276 (dired-sort-toggle-or-edit): Clarify string further.
20277
20278 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20279 match `x', `w32' and `ns', like the manual says (bug#9029).
20280
20281 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20282 (process-kill-buffer-query-function): Mention the buffer name in
20283 the query.
20284
20285 * image-mode.el (image-next-line): The line parameter is mandatory
20286 (bug#9258).
20287
20288 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20289 which can be useful (bug#9301).
20290
20291 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20292
20293 * subr.el (match-string): Mention that the current buffer should
20294 be the same as the search was done in (bug#9282).
20295
20296 * facemenu.el: Disable the remove-* commands if the mark isn't
20297 active (bug#9162).
20298
20299 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20300
20301 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20302 of display-buffer.
20303 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20304
20305 * replace.el (occur-mode-goto-occurrence)
20306 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20307 and display-buffer.
20308
20309 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20310 display-buffer.
20311
20312 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20313 special-display and same-window variables.
20314 (mail-other-window): Use switch-to-buffer-other-window.
20315 (mail-other-frame): USe switch-to-buffer-other-frame.
20316
20317 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20318 Use display-buffer-other-frame.
20319 (gdb-display-gdb-buffer): Use pop-to-buffer.
20320
20321 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20322
20323 * progmodes/python.el: Don't set same-window-buffer-names.
20324
20325 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20326
20327 * window.el (display-buffer-alist): Add *Python*.
20328
20329 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20330
20331 * window.el (display-buffer-alist): Add entry for buffers
20332 previously handled same-window-*.
20333 (display-buffer-alist, display-buffer-default-action)
20334 (display-buffer-overriding-action): Mark as risky.
20335 (display-buffer-alist): Document action function changes.
20336 (display-buffer--same-window-action)
20337 (display-buffer--other-frame-action): New variables.
20338 (switch-to-buffer, display-buffer-other-frame): Use them.
20339 (display-buffer): Rename reuse-frame entry to reusable-frames.
20340 (display-buffer-reuse-selected-window): Function deleted.
20341 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20342 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20343 (display-buffer-special): New function.
20344 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20345 display-buffer-reuse-or-pop-window. Split off special-display
20346 part into display-buffer-special.
20347 (display-buffer-use-some-window): Don't perform any special
20348 pop-up-frames handling.
20349 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20350 (display-buffer--maybe-same-window): Rename from
20351 display-buffer-maybe-same-window.
20352
20353 * info.el: Don't set same-window-regexps.
20354 (info-setup): New function.
20355 (info-other-window, info): Call it.
20356
20357 * cus-edit.el: Don't set same-window-regexps.
20358 (customize-group): New argument.
20359 (customize-group-other-window): Use it.
20360 (customize-face, customize-face-other-window): Likewise.
20361 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20362
20363 * net/rlogin.el:
20364 * net/telnet.el:
20365 * progmodes/gud.el: Don't set same-window-regexps.
20366
20367 * cmuscheme.el:
20368 * ielm.el:
20369 * shell.el:
20370 * mail/sendmail.el:
20371 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20372
20373 2011-09-10 Juri Linkov <juri@jurta.org>
20374
20375 * isearch.el (isearch-edit-string): Remove obsolete mention of
20376 `C-w' (`isearch-yank-word-or-char') from docstring.
20377 (isearch-query-replace): Fix typo in docstring (bug#9466).
20378
20379 2011-09-10 Juri Linkov <juri@jurta.org>
20380
20381 * paren.el (show-paren-function): Don't show escaped parens.
20382 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20383
20384 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20385
20386 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20387 (mm-default-file-encoding): Remove autoload forms, they are
20388 replaced with autoload cookies in mml.el and mm-encode.el.
20389 (mail-add-attachment): New command.
20390 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20391 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20392 the doc string.
20393 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20394
20395 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20396
20397 * simple.el (count-words-region): Use buffer if there's no region
20398 (bug#9429).
20399
20400 2011-09-09 Juri Linkov <juri@jurta.org>
20401
20402 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20403 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20404 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20405
20406 2011-09-09 Alan Mackenzie <acm@muc.de>
20407
20408 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20409 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20410
20411 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20412
20413 Fix for Savannah bug#9392.
20414 * simple.el (mail-encode-mml): New defvar.
20415
20416 * mail/rmail.el (mail-encode-mml): Add a defvar.
20417 (rmail-enable-mime-composing): Default to t.
20418 (rmail-forward): Use MIME method of forwarding only if both
20419 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20420 Set mail-encode-mml non-nil if the MIME method was used.
20421
20422 * mail/sendmail.el (mml-to-mime): Add autoload form.
20423 (mail-encode-mml): Add a defvar.
20424 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20425 to nil.
20426 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20427 message through mml-to-mime, and reset mail-encode-mml to nil.
20428
20429 2011-09-09 Glenn Morris <rgm@gnu.org>
20430
20431 * woman.el (woman-if-body): When processing an .el block,
20432 do not delete the next .el block as well. (Bug#9447)
20433 (woman-special-characters): Add oq, cq, and hy characters.
20434
20435 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20436
20437 * window.el (window-deletable-p): Make sure window is live before
20438 invoking window-prev-buffers.
20439
20440 2011-09-08 Leo Liu <sdl.web@gmail.com>
20441
20442 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20443
20444 2011-09-08 Juri Linkov <juri@jurta.org>
20445
20446 * progmodes/compile.el (compilation-environment): Make it
20447 a defcustom (bug#8340).
20448
20449 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20450
20451 * window.el (frame-auto-delete): Rename to window-auto-delete.
20452 Make it control auto-deletion of windows and/or frames.
20453 (window-deletable-p): New argument FORCE. Rewrite conditions
20454 for deleting window/frame. (Bug#9419)
20455 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20456 Rewrite handling of case when window/frame can be deleted.
20457 (delete-windows-on): Call window-deletable-p with new FORCE
20458 argument t. (Bug#9456)
20459
20460 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20461
20462 * help-mode.el (help-mode): Restore autoload.
20463
20464 2011-09-07 Juri Linkov <juri@jurta.org>
20465
20466 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20467 `compilation-environment'. Set buffer-local
20468 `compilation-environment' to `thisenv' later after (funcall mode).
20469 (Bug#8340)
20470
20471 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20472 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20473 instead of replacing its value. (Bug#8340)
20474
20475 2011-09-07 Juri Linkov <juri@jurta.org>
20476
20477 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20478 based on text properties put by `grep-filter' instead of matching
20479 escape sequences.
20480 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20481 to the value of `grep-error-screen-columns' (bug#9438).
20482
20483 2011-09-07 Juri Linkov <juri@jurta.org>
20484
20485 * simple.el (next-error-highlight, next-error-highlight-no-select):
20486 Doc fix (bug#9432).
20487
20488 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20489
20490 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20491 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20492
20493 2011-09-07 Leo Liu <sdl.web@gmail.com>
20494
20495 * net/rcirc.el (rcirc-mode): Conditionally initialize
20496 rcirc-input-ring.
20497
20498 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20499
20500 * emacs-lisp/find-func.el (find-function-C-source): Only set
20501 find-function-C-source-directory after checking that we found a source
20502 file there (bug#9440).
20503
20504 2011-09-06 Alan Mackenzie <acm@muc.de>
20505
20506 * isearch.el (isearch-other-meta-char): Wherever a key list is
20507 unread, "unread" the prefix arg, too. This fixes bug #8901.
20508
20509 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20510
20511 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20512
20513 2011-09-05 Juri Linkov <juri@jurta.org>
20514
20515 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20516
20517 2011-09-05 Juri Linkov <juri@jurta.org>
20518
20519 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20520 keeping point where processing of grep matches begins, and
20521 continue to delete remaining escape sequences from the same point.
20522 (grep-filter): Make leading zero optional in "0?1;31m" because
20523 git-grep emits "\033[1;31m" escape sequences unlike expected
20524 "\033[01;31m" as GNU Grep does (bug#9408).
20525 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20526
20527 2011-09-05 Juri Linkov <juri@jurta.org>
20528
20529 * subr.el (y-or-n-p): Capitalize "yes".
20530
20531 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20532
20533 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20534 `tramp-cache-unload-hook' where appropriate.
20535 (tramp-methods): Rename `tramp-remote-sh' to
20536 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20537 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20538
20539 * net/tramp-sh.el (top): Don't require 'shell.
20540 (tramp-methods): Add `tramp-remote-shell' and
20541 `tramp-remote-shell-args' entries.
20542 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20543 (tramp-sh-handle-shell-command): Remove.
20544 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20545 Use `tramp-remote-shell'.
20546
20547 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20548
20549 * mail/sendmail.el (sendmail-query-once-function): Delete.
20550 (sendmail-query-once): Save directly to send-mail-function.
20551 Update message-send-mail-function too.
20552
20553 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20554
20555 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20556
20557 * progmodes/python.el (python-mode-map): Use correct function to
20558 start python interpreter from menu-bar (as reported by Geert
20559 Kloosterman).
20560 (inferior-python-mode-map): Fix typo.
20561 (python-shell-map): Remove.
20562
20563 2011-09-03 Deniz Dogan <deniz@dogan.se>
20564
20565 * net/rcirc.el (rcirc-print): Simplify code for
20566 rcirc-scroll-show-maximum-output. There is no need to walk
20567 through all windows to find the right one.
20568
20569 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20570
20571 * help.el (help-return-method): Doc fix.
20572
20573 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20574
20575 * window.el (window-deletable-p): Don't return a non-nil value
20576 when there's a buffer that was shown in the window before.
20577 (Bug#9419)
20578 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20579 Set window's previous buffers to nil.
20580
20581 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20582
20583 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20584 newline before and after the tag line, so it doesn't interfere
20585 with determining the paragraph direction of bidirectional text.
20586
20587 2011-09-03 Leo Liu <sdl.web@gmail.com>
20588
20589 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20590
20591 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20592
20593 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20594 (pop-to-buffer): Change interactive spec. Pass second argument
20595 directly to display-buffer.
20596 (display-buffer): Fix interactive spec. Use functionp to
20597 distinguish between a function and a list of functions.
20598
20599 * abbrev.el (edit-abbrevs):
20600 * arc-mode.el (archive-extract):
20601 * autoinsert.el (auto-insert):
20602 * bookmark.el (bookmark-bmenu-list):
20603 * files.el (find-file):
20604 * view.el (view-buffer):
20605 * progmodes/compile.el (compilation-goto-locus):
20606 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20607
20608 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20609
20610 * window.el (display-buffer-alist): Doc fix.
20611 (display-buffer): Add docstring. Don't treat
20612 display-buffer-default specially.
20613 (display-buffer-reuse-selected-window)
20614 (display-buffer-same-window, display-buffer-maybe-same-window)
20615 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20616 (display-buffer-pop-up-window)
20617 (display-buffer-reuse-or-pop-window)
20618 (display-buffer-use-some-window): New functions.
20619 (display-buffer-default-action): Use them.
20620 (display-buffer-default): Delete.
20621 (pop-to-buffer-1): Fix choice of actions.
20622
20623 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20624
20625 * minibuffer.el (completion--insert-strings): Don't get confused by
20626 completion entries that end with an LF char.
20627
20628 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20629
20630 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20631
20632 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20633
20634 * window.el (display-buffer): Restore interactive spec.
20635 (display-buffer-same-window, display-buffer-other-window):
20636 New functions.
20637 (pop-to-buffer-1): New function. Use the above.
20638 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20639 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20640
20641 * view.el (view-buffer-other-window, view-buffer-other-frame):
20642 Just use pop-to-buffer.
20643
20644 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20645
20646 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20647
20648 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20649
20650 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20651
20652 2011-08-31 Richard Stallman <rms@gnu.org>
20653
20654 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20655 of the separation of rmail-view-buffer from rmail-buffer.
20656 If you say no to "replace original", the decrypt is in the
20657 view buffer. If you say yes, the decrypt goes into the
20658 rmail buffer also.
20659
20660 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20661
20662 * window.el (display-buffer-window): Rewrite doc-string.
20663 (display-buffer-record-window): New function.
20664 (display-buffer-macro-specifiers)
20665 (display-buffer-even-window-sizes, display-buffer-set-height)
20666 (display-buffer-set-width, display-buffer-in-window)
20667 (display-buffer-reuse-window, display-buffer-split-specifiers)
20668 (display-buffer-side-specifiers, display-buffer-split-window-1)
20669 (display-buffer-split-window, display-buffer-split-atom-window)
20670 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20671 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20672 (display-buffer-other-window-means-other-frame)
20673 (display-buffer-normalize-special)
20674 (display-buffer-normalize-default)
20675 (display-buffer-normalize-argument)
20676 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20677 (display-buffer-normalize-specifiers, display-buffer-frame)
20678 (display-buffer-same-window, display-buffer-same-frame)
20679 (display-buffer-other-window)
20680 (display-buffer-same-frame-other-window)
20681 (display-buffer-other-frame, pop-to-buffer-same-window)
20682 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20683 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20684 (switch-to-buffer-same-frame)
20685 (switch-to-buffer-other-window-same-frame)
20686 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20687 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20688 (display-buffer-alist-set): Remove.
20689 (display-buffer-function, special-display-buffer-names)
20690 (special-display-regexps, special-display-function):
20691 In doc-string refer to display-buffer-window and quit-restore
20692 parameter.
20693 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20694 (special-display-frame-alist, special-display-popup-frame)
20695 (same-window-buffer-names, same-window-regexps, same-window-p)
20696 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20697 (split-window-preferred-function, split-height-threshold)
20698 (split-width-threshold, window-splittable-p)
20699 (split-window-sensibly, window--try-to-split-window)
20700 (window--frame-usable-p, even-window-heights)
20701 (window--even-window-heights, window--display-buffer-1)
20702 (window--display-buffer-2, display-buffer-other-frame):
20703 Restore old Emacs 23 code, order and doc-strings where applicable.
20704 (display-buffer-default, display-buffer-assq-regexp): New functions.
20705 (display-buffer-alist): Rewrite doc-string.
20706 (display-buffer-default-action)
20707 (display-buffer-overriding-action): New variables.
20708 (display-buffer, switch-to-buffer): Rewrite.
20709 (pop-to-buffer): Restore Emacs 23 behavior but use
20710 window-normalize-buffer-to-display.
20711 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20712 Restore Emacs 23 behavior but use
20713 window-normalize-buffer-to-switch-to.
20714 (pop-to-buffer-same-window): Rewrite.
20715 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20716 Rewrite using Emacs 23 options.
20717
20718 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20719
20720 * net/tramp.el (tramp-root-regexp): Remove.
20721 (tramp-completion-file-name-regexp-unified)
20722 (tramp-completion-file-name-regexp-separate)
20723 (tramp-completion-file-name-regexp-url): Don't use leading volume
20724 letter on w32 systems. (Bug#5303, Bug#9311)
20725 (tramp-drop-volume-letter): Simplify definition.
20726 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20727
20728 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20729
20730 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20731 (bug#9356).
20732
20733 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20734
20735 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20736
20737 2011-08-29 Juri Linkov <juri@jurta.org>
20738
20739 * isearch.el (isearch-done): Don't display message "Mark saved"
20740 when arg `edit' is non-nil to prevent its flicker in the echo area.
20741
20742 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20743
20744 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20745 obsolete packages for deletion.
20746
20747 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20748
20749 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20750 (help-mode): Derive help-mode from special-mode. Don't invoke
20751 view-mode from help-mode.
20752 (help-xref-override-view-map): Remove.
20753 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20754 view-mode is not used anymore.
20755
20756 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20757
20758 * server.el (server-port): Doc fix.
20759
20760 * cus-theme.el (custom-theme-choose-mode): Inherit from
20761 special-mode (Bug#9124).
20762 (custom-theme-choose-mode-map): Add special-mode to parent.
20763
20764 2011-08-28 Alan Mackenzie <acm@muc.de>
20765
20766 * progmodes/cc-fonts.el
20767 (c-make-font-lock-BO-decl-search-function): New function.
20768 (c-basic-matchers-after - "Fontify the clauses after various
20769 keywords"): Extract the three keyword lists for the 3 erroneous
20770 constructs from the list of four, and use the new function above
20771 in place of an old one.
20772
20773 2011-08-28 Deniz Dogan <deniz@dogan.se>
20774
20775 * net/rcirc.el (rcirc-insert-prev-input)
20776 (rcirc-insert-next-input): Remove unused argument.
20777
20778 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20779
20780 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20781
20782 2011-08-27 Alan Mackenzie <acm@muc.de>
20783
20784 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20785 handle function pointer parameters properly.
20786
20787 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20788
20789 * window.el (display-buffer-reuse-window): Fix case where
20790 selected window was reused with non-nil OTHER-WINDOW argument.
20791 (Bug#9381)
20792
20793 2011-08-27 Deniz Dogan <deniz@dogan.se>
20794
20795 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20796 oftc's NickServ messages.
20797
20798 2011-08-27 Glenn Morris <rgm@gnu.org>
20799
20800 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20801
20802 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20803
20804 * emacs-lisp/package.el (package-install): Call package-initialize
20805 if called interactively.
20806
20807 2011-08-26 Leo Liu <sdl.web@gmail.com>
20808
20809 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20810
20811 2011-08-25 Juri Linkov <juri@jurta.org>
20812
20813 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20814 `search-whitespace-regexp' (bug#9364).
20815
20816 2011-08-25 Juri Linkov <juri@jurta.org>
20817
20818 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20819 `regexp-search-ring' to their global values to protect from
20820 updating by `read-from-minibuffer' (bug#9185).
20821
20822 2011-08-25 Juri Linkov <juri@jurta.org>
20823
20824 * textmodes/ispell.el (ispell-command-loop): Add newline
20825 at the end of the "Use option `i'..." line.
20826
20827 2011-08-25 Juri Linkov <juri@jurta.org>
20828
20829 * battery.el (display-battery-mode): If `battery-status-function'
20830 or `battery-mode-line-format' is nil, display the message and set
20831 `display-battery-mode' to nil (bug#9363).
20832
20833 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20834
20835 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20836 bidi-string-mark-left-to-right; they are unnecessary now.
20837
20838 2011-08-25 Deniz Dogan <deniz@dogan.se>
20839
20840 * net/quickurl.el: Documentation typo fixes.
20841
20842 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20843
20844 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20845
20846 2011-08-25 Glenn Morris <rgm@gnu.org>
20847
20848 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20849
20850 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20851 (smtpmail-via-smtp): Handle nil response from smtp.
20852
20853 2011-08-24 Juri Linkov <juri@jurta.org>
20854
20855 * proced.el (proced-marked): Inherit from `error' instead of
20856 `font-lock-warning-face'.
20857
20858 * ibuffer.el (ibuffer-marked-face): Change default face from
20859 `font-lock-warning-face' to `warning'.
20860 (ibuffer-deletion-face): Change default face from
20861 `font-lock-type-face' to `error'.
20862
20863 * battery.el (battery-update): Use the face `error' instead of
20864 `font-lock-warning-face' (bug#6117).
20865
20866 2011-08-24 Juri Linkov <juri@jurta.org>
20867
20868 * faces.el (success): Change face color from "Green3" to
20869 "ForestGreen" on light background (bug#9353).
20870
20871 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20872
20873 * window.el (quit-window): Rename from quit-restore-window.
20874 Use same arglist as old quit-window.
20875 (frame-auto-delete): Doc fix.
20876
20877 * view.el (view-mode-exit): Use quit-window.
20878
20879 2011-08-24 Juri Linkov <juri@jurta.org>
20880
20881 * isearch.el (isearch-ring-adjust1): Start visiting previous
20882 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20883 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20884 for empty search string (when the last search string is reused
20885 automatically) to adjust the isearch ring to the last element and
20886 prepare the correct index for further M-p commands (bug#9185).
20887
20888 2011-08-24 Kenichi Handa <handa@m17n.org>
20889
20890 * international/ucs-normalize.el: If decomposition property of
20891 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20892 nil.
20893 (nfd, nfkd): Likewise.
20894
20895 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20896
20897 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20898 from process filters aren't reliably transmitted to the surrounding
20899 accept-process-output.
20900 (mpc-proc-check): New function.
20901 (mpc-proc-sync): Use it (bug#8293)
20902
20903 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20904
20905 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20906 Add compatibility functions (bug#9313).
20907
20908 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20909
20910 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20911
20912 * international/uni-bidi.el: Regenerate.
20913
20914 2011-08-23 Kenichi Handa <handa@m17n.org>
20915
20916 * international/charprop.el:
20917 * international/uni-bidi.el:
20918 * international/uni-category.el:
20919 * international/uni-combining.el:
20920 * international/uni-comment.el:
20921 * international/uni-decimal.el:
20922 * international/uni-decomposition.el:
20923 * international/uni-digit.el:
20924 * international/uni-lowercase.el:
20925 * international/uni-mirrored.el:
20926 * international/uni-name.el:
20927 * international/uni-numeric.el:
20928 * international/uni-old-name.el:
20929 * international/uni-titlecase.el:
20930 * international/uni-uppercase.el: Regenerate.
20931
20932 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20933
20934 * help.el (help-window-setup): Fix message displayed when other
20935 window is reused. (Bug#9341)
20936
20937 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20938
20939 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20940 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20941
20942 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20943 Mark obsolete.
20944 * shell.el (shell-parse-pcomplete-arguments): New function.
20945 (shell-completion-vars): Use it instead (bug#9160).
20946
20947 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20948
20949 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20950 strings and comments (bug#9333).
20951
20952 * emacs-lisp/debug.el (debug-arglist): New function.
20953 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20954 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20955
20956 2011-08-22 Juri Linkov <juri@jurta.org>
20957
20958 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20959 Revert regexp that highlights output switches to its old
20960 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20961
20962 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20963 to check for empty output (bug#9226).
20964
20965 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20966
20967 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20968 symbol-constituent as the default, as that stops font-lock from
20969 working properly (Bug#8843).
20970
20971 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20972
20973 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20974 `coding-system-for-*' around the process open call to avoid
20975 auth-source side effects.
20976 (smtpmail-try-auth-methods): Expand the secret password.
20977 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20978 probe hangs.
20979
20980 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20981
20982 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20983
20984 * emacs-lisp/find-func.el (find-function-noselect): New arg
20985 lisp-only.
20986
20987 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20988 signal an error for built-in functions (Bug#6664).
20989
20990 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20991
20992 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20993 (smtpmail-try-auth-methods): Use it.
20994
20995 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20996
20997 * font-lock.el (font-lock-fontify-region)
20998 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20999 (font-lock-default-unfontify-buffer)
21000 (font-lock-default-fontify-region)
21001 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21002
21003 * progmodes/compile.el (compilation-error-properties):
21004 Fix confusion between file struct and message struct (Bug#9319).
21005 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21006 `ant' regexp.
21007
21008 * net/browse-url.el (browse-url-firefox): Don't call
21009 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21010
21011 2011-08-20 Glenn Morris <rgm@gnu.org>
21012
21013 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21014
21015 * tutorial.el (tutorial--default-keys): Update some default bindings.
21016
21017 * files.el (hack-local-variables): Fully ignore case for "mode:".
21018
21019 2011-08-20 Alan Mackenzie <acm@muc.de>
21020
21021 Resolve invalid use of a regexp in regexp-opt.
21022
21023 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21024 detection for a java annotation.
21025
21026 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21027 detection for a java annotation.
21028
21029 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21030 handling for java.
21031 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21032
21033 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21034
21035 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21036 (Bug#9274).
21037
21038 2011-08-20 Alan Mackenzie <acm@muc.de>
21039
21040 Fontify CPP expressions correctly when starting in the middle of
21041 such a construct. Mainly for when jit-lock etc. starts a chunk
21042 here.
21043
21044 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21045 variable.
21046 (c-make-font-lock-search-form): New function, extracted from
21047 c-make-font-lock-search-function.
21048 (c-make-font-lock-search-function): Use the above function.
21049 (c-make-font-lock-context-search-function): New function.
21050 (c-cpp-matchers): Enhance the preprocessor expression case with
21051 the above function
21052 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21053 which takes an expression.
21054
21055 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21056
21057 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21058
21059 * window.el (display-buffer-reuse-window)
21060 (display-buffer-pop-up-window): Don't reuse or split a side
21061 window.
21062
21063 2011-08-19 Glenn Morris <rgm@gnu.org>
21064
21065 * files.el (hack-local-variables-prop-line, hack-local-variables):
21066 Downcase "Mode:". (Bug#9331)
21067
21068 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21069
21070 * international/characters.el: Add L and R categories.
21071
21072 * subr.el (bidi-string-mark-left-to-right): Rename from
21073 string-mark-left-to-right. Use category search.
21074
21075 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21076
21077 2011-08-18 Juri Linkov <juri@jurta.org>
21078
21079 * faces.el (error, warning, success): New faces with definitions
21080 copied from old default values of `font-lock-warning-face',
21081 `compilation-warning', `compilation-info' (bug#6117).
21082
21083 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21084
21085 * progmodes/compile.el (compilation-error): Inherit from `error'.
21086 (compilation-warning): Inherit from `warning'.
21087 (compilation-info): Inherit from `success'.
21088
21089 * dired.el (dired-marked): Inherit from `warning'.
21090 (dired-flagged): Inherit from `error'.
21091
21092 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21093
21094 * mail/smtpmail.el (auth-source): Require to avoid problems with
21095 binding variables (bug#9298). Also clean up some unused
21096 autoloads.
21097
21098 * net/network-stream.el (network-stream-open-starttls):
21099 Support using starttls.el without using gnutls-cli.
21100
21101 2011-08-17 Juri Linkov <juri@jurta.org>
21102
21103 * progmodes/grep.el (rgrep): Handle the case when
21104 `grep-find-command' is a cons cell (bug#9278).
21105
21106 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21107
21108 * window.el (display-buffer-pop-up-frame): Run frame creation
21109 function with BUFFER current (as special-display-popup-frame
21110 does). Reported by Drew Adams.
21111
21112 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21113
21114 * epa-mail.el: Simplify GnuPG group expansion using
21115 epg-expand-group.
21116 (epa-mail-group-alist, epa-mail-group-modtime)
21117 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21118 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21119 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21120 Remove.
21121
21122 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21123
21124 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21125
21126 2011-08-16 Alan Mackenzie <acm@muc.de>
21127
21128 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21129 Correct, to avoid the inside of macros.
21130
21131 2011-08-16 Richard Stallman <rms@gnu.org>
21132
21133 * epa-mail.el: Handle GnuPG group definitions.
21134 (epa-mail-group-alist, epa-mail-group-modtime)
21135 (epa-mail-gnupg-conf-file): New variables.
21136 (epa-mail-parse-groups, epa-mail-sync-groups)
21137 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21138 (epa-mail-expand-recipients): New functions.
21139 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21140
21141 * mail/rmail.el (rmail-epa-decrypt): New command.
21142
21143 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21144 Don't bind buffer-read-only, just inhibit-read-only.
21145 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21146 (epa-decrypt-armor-in-region): Make error message clearer.
21147
21148 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21149
21150 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21151 and "a2b" to "ab" for `prefix'.
21152
21153 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21154
21155 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21156 filter groups.
21157 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21158 Fourquet (Bug#8804).
21159
21160 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21161
21162 * startup.el (argi): Declare as global variable (bug#9275).
21163
21164 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21165
21166 * subr.el (string-mark-left-to-right): Search the entire string
21167 for RTL script, not just the terminating character. Doc fix.
21168
21169 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21170
21171 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21172 New function.
21173 (js--regexp-literal, js-syntax-propertize-function): Remove.
21174 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21175 (js-mode-map): Don't rebind electric keys.
21176 (js-insert-and-indent): Remove.
21177 (js-mode): Setup electric-layout and electric-indent instead.
21178
21179 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21180
21181 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21182
21183 * epa.el (epa-progress-callback-function): Fix the logic of
21184 displaying progress.
21185 * epa-file.el (epa-file-insert-file-contents): Make progress
21186 display more user-friendly.
21187 (epa-file-write-region): Ditto.
21188
21189 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21190
21191 * subr.el (string-mark-left-to-right): New function.
21192
21193 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21194 Use string-mark-left-to-right.
21195 (list-buffers-noselect): Caller changed.
21196
21197 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21198 Use string-mark-left-to-right.
21199 (tabulated-list-print): Recenter after moving point.
21200
21201 2011-08-10 Juri Linkov <juri@jurta.org>
21202
21203 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21204 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21205 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21206
21207 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21208
21209 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21210 (Bug#7554).
21211
21212 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21213
21214 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21215 character. (Bug#6594)
21216
21217 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21218
21219 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21220 (image-dired--with-db-file): New macro.
21221 (image-dired-write-tags, image-dired-remove-tag)
21222 (image-dired-create-gallery-lists, image-dired-write-comments)
21223 (image-dired-get-comment, image-dired-mark-tagged-files)
21224 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21225 (image-dired-gallery-generate): Use insert-file-contents.
21226
21227 * time.el (display-time-world-list, display-time-world-display):
21228 * time-stamp.el (time-stamp-string):
21229 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21230 set-time-zone-rule (Bug#7337).
21231
21232 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21233
21234 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21235 (epg-error-to-string, epg-errors-to-string): New function.
21236 (epg-wait-for-completion): Reverse errors list.
21237 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21238 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21239 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21240 (epg-sign-keys, epg-generate-key-from-file)
21241 (epg-generate-key-from-string): Format errors by using
21242 epg-errors-to-string (bug#9255).
21243 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21244
21245 2011-08-07 Juri Linkov <juri@jurta.org>
21246
21247 * faces.el (list-faces-display): Remove extra angle bracket
21248 from `help-mode-map'.
21249
21250 * info.el (Info-history-toc-nodes): Doc fix.
21251
21252 * longlines.el (longlines-mode): Doc fix.
21253
21254 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21255
21256 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21257 of statements and in a few more cases (bug#9183).
21258
21259 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21260 New functions.
21261 (cl-transform-lambda): Use them (bug#9239).
21262
21263 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21264
21265 * window.el (display-buffer-same-window)
21266 (display-buffer-same-frame, display-buffer-other-window)
21267 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21268 (pop-to-buffer-other-window)
21269 (pop-to-buffer-same-frame-other-window)
21270 (pop-to-buffer-other-frame): Make them defuns.
21271 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21272
21273 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21274
21275 * subr.el (make-composed-keymap): Move from C. Change calling
21276 convention, and improve docstring to bring attention to a subtle point.
21277 * minibuffer.el (completing-read-default): Adjust accordingly.
21278
21279 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21280
21281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21282 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21283
21284 * net/trampver.el: Update release number.
21285
21286 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21287
21288 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21289 "in" (bug#9190).
21290
21291 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21292
21293 * mail/sendmail.el (sendmail-query-once): Restore the current
21294 buffer after querying (bug#9074).
21295
21296 * dired.el (dired-flagged): Use different faces for marked and
21297 flagged files (bug#6117).
21298
21299 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21300 (bug#4433).
21301
21302 * ido.el (ido-mode): Switch off the message if called
21303 non-interactively.
21304
21305 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21306 before 587, since it appears that that's more likely to work for
21307 more people.
21308
21309 * cus-edit.el (custom-file): When running under emacs -q, always
21310 refuse to save the customizations, even if the .emacs file doesn't
21311 exist.
21312
21313 * info.el: Remove the `Info-beginning-of-buffer' function
21314 (bug#8325).
21315
21316 * net/network-stream.el (network-stream-open-starttls):
21317 Use `starttls-available-p' to see whether starttls.el can be used.
21318
21319 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21320
21321 * window.el (display-buffer-in-window): Don't set dedicated status
21322 of window here (Bug#9215).
21323 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21324 (display-buffer-pop-up-side-window)
21325 (display-buffer-in-side-window): Set dedicated status of window here.
21326
21327 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21328
21329 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21330 before binding generated-autoload-file.
21331
21332 2011-08-01 Deniz Dogan <deniz@dogan.se>
21333
21334 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21335
21336 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21337
21338 Sync with Tramp 2.2.2.
21339
21340 * net/trampver.el: Update release number.
21341
21342 2011-07-30 Juri Linkov <juri@jurta.org>
21343
21344 * dired-aux.el (dired-touch-initial): Remove function.
21345 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21346 current time, and `default' to the last modification time of the
21347 current marked file (bug#6887).
21348
21349 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21350
21351 * simple.el (goto-line): Use string-to-number to provide a
21352 numeric argument to read-number (bug#9163).
21353
21354 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21355
21356 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21357 connection process, it could be nil.
21358
21359 2011-07-27 Leo Liu <sdl.web@gmail.com>
21360
21361 Simplify url handling in rcirc-mode.
21362
21363 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21364 (rcirc-browse-url-at-mouse): Remove.
21365 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21366
21367 2011-07-26 Alan Mackenzie <acm@muc.de>
21368
21369 Fontify bitfield declarations properly.
21370
21371 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21372 (c-symbol-chars): Now exported as a lang variable.
21373 (c-not-primitive-type-keywords): New lang variable.
21374
21375 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21376 QT keyword "more" to prevent "more slots: ...." being spuriously
21377 parsed as a bitfield declaration.
21378
21379 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21380 Refactor and enhance to handle bitfield declarations.
21381 (c-punctuation-in): New function.
21382 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21383 declarations properly.
21384
21385 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21386
21387 * calendar/icalendar.el (icalendar--all-events): Take care of
21388 multiple vcalendars in a single file.
21389 (icalendar--convert-float-to-ical): Checkdoc fixes.
21390
21391 2011-07-25 Deniz Dogan <deniz@dogan.se>
21392
21393 * image.el (insert-image): Clarifying docstring.
21394
21395 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21396
21397 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21398 `tramp-send-command-and-check' if there is no error.
21399 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21400
21401 2011-07-22 Alan Mackenzie <acm@muc.de>
21402
21403 Prevent cc-langs.elc being loaded at run time.
21404
21405 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21406 cc-langs.
21407
21408 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21409 "(require 'cc-langs)". Quote a form so it will evaluate at
21410 (cc-mode's) compilation time.
21411
21412 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21413
21414 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21415 loading. (Bug#9114)
21416
21417 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21418
21419 * window.el (display-buffer-pop-up-window)
21420 (display-buffer-pop-up-side-window)
21421 (display-buffer-in-side-window): Call display-buffer-set-height
21422 and display-buffer-set-width after setting the new window's
21423 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21424
21425 2011-07-20 Sam Steingold <sds@gnu.org>
21426
21427 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21428 (etags-tags-included-tables): Call `convert-standard-filename' on
21429 the file names contained in TAGS so that windows Emacs can handle
21430 TAGS files created by cygwin ctags.
21431
21432 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21433
21434 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21435 which apparently didn't work.
21436
21437 2011-07-19 Roland Winkler <winkler@gnu.org>
21438
21439 * proced.el (proced-send-signal): For *Marked Processes* buffer
21440 put point at beginning of buffer.
21441
21442 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21443
21444 * proced.el (proced-format): Make header lines align with the text
21445 (bug#1779).
21446
21447 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21448
21449 * view.el (view-buffer): Allow running in `special' modes if we're
21450 visiting a file (bug#8615).
21451
21452 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21453
21454 * window.el (display-buffer-alist-of-strings-p)
21455 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21456 New functions.
21457 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21458 more accurately.
21459
21460 2011-07-18 Alan Mackenzie <acm@muc.de>
21461
21462 Fontify declarators properly when, e.g., a jit-lock chunk begins
21463 inside a declaration.
21464
21465 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21466
21467 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21468 New function.
21469 (c-complex-decl-matchers): Insert reference to
21470 c-font-lock-enclosing-decls.
21471
21472 * progmodes/cc-engine.el (c-backward-single-comment):
21473 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21474 to nil around calls to (forward-comment -1).
21475
21476 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21477
21478 * image.el (put-image): Doc typo fix.
21479
21480 * progmodes/etags.el (tags-search): Doc typo fix.
21481
21482 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21483 password if we get errors 550 to 554.
21484
21485 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21486
21487 * net/gnutls.el (gnutls-log-level): Remove.
21488
21489 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21490 indentation character (bug#6380).
21491
21492 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21493
21494 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21495 to clarify what the problem is (bug#4291).
21496
21497 * simple.el (current-kill): Clarify what
21498 `interprogram-paste-function' does (bug#7500).
21499 (auto-fill-mode): Document `auto-fill-function' in relation to
21500 `auto-fill-mode' (bug#2470).
21501
21502 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21503
21504 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21505 method if slot is read-only (bug#9035).
21506
21507 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21508
21509 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21510 * window.el (pop-to-buffer): Select window used even if it was
21511 selected before, see discussion of (Bug#8615), (Bug#6954).
21512 Pass argument NORECORD on to select-frame-set-input-focus.
21513
21514 2011-07-15 Glenn Morris <rgm@gnu.org>
21515
21516 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21517 Respect help-form.
21518
21519 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21520
21521 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21522 (gnutls-negotiate): Use it.
21523
21524 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21525
21526 * net/gnutls.el (gnutls-negotiate):
21527 Upcase `gnutls-algorithm-priority'.
21528
21529 2011-07-15 Glenn Morris <rgm@gnu.org>
21530
21531 * jka-compr.el (jka-compr-verbose): Move from here...
21532 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21533 Add missing :version tag.
21534 * info.el: No need to require jka-compr when compiling.
21535
21536 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21537
21538 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21539 (gnutls-negotiate): Use it.
21540
21541 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21542
21543 * info.el (Info-beginning-of-buffer): New command.
21544 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21545 announcing `b' as the key (bug#8325).
21546 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21547
21548 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21549
21550 * international/mule-cmds.el
21551 (describe-specified-language-support): Make the error message
21552 clearer (bug#8905).
21553
21554 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21555
21556 * isearch.el (isearch-barrier): Add a doc string, since it's
21557 mentioned in a function doc string (bug#8678).
21558
21559 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21560
21561 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21562 buffer argument (Bug#9083) and self-identifying label argument.
21563
21564 2011-07-15 Glenn Morris <rgm@gnu.org>
21565
21566 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21567
21568 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21569
21570 * man.el (Man-fontify-manpage): Fix message when formatting the
21571 man page (bug#7929).
21572
21573 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21574
21575 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21576 argument LRM; if non-nil, append an invisible LRM character to the
21577 buffer name.
21578 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21579 last argument non-nil, when formatting buffer names.
21580 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21581 paragraph direction.
21582
21583 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21584
21585 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21586 the man page name (bug#7929).
21587
21588 * image.el (put-image): Mention the `put-image' overlay property
21589 (bug#7834).
21590
21591 * scroll-bar.el (set-scroll-bar-mode): Mention that
21592 `scroll-bar-mode' lists the values (bug#7772).
21593
21594 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21595 command (bug#7729).
21596
21597 * rect.el (apply-on-rectangle): Return the point after the last
21598 operation.
21599 (string-rectangle): Go to the point after the last operation
21600 (bug#7522).
21601
21602 * printing.el (pr-toggle-region): Clarify the documentation
21603 slightly (bug#7493).
21604
21605 * time.el (display-time-update):
21606 Allow `display-time-mail-function' to return nil (bug#7158).
21607 Fix suggested by Detlev Zundel.
21608
21609 * vc/diff.el (diff): Clarify the order the file names are read
21610 (bug#7111).
21611
21612 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21613 the doc string (bug#7015).
21614
21615 * font-lock.el (font-lock-maximum-decoration): Mention what
21616 numeric levels mean (bug#6935).
21617
21618 * startup.el (initial-buffer-choice): Don't mention the `none'
21619 selection, which is against policy.
21620
21621 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21622
21623 * window.el (display-buffer-normalize-special):
21624 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21625
21626 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21627
21628 * subr.el (version<, version<=, version=): Mention "-CVS" and
21629 "-12345" alpha version numbers.
21630
21631 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21632
21633 * bindings.el: Add advertised binding for set-mark-command
21634 (Bug#5772).
21635
21636 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21637
21638 * bindings.el (mode-line-other-buffer):
21639 * bookmark.el (bookmark-bmenu-2-window):
21640 * bs.el (bs-cycle-next, bs-cycle-previous):
21641 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21642 switch-to-buffer.
21643
21644 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21645 Delete.
21646
21647 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21648
21649 * follow.el (follow-debug-message, follow-redisplay):
21650 * jka-cmpr-hook.el (with-auto-compression-mode):
21651 Fix typos in docstrings.
21652
21653 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21654
21655 * subr.el (with-silent-modifications): Clarify somewhat what the
21656 macro inhibits (bug#6525).
21657
21658 * simple.el (eval-expression): Note what it does if called
21659 interactively (bug#6495).
21660
21661 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21662
21663 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21664 Use pop-to-buffer buffer-or-name if it is nil.
21665
21666 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21667 Remove switch-to-buffer.
21668
21669 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21670
21671 * files.el (make-directory): Clarify that an error will be raised
21672 if there's an error (bug#6397).
21673
21674 * startup.el (initial-buffer-choice): Add `none' as a choice
21675 (bug#6234).
21676
21677 * subr.el (add-hook): Clarify section about buffer-local hooks
21678 (bug#6218).
21679
21680 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21681
21682 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21683
21684 * tabify.el (untabify): Preserve the current column so that point
21685 doesn't move (bug#6032).
21686
21687 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21688
21689 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21690 Rewrite to avoid awkward possessive "s" (bug#5986).
21691
21692 2011-07-13 Glenn Morris <rgm@gnu.org>
21693
21694 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21695 (dired-insert-directory): Give a message the first time
21696 if ls is found not to support --dired.
21697
21698 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21699
21700 * simple.el (toggle-truncate-lines): Clarify what is toggled
21701 (bug#5580). Text by Drew Adams.
21702
21703 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21704
21705 * simple.el (blink-matching-open): Make the error message from the
21706 last change less verbose.
21707
21708 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21709
21710 * font-lock.el (font-lock-comment-face): Use the high contrast
21711 "yellow" color for font-lock-comment-face on low color terminals
21712 using a dark background color (bug#4221).
21713
21714 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21715
21716 * dired.el (dired-insert-set-properties): Make the doc string
21717 reflect what it does now (bug#5325).
21718
21719 * simple.el (blink-matching-open): Say that we were unable to find
21720 the match within the limit, if we're limited (bug#5122).
21721
21722 * international/mule-cmds.el (prefer-coding-system): Add an
21723 example (bug#4869).
21724
21725 * progmodes/etags.el (tags-search): Document `file-list-form'
21726 (bug#4731).
21727
21728 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21729
21730 * net/browse-url.el (browse-url-default-browser)
21731 (browse-url-browser-function): Make the default browser choice a
21732 bit more logical (bug#4300). Also clean up the doc string.
21733
21734 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21735
21736 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21737 binary endings (bug#4440).
21738
21739 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21740
21741 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21742 which can be pretty annoying (bug#8971).
21743
21744 * jka-compr.el (jka-compr-verbose): New variable, and use
21745 throughout (bug#8971).
21746
21747 * info.el (Info-find-file): Fall back on the installation
21748 directory if we can't find the info node anywhere else.
21749
21750 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21751
21752 * vc/vc.el (vc-revert-file):
21753 Don't set file time-stamp in the past. (Bug#5181)
21754
21755 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21756
21757 * files.el (after-find-file): Give a better error message when
21758 trying to find a symlink that points to a file that doesn't exist
21759 (bug#4398).
21760
21761 * progmodes/cc-vars.el: Remove (probably) misleading comment
21762 (bug#4396).
21763
21764 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21765
21766 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21767
21768 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21769
21770 * mouse-sel.el: Hack restoring functionality, while keeping
21771 compatibility with 2010-07-03 changes to mouse selection.
21772 (mouse-sel-primary-overlay): New var.
21773 (mouse-sel-selection-alist): Use it.
21774 (mouse-sel-mode): Doc fix; remove points that are default features
21775 of mouse.el.
21776
21777 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21778
21779 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21780 Fix previous fix (bug#2490).
21781
21782 2011-07-12 Roland Winkler <winkler@gnu.org>
21783
21784 * textmodes/bibtex.el (bibtex-initialize):
21785 Use pop-to-buffer-same-window.
21786 (bibtex-search-entries): Fix interactive call.
21787
21788 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21789
21790 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21791 Fontise bytecomp Error lines more correctly (bug#2490).
21792 Fix suggested by Johan Bockgård.
21793
21794 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21795
21796 * dired-x.el (dired-guess-default): Use `delete-dups'.
21797
21798 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21799
21800 * dired.el (dired-mark-prompt):
21801 * dired-aux.el (dired-read-shell-command): Doc fix.
21802
21803 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21804
21805 * mail/sendmail.el (sendmail-query-once):
21806 Use `customize-save-variable' unconditionally, now that it works under
21807 emacs -Q.
21808
21809 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21810
21811 * cus-edit.el (custom-file): Take an optional no-error variable.
21812 (customize-save-variable): Set the variable, and give a warning if
21813 running under "emacs -q".
21814
21815 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21816
21817 * loadhist.el (unload-feature-special-hooks):
21818 Add `auto-coding-functions', `fill-nobreak-predicate' and
21819 `find-directory-functions' (bug#5327).
21820
21821 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21822
21823 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21824
21825 * cus-edit.el (custom-guess-name-alist): -alist variables should
21826 use the `alist' type (bug#3120). Suggested by Drew Adams.
21827
21828 * printing.el: Add documentation to all the `pr-toggle-' commands.
21829
21830 2011-07-11 Leo Liu <sdl.web@gmail.com>
21831
21832 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21833 backends where it makes sense (bug#2623).
21834
21835 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21836
21837 * dired-x.el (dired-guess-default): Remove duplicate shell command
21838 entries (bug#2028).
21839 (dired-guess-default): Fix grammar in doc string (bug#2028).
21840 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21841
21842 * subr.el (remove-duplicates): New conveniency function.
21843
21844 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21845
21846 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21847 (bug#1526).
21848
21849 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21850
21851 * window.el (display-buffer-normalize-default): Don't invert
21852 meaning of even-window-heights. Reported by Eli Zaretskii
21853 <eliz@gnu.org>.
21854
21855 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21856
21857 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21858
21859 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21860
21861 * window.el (display-buffer): Fix arguments to
21862 display-buffer-reuse-window in last change.
21863
21864 * faces.el (link): Use a less saturated blue on light backgrounds.
21865
21866 * startup.el (fancy-startup-text, fancy-about-text)
21867 (fancy-startup-tail): Use font-lock faces, for background safety.
21868
21869 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21870
21871 * emulation/viper-cmd.el (viper-change-state-to-vi):
21872 Limit triggering of abbrev expansion (Bug#9038).
21873
21874 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21875
21876 * window.el (display-buffer-default-specifiers): Remove.
21877 (display-buffer-macro-specifiers): Remove default specifiers.
21878 (display-buffer-alist): Default to nil.
21879 (display-buffer-reuse-window): New optional argument other-window.
21880 (display-buffer-pop-up-window): Allow splitting internal
21881 windows. Check whether a live window was created.
21882 (display-buffer-other-window-means-other-frame)
21883 (display-buffer-normalize-arguments): Rename to
21884 display-buffer-normalize-argument and rewrite. Set the
21885 other-window specifier.
21886 (display-buffer-normalize-special): New function.
21887 (display-buffer-normalize-options): Rename to
21888 display-buffer-normalize-default and rewrite.
21889 (display-buffer-normalize-options-inhibit): Remove.
21890 (display-buffer-normalize-specifiers): Rewrite.
21891 (display-buffer): Process other-window specifier and call
21892 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21893 more faithfully.
21894 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21895 (display-buffer-alist-set): Don't handle 'unset default values.
21896 (display-buffer-in-window, display-buffer-alist-set):
21897 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21898 <tassilo@member.fsf.org>.
21899
21900 2011-07-09 Leo Liu <sdl.web@gmail.com>
21901
21902 * register.el (insert-register): Restore accidental change on
21903 2011-06-26. (Bug#9028)
21904
21905 2011-07-09 Glenn Morris <rgm@gnu.org>
21906
21907 * subr.el (remq): Handle the empty list. (Bug#9024)
21908
21909 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21910
21911 * mail/sendmail.el (send-mail-function): No longer delay custom
21912 initialization.
21913 * custom.el (custom-initialize-delay): Doc fix.
21914
21915 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21916
21917 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21918
21919 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21920
21921 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21922 human-friendly prompt.
21923
21924 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21925
21926 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21927 provided by a particular plugin.
21928
21929 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21930
21931 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21932 save customizations (with "emacs -Q"), just set the variable
21933 instead of erroring out.
21934
21935 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21936
21937 2011-07-08 Juri Linkov <juri@jurta.org>
21938
21939 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21940 (archive-zip-update-case): Use 7z if found by `executable-find'.
21941 The order of searching the available programs is the same as in
21942 `archive-zip-extract' (bug#8968).
21943
21944 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21945
21946 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21947 (menu-bar-options-menu): Tweak descriptions.
21948
21949 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21950
21951 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21952 menu items into verb phrases (bug#1421). Also refill to fit under
21953 80 columns.
21954
21955 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21956
21957 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21958 (Info-read-node-name): Doc fix (Bug#1084).
21959
21960 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21961 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21962 (end-of-sexp, beginning-of-sexp)
21963 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21964 (forward-symbol, forward-same-syntax, word-at-point)
21965 (sentence-at-point): Doc fix (Bug#1144).
21966
21967 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21968
21969 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21970 should cover it (bug#1281).
21971
21972 * cus-edit.el (custom-show): Mark as obsolete.
21973
21974 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21975 negotiation fails, then possibly try again with a non-encrypted
21976 connection (bug#9017).
21977
21978 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21979 be used.
21980
21981 2011-07-07 Richard Stallman <rms@gnu.org>
21982
21983 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21984 property, and handle its changed format.
21985 Look for the correct line number.
21986 Use file's line contents (but not past first =) to find
21987 correct line in message.
21988
21989 2011-07-07 Kenichi Handa <handa@m17n.org>
21990
21991 * international/characters.el (build-unicode-category-table):
21992 Delete it.
21993 (unicode-category-table): Set it by unicode-property-table-internal.
21994
21995 * international/mule-cmds.el (char-code-property-alist): Move to
21996 to src/chartab.c.
21997 (get-char-code-property): Call unicode-property-table-internal to
21998 load a file. Call get-unicode-property-internal where necessary.
21999 (put-char-code-property): Call unicode-property-table-internal to
22000 load a file. Call put-unicode-property-internal where necessary.
22001 put-unicode-property-internal where necessary.
22002 (char-code-property-description):
22003 Call unicode-property-table-internal to load a file.
22004
22005 * international/charprop.el:
22006 * international/uni-bidi.el:
22007 * international/uni-category.el:
22008 * international/uni-combining.el:
22009 * international/uni-comment.el:
22010 * international/uni-decimal.el:
22011 * international/uni-decomposition.el:
22012 * international/uni-digit.el:
22013 * international/uni-lowercase.el:
22014 * international/uni-mirrored.el:
22015 * international/uni-name.el:
22016 * international/uni-numeric.el:
22017 * international/uni-old-name.el:
22018 * international/uni-titlecase.el:
22019 * international/uni-uppercase.el: Regenerate.
22020
22021 * loadup.el: Load international/charprop.el before
22022 international/characters.
22023
22024 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22025
22026 * window.el (next-buffer, previous-buffer): Signal an error if
22027 called from a minibuffer window.
22028
22029 * bindings.el: Revert 2011-07-04 change.
22030
22031 2011-07-06 Richard Stallman <rms@gnu.org>
22032
22033 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22034 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22035 Treat markers like ints.
22036 (rmail-mime-entity): Doc fix.
22037
22038 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22039
22040 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22041 defcustom again for backwards compatibility.
22042
22043 * simple.el (shell-command-on-region): Fill.
22044
22045 * dired-aux.el (dired-kill-line): Add a doc string.
22046
22047 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22048 to "\\sw\\|\\s_" (bug#358).
22049
22050 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22051 (dired-unmark-backward): Ditto.
22052 (dired-flag-backup-files): Ditto.
22053
22054 * dired-x.el (dired-mark-sexp): Ditto.
22055
22056 2011-07-06 Richard Stallman <rms@gnu.org>
22057
22058 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22059 (rmail-mime-entity): New arg TRUNCATED.
22060 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22061 New functions.
22062 (rmail-mime-save): Warn if entity is truncated.
22063 (rmail-mime-toggle-hidden): Likewise, for showing.
22064 (rmail-mime-process-multipart): Record when an entity is truncated.
22065
22066 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22067 if ENTITY is a string.
22068
22069 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22070
22071 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22072 of faces when `M-C-x'-ing their definitions (bug#8378).
22073 Also clean up the code slightly.
22074
22075 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22076 because that makes the colors go away.
22077
22078 * mail/sendmail.el (send-mail-function): Change the default to
22079 `sendmail-query-once'.
22080 (sendmail-query-once): Add an autoload cookie.
22081
22082 * net/network-stream.el (network-stream-open-starttls): Try using
22083 a plain connection even if the server offered STARTTLS, and we
22084 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22085 capability. This should make smtpmail.el work in slightly more
22086 configurations.
22087
22088 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22089
22090 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22091 New defun.
22092 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22093
22094 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22095
22096 * progmodes/sql.el: Version 3.0
22097 (sql-product-alist): Add product :completion-object,
22098 :completion-column, and :statement attributes.
22099 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22100 (sql-mode-syntax-table): Mark all punctuation.
22101 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22102 ansi keywords.
22103 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22104 (sql-mode-oracle-font-lock-keywords): Improve.
22105 (sql-oracle-show-reserved-words): New function for development.
22106 (sql-product-font-lock): Simplify for source code buffers.
22107 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22108 New functions.
22109 (sql-highlight-product): Set product specific syntax table.
22110 (sql-mode-map): Add statement movement functions.
22111 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22112 New variable.
22113 (sql-statement-regexp, sql-beginning-of-statement)
22114 (sql-end-of-statement, sql-signum): New functions.
22115 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22116 (sql-show-sqli-buffer): Bug fix.
22117 (sql-interactive-mode): Store connection data as buffer local.
22118 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22119 with sql-interactive-mode.
22120 (sql-save-connection): Save buffer local settings.
22121 (sql-connection-menu-filter): Change menu entry name.
22122 (sql-product-interactive): Bug fix.
22123 (sql-preoutput-hold): New variable.
22124 (sql-interactive-remove-continuation-prompt): Bug fixes.
22125 (sql-debug-redirect): New variable.
22126 (sql-str-literal): New function.
22127 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22128 Redesign.
22129 (sql-oracle-save-settings, sql-oracle-restore-settings)
22130 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22131 (sql-completion-object, sql-completion-column)
22132 (sql-completion-sqlbuf): New variables.
22133 (sql-build-completions-1, sql-build-completions)
22134 (sql-try-completion): New functions.
22135 (sql-read-table-name): Use them.
22136 (sql-contains-names): New buffer local variable.
22137 (sql-list-all, sql-list-table): Use it.
22138 (sql-oracle-completion-types): New variable.
22139 (sql-oracle-completion-object, sql-sqlite-completion-object)
22140 (sql-postgres-completion-object): New functions.
22141
22142 2011-07-06 Glenn Morris <rgm@gnu.org>
22143
22144 * window.el (pop-to-buffer): Doc fix.
22145
22146 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22147
22148 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22149
22150 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22151
22152 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22153
22154 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22155
22156 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22157
22158 * button.el (button): Inherit from link face. Suggested by Dan
22159 Nicolaescu.
22160
22161 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22162
22163 * progmodes/gdb-mi.el: Fit in 80 columns.
22164 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22165 switch-to-buffer.
22166
22167 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22168 if imenu is simply not configured (bug#8941).
22169
22170 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22171
22172 * allout.el (allout-post-undo-hook): New allout outline-change
22173 event hook to signal undo activity.
22174 (allout-post-command-business): Run allout-post-undo-hook if an
22175 undo just occurred.
22176 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22177 * allout-widgets.el (allout-widgets-after-undo-function):
22178 Ensure the integrity of the current item's decoration after it has been
22179 in the vicinity of an undo.
22180 (allout-widgets-mode): Include allout-widgets-after-undo-function
22181 on the new allout-post-undo-hook.
22182
22183 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22184
22185 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22186 Let define-derived-mode define it.
22187 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22188 cycles of abbrev-table inheritance (bug#8998).
22189
22190 2011-07-05 Roland Winkler <winkler@gnu.org>
22191
22192 * textmodes/bibtex.el: Add support for biblatex.
22193 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22194 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22195 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22196 (bibtex-entry-alist, bibtex-field-alist): New variables.
22197 (bibtex-entry-field-alist): Obsolete alias for
22198 bibtex-BibTeX-entry-alist.
22199 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22200 (bibtex-set-dialect): New command.
22201 (bibtex-entry-type, bibtex-entry-head)
22202 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22203 Bind via bibtex-set-dialect.
22204 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22205 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22206 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22207 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22208 Define via bibtex-set-dialect.
22209 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22210 Obey bibtex-no-opt-remove-re.
22211 (bibtex-vec-push, bibtex-vec-incr): New functions.
22212 (bibtex-format-entry, bibtex-field-list)
22213 (bibtex-print-help-message, bibtex-validate)
22214 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22215
22216 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22217
22218 * progmodes/compile.el (compilation-goto-locus):
22219 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22220 * bs.el (bs-cycle-next, bs-cycle-previous):
22221 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22222 * bindings.el (mode-line-other-buffer):
22223 * autoinsert.el (auto-insert):
22224 * arc-mode.el (archive-extract):
22225 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22226
22227 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22228
22229 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22230 Fix check of `emacs-lock-unlockable-modes'.
22231 Coerce true values of `emacs-lock--try-unlocking' to t.
22232
22233 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22234
22235 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22236 * emacs-lock.el: New file.
22237
22238 2011-07-05 Julien Danjou <julien@danjou.info>
22239
22240 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22241 than `boundp' to check if face is set.
22242
22243 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22244
22245 * register.el (registerv-make):
22246 * window.el (window-min-height): Fix typos in docstrings.
22247
22248 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22249
22250 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22251 Update doc string.
22252
22253 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22254
22255 * server.el (server-execute): Catch quit and call
22256 `server-return-error' to pass the error back to emacsclient and
22257 close the connection (bug#8942).
22258
22259 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22260
22261 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22262 insecure exception for current topic. Also note that auto-saves
22263 are handled differently.
22264
22265 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22266 State variables for tracking auto-save inhibition situation.
22267
22268 (allout-write-contents-hook-handler): Rename from
22269 'allout-write-file-hook-handler', and describe how it depends on
22270 write-contents-functions sensitivity to non-nil value to prevent
22271 file write.
22272
22273 (allout-auto-save-hook-handler): Remove. auto-save does not check
22274 this in individual buffers, only in the starting buffer, so this
22275 is not the right way for us to inhibit auto-save in a buffer
22276 according to its condition.
22277
22278 (allout-mode): Use new allout-write-contents-hook-handler, and
22279 only with write-contents-functions. Remove auto-save provisions -
22280 they're implemented elsewhere.
22281
22282 (allout-before-change-handler): If undo is in progress, note that
22283 for attention of allout-post-command-business.
22284
22285 (allout-post-command-business): If the command we're following was
22286 an undo, check for change in the status of encrypted items and
22287 adjust auto-save inhibitions accordingly.
22288
22289 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22290 according to whether there are or aren't any plain-text topics
22291 pending encryption.
22292
22293 (allout-inhibit-auto-save-info-for-decryption):
22294 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22295 if there are plain-text topics pending encryption.
22296
22297 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22298 buffer-saved-size and some allout state to not inhibit auto-saves
22299 if there are no longer any plain-text topics pending encryption.
22300
22301 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22302 No longer provide for exemption of the current topic.
22303
22304 2011-07-04 Juri Linkov <juri@jurta.org>
22305
22306 Add 7z operations to delete and save changed members (bug#8968).
22307 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22308 New defcustoms.
22309 (archive-7z-write-file-member): New function.
22310 (archive-7z-summarize): Fix the number of dashes in the
22311 listing output.
22312
22313 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22314
22315 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22316 (bug#8958).
22317
22318 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22319
22320 * bindings.el: Ignore next-buffer and previous-buffer in
22321 minibuffer-local-map.
22322
22323 * font-lock.el (font-lock-builtin-face): Change light background
22324 color to dark slate blue (Bug#6693).
22325
22326 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22327
22328 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22329
22330 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22331
22332 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22333 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22334 Add switch-to-buffer.
22335
22336 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22337
22338 * isearch.el (isearch-search-fun-function): Clarify further the
22339 meaning of the function returned.
22340
22341 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22342
22343 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22344
22345 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22346 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22347 Use it.
22348 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22349 `tramp-default-remote-path' does not exist.
22350 (tramp-send-command-and-read): New optional argument NOERROR.
22351 (tramp-open-connection-setup-interactive-shell)
22352 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22353 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22354 (tramp-process-sentinel): Flush also process' connection property.
22355 (tramp-sh-handle-start-file-process): Do not set process
22356 sentinel. It is done now ...
22357 (tramp-maybe-open-connection): ... here. (Bug#8929)
22358
22359 2011-07-04 MON KEY <monkey@sandpframing.com>
22360
22361 * play/animate.el (animate-string): Doc fixes and allow changing
22362 the buffer name (bug#5417).
22363
22364 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22365
22366 * play/animate.el (animation-buffer-name): Rename from *animate*.
22367
22368 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22369
22370 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22371 This is simpler and helps future-proof the code.
22372 (timer-until): Use time-subtract and float-time.
22373 (timer--time-less-p): Use time-less-p.
22374
22375 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22376
22377 * type-break.el (timep): Use the value of `float-time' to avoid a
22378 byte-compiler warning.
22379
22380 * server.el (server-eval-and-print): Return any result, even nil.
22381
22382 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22383
22384 * type-break.el: Accept time formats that the builtins accept.
22385 (timep, type-break-time-difference): Accept any format that
22386 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22387 This is simpler and helps future-proof the code.
22388 (type-break-time-difference): Round rather than ignoring
22389 subseconds components.
22390
22391 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22392
22393 * info.el (Info-apropos-matches): Make non-interactive, since it
22394 doesn't seem to do anything useful as a command (bug#8829).
22395
22396 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22397
22398 * frame.el (frame-background-mode, frame-set-background-mode):
22399 Move from faces.el.
22400 (frame-default-terminal-background): New function.
22401
22402 * custom.el (custom-push-theme): Don't record faces in `changed'
22403 theme; this doesn't work correctly for per-frame face settings.
22404 (disable-theme): Use face-set-after-frame-default to reset faces.
22405 (custom--frame-color-default): New function.
22406
22407 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22408
22409 * dired.el (dired-flagging-regexp): Remove unused variable
22410 (bug#8769).
22411
22412 2011-03-29 Kevin Ryde <user42@zip.com.au>
22413
22414 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22415 `perl-Test2' extend to match possible "fail #N" rep count
22416 (bug#8377).
22417
22418 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22419
22420 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22421 `smtpmail-via-smtp' now returns the error instead of nil.
22422
22423 * isearch.el (isearch-search-fun-function): Clarify the doc string
22424 (bug#8101).
22425
22426 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22427
22428 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22429 unnecessary spaces (bug#8987).
22430
22431 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22432
22433 * net/network-stream.el (open-network-stream): Use the
22434 :end-of-capability command thoughout.
22435
22436 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22437
22438 * net/network-stream.el (open-network-stream): Add the
22439 :end-of-capability command parameter, used by pop3.el.
22440
22441 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22442
22443 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22444
22445 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22446 for list)" (bug#6475).
22447
22448 * files.el (file-expand-wildcards): Ignore non-readable
22449 sub-directories while trying to find matches instead of signaling
22450 an error (bug#6297).
22451
22452 * man.el (Man-reference-regexp): Allow matching possible
22453 word-wrapped references (bug#6289).
22454
22455 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22456 for consistency with the other vc buffers (bug#6197).
22457 (vc-checkin): Ditto.
22458
22459 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22460
22461 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22462
22463 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22464
22465 * custom.el (defcustom): Clarify that :set is only used in the
22466 Customize user interface (bug#6089).
22467
22468 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22469 associated with a file, refuse to run instead of erroring out
22470 (bug#6084).
22471
22472 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22473 the doc string, since it appears that using `fill-column' always
22474 controls the width (bug#7845).
22475
22476 * simple.el (shell-command-on-region): Say where the error output
22477 went if `shell-command-default-error-buffer' is set (bug#6857).
22478
22479 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22480
22481 * allout.el (allout-yank-processing): Adjust cursor position for
22482 backwards-deleted space.
22483
22484 (allout-rebullet-heading): Register changes with
22485 allout-exposure-changed-hook, so the modified topic is properly
22486 decorated.
22487
22488 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22489
22490 * minibuffer.el (completion-in-region): Document PREDICATE
22491 (bug#7136).
22492
22493 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22494 of keyword/argument pairs (bug#6904).
22495
22496 * replace.el (multi-occur):
22497 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22498
22499 2011-07-02 Drew Adams <drew.adams@oracle.com>
22500
22501 * dired.el (dired-mark-if): Make the message about whether it's
22502 marking or unmarking clearer (bug#8523).
22503
22504 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22505
22506 * disp-table.el (display-table-print-array): New function.
22507 (describe-display-table): Use it to print the vectors more pretty
22508 (Bug#8859).
22509
22510 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22511
22512 * window.el (window-state-get-1): Don't assign clone numbers.
22513 Add clone-of item to list of window parameters.
22514 (window-state-put-2): Don't process clone numbers.
22515 (display-buffer-alist): Fix doc-string.
22516
22517 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22518
22519 * subr.el (remq): Don't allocate if it's not needed.
22520 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22521 (keymap--merge-bindings): New functions.
22522 (keymap-canonicalize): Use them to refine the canonicalization.
22523 * minibuffer.el (minibuffer-local-completion-map)
22524 (minibuffer-local-must-match-map): Move initialization from C.
22525 (minibuffer-local-filename-completion-map): Move initialization from C;
22526 don't inherit from anything here.
22527 (minibuffer-local-filename-must-match-map): Make obsolete.
22528 (completing-read-default): Use make-composed-keymap to combine
22529 minibuffer-local-filename-completion-map with either
22530 minibuffer-local-must-match-map or
22531 minibuffer-local-filename-completion-map.
22532
22533 2011-07-01 Glenn Morris <rgm@gnu.org>
22534
22535 * type-break.el (type-break-time-sum): Use dolist.
22536
22537 * textmodes/flyspell.el (flyspell-word-search-backward):
22538 Replace CL function.
22539
22540 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22541
22542 * mouse.el (mouse--strip-first-event): New function.
22543 (function-key-map): Use it to map fringe clicks to normal clicks
22544 by default.
22545
22546 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22547 (vc-bzr-revision-completion-table): Add support for annotate and date.
22548
22549 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22550 inherit from parent.
22551
22552 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22553
22554 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22555 (dired-show-file-type): Doc fixup (bug#8818).
22556
22557 * dired.el (dired-mode): Fix up the doc string as suggested by
22558 Drew Adams (bug#8817).
22559
22560 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22561 cookie, since the manual says that it should be possible to add
22562 this function to `find-file-hook' (bug#8709).
22563
22564 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22565
22566 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22567 here. Noted Ted Zlatanov as the maintainer.
22568 (cfengine-common-settings, cfengine-common-syntax): New functions
22569 to set up common things between `cfengine-mode' and
22570 `cfengine3-mode'.
22571 (cfengine3-mode): New mode.
22572 (cfengine3-defuns cfengine3-defuns-regex
22573 (cfengine3-class-selector-regex cfengine3-category-regex)
22574 (cfengine3-vartypes cfengine3-font-lock-keywords)
22575 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22576 (cfengine3-indent-line): Add from cfengine3.el.
22577
22578 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22579
22580 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22581
22582 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22583
22584 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22585
22586 * window.el (same-window-buffer-names, same-window-regexps)
22587 (same-window-p, special-display-frame-alist)
22588 (special-display-popup-frame, special-display-function)
22589 (special-display-buffer-names, special-display-regexps)
22590 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22591 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22592 (split-window-preferred-function, split-height-threshold)
22593 (split-width-threshold, even-window-heights)
22594 (display-buffer-mark-dedicated, window-splittable-p)
22595 (split-window-sensibly, window-safely-shrinkable-p):
22596 Un-obsolete.
22597 (display-buffer): Don't spread args with function specifier
22598 because special-display-popup-frame won't like it.
22599
22600 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22601
22602 Time-stamp simplifications and fixes.
22603 These improve accuracy slightly, and future-proof the code
22604 against some potential changes to current-time format.
22605
22606 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22607 by using time-since and float-time.
22608
22609 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22610 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22611 + NNN microseconds".
22612
22613 * type-break.el (type-break-time-sum): Rewrite using time-add.
22614
22615 * play/hanoi.el (hanoi-current-time-float): Remove.
22616 All uses replaced by float-time.
22617
22618 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22619 This yields a more-accurate answer.
22620 (rng-time-to-float): Remove; no longer needed.
22621
22622 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22623
22624 * calendar/timeclock.el (timeclock-seconds-to-time):
22625 Defalias to seconds-to-time, since they're the same thing.
22626
22627 * emacs-lisp/elp.el (elp-elapsed-time):
22628 * emacs-lisp/benchmark.el (benchmark-elapse):
22629 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22630
22631 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22632
22633 * window.el (bury-buffer): Don't iconify the only frame.
22634 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22635 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22636
22637 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22638
22639 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22640 Add mouse-yank-primary.
22641
22642 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22643
22644 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22645
22646 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22647
22648 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22649 (find-library-name): Use it to find relative load names when provided
22650 absolute file name (bug#8803).
22651
22652 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22653
22654 * textmodes/flyspell.el (flyspell-word): Consider words that
22655 differ only in case as potential doublons (bug#5687).
22656
22657 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22658 Remove two rather uninteresting debugging-like messages to make
22659 debbugs.el more silent.
22660
22661 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22662 a password-like phrase.
22663
22664 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22665
22666 * progmodes/cc-guess.el: New file.
22667
22668 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22669
22670 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22671 derived from `c-basic-common-init'.
22672
22673 * progmodes/cc-mode.el (top-level): Require cc-guess.
22674 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22675
22676 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22677
22678 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22679
22680 2011-06-30 Alan Mackenzie <acm@muc.de>
22681
22682 * progmodes/cc-engine.el (c-guess-continued-construct):
22683 Correct the handling of template-args-cont, particularly for when font
22684 lock is disabled. Name this case as "CASE G".
22685
22686 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22687
22688 * allout.el (allout-yank-processing): Fix injection of extra space
22689 between bullet and non-whitespace character in first topic when
22690 pasting, ensuring that the actual spacing in the pasted topic
22691 following the bullet char is preserved. This extra space was
22692 causing pasted encrypted topics to get a decrypted status even
22693 when the content was actually still encrypted. Now the decryption
22694 status from before the paste is preserved.
22695
22696 (allout-flag-region): Set all allout overlays so they evaporate
22697 when reduced to zero length (evanescent), to prevent overlay
22698 leakage.
22699
22700 2011-06-30 Glenn Morris <rgm@gnu.org>
22701
22702 * w32-fns.el (w32-charset-info-alist): Declare.
22703
22704 * find-dired.el (find-grep-options): Simplify.
22705
22706 * term/ns-win.el (ns-set-resource): Declare.
22707
22708 * ses.el (row, col): Declare dynamic variables honestly.
22709
22710 * textmodes/reftex-parse.el (index-tags): Declare.
22711
22712 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22713
22714 * cus-edit.el (customize-push-and-save): New function.
22715
22716 * files.el (hack-local-variables-confirm): Use it.
22717
22718 * custom.el (load-theme): New arg NO-CONFIRM.
22719 Use customize-push-and-save (Bug#8720).
22720 (custom-enabled-themes): Doc fix.
22721
22722 * cus-theme.el (customize-create-theme)
22723 (custom-theme-merge-theme): Callers to load-theme changed.
22724
22725 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22726
22727 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22728 short URLs have at least one dot in them (bug #7614).
22729
22730 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22731 nil, because using a pty is apparently too slow (bug #895).
22732
22733 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22734
22735 * mail/sendmail.el (sendmail-query-once): New function.
22736 (sendmail-query-once-function): New variable.
22737
22738 2011-06-29 Glenn Morris <rgm@gnu.org>
22739
22740 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22741
22742 * ses.el (top-level): Require cl when compiling.
22743 (ses-set-localvars): Fix error statement.
22744 Call it at compile time to silence a storm of warnings.
22745
22746 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22747
22748 * window.el (normalize-live-buffer): Rename to
22749 window-normalize-buffer.
22750 (normalize-live-frame): Rename to window-normalize-frame.
22751 (normalize-any-window): Rename to window-normalize-any-window.
22752 (normalize-live-window): Rename to window-normalize-live-window.
22753 (make-window-atom): Rename to window-make-atom.
22754 (window-resize-reset): Rename to window--resize-reset.
22755 (window-resize-reset-1): Rename to window--resize-reset-1.
22756 (resize-mini-window): Rename to window--resize-mini-window.
22757 (resize-subwindows-skip-p): Rename to
22758 window--resize-subwindows-skip-p.
22759 (resize-subwindows-normal): Rename to
22760 window--resize-subwindows-normal.
22761 (resize-subwindows): Rename to window--resize-subwindows.
22762 (resize-other-windows): Rename to window--resize-siblings.
22763 (resize-this-window): Rename to window--resize-this-window.
22764 (resize-root-window): Rename to window--resize-root-window.
22765 (resize-root-window-vertically): Rename to
22766 window--resize-root-window-vertically.
22767 (normalize-buffer-to-display): Rename to
22768 window-normalize-buffer-to-display.
22769 (normalize-buffer-to-switch-to): Rename to
22770 window-normalize-buffer-to-switch-to.
22771 Correspondingly update all callers of the functions listed
22772 above.
22773 (display-buffer-alist, display-buffer-normalize-arguments)
22774 (display-buffer-normalize-options, display-buffer)
22775 (display-buffer-alist-set): Use "function" instead of
22776 "fun-with-args".
22777
22778 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22779
22780 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22781 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22782 debbugs.gnu.org. Mention acknowledgment email.
22783
22784 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22785
22786 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22787 buffer multibyteness, since it shouldn't matter.
22788
22789 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22790
22791 * window.el (display-buffer-in-side-window): Handle dedicated
22792 windows as in display-buffer-reuse-window.
22793 (display-buffer-normalize-alist): Use value of override
22794 specifier.
22795 (display-buffer-normalize-specifiers): Use value of
22796 other-window-means-other-frame specifier.
22797 (display-buffer-alist): Rewrite some texts in widgets.
22798 (display-buffer): Spread arguments when calling function
22799 specified by fun-with-args.
22800
22801 2011-06-28 Deniz Dogan <deniz@dogan.se>
22802
22803 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22804 Unnest `let'.
22805
22806 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22807 selectors (Bug#5732).
22808 (css-proprietary-nmstart-re): Use `regexp-opt'.
22809
22810 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22811
22812 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22813 (eshell-ls-date-format): New defcustom.
22814 (eshell-ls-file): Use it.
22815
22816 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22817
22818 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22819
22820 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22821
22822 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22823 (ange-ftp-make-tmp-name): New arg.
22824 (ange-ftp-file-local-copy): Use it.
22825
22826 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22827
22828 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22829 no-conversion (Bug#8870).
22830
22831 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22832
22833 * window.el (window-right, window-left, window-child)
22834 (window-child-count, window-last-child)
22835 (window-iso-combination-p, walk-window-tree-1)
22836 (window-atom-check-1, window-tree-1, delete-window)
22837 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22838 new naming conventions - window-vchild, window-hchild,
22839 window-next and window-prev are now called window-top-child,
22840 window-left-child, window-next-sibling and window-prev-sibling
22841 respectively.
22842 (resize-window-reset): Rename to window-resize-reset.
22843 (resize-window-reset-1): Rename to window-resize-reset-1.
22844 (resize-window): Rename to window-resize.
22845 (window-min-height, window-min-width)
22846 (resize-mini-window, resize-this-window, resize-root-window)
22847 (resize-root-window-vertically, adjust-window-trailing-edge)
22848 (enlarge-window, shrink-window, maximize-window)
22849 (minimize-window, delete-window, quit-restore-window)
22850 (split-window, balance-windows, balance-windows-area-adjust)
22851 (balance-windows-area, window-state-put-2)
22852 (display-buffer-even-window-sizes, display-buffer-set-height)
22853 (display-buffer-set-width, set-window-text-height)
22854 (fit-window-to-buffer): Rename all "resize-window" prefixed
22855 calls to use the "window-resize" prefix convention.
22856 (display-buffer-alist): Fix symbol for label specifier.
22857 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22858 corresponding specifier.
22859 Reported by Juanma Barranquero <lekktu@gmail.com>.
22860
22861 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22862
22863 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22864 convention.
22865 (ses-call-printer): Does not pass an empty string to formatter when the
22866 cell is empty to keep from barking printer Calc math-format-value.
22867
22868 2011-06-27 Richard Stallman <rms@gnu.org>
22869
22870 * battery.el (battery-mode-line-limit): New variable.
22871 (battery-update): Handle it.
22872
22873 * mail/rmailmm.el (rmail-mime-process-multipart):
22874 Handle truncated messages.
22875
22876 2011-06-27 Glenn Morris <rgm@gnu.org>
22877
22878 * progmodes/flymake.el (flymake-err-line-patterns):
22879 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22880
22881 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22882
22883 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22884 (ses--clean-!, ses--clean-_): New functions.
22885 (ses-range): Add configurability of readout order, and conversion
22886 to Calc vector.
22887
22888 * ses.el (ses-repair-cell-reference-all): New function.
22889 (ses-cell-symbol): Set macro as safe, so that it can be used in
22890 formulas.
22891
22892 * ses.el: Update cycle detection algorithm.
22893 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22894 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22895 (ses-set-localvars): New function.
22896 (ses-make-cell): Add property-list as a cell element.
22897 (ses-cell-property-get-fun, ses-cell-property-get)
22898 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22899 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22900 New functions.
22901 (ses-cell-property-set, ses-cell-property-pop)
22902 (ses-cell-property-get-handle): New macro.
22903 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22904 New aliases, used for code readability.
22905 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22906 cycle detection.
22907 (ses-self-reference-early-detection): New defcustom.
22908 (ses-formula-references): Robustify against self-referring cells.
22909 (ses-mode): Use ses-set-localvars.
22910 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22911 before lauching the update processing.
22912 (ses-initialize-Dijkstra-attempt): New function.
22913 (ses-recalculate-cell): Update for cycle detection based on
22914 Dijkstra algorithm.
22915
22916 * ses.el: Fix commenting and indenting convention.
22917
22918 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22919
22920 * bs.el (bs-cycle-next): Complete last change.
22921
22922 2011-06-27 Drew Adams <drew.adams@oracle.com>
22923
22924 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22925
22926 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22927
22928 * net/network-stream.el (network-stream-open-starttls):
22929 Don't re-get capabilities unless we've reestablished connection.
22930 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22931
22932 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22933 to binary to possibly avoid line encoding issues on Windows (among
22934 other things).
22935
22936 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22937
22938 * net/network-stream.el (open-network-stream): Return an :error
22939 saying what the problem was, if possible.
22940
22941 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22942 server.
22943
22944 * net/network-stream.el (network-stream-open-starttls): If we
22945 wanted to use STARTTLS, and the server offered it, but we weren't
22946 able to because we had no STARTTLS support, then close the connection.
22947 (open-network-stream): Return an :error element, if present.
22948
22949 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22950
22951 * hl-line.el (hl-line-sticky-flag): Doc fix.
22952 (global-hl-line-sticky-flag): New option (Bug#8323).
22953 (global-hl-line-highlight): Obey it.
22954
22955 * vc/vc.el (vc-revert-show-diff): Default to t.
22956
22957 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22958
22959 * allout-widgets.el (allout-widgets-post-command-business):
22960 Stop decorating intermediate isearch matches. They're not being
22961 undecorated when an isearch is continued past, and isearch
22962 automatically collapses them. This leads to "widget leaks", where
22963 decorated items accumulate in collapsed areas. Lines with lots of
22964 hidden widgets can slow down cursor travel, substantially.
22965 Too much complicated machinery would be needed to ensure undecoration,
22966 so we're doing without this nicety.
22967
22968 (allout-widgets-tally-string): Don't try to do a hash-table-count
22969 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22970 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22971 *Messages* when allout-widgets-maintain-tally is t.
22972
22973 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22974
22975 * window.el (display-buffer-normalize-argument): Rename to
22976 display-buffer-normalize-arguments. Handle special meaning of
22977 LABEL argument. Respect special-display-function when popping up
22978 a new frame. Fix code searching for a window showing the buffer
22979 on another frame.
22980 (display-buffer-normalize-specifiers):
22981 Call display-buffer-normalize-arguments.
22982 (display-buffer-in-window): Don't undedicate the window if its
22983 buffer remains the same.
22984 Reported by Drew Adams <drew.adams@oracle.com>.
22985 (display-buffer-alist): Add choice for same-window macro
22986 specfier.
22987 (display-buffer): Mention special meaning of LABEL argument in
22988 doc-string. Fix quoting. Don't pop up a new frame even as
22989 fallback.
22990
22991 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22992
22993 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22994 avoid deleting the current window in some cases (bug#8911).
22995
22996 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22997
22998 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22999 (Bug#8934)
23000
23001 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23002
23003 * net/network-stream.el (network-stream-open-starttls):
23004 Use built-in TLS support if `gnutls-available-p' is true.
23005 (network-stream-open-tls): Ditto.
23006
23007 2011-06-26 Leo Liu <sdl.web@gmail.com>
23008
23009 * register.el (registerv): New struct.
23010 (registerv-make): New function.
23011 (jump-to-register, describe-register-1, insert-register):
23012 Support the jump-func, print-func and insert-func slot of a registerv
23013 struct. (Bug#8415)
23014
23015 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23016
23017 * vc/vc.el (vc-revert-show-diff): New defcustom.
23018 (vc-diff-internal): New arg specifying diff buffer.
23019 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23020 reuse an existing *vc-diff* buffer (Bug#8927).
23021
23022 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23023
23024 2011-06-26 Glenn Morris <rgm@gnu.org>
23025
23026 * progmodes/f90.el (f90-critical-indent): New option.
23027 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23028 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23029 (f90-mode): Doc fix.
23030 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23031 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23032 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23033 (f90-match-end): Handle block, critical.
23034
23035 2011-06-25 Glenn Morris <rgm@gnu.org>
23036
23037 * calendar/diary-lib.el (diary-included-files): Doc fix.
23038 (diary-include-files): New function, extracted from
23039 diary-include-other-diary-files and diary-mark-included-diary-files.
23040 (diary-include-other-diary-files, diary-mark-included-diary-files):
23041 Just call diary-include-files.
23042 (diary-mark-entries): Reset diary-included-files on first call.
23043
23044 * calendar/diary-lib.el (diary-mark-entries)
23045 (diary-mark-included-diary-files):
23046 Visit included diary-files in temp buffers.
23047
23048 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23049 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23050 (f90-start-block-re, f90-imenu-generic-expression)
23051 (f90-looking-at-program-block-start, f90-no-block-limit):
23052 Add support for submodules.
23053
23054 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23055 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23056
23057 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23058
23059 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23060 buffer-file-type before setting its value, to avoid disastrous
23061 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23062
23063 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23064
23065 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23066
23067 * ses.el (ses-unload-function):
23068 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23069
23070 * proced.el (proced-unload-function):
23071 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23072
23073 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23074
23075 * server.el (server-create-window-system-frame): Add parameters arg.
23076 (server-process-filter): Doc fix. Handle frame-parameters.
23077
23078 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23079
23080 Fix bug#8730, bug#8781.
23081
23082 * loadhist.el (unload--set-major-mode): New function.
23083 (unload-feature): Use it.
23084
23085 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23086 (python-unload-function): New function.
23087
23088 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23089
23090 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23091
23092 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23093
23094 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23095 the candidates list.
23096
23097 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23098
23099 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23100
23101 2011-06-23 Richard Stallman <rms@gnu.org>
23102
23103 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23104 (rmail-variables): Set next-error-move-function.
23105 (rmail-what-message): Take argument POS.
23106 (rmail-next-error-move): New function.
23107
23108 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23109
23110 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23111 messages for adjacent non-terminals.
23112
23113 2011-06-23 Richard Stallman <rms@gnu.org>
23114
23115 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23116 (rmail-show-message-1): Preserve buffer modified flag.
23117 (rmail-start-mail): Don't specify use of rmail-mail-return;
23118 that's done by mail-bury now.
23119 (rmail-mail-return): Handle arg NEWBUF.
23120
23121 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23122
23123 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23124 SIZE is a number.
23125
23126 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23127
23128 * window.el (get-lru-window, get-mru-window)
23129 (get-largest-window): Never return a minibuffer window.
23130 (display-buffer-pop-up-window): Fix a bug that could lead to
23131 reusing the minibuffer window.
23132 (display-buffer): Pass original specifier argument to
23133 display-buffer-function instead of the normalized one.
23134 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23135
23136 2011-06-22 Leo Liu <sdl.web@gmail.com>
23137
23138 * minibuffer.el (completing-read-function)
23139 (completing-read-default): Move from minibuf.c.
23140
23141 2011-06-22 Richard Stallman <rms@gnu.org>
23142
23143 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23144 to Rmail even if not started by a special Rmail command.
23145
23146 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23147 Copy the buffer currently showing just one message.
23148
23149 2011-06-22 Roland Winkler <winkler@gnu.org>
23150
23151 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23152 (bibtex-clean-entry): First delete the old key so that a
23153 customized algorithm for generating the new key does not get
23154 confused by the old key.
23155 (bibtex-url): Obey regexp of first step.
23156 (bibtex-search-entries): Do not use add-to-list with local
23157 list-var.
23158
23159 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23160
23161 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23162 stored a user name, then query for the password first, instead of
23163 waiting for SMTP to give an error message and the trying again.
23164
23165 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23166
23167 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23168 BUFFER in call-process.
23169
23170 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23171
23172 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23173 QUIT twice.
23174 (smtpmail-try-auth-methods): Require user name and password from
23175 auth-source.
23176
23177 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23178
23179 * window.el (display-buffer-default-specifiers)
23180 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23181 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23182 (split-window): Normalize SIDE argument (Bug#8916).
23183
23184 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23185 (special-display-frame-alist, special-display-popup-frame):
23186 Remove duplicate declarations. These are now in window.el.
23187
23188 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23189
23190 * mail/smtpmail.el (smtpmail-via-smtp):
23191 Set :use-starttls-if-possible so that we always use STARTTLS if the
23192 server supports it. SMTP servers that support STARTTLS commonly
23193 require it.
23194
23195 * net/network-stream.el (network-stream-open-starttls): Support
23196 upgrading to STARTTLS always, even if we don't have built-in support.
23197 (open-network-stream): Add the :always-query-capabilities keyword.
23198
23199 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23200 upgrades with `open-network-stream', and rely solely on
23201 auth-source for all credentials. Big changes throughout the file,
23202 but in particular:
23203 (smtpmail-auth-credentials): Remove.
23204 (smtpmail-starttls-credentials): Remove.
23205 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23206 MAIL FROM, too.
23207
23208 * net/network-stream.el (network-stream-open-starttls):
23209 Provide support for client certificates both for external and built-in
23210 STARTTLS.
23211 (auth-source): Require.
23212 (open-network-stream): Document the :client-certificate keyword.
23213 (network-stream-certificate): Change cert-cert to cert and
23214 cert-key to key.
23215
23216 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23217
23218 * net/tramp-cache.el (top): Don't load the persistency file when
23219 "emacs -Q" has been called.
23220
23221 2011-06-21 Tim Harper <timcharper@gmail.com>
23222
23223 * term/ns-win.el (ns-initialize-window-system):
23224 Set application-specific `ApplePressAndHoldEnabled' system
23225 resource to NO as it is not yet supported by the NS port.
23226
23227 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23228
23229 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23230 (list-dynamic-libraries): ...not here.
23231
23232 2011-06-21 Leo Liu <sdl.web@gmail.com>
23233
23234 * subr.el (sha1): Implement sha1 using secure-hash.
23235
23236 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23237
23238 * window.el (display-buffer-alist): In default value do not
23239 enforce searching a window on any but the selected frame.
23240 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23241 (display-buffer-select-window): Remove function.
23242 (display-buffer-in-window): When a window on another frame gets
23243 reused, do not select it any more but just raise its frame if
23244 necessary (Bug#8851) and (Bug#8856).
23245 (display-buffer-normalize-options): Handle pop-up-frames related
23246 options more faithfully.
23247 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23248 window if it is on another frame.
23249 (display-buffer-alist, display-buffer-default-specifiers):
23250 Don't make new frame unsplittable by default.
23251 (display-buffer-normalize-argument): Fix doc-string typo and use
23252 'same-frame-other-window instead of 'other-window when associating
23253 with display-buffer-macro-specifiers.
23254
23255 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23256
23257 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23258 New functions.
23259 (5x5-mode-map, 5x5-mode-menu): Bind them.
23260 (5x5-draw-grid): Tweak the solver's rendering.
23261
23262 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23263
23264 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23265 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23266
23267 2011-06-21 Drew Adams <drew.adams@oracle.com>
23268
23269 * menu-bar.el: Use function variable instead of switch-to-buffer.
23270 (menu-bar-select-buffer-function): New variable.
23271 (menu-bar-update-buffers): Use it (bug#8876).
23272
23273 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23274
23275 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23276 variable's status.
23277
23278 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23279
23280 * x-dnd.el (x-dnd-version-from-flags)
23281 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23282 and long as number (Bug#8899).
23283 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23284
23285 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23286
23287 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23288 (completion-try-completion, completion-all-completions): Compute the
23289 metadata argument if it's missing; make it optional (bug#8795).
23290
23291 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23292 (widget-complete): Use new :completion-function property.
23293 (widget-completions-at-point): New function.
23294 (default): Use :completion-function instead of :complete.
23295 (widget-default-completions): Rename from widget-default-complete;
23296 Rewrite.
23297 (widget-string-complete, widget-file-complete, widget-color-complete):
23298 Remove functions.
23299 (file, symbol, function, variable, coding-system, color):
23300 * international/mule-cmds.el (default-input-method, charset)
23301 (language-info-custom-alist):
23302 * cus-edit.el (face): Use new property :completions.
23303
23304 * progmodes/pascal.el (pascal-completions-at-point): New function.
23305 (pascal-mode): Use it.
23306 (pascal-mode-map): Use completion-at-point.
23307 (pascal-toggle-completions): Make obsolete.
23308 (pascal-complete-word, pascal-show-completions):
23309 * progmodes/octave-mod.el (octave-complete-symbol):
23310 Redefine as obsolete alias.
23311 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23312 Signal absence of completion info for old Octave,
23313 (inferior-octave-complete): Redefine as obsolete alias.
23314 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23315 (meta-completions-at-point): Rename from meta-complete-symbol and
23316 adapt it for use on completion-at-point-functions.
23317 (meta-common-mode): Use it.
23318 (meta-looking-at-backward, meta-match-buffer): Remove.
23319 (meta-complete-symbol): Redefine as obsolete alias.
23320 (meta-common-mode-map): Use completion-at-point.
23321 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23322 (makefile-mode-map): Use completion-at-point.
23323 (makefile-completions-at-point): Rename from makefile-complete and
23324 adapt it for use on completion-at-point-functions.
23325 (makefile-mode): Use it.
23326 (makefile-complete): Redefine as obsolete alias.
23327
23328 2011-06-20 Deniz Dogan <deniz@dogan.se>
23329
23330 * net/rcirc.el: Delete trailing whitespaces once and for all.
23331
23332 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23333
23334 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23335
23336 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23337
23338 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23339
23340 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23341
23342 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23343
23344 * window.el (display-buffer-other-window-means-other-frame):
23345 Call display-buffer-normalize-alist.
23346 (display-buffer-normalize-specifiers-1): Rename to
23347 display-buffer-normalize-argument. New argument other-frame.
23348 Rewrite.
23349 (display-buffer-normalize-specifiers-2): Rename to
23350 display-buffer-normalize-options.
23351 (display-buffer-normalize-alist-1): New function.
23352 (display-buffer-normalize-specifiers-3): Rename to
23353 display-buffer-normalize-alist.
23354 Call display-buffer-normalize-alist-1.
23355 (display-buffer-normalize-options-inhibit): New variable.
23356 (display-buffer-normalize-specifiers): Rewrite calling
23357 display-buffer-normalize-alist,
23358 display-buffer-normalize-argument, and
23359 display-buffer-normalize-options. Don't call the latter if
23360 display-buffer-normalize-options-inhibit is non-nil.
23361 (frame-auto-delete): New option.
23362 (window-deletable-p): Use frame-auto-delete.
23363 (window-list-no-nils, window-state-ignored-parameters)
23364 (window-state-get-1, window-state-get, window-state-put-list)
23365 (window-state-put-1, window-state-put-2, window-state-put):
23366 New functions.
23367 (display-buffer-normalize-options): Move special-display-p group
23368 after pop-up-frame group (Bug#8851) and (Bug#8856).
23369
23370 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23371
23372 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23373 groups (Bug#8776).
23374 (rx-submatch-n): New function.
23375 (rx): Document it.
23376
23377 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23378 (Bug#8768).
23379
23380 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23381
23382 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23383
23384 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23385 anytime existing face settings are present (Bug#8889).
23386
23387 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23388 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23389 Remove unused argument.
23390
23391 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23392
23393 * window.el (display-buffer-default-specifiers):
23394 Remove pop-up-frame. Add pop-up-window-min-height,
23395 pop-up-window-min-width, and another reuse-window specifier
23396 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23397 (display-buffer-normalize-specifiers-2):
23398 Handle split-height-threshold and split-width-threshold also when
23399 pop-up-windows is unset. Add a reuse-window specifier for the
23400 case popping up a new window fails.
23401 (special-display-popup-frame): Remove double quoting.
23402 (display-buffer-normalize-specifiers-1): Fix thinko.
23403
23404 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23405
23406 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23407 according to comint-completion-addsuffix.
23408
23409 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23410 (pcomplete-suffix-list): Mark as obsolete.
23411 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23412 pcomplete-seen in the closure.
23413 (pcomplete-comint-setup): Setup completion-at-point as well.
23414 (pcomplete--entries): New function.
23415 (pcomplete--env-regexp): New var.
23416 (pcomplete-entries): Rewrite to work with partial-completion and
23417 without relying on pcomplete-suffix-list.
23418 (pcomplete-pare-list): Remove, unused.
23419
23420 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23421
23422 * window.el (display-buffer-alist): Set pop-up-window-min-height
23423 and pop-up-window-min-width in default value. Reported by
23424 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23425 other-window-means-other-frame.
23426 (display-buffer-macro-specifiers): Comment out entry for
23427 other-window specifier.
23428 (display-buffer-other-window-means-other-frame): New function.
23429 (display-buffer-normalize-specifiers-1): New arguments
23430 buffer-name and label. Treat other-window case specially.
23431 (display-buffer-normalize-specifiers-2): Treat other-window case
23432 specially.
23433 (display-buffer-normalize-specifiers-3): New function.
23434 (display-buffer-normalize-specifiers):
23435 Call display-buffer-normalize-specifiers-3.
23436
23437 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23438
23439 * window.el (same-window-p): Fix two typos introduced when
23440 adding with-no-warnings.
23441 (display-buffer-normalize-specifiers-1): Don't check
23442 pop-up-frames for 'unset initialization.
23443 (display-buffer-normalize-specifiers-2): Major rewrite using
23444 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23445 (pop-up-frames, display-buffer-reuse-frames)
23446 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23447 Suggested by David Engster <deng@randomsample.de>.
23448 (even-window-heights): Initialize to 'unset.
23449 (display-buffer-alist-set): Handle new 'unset initializations.
23450 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23451 other window case.
23452
23453 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23454
23455 * window.el (display-buffer-normalize-specifiers-1):
23456 Respect current value of pop-up-frames for most reasonable values of
23457 second argument of display-buffer (Bug#8865).
23458 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23459 (switch-to-buffer-other-window-same-frame)
23460 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23461 Adams (Bug#8875).
23462 (display-buffer): Don't check noninteractive when calling
23463 display-buffer-pop-up-frame.
23464 (display-buffer-pop-up-frame): Never pop up a frame in
23465 noninteractive mode (Bug#8857).
23466 (enlarge-window, shrink-window): Don't report an error when the
23467 window can't be resized as requested (Bug#8862).
23468
23469 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23470
23471 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23472
23473 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23474
23475 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23476
23477 2011-06-15 Alan Mackenzie <acm@muc.de>
23478
23479 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23480 for declarators, disable knr checking to speed up for normal files.
23481 2: Refactor, replacing a sequence of nested if forms by a cond form.
23482
23483 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23484
23485 * net/network-stream.el (open-network-stream): Add the keyword
23486 :always-query-capabilities for the case where you want to force a
23487 `plain' network connection, but the protocol still requires the
23488 capabilitiy command (i.e., SMTP and EHLO).
23489
23490 * subr.el (process-live-p): Rename from `process-alive-p' for
23491 consistency with other `-live-p' functions.
23492
23493 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23494
23495 * window.el (same-window-buffer-names, same-window-regexps)
23496 (special-display-frame-alist, special-display-popup-frame)
23497 (special-display-function, special-display-buffer-names)
23498 (special-display-regexps, pop-up-frame-alist)
23499 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23500 (pop-up-windows, split-window-preferred-function)
23501 (split-height-threshold, split-width-threshold, even-window-heights)
23502 (display-buffer-mark-dedicated): Don't encourage the use of
23503 display-buffer-alist from Elisp code.
23504
23505 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23506
23507 * progmodes/python.el (python-mode): Derive from prog-mode.
23508 * progmodes/ps-mode.el (ps-mode):
23509 * progmodes/mixal-mode.el (mixal-mode):
23510 * progmodes/cfengine.el (cfengine-mode):
23511 * progmodes/ld-script.el (ld-script-mode): Likewise.
23512
23513 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23514
23515 * window.el (display-buffer-alist): Trim default value to avoid
23516 popping up a new frame (Bug#8857) or reusing an arbitrary window
23517 on another frame.
23518 (display-buffer): Do not fall back on popping up a new frame in
23519 batch mode (Bug#8857).
23520
23521 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23522
23523 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23524 (custom-theme-summary): New function.
23525 (customize-themes): Use it.
23526
23527 2011-06-13 Glenn Morris <rgm@gnu.org>
23528
23529 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23530
23531 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23532
23533 * help.el (help-window): Remove variable.
23534 (help-window-point-marker, temp-buffer-max-height)
23535 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23536 (help-print-return-message): Don't set help-window.
23537 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23538 (help-window-setup-finish): Remove.
23539 (help-window-display-message, help-window-setup)
23540 (with-help-window): Major rewrite based on new
23541 display-buffer-window variable.
23542
23543 * help-mode.el (help-mode-finish): Remove help-window related
23544 code.
23545
23546 * view.el (view-exits-all-viewing-windows): Remove reference to
23547 view-return-to-alist in doc-string.
23548 (view-return-to-alist): Make obsolete.
23549 (view-buffer): Call pop-to-buffer-same-window and remove
23550 undo-window code.
23551 (view-buffer-other-window): Call pop-to-buffer-other-window and
23552 simplify code. Ignore second argument.
23553 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23554 simplify code. Ignore second argument.
23555 (view-return-to-alist-update): Make obsolete.
23556 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23557 Rewrite using quit-restore window parameters.
23558 (view-mode-exit): Rename second argument to EXIT-ONLY.
23559 Rewrite using quit-restore-window.
23560 (View-exit, View-exit-and-edit, View-leave, View-quit)
23561 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23562 appropriate arguments.
23563 (view-end-message): Use quit-restore window parameter.
23564
23565 * window.el (display-buffer-function): Rewrite doc-string.
23566 (display-buffer-window, display-buffer-alist): New variables.
23567 (display-buffer-split-specifiers)
23568 (display-buffer-side-specifiers)
23569 (display-buffer-macro-specifiers): New constants.
23570 (display-buffer-even-window-sizes, display-buffer-set-height)
23571 (display-buffer-set-width, display-buffer-select-window)
23572 (display-buffer-in-window, display-buffer-reuse-window)
23573 (display-buffer-split-window-1, display-buffer-split-window)
23574 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23575 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23576 (display-buffer-in-side-window, normalize-buffer-to-display)
23577 (display-buffer-normalize-specifiers-1)
23578 (display-buffer-normalize-specifiers-2)
23579 (display-buffer-normalize-specifiers, display-buffer-frame):
23580 New functions.
23581 (display-buffer): Major rewrite.
23582 (display-buffer-other-window, display-buffer-other-frame)
23583 (pop-to-buffer, switch-to-buffer-other-window)
23584 (switch-to-buffer-other-frame): Rewrite.
23585 (display-buffer-same-window, display-buffer-same-frame)
23586 (display-buffer-same-frame-other-window)
23587 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23588 (pop-to-buffer-other-window)
23589 (pop-to-buffer-same-frame-other-window)
23590 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23591 (switch-to-buffer-other-window-same-frame): New functions.
23592 (same-window-p, special-display-p): Rewrite disabling warnings.
23593 Make obsolete.
23594 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23595 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23596 Make obsolete
23597 (same-window-buffer-names, same-window-regexps)
23598 (special-display-frame-alist, special-display-popup-frame)
23599 (special-display-function, special-display-buffer-names)
23600 (special-display-regexps, pop-up-frame-alist)
23601 (pop-up-frame-function, split-window-preferred-function)
23602 (split-height-threshold, split-width-threshold)
23603 (even-window-heights): Make obsolete.
23604
23605 2011-06-12 Glenn Morris <rgm@gnu.org>
23606
23607 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23608 Misc simplifications.
23609
23610 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23611
23612 * window.el (window-safely-shrinkable-p): Restore function which
23613 was inadvertently removed in change from 2011-06-11. Declare as
23614 obsolete.
23615
23616 * calendar/calendar.el (calendar-generate-window):
23617 Use window-iso-combined-p instead of combination of one-window-p and
23618 window-safely-shrinkable-p.
23619
23620 2011-06-12 Glenn Morris <rgm@gnu.org>
23621
23622 * progmodes/fortran.el (fortran-mode-syntax-table):
23623 * progmodes/f90.el (f90-mode-syntax-table):
23624 Set % to punctuation. (Bug#8820)
23625 (f90-find-tag-default): Remove, no longer needed.
23626
23627 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23628
23629 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23630
23631 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23632
23633 * image.el (image-animated-p): Return animation delay in seconds.
23634 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23635 (image-animate-timeout): Remove DELAY argument. Don't assume
23636 every subimage has the same delay; get it from image-animated-p.
23637 (image-animate): Caller changed.
23638
23639 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23640
23641 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23642 to ignored backtrace functions.
23643
23644 2011-06-11 Glenn Morris <rgm@gnu.org>
23645
23646 * calendar/appt.el (appt-disp-window-function): Doc fix.
23647 (appt-check): Handle overlapping appointments. (Bug#8337)
23648
23649 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23650
23651 * window.el (window-tree-1, window-tree): New functions, moving
23652 the latter to window.el.
23653 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23654 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23655 (bw-refresh-edges): Remove.
23656 (balance-windows-1, balance-windows-2): New functions.
23657 (balance-windows): Rewrite in terms of window tree functions,
23658 balance-windows-1 and balance-windows-2.
23659 (bw-adjust-window): Remove.
23660 (balance-windows-area-adjust): New function with functionality of
23661 bw-adjust-window but using resize-window.
23662 (set-window-text-height): Rewrite doc-string.
23663 Use normalize-live-window and resize-window.
23664 (enlarge-window-horizontally, shrink-window-horizontally):
23665 Rename argument to DELTA.
23666 (window-buffer-height): New function.
23667 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23668 Rewrite using new window resize routines.
23669 (kill-buffer-and-window, mouse-autoselect-window-select):
23670 Use ignore-errors instead of condition-case.
23671 (quit-window): Call delete-frame instead of delete-windows-on
23672 for the only buffer on frame.
23673
23674 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23675
23676 * loadup.el (top-level): Load window before files for the sake
23677 of replace-buffer-in-windows.
23678
23679 * files.el (read-buffer-to-switch)
23680 (switch-to-buffer-other-window)
23681 (switch-to-buffer-other-frame, display-buffer-other-frame):
23682 Move to window.el.
23683
23684 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23685 (previous-buffer): Move to window.el.
23686
23687 * bindings.el (unbury-buffer): Move to window.el.
23688
23689 * window.el (delete-other-windows-vertically): Move after
23690 definition of delete-other-windows.
23691 (other-window, delete-windows-on, replace-buffer-in-windows):
23692 Move here from window.c.
23693 (record-window-buffer, unrecord-window-buffer)
23694 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23695 (switch-to-next-buffer): New functions.
23696 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23697 from simple.el. Call switch-to-next-buffer.
23698 (previous-buffer): Move here from simple.el.
23699 Call switch-to-prev-buffer.
23700 (bury-buffer): Move here from buffer.c. Switch to previous
23701 buffer when window cannot be deleted.
23702 (unbury-buffer): Move here from bindings.el.
23703 (ctl-x-map): Move binding for other-window from window.c to
23704 here.
23705 (read-buffer-to-switch, switch-to-buffer-other-window)
23706 (switch-to-buffer-other-frame): Move here from files.el.
23707 (normalize-buffer-to-switch-to): New functions.
23708 (switch-to-buffer): Move here from buffer.c.
23709 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23710
23711 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23712
23713 * window.el (window-min-height, window-min-width): Move here
23714 from window.c. Add defcustoms and rewrite doc-strings.
23715 (resize-mini-window, resize-window): New functions.
23716 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23717 Move here from window.c.
23718 (maximize-window, minimize-window): New functions.
23719 (delete-window, delete-other-windows, split-window): Move here
23720 from window.c.
23721 (window-split-min-size): New function.
23722 (split-window-keep-point): Mention split-window-above-each-other
23723 instead of split-window-vertically.
23724 (split-window-above-each-other, split-window-vertically):
23725 Rename split-window-vertically to split-window-above-each-other
23726 and provide defalias for old definition.
23727 (split-window-side-by-side, split-window-horizontally):
23728 Rename split-window-horizontally to split-window-side-by-side
23729 and provide defalias for the old definition.
23730 (ctl-x-map): Move bindings for delete-window,
23731 delete-other-windows and enlarge-window here from window.c.
23732 Replace bindings for split-window-vertically and
23733 split-window-horizontally by bindings for
23734 split-window-above-each-other and split-window-side-by-side.
23735
23736 * cus-start.el (all): Remove entries for window-min-height and
23737 window-min-width. Add entries for window-splits and
23738 window-nest.
23739
23740 2011-06-09 Glenn Morris <rgm@gnu.org>
23741
23742 * calendar/appt.el (appt-mode-line): New function.
23743 (appt-check, appt-disp-window): Use it.
23744
23745 * files.el (hack-one-local-variable-eval-safep):
23746 Allow minor-modes with explicit +/-1 arguments.
23747
23748 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23749
23750 * term/xterm.el (xterm): Add defgroup.
23751 (xterm-extra-capabilities): Add defcustom to supply known xterm
23752 capabilities, skip querying them, or query them (default).
23753 (terminal-init-xterm): Use it.
23754 (terminal-init-xterm-modify-other-keys): New function to set up
23755 modifyOtherKeys support to simplify `terminal-init-xterm'.
23756
23757 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23758
23759 * window.el (resize-window-reset, resize-window-reset-1)
23760 (resize-subwindows-skip-p, resize-subwindows-normal)
23761 (resize-subwindows, resize-other-windows, resize-this-window)
23762 (resize-root-window, resize-root-window-vertically)
23763 (window-deletable-p, window-or-subwindow-p)
23764 (frame-root-window-p): New functions.
23765
23766 2011-06-09 Glenn Morris <rgm@gnu.org>
23767
23768 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23769 (ange-ftp-get-files): Use it.
23770
23771 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23772
23773 * mail/sendmail.el (mail-recover-1, mail-recover):
23774 * files.el (recover-file, recover-session):
23775 Handle dired-listing-switches not being just a single short option.
23776
23777 2011-06-09 Glenn Morris <rgm@gnu.org>
23778
23779 * calendar/appt.el (appt-display-message, appt-disp-window):
23780 Handle lists of appointments.
23781
23782 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23783
23784 * window.el (one-window-p): Move down in code.
23785 Rewrite doc-string.
23786 (window-current-scroll-bars): Rewrite doc-string.
23787 Normalize live window argument.
23788 (walk-windows, get-window-with-predicate, count-windows):
23789 Rewrite doc-string. Use window-list-1.
23790 (window-in-direction-2, window-in-direction, get-mru-window):
23791 New functions.
23792
23793 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23794
23795 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23796 Doc fix (Bug#8713).
23797
23798 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23799
23800 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23801
23802 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23803
23804 * loadhist.el (unload-feature-special-hooks):
23805 Add `comint-output-filter-functions'.
23806
23807 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23808
23809 * calendar/appt.el (appt-check): Move some initializations into the let.
23810
23811 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23812
23813 * window.el (window-height): Defalias to window-total-height.
23814 (window-width): Defalias to window-body-width.
23815
23816 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23817
23818 * image-mode.el (image-toggle-animation): New command.
23819 (image-mode-map): Bind it to RET.
23820 (image-mode): Update message.
23821 (image-toggle-display-image): Avoid a spurious cache flush.
23822 (image-transform-rotation): Doc fix.
23823 (image-transform-properties): Return quickly in the normal case.
23824 (image-animate-loop): Rename from image-animate-max-time.
23825
23826 * image.el (image-animate-max-time): Move to image-mode.el.
23827 (create-animated-image): Remove unnecessary function.
23828 (image-animate): Rename from image-animate-start. New arg.
23829 (image-animate-stop): Remove; just use image-animate-timer.
23830 (image-animate-timer): Use car-safe.
23831 (image-animate-timeout): Rename argument.
23832
23833 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23834
23835 * window.el (get-lru-window, get-largest-window): Move here from
23836 window.c. Rename first argument to ALL-FRAMES.
23837 Rephrase doc-strings.
23838 (get-buffer-window-list): Rewrite using window-list-1.
23839 Rephrase doc-string.
23840 (window-safe-min-height, window-safe-min-width): New constants.
23841 (window-size-ignore, window-min-size, window-min-size-1)
23842 (window-sizable, window-sizable-p, window-size-fixed-1)
23843 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23844 (window-max-delta-1, window-max-delta, window-resizable)
23845 (window-resizable-p, window-total-height, window-total-width)
23846 (window-body-width): New functions.
23847 (window-full-height-p, window-full-width-p): Rewrite using
23848 window-total-size.
23849 (window-body-height): Rewrite using window-body-size.
23850
23851 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23852
23853 * window.el (window-right, window-left, window-child)
23854 (window-child-count, window-last-child, window-any-p)
23855 (normalize-live-buffer, normalize-live-frame)
23856 (normalize-any-window, normalize-live-window)
23857 (window-iso-combination-p, window-iso-combined-p)
23858 (window-iso-combinations)
23859 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23860 (windows-with-parameter, window-with-parameter)
23861 (window-atom-root, make-window-atom, window-atom-check-1)
23862 (window-atom-check, window-side-check, window-check):
23863 New functions.
23864 (ignore-window-parameters, window-sides, window-sides-vertical)
23865 (window-sides-slots): New variables.
23866 (window-size-fixed): Move down in code. Minor doc-string fix.
23867
23868 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23869
23870 * comint.el (comint-dynamic-complete-as-filename)
23871 (comint-dynamic-complete-filename): Correctly call
23872 completion-in-region.
23873
23874 2011-06-05 Deniz Dogan <deniz@dogan.se>
23875
23876 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23877 in last change.
23878
23879 2011-06-05 Deniz Dogan <deniz@dogan.se>
23880
23881 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23882 (rcirc): Use it to prompt for encryption.
23883
23884 2011-06-05 Roland Winkler <winkler@gnu.org>
23885
23886 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23887 (bibtex-search-entries): New command bound to C-c C-a.
23888 (bibtex-display-entries): New function.
23889
23890 2011-06-05 Roland Winkler <winkler@gnu.org>
23891
23892 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23893 (bibtex-insert-kill): After yanking insert newline if necessary.
23894 (bibtex-initialize): Call bibtex-string-files-init only once.
23895 (bibtex-mode): Do not call easy-menu-add.
23896 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23897 (bibtex-yank): Set arg properly if nil.
23898
23899 2011-06-05 Roland Winkler <winkler@gnu.org>
23900
23901 * textmodes/bibtex.el (bibtex-search-entry-globally):
23902 New variable.
23903 (bibtex-search-entry): Use it.
23904
23905 2011-06-05 Roland Winkler <winkler@gnu.org>
23906
23907 * textmodes/bibtex.el (bibtex-entry-format): New option
23908 sort-fields.
23909 (bibtex-format-entry, bibtex-reformat): Honor this option.
23910 (bibtex-parse-entry): Return fields in proper order.
23911
23912 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23913
23914 * doc-view.el (doc-view-remove-if): Move computation of result out
23915 of `dolist' to silence misleading lexical-binding warning.
23916
23917 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23918
23919 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23920 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23921
23922 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23923
23924 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23925 "SunOS 5.10".
23926
23927 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23928
23929 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23930 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23931 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23932 (tramp-parse-putty):
23933 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23934 (tramp-completion-function-alist-ssh)
23935 (tramp-completion-function-alist-telnet)
23936 (tramp-completion-function-alist-su)
23937 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23938 cookie.
23939
23940 * net/tramp-ftp.el:
23941 * net/tramp-sh.el:
23942 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23943 load "tramp.el" `tramp-set-completion-function'.
23944
23945 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23946
23947 * shell.el: Require and use pcomplete.
23948 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23949 (shell-completion-vars): Set pcomplete-default-completion-function.
23950
23951 2011-06-04 Deniz Dogan <deniz@dogan.se>
23952
23953 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23954 `memq' (Bug#8799).
23955
23956 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23957
23958 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23959
23960 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23961
23962 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23963 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23964 * vc/log-view.el (log-view-beginning-of-defun):
23965 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23966 (smerge-refine-forward, smerge-refine-chopup-region):
23967 Silence warning for unused `dotimes' counter variables.
23968
23969 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23970
23971 * net/tramp.el (tramp-with-progress-reporter): Rename from
23972 with-progress-reporter. Use `declare'.
23973 * net/tramp-smb.el:
23974 * net/tramp-sh.el:
23975 * net/tramp-gvfs.el: Update all uses.
23976
23977 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23978
23979 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23980 buffer isn't killed before making it current.
23981
23982 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23983
23984 Silence various byte-compiler warnings.
23985 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23986 `access-type' and new obsolescence format.
23987 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23988 new format.
23989 (byte-compile-check-variable): New `access-type' argument.
23990 Only warn if the access-type is obsolete.
23991 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23992 (byte-compile-variable-set): Adjust callers.
23993 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23994 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23995 setting it as obsolete.
23996 * simple.el (minibuffer-completing-symbol):
23997 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23998 access as obsolete.
23999 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24000 obsolete yet.
24001 * international/quail.el (quail-mouse-choose-completion): Remove unused
24002 code referring to obsolete var.
24003 (quail-choose-completion-string): Remove.
24004 * server.el (server-clients-with, server-kill-buffer-query-function)
24005 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24006 * proced.el (proced-send-signal):
24007 * emacs-lisp/lisp.el (lisp-complete-symbol):
24008 Replace completion-annotate-function with completion-extra-properties.
24009
24010 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24011
24012 * simple.el (goto-line): Use read-number.
24013 (overriding-map-is-bound): Remove.
24014 (saved-overriding-map): Change default.
24015 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24016 Take the map as argument.
24017 (universal-argument, negative-argument, digit-argument): Use it.
24018 (restore-overriding-map): Adjust.
24019 (do-auto-fill): Use fill-forward-paragraph.
24020 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24021
24022 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24023 (minibuffer-inactive-mode): New major mode.
24024 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24025 the *Messages* buffer" hack.
24026 (mouse-popup-menubar): Don't burp if the event is a normal key.
24027
24028 Miscellaneous tweaks.
24029 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24030 lexical scoping as in subr.el's dolist and dotimes.
24031 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24032 Silence compiler warning.
24033 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24034 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24035 * international/ccl.el (ccl-compile): Trivial simplification.
24036 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24037 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24038 `printflag' argument.
24039 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24040 Purecopy the whole obsolescence data.
24041
24042 2011-06-01 Leo Liu <sdl.web@gmail.com>
24043
24044 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24045 improve doc-string as suggested by Marco Pessotto
24046 <melmothx@gmail.com>.
24047 (rcirc-print): Fix last change.
24048
24049 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24050
24051 * minibuffer.el (complete-with-action): Return nil for the metadata and
24052 boundaries of non-functional tables.
24053 (completion-table-dynamic): Return nil for the metadata.
24054 (completion-table-with-terminator): Add default case, using
24055 complete-with-action.
24056 (completion--metadata): New function.
24057 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24058 to try and avoid pathological performance problems.
24059 (completion--embedded-envvar-table): Return `category' metadata.
24060
24061 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24062
24063 * subr.el (process-alive-p): New tiny convenience function.
24064
24065 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24066
24067 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24068 content but also its previous major mode.
24069
24070 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24071
24072 * emacs-lisp/debug.el (debug): Restore the previous content of the
24073 *Backtrace* buffer when we exit with C-M-c.
24074
24075 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24076
24077 * minibuffer.el: Add metadata method to completion tables.
24078 (completion-category-overrides): New defcustom.
24079 (completion-metadata, completion--field-metadata)
24080 (completion-metadata-get, completion--styles)
24081 (completion--cycle-threshold): New functions.
24082 (completion-try-completion, completion-all-completions):
24083 Add `metadata' argument to choose completion-styles.
24084 (completion--do-completion): Use metadata to choose cycling.
24085 (completion-all-sorted-completions): Use metadata for sorting.
24086 Remove :completion-cycle-penalty which is not needed any more.
24087 (completion--try-word-completion): Add `metadata' argument.
24088 (minibuffer-completion-help): Check metadata for annotation function
24089 and sorting.
24090 (completion-file-name-table): Return `category' metadata.
24091 (minibuffer-completing-file-name): Make obsolete.
24092 * simple.el (minibuffer-completing-symbol): Make obsolete.
24093 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24094 completion-try-completion.
24095
24096 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24097
24098 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24099
24100 2011-05-30 Leo Liu <sdl.web@gmail.com>
24101
24102 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24103 (rcirc-print): Decode all incoming messages (bug#8744).
24104 (rcirc-decode-coding-system): Allow value nil for automatic coding
24105 system detection.
24106
24107 2011-06-01 Glenn Morris <rgm@gnu.org>
24108
24109 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24110
24111 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24112
24113 * image.el (image-animate-max-time): Allow nil and t values.
24114 Default to nil.
24115 (create-animated-image): Doc fix.
24116 (image-animate-start): Remove second arg; just use
24117 image-animate-max-time.
24118 (image-animate-timeout): Doc fix. Args changed.
24119
24120 * image-mode.el (image-toggle-display-image): Ensure that the
24121 image spec passed to the animate timer is the same object as in
24122 the buffer's display property (Bug#6981).
24123 (image-transform-properties): Doc fix.
24124
24125 * image.el (image-animate-max-time): Default to nil.
24126
24127 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24128
24129 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24130 entire buffer list (Bug#8184).
24131
24132 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24133
24134 * image.el (imagemagick-types-inhibit)
24135 (imagemagick-register-types): Doc fix.
24136
24137 2011-05-29 Deniz Dogan <deniz@dogan.se>
24138
24139 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24140 default.
24141
24142 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24143
24144 * select.el: Don't perform clipboard-manager saving in hooks;
24145 leave the hooks empty.
24146
24147 2011-05-28 Leo Liu <sdl.web@gmail.com>
24148
24149 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24150 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24151 (occur-edit-mode): New major mode (Bug#8463).
24152 (occur-after-change-function): New function.
24153 (occur-engine): Give Occur tags a read-only property.
24154
24155 2011-05-28 Kevin Ryde <user42@zip.com.au>
24156
24157 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24158
24159 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24160
24161 * bindings.el (help-echo): Make the initial non-indicator dash
24162 empty on graphical terminals (Bug#7295).
24163
24164 * files.el (auto-mode-alist): Move config rule after the
24165 in-stripping one (Bug#8547).
24166
24167 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24168
24169 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24170 setting (Bug#8740).
24171
24172 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24173
24174 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24175 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24176 (Bug#8539).
24177
24178 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24179
24180 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24181
24182 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24183
24184 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24185 (hs-hide-block-at-point, hs-find-block-beginning)
24186 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24187 (Bug#8279).
24188
24189 2011-05-28 Glenn Morris <rgm@gnu.org>
24190
24191 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24192
24193 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24194
24195 * help-fns.el (describe-function-1): If the function is a derived
24196 major mode, print the parent mode.
24197
24198 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24199 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24200
24201 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24202
24203 * minibuffer.el (completion--capf-wrapper): Check applicability before
24204 returning non-nil for non-exclusive completion data.
24205 * progmodes/etags.el (tags-completion-at-point-function):
24206 * info-look.el (info-lookup-completions-at-point): Mark as
24207 non-exclusive.
24208 (info-complete): Adjust accordingly.
24209
24210 * info-look.el: Convert to lexical-binding and completion-at-point.
24211 (info-lookup-completions-at-point): New function.
24212 (info-complete): Use it and completion-in-region.
24213
24214 2011-05-28 Drew Adams <drew.adams@oracle.com>
24215
24216 * isearch.el: Let M-e start with point at the first mismatched char.
24217 (isearch-fail-pos): New function.
24218 (isearch-edit-string): Use it.
24219
24220 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24221
24222 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24223
24224 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24225
24226 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24227 traversal functions for avl-trees.
24228 (avl-tree--stack): New struct.
24229 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24230 (avl-tree-enter): Add optional `updatefun' arg.
24231 (avl-tree--do-enter): Add optional `updatefun' arg.
24232 Change return value.
24233 (avl-tree-delete): Add optional `test' and `nilflag' args.
24234 (avl-tree--do-delete): Add `test' and `nilflag' args.
24235 Change return value.
24236 (avl-tree-member): Add optional `nilflag'
24237 (avl-tree-member-p): New function.
24238 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24239 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24240 (avl-tree-stack-empty-p): New functions.
24241
24242 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24243 avl-tree--del-balance1 and make it work both ways.
24244 (avl-tree--del-balance2): Remove.
24245 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24246 make it work both ways.
24247 (avl-tree--enter-balance2): Remove.
24248 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24249 New macros.
24250 (avl-tree--mapc, avl-tree-map): Add direction argument.
24251
24252 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24253
24254 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24255
24256 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24257
24258 * select.el: Support clipboard managers with built-in function
24259 x-clipboard-manager-save, via delete-frame-functions and
24260 kill-emacs-hook.
24261 (xselect-convert-to-targets): Add MULTIPLE target to list.
24262 (xselect-convert-to-save-targets): New function.
24263
24264 2011-05-27 Kenichi Handa <handa@m17n.org>
24265
24266 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24267 let-binding rfc2047-encode-encoded-words to nil.
24268
24269 2011-05-27 Glenn Morris <rgm@gnu.org>
24270
24271 * mail/emacsbug.el: Don't require url-util.
24272
24273 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24274
24275 * files.el (set-auto-mode):
24276 Also respect mode: entries at the end of the file. (Bug#8586)
24277
24278 2011-05-26 Glenn Morris <rgm@gnu.org>
24279
24280 * files.el (hack-local-variables-prop-line, hack-local-variables):
24281 Downcase mode names, as seems to be traditional.
24282 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24283
24284 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24285 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24286
24287 2011-05-25 Julien Danjou <julien@danjou.info>
24288
24289 * textmodes/rst.el (rst-define-level-faces): Do not define face
24290 symbol if it is already defined.
24291
24292 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24293
24294 * play/5x5.el (5x5-new-game, 5x5-randomize):
24295 Reset 5x5-solver-output to nil when a new grid is cast.
24296 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24297 these debugging traces, as defmacro breaks the compiled code.
24298
24299 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24300
24301 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24302
24303 2011-05-24 Leo Liu <sdl.web@gmail.com>
24304
24305 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24306 (vc-bzr-sha1): Adapt.
24307
24308 * sha1.el: Remove. Function `sha1' is now builtin.
24309
24310 * bindings.el: Provide sha1 feature.
24311
24312 2011-05-24 Kenichi Handa <handa@m17n.org>
24313
24314 * mail/sendmail.el: Require `rfc2047'.
24315 (mail-insert-from-field): Do not perform RFC2047 encoding.
24316 (mail-encode-header): New function.
24317 (sendmail-send-it): Set buffer-file-coding-system of the work
24318 buffer to the return value of select-message-coding-system.
24319 Call mail-encode-header.
24320
24321 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24322
24323 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24324
24325 * mail/supercite.el (sc-default-cite-frame):
24326 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24327
24328 2011-05-24 Glenn Morris <rgm@gnu.org>
24329
24330 * progmodes/python.el (brm-menu): Declare.
24331
24332 * emulation/viper.el (viper-set-hooks): Declare.
24333
24334 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24335 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24336 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24337 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24338 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24339 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24340
24341 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24342
24343 Add an :exit-function for completion-at-point.
24344
24345 * minibuffer.el (completion--done): New fun.
24346 (completion--do-completion): Use it. New arg `expect-exact'.
24347 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24348 since completion--do-completion does it for us now.
24349 (minibuffer-force-complete): Use completion--done and
24350 completion--replace. Handle sole-completion case with more care.
24351 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24352 (completion-extra-properties): New var.
24353 (completion-annotate-function): Make obsolete.
24354 (minibuffer-completion-help): Adjust accordingly.
24355 Use completion-list-insert-choice-function.
24356 (completion-at-point, completion-help-at-point):
24357 Bind completion-extra-properties.
24358 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24359 * simple.el (completion-list-insert-choice-function): New var.
24360 (completion-setup-function): Preserve it.
24361 (choose-completion): Pay attention to it, shuffle the code a bit.
24362 (choose-completion-string): New arg `insert-function'.
24363
24364 * textmodes/bibtex.el: Convert to lexical binding.
24365 (bibtex-mode-map): Use completion-at-point.
24366 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24367 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24368 (bibtex-complete): Define as obsolete alias.
24369 (bibtex-complete-internal): Remove.
24370 (bibtex-format-entry): Remove unused sub-group in regexp.
24371 * shell.el (shell--command-completion-data)
24372 (shell-environment-variable-completion):
24373 * pcomplete.el (pcomplete-completions-at-point):
24374 * comint.el (comint--complete-file-name-data): Use :exit-function
24375 instead of completion-table-with-terminator so it also works for
24376 choose-completion.
24377
24378 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24379
24380 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24381
24382 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24383 (bug#8710).
24384
24385 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24386
24387 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24388
24389 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24390 customization variable and implement: If non-nil, auto-fill will
24391 be inhibited while on topic's header line.
24392
24393 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24394
24395 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24396 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24397 always have a solution in grid size = 5 cases.
24398 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24399 (5x5-solver-output, 5x5-log-buffer): New vars.
24400 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24401 Make these variables buffer local to achieve 5x5 multi-session-ness.
24402 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24403 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24404 (5x5-solve-suggest): New funs.
24405 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24406 randomize a grid so that we ensure that there is always a solution.
24407 (5x5-make-random-grid): Allow other movement than flipping.
24408
24409 2011-05-23 Kevin Ryde <user42@zip.com.au>
24410
24411 * emacs-lisp/advice.el (ad-read-advised-function):
24412 Use `function-called-at-point' as the default, if it has
24413 advice and passes PREDICATE.
24414
24415 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24416
24417 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24418 byte-compile-lambda if it's actually a lambda.
24419
24420 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24421 Fix function quoting. Use backquote better.
24422
24423 2011-05-22 Yuanle Song <sylecn@gmail.com>
24424
24425 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24426 matching (Bug#8516).
24427
24428 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24429
24430 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24431 different face (Bug#8178).
24432
24433 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24434
24435 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24436 defface (Bug#8144).
24437
24438 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24439
24440 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24441 funcall as well (bug#8712). Warn when performing those conversions.
24442 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24443
24444 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24445
24446 2011-05-22 Glenn Morris <rgm@gnu.org>
24447
24448 * files.el (hack-local-variables-prop-line): Small simplifications.
24449 (hack-local-variables, hack-local-variables-prop-line):
24450 If MODE-ONLY, return the mode, rather than just `t'.
24451
24452 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24453
24454 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24455
24456 2011-05-21 Glenn Morris <rgm@gnu.org>
24457
24458 * files.el (hack-local-variables-prop-line, hack-local-variables):
24459 If only interested in the mode, don't bother doing the other stuff.
24460
24461 * image-mode.el (image-after-revert-hook):
24462 Redraw all frames on which the image is visible. (Bug#8567)
24463
24464 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24465
24466 * wid-edit.el (widget-checklist-match-inline):
24467 Fix 2011-04-19 change. (Bug#8649)
24468
24469 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24470
24471 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24472 Also allow singlespace after single-letter capitals followed by a dot.
24473
24474 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24475 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24476
24477 2011-05-20 Nix <nix@esperi.org.uk>
24478
24479 * files.el (basic-save-buffer-2):
24480 Fix handling of break-hardlink-on-save with non-existent files.
24481
24482 2011-05-19 Deniz Dogan <deniz@dogan.se>
24483
24484 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24485 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24486
24487 2011-05-19 Glenn Morris <rgm@gnu.org>
24488
24489 * progmodes/f90.el (f90-type-def-re):
24490 Handle "type, bind(c)". (Bug#8691)
24491
24492 * emacs-lisp/autoload.el (batch-update-autoloads):
24493 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24494
24495 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24496
24497 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24498 property for the correct connection in case of multihops.
24499
24500 2011-05-18 Glenn Morris <rgm@gnu.org>
24501
24502 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24503 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24504
24505 Rationalize calendar handling of day and month abbrev-arrays.
24506 * calendar/calendar.el (calendar-customized-p): New function.
24507 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24508 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24509 Add :set function.
24510 (calendar-abbrev-length, calendar-day-abbrev-array)
24511 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24512 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24513 Elements may no longer be nil.
24514 (calendar-day-name, calendar-month-name):
24515 Update for changed nature of abbrev arrays.
24516 * calendar/diary-lib.el (diary-name-pattern):
24517 Update for changed nature of abbrev arrays.
24518 (diary-mark-entries-1): Update calendar-make-alist calls.
24519 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24520 * calendar/cal-html.el (cal-html-day-abbrev-array):
24521 Simply inherit from calendar-day-abbrev-array.
24522
24523 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24524
24525 * progmodes/grep.el (grep-mode): Disable default
24526 compilation-directory-matcher setting (bug#8684).
24527
24528 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24529
24530 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24531 instead of "head" and "tail". There were problems with SunOS 5.9,
24532 and it performs better.
24533
24534 2011-05-17 Glenn Morris <rgm@gnu.org>
24535
24536 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24537
24538 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24539 Replace obsolete function.
24540
24541 * shell.el (pcomplete-parse-arguments-function): Declare.
24542
24543 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24544 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24545 (appt-check): Doc fixes.
24546 (appt-disp-window-function, appt-delete-window-function):
24547 Remove needless special case in custom :type.
24548 (appt-display-count): Default to 0, not nil.
24549 (appt-check): Reset appt-display-count to 0, not nil.
24550
24551 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24552
24553 * progmodes/python.el (python-font-lock-keywords):
24554 Add the Python 3.X keyword "nonlocal" (bug#8639).
24555
24556 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24557
24558 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24559
24560 2011-05-16 Kevin Ryde <user42@zip.com.au>
24561
24562 * info-look.el (makefile-automake-mode): New setups, looking in
24563 automake manual, then makefile-mode.
24564 (makefile-mode): Remove automake manual, have it just in
24565 makefile-automake-mode since there's various things different or
24566 not relevant to plain make.
24567 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24568 believe a hypothetical automake-mode would go to makefile-mode,
24569 not the other way around.
24570
24571 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24572
24573 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24574 hunk-end tags (Bug#8672).
24575
24576 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24577 vc-annotate-show-diff-revision-at-line (Bug#8671).
24578
24579 2011-05-14 Glenn Morris <rgm@gnu.org>
24580
24581 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24582 in the middle of an existing one with multiple authors. (Bug#8645)
24583 (change-log-font-lock-keywords): Also handle multiple author lines
24584 with leading tabs. (Bug#8644)
24585
24586 * calendar/appt.el (appt-check): Rename some local variables.
24587 Some simplification/reordering.
24588
24589 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24590 (feedmail-sendmail-f-doesnt-sell-me-out)
24591 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24592 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24593 (feedmail-queue-runner-message-sender): Set :version.
24594 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24595 (bbdb-dwim-net-address, vm-mail): Declare.
24596 (feedmail-binmail-gnulinuxish-template):
24597 Rename from feedmail-binmail-linuxish-template.
24598 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24599 Use insert-buffer-substring.
24600
24601 2011-05-14 Bill Carpenter <bill@carpenter.org>
24602
24603 * mail/feedmail.el (feedmail-patch-level): Increase.
24604 (feedmail-debug): New custom group.
24605 (feedmail-confirm-outgoing-timeout)
24606 (feedmail-sendmail-f-doesnt-sell-me-out)
24607 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24608 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24609 (feedmail-sender-line, feedmail-from-line)
24610 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24611 (feedmail-spray-this-address)
24612 (feedmail-spray-address-fiddle-plex-list)
24613 (feedmail-queue-use-send-time-for-date)
24614 (feedmail-queue-use-send-time-for-message-id)
24615 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24616 (feedmail-buffer-eating-function):
24617 Doc fixes.
24618 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24619 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24620 (feedmail-message-action-scroll-down): New functions.
24621 (feedmail-queue-directory, feedmail-queue-draft-directory):
24622 Use expand-file-name.
24623 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24624 Remove C-v help entry.
24625 (feedmail-queue-buffer-file-name): New variable.
24626 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24627 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24628 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24629 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24630 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24631 (feedmail-message-action-toggle-spray)
24632 (feedmail-run-the-queue-no-prompts)
24633 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24634 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24635 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24636 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24637 (feedmail-envelope-deducer, feedmail-fiddle-from)
24638 (feedmail-fiddle-sender, feedmail-default-date-generator)
24639 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24640 (feedmail-fiddle-spray-address)
24641 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24642 (feedmail-fiddle-list-of-fiddle-plexes)
24643 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24644 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24645 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24646 Change default. Doc fix.
24647 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24648 (feedmail-binmail-linuxish-template): New constant.
24649 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24650 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24651 (feedmail-send-it): Add debug call.
24652 Use feedmail-queue-buffer-file-name, and
24653 feedmail-send-it-immediately-wrapper.
24654 (feedmail-message-action-send): Add debug call.
24655 Use feedmail-send-it-immediately-wrapper.
24656 (feedmail-queue-express-to-queue): Add debug call.
24657 Run feedmail-queue-express-hook.
24658 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24659 (feedmail-message-action-help-blat):
24660 Rename from feedmail-queue-send-edit-prompt-help-first.
24661 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24662 Check line-endings. Handle errors better.
24663 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24664 Doc fix. Add debug call.
24665 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24666 Use feedmail-queue-send-edit-prompt-inner.
24667 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24668 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24669 from feedmail-queue-send-edit-prompt.
24670 (feedmail-queue-send-edit-prompt-help)
24671 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24672 (feedmail-tidy-up-slug): Add debug call.
24673 Respect feedmail-queue-slug-suspect-regexp.
24674 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24675 (feedmail-dump-message-to-queue): Add debug call.
24676 Expand queue-directory.
24677 (feedmail-dump-message-to-queue): Change message slightly.
24678 Use feedmail-say-chatter.
24679 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24680 (feedmail-send-it-immediately-wrapper): New function.
24681 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24682 Insert empty string rather than newline. Handle full-frame case.
24683 Use catch/throw. Use feedmail-say-chatter.
24684 (feedmail-fiddle-from): Try mail-host-address.
24685 (feedmail-default-message-id-generator): Doc fix.
24686 Bind system-time-locale. Handle missing end.
24687 (feedmail-fiddle-x-mailer): Add debug call.
24688 Handle feedmail-x-mailer-line being nil.
24689 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24690 Add debug call. Use buffer-substring-no-properties.
24691 (feedmail-say-debug, feedmail-say-chatter): New functions.
24692 (feedmail-find-eoh): Give an explicit error.
24693
24694 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24695
24696 * net/newst-treeview.el (newsticker-treeview-face): Change default
24697 family from helvetica to sans.
24698 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24699 etc/images/newsticker.
24700
24701 * net/newst-reader.el (newsticker-feed-face): Change default
24702 family from helvetica to sans.
24703
24704 * net/newst-plainview.el (newsticker-new-item-face)
24705 (newsticker-old-item-face, newsticker-immortal-item-face)
24706 (newsticker-obsolete-item-face, newsticker-date-face)
24707 (newsticker-statistics-face): Change default family from
24708 helvetica to sans.
24709 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24710 etc/images/newsticker.
24711
24712 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24713 (newsticker--process-auto-mark-filter-match): Tell user about
24714 auto-marking.
24715
24716 2011-05-13 Didier Verna <didier@xemacs.org>
24717
24718 Common Lisp indentation improvements on defmethod and lambda-lists.
24719 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24720 TODO entries.
24721 (lisp-lambda-list-keyword-parameter-indentation)
24722 (lisp-lambda-list-keyword-parameter-alignment)
24723 (lisp-lambda-list-keyword-alignment): New customizable user options.
24724 (lisp-indent-defun-method): Improve docstring.
24725 (extended-loop-p): Fix comment.
24726 (lisp-indent-lambda-list-keywords-regexp): New variable.
24727 (lisp-indent-lambda-list): New function.
24728 (lisp-indent-259): Use it.
24729 (lisp-indent-defmethod): Support for more than one
24730 method qualifier and properly indent methods lambda-lists.
24731 (defgeneric): Provide a missing common-lisp-indent-function property.
24732
24733 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24734
24735 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24736 bounds for the empty string (bug#8667).
24737
24738 2011-05-13 Glenn Morris <rgm@gnu.org>
24739
24740 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24741
24742 * mail/sendmail.el (sendmail-program): Try executable-find first.
24743 (sendmail-send-it): `sendmail-program' cannot be unbound.
24744
24745 * calendar/appt.el (appt-make-list): Simplify.
24746 (appt-time-msg-list): Doc fix.
24747 (appt-check): Change mode-line message at the time of the appointment.
24748
24749 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24750
24751 * progmodes/ld-script.el (ld-script-keywords)
24752 (ld-script-builtins): Update keywords list.
24753
24754 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24755
24756 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24757
24758 * shell.el (shell-completion-vars): New function.
24759 (shell-mode):
24760 * simple.el (read-shell-command): Use it.
24761 (blink-matching-open): No need for " [...]" in minibuffer-message.
24762
24763 2011-05-12 Glenn Morris <rgm@gnu.org>
24764
24765 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24766 (appt-check): Simplify.
24767
24768 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24769
24770 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24771 literal "/dev/null".
24772
24773 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24774
24775 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24776 Fix typo.
24777
24778 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24779
24780 * progmodes/which-func.el (which-function):
24781 Use add-log-current-defun instead of add-log-current-defun-function,
24782 which might not be defined (Bug#8260).
24783
24784 2011-05-12 Glenn Morris <rgm@gnu.org>
24785
24786 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24787 Let byte-compile-initial-macro-environment always take precedence.
24788
24789 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24790
24791 * net/rcirc.el: Add support for SSL/TLS connections.
24792 (rcirc-server-alist): New field `encryption'.
24793 (rcirc): Check `encryption' settings.
24794 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24795 Merge make-local-variable into `set'.
24796 (rcirc--connection-open-p): New function.
24797 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24798 the process is not a network process (e.g. running gnutls-cli).
24799 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24800 Make rcirc-(en|de)code-coding-system local here.
24801 (rcirc-mode): Merge make-local-variable into `set'.
24802 (rcirc-parent-buffer): Make permanent buffer-local.
24803 (rcirc-multiline-minor-mode): Don't do it here.
24804 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24805 there's no server buffer.
24806
24807 2011-05-11 Glenn Morris <rgm@gnu.org>
24808
24809 * newcomment.el (comment-kill): Prefix "unused" local.
24810
24811 * term/w32console.el (get-screen-color): Declare.
24812
24813 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24814 Handle symbol elements of byte-compile-initial-macro-environment.
24815
24816 2011-05-10 Leo Liu <sdl.web@gmail.com>
24817
24818 * bookmark.el (bookmark-bmenu-mode-map):
24819 Bind bookmark-bmenu-search to `/'.
24820
24821 * mail/footnote.el: Convert to utf-8 encoding.
24822 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24823 (Footnote-unicode): New function.
24824 (footnote-style-alist): Add unicode style to the list.
24825 (footnote-style): Doc fix.
24826
24827 2011-05-10 Jim Meyering <meyering@redhat.com>
24828
24829 Fix doubled-word typos.
24830 * international/quail.el (quail-insert-kbd-layout): and and -> and
24831 * kermit.el: and and -> and
24832 * net/ldap.el (ldap-search-internal): to to -> to
24833 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24834 * progmodes/js.el (js-mode): and and -> and
24835 * textmodes/artist.el (artist-move-to-xy): at at -> at
24836 (artist-draw-region-trim-line-endings): if if -> if
24837 And Safetyc -> Safety.
24838 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24839
24840 2011-05-10 Glenn Morris <rgm@gnu.org>
24841 Stefan Monnier <monnier@iro.umontreal.ca>
24842
24843 * files.el (hack-one-local-variable-eval-safep):
24844 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24845
24846 2011-05-10 Glenn Morris <rgm@gnu.org>
24847
24848 * calendar/diary-lib.el (diary-list-entries-hook)
24849 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24850 (diary-nongregorian-marking-hook, diary-list-entries)
24851 (diary-include-other-diary-files, diary-mark-entries)
24852 (diary-mark-included-diary-files): Doc fixes.
24853
24854 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24855
24856 * misc.el: Require tabulated-list.el during compilation.
24857
24858 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24859
24860 * progmodes/compile.el (compilation-start):
24861 Run compilation-filter-hook for the async case too.
24862 (compilation-filter-hook): Doc fix.
24863
24864 2011-05-09 Deniz Dogan <deniz@dogan.se>
24865
24866 * wdired.el: Remove outdated installation comment. Fix usage
24867 comment.
24868
24869 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24870
24871 * misc.el: Implement new command `list-dynamic-libraries'.
24872 (list-dynamic-libraries--loaded-only-p): New variable.
24873 (list-dynamic-libraries--refresh): New function.
24874 (list-dynamic-libraries): New command.
24875
24876 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24877
24878 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24879 Fix the ant regexp to handle end-line and end-column info from jikes.
24880 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24881 higher priority to avoid clobbering by gnu.
24882
24883 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24884
24885 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24886 if the face has existing theme settings (Bug#8454).
24887
24888 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24889
24890 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24891 Only match variables declared via `my' or `our' (Bug#8261).
24892
24893 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24894 special file names `.' and `..' (Bug#8259).
24895
24896 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24897
24898 * progmodes/grep.el (grep-mode-font-lock-keywords):
24899 Remove buffer-changing entries.
24900 (grep-filter): New function.
24901 (grep-mode): Add it to compilation-filter-hook.
24902
24903 * progmodes/compile.el (compilation-filter-hook)
24904 (compilation-filter-start): New defvars.
24905 (compilation-filter): Call compilation-filter-hook prior to
24906 updating the process mark.
24907
24908 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24909
24910 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24911
24912 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24913
24914 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24915 mailclient-send-it even if window-system is nil. (Bug#8595)
24916
24917 * term/w32console.el (terminal-init-w32console):
24918 Call get-screen-color and use its output to set the frame
24919 background-mode. (Bug#8597)
24920
24921 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24922
24923 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24924 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24925 New functions.
24926 (defgeneric, eieio--defmethod): Use them.
24927 (eieio-defgeneric): Remove.
24928 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24929
24930 2011-05-07 Glenn Morris <rgm@gnu.org>
24931
24932 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24933 Use let rather than let*.
24934 (timeclock-find-discrep): Remove unused local.
24935
24936 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24937
24938 * calendar/appt.el (appt-time-msg-list): Doc fix.
24939
24940 2011-05-06 Noah Friedman <friedman@splode.com>
24941
24942 * apropos.el (apropos-print-doc): Only use
24943 emacs-lisp-docstring-fill-column when it is bound to an integer,
24944 per that variable's documentation.
24945
24946 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24947
24948 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24949 and warnings are not silently discarded (e.g. use -d instead of -P).
24950
24951 2011-05-06 Glenn Morris <rgm@gnu.org>
24952
24953 * calendar/appt.el (appt-message-warning-time): Doc fix.
24954 (appt-warning-time-regexp): New option.
24955 (appt-make-list): Respect appt-message-warning-time.
24956
24957 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24958 New options.
24959 (diary-add-to-list): Strip comments from the displayed string.
24960 (diary-mode): Set comment-start and comment-end.
24961
24962 * vc/diff-mode.el (smerge-refine-subst): Declare.
24963 (diff-refine-hunk): Don't require smerge-mode when compiling.
24964
24965 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24966
24967 * simple.el (list-processes): Return nil as the docstring says.
24968
24969 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24970
24971 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24972 to "".
24973 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24974 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24975 determining of binary transfer. (Bug#7383)
24976
24977 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24978
24979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24980 Fix port computation bug. (Bug#8618)
24981
24982 2011-05-05 Glenn Morris <rgm@gnu.org>
24983
24984 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24985
24986 * simple.el (shell-dynamic-complete-functions)
24987 (comint-dynamic-complete-functions): Declare.
24988
24989 * net/network-stream.el (gnutls-negotiate):
24990 * simple.el (tabulated-list-print): Fix declarations.
24991
24992 * progmodes/gud.el (syntax-symbol, syntax-point):
24993 Remove unnecessary and incorrect declarations.
24994
24995 * emacs-lisp/check-declare.el (check-declare-scan):
24996 Handle byte-compile-initial-macro-environment in bytecomp.el.
24997
24998 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24999
25000 Fix earlier half-done eieio-defmethod change (bug#8338).
25001 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25002 Streamline and change calling convention.
25003 (defmethod): Adjust accordingly and simplify.
25004 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25005 new eieio--defmethod.
25006 (slot-boundp): Minor CSE simplification.
25007
25008 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25009
25010 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25011 (glasses-make-readable): Use glasses-separate-capital-groups.
25012
25013 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25014
25015 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25016 (warning-series): Doc fix.
25017 (display-warning): Don't try to create the buffer if we just found it.
25018
25019 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25020
25021 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25022 (autoload-find-generated-file): New function.
25023 (generate-file-autoloads): Bind generated-autoload-file to
25024 buffer-file-name.
25025 (update-file-autoloads, update-directory-autoloads):
25026 Use autoload-find-generated-file. If called interactively, prompt for
25027 output file (Bug#7989).
25028 (batch-update-autoloads): Doc fix.
25029
25030 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25031
25032 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25033
25034 2011-05-04 Glenn Morris <rgm@gnu.org>
25035
25036 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25037 function, so it follows changes in calendar-date-style.
25038 (diary-fancy-date-matcher): New function.
25039 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25040 (diary-fancy-font-lock-fontify-region-function):
25041 Use diary-fancy-date-pattern as a function.
25042
25043 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25044 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25045
25046 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25047
25048 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25049 instead of positional arguments. Allow :keylist and :crlfiles
25050 arguments.
25051 (open-gnutls-stream): Call it.
25052
25053 * net/network-stream.el (network-stream-open-starttls): Adjust to
25054 call `gnutls-negotiate' with :process and :hostname arguments.
25055
25056 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25057
25058 * minibuffer.el (completion--message): New function.
25059 (completion--do-completion, minibuffer-complete)
25060 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25061 (completion--do-completion): Don't ignore completion-auto-help when in
25062 icomplete-mode.
25063
25064 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25065 internal encoding (e.g. tibetan zero is not whitespace).
25066 (global-whitespace-mode): Prefer save-current-buffer.
25067 (whitespace-trailing-regexp): Remove useless save-match-data.
25068 (whitespace-empty-at-bob-regexp): Minor simplification.
25069
25070 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25071
25072 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25073
25074 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25075
25076 * textmodes/ispell.el (ispell-add-per-file-word-list):
25077 Use `concat' to create string for insertion.
25078
25079 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25080
25081 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25082 Avoid open-line which runs post-self-insert-hook.
25083 (bibtex-fill-entry): Remove unused `end' var.
25084
25085 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25086
25087 * textmodes/ispell.el (ispell-add-per-file-word-list):
25088 Protect against `nil' value of `comment-start' (Bug#8579).
25089
25090 2011-05-03 Leo Liu <sdl.web@gmail.com>
25091
25092 * isearch.el (isearch-yank-pop): New command.
25093 (isearch-mode-map): Bind it to `M-y'.
25094 (isearch-forward): Mention it.
25095
25096 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25097
25098 * simple.el (minibuffer-complete-shell-command): Remove.
25099 (minibuffer-local-shell-command-map): Use completion-at-point.
25100 (read-shell-command): Setup completion vars here instead.
25101 (read-expression-map): Bind TAB to symbol completion.
25102
25103 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25104 error directly rather via storing it into `results'.
25105
25106 2011-05-02 Leo Liu <sdl.web@gmail.com>
25107
25108 * vc/diff.el: Fix description.
25109
25110 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25111
25112 * server.el (server-eval-at): New function.
25113
25114 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25115
25116 * net/network-stream.el (open-network-stream): Take a :nowait
25117 parameter and pass it on to `make-network-process'.
25118 (network-stream-open-plain): Ditto.
25119
25120 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25121
25122 * faces.el (face-spec-set-match-display): Don't match toolkit
25123 options on terminal frames.
25124
25125 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25126
25127 * progmodes/pascal.el: Use lexical binding.
25128 (pascal-mode-map): Remove author preferences.
25129
25130 * pcomplete.el (pcomplete-std-complete): Don't abuse
25131 completion-at-point.
25132
25133 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25134
25135 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25136 removing code that has been dead since 1991 or so.
25137
25138 * startup.el (command-line): When warning about "_emacs", use a
25139 delayed warning to allow the user to filter it out.
25140
25141 2011-04-28 Deniz Dogan <deniz@dogan.se>
25142
25143 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25144 user has not joined.
25145
25146 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25147
25148 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25149 aren't any completions at point.
25150
25151 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25152
25153 * subr.el (display-delayed-warnings): New function.
25154 (delayed-warnings-hook): New variable.
25155
25156 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25157
25158 * minibuffer.el (completion-at-point, completion-help-at-point):
25159 Don't presume that a given completion-at-point-function will always
25160 use the same calling convention.
25161
25162 * pcomplete.el (pcomplete-completions-at-point):
25163 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25164 pcomplete-seen is non-nil.
25165 (pcomplete-comint-setup): Also recognize the new comint/shell
25166 completion functions.
25167 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25168 pcomplete-seen is non-nil.
25169
25170 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25171
25172 * calendar/icalendar.el (diary-lib): Add require statement.
25173 (icalendar--create-uid): Read out a uid from a text-property on
25174 the first character in the entry. This allows for code to add its
25175 own uid to the entry.
25176 (icalendar--convert-float-to-ical): Add export of
25177 `diary-float'-entries save for those with the optional DAY
25178 argument.
25179
25180 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25181
25182 * subr.el (shell-quote-argument): Use alternate escaping strategy
25183 when we spot a variable reference in a string.
25184
25185 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25186
25187 * cus-start.el (all): Define customization for debug-on-event.
25188
25189 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25190
25191 * subr.el (shell-quote-argument): Escape correctly under Windows.
25192
25193 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25194
25195 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25196
25197 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25198
25199 * net/tramp.el (tramp-process-actions): Add POS argument.
25200 Delete region between POS and (pos).
25201
25202 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25203 Use `nil' position in `tramp-process-actions' call.
25204 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25205
25206 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25207 position in `tramp-process-actions' call.
25208
25209 * net/trampver.el: Update release number.
25210
25211 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25212
25213 * custom.el (defcustom): Obey lexical-binding.
25214
25215 Fix octave-inf completion problems reported by Alexander Klimov.
25216 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25217 Inherit from octave-mode-syntax-table.
25218 (inferior-octave-mode): Set info-lookup-mode.
25219 (inferior-octave-completion-at-point): New function.
25220 (inferior-octave-complete): Use it and completion-in-region.
25221 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25222 comint-filename-completion.
25223 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25224 symbol elements which shouldn't be word elements.
25225 (octave-font-lock-keywords, octave-beginning-of-defun)
25226 (octave-function-header-regexp): Adjust regexps accordingly.
25227 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25228
25229 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25230
25231 * net/gnutls.el (gnutls-errorp): Declare before first use.
25232
25233 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25234
25235 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25236 verify-error, and verify-hostname-error parameters. Check whether
25237 default trustfile exists before going to use it. Add missing
25238 argument to gnutls-message-maybe call. Return value.
25239 Reported by Claudio Bley <claudio.bley@gmail.com>.
25240 (open-gnutls-stream): Add usage example.
25241
25242 * net/network-stream.el (network-stream-open-starttls): Give host
25243 parameter to `gnutls-negotiate'.
25244 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25245 * subr.el (shell-quote-argument): Escape correctly under Windows.
25246
25247 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25248
25249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25250 Use correct match group (bug#8438).
25251
25252 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25253
25254 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25255 (package-menu--generate): New arg specifying packages to show.
25256 (package-menu-refresh, package-menu-execute, list-packages):
25257 Callers changed.
25258 (package-show-package-list): New function, replacing deleted
25259 package--list-packages (renamed because it is non-internal).
25260
25261 * finder.el (finder-list-matches): Use package-show-package-list
25262 instead of deleted package--list-packages.
25263
25264 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25265 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25266 (vc-annotate-mode-map): Bind it to RET.
25267
25268 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25269
25270 * progmodes/etags.el (next-file): Don't use set-buffer to change
25271 buffers (Bug#8478).
25272
25273 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25274
25275 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25276
25277 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25278 (apropos-accumulator): Doc fix.
25279 (apropos-function, apropos-macro, apropos-command)
25280 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25281 (apropos-plist): Add face property.
25282 (apropos-symbols-internal): Fix indentation.
25283 (apropos-print): Simplify help, and recognize apropos-multi-type.
25284 (apropos-print-doc): Use button-type-get to extract the button's
25285 face property. Fill docstring (Bug#8352).
25286
25287 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25288
25289 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25290
25291 * play/mpuz.el (mpuz-silent): Doc fix.
25292 (mpuz-mode-map): Use mapc.
25293 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25294 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25295 Fix typos in docstrings.
25296
25297 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25298 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25299
25300 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25301
25302 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25303
25304 * minibuffer.el (completion--do-completion): Avoid the "Next char
25305 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25306
25307 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25308 mouse-2 into unread-command-events, it is interpreted correctly.
25309
25310 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25311 (image-toggle-display): Doc fix.
25312
25313 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25314
25315 * textmodes/page.el (what-page): Use line-number-at-pos to
25316 calculate line number (Bug#6825).
25317
25318 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25319
25320 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25321 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25322 Pass argument NO-DEFAULT to `find-tag-interactive'.
25323
25324 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25325
25326 Lexical-binding cleanup.
25327
25328 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25329 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25330 * progmodes/ada-prj.el (ada-prj-initialize-values)
25331 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25332 (ada-prj-show-value):
25333 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25334 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25335 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25336 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25337 * progmodes/bug-reference.el (bug-reference-push-button):
25338 * progmodes/fortran.el (fortran-line-length):
25339 * progmodes/glasses.el (glasses-change):
25340 * progmodes/octave-mod.el (octave-fill-paragraph):
25341 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25342 (python-pdbtrack-grub-for-buffer, python-sentinel):
25343 * progmodes/sql.el (sql-save-connection):
25344 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25345 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25346 Mark unused parameters.
25347
25348 * progmodes/compile.el (compilation--flush-directory-cache)
25349 (compilation--flush-parse, compile-internal): Mark unused parameters.
25350 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25351 (compilation-next-error-function): Remove unused variable `timestamp'.
25352
25353 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25354 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25355
25356 * progmodes/dcl-mode.el (dcl-end-of-command):
25357 Remove unused variable `start'.
25358 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25359 (dcl-option-value-basic, dcl-option-value-offset)
25360 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25361 Mark unused parameters.
25362 (dcl-save-local-variable): Remove unused variable `val'.
25363 (mode): Declare.
25364
25365 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25366 Mark unused parameters.
25367 (delphi-ignore-changes): Move before first use.
25368 (delphi-charset-token-at): Remove unused variable `start'.
25369 (delphi-else-start): Remove unused variable `if-count'.
25370 (delphi-comment-block-start, delphi-comment-block-end):
25371 Remove unused variable `kind'.
25372 (delphi-indent-line): Remove unused variable `new-point'.
25373
25374 * progmodes/ebrowse.el (ebrowse-files-list)
25375 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25376 Mark unused parameters. Don't quote `lambda'.
25377 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25378 Don't quote `lambda'.
25379 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25380 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25381 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25382 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25383 Use `ignore-errors'.
25384 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25385 (ebrowse-view/find-file-and-search-pattern)
25386 (ebrowse-view/find-member-declaration/definition):
25387 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25388 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25389 Rename parameter PREFIX-ARG to PREFIX.
25390 (ebrowse-tags-read-name): Remove unused variables `start' and
25391 `member-info'.
25392 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25393 to `tags-file'.
25394
25395 * progmodes/etags.el (local-find-tag-hook): Declare.
25396 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25397 Mark unused parameters.
25398
25399 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25400 (executable-interpret): Mark unused parameter.
25401
25402 * progmodes/flymake.el (flymake-process-sentinel)
25403 (flymake-after-change-function)
25404 (flymake-create-temp-with-folder-structure)
25405 (flymake-get-include-dirs-dot): Mark unused parameters.
25406 (flymake-safe-delete-directory): Remove unused variable `err'.
25407
25408 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25409 (speedbar-timer-fn, speedbar-line-text)
25410 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25411 (speedbar-center-buffer-smartly): Declare functions.
25412 (gdb-find-watch-expression): Remove unused variable `array'.
25413 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25414 (gdb-starting): Mark unused parameters.
25415 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25416 (gdb-table-string): Remove unused variable `res'.
25417 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25418 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25419 (gdb-display-buffer): Remove unused variable `cur-size'.
25420
25421 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25422 allow lexical-binding compilation.
25423 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25424 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25425 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25426 Mark unused parameters.
25427 (gud-gdb-marker-filter): Remove unused variable `match'.
25428 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25429 lambda expressions and funcall them, instead of using `fset'.
25430
25431 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25432 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25433
25434 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25435 variable `header-beg'; use `let'.
25436
25437 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25438 `restart', `last-sexp' and `at-do'.
25439
25440 * progmodes/js.el (js--debug): Mark unused parameter.
25441 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25442 (js--splice-into-items): Remove unused variable `item'.
25443 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25444
25445 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25446 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25447 (makefile-complete): Remove unused variable `try'.
25448 (makefile-fill-paragraph, makefile-match-function-end):
25449 Mark unused parameters.
25450
25451 * progmodes/octave-inf.el (inferior-octave-complete):
25452 Remove unused variable `proc'.
25453 (inferior-octave-output-digest): Mark unused parameter.
25454
25455 * progmodes/perl-mode.el (perl-calculate-indent):
25456 Remove unused variable `err'.
25457
25458 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25459 (prolog-indent-line): Mark unused parameters.
25460 (prolog-indent-line): Remove unused variable `beg'.
25461
25462 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25463 (reporter-dont-compact-list): Declare.
25464
25465 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25466 Remove unused variable `char'.
25467 (sh-debug): Mark unused parameter.
25468 (sh-get-indent-info): Remove unused variable `start'.
25469 (sh-calculate-indent): Remove unused variable `var'.
25470
25471 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25472 (simula-electric-keyword): Remove unused variable `null'.
25473 (simula-search-backward, simula-search-forward): Remove unused
25474 variables `begin' and `end'.
25475
25476 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25477 Remove unused variable `pos'.
25478 (vera-electric-tab, vera-comment-uncomment-region):
25479 Mark unused parameters.
25480 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25481
25482 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25483
25484 * emacs-lisp/package.el (package--builtins, package-alist)
25485 (package-load-descriptor, package-built-in-p, package-activate)
25486 (define-package, package-installed-p)
25487 (package-compute-transaction, package-buffer-info)
25488 (package--push): Doc fix. Distinguish more clearly between
25489 version strings and version lists.
25490
25491 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25492
25493 Lexical-binding cleanup.
25494
25495 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25496 (5x5-make-mutate-best):
25497 * play/fortune.el (fortune-in-buffer):
25498 * play/gomoku.el (gomoku-init-display):
25499 * play/solitaire.el (solitaire, solitaire-do-check):
25500 * play/tetris.el (tetris-default-update-speed-function):
25501 Mark unused parameters.
25502
25503 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25504 (bubbles--shift): Remove unused variable `char-org'.
25505 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25506 (bubbles--show-images): Remove unused variable `char'.
25507
25508 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25509 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25510 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25511 (decipher-analyze-buffer): Use ?\s.
25512 (decipher-make-checkpoint): Remove unused variable `mapping'.
25513
25514 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25515
25516 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25517 Remove unused variable `result'; use `let'.
25518
25519 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25520 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25521 (gametree-children-shown-p, gametree-compute-reduced-score):
25522 Use `ignore-errors'.
25523
25524 * play/handwrite.el (ps-lpr-switches): Declare.
25525 (handwrite): Remove unused variables `pmin' and `lastp'.
25526
25527 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25528
25529 * play/landmark.el (landmark-init-display)
25530 (landmark-update-naught-weights): Mark unused parameters.
25531 (landmark-y): Remove unused variable `noise'. Simplify.
25532 (landmark-human-plays): Remove unused variable `score'.
25533
25534 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25535 (mpuz-try-proposal): Remove unused variable `game'.
25536
25537 * play/zone.el (life-patterns): Declare.
25538
25539 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25540
25541 * vc/vc.el (ediff-vc-internal): Declare function.
25542
25543 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25544
25545 * shell.el: Use lexical-binding and std completion UI.
25546 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25547 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25548 comint-preoutput-filter-functions rather than on
25549 comint-output-filter-functions.
25550 (shell-command-completion, shell--command-completion-data)
25551 (shell-filename-completion, shell-environment-variable-completion)
25552 (shell-c-a-p-replace-by-expanded-directory): New functions.
25553 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25554 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25555 (shell-dynamic-complete-environment-variable): Use them.
25556 (shell-dynamic-complete-as-environment-variable)
25557 (shell-dynamic-complete-as-command): Remove.
25558 (shell-match-partial-variable): Match past point.
25559 * comint.el: Clean up use of completion-at-point-functions.
25560 (comint-completion-at-point): New function.
25561 (comint-mode): Use it completion-at-point-functions.
25562 (comint-dynamic-complete): Make it obsolete.
25563 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25564 (comint-c-a-p-replace-by-expanded-history): New function.
25565 (comint-dynamic-complete-functions)
25566 (comint-replace-by-expanded-history): Use it.
25567 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25568 termination strings. Try harder to avoid second try-completion.
25569 (completion-in-region-mode-map): Disable bindings that don't work yet.
25570
25571 * comint.el: Use lexical-binding. Require CL.
25572 (comint-dynamic-complete-functions): Use comint-filename-completion.
25573 (comint-completion-addsuffix): Tweak custom type.
25574 (comint-filename-completion, comint--common-suffix)
25575 (comint--common-quoted-suffix, comint--table-subvert)
25576 (comint--complete-file-name-data): New functions.
25577 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25578 (comint-dynamic-list-filename-completions): Use them.
25579 (comint-dynamic-simple-complete): Make obsolete.
25580
25581 * minibuffer.el (completion-in-region-mode):
25582 Keep completion-in-region-mode--predicate global.
25583 (completion-in-region--postch):
25584 Assume completion-in-region-mode--predicate is not null.
25585
25586 * progmodes/flymake.el (flymake-start-syntax-check-process):
25587 Obey `dir'. Simplify.
25588
25589 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25590 we're in VC after all.
25591
25592 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25593
25594 * vc/vc.el (vc-diff-build-argument-list-internal)
25595 (vc-version-ediff, vc-ediff): New commands.
25596 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25597
25598 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25599
25600 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25601 add sanity check.
25602
25603 * obsolete/erc-hecomplete.el: Make obsolete.
25604 * obsolete/: Standardize obsolescence info in the header.
25605
25606 2011-04-20 Glenn Morris <rgm@gnu.org>
25607
25608 * calendar/solar.el (solar-horizontal-coordinates):
25609 Use the longitude argument rather than `calendar-longitude'.
25610 (solar-date-next-longitude): Remove unused locals.
25611
25612 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25613
25614 * whitespace.el: New version 13.2.1.
25615
25616 2011-04-20 felix <EmacsWiki> (tiny change)
25617
25618 * whitespace.el (global-whitespace-mode): Keep highlight when
25619 switching between major modes on a file.
25620
25621 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25622
25623 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25624 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25625 multi-line comments as well.
25626
25627 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25628
25629 Lexical-binding cleanup.
25630
25631 * arc-mode.el (archive-mode-revert):
25632 * cmuscheme.el (scheme-interactively-start-process):
25633 * custom.el (custom-initialize-delay):
25634 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25635 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25636 * emacs-lock.el (emacs-lock-clear-sentinel):
25637 * ezimage.el (defezimage):
25638 * follow.el (follow-avoid-tail-recenter):
25639 * fringe.el (set-fringe-mode-1):
25640 * generic-x.el (bat-generic-mode-compile):
25641 * help-mode.el (help-info-variable, help-do-xref)
25642 (help-mode-revert-buffer):
25643 * help.el (view-emacs-todo):
25644 * iswitchb.el (iswitchb-completion-help):
25645 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25646 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25647 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25648 * locate.el (locate-update):
25649 * longlines.el (longlines-encode-region)
25650 (longlines-after-change-function):
25651 * outline.el (outline-isearch-open-invisible):
25652 * ps-def.el (declare-function, charset-dimension, char-width)
25653 (encode-char):
25654 * ps-mule.el (ps-mule-plot-string):
25655 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25656 (recentf-edit-list-select, recentf-edit-list-validate)
25657 (recentf-open-files-action):
25658 * rect.el (delete-whitespace-rectangle-line)
25659 (rectangle-number-line-callback):
25660 * register.el (window-configuration-to-register)
25661 (frame-configuration-to-register):
25662 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25663 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25664 (xselect-convert-to-targets, xselect-convert-to-delete)
25665 (xselect-convert-to-filename, xselect-convert-to-charpos)
25666 (xselect-convert-to-lineno, xselect-convert-to-colno)
25667 (xselect-convert-to-os, xselect-convert-to-host)
25668 (xselect-convert-to-user, xselect-convert-to-class)
25669 (xselect-convert-to-name, xselect-convert-to-integer)
25670 (xselect-convert-to-atom, xselect-convert-to-identity):
25671 * subr.el (declare, ignore, process-kill-without-query)
25672 (text-clone-maintain):
25673 * terminal.el (te-get-char, te-tic-sentinel):
25674 * tool-bar.el (tool-bar-make-keymap):
25675 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25676 * type-break.el (type-break-mode, type-break-noninteractive-query):
25677 * view.el (View-back-to-mark):
25678 * wid-browse.el (widget-browse-action, widget-browse-widget)
25679 (widget-browse-widgets, widget-browse-sexp):
25680 * widget.el (define-widget-keywords):
25681 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25682 Mark unused parameters.
25683
25684 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25685 (align-areas): Remove unused variable `look'.
25686 (align-region): Remove unused variables `real-end' and `pos-list'.
25687
25688 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25689
25690 * bindings.el (mode-line-modified, mode-line-remote):
25691 Mark unused parameters.
25692 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25693
25694 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25695 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25696
25697 * comint.el (comint-history-isearch-pop-state)
25698 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25699 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25700 (comint-substitute-in-file-name): Doc fix.
25701
25702 * completion.el (cmpl-statistics-block): Mark unused parameter.
25703 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25704 (save-completions-to-file, load-completions-from-file):
25705 Remove unused local variable `e'.
25706
25707 * composite.el (compose-chars): Remove unused variable `len'.
25708 (lgstring-insert-glyph): Remove unused variable `g'.
25709 (compose-glyph-string): Remove unused variables `ascent',
25710 `descent', `lbearing' and `rbearing'.
25711 (compose-glyph-string-relative): Remove unused variables
25712 `lbearing', `rbearing' and `wadjust'.
25713 (compose-gstring-for-graphic): Remove unused variables `header',
25714 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25715 (compose-gstring-for-terminal): Remove unused variables `header'
25716 and `nchars'. Use `let', not `let*'.
25717
25718 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25719 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25720 (Custom-buffer-done, custom-buffer-create-internal)
25721 (custom-browse-visibility-action, custom-browse-group-tag-action)
25722 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25723 (widget-magic-mouse-down-action, custom-toggle-parent)
25724 (custom-add-parent-links, custom-toggle-hide-variable)
25725 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25726 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25727 (custom-face-menu-create, custom-variable-menu-create, get)
25728 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25729 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25730 (customize-apropos): Remove unused variable `tests'.
25731 (custom-group-value-create): Remove unused variable `hidden-p'.
25732 (sort-fold-case): Declare.
25733
25734 * cus-theme.el (custom-reset-standard-faces-list)
25735 (custom-reset-standard-variables-list): Declare.
25736 (customize-create-theme, custom-theme-revert, custom-theme-write)
25737 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25738 Mark unused parameters.
25739
25740 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25741
25742 * delim-col.el (delimit-columns-max): Move defvar before first use.
25743
25744 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25745 (describe-char): Don't quote `lambda'. Mark unused parameter.
25746
25747 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25748 (auto-insert): Declare.
25749 (desktop-restore-file-buffer): Rename desktop-* parameters;
25750 mark unused ones.
25751 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25752 (desktop-buffer): Rename desktop-* parameters.
25753
25754 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25755 (dframe-reposition-frame-xemacs, dframe-help-echo)
25756 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25757 Mark unused parameters.
25758
25759 * dired-aux.el (backup-extract-version-start, overwrite-query)
25760 (overwrite-backup-query, rename-regexp-query)
25761 (rename-non-directory-query): Declare.
25762 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25763 (dired-add-entry): Remove unused variable `orig-file-name'.
25764 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25765 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25766 `dired-copy-preserve-time' directly.
25767 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25768 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25769
25770 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25771 (dired-virtual-revert, dired-make-relative-symlink):
25772 Mark unused parameters.
25773 (manual-program): Declare.
25774 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25775 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25776 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25777
25778 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25779
25780 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25781
25782 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25783 Declare.
25784
25785 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25786
25787 * electric.el (Electric-command-loop): Rename parameter
25788 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25789
25790 * expand.el (expand-in-literal): Remove unused variable `here'.
25791
25792 * facemenu.el (facemenu-add-new-color):
25793 Remove unused variable `docstring'.
25794
25795 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25796 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25797 (face-attr-construct): Mark unused parameter. Doc fix.
25798 (read-color): Remove unused variable `hex-string'.
25799
25800 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25801 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25802 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25803 (display-buffer-other-frame): Remove unused variable `old-window'.
25804 (kill-buffer-hook): Declare.
25805 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25806 Mark unused parameters.
25807 (after-find-file): Pass 1 to `auto-save-mode', not t.
25808
25809 * files-x.el (auto-insert): Declare.
25810 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25811
25812 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25813 variable `buf'. Mark unused parameter.
25814 (find-lisp-insert-directory): Mark unused parameter.
25815
25816 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25817 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25818 (format-common-tail): Remove, unused.
25819 (format-deannotate-region): Remove unused variable `loc'.
25820 (format-annotate-region): Remove unused variable `p'.
25821 (format-annotate-single-property-change): Remove unused variables
25822 `default' and `tail'.
25823
25824 * forms.el (read-file-filter): Declare.
25825 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25826
25827 * frame.el (frame-creation-function-alist): Mark unused parameter.
25828 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25829
25830 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25831 Remove unused parameters.
25832 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25833 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25834
25835 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25836 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25837 (hfy-prepare-tag-map): Mark unused parameters.
25838 (htmlfontify-buffer): Use `called-interactively-p'.
25839
25840 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25841 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25842 (ibuffer-do-occur): Mark unused parameters.
25843 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25844 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25845
25846 * ibuffer.el: Don't quote `lambda'.
25847 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25848 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25849 Mark unused parameters.
25850
25851 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25852 (ido-completing-read): Mark unused parameters.
25853 (ido-copy-current-word): Mark unused parameters;
25854 remove unused variable `name'.
25855 (ido-sort-merged-list): Remove unused parameter `dirs'.
25856
25857 * ielm.el (ielm-input-sender): Mark unused parameter.
25858 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25859 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25860 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25861 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25862 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25863
25864 * image-dired.el (image-dired-display-thumbs): Remove unused
25865 variables `curr-file' and `count'.
25866 (image-dired-remove-tag): Remove unused variable `start'.
25867 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25868 variable `curr-file'
25869 (image-dired-rotate-original): Remove unused variable `temp-file'.
25870 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25871 Remove unused variable `file'.
25872 (image-dired-gallery-generate): Remove unused variable `curr'.
25873 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25874
25875 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25876
25877 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25878
25879 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25880
25881 * isearch.el (minibuffer-history-symbol): Declare.
25882 (isearch-edit-string): Remove unused variable `err'.
25883 (isearch-message-prefix, isearch-message-suffix):
25884 Mark unused parameters.
25885
25886 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25887
25888 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25889
25890 * makesum.el (double-column): Remove unused variable `cnt'.
25891
25892 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25893 (ido-ignore-item-temp-list): Declare.
25894
25895 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25896 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25897 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25898 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25899 `mouse-col-delta'.
25900
25901 * mouse-sel.el (mouse-extend-internal):
25902 Remove unused variable `orig-window-frame'.
25903
25904 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25905 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25906 Move declarations before first use.
25907 (pcomplete-opt): Mark unused parameters; doc fix.
25908
25909 * proced.el (proced-revert): Mark unused parameter.
25910 (proced-send-signal): Remove unused variable `err'.
25911
25912 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25913 Rename parameter PREFIX-ARG to ARG.
25914 (ps-basic-plot-string, ps-basic-plot-whitespace):
25915 Mark unused parameters.
25916
25917 * replace.el (replace-count): Define.
25918 (occur-revert-function): Mark unused parameters.
25919 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25920 (isearch-case-fold-search, isearch-string): Declare.
25921 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25922 bind `case-fold-search'. Remove unused variables `beg' and `end',
25923 and simplify.
25924 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25925 COUNT and bind `replace-count'.
25926 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25927 to COUNT.
25928
25929 * savehist.el (print-readably, print-string-length): Declare.
25930
25931 * shadowfile.el (shadow-expand-cluster-in-file-name):
25932 Remove unused variable `cluster'.
25933 (shadow-copy-file): Remove unused variable `i'.
25934 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25935 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25936 (shadow-define-literal-group, shadow-define-regexp-group)
25937 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25938
25939 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25940 (shell): Use `called-interactively-p'.
25941 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25942
25943 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25944 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25945 (delete-backward-char): Remove unused variable `ocol'.
25946 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25947 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25948 (event-apply-hyper-modifier, event-apply-shift-modifier)
25949 (event-apply-control-modifier, event-apply-meta-modifier):
25950 Mark unused parameters.
25951 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25952 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25953
25954 * speedbar.el (speedbar-ignored-directory-expressions)
25955 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25956 (speedbar-find-file, speedbar-dir-follow)
25957 (speedbar-directory-buttons-follow, speedbar-tag-find)
25958 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25959 (speedbar-buffers-line-directory, speedbar-buffer-click):
25960 Mark unused parameters.
25961 (speedbar-tag-file): Remove unused variable `mode'.
25962 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25963
25964 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25965
25966 * talk.el (talk): Remove unused variable `display'.
25967
25968 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25969 (tar-write-region-annotate): Mark unused parameter.
25970
25971 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25972 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25973 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25974 warning by another.
25975
25976 * time-stamp.el (time-stamp-string-preprocess):
25977 Remove unused variable `require-padding'.
25978
25979 * tree-widget.el (widget-glyph-enable): Declare.
25980 (tree-widget-action): Mark unused parameter.
25981
25982 * w32-fns.el (x-get-selection): Mark unused parameter.
25983 (autoload-make-program, generated-autoload-file): Declare.
25984
25985 * wdired.el (wdired-revert): Mark unused parameters.
25986 (wdired-xcase-word): Remove unused variable `err'.
25987
25988 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25989 (whitespace-help-scroll): Remove unused variable `data-help'.
25990
25991 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25992 (widget-image-insert, widget-after-change, default)
25993 (widget-default-format-handler, widget-default-notify)
25994 (widget-default-prompt-value, widget-info-link-action)
25995 (widget-url-link-action, widget-function-link-action)
25996 (widget-variable-link-action, widget-file-link-action)
25997 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25998 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25999 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26000 (widget-insert-button-action, widget-delete-button-action, visibility)
26001 (widget-documentation-link-action, widget-documentation-string-action)
26002 (widget-const-prompt-value, widget-regexp-match, symbol)
26003 (widget-coding-system-prompt-value)
26004 (widget-key-sequence-value-to-external, sexp)
26005 (widget-sexp-value-to-internal, character, vector, cons)
26006 (widget-choice-prompt-value, widget-boolean-prompt-value)
26007 (widget-color--choose-action): Mark unused parameters.
26008 (widget-item-match-inline, widget-choice-match-inline)
26009 (widget-checklist-match, widget-checklist-match-inline)
26010 (widget-group-match): Rename parameter VALUES to VALS.
26011 (widget-field-value-set): Remove unused variable `size'.
26012 (widget-color-action): Remove unused variables `value' and `start'.
26013
26014 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26015 variable `dir'. Doc fix.
26016 (windmove-find-other-window): Don't pass it.
26017
26018 * window.el (count-windows): Mark unused parameter.
26019 (bw-adjust-window): Remove unused variable `err'.
26020
26021 * woman.el (woman-file-name): Remove unused variable `default'.
26022 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26023 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26024 (global-font-lock-mode): Declare.
26025 (woman-decode-region): Mark unused parameter.
26026 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26027
26028 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26029 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26030 (x-dnd-handle-moz-url): Remove unused variable `title'.
26031 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26032
26033 * xml.el (xml-parse-tag, xml-parse-attlist):
26034 Remove unused variable `pos'.
26035
26036 2011-04-19 Glenn Morris <rgm@gnu.org>
26037
26038 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26039 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26040 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26041 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26042 * calendar/cal-html.el (cal-html-insert-minical):
26043 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26044 (calendar-mark-date-pattern):
26045 Prefix "unused" locals.
26046
26047 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26048 optional argument `style'.
26049
26050 * calendar/appt.el (appt-make-list):
26051 * calendar/cal-china.el (calendar-chinese-date-string):
26052 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26053 (diary-hebrew-yahrzeit):
26054 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26055 * calendar/calendar.el (calendar-generate-window):
26056 * calendar/time-date.el (time-to-days):
26057 Remove unused local variables.
26058
26059 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26060
26061 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26062 glyphless-char-display table.
26063 (tabulated-list-glyphless-char-display): New var.
26064
26065 2011-04-18 Sam Steingold <sds@gnu.org>
26066
26067 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26068 to acknowledgments.
26069
26070 2011-04-17 Glenn Morris <rgm@gnu.org>
26071
26072 * calendar/diary-lib.el (diary-sexp-entry):
26073 * calendar/holidays.el (holiday-sexp):
26074 Set debug-on-error rather than the removed stack-trace-on-error.
26075
26076 2011-04-16 Glenn Morris <rgm@gnu.org>
26077
26078 * progmodes/f90.el: Use lexical-binding.
26079 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26080
26081 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26082
26083 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26084 (mail-mode): Setup mailalias completion here instead.
26085 * mail/mailalias.el: Use lexical-binding.
26086 (pattern, mailalias-done): Declare dynamic.
26087 (mail-completion-at-point-function): New function, from mail-complete.
26088 (mail-complete): Use it.
26089 (mail-completion-expand): New function.
26090 (mail-get-names): Use it.
26091 (mail-directory, mail-directory-process, mail-directory-stream):
26092 Don't use `pattern' for lexically bound arg.
26093
26094 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26095
26096 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26097 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26098 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26099
26100 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26101 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26102 (byte-interactive-p): Define them again, for use when inlining
26103 old code.
26104
26105 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26106
26107 * loadup.el: Use `string-to-number', not `string-to-int'.
26108
26109 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26110
26111 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26112 gud-gdb-complete-command.
26113 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26114 (gud-gdb-completion-at-point): New function.
26115 (gud-gdb-completions): Remove.
26116
26117 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26118
26119 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26120 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26121 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26122 whether `executable-find' is bound.
26123
26124 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26125
26126 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26127
26128 * minibuffer.el (completion-in-region-mode-predicate)
26129 (completion-in-region-mode--predicate): New vars.
26130 (completion-in-region, completion-in-region--postch)
26131 (completion-in-region-mode): Use them.
26132 (completion--capf-wrapper): Also return the hook function.
26133 (completion-at-point, completion-help-at-point):
26134 Adjust and provide a predicate.
26135
26136 Preserve arg names for advice of subr and lexical functions (bug#8457).
26137 * help-fns.el (help-function-arglist): Consolidate the subr and
26138 new-byte-code cases. Add argument `preserve-names' to extract names
26139 from the docstring when needed.
26140 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26141 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26142 (ad-arglist): Use help-function-arglist's new arg.
26143 (ad-definition-type): Use cond.
26144
26145 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26146
26147 * autorevert.el (auto-revert-handler):
26148 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26149 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26150 Don't quote lambda.
26151
26152 * image-mode.el (image-transform-set-scale):
26153 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26154
26155 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26156
26157 * net/network-stream.el (network-stream-open-starttls): Only do
26158 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26159 Upgrades via gnutls-cli are too slow to be done opportunistically.
26160
26161 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26162
26163 * dframe.el (dframe-current-frame): Remove spurious quote.
26164
26165 2011-04-12 Glenn Morris <rgm@gnu.org>
26166
26167 * calendar/cal-tex.el (cal-tex-end-document):
26168 Try to automatically use latin1 input if needed.
26169
26170 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26171 Don't try to cons a mark onto an empty element.
26172
26173 2011-04-11 Leo Liu <sdl.web@gmail.com>
26174
26175 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26176 buffers.
26177 (ido-kill-buffer-at-head): Support killing virtual buffers.
26178
26179 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26180
26181 * minibuffer.el (completion-show-inline-help): New var.
26182 (completion--do-completion, minibuffer-complete)
26183 (minibuffer-force-complete, minibuffer-complete-word):
26184 Inhibit minibuffer messages if completion-show-inline-help is nil.
26185
26186 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26187 to avoid interference from inline help (Bug#5849).
26188
26189 2011-04-10 Leo Liu <sdl.web@gmail.com>
26190
26191 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26192 Fix typo.
26193
26194 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26195
26196 * image-mode.el (image-toggle-display-image): Signal an error if
26197 not in Image mode.
26198 (image-transform-mode, image-transform-resize)
26199 (image-transform-set-rotation): Doc fix.
26200 (image-transform-set-resize): Delete.
26201 (image-transform-set-scale, image-transform-fit-to-height)
26202 (image-transform-fit-to-width): Handle image-toggle-display-image
26203 and image-transform-resize directly.
26204
26205 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26206
26207 * doc-view.el (doc-view-fit-width-to-window)
26208 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26209 New functions for fitting the shown image to the Emacs window size.
26210 (doc-view-mode-map): Add bindings for the new functions.
26211
26212 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26213
26214 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26215 Fix typo in docstring.
26216
26217 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26218
26219 * files.el (file-size-human-readable): Produce one digit after
26220 decimal, like "ls -lh" does.
26221
26222 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26223 the file size representation.
26224
26225 * simple.el (list-processes): If async subprocesses are not
26226 available, error out with a clear error message.
26227
26228 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26229
26230 * help.el (help-form-show): New function, to be called from C.
26231 Put help-form output in a buffer named differently than *Help*.
26232
26233 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26234
26235 * files.el (file-size-human-readable): New function.
26236
26237 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26238 computing the representation inline. Don't require `cl'.
26239
26240 2011-04-08 Glenn Morris <rgm@gnu.org>
26241
26242 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26243
26244 * net/browse-url.el (browse-url-firefox):
26245 Test system-type, not system-configuration.
26246
26247 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26248 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26249 Use log-edit-empty-buffer-p. (Bug#7598)
26250
26251 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26252 (rlogin-mode-map): Initialize in the defvar.
26253 (rlogin): Use ignore-errors.
26254
26255 * replace.el (occur-mode-map): Some fixes for menu items.
26256
26257 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26258
26259 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26260
26261 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26262
26263 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26264 issuing unused warnings.
26265
26266 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26267 macro directly.
26268
26269 * simple.el: Lisp reimplement of list-processes. Based on an
26270 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26271 (process-menu-mode): New major mode.
26272 (list-processes--refresh, list-processes):
26273 (process-menu-visit-buffer): New functions.
26274
26275 * files.el (save-buffers-kill-emacs): Don't assume any return
26276 value of list-processes, which is undocumented anyway.
26277
26278 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26279
26280 * emacs-lisp/tabulated-list.el: New file.
26281
26282 * emacs-lisp/package.el: Use Tabulated List mode.
26283 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26284 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26285 table format using Tabulated List mode variables.
26286 (package--push): New macro, replacing package-list-maybe-add.
26287 (package-menu--generate): Use package--push. Renamed from
26288 package--generate-package-list.
26289 (package-menu-refresh, list-packages): Use it.
26290 (package-menu--print-info): Rename from package-print-package.
26291 Return insertion data instead of inserting it directly.
26292 (package-menu-describe-package, package-menu-execute):
26293 Use tabulated-list-get-id.
26294 (package-menu-mark-delete, package-menu-mark-install)
26295 (package-menu-mark-unmark, package-menu-backup-unmark)
26296 (package-menu-mark-obsolete-for-deletion):
26297 Use tabulated-list-put-tag.
26298 (package--list-packages, package-menu-revert)
26299 (package-menu-get-package, package-menu-get-version)
26300 (package-menu-sort-by-column): Functions deleted.
26301 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26302 (package-menu--status-predicate, package-menu--version-predicate)
26303 (package-menu--name-predicate)
26304 (package-menu--description-predicate): Handle arguments in the
26305 Tabulated List format.
26306 (package-list-packages-no-fetch): Call list-packages.
26307
26308 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26309
26310 * files.el (after-find-file-from-revert-buffer): Remove variable.
26311 (after-find-file): Don't bind it.
26312 (revert-buffer-in-progress-p): New variable.
26313 (revert-buffer): Bind it.
26314 Pass nil for `after-find-file-from-revert-buffer'.
26315
26316 * saveplace.el (save-place-find-file-hook): Use new variable
26317 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26318
26319 2011-04-06 Glenn Morris <rgm@gnu.org>
26320
26321 * Makefile.in (AUTOGEN_VCS): New variable.
26322 (autoloads): Use $AUTOGEN_VCS.
26323
26324 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26325 * calendar/calendar.el (calendar-mode-map):
26326 Check for toolkit scroll bars. (Bug#8305)
26327
26328 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26329
26330 * minibuffer.el (completion-in-region--postch)
26331 (completion-in-region-mode): Remove unnecessary messages.
26332
26333 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26334
26335 * font-lock.el (font-lock-refresh-defaults):
26336 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26337 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26338
26339 * info.el (Info-directory-list, Info-read-node-name-2)
26340 (Info-split-parameter-string): Doc fixes.
26341 (Info-virtual-nodes): Reflow docstring.
26342 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26343 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26344 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26345 Fix typos in docstrings.
26346 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26347 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26348 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26349 (Info-restore-desktop-buffer): Mark unused parameters.
26350 (Info-directory-find-file, Info-directory-find-node)
26351 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26352 (Info-virtual-index-find-node, Info-apropos-find-file)
26353 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26354 Mark unused parameters; fix typos in docstrings.
26355 (Info-virtual-index): Remove unused local variable `nodename'.
26356
26357 2011-04-05 Deniz Dogan <deniz@dogan.se>
26358
26359 * net/rcirc.el: Update my e-mail address.
26360 (rcirc-mode-map): Remove M-o binding.
26361
26362 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26363
26364 * startup.el (command-line): Save the cursor's theme-face
26365 directly, instead of using face-override-spec.
26366
26367 * custom.el (load-theme): Minor optimization in assigning faces.
26368
26369 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26370
26371 * help-fns.el (describe-variable): Complete all variables having
26372 documentation, including keywords.
26373 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26374
26375 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26376
26377 Convert to lexical-binding.
26378
26379 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26380 (bs--get-marked-string, bs--get-modified-string)
26381 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26382 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26383 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26384
26385 * ehelp.el (electric-help-execute-extended)
26386 (electric-help-ctrl-x-prefix):
26387 * hexl.el (hexl-revert-buffer-function):
26388 * linum.el (linum-after-change, linum-after-scroll):
26389 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26390
26391 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26392
26393 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26394
26395 * epa-dired.el:
26396 * epa-mail.el:
26397 * epa-hook.el:
26398 * epa-file.el:
26399 * epa.el:
26400 * epg.el: Use lexical binding.
26401
26402 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26403
26404 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26405
26406 * textmodes/flyspell.el (flyspell-word): Recognize default
26407 dictionary case for flyspell-mark-duplications-exceptions.
26408 Use regexp matching for languages.
26409 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26410 default dictionary (Bug#7926).
26411
26412 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26413
26414 * emacs-lisp/package.el (package--with-work-buffer):
26415 Recognize https URLs.
26416
26417 * net/network-stream.el: Move from gnus/proto-stream.el.
26418 Change prefix to network-stream throughout.
26419 (open-protocol-stream): Merge into open-network-stream, leaving
26420 open-protocol-stream as an alias. Handle nil BUFFER args.
26421
26422 * subr.el (open-network-stream): Move to net/network-stream.el.
26423
26424 2011-04-02 Glenn Morris <rgm@gnu.org>
26425
26426 * find-dired.el (find-exec-terminator): New option.
26427 (find-ls-option): Test for -ls support.
26428 (find-ls-subdir-switches): Test for -b in find-ls-option.
26429 (find-dired, find-grep-dired): Doc fixes.
26430 (find-dired): Use find-exec-terminator.
26431
26432 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26433 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26434 (find-name-arg): Remove purecopy.
26435
26436 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26437 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26438 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26439 accordingly. Don't add the null-device if not needed.
26440
26441 * files.el (save-some-buffers): Doc fix.
26442
26443 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26444
26445 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26446
26447 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26448
26449 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26450 Use `dolist' rather than `mapcar'.
26451
26452 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26453
26454 Add lexical binding.
26455
26456 * subr.el (apply-partially): Use new closures rather than CL.
26457 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26458 (dolist, dotimes): Use slightly different expansion for lexical code.
26459 (functionp): Move to C.
26460 (letrec): New macro.
26461 (with-wrapper-hook): Use it and apply-partially instead of CL.
26462 (eval-after-load): Preserve lexical-binding.
26463 (save-window-excursion, with-output-to-temp-buffer): Turn them
26464 into macros.
26465
26466 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26467
26468 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26469 than the arglist.
26470 (help-add-fundoc-usage): Don't add `Not documented'.
26471 (help-function-arglist): Handle closures, subroutines, and new
26472 byte-code-functions.
26473 (help-make-usage): Remove leading underscores.
26474 (describe-function-1): Handle closures.
26475 (describe-variable): Use special-variable-p for completion.
26476
26477 * files.el (lexical-binding): Declare safe.
26478
26479 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26480 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26481 (pcase): Add `let' pattern.
26482 Change memoization so it actually works.
26483 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26484 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26485 <let>: New case.
26486
26487 * emacs-lisp/macroexp.el: Use lexical binding.
26488 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26489 Don't convert ' to #' without checking that it's indeed quoting
26490 a lambda.
26491
26492 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26493 Use eval-sexp-add-defvars.
26494 (eval-sexp-add-defvars): New fun.
26495
26496 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26497
26498 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26499 Don't autoload.
26500 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26501 than the internal `byte-compile-lambda'.
26502 (defmethod): Don't hide code under quotes.
26503 (eieio-defmethod): New `code' argument.
26504
26505 * emacs-lisp/eieio-comp.el: Remove.
26506
26507 * emacs-lisp/edebug.el (edebug-eval-defun)
26508 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26509 (edebug-toggle): Avoid `eval'.
26510
26511 * emacs-lisp/disass.el (disassemble-internal): Handle new
26512 `closure' objects.
26513 (disassemble-1): Handle new byte codes.
26514
26515 * emacs-lisp/cl.el (pushnew): Silence warning.
26516
26517 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26518 (cl-byte-compile-throw): Remove.
26519 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26520
26521 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26522 closures.
26523
26524 * emacs-lisp/cconv.el: New file.
26525
26526 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26527 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26528 (byte-compile-initial-macro-environment):
26529 Handle declare-function here.
26530 (byte-compile--lexical-environment): New var.
26531 (byte-stack-ref, byte-stack-set, byte-discardN)
26532 (byte-discardN-preserve-tos): New lap codes.
26533 (byte-interactive-p): Don't use any more.
26534 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26535 New macros.
26536 (byte-compile-lapcode): Use them and handle new lap codes.
26537 (byte-compile-obsolete): Remove.
26538 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26539 (byte-compile-arglist-warn): Check late def of inlinable funs.
26540 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26541 since they should have been expanded by now.
26542 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26543 (byte-compile-from-buffer): Remove unused second arg.
26544 (byte-compile-preprocess): New function.
26545 (byte-compile-toplevel-file-form): New function to distinguish
26546 file-form calls from outside from file-form calls from hunk-handlers.
26547 (byte-compile-file-form): Simplify.
26548 (byte-compile-file-form-defsubst): Remove.
26549 (byte-compile-file-form-defmumble): Simplify now that
26550 byte-compile-lambda always returns a byte-code-function.
26551 (byte-compile): Preprocess.
26552 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26553 Remove, not used any more.
26554 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26555 (byte-compile-make-args-desc): New funs.
26556 (byte-compile-lambda): Handle lexical functions. Always return
26557 a byte-code-function.
26558 (byte-compile-reserved-constants): New var, to make up room for
26559 closed-over variables.
26560 (byte-compile-constants-vector): Obey it.
26561 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26562 (byte-compile-macroexpand-declare-function): New function.
26563 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26564 byte-code-functions.
26565 (byte-compile-form): Check obsolescence here.
26566 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26567 (byte-compile-variable-ref): Remove.
26568 (byte-compile-dynamic-variable-op): New fun.
26569 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26570 (byte-compile-variable-set): New funs.
26571 (byte-compile-discard): Add 2 args.
26572 (byte-compile-stack-ref, byte-compile-stack-set)
26573 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26574 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26575 macroexpand-all instead.
26576 (byte-compile-quote-form): Remove.
26577 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26578 (byte-compile-bind, byte-compile-unbind): New funs.
26579 (byte-compile-let): Handle let* and lexical binding.
26580 (byte-compile-let*): Remove.
26581 (byte-compile-catch, byte-compile-unwind-protect)
26582 (byte-compile-track-mouse, byte-compile-condition-case):
26583 Handle a new :fun-body form, used for lexical scoping.
26584 (byte-compile-save-window-excursion)
26585 (byte-compile-with-output-to-temp-buffer): Remove.
26586 (byte-compile-defun): Simplify.
26587 (byte-compile-stack-adjustment): New fun.
26588 (byte-compile-out): Use it.
26589 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26590
26591 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26592 handler any more.
26593
26594 * emacs-lisp/byte-opt.el: Use lexical binding.
26595 (byte-inline-lapcode): Remove (to bytecomp).
26596 (byte-compile-inline-expand): Pay attention to inlining to/from
26597 lexically bound code.
26598 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26599 any more.
26600 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26601 any more and don't call compiler-macros.
26602 (byte-compile-splice-in-already-compiled-code): Remove.
26603 (byte-code): Don't inline any more.
26604 (disassemble-offset): Receive `bytes' as argument rather than via
26605 dynamic scoping.
26606 (byte-compile-tag-number): Declare before first use.
26607 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26608 `return' even if make-spliceable.
26609 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26610 obsolete interactive-p.
26611 (byte-optimize-lapcode): Optimize new lap-codes.
26612 Don't trip up on new form of `byte-constant' lap code.
26613
26614 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26615
26616 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26617
26618 * custom.el (custom-initialize-default, custom-declare-variable):
26619 Use `defvar'.
26620
26621 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26622 New variables.
26623 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26624 (COMPILE_FIRST): Add macroexp and cconv.
26625 * makefile.w32-in: Mirror changes in Makefile.in.
26626
26627 * vc/cvs-status.el:
26628 * vc/diff-mode.el:
26629 * vc/log-edit.el:
26630 * vc/log-view.el:
26631 * vc/smerge-mode.el:
26632 * textmodes/bibtex-style.el:
26633 * textmodes/css-mode.el:
26634 * startup.el:
26635 * uniquify.el:
26636 * minibuffer.el:
26637 * newcomment.el:
26638 * reveal.el:
26639 * server.el:
26640 * mpc.el:
26641 * emacs-lisp/smie.el:
26642 * doc-view.el:
26643 * dired.el:
26644 * abbrev.el: Use lexical binding.
26645
26646 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26647
26648 * info.el (info-display-manual): New function.
26649
26650 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26651
26652 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26653
26654 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26655
26656 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26657 an entry for that server in rcirc-authinfo. (Bug#8385)
26658
26659 2011-03-31 Glenn Morris <rgm@gnu.org>
26660
26661 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26662
26663 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26664
26665 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26666
26667 * progmodes/python.el (python-default-interpreter)
26668 (python-python-command-args, python-jython-command-args)
26669 (python-which-shell, python-which-args, python-which-bufname)
26670 (python-file-queue, python-comint-output-filter-function)
26671 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26672 variables and functions.
26673
26674 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26675
26676 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26677 (completion-in-region-mode): New minor mode.
26678 (completion-in-region): Use it.
26679 (completion-in-region--data, completion-in-region-mode-map): New vars.
26680 (completion-in-region--postch): New function.
26681 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26682 New vars.
26683 (completion--capf-wrapper): New function.
26684 (completion-at-point): Use it to track well-behavedness of
26685 hook functions.
26686 (completion-help-at-point): New command.
26687
26688 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26689
26690 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26691 syntax class to search for whitespace on a single line
26692 (Message-ID: <4D938140.4030905@redhat.com>).
26693
26694 2011-03-30 Leo Liu <sdl.web@gmail.com>
26695
26696 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26697 New commands.
26698 (edit-abbrevs-map): Bind them here.
26699 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26700
26701 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26702
26703 * allout.el (allout-hide-by-annotation, allout-flag-region):
26704 Reduce possibility of overlay leakage by making them volatile.
26705
26706 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26707 hash is not shared between buffers. Mode initialization is
26708 responsible for giving it a useful starting value.
26709 (allout-item-span): Reduce possibility of overlay leakage by
26710 making them volatile.
26711 (allout-widgets-count-buttons-in-region): Add diagnostic function
26712 for tracking down button overlay leaks.
26713
26714 2011-03-29 Leo Liu <sdl.web@gmail.com>
26715
26716 * ido.el (ido-read-internal): Use the default history var
26717 minibuffer-history if no HISTORY is specified.
26718
26719 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26720
26721 * net/imap.el (imap-shell-open, imap-process-connection-type):
26722 Use imap-process-connection-type for 'shell' streams as well as
26723 Kerberos, SSL, other subprocesses.
26724
26725 2011-03-28 Leo Liu <sdl.web@gmail.com>
26726
26727 * abbrev.el (abbrev-table-empty-p): New function.
26728 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26729 nonempty ones. (Bug#5937)
26730
26731 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26732
26733 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26734
26735 2011-03-27 Leo Liu <sdl.web@gmail.com>
26736
26737 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26738 for foreground and background colors.
26739 (ansi-color-make-color-map): Adapt.
26740
26741 2011-03-25 Leo Liu <sdl.web@gmail.com>
26742
26743 * midnight.el (midnight-time-float): Remove. Note it calculates
26744 the microsecond component incorrectly and seconds-to-time does the
26745 same job.
26746 Remove redundant (require 'timer).
26747
26748 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26749 (ido-completions): Remove unused arguments. (Bug#8329)
26750
26751 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26752
26753 * minibuffer.el (completion--flush-all-sorted-completions):
26754 Remove itself from hook.
26755 (completion-at-point): Let the functions perform the completion
26756 immediately and return nil or t.
26757 * comint.el (comint-dynamic-complete-functions): Now identical to
26758 completion-at-point-functions.
26759 (comint-dynamic-list-input-ring): Remove unused var `index'.
26760 (comint--match-partial-filename, comint--unquote&expand-filename):
26761 New funs, split from comint-match-partial-filename.
26762 (comint-dynamic-complete): Use completion-at-point.
26763 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26764
26765 2011-03-24 Drew Adams <drew.adams@oracle.com>
26766
26767 * thingatpt.el: Support `defun'.
26768
26769 2011-03-23 Leo Liu <sdl.web@gmail.com>
26770
26771 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26772
26773 * help-mode.el (help-mode-finish): Tweak regexp.
26774
26775 2011-03-23 Glenn Morris <rgm@gnu.org>
26776
26777 * eshell/esh-opt.el (eshell-eval-using-options):
26778 Do not bind unused local variable `eshell-option-stub'.
26779
26780 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26781
26782 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26783
26784 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26785 keymap variable in `with-no-warnings' to avoid a warning when the
26786 keymap has been already `defconst'ed.
26787
26788 2011-03-22 Leo Liu <sdl.web@gmail.com>
26789
26790 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26791 encode all chars in abbrevs; otherwise use emacs-mule or
26792 utf-8-emacs. (Bug#8308)
26793
26794 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26795
26796 * simple.el (backward-delete-char-untabify):
26797 Avoid warning about using `delete-backward-char'.
26798
26799 * image.el (image-type-file-name-regexps): Make it variable.
26800 `imagemagick-register-types' modifies it, and the user may want
26801 to add new extensions for known image types.
26802 (imagemagick-register-types): Throw error if not using ImageMagick.
26803
26804 2011-03-22 Leo Liu <sdl.web@gmail.com>
26805
26806 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26807 located before rcirc-prompt-end-marker.
26808 (rcirc-complete): Error if point is not after rcirc prompt.
26809 Handle the case when table is nil.
26810 (rcirc-user-authenticated): Define to fix compiler warning.
26811
26812 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26813
26814 * custom.el (custom--inhibit-theme-enable): Make it affect only
26815 custom-theme-set-variables and custom-theme-set-faces.
26816 (provide-theme): Ignore custom--inhibit-theme-enable.
26817 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26818 (custom-enabling-themes): Delete variable.
26819 (enable-theme): Accept only loaded themes as arguments.
26820 Ignore the special custom-enabled-themes variable.
26821 (custom-enabled-themes): Forbid themes from setting this.
26822 Eliminate use of custom-enabling-themes.
26823 (custom-push-theme): Quote "changed" custom var entry.
26824
26825 2011-03-21 Leo Liu <sdl.web@gmail.com>
26826
26827 * ido.el (ido-read-internal): Add ido-selected to history instead
26828 of user input.
26829
26830 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26831
26832 * subr.el (deferred-action-list, deferred-action-function):
26833 Mark obsolete.
26834
26835 2011-03-21 Leo Liu <sdl.web@gmail.com>
26836
26837 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26838 change on 2011-02-13 (bug#8309).
26839
26840 * minibuffer.el (read-file-name-function): Change default value.
26841 (read-file-name--defaults): Rename from read-file-name-defaults.
26842 (read-file-name-default): Rename from read-file-name.
26843 (read-file-name): Call read-file-name-function.
26844
26845 2011-03-21 Glenn Morris <rgm@gnu.org>
26846
26847 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26848 Doc fixes.
26849
26850 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26851
26852 * cus-theme.el: Add missing provide statement.
26853 (customize-create-theme): Extract theme value correctly.
26854 (custom-theme-visit-theme): Autoload.
26855 (customize-create-theme): Prompt before inserting default faces.
26856
26857 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26858
26859 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26860 units and musical notes.
26861
26862 2011-03-20 Leo Liu <sdl.web@gmail.com>
26863
26864 * ido.el (ido-read-internal): Use completing-read-default.
26865 (ido-completing-read): Fix compatibility with completing-read.
26866
26867 2011-03-20 Christian Ohler <ohler@gnu.org>
26868
26869 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26870 (ert-delete-all-tests): Use `called-interactively-p' rather than
26871 `interactive-p'.
26872 (ert--make-xrefs-region): Respect END.
26873
26874 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26875
26876 * dired-aux.el (dired-create-directory): Signal an error if the
26877 directory already exists (Bug#8246).
26878
26879 * facemenu.el (list-colors-display): Call list-faces-display
26880 inside with-help-window.
26881 (list-colors-print): Use display property to align the final
26882 column, instead of checking window-width.
26883
26884 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26885
26886 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26887 windows-nt systems.
26888 (emerge-protect-metachars): Quote correctly for ms-dos and
26889 windows-nt systems.
26890
26891 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26892
26893 * info.el (info-initialize): Replace all uses of `:' with
26894 path-separator for compatibility with non-Unix systems.
26895 Cache quoting of path-separator. (Bug#8258)
26896
26897 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26898
26899 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26900 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26901 (mouse-avoidance-mode): Fix typos in docstrings.
26902
26903 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26904
26905 * startup.el (package-subdirectory-regexp): Move from package.el.
26906 Omit \\` and \\', and let callers add them.
26907
26908 * emacs-lisp/package.el (package-strip-version)
26909 (package-load-all-descriptors): Add \\` and \\' to
26910 package-subdirectory-regexp before using it.
26911 (package-untar-buffer): New arg DIR; ensure that file untars only
26912 into this expected directory. Remove superfluous delete-region.
26913 (package-unpack): Caller changed.
26914 (package-tar-file-info): Use package-subdirectory-regexp.
26915
26916 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26917
26918 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26919 diff-mode-shared-map (bug#8284).
26920 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26921
26922 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26923
26924 * calendar/time-date.el (format-seconds): Use assoc instead of
26925 assoc-string, since assoc-string doesn't exist in XEmacs.
26926
26927 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26928
26929 * custom.el (custom-known-themes): Reflow docstring.
26930 (custom-theme-load-path): Fix typo in docstring.
26931 (load-theme): Fix typo in error message.
26932 (custom-available-themes, custom-variable-theme-value):
26933 Use `let', not `let*'.
26934
26935 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26936
26937 * calc/README: Mention inclusion of musical notes.
26938
26939 * calc/calc-units.el (calc-lu-quant): Rename from
26940 `calc-logunits-quantity'.
26941 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26942 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26943 (calc-db): Rename from `calc-dblevel'.
26944 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26945 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26946 (calc-np): Rename from `calc-nplevel'.
26947 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26948 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26949 (calc-lu-plus): Rename from `calc-logunits-add'.
26950 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26951 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26952 (calc-lu-minus): Rename from `calc-logunits-sub'.
26953 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26954 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26955 (calc-lu-times): Rename from `calc-logunits-mul'.
26956 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26957 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26958 (calc-lu-divide): Rename from `calc-logunits-div'.
26959 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26960 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26961
26962 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26963 functions being autoloaded.
26964
26965 * calc/calc.el (calc-lu-power-reference): Rename from
26966 `calc-logunits-power-reference'.
26967 (calc-lu-field-reference): Rename from
26968 `calc-logunits-field-reference'.
26969
26970 * calc/calc-help.el (calc-l-prefix-help):
26971 Mention musical note functions.
26972
26973 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26974
26975 * minibuffer.el (completion-all-sorted-completions):
26976 Use :completion-cycle-penalty text property if present.
26977
26978 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26979
26980 * allout.el (allout-yank-processing): Adjust for new rebulleting
26981 regime so bullet being yanked is used without prompting the user
26982 for a choice.
26983
26984 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26985
26986 * startup.el (command-line): Warn the user that _emacs is deprecated.
26987
26988 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26989
26990 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26991 (delphi-verbose, delphi-comment-face, delphi-string-face)
26992 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26993 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26994 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26995 (delphi-new-comment-line, delphi-font-lock-defaults)
26996 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26997 Fix typos in docstrings.
26998
26999 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27000
27001 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27002 Invert the roles of character and string values for INSTEAD, so a
27003 string is used for the more common case of a defaulting prompt.
27004
27005 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27006
27007 * progmodes/ruby-mode.el (ruby-backward-sexp):
27008 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27009 * play/gamegrid.el (gamegrid-make-face):
27010 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27011 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27012 * notifications.el (notifications-notify):
27013 * net/xesam.el (xesam-search-engines):
27014 * net/quickurl.el (quickurl-list-insert):
27015 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27016
27017 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27018
27019 * startup.el (command-line): Update package subdirectory regexp.
27020
27021 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27022
27023 * allout.el (allout-abbreviate-flattened-numbering)
27024 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27025
27026 * subr.el (read-char-choice): Only show the cursor after the prompt,
27027 not after the answer.
27028
27029 2011-03-15 Kevin Ryde <user42@zip.com.au>
27030
27031 * help-fns.el (variable-at-point): Skip leading quotes, if any
27032 (bug#8253).
27033
27034 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27035
27036 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27037 warning message.
27038
27039 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27040
27041 * shell.el (shell): When called interactively, offer to change the
27042 shell file name on remote hosts.
27043
27044 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27045
27046 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27047 integration for LDAP parameters. The host, base, user or binddn,
27048 and secret tokens can be specified in a netrc file, for instance.
27049 This is optional because an `auth-source' parameter must be
27050 specified in the search attributes.
27051
27052 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27053
27054 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27055
27056 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27057
27058 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27059 into declaration. Remove redundant and harmful binding.
27060
27061 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27062
27063 * files.el (file-ownership-preserved-p): Pass `integer' as an
27064 explicit 2nd argument to `file-attributes'. If the file's owner
27065 is the Administrators group on Windows, and the current user is
27066 Administrator, consider that a match.
27067
27068 * server.el (server-ensure-safe-dir): Consider server directory
27069 safe on MS-Windows if its owner is the Administrators group while
27070 the current Emacs user is Administrator. Use `=' to compare
27071 numerical UIDs, since they could be integers or floats.
27072
27073 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27074
27075 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27076
27077 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27078
27079 Sync with Tramp 2.2.1.
27080
27081 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27082
27083 * net/trampver.el: Update release number.
27084
27085 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27086
27087 * progmodes/compile.el (compilation--previous-directory): Fix up
27088 various nil/dead-marker mismatches (bug#8014).
27089 (compilation-directory-properties, compilation-error-properties):
27090 Don't call it at a position past the one we're about to change.
27091
27092 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27093 Disable obsolescence warnings in the file that declares it.
27094
27095 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27096
27097 * allout-widgets.el (allout-widgets-tally):
27098 Initialize allout-widgets-tally as a hash table rather than nil to
27099 prevent mode-line redisplay warnings. Also, clarify the module
27100 description and fix a comment typo.
27101
27102 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27103
27104 * help-fns.el (describe-variable): Don't complete keywords.
27105 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27106
27107 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27108
27109 * emacs-lisp/package.el (package-version-join): Impose a standard
27110 string representation for pre/alpha/beta version lists.
27111 (package-unpack-single): Standardize the directory name by passing
27112 it through package-version-join.
27113 (package-strip-rcs-id): Accept any version string that does not
27114 signal an error in version-to-list.
27115
27116 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27117
27118 * simple.el (delete-trailing-whitespace): Return nil for the
27119 benefit of `write-file-functions'.
27120
27121 2011-03-10 Glenn Morris <rgm@gnu.org>
27122
27123 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27124
27125 * vc/vc-git.el (vc-git-program): New option.
27126 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27127 (vc-git--call): Use it.
27128
27129 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27130
27131 * cus-edit.el (Custom-newline): If no button at point, look
27132 for a subgroup button at start-of-line. (Bug#2298)
27133
27134 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27135
27136 2011-03-10 Julien Danjou <julien@danjou.info>
27137
27138 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27139 `cursor-type' is nil.
27140
27141 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27142
27143 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27144
27145 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27146
27147 * allout.el: Change so yank of distinctive-bullet items
27148 preserves the existing header prefix, rebulleting it if necessary,
27149 rather than replacing it. This is necessary for proper operation
27150 of cooperative addons like allout-widgets.
27151 (allout-make-topic-prefix, allout-rebullet-heading):
27152 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27153 value as alternate bullet to be used, instead of prompting the user
27154 for a bullet character.
27155
27156 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27157
27158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27159 Do not use `tramp-file-name-port', because this returns also
27160 `tramp-default-port'.
27161
27162 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27163
27164 * net/rcirc.el (rcirc-handler-001): Remove useless
27165 with-rcirc-process-buffer.
27166 (rcirc-check-auth-status): Swap arguments to string-match.
27167
27168 2011-03-09 Glenn Morris <rgm@gnu.org>
27169
27170 * shell.el (shell-mode):
27171 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27172
27173 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27174 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27175
27176 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27177
27178 * emacs-lisp/package.el (package-refresh-contents)
27179 (package-menu-execute): Use condition-case-no-debug.
27180
27181 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27182
27183 * simple.el (shell-command-to-string): Use `process-file'.
27184
27185 * emacs-lisp/package.el (package-tar-file-info): Handle also
27186 remote files.
27187
27188 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27189 Use `equal' for upload base check.
27190
27191 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27192
27193 * textmodes/texinfo.el (texinfo-environments):
27194 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27195
27196 2011-03-08 Glenn Morris <rgm@gnu.org>
27197
27198 * cus-start.el (cursor-in-non-selected-windows):
27199 Fix :set quoting oddness. (Bug#8192)
27200
27201 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27202 in some setf expressions. (Bug#2159)
27203
27204 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27205
27206 * custom.el (custom-available-themes): Return themes in
27207 alphabetical order.
27208
27209 See ChangeLog.15 for earlier changes.
27210
27211 ;; Local Variables:
27212 ;; coding: utf-8
27213 ;; End:
27214
27215 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27216
27217 This file is part of GNU Emacs.
27218
27219 GNU Emacs is free software: you can redistribute it and/or modify
27220 it under the terms of the GNU General Public License as published by
27221 the Free Software Foundation, either version 3 of the License, or
27222 (at your option) any later version.
27223
27224 GNU Emacs is distributed in the hope that it will be useful,
27225 but WITHOUT ANY WARRANTY; without even the implied warranty of
27226 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27227 GNU General Public License for more details.
27228
27229 You should have received a copy of the GNU General Public License
27230 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.