Search and highlight symbol at point.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-06-03 Juri Linkov <juri@jurta.org>
2
3 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4 `M-s h .'. (Bug#14427)
5
6 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7 command `hi-lock-face-symbol-at-point'.
8 (hi-lock-face-symbol-at-point): New command.
9 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10 (hi-lock-menu): Add `highlight-symbol-at-point'.
11 (hi-lock-mode): Doc fix.
12
13 * isearch.el (isearch-forward-symbol-at-point): New command.
14 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15 (isearch-highlight-regexp): Add a regexp which matches
16 words/symbols for word/symbol mode.
17
18 * subr.el (find-tag-default-bounds): New function with the body
19 mostly moved from `find-tag-default'.
20 (find-tag-default): Move most code to `find-tag-default-bounds',
21 call it and apply `buffer-substring-no-properties' afterwards.
22
23 2013-06-03 Tassilo Horn <tsdh@gnu.org>
24
25 * eshell/em-term.el (eshell-term-initialize): Use
26 `cl-intersection' rather than `intersection'.
27
28 2013-06-02 Eric Ludlam <zappo@gnu.org>
29
30 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
31 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
32 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
33 (eieio-unbound, eieio-default-superclass)
34 (eieio--define-field-accessors, method-static, method-before)
35 (method-primary, method-after, method-num-lists)
36 (method-generic-before, method-generic-primary)
37 (method-generic-after, method-num-slots)
38 (eieio-specialized-key-to-generic-key)
39 (eieio--check-type, class-v, class-p)
40 (eieio-class-name, define-obsolete-function-alias)
41 (eieio-class-parents-fast, eieio-class-children-fast)
42 (same-class-fast-p, class-constructor, generic-p)
43 (generic-primary-only-p, generic-primary-only-one-p)
44 (class-option-assoc, class-option, eieio-object-p)
45 (class-abstract-p, class-method-invocation-order)
46 (eieio-defclass-autoload-map, eieio-defclass-autoload)
47 (eieio-class-un-autoload, eieio-defclass)
48 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
49 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
50 (eieio--defgeneric-init-form, eieio-defgeneric-form)
51 (eieio-defgeneric-reset-generic-form)
52 (eieio-defgeneric-form-primary-only)
53 (eieio-defgeneric-reset-generic-form-primary-only)
54 (eieio-defgeneric-form-primary-only-one)
55 (eieio-defgeneric-reset-generic-form-primary-only-one)
56 (eieio-unbind-method-implementations)
57 (eieio--defmethod, eieio--typep)
58 (eieio-perform-slot-validation, eieio-validate-slot-value)
59 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
60 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
61 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
62 (eieio-slot-name-index, eieio-class-slot-name-index)
63 (eieio-set-defaults, eieio-initarg-to-attribute)
64 (eieio-attribute-to-initarg, eieio-c3-candidate)
65 (eieio-c3-merge-lists, eieio-class-precedence-c3)
66 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
67 (eieio-class-precedence-list, eieio-generic-call-methodname)
68 (eieio-generic-call-arglst, eieio-generic-call-key)
69 (eieio-generic-call-next-method-list)
70 (eieio-pre-method-execution-functions, eieio-generic-call)
71 (eieio-generic-call-primary-only, eieiomt-method-list)
72 (eieiomt-optimizing-obarray, eieiomt-install)
73 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
74 (eieio-generic-form, eieio-defmethod, make-obsolete)
75 (eieio-defgeneric, make-obsolete): Moved to eieio-core.el
76 (defclass): Remove `eval-and-compile' from macro.
77 (call-next-method, shared-initialize): Instead of using
78 `scoped-class' variable, use new eieio--scoped-class, and
79 eieio--with-scoped-class.
80 (initialize-instance): Rename local variable 'scoped-class' to
81 'this-class' to remove ambiguitity from old global.
82
83 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
84 eieio.el.
85 (eieio--scoped-class-stack): New variable
86 (eieio--scoped-class): New fcn
87 (eieio--with-scoped-class): New scoping macro.
88 (eieio-defclass): Use pushnew instead of add-to-list.
89 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
90 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
91 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
92 `scoped-class' variable, use new eieio--scoped-class, and
93 eieio--with-scoped-class.
94
95 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
96
97 2013-06-02 Tassilo Horn <tsdh@gnu.org>
98
99 * eshell/esh-ext.el (eshell-external-command): Pass args to
100 `eshell-find-interpreter'.
101 (eshell-find-interpreter): Add new second parameter ARGS.
102
103 * eshell/em-script.el (eshell-script-initialize): Add second arg
104 to the function added as MATCH to `eshell-interpreter-alist'
105
106 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
107 the function added as MATCH to `eshell-interpreter-alist'
108
109 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
110 (eshell-visual-options): New defcustom.
111 (eshell-escape-control-x): Adapt docstring.
112 (eshell-term-initialize): Test `eshell-visual-subcommands' and
113 `eshell-visual-options' in addition to `eshell-visual-commands'.
114 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
115
116 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
117
118 * progmodes/python.el (python-indent-block-enders): Add break,
119 continue and raise keywords.
120
121 2013-06-01 Glenn Morris <rgm@gnu.org>
122
123 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
124
125 Plain (f)boundp silences compilation warnings since Emacs 22.1.
126 * progmodes/cc-cmds.el (delete-forward-p):
127 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
128 * progmodes/cc-engine.el (buffer-syntactic-context):
129 * progmodes/cc-fonts.el (face-property-instance):
130 * progmodes/cc-mode.el (set-keymap-parents):
131 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
132 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
133 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
134 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
135 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
136
137 * progmodes/cc-vars.el (other): Emacs has this widget since
138 at least 21.1, so don't (re)define it.
139
140 * eshell/em-cmpl.el (eshell-cmpl-initialize):
141 Replace the obsolete alias pcomplete-arg-quote-list.
142
143 2013-06-01 Leo Liu <sdl.web@gmail.com>
144
145 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
146 punctuation syntax.
147 (inferior-octave-minimal-columns)
148 (inferior-octave-last-column-width): New variables.
149 (inferior-octave-track-window-width-change): New function.
150 (inferior-octave-mode): Adjust column width so that Octave output,
151 for example from 'ls', can fit into the window nicely.
152
153 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
154
155 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
156 Highlight expansions inside regexp literals.
157
158 2013-05-31 Glenn Morris <rgm@gnu.org>
159
160 * obsolete/sym-comp.el (symbol-complete):
161 Replace obsolete completion-annotate-function.
162
163 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
164
165 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
166
167 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New
168 function, checks if point is inside a literal that allows
169 expression expansion.
170 (ruby-syntax-propertize-expansion): Use it.
171 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
172 around the body.
173
174 2013-05-30 Juri Linkov <juri@jurta.org>
175
176 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
177 to "\M-si".
178 (isearch-invisible): New variable.
179 (isearch-forward): Doc fix.
180 (isearch-mode): Set `isearch-invisible'
181 to the value of `search-invisible'.
182 (isearch-toggle-case-fold): Doc fix.
183 (isearch-toggle-invisible): New command.
184 (isearch-query-replace): Let-bind `search-invisible'
185 to the value of `isearch-invisible'.
186 (isearch-search): Use `isearch-invisible' instead of
187 `search-invisible'. Let-bind `search-invisible'
188 to the value of `isearch-invisible'. (Bug#11378)
189
190 2013-05-30 Juri Linkov <juri@jurta.org>
191
192 * replace.el (perform-replace): Avoid `isearch-range-invisible'
193 call when `query-flag' is nil and `search-invisible' is non-nil.
194 (Bug#11746)
195
196 2013-05-30 Glenn Morris <rgm@gnu.org>
197
198 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
199
200 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
201 (cc-require): Suppress spurious "noruntime" warnings.
202 (cc-require-when-compile): Use fboundp, for sake of compiler.
203
204 * progmodes/cc-mode.el: Move load of cc-vars before that of
205 cc-langs (which in turn loads cc-vars), to quieten compiler.
206
207 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * paren.el: Simplify the code.
210 (show-paren-mode): Always start the timer.
211 (show-paren--idle-timer): Rename from show-paren-idle-timer.
212 (show-paren--overlay, show-paren--overlay-1): Rename from
213 show-paren-overlay and show-paren-overlay-1, and initialize to an
214 overlay rather than to nil.
215 (show-paren-function): Misc cleanup and simplifications.
216
217 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * paren.el (show-paren-data-function): New hook.
220 (show-paren--default): New function, extracted from show-paren-function.
221 (show-paren-function): Use show-paren-data-function.
222
223 2013-05-30 Glenn Morris <rgm@gnu.org>
224
225 * ielm.el (ielm-map, ielm-complete-symbol):
226 Use completion-at-point rather than obsolete functions.
227 (inferior-emacs-lisp-mode): Doc fix.
228 Set completion-at-point-functions, rather than
229 comint-dynamic-complete-functions.
230
231 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
232 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
233 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
234
235 * image.el (image-animated-p): Tweak definition.
236
237 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
238 (rlogin-process-connection-type): Tweak default. Add set-after.
239 (rlogin-host): Doc fix.
240 (rlogin): Tweak prompt.
241 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
242
243 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
244 * progmodes/tcl.el (inferior-tcl-mode-map):
245 Use completion-at-point rather than obsolete alias.
246
247 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
248
249 * minibuffer.el (read-file-name-completion-ignore-case):
250 Move before completion--in-region, for eager macro expansion.
251
252 2013-05-29 Juri Linkov <juri@jurta.org>
253
254 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
255 for total count of matching lines. Add `global-matches' for total
256 count of matches. Rename `matches' to `lines' for count of
257 matching lines. Add `matches' for count of matches.
258 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
259 to `prev-line' for line number of prev match endpt.
260 Increment `matches' for every match. Print the number of
261 matching lines in the header.
262 (occur-context-lines): Rename `lines' to `curr-line'.
263 Rename `prev-lines' to `prev-line'. (Bug#14017)
264
265 2013-05-29 Juri Linkov <juri@jurta.org>
266
267 * replace.el (perform-replace): Add `skip-read-only-count',
268 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
269 Increment them for corresponding conditions and report the number
270 of skipped occurrences in the final message. (Bug#11746)
271 (query-replace, query-replace-regexp, query-replace-regexp-eval)
272 (replace-string, replace-regexp): Doc fix.
273
274 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * emacs-lisp/trace.el (trace--read-args): Provide a default.
277
278 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
279 prog-mode-map.
280
281 2013-05-29 Leo Liu <sdl.web@gmail.com>
282
283 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
284 (octave-help): Small simplification.
285
286 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
287 off the highlight first.
288
289 2013-05-29 Glenn Morris <rgm@gnu.org>
290
291 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
292 Handle idlwave-last-system-routine-info-cons-cell being nil.
293
294 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
295 (idlwave-write-paths): Simplify via with-temp-buffer.
296
297 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
298 * emulation/cua-rect.el: Also load cua-base at run time.
299
300 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
301 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
302 (cperl-imenu-on-info): Require imenu.
303
304 2013-05-28 Alan Mackenzie <acm@muc.de>
305
306 Handle "capitalised keywords" correctly.
307 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
308
309 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
310
311 * eshell/em-unix.el: Added -r option to cp
312
313 2013-05-28 Glenn Morris <rgm@gnu.org>
314
315 * vc/vc-arch.el (vc-exec-after): Declare.
316 (vc-switches): Autoload.
317 * vc/vc-bzr.el: No need to require vc when compiling.
318 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
319 (vc-resynch-buffer, vc-dir-refresh): Declare.
320 (vc-setup-buffer, vc-switches): Autoload.
321 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
322 (vc-resynch-buffer): Declare.
323 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
324 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
325 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
326 (grep-read-regexp, grep-read-files, grep-expand-template)
327 (vc-dir-refresh): Declare.
328 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
329 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
330 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
331 * vc/vc-mtn.el (vc-exec-after): Declare.
332 (vc-switches): Autoload.
333 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
334 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
335 (vc-file-tree-walk): Declare.
336 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
337 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
338 (vc-tag-precondition, vc-rename-master): Autoload.
339 * vc/vc-svn.el (vc-exec-after): Declare.
340 (vc-switches, vc-setup-buffer): Autoload.
341 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
342 Autoload.
343 (vc-resynch-buffer): Declare.
344
345 * obsolete/fast-lock.el (byte-compile-warnings):
346 Don't warn about obsolete features in this obsolete file.
347
348 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
349 Move definition before use.
350
351 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
352 (dun-unix-verbs): Remove dun-zippy.
353 (dun-zippy): Remove function.
354
355 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
356
357 2013-05-27 Juri Linkov <juri@jurta.org>
358
359 * replace.el (replace-search): New function with code moved out
360 from `perform-replace'.
361 (replace-highlight, replace-dehighlight): Move function definitions
362 up closer to `replace-search'. (Bug#11746)
363
364 2013-05-27 Juri Linkov <juri@jurta.org>
365
366 * replace.el (perform-replace): Ignore invisible matches.
367 In addition to checking `query-replace-skip-read-only', also
368 filter out matches by calling `run-hook-with-args-until-failure'
369 on `isearch-filter-predicates', and also check `search-invisible'
370 for t or call `isearch-range-invisible'.
371 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
372
373 2013-05-27 Juri Linkov <juri@jurta.org>
374
375 * isearch.el (isearch-filter-predicates): Rename from
376 `isearch-filter-predicate'. Doc fix. (Bug#11378)
377 (isearch-message-prefix): Display text from the property
378 `isearch-message-prefix' of the currently active filters.
379 (isearch-search): Don't compare `isearch-filter-predicate' with
380 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
381 on `isearch-filter-predicates'. Also check `search-invisible' for t
382 or call `isearch-range-invisible'.
383 (isearch-filter-visible): Make obsolete.
384 (isearch-lazy-highlight-search):
385 Call `run-hook-with-args-until-failure' on
386 `isearch-filter-predicates' and use `isearch-range-invisible'.
387
388 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
389 `isearch-filter-predicates' instead of `funcall'ing
390 `isearch-filter-predicate'.
391 (Info-mode): Set `Info-isearch-filter' to
392 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
393
394 * dired-aux.el (dired-isearch-filter-predicate-orig):
395 Remove variable.
396 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
397 (dired-isearch-filenames-end): Add and remove
398 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
399 instead of changing the value of `isearch-filter-predicate'.
400 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
401 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
402 Put property `isearch-message-prefix' to "filename " on
403 `dired-isearch-filter-filenames'.
404
405 * wdired.el (wdired-change-to-wdired-mode):
406 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
407 locally instead of changing `isearch-filter-predicate'.
408 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
409
410 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
411
412 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
413 return the commit hash (Bug#14459). Also set the
414 `vc-git-detached' property.
415 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
416 (vc-git-mode-line-string): Use the same help-echo format whether
417 in detached mode or not, because we know the actual revision now.
418 When in detached mode, shorten the revision to 7 chars.
419
420 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * emacs-lisp/easy-mmode.el (define-minor-mode):
423 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
424 mode hook and provide a docstring.
425
426 2013-05-27 Alan Mackenzie <acm@muc.de>
427
428 Remove spurious syntax-table text properties inserted by C-y.
429 * progmodes/cc-mode.el (c-after-change): Also clear hard
430 syntax-table property with value nil.
431
432 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
433
434 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
435 when reading the events; the buffer layout shall not be changed.
436
437 2013-05-27 Leo Liu <sdl.web@gmail.com>
438
439 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
440 New variable.
441 (inferior-octave-directory-tracker): Automatically re-sync
442 default-directory.
443 (octave-help): Improve handling of 'See also'.
444
445 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * doc-view.el: Minor naming convention tweaks.
448 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
449
450 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
451 even if there's no `display' property yet (bug#14435).
452
453 2013-05-25 Eli Zaretskii <eliz@gnu.org>
454
455 * subr.el (unmsys--file-name): Rename from reveal-filename.
456
457 * Makefile.in (custom-deps, finder-data, autoloads)
458 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
459 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
460 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
461
462 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
465 error-completion on the first 2 args of condition-case (bug#14446).
466 Don't burp at EOB.
467
468 2013-05-25 Leo Liu <sdl.web@gmail.com>
469
470 * comint.el (comint-previous-matching-input): Do not flood the
471 *Messages* buffer with trivial messages.
472
473 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * progmodes/flymake.el (flymake-nop): Don't return a string.
476 (flymake-set-at): Fix typo.
477
478 * simple.el (read--expression): New function, extracted from
479 eval-expression. Set completion-at-point-functions (bug#14465).
480 (eval-expression, eval-minibuffer): Use it.
481
482 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
483
484 * progmodes/flymake.el (flymake-save-buffer-in-file)
485 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
486 (flymake-selected-frame, flymake-log, flymake-ins-after)
487 (flymake-set-at, flymake-get-buildfile-from-cache)
488 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
489 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
490 Refine the doc string.
491 (flymake-get-file-name-mode-and-masks): Reformat.
492 (flymake-get-real-file-name-function): Fix a minor bug.
493
494 2013-05-24 Juri Linkov <juri@jurta.org>
495
496 * progmodes/grep.el (grep-mode-font-lock-keywords):
497 Support =linenumber= format used by git-grep for lines with
498 function names. (Bug#13549)
499
500 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * progmodes/octave.el (octave-smie-rules): Return nil rather than
503 0 after a semi-colon; it works better for smie-auto-fill.
504 (octave--indent-new-comment-line): New function.
505 (octave-indent-new-comment-line): Use it (indirectly).
506 (octave-mode): Don't disable smie-auto-fill. Use add-function to
507 modify comment-line-break-function.
508
509 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
510 (smie-setup): Use add-function to set it.
511
512 2013-05-24 Sam Steingold <sds@gnu.org>
513
514 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
515 argument (before the `interactive' argument).
516
517 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * image-mode.el (image-mode-winprops): Add winprops to
520 image-mode-winprops-alist before running
521 image-mode-new-window-functions.
522 * doc-view.el (doc-view-new-window-function): Don't delay
523 doc-view-goto-page via timers (bug#14435).
524
525 2013-05-24 Tassilo Horn <tsdh@gnu.org>
526
527 * doc-view.el: Integrate with desktop.el. (Bug#14435)
528 (doc-view-desktop-save-buffer): New function.
529 (doc-view-restore-desktop-buffer): New function.
530 (desktop-buffer-mode-handlers):
531 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
532 handler.
533 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
534 `desktop-save-buffer' function.
535
536 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
537
538 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
539 (tramp-gvfs-file-name-handler): Raise a user error when
540 `tramp-gvfs-enabled' is nil.
541 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
542 Do not raise a user error when loading package. (Bug#14447)
543
544 * net/xesam.el: Move to obsolete/.
545
546 2013-05-24 Glenn Morris <rgm@gnu.org>
547
548 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
549
550 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
551
552 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
553 (Info-find-node, Man-getpage-in-background): Declare.
554
555 * mail/unrmail.el (unrmail):
556 Replace obsolete detect-coding-with-priority.
557
558 * net/socks.el (socks-split-string): Use this rather than split-string.
559 (socks-nslookup-host): Update for above change.
560 (dynamic-choice, s5-dynamic-choice-match)
561 (s5-dynamic-choice-match-inline, s5-widget-value-create):
562 Comment out unused code.
563
564 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
565 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
566 (gud-tooltip-echo-area): Make obsolete.
567 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
568
569 * progmodes/js.el (js--optimize-arglist): Declare.
570
571 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
572
573 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
574 (ediff-window-C): Declare.
575
576 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
577 Tweak requires to silence compiler.
578
579 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
580 (he-search-string, he-tried-table, he-expand-list)
581 (he-init-string, he-string-member, he-substitute-string)
582 (he-reset-string): Declare.
583
584 * obsolete/options.el (list-options): Use custom-variable-p,
585 rather than obsolete alias.
586
587 2013-05-23 Sam Steingold <sds@gnu.org>
588
589 * simple.el (shell-command-on-region): Pass the `replace' argument
590 down to `call-process-region' to comply with the doc as reported on
591 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
592
593 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * emacs-lisp/smie.el (smie-indent-forward-token)
596 (smie-indent-backward-token): Handle string tokens (bug#14381).
597
598 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
599
600 * ielm.el (ielm-menu): New menu.
601 (inferior-emacs-lisp-mode): Set comment-start.
602
603 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
604
605 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
606 Fix deactivate action.
607
608 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
609 Add cleveref macros.
610
611 * lisp/textmodes/reftex-parse.el
612 (reftex-locate-bibliography-files): Accept options for
613 bibliography commands.
614 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
615 Add addbibresource. Basic Biblatex support.
616
617 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
618
619 * net/tramp-gvfs.el (top):
620 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
621 when loading package. (Bug#14447)
622
623 2013-05-23 Glenn Morris <rgm@gnu.org>
624
625 * progmodes/js.el: No need to load comint when compiling.
626 (ring-insert, comint-send-string, comint-send-input)
627 (comint-last-input-end, ido-chop): Declare.
628
629 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
630 * vc/ediff-mult.el: Adjust requires.
631 (ediff-directories-internal, ediff-directory-revisions-internal)
632 (ediff-patch-file-internal): Declare.
633 * vc/ediff-ptch.el: Adjust requires.
634 (ediff-use-last-dir, ediff-buffers-internal): Declare.
635 (ediff-find-file): Autoload.
636 * vc/ediff-util.el: No need to load ediff when compiling.
637 (ediff-regions-internal): Declare.
638 * vc/ediff-wind.el: Adjust requires.
639 (ediff-compute-toolbar-width): Define when compiling.
640 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
641 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
642 (dired-get-filename, dired-get-marked-files)
643 (ediff-last-dir-patch, ediff-patch-default-directory)
644 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
645 (ediff-patch-buffer-internal): Declare.
646
647 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
648 (ispell-process, ispell-buffer-local-words, lm-summary)
649 (lm-section-start, lm-section-end): Declare.
650 (checkdoc-ispell-init): Simplify.
651
652 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
653 (he-string-member, he-reset-string, he-substitute-string): Declare.
654
655 * eshell/em-ls.el: Adjust requires.
656 (eshell-glob-regexp): Declare.
657 * eshell/em-tramp.el: Adjust requires.
658 (eshell-parse-command): Autoload.
659 * eshell/em-xtra.el: Adjust requires.
660 (eshell-parse-command): Autoload.
661 * eshell/esh-ext.el: Adjust requires.
662 (eshell-parse-command, eshell-close-handles): Autoload.
663 * eshell/esh-io.el: Adjust requires.
664 (eshell-output-filter): Autoload.
665 * eshell/esh-util.el: No need to load tramp when compiling.
666 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
667 Declare.
668 (eshell-parse-ange-ls): Require ange-ftp and tramp.
669 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
670 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
671 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
672 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
673 * eshell/esh-opt.el, eshell/esh-proc.el:
674 * eshell/esh-var.el: Adjust requires.
675 * eshell/eshell.el: Do not require esh-util twice.
676 (eshell-add-input-to-history): Declare.
677 (eshell-command): Check history module is active before using it.
678
679 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
680
681 2013-05-22 Leo Liu <sdl.web@gmail.com>
682
683 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
684
685 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
686
687 * autorevert.el (auto-revert-notify-add-watch)
688 (auto-revert-notify-handler): Add `attrib' for the inotify case,
689 it indicates changes in file modification time.
690
691 2013-05-22 Glenn Morris <rgm@gnu.org>
692
693 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
694 Always delete the autoloaded function from the noruntime and
695 unresolved functions lists.
696
697 * allout.el: No need to load epa, epg, overlay when compiling.
698 (epg-context-set-passphrase-callback, epg-list-keys)
699 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
700 (epg-key-user-id-list): Declare.
701
702 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
703 (viper-set-parsing-style-toggling-macro)
704 (viper-set-emacs-state-searchstyle-macros):
705 Use called-interactively-p on Emacs.
706 (viper-looking-back): Make it an obsolete alias. Update callers.
707 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
708 Use looking-back rather than viper-looking-back.
709 (viper-tmp-insert-at-eob, viper-enlarge-region)
710 (viper-read-string-with-history, viper-register-to-point)
711 (viper-append-to-register, viper-change-state-to-vi)
712 (viper-backward-char-carefully, viper-forward-char-carefully)
713 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
714 (viper-change-state-to-emacs): Declare.
715 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
716 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
717 * emulation/viper-mous.el: Do not load viper-cmd.
718 (viper-backward-char-carefully, viper-forward-char-carefully)
719 (viper-forward-word, viper-adjust-window): Declare.
720
721 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
722
723 * progmodes/idlw-help.el (idlwave-help-fontify):
724 Use called-interactively-p.
725
726 * term/w32console.el (w32-get-console-codepage)
727 (w32-get-console-output-codepage): Declare.
728
729 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
730 Remove unnecessary declarations.
731 (dframe-message): Doc fix.
732
733 * info.el (dframe-select-attached-frame, dframe-current-frame):
734 Declare.
735
736 * speedbar.el (speedbar-message): Make it an obsolete alias.
737 Update all callers.
738 (speedbar-with-attached-buffer)
739 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
740 (speedbar-with-writable): Use backquote.
741 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
742 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
743 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
744 rather than speedbar- aliases.
745 * mail/rmail.el: Load dframe rather than speedbar when compiling.
746 (speedbar-make-specialized-keymap, speedbar-insert-button)
747 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
748 (speedbar-do-function-pointer): Declare.
749 (rmail-speedbar-button, rmail-speedbar-find-file)
750 (rmail-speedbar-move-message):
751 Use dframe-with-attached-buffer rather than speedbar- alias.
752 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
753 (dframe-message, speedbar-make-specialized-keymap)
754 (speedbar-add-expansion-list, speedbar-mode-functions-list)
755 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
756 (speedbar-insert-button, dframe-select-attached-frame)
757 (dframe-maybee-jump-to-attached-frame)
758 (speedbar-change-initial-expansion-list)
759 (speedbar-previously-used-expansion-list-name): Declare.
760 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
761 Use dframe-message, dframe-with-attached-buffer rather than
762 speedbar- aliases.
763 (gud-sentinel): Silence compiler.
764 * progmodes/vhdl-mode.el (speedbar-refresh)
765 (speedbar-do-function-pointer, speedbar-add-supported-extension)
766 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
767 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
768 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
769 (speedbar-file-lists, speedbar-make-tag-line)
770 (speedbar-line-directory, speedbar-goto-this-file)
771 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
772 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
773 (speedbar-make-button, speedbar-reset-scanners)
774 (speedbar-files-item-info, speedbar-line-text)
775 (speedbar-find-file-in-frame, speedbar-set-timer)
776 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
777 (speedbar-with-writable): Do not (re)define it.
778 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
779 rather than speedbar- alias.
780
781 2013-05-21 Leo Liu <sdl.web@gmail.com>
782
783 * progmodes/octave.el (octave-mode-menu): Update and re-organize
784 menu items.
785 (octave-mode): Tweak fill-nobreak-predicate.
786 (inferior-octave-startup): Check process to avoid infinite loop.
787 (inferior-octave): Pop to buffer first to show abornmal process
788 exit information.
789
790 2013-05-21 Glenn Morris <rgm@gnu.org>
791
792 * printing.el (pr-menu-bar): Define when compiling.
793
794 2013-05-21 Leo Liu <sdl.web@gmail.com>
795
796 * progmodes/octave.el (octave-auto-fill): Remove.
797 (octave-indent-new-comment-line): Improve.
798 (octave-mode): Use auto fill mode through
799 comment-line-break-function and fill-nobreak-predicate
800 (octave-goto-function-definition): Support DEFUN_DLD.
801 (octave-beginning-of-defun): Small Tweak
802 (octave-help): Show parent directory.
803
804 2013-05-21 Glenn Morris <rgm@gnu.org>
805
806 * files.el (dired-unmark):
807 * progmodes/gud.el (gdb-input): Update declarations.
808
809 * calculator.el (electric, ehelp): No need to load when compiling.
810 (Electric-command-loop, electric-describe-mode): Declare.
811
812 * doc-view.el (doc-view-current-converter-processes): Move before use.
813
814 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
815 Move MODE-set-explicitly definition before use.
816
817 * international/mule-diag.el (mule-diag):
818 Don't use obsolete window-system-version.
819
820 * mail/feedmail.el (smtpmail): No need to load when compiling.
821 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
822
823 * mail/mail-utils.el (rfc822): No need to load when compiling.
824 (rfc822-addresses): Autoload it.
825 (mail-strip-quoted-names): Trivial simplification.
826
827 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
828 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
829
830 * net/snmp-mode.el (tempo): Don't duplicate requires.
831
832 * progmodes/prolog.el (info): No need to load when compiling.
833 (comint): Require before shell requires it.
834 (Info-goto-node): Autoload it.
835 (Info-follow-nearest-node): Declare.
836 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
837
838 * textmodes/artist.el (picture-mode-exit): Declare.
839
840 * textmodes/reftex-parse.el (reftex-parse-from-file):
841 Trivial rewrite so the compiler can parse it better.
842
843 2013-05-20 Leo Liu <sdl.web@gmail.com>
844
845 * progmodes/octave.el (octave-help-mode-map)
846 (octave-help-mode-finish-hook): New variables.
847 (octave-help-mode, octave-help-mode-finish): New functions.
848 (octave-help): Use octave-help-mode.
849
850 2013-05-20 Glenn Morris <rgm@gnu.org>
851
852 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
853
854 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
855
856 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
857 start at point, so that expansion starting right after opening
858 slash in a regexp is recognized.
859 (ruby-syntax-before-regexp-re): New defvar, extracted from
860 ruby-syntax-propertize-function. Since the value of this regexp
861 is looked up at runtime now, we should be able to turn
862 `ruby-syntax-methods-before-regexp' into a defcustom later.
863 (ruby-syntax-propertize-function): Split regexp matching into two
864 parts, for opening and closing slashes. That allows us to skip
865 over string interpolations and support multiline regexps.
866 Don't call `ruby-syntax-propertize-expansions', instead use another rule
867 for them, which calls `ruby-syntax-propertize-expansion'.
868 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
869 call to `ruby-syntax-propertize-function'.
870 (ruby-syntax-propertize-expansion): Extracted from
871 `ruby-syntax-propertize-expansions'. Handles one expansion.
872 (ruby-syntax-propertize-percent-literal): Leave point right after
873 the percent symbol, so that the expression expansion rule can
874 propertize the contents.
875 (ruby-syntax-propertize-heredoc): Leave point at bol following the
876 heredoc openers.
877 (ruby-syntax-propertize-expansions): Remove.
878
879 2013-05-18 Juri Linkov <juri@jurta.org>
880
881 * man.el (Man-default-man-entry): Remove `-' from the end
882 of the default value. (Bug#14400)
883
884 2013-05-18 Glenn Morris <rgm@gnu.org>
885
886 * comint.el (comint-password-prompt-regexp):
887 Allow "password for XXX" where XXX contains colons (eg https://...).
888
889 2013-05-18 Leo Liu <sdl.web@gmail.com>
890
891 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
892 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
893 (octave-source-directories): Don't check process.
894 (octave-source-directories, octave-find-definition): Doc fix.
895
896 2013-05-18 Glenn Morris <rgm@gnu.org>
897
898 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
899 Remove backspace/delete bindings. (Bug#14392)
900
901 * cus-dep.el (custom-make-dependencies): Sort the output.
902 (custom-versions-load-alist): Convert comment to doc.
903
904 2013-05-17 Leo Liu <sdl.web@gmail.com>
905
906 * newcomment.el (comment-search-backward): Stricter in finding
907 comment start. (Bug#14303)
908
909 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
910 (octave-comment-start-skip): Properly anchored.
911
912 2013-05-17 Leo Liu <sdl.web@gmail.com>
913
914 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
915 Clean up when turned off. (Bug#14395)
916 (smie--highlight-matching-block-overlay): No longer buffer-local.
917 (smie-highlight-matching-block): Adjust.
918
919 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
920
921 Doc string fix for "nanoseconds" (Bug#14406).
922 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
923 Fix doc string typo that had "nanoseconds" instead of "microseconds".
924
925 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
926
927 * calc/calc-units.el (math-extract-units): Preserve powers
928 of units.
929
930 2013-05-17 Leo Liu <sdl.web@gmail.com>
931
932 * subr.el (delete-consecutive-dups): New function.
933 * ido.el (ido-set-matches-1): Use it.
934 * progmodes/octave.el (inferior-octave-completion-table): Use it.
935 * ido.el (ido-remove-consecutive-dups): Remove.
936
937 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
940 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
941 regexp-opt's `words'.
942
943 2013-05-16 Leo Liu <sdl.web@gmail.com>
944
945 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
946 (smie--highlight-matching-block-overlay)
947 (smie--highlight-matching-block-lastpos)
948 (smie--highlight-matching-block-timer): New variables.
949 (smie-highlight-matching-block): New function.
950 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
951 (smie-setup): Conditionally enable smie-blink-matching-open.
952
953 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
954
955 Sync with upstream verilog-mode r840.
956 * progmodes/verilog-mode.el (verilog-mode-version)
957 (verilog-mode-release-date): Update.
958 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
959 (verilog-sig-tieoff): Fix string error on
960 AUTORESET with colon define, bug594. Reported by Andrew Hou.
961 (verilog-read-decls): Fix parameters confusing
962 AUTOINST interfaces, bug565. Reported by Leith Johnson.
963
964 2013-05-16 Eli Zaretskii <eliz@gnu.org>
965
966 * subr.el (reveal-filename): New function.
967
968 * loadup.el: Compute Emacs executable versions on MS-Windows,
969 where executables have the .exe extension. Add a hard link
970 emacs-XX.YY.ZZ.exe on MS-Windows.
971
972 * Makefile.in (XARGS_LIMIT): New variable.
973 (custom-deps, finder-data, autoloads)
974 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
975 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
976 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
977 (compile-main): Limit xargs according to $(XARGS_LIMIT).
978
979 2013-05-16 Leo Liu <sdl.web@gmail.com>
980
981 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
982 (octave-mode-menu, octave-mode-map): Remove its uses.
983
984 2013-05-16 Reto Zimmermann <reto@gnu.org>
985
986 Sync with upstream vhdl mode v3.34.2.
987 * progmodes/vhdl-mode.el: Use `push' throughout.
988 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
989 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
990 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
991 (vhdl-actual-generic-name): New option to derive actual generic name.
992 (vhdl-port-paste-signals): Replace formal by actual generics.
993 (vhdl-beautify): New name for old group vhdl-align. Update users.
994 (vhdl-beautify-options): New option.
995 (vhdl-last-input-event): New compat alias. Use throughout.
996 (vhdl-goto-line): Replace user level function `goto-line'.
997 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
998 vhdl-fix-statement-buffer.
999 (vhdl-create-mode-menu): Add some entries.
1000 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1001 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1002 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1003 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1004 to force statements on one line.
1005 (vhdl-remove-trailing-spaces-region):
1006 New, split from vhdl-remove-trailing-spaces.
1007 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1008 Respect vhdl-beautify-options.
1009 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1010 (vhdl-update-sensitivity-list): Not add with index if exists without.
1011 Not include array index with signal. Ignore keywords in comments.
1012 (vhdl-get-visible-signals): Regexp tweaks.
1013 (vhdl-template-component-inst): Handle empty library.
1014 (vhdl-template-type): Add template for 'enum' type.
1015 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1016 Use vhdl-replace-string.
1017 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1018 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1019 (vhdl-speedbar-initialize): Update for above name change.
1020 (vhdl-compose-wire-components): Fix in handling of constants.
1021 (vhdl-error-regexp-emacs-alist): New variable.
1022 (vhdl-error-regexp-add-emacs): New function;
1023 adds support for new compile.el (Emacs 22+)
1024 (vhdl-generate-makefile-1): Change target order for single lib. units.
1025 Allow use of absolute file names.
1026
1027 2013-05-16 Leo Liu <sdl.web@gmail.com>
1028
1029 * simple.el (prog-indent-sexp): Indent enclosing defun.
1030
1031 2013-05-15 Glenn Morris <rgm@gnu.org>
1032
1033 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1034 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1035 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1036 (whitespace-highlight): Move to whitespace group.
1037
1038 * comint.el (comint-source):
1039 * pcmpl-linux.el (pcmpl-linux):
1040 * shell.el (shell-faces):
1041 * eshell/esh-opt.el (eshell-opt):
1042 * international/ccl.el (ccl): Remove empty custom groups.
1043
1044 * completion.el (dynamic-completion-mode):
1045 * jit-lock.el (jit-lock-debug-mode):
1046 * minibuffer.el (completion-in-region-mode):
1047 * type-break.el (type-break-mode-line-message-mode)
1048 (type-break-query-mode):
1049 * emulation/tpu-edt.el (tpu-edt-mode):
1050 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1051 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1052 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1053
1054 * term/xterm.el (xterm): Change parent group to terminals.
1055
1056 * master.el (master): Remove empty custom group.
1057 (master-mode): Remove unused :group argument.
1058 * textmodes/refill.el (refill): Remove empty custom group.
1059 (refill-mode): Remove unused :group argument.
1060
1061 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1062
1063 * cus-dep.el: Provide a feature.
1064 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1065 Don't mistakenly ignore files whose basenames match a basename
1066 from preloaded-file-list (eg cedet/ede/simple.el).
1067 Add a fallback method for getting :group.
1068
1069 2013-05-15 Juri Linkov <juri@jurta.org>
1070
1071 * isearch.el (isearch-char-by-name): Rename from
1072 `isearch-insert-char-by-name'. Doc fix.
1073 (isearch-forward): Mention `isearch-char-by-name' in
1074 the docstring. (Bug#13348)
1075
1076 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1077 `exit-minibuffer' instead of
1078 `isearch-nonincremental-exit-minibuffer'.
1079 (isearch-edit-string): Remove mention of
1080 `isearch-nonincremental-exit-minibuffer' from docstring.
1081 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1082 (isearch-forward-exit-minibuffer)
1083 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1084
1085 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * loadup.el: Just use unversioned DOC.
1088
1089 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1090 literals as extending to EOB.
1091 (nxml-last-fontify-end): Remove unused variable.
1092 (nxml-after-change1): Use with-silent-modifications.
1093 (nxml-extend-after-change-region): Simplify.
1094 (nxml-extend-after-change-region1): Remove function.
1095 (nxml-after-change1): Don't adjust for dependent regions.
1096 (nxml-fontify-matcher): Simplify.
1097 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1098 (xmltok-add-dependent): Remove function.
1099 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1100 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1101 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1102 unclosed <[[, <?, comment, and other literals as extending to EOB.
1103 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1104 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1105 Remove functions.
1106 (rng-do-some-validation-1): Don't mark dependent regions.
1107 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1108 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1109 (nxml-clear-dependent-regions): Remove functions.
1110 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1111 (nxml-ensure-scan-up-to-date):
1112 Don't clear&mark dependent regions.
1113
1114 2013-05-15 Leo Liu <sdl.web@gmail.com>
1115
1116 * progmodes/octave.el (octave-goto-function-definition):
1117 Improve and fix callers.
1118
1119 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1122 the setter (bug#14387).
1123
1124 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1125 surrounding group (bug#14402).
1126
1127 2013-05-14 Juri Linkov <juri@jurta.org>
1128
1129 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1130 (Bug#14390)
1131
1132 2013-05-14 Glenn Morris <rgm@gnu.org>
1133
1134 * progmodes/f90.el (f90-imenu-generic-expression):
1135 Fix typo in 2013-05-08 change. (Bug#14402)
1136
1137 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1138
1139 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1140 Remove signals for which replies are never received.
1141
1142 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1143
1144 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1145 (gdb-handler-alist, gdb-handler-number): Remove variables.
1146 (gdb-handler-list): New variable.
1147 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1148 (gdb-pending-handler-p, gdb-handle-reply)
1149 (gdb-remove-all-pending-triggers): New functions.
1150 (gdb-discard-unordered-replies): New defcustom.
1151 (gdb-handler): New defstruct.
1152 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1153 instead of gdb-pending-triggers. Update docstring.
1154 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1155 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1156 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1157 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1158 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1159 (gdb-frame-handler): Pending triggers are now automatically managed.
1160 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1161 Remove argument.
1162 (gdb-input): Automatically handles pending triggers. Update docstring.
1163 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1164 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1165 Update comments.
1166 (gdb-done-or-error): Now use gdb-handle-reply.
1167
1168 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1169
1170 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1171 gdb-debug-log.
1172
1173 2013-05-14 Glenn Morris <rgm@gnu.org>
1174
1175 * subr.el (user-emacs-directory-warning): New option.
1176 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1177
1178 2013-05-14 Leo Liu <sdl.web@gmail.com>
1179
1180 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1181 during redisplay.
1182 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1183 (octave-font-lock-texinfo-comment): Fix invalid search bound
1184 error: wrong side of point.
1185
1186 2013-05-14 Glenn Morris <rgm@gnu.org>
1187
1188 * progmodes/flymake.el (flymake-xml-program): New option.
1189 (flymake-xml-init): Use it.
1190
1191 * term/xterm.el: Provide a feature.
1192
1193 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1194
1195 2013-05-13 Glenn Morris <rgm@gnu.org>
1196
1197 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1198 Add compat aliases as a hack workaround. (Bug#14384)
1199
1200 2013-05-13 Leo Liu <sdl.web@gmail.com>
1201
1202 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1203 ###, and %!.
1204 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1205 C-M-q.
1206 (octave-comment-start-skip): Include %!.
1207 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1208
1209 2013-05-12 Leo Liu <sdl.web@gmail.com>
1210
1211 * progmodes/octave.el (inferior-octave-startup): Store the value
1212 of __octave_srcdir__ for octave-source-directories.
1213 (inferior-octave-check-process): New function refactored out of
1214 inferior-octave-send-list-and-digest.
1215 (octave-source-directories)
1216 (octave-find-definition-filename-function): New variables.
1217 (octave-source-directories)
1218 (octave-find-definition-default-filename): New functions.
1219 (octave-find-definition): Improve to find functions implemented in C++.
1220
1221 2013-05-12 Glenn Morris <rgm@gnu.org>
1222
1223 * calendar/diary-lib.el (diary-outlook-format-1):
1224 Don't include dayname in the output. (Bug#14349)
1225
1226 2013-05-11 Glenn Morris <rgm@gnu.org>
1227
1228 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1229
1230 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1231 Treat cc-provide like provide.
1232
1233 2013-05-11 Kevin Ryde <user42@zip.com.au>
1234
1235 * cus-dep.el (custom-make-dependencies):
1236 Use generated-autoload-load-name for the sake of files such
1237 such cedet/semantic/bovine/c.el, where the base file name
1238 is not in load-path. (Bug#5277)
1239
1240 2013-05-11 Glenn Morris <rgm@gnu.org>
1241
1242 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1243 Provide features.
1244
1245 2013-05-11 Leo Liu <sdl.web@gmail.com>
1246
1247 * progmodes/octave.el (octave-indent-comment): Improve.
1248 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1249 (octave-eldoc-function-signatures, octave-eldoc-function):
1250 New functions.
1251 (octave-mode, inferior-octave-mode): Add eldoc support.
1252
1253 2013-05-11 Richard Stallman <rms@gnu.org>
1254
1255 * epa.el (epa-decrypt-file): Take output file name as argument
1256 and read it using `interactive'.
1257
1258 2013-05-11 Leo Liu <sdl.web@gmail.com>
1259
1260 * progmodes/octave.el (octave-beginning-of-line)
1261 (octave-end-of-line): Check before using up-list because it jumps
1262 out of more syntactic contructs since moving to smie.
1263 (octave-indent-comment): New function.
1264 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1265 (octave-begin-keywords, octave-end-keywords)
1266 (octave-reserved-words, octave-smie-bnf-table)
1267 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1268
1269 2013-05-11 Glenn Morris <rgm@gnu.org>
1270
1271 * faces.el (internal-face-x-get-resource):
1272 * frame.el (ns-display-monitor-attributes-list):
1273 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1274
1275 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1276
1277 * calc/calc-menu.el: Make it loadable in isolation.
1278
1279 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1280 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1281 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1282 (eudc-bbdb-query-internal): Require 'bbdb.
1283
1284 * lpr.el (lpr-headers-switches):
1285 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1286
1287 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1288
1289 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1290
1291 * term.el (term-set-escape-char): Make it idempotent.
1292
1293 2013-05-10 Leo Liu <sdl.web@gmail.com>
1294
1295 * progmodes/octave.el (inferior-octave-completion-table):
1296 No longer a function and all uses changed. Use cache to speed up
1297 completion due to bug#11906.
1298 (octave-beginning-of-defun): Re-write to be more general.
1299
1300 2013-05-10 Glenn Morris <rgm@gnu.org>
1301
1302 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1303
1304 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * comint.el (comint-redirect-send-command-to-process): Use :around
1307 rather than :override for comint-redirect-filter.
1308 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1309 Call it instead of comint-redirect-original-filter-function (which
1310 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1311
1312 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1313
1314 * frame.el (display-monitor-attributes-list): Add NS case.
1315 (ns-display-monitor-attributes-list): Declare.
1316
1317 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1318
1319 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1320
1321 2013-05-09 Glenn Morris <rgm@gnu.org>
1322
1323 * international/fontset.el (vertical-centering-font-regexp):
1324 Set standard-value.
1325
1326 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1327
1328 * bookmark.el (bookmark-search-delay):
1329 * cus-start.el (vertical-centering-font-regexp):
1330 * ps-mule.el (ps-mule-font-info-database-default):
1331 * ps-print.el (ps-default-fg, ps-default-bg):
1332 * type-break.el (type-break-good-break-interval):
1333 * whitespace.el (whitespace-indentation-regexp)
1334 (whitespace-space-after-tab-regexp):
1335 * emacs-lisp/testcover.el (testcover-1value-functions)
1336 (testcover-noreturn-functions, testcover-progn-functions)
1337 (testcover-prog1-functions):
1338 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1339 * eshell/em-glob.el (eshell-glob-translate-alist):
1340 * play/tetris.el (tetris-tty-colors):
1341 * progmodes/cpp.el (cpp-face-default-list):
1342 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1343 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1344 (idlwave-help-browser-generic-args):
1345 * progmodes/make-mode.el (makefile-special-targets-list):
1346 * progmodes/python.el (python-shell-virtualenv-path):
1347 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1348 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1349 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1350 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1351 * textmodes/reftex-vars.el (reftex-format-label-function):
1352 * textmodes/remember.el (remember-diary-file): Fix custom types.
1353
1354 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1355 Add :version.
1356
1357 2013-05-09 Leo Liu <sdl.web@gmail.com>
1358
1359 * progmodes/octave.el (inferior-octave-completion-at-point):
1360 Restore file completion. (Bug#14300)
1361 (inferior-octave-startup): Fix incorrect highlighting for the
1362 first prompt.
1363
1364 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * progmodes/ruby-mode.el: First cut at SMIE support.
1367 (ruby-use-smie): New var.
1368 (ruby-smie-grammar): New constant.
1369 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1370 (ruby-smie--forward-token, ruby-smie--backward-token)
1371 (ruby-smie-rules): New functions.
1372 (ruby-mode-variables): Setup SMIE if applicable.
1373
1374 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1375
1376 * simple.el (line-move-visual): Signal beginning/end of buffer
1377 only if vertical-motion moved less than it was requested. Avoids
1378 silly incorrect error messages when there are display strings with
1379 multiple newlines at EOL.
1380
1381 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1382
1383 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1384 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1385 (prolog-char-quote-workaround):
1386 * progmodes/cperl-mode.el (cperl-under-as-char):
1387 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1388 Mark as obsolete.
1389 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1390 their declaration.
1391 (vhdl-mode-syntax-table-init): Remove.
1392
1393 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1394 last change.
1395
1396 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1397 syntax for "_".
1398 (ld-script-font-lock-keywords):
1399 Change regexps to use things like \_< and \_>.
1400
1401 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1402 Change all regexps to use things like \_< and \_>.
1403
1404 * progmodes/autoconf.el (autoconf-definition-regexp)
1405 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1406 Handle a _ with symbol syntax.
1407 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1408
1409 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1410 Consolidate declaration.
1411 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1412 the declaration.
1413 (ada-create-syntax-table): Remove.
1414 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1415 already has the right syntax nowadays.
1416 (ada-goto-next-word): Don't change the syntax of "_".
1417
1418 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1419 with-wrapper-hook.
1420
1421 2013-05-08 Sam Steingold <sds@gnu.org>
1422
1423 * thingatpt.el (thing-at-point): Accept optional second argument
1424 NO-PROPERTIES to strip the text properties from the return value.
1425 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1426 to `thing-at-point' instead of stripping the properties ourselves.
1427 Also, when `thing-at-point' fails to find a url, prepend "http://"
1428 to the filename at point on the assumption that the user is
1429 pointing at something like gnu.org/gnu.
1430
1431 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1432
1433 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1434 * faces.el (crm-separator):
1435 Silence byte-compiler.
1436
1437 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1438 (tool-bar-map): Remove unneeded defvars.
1439
1440 2013-05-08 Leo Liu <sdl.web@gmail.com>
1441
1442 Re-work a fix for bug#10994 based on Le Wang's patch.
1443 * ido.el (ido-remove-consecutive-dups): New helper.
1444 (ido-completing-read): Use it.
1445 (ido-chop): Revert fix for bug#10994.
1446
1447 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1448
1449 * cus-edit.el (custom-save-variables):
1450 Pretty-print long values. (Bug#14187)
1451
1452 2013-05-08 Glenn Morris <rgm@gnu.org>
1453
1454 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1455 (m4-mode-syntax-table): Init in the defvar.
1456 (m4-mode-abbrev-table): Let define-derived-mode define it.
1457
1458 2013-05-08 Tom Tromey <tromey@redhat.com>
1459
1460 * progmodes/m4-mode.el (m4-mode-syntax-table):
1461 Do not treat "_" as word constituent. (Bug#14167)
1462
1463 2013-05-07 Glenn Morris <rgm@gnu.org>
1464
1465 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1466 Remove explicit eshell-isearch-cancel-map.
1467
1468 * progmodes/f90.el (f90-smart-end-names): New option.
1469 (f90-smart-end): Doc fix.
1470 (f90-end-block-optional-name): New constant.
1471 (f90-block-match): Respect f90-smart-end-names.
1472
1473 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1476 about implicit semi-colons (bug#14218).
1477
1478 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1479
1480 * frame.el (display-monitor-attributes-list)
1481 (frame-monitor-attributes): New functions.
1482
1483 2013-05-06 Leo Liu <sdl.web@gmail.com>
1484
1485 * progmodes/octave.el (octave-syntax-propertize-function): Change
1486 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1487 (octave-font-lock-keywords): Use octave-operator-regexp.
1488 (octave-completion-at-point): Rename from
1489 octave-completion-at-point-function.
1490 (inferior-octave-directory-tracker): Robustify.
1491 (octave-text-functions): Remove and fix its uses. No such things
1492 any more.
1493
1494 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * emacs-lisp/trace.el (trace--display-buffer): New function.
1497 (trace-make-advice): Use it.
1498
1499 2013-05-06 Juri Linkov <juri@jurta.org>
1500
1501 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1502 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1503 Doc fix.
1504 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1505 in the help string. (Bug#12985)
1506
1507 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1508
1509 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1510
1511 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * progmodes/perl-mode.el: Add support for here documents.
1514 (perl-syntax-propertize-function): Match here-doc markers.
1515 (perl-syntax-propertize-special-constructs): Find their end.
1516 (perl-imenu-generic-expression): Use [:alnum:].
1517
1518 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1519 (advice--add-function): Refresh the advice if already present
1520 (bug#14317).
1521
1522 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1523
1524 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1525
1526 2013-05-06 Glenn Morris <rgm@gnu.org>
1527
1528 * w32-fns.el (w32-charset-info-alist): Declare.
1529
1530 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1531 of its defcustom properties.
1532 (eshell-cmpl-initialize): No need to load pcomplete.
1533
1534 * generic-x.el: No need to require comint when compiling.
1535
1536 * net/eudc-export.el: Make it loadable without bbdb.
1537 (top-level): Use require rather than load-library.
1538 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1539 (eudc-batch-export-records-to-bbdb)
1540 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1541 Require bbdb.
1542
1543 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1546 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1547 some tweaks, instead.
1548
1549 2013-05-05 Leo Liu <sdl.web@gmail.com>
1550
1551 * progmodes/octave.el (octave-font-lock-keywords)
1552 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1553 (inferior-octave-send-list-and-digest): Improve error message.
1554 (octave-mode, inferior-octave-mode): Use setq-local.
1555 (octave-help): Set info-lookup-mode.
1556
1557 2013-05-05 Richard Stallman <rms@gnu.org>
1558
1559 * vc/compare-w.el (compare-windows-whitespace):
1560 Treat no-break space as whitespace.
1561
1562 * mail/rmailsum.el (rmail-summary-rmail-update):
1563 Detect empty summary and don't change selected message.
1564 (rmail-summary-goto-msg): Likewise.
1565
1566 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1567 Doc fixes, rename args.
1568
1569 2013-05-05 Alan Mackenzie <acm@muc.de>
1570
1571 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1572
1573 2013-05-05 Juri Linkov <juri@jurta.org>
1574
1575 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1576 to not add the length of the summary segment to the return value.
1577 (Bug#14125)
1578
1579 2013-05-05 Leo Liu <sdl.web@gmail.com>
1580
1581 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1582 (inferior-octave-output-filter): Remove.
1583 (octave-send-region, inferior-octave-startup): Fix callers.
1584 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1585 (octave-binary-file-extensions): New user variable.
1586 (octave-find-definition): Confirm if opening binary files.
1587 (octave-help-file): Use octave-find-definition to get the binary
1588 confirmation.
1589 (octave-help): Adjust for octave-help-file change.
1590
1591 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1594 Merge the two entries that handle function definitions.
1595 (pascal--syntax-propertize): New const.
1596 (pascal-mode): Use it. Use setq-local.
1597
1598 2013-05-04 Glenn Morris <rgm@gnu.org>
1599
1600 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1601 (diary-from-outlook): Respect diary-from-outlook-function.
1602
1603 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1606 Move the declaration from C.
1607 (read-minibuffer, eval-minibuffer): Move from C.
1608 (completion-setup-function): Avoid minibuffer-completion-contents.
1609
1610 2013-05-03 Leo Liu <sdl.web@gmail.com>
1611
1612 * progmodes/octave.el (octave-font-lock-keywords): Do not
1613 dehighlight 'end' in comments or strings.
1614 (octave-completing-read, octave-goto-function-definition):
1615 New helpers.
1616 (octave-help-buffer): New user variable.
1617 (octave-help-file, octave-help-function): New button types.
1618 (octave-help): New command and bind it to C-h ;.
1619 (octave-find-definition): New command and bind it to M-.
1620 (user-error): Alias to error if not defined.
1621
1622 2013-05-02 Leo Liu <sdl.web@gmail.com>
1623
1624 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1625 for \. (bug#14332)
1626 (octave-font-lock-keywords): Include [ and {.
1627
1628 2013-05-02 Leo Liu <sdl.web@gmail.com>
1629
1630 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1631 (inferior-octave): Remove calling comint-mode and return the buffer.
1632 (inferior-octave-startup): Cosmetic changes.
1633
1634 2013-05-02 Leo Liu <sdl.web@gmail.com>
1635
1636 * progmodes/octave.el (octave-syntax-propertize-function):
1637 Include the case when ' is at line beginning. (Bug#14336)
1638
1639 2013-05-02 Glenn Morris <rgm@gnu.org>
1640
1641 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1642 * desktop.el (vc-dir-mode): Just autoload it here.
1643
1644 2013-05-02 Alan Mackenzie <acm@muc.de>
1645
1646 Eliminate variable c-standard-font-lock-fontify-region-function.
1647 * progmodes/cc-mode.el
1648 (c-standard-font-lock-fontify-region-function): Remove.
1649 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1650
1651 2013-05-01 Leo Liu <sdl.web@gmail.com>
1652
1653 * progmodes/octave.el: Compatible with older emacs-24 releases.
1654 (inferior-octave-has-built-in-variables): Remove. Built-in
1655 variables were removed from Octave in 2007.
1656 (inferior-octave-startup): Fix uses.
1657 (comint-line-beginning-position): Remove compatibility code for
1658 emacs 21.
1659
1660 2013-05-01 Juri Linkov <juri@jurta.org>
1661
1662 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1663
1664 2013-05-01 Juri Linkov <juri@jurta.org>
1665
1666 * comint.el (comint-previous-matching-input): Don't print message
1667 "History item: %d" when `isearch-mode' is active.
1668 (comint-history-isearch-message): Print message "History item: %d"
1669 when `comint-input-ring-index' is not empty and this function is
1670 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1671
1672 2013-05-01 Leo Liu <sdl.web@gmail.com>
1673
1674 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1675 definitions. Use completion-at-point to insert keywords.
1676 (octave-abbrev-start): Remove.
1677 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1678
1679 2013-04-30 Leo Liu <sdl.web@gmail.com>
1680
1681 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1682 change.
1683
1684 2013-04-30 Alan Mackenzie <acm@muc.de>
1685
1686 Handle arbitrarily long C++ member initialisation lists.
1687 * progmodes/cc-engine.el (c-back-over-member-initializers):
1688 new function.
1689 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1690 (most) member init lists.
1691
1692 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1693
1694 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1695 variable.
1696
1697 2013-04-30 Leo Liu <sdl.web@gmail.com>
1698
1699 * progmodes/octave.el (octave-variables): Remove. No builtin
1700 variables any more. All converted to functions.
1701 (octave-font-lock-keywords, octave-completion-at-point-function):
1702 Fix uses.
1703 (octave-font-lock-texinfo-comment): New user variable.
1704 (octave-texinfo-font-lock-keywords): New variable for texinfo
1705 comment block.
1706 (octave-function-comment-block): New face.
1707 (octave-font-lock-texinfo-comment): New function.
1708 (octave-mode): Font lock texinfo comment block.
1709
1710 2013-04-29 Leo Liu <sdl.web@gmail.com>
1711
1712 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1713 indexing expression.
1714 (octave-continuation-string): Do not use \.
1715 (inferior-octave-complete-impossible): Remove.
1716 (inferior-octave-completion-table)
1717 (inferior-octave-completion-at-point): Remove its uses.
1718 (inferior-octave-startup): completion_matches was introduced to
1719 Octave in 1996 so safe to assume it.
1720 (octave-function-file-comment): Improve to follow how Octave does it.
1721 (octave-update-function-file-comment): Tweak.
1722
1723 2013-04-29 Leo Liu <sdl.web@gmail.com>
1724
1725 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1726 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1727 (octave-function-file-comment): Fix typo.
1728 (octave-sync-function-file-names): Use read-char-choice.
1729
1730 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1731
1732 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1733 to t for the less important warnings.
1734
1735 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1736
1737 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1738
1739 2013-04-27 Glenn Morris <rgm@gnu.org>
1740
1741 * vc/log-view.el (log-view-current-entry):
1742 Treat "---" separator lines as part of the following rev. (Bug#14169)
1743
1744 2013-04-27 Juri Linkov <juri@jurta.org>
1745
1746 * subr.el (read-number): Doc fix about using it by interactive
1747 code letter `n'. (Bug#14254)
1748
1749 2013-04-27 Juri Linkov <juri@jurta.org>
1750
1751 * desktop.el (desktop-auto-save-timeout): New option.
1752 (desktop-file-checksum): New variable.
1753 (desktop-save): Add optional arg `auto-save' and don't auto-save
1754 if nothing changed.
1755 (desktop-auto-save-timer): New variable.
1756 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1757 (after-init-hook): Call `desktop-auto-save-set-timer'.
1758 Suggested by Reuben Thomas <rrt@sc3d.org> in
1759 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1760
1761 2013-04-27 Leo Liu <sdl.web@gmail.com>
1762
1763 * progmodes/octave.el (octave-function-file-p)
1764 (octave-skip-comment-forward, octave-function-file-comment)
1765 (octave-update-function-file-comment): New functions.
1766 (octave-mode-map): Bind C-c ; to
1767 octave-update-function-file-comment.
1768 (octave-mode-menu): Add octave-update-function-file-comment.
1769 (octave-mode, inferior-octave-mode): Fix doc-string.
1770 (octave-insert-defun): Conform to Octave's coding convention.
1771 (Bug#14285)
1772
1773 * files.el (basic-save-buffer): Don't let errors in
1774 before-save-hook prevent saving buffer.
1775
1776 2013-04-20 Roland Winkler <winkler@gnu.org>
1777
1778 * faces.el (read-face-name): Use completing-read if arg multiple
1779 is nil.
1780
1781 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1782
1783 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1784 displayed, move point to after the totals line.
1785 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1786 for the details.
1787
1788 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1791 Add current dir to the load-path.
1792 (package-generate-autoloads): Don't rely on
1793 autoload-ensure-default-file.
1794
1795 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1796
1797 * textmodes/remember.el (remember-store-in-files): Document that
1798 the file name format is passed to `format-time-string'.
1799
1800 2013-04-26 Leo Liu <sdl.web@gmail.com>
1801
1802 * progmodes/octave.el (octave-sync-function-file-names): New function.
1803 (octave-mode): Use it in before-save-hook.
1804
1805 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1808 (bug#14274).
1809
1810 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1811 \n and comment, even if it's not an implicit ; (bug#14218).
1812
1813 2013-04-26 Glenn Morris <rgm@gnu.org>
1814
1815 * subr.el (read-number): Once more use `read' rather than
1816 `string-to-number', to trap non-numeric input. (Bug#14254)
1817
1818 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1819
1820 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1821 Use `syntax-multiline' text property consistently instead of
1822 `font-lock-multiline'. (Bug#14237)
1823
1824 2013-04-26 Glenn Morris <rgm@gnu.org>
1825
1826 * emacs-lisp/shadow.el (list-load-path-shadows):
1827 No longer necessary to check for duplicate simple.el, since
1828 2012-07-07 change to init_lread to not include installation lisp
1829 directories in load-path when running uninstalled. (Bug#14270)
1830
1831 2013-04-26 Leo Liu <sdl.web@gmail.com>
1832
1833 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1834 (octave-mode, inferior-octave-mode): Use setq-local.
1835 (octave-not-in-string-or-comment-p): Rename to
1836 octave-in-string-or-comment-p.
1837 (octave-in-comment-p, octave-in-string-p)
1838 (octave-in-string-or-comment-p): Replace defsubst with defun.
1839
1840 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1841
1842 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1843
1844 2013-04-25 Bastien Guerry <bzg@gnu.org>
1845
1846 * textmodes/remember.el (remember-data-directory)
1847 (remember-directory-file-name-format): Fix custom types.
1848
1849 2013-04-25 Leo Liu <sdl.web@gmail.com>
1850
1851 * progmodes/octave.el (octave-completion-at-point-function):
1852 Make use of inferior octave process.
1853 (octave-initialize-completions): Remove.
1854 (inferior-octave-completion-table): New function.
1855 (inferior-octave-completion-at-point): Use it.
1856 (octave-completion-alist): Remove.
1857
1858 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1861 (opascal-mode-syntax-table): New var.
1862 (opascal-literal-kind, opascal-is-literal-end)
1863 (opascal-literal-token-at): Rewrite.
1864 (opascal--literal-start-re, opascal-font-lock-keywords)
1865 (opascal--syntax-propertize): New constants.
1866 (opascal-font-lock-defaults): Adjust.
1867 (opascal-mode): Use them. Set comment-<foo> variables as well.
1868 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1869 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1870 (delphi-other-face, opascal-other-face): Remove face variables.
1871 (opascal-save-state): Remove macro.
1872 (opascal-fontifying-progress-step): Remove constant.
1873 (opascal--ignore-changes): Remove var.
1874 (opascal-set-token-property, opascal-parse-next-literal)
1875 (opascal-is-stable-literal, opascal-complete-literal)
1876 (opascal-is-literal-start, opascal-face-of)
1877 (opascal-parse-region, opascal-parse-region-until-stable)
1878 (opascal-fontify-region, opascal-after-change)
1879 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1880 (opascal-debug-parse-region, opascal-debug-parse-window)
1881 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1882 (opascal-debug-fontify-buffer): Remove.
1883 (opascal-debug-mode-map): Adjust accordingly.
1884
1885 2013-04-25 Leo Liu <sdl.web@gmail.com>
1886
1887 Merge octave-mod.el and octave-inf.el into octave.el with some
1888 cleanups.
1889 * progmodes/octave.el: New file renamed from octave-mod.el.
1890 * progmodes/octave-inf.el: Merged into octave.el.
1891 * progmodes/octave-mod.el: Renamed to octave.el.
1892
1893 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1894
1895 * textmodes/reftex-vars.el
1896 (reftex-label-ignored-macros-and-environments): New defcustom.
1897
1898 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1899
1900 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1903 (smie-indent-keyword): Improve the check to ensure that the next
1904 comment is really on the same line.
1905 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1906
1907 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1908 semi-colons if the line is not otherwise empty (bug#14218).
1909
1910 2013-04-25 Glenn Morris <rgm@gnu.org>
1911
1912 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1913
1914 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * progmodes/opascal.el (opascal-set-token-property): Rename from
1917 opascal-set-text-properties and only set `token' (bug#14134).
1918 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1919 (opascal-literal-text-properties): Remove.
1920 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1921 Adjust callers.
1922
1923 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1924
1925 * textmodes/remember.el (remember-handler-functions): Add an
1926 option for a new handler `remember-store-in-files'.
1927 (remember-data-directory, remember-directory-file-name-format):
1928 New options.
1929 (remember-store-in-files): New function to store remember notes
1930 as separate files within a directory.
1931
1932 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1933
1934 * progmodes/compile.el (compilation-next-error-function):
1935 Pass "formats" to compilation-find-file (bug#11777).
1936
1937 2013-04-24 Glenn Morris <rgm@gnu.org>
1938
1939 * vc/vc-bzr.el (vc-bzr-print-log):
1940 * vc/vc-hg.el (vc-hg-print-log):
1941 * vc/vc-svn.el (vc-svn-print-log):
1942 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1943
1944 * vc/vc-bzr.el (vc-bzr-print-log):
1945 * vc/vc-cvs.el (vc-cvs-print-log):
1946 * vc/vc-git.el (vc-git-print-log):
1947 * vc/vc-hg.el (vc-hg-print-log):
1948 * vc/vc-mtn.el (vc-mtn-print-log):
1949 * vc/vc-rcs.el (vc-rcs-print-log):
1950 * vc/vc-sccs.el (vc-sccs-print-log):
1951 * vc/vc-svn.el (vc-svn-print-log):
1952 * vc/vc.el (vc-print-log-internal): Doc fixes.
1953
1954 2013-04-23 Glenn Morris <rgm@gnu.org>
1955
1956 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1957 Remove venerable code attempting to avoid substitute-command-keys.
1958
1959 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1960
1961 * textmodes/reftex-vars.el (reftex-label-regexps):
1962 Call `reftex-compile-variables' after changes to this variable.
1963
1964 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1967 Use lexical-binding.
1968 (jit-lock-force-redisplay): Use markers, check buffer's continued
1969 existence and beware narrowed buffers.
1970 (jit-lock-fontify-now): Adjust call accordingly.
1971
1972 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1975 to avoid misleading the user.
1976
1977 2013-04-22 Leo Liu <sdl.web@gmail.com>
1978
1979 * info-look.el: Prefer latex2e.info. (Bug#14240)
1980
1981 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1982
1983 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1984
1985 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1986 * net/tramp.el (tramp-call-process): ... here
1987 (tramp-set-completion-function, tramp-parse-putty):
1988 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1989 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1990 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1991 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1992 (tramp-call-local-coding-command): Use `tramp-call-process'
1993 instead of `tramp-compat-call-process'.
1994
1995 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1996 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1997 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1998 (tramp-find-inline-compress): Improve traces.
1999 (tramp-maybe-send-script): Check for Perl binary.
2000 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2001
2002 2013-04-22 Daiki Ueno <ueno@gnu.org>
2003
2004 * epg.el (epg-context-pinentry-mode): New function.
2005 (epg-context-set-pinentry-mode): New function.
2006 (epg--start): Pass --pinentry-mode option to gpg command.
2007
2008 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2009
2010 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2011 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2012 `completion-at-point'. (Bug#13774)
2013
2014 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2015 default key binding for `describe-distribution' has been moved to
2016 `C-h C-o'. (Bug#13970)
2017
2018 2013-04-21 Glenn Morris <rgm@gnu.org>
2019
2020 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2021 Add doc strings.
2022 (vc-print-log): Clarify interactive prompt.
2023
2024 2013-04-20 Glenn Morris <rgm@gnu.org>
2025
2026 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2027 No longer include timestamp etc information.
2028
2029 2013-04-20 Roland Winkler <winkler@gnu.org>
2030
2031 * faces.el (read-face-name): Bug fix, return just one face if arg
2032 multiple is nil. (Bug#14209)
2033
2034 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2037 (remove-function): Autoload.
2038
2039 * comint.el (comint-redirect-original-filter-function): Remove.
2040 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2041 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
2042 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2043 * progmodes/prolog.el (prolog-consult-compile):
2044 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2045 Use add/remove-function instead.
2046 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2047 (gud-tooltip-process-output, gud-tooltip-tips):
2048 Use add/remove-function instead.
2049 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2050 (scheme-interaction-mode, exit-scheme-interaction-mode):
2051 Use add/remove-function instead.
2052
2053 * vc/vc-dispatcher.el: Use lexical-binding.
2054 (vc--process-sentinel): Rename from vc-process-sentinel.
2055 Change last arg to be the code to run. Don't use vc-previous-sentinel
2056 and vc-sentinel-commands any more.
2057 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2058 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2059
2060 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2061
2062 * progmodes/sh-script.el (sh-imenu-generic-expression):
2063 Handle function names with a single character. (Bug#14111)
2064
2065 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2066
2067 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2068 for subroutines defined in an eval (bug#14182).
2069
2070 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2071
2072 * bookmark.el (bookmark-completing-read): Improve handling of empty
2073 string (bug#14176).
2074
2075 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2076
2077 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2078
2079 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2080
2081 New faster Imenu implementation (bug#14058).
2082 * progmodes/python.el:
2083 (python-imenu-prev-index-position):
2084 (python-imenu-format-item-label-function)
2085 (python-imenu-format-parent-item-label-function)
2086 (python-imenu-format-parent-item-jump-label-function):
2087 New vars.
2088 (python-imenu-format-item-label)
2089 (python-imenu-format-parent-item-label)
2090 (python-imenu-format-parent-item-jump-label)
2091 (python-imenu--put-parent, python-imenu--build-tree)
2092 (python-imenu-create-index, python-imenu-create-flat-index)
2093 (python-util-popn): New functions.
2094 (python-mode): Set imenu-create-index-function to
2095 python-imenu-create-index.
2096
2097 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * winner.el (winner-active-region): Use region-active-p, activate-mark
2100 and deactivate-mark (bug#14225).
2101
2102 * simple.el (deactivate-mark): Don't inline it.
2103
2104 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2105
2106 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2107
2108 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2109
2110 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2111 file extensions from the archive-mode entry in order to prefer
2112 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2113
2114 2013-04-18 Leo Liu <sdl.web@gmail.com>
2115
2116 * bindings.el (help-event-list): Add ?\?.
2117
2118 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * subr.el (with-wrapper-hook): Declare obsolete.
2121 * simple.el (filter-buffer-substring-function): New hook.
2122 (filter-buffer-substring): Use it.
2123 (filter-buffer-substring-functions): Mark obsolete.
2124 * minibuffer.el (completion-in-region-function): New hook.
2125 (completion-in-region): Use it.
2126 (completion-in-region-functions): Mark obsolete.
2127 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2128 * abbrev.el (abbrev-expand-function): New hook.
2129 (expand-abbrev): Use it.
2130 (abbrev-expand-functions): Mark obsolete.
2131 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2132 and :filter-return.
2133
2134 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2135
2136 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2137 and do not care about match data.
2138
2139 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2142 completion tables when completing error conditions and
2143 `declare' arguments.
2144 (lisp-complete-symbol, field-complete): Mark as obsolete.
2145 (check-parens): Unmatched parens are user errors.
2146 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2147
2148 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2149
2150 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2151 command changed buffer (ie. `flyspell-pre-buffer' is not current
2152 buffer), which prevents making decisions based on invalid value of
2153 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2154 cause an error when `flyspell-pre-point' was nil after switching
2155 buffers.
2156 (flyspell-post-command-hook): No longer needs to change buffers when
2157 checking pre-word. While at it remove unnecessary progn.
2158
2159 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2160
2161 * textmodes/ispell.el (ispell-add-per-file-word-list):
2162 Fix `flyspell-correct-word-before-point' error when accepting
2163 words and `coment-padding' is an integer by using
2164 `comment-normalize-vars' (Bug #14214).
2165
2166 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2167
2168 New defun movement commands.
2169 * progmodes/python.el (python-nav--syntactically)
2170 (python-nav--forward-defun, python-nav-backward-defun)
2171 (python-nav-forward-defun): New functions.
2172
2173 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2174
2175 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2176 (python-syntax-context): Use named compiler-macro for backwards
2177 compatibility with Emacs 24.x.
2178
2179 2013-04-17 Leo Liu <sdl.web@gmail.com>
2180
2181 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2182 octave-hide-process-buffer.
2183
2184 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2187 (bug#14216).
2188
2189 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2190
2191 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2192 Fix adjustment of offset when receiving incomplete responses from GDB
2193 (bug#14129).
2194
2195 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2198 python-mode-abbrev-table.
2199 (python-skeleton-define): Adjust accordingly.
2200 (python-mode-abbrev-table): New table that inherits from it so that
2201 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2202
2203 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2204 (abbrev-symbol): Use it.
2205 (abbrev--before-point): Use it since we already handle inheritance.
2206
2207 2013-04-16 Leo Liu <sdl.web@gmail.com>
2208
2209 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2210 binding to info-lookup-symbol.
2211
2212 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2213
2214 * minibuffer.el (completion--twq-all):
2215 * term/ns-win.el (ns-initialize-window-system):
2216 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2217
2218 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2221 global bindings.
2222
2223 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2224
2225 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2226
2227 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2228 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2229 to nil.
2230 (ruby-end-of-defun): Remove the unused arg, change the docstring
2231 to reflect that this function is only used as the value of
2232 `end-of-defun-function'.
2233 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2234 to reflect an earlier change that beginning/end-of-defun functions
2235 jump between methods in a class definition, as well as top-level
2236 functions.
2237
2238 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * minibuffer.el (minibuffer-complete): Don't just scroll
2241 a *Completions* that's been iconified.
2242 (minibuffer-force-complete): Make sure repetitions do cycle when going
2243 through completion-in-region -> minibuffer-complete.
2244
2245 2013-04-15 Alan Mackenzie <acm@muc.de>
2246
2247 Correct the placement of c-cpp-delimiters when there're #s not at
2248 col 0.
2249
2250 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2251 place a submatch around the #.
2252 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2253 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2254 on the #, not BOL.
2255
2256 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2259 (advice--member-p): New arg `name'.
2260 (advice--add-function, advice-member-p): Use it (bug#14202).
2261
2262 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2263
2264 Reformulate java imenu-generic-expression.
2265 The old expression contained ill formed regexps.
2266
2267 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2268 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2269 (cc-imenu-java-method-arg-regexp): New defconsts.
2270 (cc-imenu-java-build-type-args-regex): New defun.
2271 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2272 handling of spaces in the regexp.
2273
2274 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2275
2276 * textmodes/ispell.el (ispell-command-loop): Remove
2277 flyspell highlight of a word when ispell accepts it (bug #14178).
2278
2279 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2280
2281 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2282 uses code from the previous `ange-ftp-run-real-handler'.
2283 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2284 only in case that function exist. This is needed for proper
2285 unloading of Tramp.
2286
2287 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2288
2289 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2290
2291 * textmodes/reftex.el (reftex-compile-variables): Use it.
2292
2293 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * files.el (normal-mode): Only use default major-mode if no other mode
2296 was specified.
2297
2298 * emacs-lisp/trace.el (trace-values): New function.
2299
2300 * files.el: Allow : in local variables (bug#14089).
2301 (hack-local-variable-regexp): New var.
2302 (hack-local-variables-prop-line, hack-local-variables): Use it.
2303
2304 2013-04-13 Roland Winkler <winkler@gnu.org>
2305
2306 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2307 data before it gets modified by bibtex-beginning-of-entry.
2308
2309 2013-04-13 Roland Winkler <winkler@gnu.org>
2310
2311 * textmodes/bibtex.el (bibtex-url): Doc fix.
2312
2313 2013-04-13 Roland Winkler <winkler@gnu.org>
2314
2315 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2316 does not visit a BibTeX file, exclude it from the list of buffers
2317 returned by bibtex-initialize.
2318
2319 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2320
2321 * window.el (split-window): Remove interactive form, since as a
2322 command this function is a special case of split-window-below.
2323 Correct doc string.
2324
2325 2013-04-12 Roland Winkler <winkler@gnu.org>
2326
2327 * faces.el (read-face-name): Do not override value of arg default.
2328 Allow single faces and strings as default values. Remove those
2329 elements from return value that are not faces.
2330 (describe-face): Simplify.
2331 (face-at-point): New optional args thing and multiple so that this
2332 function can provide the same functionality previously provided by
2333 read-face-name.
2334 (make-face-bold, make-face-unbold, make-face-italic)
2335 (make-face-unitalic, make-face-bold-italic, invert-face)
2336 (modify-face, read-face-and-attribute): Use face-at-point.
2337
2338 * cus-edit.el (customize-face, customize-face-other-window)
2339 * cus-theme.el (custom-theme-add-face)
2340 * face-remap.el (buffer-face-set)
2341 * facemenu.el (facemenu-set-face): Use face-at-point.
2342
2343 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2344
2345 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2346
2347 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2348
2349 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2350 off leading { and trailing } from field values.
2351
2352 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * emacs-lisp/timer.el (timer--check): New function.
2355 (timer--time, timer-set-function, timer-event-handler): Use it.
2356 (timer-set-idle-time): Simplify.
2357 (timer--activate): CSE.
2358 (timer-event-handler): Give more info in error message.
2359 (internal-timer-start-idle): New function, moved from C.
2360
2361 * mpc.el (mpc-proc): Add `restart' argument.
2362 (mpc-proc-cmd): Use it.
2363 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2364 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2365 less often.
2366
2367 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2368
2369 * progmodes/sh-script.el: Implement `sh-mode' own
2370 `add-log-current-defun-function' (bug#14112).
2371 (sh-current-defun-name): New function.
2372 (sh-mode): Use the function.
2373
2374 2013-04-09 Bastien Guerry <bzg@gnu.org>
2375
2376 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2377
2378 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2381
2382 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2383 timer (bug#14156).
2384
2385 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2386
2387 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2388 declaration.
2389
2390 2013-04-07 Leo Liu <sdl.web@gmail.com>
2391
2392 * pcmpl-x.el: New file.
2393
2394 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2395
2396 Do not set x-display-name until X connection is established.
2397 This is needed to prevent from weird situation described at
2398 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2399 * frame.el (make-frame): Set x-display-name after call to
2400 window system initialization function, not before.
2401 * term/x-win.el (x-initialize-window-system): Add optional
2402 display argument and use it.
2403 * term/w32-win.el (w32-initialize-window-system):
2404 * term/ns-win.el (ns-initialize-window-system):
2405 * term/pc-win.el (msdos-initialize-window-system):
2406 Add compatible optional display argument.
2407
2408 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2409
2410 * files.el (normal-backup-enable-predicate): On MS-Windows and
2411 MS-DOS compare truenames of temporary-file-directory and of the
2412 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2413 don't fail comparison by compare-strings. Also, compare file
2414 names case-insensitively on MS-Windows and MS-DOS.
2415
2416 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2417
2418 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2419 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2420
2421 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2422
2423 * whitespace.el (whitespace-color-on, whitespace-color-off):
2424 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2425
2426 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2427
2428 * ispell.el (ispell-set-spellchecker-params):
2429 Really set `ispell-args' for all equivs.
2430
2431 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * ido.el (ido-completions): Use extra elements of ido-decorations
2434 (bug#14143).
2435 (ido-decorations): Update docstring.
2436
2437 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2438
2439 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2440 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2441 nil during initialization, in order not to miss changes since the
2442 file was opened. (Bug#14140)
2443
2444 2013-04-05 Leo Liu <sdl.web@gmail.com>
2445
2446 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2447
2448 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2449
2450 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2451
2452 2013-04-04 Glenn Morris <rgm@gnu.org>
2453
2454 * electric.el (electric-pair-inhibit-predicate): Add :version.
2455
2456 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2459 when a package is required several times (bug#14082).
2460
2461 2013-04-04 Roland Winkler <winkler@gnu.org>
2462
2463 * faces.el (read-face-name): Behave as promised by the docstring.
2464 Assume that arg default is a list of faces.
2465 (describe-face): Call read-face-name with list of default faces.
2466
2467 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2468
2469 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2470 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2471 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2472 the header.
2473 (bookmark-exit-hook-internal): Save even if list is empty.
2474
2475 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2476
2477 * emacs-lisp/package.el (package-pinned-packages): New var.
2478 (package--add-to-archive-contents): Obey it (bug#14118).
2479
2480 2013-04-03 Alan Mackenzie <acm@muc.de>
2481
2482 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2483 Also adapt to the new values of element 7 of a parse state.
2484
2485 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2486 parameter `not-in-delimiter'. Handle being inside comment opener.
2487 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2488 character in case we're typing a '*' after a '/'.
2489 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2490 instead by passing the parameter to c-state-pp-to-literal.
2491
2492 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2493 for elt. 7 of a parse state.
2494
2495 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2496
2497 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2498 * international/latin1-disp.el, international/mule-util.el:
2499 * language/cyril-util.el, language/european.el, language/ind-util.el:
2500 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2501 * language/tibetan.el, language/viet-util.el:
2502 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2503
2504 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2507 (electric-pair-post-self-insert-function): Use it.
2508 (electric-pair-default-inhibit): New function, extracted from
2509 electric-pair-post-self-insert-function.
2510
2511 2013-03-31 Roland Winkler <winkler@gnu.org>
2512
2513 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2514
2515 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2518
2519 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2520
2521 Un-indent after "pass" and "return" statements (Bug#13888)
2522 * progmodes/python.el (python-indent-block-enders): New var.
2523 (python-indent-calculate-indentation): Use it.
2524
2525 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2526
2527 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2528 defun. Defining it as defalias could introduce too eager
2529 byte-compiler optimization. (Bug#14030)
2530
2531 2013-03-30 Chong Yidong <cyd@gnu.org>
2532
2533 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2534
2535 2013-03-30 Leo Liu <sdl.web@gmail.com>
2536
2537 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2538 (kmacro-execute-from-register): Pass the keyboard macro to
2539 kmacro-call-macro or repeating won't work correctly.
2540
2541 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2542
2543 * progmodes/subword.el: Back to using `forward-symbol'.
2544
2545 * subr.el (forward-whitespace, forward-symbol)
2546 (forward-same-syntax): Move from thingatpt.el.
2547
2548 2013-03-29 Leo Liu <sdl.web@gmail.com>
2549
2550 * kmacro.el (kmacro-to-register): New command.
2551 (kmacro-execute-from-register): New function.
2552 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2553
2554 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * mpc.el: Use defvar-local and setq-local.
2557 (mpc--proc-connect): Connection failures are not bugs.
2558 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2559 (mpc-volume-map): Bind to the up-events.
2560
2561 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2562
2563 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2564 instead of `forward-symbol'.
2565
2566 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2569 (edebug--recursive-edit): Use it.
2570 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2571 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2572
2573 2013-03-28 Leo Liu <sdl.web@gmail.com>
2574
2575 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2576
2577 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2578
2579 * facemenu.el (list-colors-callback): New defvar.
2580 (list-colors-redisplay): New function.
2581 (list-colors-display): Install list-colors-redisplay as the
2582 revert-buffer-function. (Bug#14063)
2583
2584 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2587 and suffixes don't overlap (bug#14061).
2588
2589 * case-table.el: Use lexical-binding.
2590 (case-table-get-table): New function.
2591 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2592
2593 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2594
2595 * progmodes/subword.el: Add `superword-mode' to do word motion
2596 over symbol_words (parallels and leverages `subword-mode' which
2597 does word motion inside MixedCaseWords).
2598
2599 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2600
2601 * eshell/em-unix.el: Move su and sudo to...
2602 * eshell/em-tramp.el: ...Eshell tramp module.
2603
2604 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2607 Change return value to be a sexp. Delay `get-buffer' to after
2608 restoring the desktop (bug#13951).
2609
2610 2013-03-26 Leo Liu <sdl.web@gmail.com>
2611
2612 * register.el: Move semantic tag handling back to
2613 cedet/semantic/senator.el. (Bug#14052)
2614
2615 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2618 into the prompt either (bug#13963).
2619
2620 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2623 part of "(error-foo)".
2624
2625 2013-03-24 Juri Linkov <juri@jurta.org>
2626
2627 * replace.el (list-matching-lines-prefix-face): New defcustom.
2628 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2629 `occur-engine' if `face-differs-from-default-p' returns t.
2630 (occur-engine): Add `,' inside backquote construct to evaluate
2631 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2632 Pass `prefix-face' to the functions `occur-context-lines' and
2633 `occur-engine-add-prefix'.
2634 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2635 `prefix-face' and propertize the prefix with `prefix-face'.
2636 (Bug#14017)
2637
2638 2013-03-24 Leo Liu <sdl.web@gmail.com>
2639
2640 * nxml/rng-valid.el (rng-validate-while-idle)
2641 (rng-validate-quick-while-idle): Guard against deleted buffer.
2642 (Bug#13999)
2643
2644 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2645 is the last entry in kill-buffer-hook.
2646
2647 * files.el (kill-buffer-hook): Doc fix.
2648
2649 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2650
2651 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2652 Make it safe-local.
2653
2654 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2655
2656 2013-03-23 Leo Liu <sdl.web@gmail.com>
2657
2658 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2659 Remove.
2660
2661 * nxml/rng-valid.el (rng-validate-mode)
2662 (rng-after-change-function, rng-do-some-validation):
2663 * nxml/rng-maint.el (rng-validate-buffer):
2664 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2665 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2666 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2667 (nxml-extend-after-change-region): Use with-silent-modifications.
2668
2669 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2670 timer-idle-list.
2671
2672 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2673 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2674 timer-idle-list. (Bug#13999)
2675
2676 2013-03-23 Juri Linkov <juri@jurta.org>
2677
2678 * info.el (info-index-match): New face.
2679 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2680 main pattern and add text properties with the new face to matches
2681 in index entries relative to the beginning of the index entry.
2682 (Bug#14015)
2683
2684 2013-03-21 Eric Ludlam <zappo@gnu.org>
2685
2686 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2687 Inhibit read only while inserting objects.
2688
2689 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2690
2691 * progmodes/cfengine.el: Update docs to mention
2692 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2693 symbol motion. Remove "_" from the word syntax.
2694
2695 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2696
2697 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2698 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2699
2700 2013-03-20 Juri Linkov <juri@jurta.org>
2701
2702 * info.el (Info-next-reference-or-link)
2703 (Info-prev-reference-or-link): New functions.
2704 (Info-next-reference, Info-prev-reference): Use them.
2705 (Info-try-follow-nearest-node): Handle footnote navigation.
2706 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2707
2708 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2711 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2712
2713 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2714
2715 Suppress unnecessary non-ASCII chatter during build process.
2716 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2717 (batch-skkdic-convert): Suppress most of the chatter.
2718 It's not needed so much now that machines are faster,
2719 and its non-ASCII component was confusing; see Dmitry Gutov in
2720 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2721
2722 2013-03-20 Leo Liu <sdl.web@gmail.com>
2723
2724 * ido.el (ido-chop): Fix bug#10994.
2725
2726 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2729 Remove vars.
2730 (whitespace-color-on, whitespace-color-off):
2731 Use `font-lock-fontify-buffer' (Bug#13817).
2732
2733 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2736 remapping in mode-line.
2737 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2738
2739 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2740
2741 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2742 value for `whitespace-line' face (Bug#13875).
2743 (whitespace-font-lock-keywords): Change description.
2744 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2745 the constructed keywords instead.
2746 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2747
2748 2013-03-19 Leo Liu <sdl.web@gmail.com>
2749
2750 * progmodes/compile.el (compilation-display-error): New command.
2751 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2752 C-o. (Bug#13992)
2753
2754 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2755
2756 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2757
2758 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2759
2760 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2761
2762 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2765
2766 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2767 * net/tramp-gvfs.el (top):
2768 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2769 (tramp-handle-shell-command): Use it.
2770 (tramp-dissect-file-name): Raise an error when hostname is a
2771 method name, and neither method nor user is specified.
2772
2773 * net/trampver.el: Update release number.
2774
2775 2013-03-18 Leo Liu <sdl.web@gmail.com>
2776
2777 Make sure eldoc can be turned off properly.
2778 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2779 eldoc-mode.
2780 (eldoc-display-message-p): Revert last change.
2781 (eldoc-display-message-no-interference-p)
2782 (eldoc-print-current-symbol-info): Tweak.
2783
2784 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2785
2786 * doc-view.el (doc-view-new-window-function): Check the new window
2787 overlay's display property instead the char property of the
2788 buffer's first char. Use `with-selected-window' instead of
2789 `save-window-excursion' with `select-window'.
2790 (doc-view-document->bitmap): Check the current doc-view overlay's
2791 display property instead the char property of the buffer's first char.
2792
2793 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2794
2795 Automate the build of ja-dic.el (Bug#13984).
2796 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2797 from the input, rather than assume that it's been done for us by the
2798 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2799 the current date into a ja-dic.el comment, as that complicates
2800 regression testing.
2801
2802 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * whitespace.el: Fix double evaluation.
2805 (whitespace-space, whitespace-hspace, whitespace-tab)
2806 (whitespace-newline, whitespace-trailing, whitespace-line)
2807 (whitespace-space-before-tab, whitespace-indentation)
2808 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2809 obsolete defvars.
2810 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2811 (whitespace-color-on): Use a single font-lock-add-keywords call.
2812 Fix double-evaluation of face variables.
2813
2814 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2815
2816 * net/tramp-adb.el (tramp-adb-parse-device-names):
2817 Use `start-process' instead of `call-process'. Otherwise, the
2818 function might be blocked under MS Windows. (Bug#13299)
2819
2820 2013-03-17 Leo Liu <sdl.web@gmail.com>
2821
2822 Extend eldoc to display info in the mode-line. (Bug#13978)
2823 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2824 (eldoc-mode-line-string): New variable.
2825 (eldoc-minibuffer-message): New function.
2826 (eldoc-message-function): New variable.
2827 (eldoc-message): Use it.
2828 (eldoc-display-message-p)
2829 (eldoc-display-message-no-interference-p):
2830 Support eldoc-post-insert-mode.
2831
2832 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2833 (eval-expression): Run it.
2834
2835 2013-03-17 Roland Winkler <winkler@gnu.org>
2836
2837 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2838 strings in the list of return values.
2839
2840 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2841
2842 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2843 radix before checking for HMS forms.
2844
2845 2013-03-16 Leo Liu <sdl.web@gmail.com>
2846
2847 * progmodes/scheme.el: Add indentation and font-locking for λ.
2848 (Bug#13975)
2849
2850 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2853 token before point (bug#13942).
2854
2855 2013-03-16 Leo Liu <sdl.web@gmail.com>
2856
2857 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2858
2859 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2860
2861 * startup.el (command-line-normalize-file-name): Fix handling of
2862 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2863 <xfq.free@gmail.com> in
2864 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2865
2866 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2867
2868 Sync with Tramp 2.2.7.
2869
2870 * net/trampver.el: Update release number.
2871
2872 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2873
2874 * doc-view.el Fix bug#13887.
2875 (doc-view-insert-image): Don't modify overlay associated to
2876 non-live windows, and implement horizontal centering of image in
2877 case it's smaller than the window.
2878 (doc-view-new-window-function): Force redisplay of new windows on
2879 doc-view buffers.
2880
2881 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2882
2883 * saveplace.el (save-place-alist-to-file): Don't sort
2884 `save-place-alist', just pretty-print it (bug#13882).
2885
2886 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2887
2888 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2889 whether `default-file-name-coding-system' is bound. It isn't in
2890 XEmacs.
2891
2892 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2895 backquotes for `obsolete' (bug#13929).
2896
2897 * international/mule.el (find-auto-coding): Include file name in
2898 obsolescence warning (bug#13922).
2899
2900 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2901
2902 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2903 for CFEngine 3-specific indentation.
2904 (cfengine3-indent-line): Use it. Fix up category regex.
2905 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2906
2907 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * type-break.el (type-break-file-name):
2910 * textmodes/remember.el (remember-data-file):
2911 * strokes.el (strokes-file):
2912 * shadowfile.el (shadow-initialize):
2913 * saveplace.el (save-place-file):
2914 * ps-bdf.el (bdf-cache-file):
2915 * progmodes/idlwave.el (idlwave-config-directory):
2916 * net/quickurl.el (quickurl-url-file):
2917 * international/kkc.el (kkc-init-file-name):
2918 * ido.el (ido-save-directory-list-file):
2919 * emulation/viper.el (viper-custom-file-name):
2920 * emulation/vip.el (vip-startup-file):
2921 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2922 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2923
2924 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2925
2926 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2927 * language/thai-word.el: Switch to UTF-8.
2928
2929 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2932
2933 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2934
2935 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2936 Use with-current-buffer and don't move point.
2937 (net-utils-run-simple): Remove useless code.
2938 (net-utils-remove-ctl-m): Remove unused custom.
2939
2940 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2941
2942 * international/characters.el (glyphless-set-char-table-range): New fun.
2943 (update-glyphless-char-display): Use it (bug#13744).
2944
2945 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2946
2947 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2948 namespaces in the syntax, indent closer for hanging brace
2949 correctly, allow single-quote delimited 'strings', and make
2950 `cfengine3-mode' the default.
2951
2952 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2953
2954 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2955 Use lexical-binding. Fix up docstring according to conventions.
2956 (gdbmi-debug-mode): New var.
2957 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2958 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2959 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2960 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2961 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2962 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2963 (gdbmi-bnf-incomplete-record-result): New functions.
2964 (gdb-car<): Remove function.
2965 (gdbmi-record-list): Remove variable.
2966 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2967 (gdbmi-bnf-result-state-configs): New const.
2968 (gud-gdbmi-marker-filter): Rewrite.
2969 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2970 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2971 Add `token' argument.
2972 (gdb-done, gdb-error): New functions.
2973 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2974
2975 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * term/xterm.el (xterm--report-background-handler): Don't burp
2978 upon timeout.
2979 (xterm--version-handler): Extract from terminal-init-xterm.
2980 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2981 Allow multiple handlers.
2982 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2983
2984 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2985 (xterm--report-background-handler, xterm--query): New functions.
2986 (terminal-init-xterm): Use them.
2987
2988 2013-03-11 Michael R. Mauger <michael@mauger.com>
2989
2990 * progmodes/sql.el Version 3.2
2991 Please note that my address changed to <michael@mauger.com>;
2992 the <mmaug@yahoo.com> address remains active.
2993 (sql-connection-alist): Updates documentation to fix bug#13715.
2994 (sql-connect): Handle missing `sql-connection-alist' correctly.
2995 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2996 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2997 property.
2998 (sql-default-value): New function.
2999 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3000 values were not used.
3001 (sql-rename-buffer): Make sure alternate buffer name has no text
3002 properties.
3003 (sql-input-sender, sql-execute-feature): Fetch variable with
3004 `buffer-local-value' rather than `with-current-buffer'.
3005 (sql-*): Use #' function syntax consistently.
3006 (sql-*): Use message/error/user-error consistently.
3007
3008 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * xt-mouse.el (xterm-mouse-event-read): Remove.
3011 (xterm-mouse--read-event-sequence-1000)
3012 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3013
3014 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3015
3016 * term/xterm.el (xterm-function-map): Support format used with
3017 formatOtherKeys=1 (bug#13839).
3018
3019 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3020 (with-no-warnings): Use `declare'.
3021
3022 * whitespace.el (whitespace-enable-predicate): New variable.
3023 (whitespace-enable-predicate): Use it.
3024
3025 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3026 (comint-output-filter, comint-update-fence):
3027 Use with-silent-modifications.
3028
3029 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3030
3031 * replace.el (occur-read-regexp-defaults-function): New var.
3032 (occur-read-regexp-defaults): New defun.
3033 (occur-read-primary-args): Propagate above change (bug#13892).
3034
3035 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3038
3039 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3040
3041 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3042
3043 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3044 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3045 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3046 New defconst.
3047 (tramp-gvfs-file-name-handler-alist) [directory-files]
3048 [directory-files-and-attributes, file-exists-p, file-modes]:
3049 Use Tramp default handler.
3050 [file-acl, file-selinux-context, process-file, set-file-acl]:
3051 [set-file-modes, set-file-selinux-context, shell-command]:
3052 [start-file-process]: Remove handler.
3053 [verify-visited-file-modtime]: New handler.
3054 (tramp-gvfs-dbus-string-to-byte-array)
3055 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3056 calls of `dbus-string-to-byte-array' and
3057 `tramp-gvfs-dbus-byte-array-to-string'.
3058 (tramp-gvfs-handle-copy-file)
3059 (tramp-gvfs-handle-delete-directory)
3060 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3061 (tramp-gvfs-handle-file-directory-p)
3062 (tramp-gvfs-handle-file-executable-p)
3063 (tramp-gvfs-handle-file-name-all-completions)
3064 (tramp-gvfs-handle-file-readable-p)
3065 (tramp-gvfs-handle-file-writable-p)
3066 (tramp-gvfs-handle-insert-directory)
3067 (tramp-gvfs-handle-insert-file-contents)
3068 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3069 (tramp-gvfs-handle-set-visited-file-modtime)
3070 (tramp-gvfs-handle-write-region): Rewrite.
3071 (tramp-gvfs-handle-file-acl)
3072 (tramp-gvfs-handle-file-selinux-context)
3073 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3074 (tramp-gvfs-handle-set-file-modes)
3075 (tramp-gvfs-handle-set-file-selinux-context)
3076 (tramp-gvfs-handle-shell-command)
3077 (tramp-gvfs-handle-start-file-process)
3078 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3079 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3080 over the symlinks. Fix user handling.
3081 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3082 of the D-Bus signals.
3083 (tramp-gvfs-connection-mounted-p): Handle different names of the
3084 D-Bus methods.
3085 (tramp-gvfs-mount-spec-entry): New defun.
3086 (tramp-gvfs-mount-spec): Use it.
3087 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3088 there is a share name. Handle different names of the D-Bus
3089 signals and methods. Set connection properties needed for
3090 `tramp-check-cached-permissions'.
3091 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3092 Return t or nil.
3093
3094 * net/tramp.el (tramp-backtrace): Move up.
3095 (tramp-error): Dump a backtrace into the debug buffer when
3096 `tramp-verbose > 9.
3097 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3098 (tramp-file-mode-permissions, tramp-get-local-uid)
3099 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3100 tramp-sh.el.
3101
3102 * net/tramp-sh.el (tramp-file-mode-type-map)
3103 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3104 (tramp-file-mode-permissions, tramp-get-local-uid)
3105 (tramp-get-local-gid): Move to tramp.el.
3106
3107 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 Separate mouse-1-click-follows-link from mouse-drag-region.
3110 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3111 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3112 (mouse-drag-line, mouse-drag-track):
3113 Remove mouse-1-click-follows-link code.
3114 (mouse--remap-link-click-p): Remove.
3115
3116 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3117
3118 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3119 (hi-lock-read-regexp-defaults): New defun.
3120 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3121 (hi-lock-face-phrase-buffer): Propagate above change.
3122 Update docstring (bug#13892).
3123
3124 * subr.el (find-tag-default-as-regexp): New defun.
3125 * replace.el (read-regexp): Propagate above change.
3126
3127 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3128
3129 * calc/calc-units.el (calc-convert-units): Fix the way that default
3130 new units are stored.
3131
3132 2013-03-07 Matthias Meulien <orontee@gmail.com>
3133
3134 * bookmark.el: Define a face to highlight bookmark names in
3135 bookmark menu buffers, where the default is a bold face similarly
3136 to buffer names in buffer menu buffers.
3137 (bookmark-menu-bookmark): New face to highlight bookmark names.
3138 (bookmark-insert-location): Remove duplicated text property to
3139 conform to buffer list (see `list-buffers').
3140 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3141 `bookmark-menu-bookmark' to bookmark names.
3142
3143 2013-03-07 Matthias Meulien <orontee@gmail.com>
3144 Karl Fogel <kfogel@red-bean.com>
3145
3146 * bookmark.el: Display the bookmark list header similarly to the
3147 buffer list header (see `list-buffers'), where the default is now
3148 an immovable/immutable header line.
3149 (bookmark-bmenu-use-header-line): New variable.
3150 (bookmark-bmenu-inline-header-height): New name for
3151 `bookmark-bmenu-header-height', to avoid confusion with the code
3152 for the new immovable header. All references changed.
3153 (bookmark-bmenu-set-header): New function.
3154 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3155 Conditionalize header construction accordingly.
3156 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3157 the inline header height.
3158 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3159 Conditionalize the skipping of the inline header height.
3160
3161 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3162
3163 * progmodes/js.el (js--multi-line-declaration-indentation):
3164 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3165
3166 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3167
3168 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3169 Only propertize regexp when not inside a string (Bug#13885).
3170
3171 2013-03-06 Alan Mackenzie <acm@muc.de>
3172
3173 Correct the position of point in some line-up functions.
3174 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3175 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
3176 point at column 0 rather than at a random place in the line.
3177
3178 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3179
3180 * net/tramp-compat.el (tramp-compat-delete-directory):
3181 Implement TRASH argument.
3182
3183 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3184
3185 Keep pre-existing highlighting in completion candidates (Bug#13250).
3186 * minibuffer.el (completions-first-difference): State that the
3187 face is "added" in the docstring.
3188 (completions-common-part): Same. And don't inherit from default.
3189 (completion-hilit-commonality): Prepend 'completions-common-part
3190 and 'completion-first-difference faces to the 'face property,
3191 instead of replacing the value(s).
3192 (completion--insert-strings): Same with 'completions-annotations face.
3193 (completion-hilit-commonality): Use 'face instead of
3194 'font-lock-face, because it gets priority if the completion
3195 strings already have 'face set.
3196
3197 2013-03-04 Alan Mackenzie <acm@muc.de>
3198
3199 Replace `last-command-event' by `last-command-char' in XEmacs.
3200 * progmodes/cc-defs.el (c-last-command-char): New macro.
3201 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3202 (c-semi&comma-no-newlines-before-nonblanks)
3203 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3204 in place of `last-command-event'.
3205 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3206 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3207 (c-electric-paren, c-electric-continued-statement): Use the new
3208 macro in place of `last-command-event'.
3209
3210 2013-03-04 Glenn Morris <rgm@gnu.org>
3211
3212 * files.el (inhibit-local-variables-regexps):
3213 Add .diff and .patch. (Bug#13862)
3214
3215 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3216
3217 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3218 whether the "su" command is available on the device.
3219
3220 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3221
3222 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3223 (tramp-adb-handle-process-file): Remove superfluous setting.
3224 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3225 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3226 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3227
3228 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3231 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3232 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3233 Use dict-key rather than dict-name for the error message.
3234
3235 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3236
3237 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3238 when reverting (bug#13831).
3239
3240 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3241
3242 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3243 Always expand affix-file before storing to protect against changed
3244 `default-directory'.
3245 (ispell-print-if-debug): Make sure message is printed at the end
3246 of the debug buffer.
3247
3248 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3249
3250 * net/tramp.el (tramp-obsolete-methods): New defconst.
3251 (tramp-warned-obsolete-methods): New defvar.
3252 (tramp-find-method): Check for obsolete methods. Map them to a
3253 replacement method if appropriate.
3254
3255 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3256 Remove methods.
3257 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3258 "ssh2" and "plink1".
3259
3260 2013-02-28 Dale Sedivec <dale@codefu.org>
3261
3262 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3263 Return valid syntax-table property value when converting
3264 quotes within text from string syntax to punctuation syntax (bug#13844).
3265
3266 2013-02-28 Juri Linkov <juri@jurta.org>
3267
3268 * dired-aux.el (dired-diff): If file at point is a backup file,
3269 use its original as the default value, and reverse the order
3270 of arguments to the `diff' call. Doc fix. (Bug#13772)
3271
3272 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3273
3274 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3275 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3276
3277 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3278
3279 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3280
3281 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3282 Ask hunspell about available and default dictionaries.
3283 (ispell-parse-hunspell-affix-file): Extract relevant info from
3284 hunspell affix file.
3285 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3286 `ispell-dictionary-alist' entry for given dictionary after info
3287 provided by `ispell-parse-hunspell-affix-file'.
3288 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3289 of parsed hunspell dicts and associated affix files.
3290 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3291 of parsed hunspell dicts and associated parameters.
3292 (ispell-set-spellchecker-params):
3293 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3294 previously done.
3295 (ispell-start-process):
3296 Call `ispell-hunspell-fill-dictionary-entry' for current
3297 dictionary if it is not initialized.
3298
3299 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * imenu.el: Comment nitpicks.
3302
3303 2013-02-28 Sam Steingold <sds@gnu.org>
3304
3305 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3306 See <http://stackoverflow.com/questions/14720205>.
3307
3308 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3309
3310 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3311 (net-utils-mode): Use it.
3312 (net-utils--revert-cmd): New var.
3313 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3314 (traceroute): Use net-utils-run-simple.
3315
3316 2013-02-28 Glenn Morris <rgm@gnu.org>
3317
3318 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3319
3320 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3323 (doc-view-fallback-mode): Remove overlays here.
3324 (doc-view-toggle-display): Instead of here. Don't throw away
3325 image-mode-winprops-alist.
3326 (doc-view-goto-page): Don't mess with hscroll.
3327
3328 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3329
3330 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3331 &optional (bug#13819).
3332
3333 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * net/tramp-adb.el (tramp-adb-parse-device-names)
3336 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3337
3338 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3339
3340 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3341 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3342 defined. POSIX environments fall back to the "C" locale then and
3343 emit a warning, which shall be suppressed.
3344
3345 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3348 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3349
3350 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3353
3354 2013-02-25 Juri Linkov <juri@jurta.org>
3355
3356 * replace.el (read-regexp): Let-bind `default' to the first
3357 element of `defaults' if it's a list, otherwise it should be
3358 a string or nil. Let-bind `suggestions' to `defaults' if it's
3359 a list, otherwise make a list with the string value. Doc fix.
3360 (Bug#13805)
3361
3362 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3363
3364 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3365 that match "\`\.#", to avoid compiling lock files, even if they
3366 are readable (as they are on MS-Windows).
3367
3368 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * files.el (basic-save-buffer): Remove redundant directory-creation.
3371
3372 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3373
3374 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3375 Add option to force `pi' to remain symbolic.
3376 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3377 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3378 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3379 derivatives, when necessary.
3380
3381 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3382
3383 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3384 (ps-mode-octal-region): Use string-make-unibyte.
3385
3386 2013-02-23 Glenn Morris <rgm@gnu.org>
3387
3388 * emulation/viper-cmd.el (viper-submit-report):
3389 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3390 * progmodes/vera-mode.el (vera-mode-help-address):
3391 * textmodes/artist.el (artist-maintainer-address):
3392 * textmodes/reftex.el (reftex-report-bug):
3393 * vc/ediff-util.el (ediff-submit-report):
3394 Add bug-gnu-emacs to bug report address.
3395
3396 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3397 Remove bug report entries.
3398 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3399
3400 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3401 (byte-compile-file, byte-compile-from-buffer):
3402 Use separate input/output buffers for each level of recursive
3403 byte-compile-file calls. (Bug#13787)
3404
3405 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3406
3407 * net/tramp.el (tramp-methods): Fix docstring.
3408 (tramp-ssh-controlmaster-options): Rename it from
3409 `tramp-ssh-controlmaster-template'. Return a string.
3410 (tramp-default-method): Adapt check for
3411 `tramp-ssh-controlmaster-options'.
3412
3413 * net/tramp-sh.el (tramp-methods):
3414 Replace `tramp-ssh-controlmaster-template' by "%c".
3415 (tramp-do-copy-or-rename-file-out-of-band)
3416 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3417 that it is applied for the first hop only.
3418
3419 2013-02-22 Juri Linkov <juri@jurta.org>
3420
3421 * isearch.el (isearch-lazy-highlight-new-loop):
3422 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3423 to `isearch-other-end' if it is not nil. (Bug#13402)
3424
3425 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3426 to `match-beg'.
3427
3428 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3429 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3430 and `isearch-error' to nil.
3431
3432 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3433
3434 * progmodes/python.el (python-info-current-defun):
3435 Enhance match-data cluttering prevention.
3436
3437 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3438
3439 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3440
3441 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3442 Handle multibyte file names.
3443
3444 2013-02-22 Glenn Morris <rgm@gnu.org>
3445
3446 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3447 (sgml-transformation-function): Give it a :set function.
3448 (sgml-tag): Doc fix.
3449
3450 * cmuscheme.el (scheme-buffer):
3451 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3452 * progmodes/tcl.el (inferior-tcl-buffer):
3453 * textmodes/tex-mode.el (tex-command): Doc fixes.
3454
3455 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3456
3457 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3458
3459 2013-02-21 Bastien Guerry <bzg@gnu.org>
3460
3461 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3462
3463 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3464
3465 * progmodes/python.el (python-info-current-defun):
3466 Enhance match-data cluttering prevention.
3467
3468 2013-02-21 Glenn Morris <rgm@gnu.org>
3469
3470 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3471 loaded while outline-regexp is let bound. (Bug#9584)
3472
3473 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3474
3475 * progmodes/python.el (python-info-current-defun): Fix failed
3476 defun name retrieval because of unwanted match-data cluttering.
3477
3478 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3479
3480 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3481 defconst. Apply independent check for ControlPersist.
3482
3483 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3484 temporarily, via "env".
3485
3486 2013-02-21 Glenn Morris <rgm@gnu.org>
3487
3488 * info.el (Info-enable-edit): Remove.
3489 (Info-edit): Disable it rather than using Info-enable.
3490 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3491 (Info-cease-edit): Make editing of Info files obsolete.
3492
3493 * informat.el (Info-tagify):
3494 Handle buffers not visiting files. (Bug#13763)
3495
3496 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3497
3498 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3499
3500 2013-02-21 Glenn Morris <rgm@gnu.org>
3501
3502 * files.el (basic-save-buffer): Move check for existing parent
3503 directory after hooks. (Bug#13773)
3504
3505 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * simple.el (command-execute): Move from C. Add obsolete check.
3508 (extended-command-history): Move from C.
3509
3510 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3511
3512 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3513 (jka-compr-mode-alist-additions): Handle .txz suffix for
3514 XZ-compressed tar archives (bug#13770).
3515
3516 2013-02-20 Bastien Guerry <bzg@gnu.org>
3517
3518 * outline.el (outline-regexp, outline-heading-end-regexp):
3519 Make variables, not options (bug#13731).
3520
3521 2013-02-20 Glenn Morris <rgm@gnu.org>
3522
3523 * image.el (image-current-frame): Change from variable to function.
3524 (image-show-frame): Rename from image-nth-frame. Update callers.
3525 * image-mode.el (image-multi-frame): New variable.
3526 (image-mode-map, image-mode, image-goto-frame):
3527 Use image-multi-frame rather than image-current-frame.
3528 (image-mode, image-goto-frame): Use image-current-frame as
3529 function rather than as variable.
3530
3531 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3532 * emacs-lisp/cl-macs.el (cl--make-type-test)
3533 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3534
3535 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3536
3537 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3538 (tramp-get-file-property, tramp-set-file-property)
3539 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3540 (tramp-flush-file-property, tramp-flush-directory-property):
3541 Rename argument to KEY.
3542 (tramp-flush-connection-property): Simplify a little bit.
3543 (tramp-connection-property-p): New defun.
3544 (top): Reapply saved values only if there isn't a corresponding
3545 entry in `tramp-connection-properties'.
3546
3547 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3548
3549 * progmodes/python.el (python-indent-context):
3550 Fix python-info-line-ends-backslash-p call.
3551 (python-info-line-ends-backslash-p)
3552 (python-info-beginning-of-backslash): Respect line-number argument.
3553 (python-info-current-line-comment-p):
3554 Fix behavior when not at beginning-of-line.
3555 (python-util-position): Remove function.
3556 (python-util-goto-line): New function.
3557
3558 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3559
3560 * eshell/em-unix.el (eshell/su): Require tramp.
3561 (eshell/sudo): Require tramp. Remove now unnecessary check.
3562
3563 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3564 `tramp-current-connection' in order to avoid an error when several
3565 commands are invoked in a short time in eshell and friends.
3566
3567 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 Cleanup some of EIEIO's namespace.
3570 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3571 Use it to define all the class-* and object-* field accessors (renamed
3572 to eieio--class-* and eieio--object-*). Update all uses.
3573 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3574 class-num-slots and object-num-slots.
3575 (eieio--check-type): New macro.
3576 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3577 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3578 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3579 (object-assoc-list-safe): Use it.
3580 (eieio-defclass): Tighten regexp.
3581 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3582 Remove unreachable code.
3583 (object-class-fast): Declare obsolete.
3584 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3585 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3586 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3587 Rename from class-name, object-name, object-set-name-string,
3588 object-class, object-class-name, class-parents, class-children,
3589 class-precedence-list, class-parent; with obsolete alias.
3590 (class-of, class-direct-superclasses, class-direct-subclasses):
3591 Declare obsolete.
3592 (eieio-defmethod): Use `memq'; remove unreachable code.
3593 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3594 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3595 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3596
3597 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3598
3599 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3600 commentary.
3601
3602 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3603
3604 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3605 Use font-lock-keyword-face for macros and special forms (bug#8345).
3606
3607 2013-02-17 Didier Verna <didier@didierverna.net>
3608
3609 * net/network-stream.el (network-stream-open-starttls):
3610 Check that response to the starttls-command is non-nil. (Bug#13706)
3611
3612 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3615 Don't assume all identifier chars have syntax word.
3616 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3617 Remove bar-not-symbol. Adjust callers.
3618 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3619
3620 2013-02-17 Leo Liu <sdl.web@gmail.com>
3621
3622 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3623
3624 2013-02-17 Glenn Morris <rgm@gnu.org>
3625
3626 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3627
3628 * image-mode.el (image-mode-map): Add image-dired menu entry.
3629
3630 * image-dired.el (tumme): Make this alias obsolete.
3631
3632 2013-02-16 Glenn Morris <rgm@gnu.org>
3633
3634 * image.el (image-animated-types): Remove.
3635 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3636 (image-animated-p): Make obsolete alias.
3637 (image-animate, image-nth-frame, image-animate-timeout):
3638 Use image-multi-frame-p.
3639 (image-animate-timeout): If no delay, use image-default-frame-delay.
3640 * image-mode.el (image-mode, image-toggle-animation):
3641 Use image-multi-frame-p. (Bug#763, bug#10739)
3642 (image-mode): Adjust startup message for a multi-frame image.
3643
3644 * image-mode.el (image-mode-map): Give it a menu.
3645
3646 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3647
3648 * net/tramp-cache.el (tramp-connection-properties): New customer
3649 option.
3650 (tramp-get-connection-property): Use it.
3651
3652 * net/tramp-compat.el (top): Require 'trampver.
3653
3654 * net/tramp-sh.el (tramp-remote-process-environment):
3655 Set tramp-autoload cookie.
3656
3657 2013-02-16 Kevin Ryde <user42@zip.com.au>
3658
3659 * info-look.el (info-lookup-select-mode): If major-mode has no
3660 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3661
3662 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3663
3664 * replace.el (read-regexp): Tighten the regexp that matches tag.
3665 When tag is retrieved with `find-tag-default', use regexp that
3666 matches tag at point. Also update docstring (Bug#13687).
3667
3668 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3669
3670 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3671 add watch for the file, not its parent directory, since w32notify
3672 sets up the watch for the directory internally. (Bug#13725)
3673
3674 2013-02-16 Glenn Morris <rgm@gnu.org>
3675
3676 * image.el (image-default-frame-delay): New variable.
3677 (image-animated-p): Use image-default-frame-delay.
3678 (image-minimum-frame-delay): New constant.
3679 (image-animate-timeout): Use image-minimum-frame-delay.
3680
3681 * image.el (image-nth-frame): New, split from image-animate-timeout.
3682 (image-animate-timeout): Use image-nth-frame.
3683 * image-mode.el (image-goto-frame, image-next-frame)
3684 (image-previous-frame): New commands.
3685 (image-mode-map): Add new frame commands.
3686
3687 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3688
3689 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3690 If col-desc already has help-echo, use it. (Bug#13563)
3691
3692 2013-02-16 Glenn Morris <rgm@gnu.org>
3693
3694 * image.el (image-current-frame): New variable.
3695 (image-animate-timeout): Set image-current-frame.
3696 * image-mode.el (image-mode): For animated images,
3697 display a frame counter via mode-line-process.
3698
3699 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3700
3701 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3702
3703 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3704
3705 2013-02-15 Alan Mackenzie <acm@muc.de>
3706
3707 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3708 global minor mode has been enabled, call the minor mode function
3709 for a new buffer once only, after the major mode hook, whilst
3710 allowing that hook explicitly to disable the minor mode.
3711 (MODE-disable-in-buffer): New (generated) function.
3712 (disable-MODE): New (generated) buffer local variable.
3713
3714 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3715
3716 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3717 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3718 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3719 `ido-next-match' and `ido-prev-match' resply.
3720 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3721 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3722 `icomplete-backward-completions' (Bug#13708).
3723
3724 2013-02-15 Glenn Morris <rgm@gnu.org>
3725
3726 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3727
3728 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3731 (goto-address-fontify-region): Use them instead of narrowing, so
3732 syntax-ppss has access to the whole buffer.
3733
3734 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3735
3736 * progmodes/python.el: Explain how to restore "cc-mode"-like
3737 forward-sexp movement in header documentation (Bug#13642).
3738 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3739 comments and strings (GH bug 114).
3740
3741 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3742
3743 * progmodes/python.el (python-info-current-defun): Fix current
3744 defun detection (Bug#13618).
3745
3746 2013-02-15 Chong Yidong <cyd@gnu.org>
3747
3748 * xml.el (xml-parse-string): Fix typo in handling of bad character
3749 references.
3750
3751 2013-02-15 Glenn Morris <rgm@gnu.org>
3752
3753 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3754
3755 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3756
3757 * net/tramp.el (tramp-debug-message):
3758 Add `tramp-condition-case-unless-debug'.
3759 (tramp-debug-on-error): New defvar.
3760 (tramp-condition-case-unless-debug): New defun.
3761 (tramp-file-name-handler): Use it.
3762
3763 2013-02-14 Juri Linkov <juri@jurta.org>
3764
3765 * info.el (Info-isearch-filter): Treat non-nil values of
3766 `search-invisible' including its default value `open'
3767 like the value `t' to match hidden text. (Bug#13402)
3768
3769 2013-02-14 Glenn Morris <rgm@gnu.org>
3770
3771 * help-fns.el (find-lisp-object-file-name): Give special treatment
3772 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3773
3774 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3775
3776 * net/quickurl.el (quickurl-save-urls):
3777 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3778
3779 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3780
3781 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3782 depth for unfinished percent literal. Not using it in the caller.
3783 (ruby-move-to-block): Jump over multiline literals of all types,
3784 ignoring code-looking contents inside them.
3785 (ruby-add-log-current-method): Improve performance at the expense
3786 of accuracy. `ruby-block-contains-point' is relatively slow, so
3787 only use it for method and singleton class blocks.
3788
3789 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3790
3791 Use ControlMaster where applicable. (Bug#13677)
3792
3793 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3794 replacing `tramp-detect-ssh-controlmaster'.
3795 (tramp-default-method): Use it.
3796
3797 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3798 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3799 arguments.
3800 [scpc, rsyncc]: Remove methods.
3801 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3802 and "ssh2_old".
3803 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3804 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3805
3806 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * emacs-lisp/package.el (package--initialized): Move before first use.
3809
3810 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3811
3812 * icomplete.el (icomplete-hide-common-prefix): New user option.
3813 (icomplete-first-match): New face.
3814 (icomplete-completions): Correct handling of "complete but not
3815 unique" (Bug#12638).
3816
3817 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3818
3819 * descr-text.el (describe-char): Display the script (bug#13698).
3820
3821 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3823 * tmm.el: Use lexical-binding and current-active-maps.
3824 (tmm-menubar): Use map-keymap and pcase.
3825 (tmm--completion-table): New function.
3826 (tmm-prompt): Use it to fix the menu order.
3827 (tmm-get-keybind): Use current-active-maps.
3828
3829 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3830
3831 Add dired-hide-details-mode. (Bug#6799)
3832
3833 * locate.el (locate-mode): Set parent mode property to dired-mode.
3834
3835 * find-dired.el (find-dired): Call dired-insert-set-properties on
3836 initial information line. Set process mark on end of buffer.
3837 (find-dired-sentinel):
3838 Call dired-insert-set-properties on summary.
3839
3840 * dired.el (dired-hide-details-hide-symlink-targets)
3841 (dired-hide-details-hide-information-lines): New options.
3842 (dired-insert-directory):
3843 Set properties after final treatment of output.
3844 (dired-insert-set-properties):
3845 Set dired-hide-details-* properties.
3846 (dired-mode-map): Bind dired-hide-details-mode.
3847 (dired-mode): Set buffer-invisibility-spec to a list.
3848 (dired-next-line): Skip hidden lines.
3849 (dired-previous-line): Use dired-next-line.
3850 (dired-hide-details-mode): New minor mode.
3851 (dired-hide-details-update-invisibility-spec): New function.
3852
3853 2013-02-13 Glenn Morris <rgm@gnu.org>
3854
3855 * play/yow.el: Move to obsolete/. (Bug#9384)
3856
3857 2013-02-13 Juri Linkov <juri@jurta.org>
3858
3859 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3860 to select `ediff-control-frame' and set input focus correctly on Xfce.
3861 (Bug#12218)
3862
3863 2013-02-13 Juri Linkov <juri@jurta.org>
3864
3865 * image-mode.el (image-mode-map):
3866 * doc-view.el (doc-view-mode-map):
3867 * vc/ediff-util.el (ediff-setup-keymap):
3868 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3869
3870 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3871
3872 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3873 performance. Instead of recalculating indentation fully for each
3874 line, sum up indentation depth based only on visited lines.
3875 (ruby-parse-partial): Increase the depth after "do" even when END
3876 is right after it.
3877 (ruby-parse-partial): When END is in the middle of a percent
3878 literal, increase the depth if the delimiter chars belong to the
3879 paren syntax class.
3880
3881 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3882
3883 * play/fortune.el (fortune-compile): Also make the compiled file
3884 if it does not exist at all, not just if it is old. (Bug#5338)
3885
3886 2013-02-13 Glenn Morris <rgm@gnu.org>
3887
3888 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3889
3890 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3891
3892 * lisp/emacs-lisp/package.el (package-menu-execute):
3893 Add optional noquery argument. (Bug#13625)
3894
3895 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3896
3897 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3898 if DIR exists and PARENTS is non-nil.
3899
3900 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * progmodes/js.el (js--multi-line-declaration-indentation):
3903 Silence byte-compiler warning.
3904
3905 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3908
3909 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3910 only if it doesn't exist.
3911
3912 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3913 Set process marker.
3914
3915 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3916
3917 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3918 UserInstallation when calling soffice to work around LibreOffice
3919 bug 37531.
3920
3921 2013-02-12 Glenn Morris <rgm@gnu.org>
3922
3923 * files.el (basic-save-buffer):
3924 Offer to create a non-existing directory. (Bug#3016)
3925
3926 * calc/calc-graph.el (calc-graph-show-dumb):
3927 * calendar/calendar.el (calendar-mode-map):
3928 * cus-edit.el (custom-mode-map):
3929 * ehelp.el (electric-help-map):
3930 * emulation/vip.el (vip-mode-map):
3931 * epa.el (epa-key-list-mode-map):
3932 * info.el (Info-mode-map):
3933 * mail/rmail.el (rmail-mode-map):
3934 * mail/rmailsum.el (rmail-summary-mode-map):
3935 * man.el (Man-mode-map):
3936 * net/newst-plainview.el (newsticker-mode-map):
3937 * progmodes/cpp.el (cpp-edit-mode-map):
3938 * progmodes/grep.el (grep-mode-map):
3939 * progmodes/idlw-help.el (idlwave-help-mode-map):
3940 * simple.el (special-mode-map):
3941 * startup.el (splash-screen-keymap):
3942 * view.el (view-mode-map):
3943 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3944
3945 2013-02-11 Elias Pipping <pipping@lavabit.com>
3946
3947 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3948 (bug#13679).
3949
3950 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3953
3954 2013-02-11 Glenn Morris <rgm@gnu.org>
3955
3956 * vc/diff.el (diff-use-labels): New variable.
3957 (diff-no-select): Use --label rather than -L, and first
3958 check that it is supported. (Bug#11067)
3959
3960 * files.el (enable-dir-local-variables): New variable.
3961 (hack-dir-local-variables): Respect enable-dir-local-variables.
3962 * tutorial.el (help-with-tutorial):
3963 Ignore directory-local variables. (Bug#11127)
3964
3965 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3966 (vc-svn-global-switches): ... to here. (Bug#13513)
3967
3968 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3969
3970 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3971 Handle "foo (bar, default: xxx): " prompts.
3972
3973 2013-02-10 Chong Yidong <cyd@gnu.org>
3974
3975 * files.el (basic-save-buffer-1): Do not set
3976 buffer-file-coding-system-explicit (Bug#4533).
3977
3978 * mail/emacsbug.el (report-emacs-bug): Change binding of
3979 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3980
3981 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3982
3983 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3984 * calc/calc-units.el (calc-convert-units): Use new variable.
3985
3986 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3987
3988 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3989
3990 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3991 buffer-file-type.
3992
3993 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3994 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3995 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3996 coding-system-for-write instead.
3997
3998 * jka-compr.el (jka-compr-write-region): Don't bind
3999 buffer-file-type.
4000
4001 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4002 buffer-file-type.
4003
4004 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4005 (insert-file-contents-literally): Remove reference to
4006 file-name-buffer-file-type-alist.
4007
4008 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4009 make-obsolete.
4010 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4011 (find-buffer-file-type-coding-system): Remove references to
4012 find-buffer-file-type-match, find-buffer-file-type, and
4013 buffer-file-type.
4014 Don't put find-buffer-file-type-coding-system into
4015 file-coding-system-alist.
4016 (find-file-binary, find-file-text): Bind coding-system-for-read
4017 instead of file-name-buffer-file-type-alist.
4018
4019 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4020
4021 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4022 converter (Bug#13622).
4023 (doc-view-unoconv-program): Make obsolete alias.
4024 (doc-view-odf->pdf-converter-program): New variable.
4025 (doc-view-odf->pdf-converter-function): New variable.
4026 (doc-view-mode-p): Use it.
4027 (doc-view-odf->pdf-converter-unoconv):
4028 Rename from `doc-view-odf->pdf-converter-unoconv'.
4029 (doc-view-odf->pdf-converter-soffice): New function.
4030 (doc-view-convert-current-doc):
4031 Use `doc-view-odf->pdf-converter-function'.
4032
4033 2013-02-09 Chong Yidong <cyd@gnu.org>
4034
4035 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4036 view-echo-area-messages (Bug#13340).
4037
4038 * help.el (view-echo-area-messages): Use display-buffer.
4039
4040 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4041 (Bug#13561).
4042
4043 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4046 Eval body right away, now that we do eager macroexpansion (bug#13605).
4047
4048 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4049 (fundamental-mode): Use run-mode-hooks.
4050
4051 * eshell/esh-proc.el (eshell/kill): Fix last change.
4052 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4053
4054 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4055
4056 * eshell/esh-proc.el (eshell/kill): Rewrite.
4057
4058 * eshell/em-ls.el (show-almost-all): Declare.
4059 (eshell-do-ls): Add support for -A argument.
4060
4061 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4062
4063 * icomplete.el (icomplete-forward-completions)
4064 (icomplete-backward-completions): Handle corner case (bug#13602).
4065
4066 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4067
4068 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4069 be nil. Handle this. (Bug#13636)
4070
4071 2013-02-07 Richard Stallman <rms@gnu.org>
4072
4073 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4074 `save-buffer-coding-system'.
4075
4076 2013-02-07 Alan Mackenzie <acm@muc.de>
4077
4078 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4079 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4080 (c-parse-state-get-strategy): Don't return 'BOD any more.
4081 (c-append-lower-brace-pair-to-state-cache):
4082 Extra parameter HERE instead of narrowing.
4083 Widen to top of buffer before searching backwards for a brace pair.
4084 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4085 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4086 Narrow to parameter HERE, in place of being called narrowed.
4087 (c-remove-stale-state-cache): Extra parameter HERE in place of
4088 narrowing. Check there's an open brace in the cache before
4089 searching for its match.
4090 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4091 (c-parse-state-1): Don't narrow here for 'forward strategy,
4092 instead passing extra parameter HERE to several functions.
4093 Remove 'BOD strategy.
4094
4095 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4096
4097 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4098 used to install the package.
4099
4100 2013-02-06 Glenn Morris <rgm@gnu.org>
4101
4102 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4103 if we can't get user input. (Bug#6567)
4104
4105 * startup.el (command-line): If simple.el is missing,
4106 test and warn about for some possible causes.
4107
4108 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4109
4110 * cus-start.el (all): Add ns-use-native-fullscreen.
4111
4112 2013-02-05 Glenn Morris <rgm@gnu.org>
4113
4114 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4115
4116 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4117 Fix directory creation in fallback case.
4118
4119 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4120
4121 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4122 (vc-update-change-log): Use dolist.
4123
4124 2013-02-04 Chong Yidong <cyd@gnu.org>
4125
4126 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4127 code from ffap.el.
4128 (thing-at-point-beginning-of-url-regexp): New var.
4129 (thing-at-point-uri-schemes): Update list of URI schemes.
4130 (thing-at-point-url-regexp): Variable deleted.
4131 (thing-at-point-markedup-url-regexp): Disallow newlines.
4132 (thing-at-point-newsgroup-regexp)
4133 (thing-at-point-newsgroup-heads)
4134 (thing-at-point-default-mail-uri-scheme): New variables.
4135 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4136 method to find the possible bounds of the URI at point.
4137 New optional argument to find ill-formed URIs.
4138 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4139 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4140 the scheme-adding heuristics from ffap-url-at-point.
4141 (thing-at-point--bounds-of-well-formed-url): New function.
4142 Do parens matching to decide whether to include parens in the URI
4143 (Bug#9153).
4144
4145 * ffap.el: Require thingatpt.
4146 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4147 All URI-valid characters are now recognized (Bug#5673).
4148 (ffap-string-at-point): Use use-region-p.
4149 (ffap-url-regexp): Extra character is handled by thing-at-point.
4150 (ffap-string-at-point-mode-alist): Allow parentheses.
4151 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4152 Convert to aliases; code moved to thingatpt.el.
4153 (ffap-gnus-hook): Use setq-local.
4154
4155 2013-02-04 Glenn Morris <rgm@gnu.org>
4156
4157 * emacs-lisp/ert.el (ert--explain-format-atom):
4158 Don't try to print non-characters as characters. (Bug#13543)
4159
4160 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4163 (tramp-backtrace): New defun.
4164 (tramp-handle-insert-file-contents): Use `visit' when inserting
4165 the local copy.
4166
4167 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4168 Use `remote-file-name-inhibit-cache'.
4169
4170 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4173 (bug#13614).
4174
4175 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4176 current-load-list (bug#13366).
4177
4178 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4179
4180 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4181 Identify g++ template instantiation trace. (Bug#12287)
4182 (compilation-mode-hook, compilation-start-hook)
4183 (compilation-window-height): Simplify docstrings. (Bug#13379)
4184
4185 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * mouse.el (mouse-drag-track): Always deactivate the mark before
4188 running the final event's command since that command is in charge of
4189 activating the mark if needed (bug#13523).
4190
4191 2013-02-02 Juri Linkov <juri@jurta.org>
4192
4193 * replace.el (perform-replace): Move let-bindings of isearch-*
4194 variables deeper to the loop that searches for the next match.
4195 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4196 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4197 (Bug#13579)
4198
4199 * isearch.el (isearch-search-fun-default): Check for null
4200 first element of isearch-cmds as a precaution when it's used
4201 with inactive isearch.
4202
4203 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4204
4205 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4206 error when buffer in question is narrowed so position 1 is out of
4207 visible part.
4208
4209 2013-02-02 Glenn Morris <rgm@gnu.org>
4210
4211 * textmodes/remember.el (remember-clipboard): Doc fix.
4212
4213 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4216 properties (bug#13179).
4217
4218 2013-02-02 Juri Linkov <juri@jurta.org>
4219
4220 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4221 instead of hard-coded default face `match'. (Bug#9438)
4222
4223 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4224
4225 * vc/vc-arch.el (vc-arch-registered):
4226 * vc/vc-bzr.el (vc-bzr-registered):
4227 * vc/vc-cvs.el (vc-cvs-registered):
4228 * vc/vc-git.el (vc-git-registered):
4229 * vc/vc-hg.el (vc-hg-registered):
4230 * vc/vc-mtn.el (vc-mtn-registered):
4231 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4232 (Bug#13139)
4233
4234 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4235 prefix argument. (Bug#11656)
4236
4237 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4240
4241 2013-02-01 Glenn Morris <rgm@gnu.org>
4242
4243 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4244 if the backend is known not to support it.
4245
4246 * imenu.el (imenu-default-create-index-function):
4247 Tweak infinite loop test to check for forward motion as well as none.
4248
4249 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4250
4251 * net/soap-client.el (soap-invoke): Encode the string for
4252 `url-request-data' as UTF-8.
4253 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4254
4255 2013-02-01 Glenn Morris <rgm@gnu.org>
4256
4257 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4258
4259 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4260
4261 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4262
4263 * net/tramp.el (tramp-tramp-file-p): Comment check for
4264 `string-as-unibyte'. The function does not exist on XEmacs, and
4265 likely we need another approach.
4266
4267 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4268 `tramp-gw-*' variables are bound.
4269
4270 2013-01-31 Glenn Morris <rgm@gnu.org>
4271
4272 * files.el (basic-save-buffer-2): Choose coding system for
4273 writing the file before backing it up, to reduce delay between
4274 backing up and writing the new version. (Bug#13522)
4275
4276 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4277
4278 * simple.el (cycle-spacing): New command.
4279 (just-one-space): Use it.
4280
4281 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4284 (opascal-newline-always-indents): Remove custom.
4285 (opascal-tab, opascal-newline): Remove commands.
4286 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4287 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4288 (opascal-save-match-data): Remove, use save-match-data instead.
4289 (opascal-save-state): Use with-silent-modifications.
4290
4291 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4292 (bug#13585).
4293
4294 2013-01-30 Juri Linkov <juri@jurta.org>
4295
4296 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4297 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4298 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4299
4300 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4303 column if we're just deleting the backslashes.
4304 (makefile-fill-paragraph): Use eolp.
4305
4306 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4307
4308 * autorevert.el (auto-revert-use-notify): Fix docstring.
4309
4310 2013-01-30 Leo Liu <sdl.web@gmail.com>
4311
4312 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4313
4314 2013-01-30 Glenn Morris <rgm@gnu.org>
4315
4316 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4317 unread-command-events twice in some cases. This tries to implement
4318 the 2012-07-26 changes in a different way. (Bug#13560)
4319
4320 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4321
4322 * progmodes/python.el
4323 (python-pdbtrack-comint-output-filter-function): Enhancements on
4324 stacktrace detection. (thanks @gnovak)
4325
4326 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4329 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4330 Use defvar-local.
4331 (jit-lock-register): Use setq-local.
4332
4333 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4334
4335 * calc-units.el (math-default-units-table): Remove initial value.
4336 (calc-convert-units): Treat expressions where all the units cancel as
4337 if they didn't have units.
4338
4339 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4340
4341 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4342 (tramp-completion-reread-directory-timeout): Fix type.
4343 (tramp-connection-min-time-diff): New defcustom.
4344
4345 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4346
4347 2013-01-30 Glenn Morris <rgm@gnu.org>
4348
4349 * imenu.el (imenu-default-create-index-function):
4350 Put back a version of the infinite loop test removed 2013-01-23.
4351
4352 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4353
4354 * progmodes/python.el (python-shell-parse-command):
4355 Find python-shell-interpreter with modified environment.
4356
4357 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4360
4361 2013-01-29 Alan Mackenzie <acm@muc.de>
4362
4363 Amend to fontify /regexp/s in actions correctly.
4364 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4365 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4366 are no longer included.
4367 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4368 What used to be these variables without "-line" in the name.
4369 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4370 (c-awk-non-arith-op-bra-re): Now also matches {.
4371 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4372 "return", and "case".
4373 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4374 by /.
4375 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4376 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4377
4378 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4379
4380 * autorevert.el (auto-revert-use-notify):
4381 Use `custom-initialize-default' for initialization. (Bug#13583)
4382
4383 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4384
4385 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4386 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4387 in `tramp-file-name-handler'.
4388 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4389 compatibility.
4390 (tramp-compute-multi-hops): Check, whether
4391 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4392
4393 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4396 (bug#13297).
4397
4398 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4399
4400 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4401 checks made superfluous by the \_< operator.
4402 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4403 temporarily) broken indentation.
4404 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4405 Highlight nested constants, too. \_< broke that.
4406
4407 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4408
4409 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4410 instead of "\\b".
4411
4412 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4413
4414 * autorevert.el (auto-revert-handler): Notifications which result
4415 from a saved file shall not be taken into account. (Bug#13557)
4416
4417 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4418
4419 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4420 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4421 (lisp-mode): Pass t for it. (Bug#13556)
4422
4423 2013-01-25 Alan Mackenzie <acm@muc.de>
4424
4425 AWK Mode: Fix indentation bug at top level. Bug #12274.
4426
4427 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4428 just before CASE 5D.
4429
4430 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4431
4432 * net/socks.el (socks-nslookup-host): Use string-to-number.
4433
4434 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4435
4436 * autorevert.el (auto-revert-remote-files)
4437 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4438 (auto-revert-notify-enabled, auto-revert-use-notify)
4439 (auto-revert-notify-watch-descriptor-hash-list)
4440 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4441 (auto-revert-notify-event-descriptor)
4442 (auto-revert-notify-event-action)
4443 (auto-revert-notify-event-file-name): Doc fix.
4444 (global-auto-revert-mode): Reorder checks.
4445 (auto-revert-notify-rm-watch): Respect changed values of
4446 `auto-revert-notify-watch-descriptor-hash-list'.
4447 (auto-revert-notify-add-watch): Check for
4448 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4449 `inotify-add-watch'. Watch `default-directory' instead of
4450 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4451 has a changed meaning now. (Bug#13540)
4452 (auto-revert-notify-handler): Change implementation wrt events
4453 returning from a directory.
4454 (auto-revert-handler): Reorder implementation for checks of remote
4455 files.
4456 (auto-revert-buffers): Fix parentheses error.
4457
4458 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4459
4460 * progmodes/python.el: Enhancements to header documentation about
4461 skeletons. (Bug#5716)
4462
4463 * imenu.el (imenu-default-create-index-function): Remove useless
4464 infinite loop check. (Bug#13438)
4465
4466 2013-01-25 Alan Mackenzie <acm@muc.de>
4467
4468 Fix a bug in the state cache mechanism. Refactor this a bit.
4469
4470 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4471 `cache-pos' element from the return value.
4472 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4473 buffer to enable proper searching from beyond HERE. Amend the
4474 test for detecting the sought brace pair. Amend the value written
4475 to the "brace desert cache" when the brace isn't found.
4476 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4477 and several other variables analogously.
4478 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4479 parameter to a locally calculated variable.
4480 (c-parse-state-1): Change the calling conventions to the two
4481 defuns involving `cache-pos'.
4482
4483 2013-01-25 Chong Yidong <cyd@gnu.org>
4484
4485 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4486
4487 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4488
4489 * paren.el (show-paren-function): Make sure to set 'priority and
4490 'face only if the overlay does exist.
4491
4492 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4493
4494 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4495
4496 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4497 basic attributes.
4498 (tramp-sh-handle-set-file-acl): Improve error checking.
4499
4500 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4501
4502 * doc-view.el (doc-view-display): Force mode line update until all
4503 document is converted. Suggested by Stefan Monnier (Bug#13164).
4504
4505 2013-01-23 Bastien Guerry <bzg@gnu.org>
4506
4507 * paren.el (show-paren-function): Make sure an overlay exists
4508 before trying to delete it. Also use `pos' as a position only
4509 when it is an integer.
4510
4511 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4512
4513 * play/gametree.el (gametree-break-line-here): Use point-marker.
4514
4515 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4516
4517 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4518 Mark descriptive parts with `display' property.
4519
4520 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4521
4522 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4523 New variable to map standard dict names to hunspell ones.
4524 (ispell-set-spellchecker-params): Make sure specific dict names
4525 are used for standard dicts with hunspell.
4526
4527 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4528
4529 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4530 chars for note (%N) and url (%U).
4531 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4532
4533 2013-01-21 Juri Linkov <juri@jurta.org>
4534
4535 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4536 in addition to existing separate binding `meta f10' in `global-map'.
4537 (Bug#13484)
4538
4539 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4540
4541 Improve XEmacs compatibility.
4542
4543 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4544
4545 * net/tramp-adb.el (top): Require `time-date'.
4546 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4547 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4548 Use `tramp-file-name-handler'.
4549 (tramp-adb-maybe-open-connection):
4550 Use `tramp-compat-set-process-query-on-exit-flag'.
4551
4552 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4553 Use `tramp-compat-funcall'.
4554
4555 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4556 `tramp-compat-funcall'.
4557
4558 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4559
4560 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4561 reimplementation using "adb shell command ..." instead of running
4562 remote shell interactively.
4563
4564 2013-01-20 Glenn Morris <rgm@gnu.org>
4565
4566 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4567 Add native profiler menu entries.
4568
4569 * profiler.el (profiler-running-p): New function.
4570 (profiler-cpu-profile): Use profiler-running-p.
4571 (profiler-report-mode-map): Add some more menu entries.
4572
4573 2013-01-19 Glenn Morris <rgm@gnu.org>
4574
4575 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4576 fixes 2012-12-07 change. (Bug#13499)
4577
4578 2013-01-19 Leo Liu <sdl.web@gmail.com>
4579
4580 * dired.el (dired-get-marked-files): Prune erroneous values due to
4581 last change. (Bug#13152)
4582
4583 2013-01-19 Glenn Morris <rgm@gnu.org>
4584
4585 * progmodes/etags.el (tags-table-check-computed-list):
4586 Preserve point in tags buffer. (Bug#13412)
4587
4588 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4589
4590 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4591 Chong Yidong <cyd@gnu.org>
4592
4593 * image-mode.el (image-next-file, image-previous-file):
4594 New commands (Bug#8453).
4595 (image-mode-map): Bind them to n and p.
4596 (image-mode--images-in-directory): New helper function.
4597
4598 2013-01-19 Chong Yidong <cyd@gnu.org>
4599
4600 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4601 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4602 save and restore the old window configuration.
4603
4604 2013-01-18 Leo Liu <sdl.web@gmail.com>
4605
4606 * progmodes/js.el: Tweak autoload cookie for alias.
4607
4608 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4609
4610 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4611 buffer local, again. This was lost with the fix on 2013-01-12.
4612
4613 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4614
4615 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4616 order to support several eshell buffers in parallel.
4617
4618 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4619
4620 * autorevert.el (auto-revert-use-notify): In the :set function, do
4621 not modify `kill-buffer-hook'.
4622 (auto-revert-notify-rm-watch):
4623 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4624 (auto-revert-notify-add-watch): Do not call
4625 `auto-revert-notify-rm-watch', but add it to a buffer local
4626 `kill-buffer-hook'.
4627
4628 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4631 call to `eval' rather than a backquoted lambda.
4632
4633 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4636 to return an explicit nil.
4637 (advice--remove-function): Change accordingly.
4638
4639 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4640 the use of nadvice.el.
4641
4642 * progmodes/which-func.el (which-function): Silence imenu errors
4643 (bug#13433).
4644
4645 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4646
4647 * progmodes/sql.el (sql-imenu-generic-expression):
4648 (sql-mode-font-lock-object-name): Match schema qualified names.
4649 (sql-connect): Use string keys.
4650 (sql-product-interactive): Wait for interpreter prompt.
4651 (sql-comint-oracle): Set process coding based on NLS_LANG.
4652
4653 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4654
4655 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4656 (sql-interactive-remove-continuation-prompt):
4657 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4658
4659 2013-01-14 Leo Liu <sdl.web@gmail.com>
4660
4661 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4662 (Bug#13420)
4663
4664 2013-01-14 Glenn Morris <rgm@gnu.org>
4665
4666 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4667 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4668
4669 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4670
4671 * progmodes/python.el (python-nav-end-of-statement):
4672 Fix cornercase when handling multiline strings.
4673
4674 2013-01-13 Richard Stallman <rms@gnu.org>
4675
4676 * mail/sendmail.el (mail-position-on-field): Add doc string.
4677
4678 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4679 Get current message boundaries and pass them to
4680 message-forward-make-body-mime. Minor style changes.
4681
4682 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4683
4684 * cus-start.el (all): Avoid warnings about
4685 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4686
4687 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4688
4689 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4690
4691 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4694 (jit-lock--debug-fontifying): New var.
4695 (jit-lock--debug-fontify): New function.
4696 * subr.el (condition-case-unless-debug): Don't prevent catching the
4697 error, just let the debbugger run.
4698 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4699 timer code and don't drop errors silently.
4700
4701 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4702
4703 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4704 `permanent-local' property.
4705 (auto-revert-notify-handler): Use `file-equal-p'.
4706
4707 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4708
4709 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4710 file notification by ACTION. For filtering by file name, compare
4711 only the non-directory part of the file name.
4712
4713 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * autorevert.el: Use cl-lib instead of cl.
4716
4717 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4718 (vc-bzr-checkin): Use it.
4719 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4720 will preserve match-data.
4721
4722 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4723
4724 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4725 (js--declaration-keyword-re): New var.
4726 (js--multi-line-declaration-indentation): New function.
4727 (js--proper-indentation): Use it.
4728
4729 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4730
4731 * calc/calc.el (calc-highlight-selections-with-faces)
4732 (calc-dispatch):
4733 * comint.el (comint-history-isearch-message):
4734 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4735 * ffap.el (ffap-string-at-point-region, ffap-next)
4736 (ffap-string-at-point, ffap-string-around)
4737 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4738 (ffap-literally):
4739 * font-lock.el (font-lock-keywords-alist)
4740 (font-lock-removed-keywords-alist):
4741 * help-mode.el (help-xref-symbol-regexp):
4742 * info.el (Info-find-emacs-command-nodes):
4743 * international/mule.el (add-to-coding-system-list):
4744 * isearch.el (isearch-message-function, isearch-fail-pos):
4745 * misearch.el (multi-isearch-next-buffer-function):
4746 * newcomment.el (comment-box):
4747 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4748 (pr-setting-database):
4749 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4750 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4751 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4752 (pike-font-lock-keywords-3):
4753 * progmodes/compile.el (compile):
4754 * progmodes/etags.el (tags-table-files)
4755 (tags-table-files-function, tags-included-tables-function):
4756 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4757 (gdb-restore-windows):
4758 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4759 (ps-n-up-filling-database):
4760 * server.el (server-buffer, server-log):
4761 * simple.el (newline, delete-backward-char, delete-forward-char)
4762 (minibuffer-history-isearch-message, kill-line, track-eol)
4763 (temporary-goal-column):
4764 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4765 (flyspell-default-deplacement-commands):
4766 * textmodes/ispell.el (ispell-accept-output):
4767 * textmodes/sgml-mode.el (html-tag-help):
4768 * vc/compare-w.el (compare-ignore-whitespace)
4769 (compare-ignore-case, compare-windows-dehighlight):
4770 * vc/diff.el (diff):
4771 * whitespace.el (whitespace-point)
4772 (whitespace-font-lock-refontify, whitespace-bob-marker)
4773 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4774
4775 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4776
4777 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4778 (auto-revert-notify-rm-watch): Ignore errors.
4779 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4780 inotify, and '(size last-write-time) for w32notify.
4781 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4782 watch fails - this is a fallback to the file modification check.
4783 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4784 (auto-revert-notify-event-action)
4785 (auto-revert-notify-event-file-name): New defuns.
4786 (auto-revert-notify-handler): Use them. Implement first
4787 plausibility checks.
4788 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4789
4790 2013-01-11 Julien Danjou <julien@danjou.info>
4791
4792 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4793 max are almost equal. Also return the correct value for V which is
4794 already between 0 and 1.
4795
4796 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4797
4798 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4799
4800 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4801
4802 * autorevert.el (auto-revert-notify-rm-watch)
4803 (auto-revert-notify-add-watch): Fix typos in w32notify function
4804 names.
4805
4806 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4807
4808 * autorevert.el (auto-revert-notify-enabled): Move up.
4809 (auto-revert-use-notify): New defcustom.
4810 (auto-revert-mode, global-auto-revert-mode)
4811 (auto-revert-notify-add-watch, auto-revert-handler)
4812 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4813 `auto-revert-notify-enabled'.
4814
4815 2013-01-10 Elias Pipping <pipping@exherbo.org>
4816
4817 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4818 * doc-view.el (doc-view-document->bitmap):
4819 Use doc-view-single-page-converter-function instead of
4820 single-page-converter arg; adjust callers.
4821
4822 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4823
4824 * progmodes/which-func.el (which-function): Understand Semantic's use
4825 of overlays in imenu--index-alist.
4826
4827 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4828
4829 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4830 (Man-man-k-use-anchor): New var.
4831 (Man-parse-man-k): New function.
4832 (Man-completion-table): Use it.
4833 (man): Flush the completion cache between uses.
4834
4835 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4836
4837 * autorevert.el: Add file watch support.
4838 (auto-revert-notify-enabled): New defconst.
4839 (auto-revert-notify-watch-descriptor-hash-list)
4840 (auto-revert-notify-watch-descriptor)
4841 (auto-revert-notify-modified-p): New defvars.
4842 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4843 (auto-revert-notify-handler): New defuns.
4844 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4845 when mode is disabled.
4846 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4847 (auto-revert-buffers): Add file watches for active buffers.
4848
4849 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4850
4851 * cus-start.el (toplevel): Only allow float values for
4852 scroll-up-aggressively and scroll-down-aggressively.
4853 Allow any number for line-spacing.
4854
4855 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4858 (doc-view-pdf->png-converter-function): Use mupdf if available.
4859 (doc-view-djvu->png-converter-function)
4860 (doc-view-ps->png-converter-function): Remove.
4861 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4862 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4863 (doc-view-already-converted-p): Adjust accordingly.
4864 (doc-view-mode-p): Simplify.
4865 (doc-view-enlarge): Use setq-local.
4866 (doc-view-pdf->png-converter-ghostscript)
4867 (doc-view-djvu->png-converter-ddjvu)
4868 (doc-view-pdf->png-converter-mupdf): Rework to call
4869 doc-view-start-process directly.
4870 (doc-view-pdf/ps->png): Simplify accordingly.
4871 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4872 (doc-view-document->bitmap): Rename from doc-view-document->png.
4873 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4874 (doc-view-set-slice-from-bounding-box): Fix completion table.
4875 (doc-view-mode): Use add-hook for after-revert-hook.
4876
4877 2013-01-10 Glenn Morris <rgm@gnu.org>
4878
4879 * emacs-lisp/authors.el (authors-ignored-files)
4880 (authors-valid-file-names, authors-renamed-files-alist):
4881 Add some more entries.
4882
4883 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4886 `t' pseudo-window entry.
4887
4888 2013-01-10 Alan Mackenzie <acm@muc.de>
4889
4890 Fix bugs in the c-parse-state mechanism. Reuse some markers
4891 instead of continually generating new ones.
4892
4893 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4894 (c-state-old-cpp-end-marker): New variables.
4895 (c-append-lower-brace-pair-to-state-cache): Start a backward
4896 search for "}" definitively outside CPP constructs.
4897 (c-remove-stale-state-cache): Inform the caller of a need to
4898 search back for a brace pair in certain circumstances.
4899 (c-state-maybe-marker): New macro.
4900 (c-parse-state): Reuse markers when appropriate.
4901
4902 2013-01-10 Glenn Morris <rgm@gnu.org>
4903
4904 * simple.el (execute-extended-command): Doc fix.
4905 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4906
4907 2013-01-10 Chong Yidong <cyd@gnu.org>
4908
4909 * faces.el (read-face-name): Doc fix.
4910
4911 2013-01-10 Roland Winkler <winkler@gnu.org>
4912
4913 * emacs-lisp/crm.el: Allow any regexp for separators.
4914 (crm-default-separator): All spaces around the default comma separator.
4915 (crm--completion-command): New macro.
4916 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4917 (crm-complete-and-exit): Handle non-single-char separators.
4918
4919 2013-01-09 Elias Pipping <pipping@lavabit.com>
4920
4921 * doc-view.el: Add support for DjVu (bug#13164).
4922 (doc-view-djvu->png-converter-function): New config var.
4923 (doc-view-single-page-converter-function, doc-view--image-type)
4924 (doc-view--image-file-extension): New vars.
4925 (doc-view-mode): Initialize them.
4926 (doc-view-goto-page): Use them.
4927 (doc-view-mode-p): Add support for ddjvu.
4928 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4929 (doc-view-set-up-single-converter): New funs.
4930 (doc-view-pdf/ps->png): Extend for djvu.
4931 (doc-view-document->png): Rename from doc-view-pdf->png.
4932 (doc-view-convert-current-doc): Handle djvu.
4933 (doc-view-insert-image, doc-view-display)
4934 (doc-view-already-converted-p): Don't hardcode png.
4935 (doc-view-set-doc-type): Recognize djvu docs.
4936
4937 2013-01-09 Elias Pipping <pipping@lavabit.com>
4938
4939 * doc-view.el: Add support for mupdf converter (bug#13164).
4940 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4941 (doc-view-ps->png-converter-function): New config vars.
4942 (doc-view-pdf->png-converter-ghostscript)
4943 (doc-view-ps->png-converter-ghostscript)
4944 (doc-view-pdf->png-converter-mupdf): New functions.
4945 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4946
4947 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4948
4949 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4950 first in session cache: When `tramp-own-remote-path' is in
4951 `tramp-remote-path', the remote path is only set in the session
4952 cache.
4953
4954 2013-01-09 Glenn Morris <rgm@gnu.org>
4955
4956 * emacs-lisp/trace.el (trace-function-foreground)
4957 (trace-function-background): Doc fix.
4958
4959 2013-01-09 Juri Linkov <juri@jurta.org>
4960
4961 * international/mule-cmds.el (read-char-by-name): Move let-binding
4962 of completion-ignore-case around completing-read to fix regression
4963 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4964 `string-match-p' using the nil value of `case-fold-search' and
4965 `completion-ignore-case' in `completion-pcm--all-completions'.
4966 (Bug#12615).
4967
4968 2013-01-09 Glenn Morris <rgm@gnu.org>
4969
4970 * progmodes/compile.el (compilation-parse-errors):
4971 Fix typo. (Bug#13369)
4972
4973 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4974
4975 * comint.el (comint-send-input): Check size of buffer before
4976 waiting for process output, in case already accepted. (Bug#13290)
4977
4978 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4979
4980 Spelling fixes.
4981 * net/tramp-adb.el (tramp-adb-get-toolbox):
4982 Fix misspelling of 'unknown'.
4983
4984 2013-01-08 Juri Linkov <juri@jurta.org>
4985
4986 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4987 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4988 Use underline style wave on terminals that support it. (Bug#13000)
4989
4990 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4993 the predicate returns nil.
4994
4995 * simple.el: Use lexical-binding.
4996 (primitive-undo): Use pcase.
4997 (minibuffer-history-isearch-push-state): Use a closure.
4998
4999 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5000
5001 * simple.el (primitive-undo): Move from undo.c.
5002
5003 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5006 (cvs-mode-remove-handled): Use it (bug#13380).
5007
5008 * emacs-lisp/nadvice.el (advice--tweak): New function.
5009 (advice--remove-function, advice--subst-main): Use it.
5010
5011 * emacs-lisp/advice.el: Update commentary.
5012
5013 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5014
5015 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5016 Remove spurious entry.
5017
5018 2013-01-08 Glenn Morris <rgm@gnu.org>
5019
5020 * net/tramp.el (tramp-default-host-alist): Add :version.
5021
5022 2013-01-08 Juri Linkov <juri@jurta.org>
5023
5024 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5025 single completion. (Bug#12456)
5026 (info--manual-names): Expand node completions into an explicit list
5027 before appending it to another list. Filter out internal buffers
5028 with the leading space in the buffer name. (Bug#10771)
5029
5030 2013-01-08 Juri Linkov <juri@jurta.org>
5031
5032 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5033 that defaults to the Top node.
5034 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5035 the short format (FILENAME) goes to the Top node.
5036 (Info-build-node-completions): Rename arg `file' to `filename'.
5037 (Bug#13365)
5038
5039 2013-01-07 Bastien Guerry <bzg@gnu.org>
5040
5041 * menu-bar.el (menu-bar-search-documentation-menu):
5042 Use `apropos-user-option' and fix the help message.
5043
5044 2013-01-07 Bastien Guerry <bzg@gnu.org>
5045
5046 * apropos.el (apropos-do-all): Update docstring.
5047 (apropos-user-option-button): New face.
5048 (apropos-user-option): Rename from `apropos-variable' and update
5049 docstring.
5050 (apropos-variable): Rewrite, now show all variables by default.
5051 (apropos-print): Mention "User option" instead of "Variable" when
5052 printing doc for user options. (Bug#13276)
5053
5054 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
5055
5056 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5057 Handle filename correctly, when parsing "source -> target" symlink
5058 output.
5059 (tramp-adb-handle-set-file-times): New defun.
5060
5061 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5062
5063 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5064 advice list when the interactive-spec of ad-Advice-* changes.
5065
5066 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5067
5068 * wid-edit.el (widget-default-get): Work for inlined elements.
5069 (Bug#12670)
5070
5071 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5072
5073 * net/tramp.el (tramp-default-host-alist): New defcustom.
5074 (tramp-find-host): Use it.
5075 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5076 `eshell-directory-change-hook'.
5077
5078 * net/tramp-adb.el (top): Add adb specific entry in
5079 `tramp-default-host-alist'.
5080 (tramp-adb-file-name-host): Remove function.
5081 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5082 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5083
5084 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5085
5086 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
5087
5088 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5089
5090 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5091
5092 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5093 consist of more than one digit.
5094 (tramp-adb-file-name-handler-alist):
5095 Use `tramp-handle-file-exists-p' consistently.
5096 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5097 (tramp-adb-handle-file-exists-p): Remove function.
5098 (tramp-adb-file-name-host): New defun.
5099 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5100 Use it.
5101 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5102
5103 2013-01-06 Chong Yidong <cyd@gnu.org>
5104
5105 * vc/vc.el (vc-next-action): Detect buffer modifications
5106 conflicting with locking VCS operation (Bug#11490).
5107
5108 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5109
5110 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5111
5112 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5113 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5114
5115 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5116
5117 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5118 parsing of ls output using regular expression (handle filenames
5119 with spaces). Use virtual device number.
5120 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5121 cleanup).
5122
5123 2013-01-04 Daiki Ueno <ueno@gnu.org>
5124
5125 * epg.el: Silence byte-compiler warnings.
5126 (epg--start): Use delete-char instead of delete-backward-char.
5127 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5128
5129 2013-01-04 Daiki Ueno <ueno@gnu.org>
5130
5131 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5132 Suggested by Eli Zaretskii <eliz@gnu.org>.
5133
5134 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5135
5136 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5137 non-negative integers. Otherwise, the default values are used.
5138 (tramp-convert-file-attributes): Convert uid and gid to integers.
5139
5140 2013-01-04 Glenn Morris <rgm@gnu.org>
5141
5142 * term.el (term-handle-colors-array): Ensure face attributes
5143 are fully specified, not nil. (Bug#13337)
5144
5145 * term.el (term-default-fg-color, term-default-bg-color):
5146 Fix custom type.
5147
5148 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5149 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5150 rather than 'jka-compr being loaded. (Bug#13338)
5151
5152 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5153
5154 * icomplete.el (icomplete-completions):
5155 Honor icomplete-prospects-height once more following
5156 2012-11-29 changes. (Bug#13224)
5157
5158 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5161 of called-interactively-p as well (bug#13237).
5162
5163 * view.el (view--enable, view--disable): Rename from view-mode-enable
5164 and view-mode-disable and assume it's called from view-mode.
5165 (view-mode-enable, view-mode-disable): Redefine as obsolete
5166 compatibility layer above view-mode.
5167 (view-mode-enter): Call `view-mode'.
5168
5169 * files.el (after-find-file): Call `view-mode'.
5170
5171 * doc-view.el (doc-view-scale-internally): New var.
5172 (doc-view-enlarge, doc-view-insert-image): Obey it.
5173
5174 2013-01-03 Daiki Ueno <ueno@gnu.org>
5175
5176 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5177 exist. (Bug#13344)
5178
5179 2013-01-03 Glenn Morris <rgm@gnu.org>
5180
5181 * mail/rmail.el (rmail-set-header-1): Ignore case.
5182 Handle multi-line headers. (Bug#13330)
5183
5184 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5185 Handle paragraph starting at beginning of buffer.
5186
5187 * subr.el (eval-after-load): Don't purecopy the form, so that it
5188 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5189
5190 * emacs-lisp/byte-run.el (defun): Place cl declarations
5191 after any interactive spec. (Bug#13265)
5192
5193 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5194
5195 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5196 defun. Don't check for DECL if DOCSTRING isn't a string.
5197 (defun): Likewise.
5198
5199 2013-01-02 Glenn Morris <rgm@gnu.org>
5200
5201 * eshell/em-cmpl.el (eshell-pcomplete):
5202 More thoroughly imitate pcomplete. (Bug#13293)
5203
5204 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5205 Return nil for empty path elements. (Bug#13296)
5206
5207 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5208
5209 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5210 order to improve efficiency (Based on Daniel Colascione's
5211 <dancol@dancol.org> patch). (Bug#13182)
5212
5213 2013-01-02 Glenn Morris <rgm@gnu.org>
5214
5215 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5216
5217 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5218
5219 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5220 neither DOCSTRING nor DECL was given. (Bug#13316)
5221
5222 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5223
5224 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5225 `error' call.
5226 (tramp-do-copy-or-rename-file): Ignore errors when calling
5227 `set-file-extended-attributes'.
5228
5229 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5230 Add handler for `file-acl'.
5231 (tramp-smb-handle-file-acl): New defun.
5232
5233 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5234
5235 * calc/README: Mention ISO 8601 week-numbering dates.
5236
5237 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5238
5239 * view.el (view-mode-enable): New argument run-view-mode-hook.
5240 Run view-mode-hook only when it's non-nil (Bug#13315).
5241 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5242 argument t.
5243
5244 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5245
5246 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5247 (No device connected, invalid device name). (Bug #13299)
5248
5249 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5250
5251 * window.el (window-resizable--p): Rename to window-resizable-p.
5252 (window-resize-no-error): New function.
5253
5254 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5255 broken in fix from 2012-12-28.
5256
5257 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * subr.el (special-form-p): Don't signal errors on undef aliases.
5260
5261 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5262
5263 * calc/calc-forms.el (math-parse-date): Try using
5264 `math-parse-iso-date' when it looks like it might be needed.
5265 Allow times of 24:00.
5266 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5267 of 24:00.
5268
5269 2012-12-30 Glenn Morris <rgm@gnu.org>
5270
5271 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5272 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5273 (rmail-summary-displayed, rmail-summary): Declare.
5274 (mairix-rmail-display): Just require rmail.
5275
5276 2012-12-30 Chong Yidong <cyd@gnu.org>
5277
5278 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5279 check for the tarball contents.
5280
5281 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5282
5283 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5284 tarfile content listings (Bug#13136).
5285
5286 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5287
5288 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5289 Insert the undecoded text of the message being forwarded. (Bug#9521)
5290
5291 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5292
5293 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5294 integers, if they are real numbers. (Bug#13282)
5295
5296 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5297 Return `t' on success.
5298
5299 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5300 Add handler for `set-file-selinux-context'.
5301
5302 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5303
5304 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5305 (tramp-sh-handle-set-file-acl): Return `t' on success.
5306
5307 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5308
5309 * files.el (backup-buffer-copy, basic-save-buffer-2):
5310 If set-file-extended-attributes fails, fall back on set-file-modes
5311 instead of signaling an error. (Bug#13298)
5312 (basic-save-buffer): Likewise.
5313
5314 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5315
5316 * progmodes/python.el: Support other commands triggering
5317 python-indent-line so indentation cycling continues to work.
5318 (python-indent-trigger-commands): New defcustom.
5319 (python-indent-line): Use it.
5320
5321 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5322
5323 * progmodes/python.el (python-shell-send-region): Add blank lines
5324 for non sent code so backtraces remain correct.
5325
5326 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5327
5328 * progmodes/python.el: Remove cl dependency.
5329 (python-syntax-count-quotes): Replace incf call.
5330 (python-fill-string): Replace setf call.
5331
5332 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5333
5334 * info.el (info-other-window): New arg, for consistency with info.
5335
5336 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5337
5338 * mail/rmail.el (rmail-maybe-display-summary):
5339 Rewrite (Bug#13066).
5340
5341 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5342
5343 * epg.el (epg--start): Modify process-environment locally.
5344
5345 2012-12-28 Daiki Ueno <ueno@gnu.org>
5346
5347 * epg.el: Support pinentry-curses.
5348 Suggested by Werner Koch in
5349 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5350 (epg-agent-file, epg-agent-mtime): New variable.
5351 (epg--start): Record the modified time of gpg-agent socket file,
5352 to restore Emacs frame after pinentry-curses termination.
5353 (epg-wait-for-completion): Restore Emacs frame here.
5354
5355 2012-12-27 Juri Linkov <juri@jurta.org>
5356
5357 * info.el (Info-file-completions): New variable.
5358 (Info-read-node-name-1): Complete node names in the Info file
5359 when a file name is given. Call `Info-build-node-completions'
5360 with a file name.
5361 (Info-build-node-completions): Add new arg `file'. When it is
5362 non-nil, visit it in a temporary buffer and cache its completions in
5363 `Info-current-file-completions'. Move most of the function body to
5364 `Info-build-node-completions-1'.
5365 (Info-build-node-completions-1): New function with the body from
5366 `Info-build-node-completions'. (Bug#12456)
5367
5368 2012-12-27 Juri Linkov <juri@jurta.org>
5369
5370 * frame.el (frame-maximization-style): Remove user option.
5371 (cycle-frame-maximized): Remove function.
5372 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5373 (toggle-frame-fullscreen): New command bound to <f11> instead of
5374 `toggle-frame-maximized'.
5375 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5376
5377 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5378
5379 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5380
5381 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5382 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5383 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5384 for `file-accessible-directory-p'. (Bug#13275)
5385
5386 2012-12-27 Sam Steingold <sds@gnu.org>
5387
5388 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5389 continuations, see <http://stackoverflow.com/questions/3582436>.
5390
5391 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5392
5393 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5394 "module" and "def" to have indentation before them.
5395 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5396
5397 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5398
5399 2012-12-27 Alan Mackenzie <acm@muc.de>
5400
5401 Speed up fontification where there's large brace blocks.
5402 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5403 to a call of c-beginning-of-decl-1.
5404
5405 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5406
5407 * comint.el (comint-adjust-window-point): New function.
5408 (comint-postoutput-scroll-to-bottom):
5409 Call comint-adjust-window-point (Bug#13248).
5410
5411 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5412
5413 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5414 Rakefile regexp.
5415 (auto-mode-alist): Associate .gemspec files with ruby-mode
5416 (https://bugs.ruby-lang.org/issues/5453).
5417
5418 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5419
5420 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5421 Suppress coloring, if possible (required for BusyBox based systems like
5422 CyanogenMod).
5423 (tramp-adb-handle-file-attributes)
5424 (tramp-adb-handle-insert-directory)
5425 (tramp-adb-handle-file-name-all-completions): Use it.
5426 (tramp-adb-get-toolbox): New defun. Check for remote shell
5427 implementation (BusyBox or Toolbox).
5428
5429 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5430
5431 * startup.el (initial-buffer-choice): Allow function as value
5432 (Bug#13251).
5433 (command-line-1): Handle case where initial-buffer-choice
5434 specifies a function.
5435 * server.el (server-execute): Handle case where
5436 initial-buffer-choice specifies a function.
5437
5438 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5439
5440 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5441 its own function.
5442 (smtpmail-try-auth-methods): Forget the user name/password if the
5443 login is unsuccessful (bug#12424).
5444
5445 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5446
5447 * notifications.el (notifications-notify): Protect body with
5448 `with-demoted-errors'.
5449
5450 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5451 Check properties of remote device. Restart connection, if there is a
5452 change.
5453
5454 2012-12-21 Chong Yidong <cyd@gnu.org>
5455
5456 * sort.el (sort-subr): Doc fix (Bug#13056).
5457
5458 2012-12-21 Bastien Guerry <bzg@gnu.org>
5459
5460 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5461
5462 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5463
5464 * simple.el (process-file): Overwrite stderr file, if exists.
5465
5466 2012-12-21 Daiki Ueno <ueno@gnu.org>
5467
5468 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5469 (epg-error): Set `error-message' property.
5470
5471 2012-12-21 Chong Yidong <cyd@gnu.org>
5472
5473 * international/mule-cmds.el (read-char-by-name): Signal an error
5474 if the user does not supply a valid character (Bug#13177).
5475
5476 * simple.el (transpose-subr-1): Preserve marker positions by
5477 changing the insertion sequence (Bug#13122).
5478
5479 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5480
5481 * simple.el (kill-region): Deactivate mark even for empty regions
5482 (Bug#13169).
5483
5484 2012-12-21 Chong Yidong <cyd@gnu.org>
5485
5486 * help-fns.el (describe-variable): Make sure we get the right
5487 buffer name (Bug#13105). Suggested by Kelly Dean.
5488
5489 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5490
5491 * comint.el (comint-redirect-previous-input-string): New variable.
5492 (comint-redirect-setup, comint-redirect-cleanup)
5493 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5494 (comint-redirect-preoutput-filter): Fix verbose message.
5495
5496 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5499 is too long for Tramp. See discussion in
5500 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5501
5502 * progmodes/compile.el (compilation-start): Remove line escape
5503 template.
5504
5505 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5506
5507 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5508 Adjust comment.
5509
5510 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5511
5512 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5513 following non-comment text (bug#13207).
5514 (lm-header-multiline): Continuation lines need to be indented more than
5515 the first line.
5516 (lm-homepage): New function.
5517 (lm-with-file): Don't be confused if narrowing is in effect.
5518
5519 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5522 very beginning of a hunk (e.g. killing the first line).
5523
5524 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5525
5526 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5527 and text properties from returned ACL string.
5528 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5529 for "setfacl" command.
5530
5531 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5532
5533 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5534 `tramp-cleanup-this-connection', when the process has died.
5535 (Bug#13151)
5536
5537 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5540
5541 2012-12-17 Kevin Ryde <user42@zip.com.au>
5542
5543 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5544
5545 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5546
5547 Add support for preserving ACL entries of files.
5548
5549 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5550 `set-file-acl' handlers.
5551
5552 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5553 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5554
5555 * net/tramp-compat.el (tramp-compat-copy-file):
5556 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5557
5558 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5559 Add `file-acl' and `set-file-acl' handlers.
5560 (tramp-gvfs-handle-copy-file):
5561 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5562 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5563 New defuns.
5564
5565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5566 Add `file-acl' and `set-file-acl' handlers.
5567 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5568 (tramp-sh-handle-set-file-acl): New defuns.
5569 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5570 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5571
5572 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5573 Add `file-acl' and `set-file-acl' handlers.
5574 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5575
5576 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5577
5578 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5579 use pop-to-buffer with NORECORD argument t. As buffer name, use
5580 *Metahelp* with a leading space (Bug#13190).
5581
5582 2012-12-16 Romain Francoise <romain@orebokech.com>
5583
5584 * files.el (file-extended-attributes)
5585 (set-file-extended-attributes): New functions.
5586 (backup-buffer): Use them to handle both SELinux context and ACL
5587 entries.
5588 (backup-buffer-copy): Work with an alist of extended attributes,
5589 rather than an SELinux context.
5590 (basic-save-buffer-2): Ditto.
5591
5592 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5593
5594 * battery.el (battery-bsd-apm): New function.
5595
5596 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5597
5598 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5599 standard date formats.
5600
5601 2012-12-15 Juri Linkov <juri@jurta.org>
5602
5603 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5604 `isearch-insert-char-by-name'.
5605 (with-isearch-suspended): New defmacro with body mostly from
5606 `isearch-edit-string' except the part that sets
5607 `isearch-new-string' and `isearch-new-message'.
5608 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5609 body that sets `isearch-new-string' and `isearch-new-message'.
5610 (isearch-insert-char-by-name): New command.
5611 * international/mule-cmds.el (read-char-by-name): Let-bind
5612 `enable-recursive-minibuffers' to t.
5613 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5614
5615 2012-12-15 Juri Linkov <juri@jurta.org>
5616
5617 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5618 (Bug#13175)
5619
5620 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5621
5622 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5623 the prompt. (Bug#13045)
5624
5625 2012-12-14 Glenn Morris <rgm@gnu.org>
5626
5627 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5628 Try to include filename in non-bytecomp warning. (Bug#13132)
5629
5630 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5631
5632 Fix permissions bugs with setgid directories etc. (Bug#13125)
5633 * files.el (backup-buffer): Don't rely on 9th output of
5634 file-attributes, as it's now a placeholder. Instead, use the new
5635 optional arg of file-ownership-preserved-p.
5636 (file-ownership-preserved-p): New optional arg GROUP.
5637 Fix mishandling of setuid directories that would cause this
5638 function to return t when it should have returned nil.
5639 Document what happens if the file does not exist, and when
5640 it's not known whether the ownership will be preserved.
5641 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5642 Likewise.
5643 (tramp-get-local-gid): Use group-gid for integer, as that's
5644 faster and more reliable.
5645
5646 2012-12-14 Julien Danjou <julien@danjou.info>
5647
5648 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5649 Update keywords list, data type and PL/pgSQL.
5650
5651 2012-12-14 Dave Abrahams <dave@boostpro.com>
5652
5653 * vc/ediff-util.el (ediff-buffer-type): New function.
5654 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5655 rather than taking it as as argument.
5656 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5657
5658 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5659
5660 * json.el: Add pretty-print option (bug#12634).
5661 (json-encoding-separator, json-encoding-default-indentation)
5662 (json--encoding-current-indentation, json-encoding-pretty-print)
5663 (json-encoding-lisp-style-closings): New vars.
5664 (json--with-indentation): New macro.
5665 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5666 (json-encode-array): Use it to obey json-encoding-pretty-print.
5667 (json-pretty-print-buffer, json-pretty-print): New commands.
5668
5669 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5670
5671 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5672 Extract `ruby-syntax-propertize-expansions'.
5673 (ruby-syntax-propertize-expansions): Only change syntax on
5674 certain string delimiters, to punctuation. This way the common
5675 functions like forward-word and thing-at-point still work.
5676 (ruby-match-expression-expansion): Improve readability.
5677 (ruby-block-contains-point): New function.
5678 (ruby-add-log-current-method): Handle several edge cases.
5679
5680 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5681
5682 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5683 unload-feature finishes even when aborting an ongoing edebug session.
5684 Also, do not worry about edebug-mode, unload-feature takes care of it.
5685
5686 2012-12-13 Andreas Schwab <schwab@suse.de>
5687
5688 * net/tls.el (tls-program): Update customize type.
5689
5690 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5691
5692 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5693 (edebug-setup-hook, cl-read-load-hooks): Use it.
5694 (edebug-unload-function): New function. (Bug#13163)
5695
5696 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5697
5698 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5699 Otherwise, there could be errors in autoloading. (Bug#13151)
5700
5701 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5702
5703 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5704 sequences.
5705
5706 2012-12-13 Alan Mackenzie <acm@muc.de>
5707
5708 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5709 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5710 around `forward-comment' not recognizing ^M as whitespace.
5711
5712 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5713
5714 * progmodes/python.el (python-skeleton-class)
5715 (python-skeleton-def): Do not add space after defun name.
5716
5717 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5720 (cl--symbol-function): Remove (now that funbound is like nil).
5721
5722 2012-12-12 Glenn Morris <rgm@gnu.org>
5723
5724 * button.el (button--area-button-p): Fix typo.
5725
5726 2012-12-12 Sam Steingold <sds@gnu.org>
5727
5728 * frame.el (frame-maximization-style): New user option.
5729 (toggle-frame-maximized): Toggle frame maximization according to
5730 `frame-maximization-style', bound to <f11>.
5731 (cycle-frame-maximized): Cycle between all maximization styles and
5732 non-maximized frame, bound to shift-<f11>.
5733
5734 2012-12-12 David Cadé <codename68@gmail.com>
5735
5736 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5737
5738 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5739
5740 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5741 (eieio-override-prin1): Don't quote kewords and booleans.
5742 (object-write) <eieio-default-superclass>: Don't put closing parens
5743 on new line, avoid needless empty lines, align values that are objects
5744 with the slot keyword (instead of beginning on the same line).
5745 (eieio-list-prin1): Align value with slot keyword; increase
5746 eieio-print-depth before printing members of the list.
5747
5748 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5751 a display text-property.
5752 (report-emacs-bug-hook): Don't bother deleting it any more.
5753
5754 * hilit-chg.el (highlight-save-buffer-state): Delete.
5755 Use with-silent-modifications instead.
5756 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5757
5758 * button.el: Handle buttons in display text-properties.
5759 (button--area-button-p, button--area-button-string):
5760 Use (STRING . STRING-POS) representation instead of just STRING.
5761
5762 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5763
5764 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5765 subdirectory be skipped.
5766
5767 2012-12-11 Glenn Morris <rgm@gnu.org>
5768
5769 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5770
5771 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5772 Treat preprocessor lines embedded in continuations like comments.
5773 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5774
5775 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5776
5777 * calc/calc.el (calc-standard-date-formats): Add more date
5778 formats.
5779 * calc/calc-forms.el (math-parse-iso-date): New function.
5780 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5781 (math-parse-iso-date-validate): Add extra error checking.
5782 (calc-date-notation): Add ability to access new date formats.
5783
5784 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5787 font-lock as well as when there's no text-property.
5788
5789 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5790
5791 * hi-lock.el: Refine the choice of default face.
5792 (hi-lock-keyword->face): New function. Use it wherever we used
5793 cadadadr instead.
5794 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5795 (hi-lock--last-face): Remove var.
5796 (hi-lock--unused-faces): New var to replace it.
5797 (hi-lock-read-face-name): Use/maintain it.
5798 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5799 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5800 if it has another face.
5801
5802 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5803
5804 * subr.el (w32notify-handle-event): New function.
5805 (inotify-handle-event): Doc fix.
5806
5807 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5808
5809 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5810
5811 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5812
5813 * simple.el (just-one-space): Doc fix.
5814
5815 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5816
5817 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5818
5819 2012-12-10 Le Wang <l26wang@gmail.com>
5820
5821 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5822 narrowed buffer (bug#12361).
5823
5824 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5825
5826 * vc/vc-hooks.el (vc-state): Doc fix.
5827
5828 2012-12-10 Glenn Morris <rgm@gnu.org>
5829
5830 * mail/rmail.el (rmail-maybe-display-summary):
5831 Preserve buffer, in case select-window changes it. (Bug#13066)
5832
5833 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5836 cl-load-hook where they belong.
5837
5838 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5841
5842 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5843
5844 Parallelize byte compilation on MS-Windows.
5845 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5846 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5847 (WINS_BASIC): Define as concatenation of the above.
5848 (compile): Subdivide into 4 separate and independent jobs that can
5849 be run in parallel.
5850 (compile0-CMD, compile0-SH): New targets for compiling
5851 COMPILE_FIRST files, which are prerequisites for the rest of the
5852 byte-compilation.
5853 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5854 New targets for parallel compilation with cmd.exe.
5855 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5856 compiling under a Unixy shell.
5857
5858 2012-12-09 Chong Yidong <cyd@gnu.org>
5859
5860 * simple.el (set-mark-default-inactive): Delete this
5861 accidentally-introduced option.
5862 (set-mark-command, exchange-point-and-mark): Remove calls.
5863
5864 2012-12-09 Glenn Morris <rgm@gnu.org>
5865
5866 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5867 Respect a defcustom's :set function, if appropriate. (Bug#109)
5868 (eval-defun): Doc fix.
5869
5870 2012-12-08 Juri Linkov <juri@jurta.org>
5871
5872 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5873 (Info-fontify-node, Info-bookmark-make-record): Remove the
5874 file extension from Info-current-file (Bug#13016).
5875
5876 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5879 point, still provide some default.
5880 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5881 names, since we don't use it right now. Actually return the list.
5882 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5883
5884 2012-12-07 Chong Yidong <cyd@gnu.org>
5885
5886 * novice.el (disabled-command-function): Remove a spurious help
5887 xref (Bug#13043). Suggested by Kelly Dean.
5888
5889 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5890 syntax is specified (Bug#13025).
5891
5892 * info.el (Info-set-mode-line): Remove the file extension from
5893 Info-current-file if there is one (Bug#13016).
5894
5895 2012-12-07 Glenn Morris <rgm@gnu.org>
5896
5897 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5898 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5899 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5900 and rmail-mime-decoded. (Bug#9841)
5901
5902 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5903 (batch-unrmail, unrmail): Doc fixes.
5904 (unrmail): Respect unrmail-mbox-format.
5905 * mail/rmail.el (rmail-mbox-format): New option.
5906 (rmail-show-message-1): Respect rmail-mbox-format.
5907
5908 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5911
5912 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5915 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5916 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5917 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5918 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5919 (cl-progv): Don't rely on dynamic scoping to find the body.
5920 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5921 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5922 (cl-declaim): Use backquotes.
5923 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5924 Use "cl--" prefix for the object's tag.
5925
5926 * ses.el: Use advice-add/remove.
5927 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5928 (copy-region-as-kill, yank): Use advice-add.
5929 (ses-unload-function): Use advice-remove.
5930
5931 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5932
5933 * button.el: Make them work in header-lines (bug#12817).
5934 (button-map): Add bindings for header-line and mode-line use.
5935 (button-get, button-put, button-label): `button' may now be a string.
5936 (button-activate): Don't make it a defsubst.
5937 (button--area-button-p, button--area-button-string): New functions.
5938 (make-text-button): Fix the return value when `beg' was a string.
5939 (push-button): Handle the mode-line case.
5940
5941 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5944 (sql-signum): Remove. Use `cl-signum' instead.
5945 (sql-read-passwd): Remove; use read-passwd instread.
5946 (sql-get-login-ext): Use read-string.
5947 (sql-get-login): Use dolist and pcase.
5948 (sql--completion-table): Rename from sql-try-completion.
5949 Use complete-with-action.
5950 (sql-mode): Don't change abbrev-all-caps globally.
5951 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5952 (sql-postgres-completion-object): Initialize vars in their `let'.
5953 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5954 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5955 (sql-comint-interbase): Use a single append, without setq.
5956 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5957
5958 * hi-lock.el: Rework the default face and the serialize regexp code.
5959 (hi-lock--auto-select-face-defaults): Remove.
5960 (hi-lock-string-serialize-serial): Remove.
5961 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5962 make weak.
5963 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5964 equal string.
5965 (hi-lock-set-pattern): Adjust accordingly.
5966 (hi-lock--regexps-at-point): Simplify accordingly.
5967 (hi-lock--auto-select-face-defaults): Remove.
5968 (hi-lock--last-face): New var to replace it.
5969 (hi-lock-read-face-name): Rewrite (bug#11095).
5970 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5971
5972 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/tramp.el (tramp-replace-environment-variables):
5975 Hide compiler warning.
5976 (tramp-file-name-for-operation): Remove `executable-find',
5977 `start-process', `call-process' and `call-process-region'.
5978
5979 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5980
5981 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5982 compatibility.
5983
5984 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5985
5986 2012-12-06 Chong Yidong <cyd@gnu.org>
5987
5988 * ffap.el (ffap-replace-file-component): Fix typo.
5989
5990 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5991
5992 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5993 fix open-paren-like token test (bug#12785).
5994
5995 2012-12-06 Glenn Morris <rgm@gnu.org>
5996
5997 * mail/rmailsum.el (rmail-new-summary): Tweak for
5998 rmail-maybe-display-summary changing buffer. (Bug#13066)
5999
6000 2012-12-06 Juri Linkov <juri@jurta.org>
6001
6002 * info.el (Info-fontify-node): Don't hide the last newline.
6003 (Bug#12272)
6004
6005 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6006
6007 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6008 so as to enable message-read-from-minibuffer to expand mail aliases.
6009
6010 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6013 the `intangible' property.
6014 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6015
6016 2012-12-05 Deniz Dogan <deniz@dogan.se>
6017
6018 * net/rcirc.el (rcirc-urls): Update documentation.
6019 (rcirc-condition-filter): New function.
6020 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6021 and exclude consecutive duplicate URLs (Bug#6082).
6022
6023 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6024
6025 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6026 Check return code of copy command.
6027
6028 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6029 Use group `tramp'. Add version.
6030
6031 2012-12-05 Chong Yidong <cyd@gnu.org>
6032
6033 * ffap.el (ffap-url-regexp): Don't require matching at front of
6034 string (Bug#4952).
6035 (ffap-url-p): If only a substring matches, return that.
6036 (ffap-url-at-point): Use the return value of ffap-url-p.
6037 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6038 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6039 (ffap-guess-file-name-at-point): Likewise.
6040 (ffap-replace-file-component): Fix typo.
6041
6042 * info.el (info-display-manual): Add existing Info buffers, whose
6043 files may not be in Info-directory-list, to the completion.
6044 (info--manual-names): New helper function.
6045
6046 2012-12-05 Glenn Morris <rgm@gnu.org>
6047
6048 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6049 New functions, for detecting and resolving conflicts. (Bug#10709)
6050
6051 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6052
6053 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6054 (hi-lock-auto-select-face-defaults): New buffer local variable.
6055 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6056 (hi-lock-unface-buffer): Prompt user with useful defaults.
6057 With prefix arg, unhighlight all hi-lock patterns in buffer.
6058
6059 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6062
6063 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6064
6065 * Makefile.in (TRAMP_SRC):
6066 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6067
6068 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6069
6070 * net/tramp-adb.el: New package.
6071
6072 2012-12-04 Chong Yidong <cyd@gnu.org>
6073
6074 * terminal.el: Move to obsolete/.
6075
6076 * longlines.el: Move to obsolete/.
6077
6078 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6079 Remove code referring to longlines mode.
6080
6081 2012-12-03 Juri Linkov <juri@jurta.org>
6082
6083 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6084
6085 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6086
6087 * textmodes/ispell.el (ispell-init-process)
6088 (ispell-start-process, ispell-internal-change-dictionary):
6089 Make sure personal dictionary name is expanded after initial
6090 `default-directory' value. Use expanded strings for
6091 keep/restart checks and for value (Bug#13019).
6092
6093 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6094
6095 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6096
6097 2012-12-03 Leo Liu <sdl.web@gmail.com>
6098
6099 * files.el (dir-locals-read-from-file): Check file non-empty
6100 before reading. (Bug#13038)
6101
6102 2012-12-03 Glenn Morris <rgm@gnu.org>
6103
6104 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6105 Remove any version extension before checking filename. (Bug#13006)
6106 (jka-compr-compression-info-list): Belated :version bump.
6107
6108 2012-12-03 Chong Yidong <cyd@gnu.org>
6109
6110 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6111
6112 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6113 (buffer-menu): Doc fix (Bug#12294).
6114
6115 2012-12-03 Roland Winkler <winkler@gnu.org>
6116
6117 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6118 of diary-show-all-entries in the diary buffer (Bug#12994).
6119
6120 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6121
6122 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6123 "<STDIN>". This is binary safe.
6124
6125 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6126
6127 * calc/calc-forms.el (math-absolute-from-iso-dt)
6128 (math-date-to-iso-dt, math-parse-iso-date-validate)
6129 (math-iso-dt-to-date): New functions.
6130 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6131 (math-fd-isoweekday): New variables.
6132 (calc-date-notation, math-parse-standard-date, math-format-date)
6133 (math-format-date-part): Add support for more formatting codes.
6134
6135 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6136
6137 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6138 current buffer's file name when called interactively (Bug#12488).
6139
6140 2012-12-02 Juri Linkov <juri@jurta.org>
6141
6142 * info.el (info-display-manual): Don't clobber an existing Info
6143 buffer (Bug#10770). Add completion (Bug#10771).
6144
6145 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6146
6147 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6148 before using it for comparison (Bug#5297).
6149
6150 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6151
6152 * textmodes/css-mode.el (css-current-defun-name): New function.
6153 (css-mode): Use it.
6154
6155 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6156 (html-mode): Use it.
6157
6158 2012-12-01 Chong Yidong <cyd@gnu.org>
6159
6160 Modularize add-log-current-defun (Bug#2224).
6161 Suggested by Jari Aalto.
6162
6163 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6164 (add-log-current-defun): Move mode-specific code to other files.
6165 (add-log-lisp-like-modes, add-log-c-like-modes)
6166 (add-log-tex-like-modes): Variables deleted.
6167
6168 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6169 (lisp-mode-variables): Use it.
6170
6171 * progmodes/cc-mode.el (c-common-init):
6172 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6173 add-log-current-defun-function.
6174
6175 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6176 (m4-mode): Use it.
6177
6178 * progmodes/perl-mode.el (perl-current-defun-name): New.
6179 (perl-mode): Use it.
6180
6181 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6182 Use lisp-current-defun-name.
6183
6184 * textmodes/tex-mode.el (tex-current-defun-name): New.
6185 (tex-common-initialization): Use it.
6186
6187 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6188 (texinfo-mode): Use it.
6189
6190 2012-12-01 Chong Yidong <cyd@gnu.org>
6191
6192 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6193 * progmodes/autoconf.el (autoconf-mode):
6194 * progmodes/js.el (js-mode):
6195 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6196 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6197 * progmodes/perl-mode.el (perl-mode):
6198 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6199 * textmodes/css-mode.el (css-mode):
6200 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6201 (sgml-tags-invisible, sgml-guess-indent):
6202 * textmodes/tex-mode.el (tex-common-initialization)
6203 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6204 (doctex-mode, plain-tex-mode, latex-mode):
6205 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6206
6207 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6208
6209 * vc/vc-hg.el (vc-hg-next-revision):
6210 Ensure use of default "tip" output format. (Bug#6968)
6211
6212 2012-12-01 Kim F. Storm <storm@cua.dk>
6213
6214 * startup.el (fancy-startup-tail): Add a clickable link
6215 (Bug#2176).
6216
6217 2012-12-01 Chong Yidong <cyd@gnu.org>
6218
6219 * startup.el (fancy-startup-tail): Improve the message about
6220 auto-save files (Bug#2176).
6221
6222 * files.el (recover-session): Improve the descriptive message, and
6223 use substitute-command-keys.
6224
6225 2012-12-01 Glenn Morris <rgm@gnu.org>
6226
6227 * ido.el (ido-file-internal):
6228 Handle other-window, other-frame for dired. (Bug#13036)
6229
6230 2012-11-30 Glenn Morris <rgm@gnu.org>
6231
6232 * icomplete.el (icomplete-separator): Fix :version.
6233
6234 2012-11-30 Chong Yidong <cyd@gnu.org>
6235
6236 * shell.el (shell): For C-u M-x shell, use an inactive shell
6237 buffer as the default (Bug#1975).
6238 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6239 (shell-mode): Use them to reapply ansi colorization if Shell mode
6240 is re-enabled.
6241
6242 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6243
6244 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6245
6246 2012-11-30 Samuel Bronson <naesten@gmail.com>
6247
6248 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6249 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6250
6251 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6252
6253 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6254 by move-to-column (Bug#3234).
6255
6256 2012-11-30 Chong Yidong <cyd@gnu.org>
6257
6258 * longlines.el (longlines-wrap-line, longlines-encode-region):
6259 Preserve text properties (Bug#1425).
6260
6261 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6262
6263 * vc/vc.el (vc-register): Allow registering a file which is
6264 already registered with a different backend (Bug#10589).
6265
6266 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6267 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * icomplete.el: Change separator; add ido-style commands.
6270 (icomplete-show-key-bindings): Remove custom var.
6271 (icomplete-get-keys): Remove function.
6272 (icomplete-forward-completions, icomplete-backward-completions):
6273 New commands.
6274 (icomplete-minibuffer-map): New var.
6275 (icomplete-minibuffer-setup): Use it.
6276 (icomplete-exhibit): Don't delay if the list of completions is known.
6277 (icomplete-separator): New custom.
6278 (icomplete-completions): Use it.
6279 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6280 (minibuffer-force-complete-and-exit): New command.
6281 (minibuffer--complete-and-exit): New function extracted from
6282 minibuffer-complete-and-exit.
6283 (minibuffer-complete-and-exit): Use it.
6284
6285 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6286 error message when the file doesn't exist (bug#12974).
6287
6288 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6289
6290 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6291
6292 2012-11-29 Glenn Morris <rgm@gnu.org>
6293
6294 * files.el (hack-dir-local-variables): Warn if try to set
6295 coding via dir-locals, since it doesn't work. (Bug#7169)
6296
6297 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6298 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6299 Set buffer-local value of desktop-save-buffer.
6300 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6301 New functions.
6302 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6303 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6304
6305 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6306 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6307 Doc fix.
6308 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6309 Doc fixes.
6310
6311 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6312
6313 * calc/calc-forms.el (calc-date-notation): Fix regexp
6314 used to find time codes. Fix symbol for seconds.
6315
6316 2012-11-27 Glenn Morris <rgm@gnu.org>
6317
6318 * emacs-lisp/derived.el (derived-mode-make-docstring):
6319 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6320
6321 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6324 lexically scoped variables (bug#13005).
6325
6326 2012-11-27 Glenn Morris <rgm@gnu.org>
6327
6328 * vc/vc-hooks.el (vc-mistrust-permissions):
6329 Default to t, to avoid data-loss. (Bug#11490)
6330
6331 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6332
6333 * progmodes/python.el (python-indent-guess-indent-offset):
6334 If indentation is guessed make python-indent-offset buffer-local.
6335
6336 Fix Imenu regression.
6337 * progmodes/python.el (python-nav-beginning-of-defun):
6338 Fix forward movement when statement(s) separates point from defun.
6339 (python-imenu-prev-index-position): New function.
6340
6341 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6342
6343 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6344
6345 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6346 Don't set buffer-file-type. Return nil. (Bug#12989)
6347
6348 2012-11-27 Glenn Morris <rgm@gnu.org>
6349
6350 * hippie-exp.el (hippie-expand-try-functions-list):
6351 Re-autoload it. (Bug#12982)
6352
6353 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6354
6355 * descr-text.el (describe-char-padded-string):
6356 Call internal-char-font only on GUI frames. (Bug#11964)
6357
6358 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6359
6360 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6361 and obsoletion message.
6362
6363 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6364
6365 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6366 the constructs to keep outside of the `cl-block' (bug#12977).
6367
6368 2012-11-27 Chong Yidong <cyd@gnu.org>
6369
6370 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6371 keep reading until we get the up-event anyway, in order to process
6372 the up-event for mouse-1-click-follows-link (Bug#12971).
6373
6374 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6377 base function is not yet defined (bug#12965).
6378 (ad-activate-advised-definition): Use ad-compile-function.
6379 (ad-activate): Use cond.
6380
6381 2012-11-25 Leo Liu <sdl.web@gmail.com>
6382
6383 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6384 (Bug#12979)
6385
6386 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6387
6388 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6389 reftex-section-info-function in order to be compatible with
6390 Texinfo integration.
6391
6392 * textmodes/reftex.el (reftex-section-pre-regexp)
6393 (reftex-section-post-regexp, reftex-section-info-function):
6394 New variable.
6395 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6396 reftex-section-post-regexp, and reftex-section-info-function in order
6397 to be compatible with Texinfo integration.
6398
6399 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6400 use reftex-section-pre-regexp variable in order to be compatible with
6401 Texinfo integration.
6402
6403 2012-11-25 Chong Yidong <cyd@gnu.org>
6404
6405 * faces.el: Make face-spec-set more analogous to setq.
6406 (face-spec-set): Change the third arg to specify whether this
6407 function is being called via defface, customize, or a third party.
6408 Set the appropriate symbol properties. Clear the override spec if
6409 setting via Custom. Initialize face if necessary. (Bug#4988)
6410 (face-spec-recalc): Allow theme faces to completely replace the
6411 defface spec, in the same way as custom faces (Bug#8454).
6412
6413 * cus-face.el (custom-declare-face): Move face initialization to
6414 face-spec-set.
6415 (custom-theme-set-faces): Don't initialize the face name here, as
6416 that is now done in face-spec-set.
6417
6418 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6419 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6420 Simplify by using the new arg to face-spec-set.
6421
6422 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6423 reset face-override-spec too, and use custom-declare-face.
6424
6425 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6426
6427 * term/ns-win.el (ns-initialize-window-system): Move creation of
6428 fontsets here (Bug#11964).
6429
6430 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6431
6432 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6433 cell renaming.
6434
6435 2012-11-24 Chong Yidong <cyd@gnu.org>
6436
6437 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6438 obsolete.
6439
6440 * custom.el (custom-theme-set-variables): Use a topological sort
6441 for ordering by custom dependencies (Bug#12952).
6442 (custom--sort-vars, custom--sort-vars-1): New functions.
6443
6444 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6447 lexical-binding (bug#12938).
6448
6449 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6450
6451 * image-mode.el (image-transform-check-size): Use assertions only
6452 for images of type imagemagick.
6453
6454 Otherwise no error, image-transform-fit-to-{width,height} is
6455 silently ignored, as before. Doc fix.
6456
6457 2012-11-24 Chong Yidong <cyd@gnu.org>
6458
6459 * faces.el (color-defined-p): Doc fix (Bug#12853).
6460
6461 2012-11-24 Juri Linkov <juri@jurta.org>
6462
6463 * dired.el (dired-mark): Add optional arg `interactive'.
6464 Check for `use-region-p' if `interactive' is non-nil.
6465 (dired-unmark, dired-flag-file-deletion): Add optional arg
6466 `interactive'. Call `dired-mark' with the arg `interactive'.
6467 (Bug#10624)
6468
6469 * wdired.el: Revert 2012-10-17 change partly and replace it with
6470 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6471 (wdired-finish-edit): Add marks for new file names to
6472 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6473 after `revert-buffer'.
6474 (wdired-do-renames): Remove calls to `dired-remove-file',
6475 `dired-add-file', `dired-add-entry'. (Bug#11795)
6476
6477 2012-11-24 Alan Mackenzie <acm@muc.de>
6478
6479 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6480
6481 Fix bugs in the state cache. Enhance a debugging mechanism.
6482 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6483 "brace at column zero" strategy for C++.
6484 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6485 (c-parse-state-point): New variable.
6486 (c-record-parse-state-state): Record old parse state with
6487 `copy-tree'. Record previous value of point.
6488 (c-debug-parse-state-double-cons): New debugging function.
6489 (c-debug-parse-state): Call the above new function.
6490 (c-toggle-parse-state-debug): Output a confirmatory message.
6491
6492 * progmodes/cc-mode.el (c-before-change, c-after-change):
6493 Call c-invalidate-state-cache from `c-before-change' instead of
6494 `c-after-change'.
6495
6496 2012-11-23 Chong Yidong <cyd@gnu.org>
6497
6498 * find-cmd.el (find-constituents): Add executable, ipath,
6499 readable, samefile, writable, daystart, regextype (Bug#12856).
6500
6501 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6504
6505 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6506
6507 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6508 definition. This fixes a bootstrap failure.
6509 (calc-gregorian-switch): In menu, put dates before regions.
6510 This is easier to follow, lines up better in the menu, and lets us
6511 coalesce regions that switch at the same time. Give country
6512 names, not "Vatican", as that's better for non-expert users.
6513 Use names that are stable between the date of switch and now, e.g.,
6514 Bohemia and Moravia (which existed then and now) and not
6515 Czechoslovakia (which didn't exist then and doesn't exist now).
6516 What is now the U.S. mostly did not switch at the same time as
6517 Britain, so omit the U.S. Correct spelling of "Britain".
6518 Catholic Switzerland was too much of a mess, so omit it.
6519
6520 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6521
6522 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6523 after the variable is changed.
6524
6525 2012-11-21 Daniel Colascione <dancol@dancol.org>
6526
6527 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6528 in SQL declarations for font-lock.
6529 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6530
6531 2012-11-21 Glenn Morris <rgm@gnu.org>
6532
6533 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6534 (face-italic-p): Add optional argument "inherit".
6535
6536 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6537 Remove -p suffix from names, for consistency with other set-face-*.
6538 (set-face-inverse-video): Fix interactive spec.
6539 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6540 * textmodes/table.el (table--update-cell-face):
6541 Use set-face-inverse-video rather than now obsolete alias.
6542
6543 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6544
6545 * simple.el (line-move): Don't call line-move-partial if
6546 scroll-conservatively is in effect. (Bug#12927)
6547
6548 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6551 Fallback on completion-at-point rather than
6552 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6553 (eshell-cmpl-initialize): Setup completion-at-point.
6554
6555 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6556
6557 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6558
6559 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6560
6561 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6562 are remote, check out-of-band property for both.
6563
6564 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6567 code rewrite.
6568
6569 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6570
6571 More minor time fixes.
6572 * calendar/time-date.el: Commentary fix.
6573 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6574 too much other code depends on (0 0) time stamps.
6575 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6576 Add a couple of FIXME comments.
6577
6578 Minor cleanup for times as lists of four integers.
6579 * files.el (dir-locals-directory-cache):
6580 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6581 Doc fixes.
6582 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6583 * ps-bdf.el (bdf-file-newer-than-time):
6584 Process four-integers time stamps, not two. Doc fixes.
6585
6586 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * uniquify.el (uniquify-managed): Use defvar-local.
6589 (rename-buffer, create-file-buffer): Advise with advice-add.
6590 (uniquify-unload-function): Unadvise accordingly.
6591
6592 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6593 (trace-buffer): Don't purecopy.
6594 (trace-entry-message, trace-exit-message): Add `context' arg.
6595 (trace--timer): New var.
6596 (trace-make-advice): Adjust for use in nadvice.
6597 Add `context' argument. Delay `display-buffer' via a timer.
6598 (trace-function-internal): Use advice-add.
6599 (trace--read-args): New function.
6600 (trace-function-foreground, trace-function-background): Use it.
6601 (trace-function): Rename to trace-function-foreground and redefine as
6602 an alias to that new name.
6603 (untrace-function, untrace-all): Adjust to the use of nadvice.
6604
6605 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6606
6607 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6608
6609 * subr.el (called-interactively-p-functions): New var.
6610 (internal--called-interactively-p--get-frame): New macro.
6611 (called-interactively-p, interactive-p): Rewrite in Lisp.
6612 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6613 (called-interactively-p-functions): Use it.
6614 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6615 (called-interactively-p-functions): Use it.
6616 * allout.el (allout-called-interactively-p): Don't assume
6617 called-interactively-p is a subr.
6618
6619 2012-11-20 Glenn Morris <rgm@gnu.org>
6620
6621 * profiler.el (profiler-report-mode-map): Add a menu.
6622 No need to bind `q' because we derive from special-mode.
6623 (profiler-report-find-entry): Handle calls from the menu-bar.
6624
6625 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * emacs-lisp/byte-run.el (defun-declarations-alist):
6628 Allow a compiler-macro to be a lambda expression.
6629
6630 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6631 eval-when-compile.
6632 (python-syntax-context): Add compiler-macro.
6633 (python-font-lock-keywords): Simplify with De Morgan.
6634
6635 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6636
6637 * files.el (load-file): Require match in minibuffer selection, as was
6638 the case in Emacs-20 before we changed the spec to allow .elc files
6639 (bug#12935).
6640
6641 * json.el: Don't require cl since we don't use it.
6642 * color.el: Don't require cl.
6643 (color-complement): `caddr' -> `nth 2'.
6644
6645 * calendar/time-date.el (time-to-seconds): De-obsolete.
6646
6647 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6648
6649 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6650 year numbers.
6651 (math-date-to-julian-dt): Adjust the initial approximation for the
6652 year to deal with the new definition of the DATE.
6653
6654 2012-11-19 Daniel Colascione <dancol@dancol.org>
6655
6656 * term/w32-win.el (cygwin-convert-path-from-windows):
6657 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6658
6659 2012-11-18 Chong Yidong <cyd@gnu.org>
6660
6661 * filecache.el (file-cache--read-list): New function.
6662 (file-cache-add-directory-list, file-cache-add-file-list)
6663 (file-cache-delete-file-list, file-cache-delete-directory-list):
6664 Use it to read a list of files or directories (Bug#12846).
6665 (file-cache-add-file, file-cache-add-directory)
6666 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6667 (file-cache-delete-directory): Print an message.
6668
6669 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6670
6671 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6672 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6673
6674 2012-11-18 Glenn Morris <rgm@gnu.org>
6675
6676 * image.el (insert-image, insert-sliced-image): Doc fix.
6677
6678 2012-11-18 Chong Yidong <cyd@gnu.org>
6679
6680 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6681 (Bug#12810).
6682
6683 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6684
6685 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6686 response when the target file is in a subdirectory (Bug#12757).
6687
6688 2012-11-18 Chong Yidong <cyd@gnu.org>
6689
6690 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6691
6692 2012-11-18 Glenn Morris <rgm@gnu.org>
6693
6694 * emacs-lisp/cl-lib.el (face-underline-p):
6695 Use set-face-underline rather than the alias set-face-underline-p.
6696
6697 * window.el (with-temp-buffer-window): Doc fix.
6698 * subr.el (with-output-to-temp-buffer):
6699 Add doc xref to with-temp-buffer-window.
6700
6701 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6702
6703 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6704 * calc/calc.el (math-format-date-cache): Declare.
6705
6706 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6707
6708 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6709 It also uses January 1, 1 AD as its day number 1.
6710 * calc/calc-forms.el (math-julian-date-beginning)
6711 (math-julian-date-beginning-int): Implement this.
6712
6713 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6714
6715 * descr-text.el (quail-find-key):
6716 * dired.el (desktop-file-name):
6717 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6718 * generic-x.el (comint-mode, comint-exec):
6719 * image-dired.el (widget-forward):
6720 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6721 (speedbar-change-expand-button-char)
6722 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6723 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6724 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6725 (widget-field-action, widget-value-set):
6726 * speedbar.el (imenu--make-index-alist):
6727 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6728 (ring-length, ring-insert):
6729 * vcursor.el (compare-windows-skip-whitespace):
6730 * woman.el (dired-get-filename):
6731 Declare functions.
6732
6733 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6734
6735 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6736
6737 * calc/calc.el (calc-gregorian-switch): New variable.
6738
6739 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6740 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6741 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6742 (math-leap-year-p): Add option to distinguish between Julian
6743 and Gregorian calendars.
6744 (math-day-number): Use `math-day-in-year' to do the computations.
6745 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6746 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6747 to do the computations.
6748 (math-date-to-dt): Use `math-date-to-julian-dt' and
6749 `math-date-to-gregorian-dt' to do the computations.
6750 (calcFunc-weekday, math-format-date-part): Use the new version of
6751 the DATE to determine the weekday.
6752 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6753 when necessary.
6754
6755 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6756
6757 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6758 Cygwin; otherwise use 'file:'. (Bug#12914)
6759 (cygwin-convert-path-from-windows): Declare, to avoid
6760 byte-compiler warnings.
6761
6762 2012-11-17 Andreas Politz <politza@fh-trier.de>
6763
6764 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6765 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6766 prefix and negative numeric prefix args (Bug#12795).
6767
6768 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6769
6770 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6771 Don't signal an error with a score that is too low to add to the
6772 list of top scores. (Bug#12779)
6773
6774 2012-11-17 Chong Yidong <cyd@gnu.org>
6775
6776 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6777
6778 * filecache.el (file-cache-add-file): Handle relative file name in
6779 the argument (Bug#12694).
6780
6781 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6782
6783 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6784
6785 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6788
6789 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6790
6791 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6792
6793 * window.el (enlarge-window, shrink-window): Don't mention return
6794 value in doc-string (Bug#12896).
6795 (window--display-buffer): Don't resize frames - it won't work
6796 with all window managers and defeat pop-up-frame-alist.
6797 (display-buffer-alist): In doc-string explain that CONDITION can
6798 be a function and which arguments are passed to it (Bug#12854).
6799 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6800 expressions (Bug#12854).
6801 (display-buffer): Pass ACTION argument to
6802 display-buffer-assq-regexp.
6803
6804 2012-11-16 Glenn Morris <rgm@gnu.org>
6805
6806 * window.el (fit-frame-to-buffer-bottom-margin)
6807 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6808
6809 * faces.el (face-underline-p): Use face-attribute-specified-or.
6810
6811 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6814
6815 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6818
6819 2012-11-16 Glenn Morris <rgm@gnu.org>
6820
6821 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6822 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6823
6824 * faces.el (face-underline-p): Doc fix. Handle :underline being
6825 things other than `t' (a string, a list).
6826 (face-inverse-video-p): Doc fix.
6827 (set-face-underline): Rename it back from set-face-underline-p.
6828 Doc fix. Allow interactive input of values other than t.
6829 (read-face-attribute): Apply formatting to :underline,
6830 since like :box and :stipple it can take list values.
6831
6832 * term.el (ansi-term): Don't let C-x escape-char binding
6833 clobber the more standard C-c binding. (Bug#12842)
6834
6835 * subr.el (set-temporary-overlay-map): Doc fix.
6836
6837 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6838
6839 * window.el (record-window-buffer)
6840 (display-buffer-record-window): When copying the markers to
6841 window-point preserve window-point-insertion-type. (Bug#12588)
6842
6843 2012-11-16 Glenn Morris <rgm@gnu.org>
6844
6845 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6846 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6847 Use new names for hooks rather than obsolete aliases.
6848
6849 2012-11-15 Daniel Colascione <dancol@dancol.org>
6850
6851 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6852 prefix instead of "file:" so that when FILE-NAME begins with "//",
6853 as it does when the target file is on a network share, url-handler
6854 isn't confused.
6855
6856 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6859 a preactivated advice from an old advice.el; they're not compatible!
6860
6861 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6862
6863 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6864 Fix string-spec case.
6865
6866 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6867
6868 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6871 (advice--buffer-local-function-sample): New var.
6872 (advice--set-buffer-local, advice--buffer-local): New functions.
6873 (add-function, remove-function): Use them.
6874
6875 2012-11-15 Drew Adams <drew.adams@oracle.com>
6876
6877 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6878
6879 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6882 potential binding of print-gensym to t, and prettify (back)quotes in
6883 case they appear in args's default values (bug#12884).
6884
6885 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6888 (advice-eval-interactive-spec): New function.
6889 (advice--make-interactive-form): Support around advice (bug#12844).
6890
6891 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6892
6893 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6894 more strict. Add docstring.
6895 (ruby-expression-expansion-re): Extract from
6896 `ruby-match-expression-expansion'.
6897 (ruby-syntax-propertize-function): After everything else, search
6898 for expansions in string literals, mark their insides as
6899 whitespace syntax and save match data for font-lock.
6900 (ruby-font-lock-keywords): Use the 2nd group from expression
6901 expansion matches.
6902 (ruby-match-expression-expansion): Use the match data saved to the
6903 text property in ruby-syntax-propertize-function.
6904
6905 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6908 (bug#12879).
6909
6910 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6911
6912 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6913 start/end keyword a bit harder. Works with different values of N.
6914 Add more comments.
6915 (ruby-end-of-block): Update accordingly.
6916
6917 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * woman.el (woman-file-name): Don't mess with unread-command-events
6920 (bug#12861).
6921
6922 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6923 Remove out of date self-require hack.
6924 (ad-do-advised-functions): Use simple `dolist'.
6925 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6926 (ad-advice-definition): Redefine as functions.
6927 (ad-advice-classes): Move before first use.
6928 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6929 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6930 (ad--defalias-fset): Remove functions.
6931 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6932 (ad-get-orig-definition): Rewrite.
6933 (ad-make-advised-definition-docstring): Change base docstring.
6934 (ad-real-orig-definition): Rewrite.
6935 (ad-map-arglists): Change name of called function.
6936 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6937 (ad-make-advised-definition): Simplify.
6938 (ad-assemble-advised-definition): Tweak for new calling context.
6939 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6940 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6941 function and call ad-activate if needed.
6942 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6943 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6944 (ad-compile-function): Compile ad-Advice-*.
6945 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6946 (ad-start-advice, ad-stop-advice): Remove.
6947
6948 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6949
6950 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6951 period before class method names, not after. Remove handling of
6952 one impossible case. Add comments.
6953
6954 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * emacs-lisp/advice.el: Remove support for freezing.
6957 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6958 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6959 Remove support for `freeze'.
6960
6961 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6962 override the default.
6963 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6964 cl--dotimes/dolist.
6965 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6966 `cl' is loaded.
6967
6968 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6969 from add-advice.
6970 (advice--strip-macro): New function.
6971 (advice--defalias-fset): Use them to handle macros.
6972 (advice-add): Use them.
6973 (advice-member-p): Correctly handle macros.
6974
6975 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6976
6977 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6978 Never font-lock the beginning of singleton class as heredoc.
6979
6980 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6983
6984 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6985
6986 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6987 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6988 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6989
6990 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6991
6992 Fix end-of-defun misbehavior.
6993 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6994 python-beginning-of-defun-function. Handle nested defuns
6995 correctly.
6996 (python-nav-end-of-defun): Rename from
6997 python-end-of-defun-function. Ensure forward movement.
6998 (python-info-current-defun): Reimplement to work as intended
6999 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7000 parent defuns as soon as possible.
7001
7002 2012-11-13 Glenn Morris <rgm@gnu.org>
7003
7004 * progmodes/flymake.el (flymake-error-bitmap)
7005 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7006 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7007
7008 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7009
7010 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7011 backward, always stop at indentation. Reverts the change from
7012 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7013
7014 2012-11-13 Glenn Morris <rgm@gnu.org>
7015
7016 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7017 Add ibuffer-filter-by-derived-mode.
7018
7019 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7020 the same name shadowing each other.
7021
7022 * window.el (with-temp-buffer-window): Doc tweak.
7023
7024 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7025
7026 * help.el (temp-buffer-max-height):
7027 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7028 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7029
7030 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * emacs-lisp/nadvice.el: New package.
7033 * subr.el (special-form-p): New function.
7034 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7035 (elp-all-instrumented-list): Remove var.
7036 (elp-not-profilable): Remove elp-wrapper.
7037 (elp-profilable-p): Use autoloadp and special-form-p.
7038 (elp--advice-name): New const.
7039 (elp-instrument-function): Use advice-add.
7040 (elp--instrumented-p): New predicate.
7041 (elp-restore-function): Use advice-remove.
7042 (elp-restore-all, elp-reset-all): Use mapatoms.
7043 (elp-set-master): Use elp--instrumented-p.
7044 (elp--make-wrapper): Rename from elp-wrapper, return a function
7045 suitable for advice-add. Use cl-inf.
7046 (elp-results): Use mapatoms+elp--instrumented-p.
7047 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7048 (debug-function-list): Remove var.
7049 (debug): Rename arg, and then let-bind it explicitly inside.
7050 (debugger-setup-buffer): Rename arg.
7051 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7052 (debugger-frame-number): Adjust to new debug-on-entry setup.
7053 (debug--implement-debug-on-entry): Rename from
7054 implement-debug-on-entry, add argument.
7055 (debugger-special-form-p): Remove, use special-form-p instead.
7056 (debug-on-entry): Use advice-add.
7057 (debug--function-list): New function.
7058 (cancel-debug-on-entry): Use it, along with advice-remove.
7059 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7060 (debugger-list-functions): Use debug--function-list instead of
7061 debug-function-list.
7062 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7063 (ad-special-form-p): Remove, use special-form-p instead.
7064 (ad-set-advice-info): Use add-function and remove-function.
7065 (ad--defalias-fset): Adjust accordingly.
7066
7067 2012-11-10 Glenn Morris <rgm@gnu.org>
7068
7069 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7070 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7071 (report-emacs-bug-create-existing-bugs-buffer)
7072 (report-emacs-bug-parse-query-results)
7073 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7074
7075 * term.el (term-default-fg-color, term-default-bg-color):
7076 Make obsolete, rather than just saying "deprecated" in the doc.
7077
7078 * term.el (term): Rename from `term-face'.
7079 (term-current-face, ansi-term-color-vector)
7080 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7081 Update all users.
7082
7083 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7084
7085 * server.el (server-create-window-system-frame): Handle Nextstep
7086 specially (Bug#12780).
7087
7088 2012-11-10 Glenn Morris <rgm@gnu.org>
7089
7090 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7091 Unautoload, and make obsolete. (Bug#7449)
7092
7093 2012-11-10 Chong Yidong <cyd@gnu.org>
7094
7095 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7096 rename from diff-remove-trailing-whitespace (Bug#12831).
7097
7098 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7101 miscompilation of trace.el.
7102
7103 2012-11-10 Glenn Morris <rgm@gnu.org>
7104
7105 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7106
7107 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7109 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7110 (bug#12812).
7111
7112 2012-11-10 Chong Yidong <cyd@gnu.org>
7113
7114 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7115 a defcustom with an appropriate :set function.
7116 (minibuffer-default--in-prompt-regexps): New function.
7117
7118 2012-11-10 Glenn Morris <rgm@gnu.org>
7119
7120 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7121 (define-modify-macro): Doc fixes.
7122
7123 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7124 (gv-define-simple-setter): Update doc of `fix-return'.
7125
7126 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7129 twice when `fix-return' is set (bug#12813).
7130
7131 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7132 gv-define-simple-setter (bug#12812).
7133
7134 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7135 (bug#12756).
7136
7137 2012-11-10 Glenn Morris <rgm@gnu.org>
7138
7139 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7140
7141 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7142 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7143 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7144 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7145
7146 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7147
7148 2012-11-10 Leo Liu <sdl.web@gmail.com>
7149
7150 * ido.el (ido-set-matches-1): Improve flex matching performance by
7151 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7152
7153 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7156 (ad--defalias-fset): New function.
7157 (ad-safe-fset): Remove.
7158 (ad-make-freeze-definition): Use cl-letf*.
7159
7160 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * subr.el (dolist): Don't bind VAR in RESULT.
7163
7164 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7165 (fset, documentation): Don't save real def since we don't advise.
7166 (ad-do-advised-functions): Remove problematic `result-form'.
7167 (ad-safe-fset): `ad-real-fset' => `fset'.
7168 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7169 uses CL's dolist internally.
7170 (ad-arglist): Remove unused arg `name'.
7171 (ad-docstring, ad-make-advised-docstring):
7172 `ad-real-documentation' => `documentation'.
7173 (warning-suppress-types): Declare.
7174 (ad-set-arguments): Simple CSE.
7175 (ad-recover-normality): Sanity check.
7176
7177 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7178 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7179
7180 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7181
7182 * ses.el: symbol to coordinate mapping is made by symbol property
7183 `ses-cell'. This means that the same mapping is done for all SES
7184 sheets. That is good enough for cells with standard A1 names, but
7185 not for named cell. So a hash map is added for the latter.
7186 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7187 (ses-sym-rowcol): Use hashmap for named cell.
7188 (ses-is-cell-sym-p): New defun.
7189 (ses-decode-cell-symbol): New defun.
7190 (ses-create-cell-variable): Add cell to hashmap when name is not
7191 A1-like.
7192 (ses-rename-cell): Check that cell new name is not already in
7193 spreadsheet with the use of ses-is-cell-sym-p
7194 (ses-rename-cell): Use hash map for named cells, but accept also
7195 renaming back to A1-like.
7196
7197 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 * emacs-lisp/advice.el: Use new dynamic docstrings.
7200 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7201 Use dynamic-docstring-function instead of ad-advice-info.
7202 (ad--make-advised-docstring): New function extracted from
7203 ad-make-advised-docstring.
7204 (ad-make-advised-docstring): Use it.
7205 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7206 from sql-help.
7207 (sql-help): Use it with dynamic-docstring-function.
7208
7209 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7210
7211 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * files.el (hack-one-local-variable--obsolete): New function.
7214 (hack-one-local-variable): Use it for obsolete settings.
7215
7216 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7217 the new name.
7218
7219 * progmodes/js.el (js--filling-paragraph): New var.
7220 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7221 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7222 less sneaky.
7223
7224 2012-11-08 Julien Danjou <julien@danjou.info>
7225
7226 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7227 `auto-mode-alist' (Bug#12835).
7228
7229 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7232 (perl--prettify-symbols-alist): New const.
7233 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7234 New functions.
7235 (perl-font-lock-keywords-2): Use them.
7236 (perl-electric-noindent-p): New function.
7237 (perl-mode): Use it to set up electric-indent-mode.
7238 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7239 (perl-mode-map): Remove bindings for them.
7240 (perl-imenu-generic-expression, perl-outline-level):
7241 Match functions&packages in column>0.
7242
7243 * env.el (env--substitute-vars-regexp): New const.
7244 (substitute-env-vars): Use it. Add `only-defined' arg.
7245 * net/tramp.el (tramp-replace-environment-variables): Use it.
7246
7247 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7248 Byte-compile *before* eval in eval-and-compile.
7249 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7250 (byte-compile-file-form-autoload): Don't hide actual definition.
7251 (byte-compile-maybe-guarded): Accept `functionp' as well.
7252
7253 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7254
7255 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7256
7257 * notifications.el (notifications-get-server-information-method):
7258 New defconst.
7259 (notifications-get-capabilities): Fix docstring.
7260 (notifications-get-server-information): New defun.
7261
7262 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7263
7264 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7265 readability.
7266
7267 * textmodes/ispell.el: Experimental support for support debugging.
7268 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7269 buffer for ispell.
7270 (ispell-print-if-debug): New function to print stuff to
7271 `ispell-debug-buffer' if debugging is enabled.
7272 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7273 show some debugging info.
7274 (ispell-buffer-with-debug): New function that creates a debugging
7275 buffer and calls `ispell-buffer' with debugging enabled.
7276
7277 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7278 comment in autoconf mode. (Bug#12768)
7279
7280 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7281
7282 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7283 frame-first-window, frame-root-window, frame-selected-window,
7284 minibuffer-selected-window, minibuffer-window,
7285 window-absolute-pixel-edges, window-at, window-body-height,
7286 window-body-width, window-display-table, window-combination-limit,
7287 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7288 window-inside-edges, window-inside-pixel-edges, window-left-child,
7289 window-left-column, window-margins, window-next-buffers,
7290 window-next-sibling, window-new-normal, window-new-total,
7291 window-normal-size, window-parameter, window-parameters, window-parent,
7292 window-pixel-edges, window-point, window-prev-buffers,
7293 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7294 window-start, window-text-height, window-top-child, window-top-line,
7295 window-total-height, window-total-width and window-use-time to the list
7296 of functions without side-effects.
7297 (toplevel): Add window-valid-p to the list of error-free functions
7298 without side-effects.
7299
7300 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7301
7302 * textmodes/ispell.el (ispell-program-name):
7303 Update spellchecker parameters when customized.
7304
7305 2012-11-04 Glenn Morris <rgm@gnu.org>
7306
7307 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7308
7309 2012-11-04 Chong Yidong <cyd@gnu.org>
7310
7311 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7312 same-window-* variables.
7313
7314 2012-11-04 Juri Linkov <juri@jurta.org>
7315
7316 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7317 (isearch-describe-key, isearch-describe-mode): Use a display
7318 action instead of binding same-window-* variables (Bug#10040).
7319
7320 2012-11-03 Glenn Morris <rgm@gnu.org>
7321
7322 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7323 Rename handler properties back from cl-- to cl-. (Bug#12788)
7324
7325 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7326
7327 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7328
7329 * term/pc-win.el: Don't load term/internal from here.
7330
7331 * loadup.el: Load term/internal from here.
7332
7333 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7334
7335 * progmodes/python.el (inferior-python-mode): Fix hang in
7336 jit-lock (Bug#12645).
7337
7338 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7339
7340 * window.el (switch-to-visible-buffer)
7341 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7342
7343 2012-11-03 Glenn Morris <rgm@gnu.org>
7344
7345 * emacs-lisp/cl-lib.el (cl--random-time):
7346 Rename from cl-random-time. (Bug#12773)
7347 (cl--gensym-counter, cl--random-state): Update callers.
7348 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7349
7350 2012-11-03 Chong Yidong <cyd@gnu.org>
7351
7352 * cus-start.el: Make cursor-type customizable (Bug#11633).
7353
7354 2012-11-02 Glenn Morris <rgm@gnu.org>
7355
7356 * filecache.el: No need to load find-lisp when compiling.
7357 (find-lisp-find-files): Autoload it.
7358 (file-cache-add-directory-recursively): Don't require find-lisp.
7359
7360 * image.el (image-type-from-file-name): Trivial simplification.
7361
7362 * emacs-lisp/bytecomp.el (byte-compile-eval):
7363 Decouple "noruntime" and "cl-functions" warnings.
7364
7365 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7366
7367 * play/gomoku.el (gomoku-display-statistics): Update mode line
7368 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7369
7370 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7371
7372 * window.el (quit-restore-window): If the window has been
7373 created on an existing frame and ended up as the sole window on
7374 that frame, do not delete it (Bug#12764).
7375
7376 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7379 Rename from sh--inside-arithmetic-expression, handle more cases
7380 (bug#11263).
7381
7382 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7383 (sh-font-lock-open-heredoc): Use it (bug#12770).
7384
7385 2012-10-30 Glenn Morris <rgm@gnu.org>
7386
7387 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7388
7389 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7390
7391 2012-10-29 Chong Yidong <cyd@gnu.org>
7392
7393 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7394 function key is stored in a keyboard macro (Bug#4894).
7395
7396 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7397
7398 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7401 header comments".
7402 (diff-unified->context, diff-context->unified)
7403 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7404
7405 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7406
7407 * files.el (find-alternate-file): Only ask one question (bug#12487).
7408
7409 2012-10-29 Chong Yidong <cyd@gnu.org>
7410
7411 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7412 Suggested by Dan Nicolaescu (Bug#6326).
7413
7414 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7415
7416 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7417
7418 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7419
7420 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7421
7422 * face-remap.el (face-remap-add-relative): Handle the case where a
7423 face-remapping-alist entry is a cons cell (Bug#12762).
7424
7425 2012-10-29 Kevin Ryde <user42@zip.com.au>
7426
7427 * woman.el (woman-parse-numeric-value): Handle picas correctly
7428 (Bug#12639).
7429
7430 2012-10-29 Glenn Morris <rgm@gnu.org>
7431
7432 * emacs-lisp/cl.el (defsetf): Doc fix.
7433
7434 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7437 syntax to the matching opener, if any (bug#12547).
7438 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7439 matching open as a "case-(".
7440 (sh-smie-rc-grammar): Add a corresponding rule for it.
7441
7442 2012-10-28 Daniel Hackney <dan@haxney.org>
7443
7444 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7445 "PKGNAME-autoloads.el" in case we created it.
7446
7447 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7450 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7451 (completion--twq-all): Disable too-strict assertions.
7452
7453 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7454
7455 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7456
7457 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7458 text to match the real keybindings.
7459
7460 2012-10-27 Juri Linkov <juri@jurta.org>
7461
7462 * wdired.el (wdired-keep-marker-rename): New defcustom.
7463 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7464 (Bug#11795)
7465
7466 * dired.el (dired-keep-marker-rename): Add reference to
7467 `wdired-keep-marker-rename' in the docstring.
7468 Add default character value ?R to display initially in
7469 Customization UI instead of ?@.
7470
7471 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7472
7473 * window.el (display-buffer): In doc-string describe
7474 window-height and window-width alist entries.
7475
7476 * time.el (display-time-world): Restore fit-window-to-buffer
7477 behavior.
7478
7479 2012-10-27 Chong Yidong <cyd@gnu.org>
7480
7481 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7482
7483 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7484
7485 * minibuffer.el (completion-category-overrides): New completion
7486 category `bookmark' (bug#11131).
7487
7488 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7491 Silence bogus compiler warnings for ad-do-it.
7492
7493 * bookmark.el (bookmark-completing-read): Set the completion category
7494 to `bookmark' (bug#11131).
7495
7496 2012-10-26 Bastien <bzg@altern.org>
7497 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * face-remap.el: Use lexical-binding.
7500 (text-scale-adjust): Improve docstring. Use itself for the temporary
7501 overlay-map bindings, so as to repeat the "Use..." message each time.
7502
7503 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * emacs-lisp/macroexp.el (macroexp--expand-all):
7506 Obey byte-compile-warning-enabled-p (bug#12486).
7507
7508 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7509 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7510
7511 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7512
7513 * mouse.el (mouse-drag-line): Move last form into preceding when
7514 clause (Bug#12731).
7515
7516 * help.el (resize-temp-buffer-window): Fix doc-string.
7517
7518 2012-10-25 David Engster <deng@randomsample.de>
7519
7520 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7521 Remove. This feature is already integrated in imenu.
7522
7523 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7524 always loaded. Require `speedbar' unconditionally.
7525
7526 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7529
7530 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7531
7532 * net/ldap.el (ldap-search-internal): The official ldif format starts
7533 with a "version: 1" header (bug#12724).
7534
7535 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7536 (bug#12721).
7537
7538 2012-10-25 Glenn Morris <rgm@gnu.org>
7539
7540 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7541
7542 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * minibuffer.el (minibuffer-force-complete): Use one more marker
7545 for the temporary-overlay-map command (bug#12619).
7546
7547 2012-10-24 Chong Yidong <cyd@gnu.org>
7548
7549 * time.el (display-time-world-mode): Derive from special-mode.
7550 (display-time-world): Use display-buffer (Bug#12708).
7551 (display-time-world-mode-map): Variable deleted.
7552 (display-time-world-display): Wrap the final delete-char inside
7553 inhibit-read-only.
7554
7555 2012-10-24 Chong Yidong <cyd@gnu.org>
7556
7557 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7558 Doc fix.
7559
7560 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7561
7562 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * minibuffer.el (completion--all-sorted-completions-location): New var.
7565 (completion--cache-all-sorted-completions)
7566 (completion--flush-all-sorted-completions): Use it.
7567 (completion-in-region, completion-in-region--postch)
7568 (completion-at-point, completion-help-at-point): Use markers in
7569 completion-in-region--data (bug#12619).
7570
7571 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * progmodes/compile.el (compilation-start): Try to handle common
7574 quoting of `cd' argument (bug#12640).
7575
7576 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7577 (bug#12671).
7578
7579 2012-10-23 Glenn Morris <rgm@gnu.org>
7580
7581 * progmodes/gud.el (gud-menu-map):
7582 Check gdb-active-process is bound. (Bug#12358)
7583
7584 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * repeat.el (repeat): Set real-this-command (bug#12232).
7587
7588 * htmlfontify.el (hfy-post-html-hook):
7589 * filesets.el (filesets-cache-fill-content-hook):
7590 * arc-mode.el (archive-extract-hook):
7591 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7592 * net/rcirc.el (rcirc-sentinel-functions)
7593 (rcirc-receive-message-functions, rcirc-activity-functions)
7594 (rcirc-print-functions):
7595 * net/dbus.el (dbus-event-error-functions):
7596 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7597 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7598 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7599 * term/sun.el (sun-raw-prefix-hooks):
7600 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7601
7602 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7603
7604 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7605 Set `tramp-chunksize' to 1. This improves the performance.
7606 (tramp-smb-wait-for-output): Add timeout to
7607 `tramp-accept-process-output' calls.
7608
7609 2012-10-23 Chong Yidong <cyd@gnu.org>
7610
7611 * faces.el (font-list-limit): Define as an obsolete variable.
7612
7613 * startup.el (command-line):
7614 * cus-start.el: Don't refer to font-list-limit.
7615
7616 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7617
7618 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * subr.el (internal-temp-output-buffer-show): Rename from
7621 temp-output-buffer-show, since previously compiled files expect this name.
7622
7623 2012-10-23 Glenn Morris <rgm@gnu.org>
7624
7625 * image.el (image-type-from-file-name): If multiple types match,
7626 return the first one that is supported. (Bug#9045)
7627
7628 2012-10-22 Glenn Morris <rgm@gnu.org>
7629
7630 * image.el (imagemagick-enabled-types): Doc fix.
7631
7632 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7633
7634 * progmodes/which-func.el (which-func-current): The hash-table may have
7635 an explicit nil (bug#12338).
7636
7637 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * electric.el (electric-pair-delete-selection-self-insert-function):
7640 Rename to electric-pair-will-use-region, return a boolean.
7641 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7642
7643 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7644 (delete-selection-pre-hook): Use use-region-p.
7645 (delete-selection-self-insert-function): Remove.
7646 (self-insert-command): Obey self-insert-uses-region-functions.
7647 (self-insert-iso): Revert to previous setting, since we don't actually
7648 know what that command does.
7649 (delete-selection-self-insert-hooks): Remove.
7650
7651 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7652
7653 * delsel.el (delete-selection-helper): New function, extracted from
7654 delete-selection-pre-hook.
7655 (delete-selection-pre-hook): Use it.
7656 (delete-selection-self-insert-function): New function.
7657 (delete-selection-self-insert-hooks): New hook.
7658 (self-insert-command, self-insert-iso): Use it.
7659 * electric.el (electric-pair-syntax): New function, extracted from
7660 electric-pair-post-self-insert-function.
7661 (electric-pair-post-self-insert-function): Use it.
7662 (electric-pair-delete-selection-self-insert-function): New function.
7663 (electric-pair-mode): Require delsel and setup
7664 delete-selection-self-insert-hooks (bug#11520).
7665
7666 2012-10-20 Chong Yidong <cyd@gnu.org>
7667
7668 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7669 no changes to show (Bug#12586).
7670
7671 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7672 list explicitly (Bug#12571).
7673
7674 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7675
7676 * progmodes/flymake.el (flymake-create-temp-inplace):
7677 Use file-truename.
7678
7679 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7680
7681 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7682
7683 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7684
7685 * calc/calc-units.el (math-extract-units): Properly extract powers
7686 of units.
7687
7688 2012-10-20 Daniel Colascione <dancol@dancol.org>
7689
7690 * frame.el (make-frame): Set x-display-name as we used to in order
7691 to unbreak creating an X11 frame from an Emacs daemon started
7692 without a display.
7693
7694 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7697 the same completion-field (bug#12221).
7698
7699 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7700
7701 * emacs-lisp/debug.el (debug): Record height of debugger window
7702 also when debugger will be back (Bug#8789).
7703
7704 2012-10-18 Chong Yidong <cyd@gnu.org>
7705
7706 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7707 Convert to defcustom.
7708 (gdb-get-source-file): Don't bind pop-up-windows.
7709
7710 * progmodes/gud.el (gud-display-line): Don't specially re-use
7711 other frames for the gdb-mi case (Bug#12648).
7712
7713 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * emacs-lisp/advice.el: Clean up commentary a bit.
7716 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7717 (byte-code-function-p): Never redefine.
7718
7719 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7720
7721 2012-10-18 Glenn Morris <rgm@gnu.org>
7722
7723 * dired.el (dired-sort-toggle): Some ls implementations only allow
7724 a single option string. (Bug#12666)
7725
7726 * minibuffer.el (completion-cycle-threshold): Doc fix.
7727
7728 2012-10-17 Kenichi Handa <handa@gnu.org>
7729
7730 * international/mule.el (set-keyboard-coding-system):
7731 Recover input meta mode when the new coding system doesn not use 8-bit.
7732 Supply TERMINAL arg to set-input-meta-mode.
7733
7734 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7735
7736 * wdired.el (wdired-old-marks): New variable.
7737 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7738 (wdired-do-renames): Move point with renamed file and don't lose
7739 mark status (Bug#11795).
7740
7741 2012-10-16 Juri Linkov <juri@jurta.org>
7742
7743 * replace.el (query-replace-help): Mention multi-buffer replacement
7744 keys in the Help message. (Bug#12655)
7745
7746 2012-10-15 Chong Yidong <cyd@gnu.org>
7747
7748 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7749
7750 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7751
7752 * window.el (display-buffer): Doc fix.
7753
7754 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7755 Adjust the msft regexp to the output of Studio 2010, and move msft
7756 before edg-1. See the discussion on emacs-devel,
7757 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7758 for the details.
7759
7760 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7763 (oset): Move uses of object-class-fast macro after its definition.
7764
7765 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7766
7767 2012-10-13 Chong Yidong <cyd@gnu.org>
7768
7769 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7770 enabled, re-enable it (Bug#11963).
7771
7772 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7773
7774 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7775 non-nil, restore window configuration (Bug#12623).
7776
7777 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 * help-fns.el (describe-variable, describe-function-1):
7780 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7781
7782 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7783
7784 2012-10-12 Glenn Morris <rgm@gnu.org>
7785
7786 * mail/rmailsum.el (rmail-header-summary):
7787 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7788
7789 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7790
7791 * progmodes/python.el (python-mode-map):
7792 Replace subtitute-key-definition with proper command remapping.
7793 (python-nav--up-list): Fix behavior for blocks on the same level.
7794
7795 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7798
7799 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7800 changes to the format of load-history.
7801
7802 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7803 completion-ignore-case in case that var is buffer-local (bug#12615).
7804
7805 2012-10-11 Kenichi Handa <handa@gnu.org>
7806
7807 * international/eucjp-ms.el: Re-generated.
7808
7809 2012-10-10 Kenichi Handa <handa@gnu.org>
7810
7811 * select.el (xselect--encode-string): If a coding is specified for
7812 selection, and that is compatible with COMPOUND_TEXT, use it.
7813
7814 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7815
7816 * window.el (switch-to-buffer-preserve-window-point): New option.
7817 (switch-to-buffer):
7818 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7819
7820 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7823 Don't document nil as a useful value (bug#12583).
7824
7825 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7826
7827 * net/tramp.el (tramp-debug-message):
7828 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7829 (with-tramp-progress-reporter): Rename from
7830 `tramp-with-progress-reporter'.
7831 (with-tramp-file-property, with-tramp-connection-property):
7832 Move from tramp-cache.el, rename from `with-file-property' and
7833 `with-connection-property', respectively.
7834
7835 * net/tramp-cache.el: Remove `with-file-property' and
7836 `with-connection-property'.
7837
7838 * net/tramp.el:
7839 * net/tramp-gvfs.el:
7840 * net/tramp-sh.el:
7841 * net/tramp-smb.el: Adapt callees.
7842
7843 * net/trampver.el: Update release number.
7844
7845 2012-10-09 Glenn Morris <rgm@gnu.org>
7846
7847 * w32-fns.el (set-message-beep):
7848 * term/w32-win.el (set-message-beep): Update declarations.
7849
7850 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7853 (mode-line-widen, mode-line-input-method-map)
7854 (mode-line-coding-system-map, mode-line-remote)
7855 (mode-line-unbury-buffer, mode-line-bury-buffer)
7856 (mode-line-next-buffer, mode-line-previous-buffer):
7857 Replace save-selected-window+select-window => with-selected-window.
7858
7859 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7860 * progmodes/cc-vars.el (bq-process): Remove, unused.
7861
7862 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7863
7864 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7865
7866 Implemented `backward-up-list'-like navigation.
7867 * progmodes/python.el (python-nav-up-list)
7868 (python-nav-backward-up-list): New functions.
7869 (python-mode-map): Define substitute key for backward-up-list to
7870 python-nav-backward-up-list.
7871
7872 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7873
7874 * progmodes/python.el (python-fill-paragraph): Rename from
7875 python-fill-paragraph-function. Fixed fill-paragraph for
7876 decorators (Bug#12605).
7877
7878 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7879
7880 * progmodes/python.el (python-shell-output-filter): Handle extra
7881 carriage return in OSX (Bug#12409).
7882
7883 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7884
7885 Fix shell handling of unbalanced quotes and parens in output.
7886 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7887 (python-syntax-propertize-function): Use it.
7888 (python-shell-output-syntax-table): New var.
7889 (inferior-python-mode): Prevent unbalanced parens/quotes from
7890 previous output mess with current input context.
7891
7892 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7895 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7896
7897 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7898
7899 * ffap.el (ffap-replace-file-component): Support Tramp file name
7900 syntax, not only ange-ftp's one.
7901
7902 2012-10-08 Glenn Morris <rgm@gnu.org>
7903
7904 * cus-start.el (message-log-max): Set :version.
7905
7906 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7907
7908 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7909
7910 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7911 the minibuffer window (Bug#10851).
7912
7913 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7914
7915 Enhancements on forward-sexp movement.
7916 * progmodes/python.el (python-nav-beginning-of-statement)
7917 (python-nav-end-of-statement): Return point-marker.
7918 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7919 (python-info-current-symbol)
7920 (python-info-statement-starts-block-p): Rename from
7921 python-info-beginning-of-block-p.
7922 (python-info-statement-ends-block-p): Rename from
7923 python-info-end-of-block-p.
7924 (python-info-beginning-of-statement-p)
7925 (python-info-end-of-statement-p)
7926 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7927 New functions.
7928
7929 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7932 frame-selected-windows.
7933
7934 2012-10-08 Daniel Colascione <dancol@dancol.org>
7935
7936 * battery.el (battery-status-function): Check for
7937 w32-battery-status itself, not system-time windows-nt.
7938
7939 * frame.el: Require cl-lib.
7940 (display-format-alist): New variable mapping frame types to
7941 functions that initialize them.
7942 (window-system-for-display): New function: interprets
7943 display-format-alist.
7944 (make-frame-on-display): Remove existing display-selection logic
7945 and just forward to make-frame, which will now DTRT.
7946 (make-frame): Restructure to use window-system-for-display to
7947 figure out how to create a frame on a given display.
7948 (display-mouse-p): Look for frame-type w32, not a particular
7949 system-type.
7950
7951 * loadup.el: Load w32 lisp code when we have the w32 feature.
7952
7953 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7954 system-type windows-nt.
7955
7956 * server.el (server-create-window-system-frame): Look for window
7957 type.
7958 (server-proces-filter): Only force a window system when windows-nt
7959 _and_ w32. Explain why.
7960
7961 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7962 of window systems we configure for the mode.
7963
7964 * startup.el (command-line): Mark window system is initialized
7965 after we've done it.
7966
7967 * common-win.el (x-select-text): Look for w32, not windows-nt.
7968
7969 * ns-win.el: Require cl-lib. Add ourselves to
7970 display-format-alist.
7971 (ns-initialize-window-system): Assert we're not initialized twice.
7972
7973 * w32-win.el: Enable lexical binding; require cl-lib; add
7974 ourselves to display-format-alist.
7975 (w32-handle-dropped-file): Convert incoming dropped files from
7976 Windows paths to Cygwin ones before passing them on to the rest of
7977 Emacs.
7978 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7979 (w32-initialize-window-system): Assert we're not initialized twice.
7980
7981 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7982 (x-initialize-window-system): Assert we're not initialized twice.
7983
7984 * w32-common-fns.el: New File.
7985 (w32-version, w32-using-nt, w32-get-clipboard-data)
7986 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7987 (w32-charset-info-alist, x-last-selected, text)
7988 (x-get-selection-value, x-selection-value): Move here.
7989
7990 * w32-fns.el: Require w32-common-fns.
7991 (w32-version, w32-using-nt, w32-get-clipboard-data)
7992 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7993 (w32-charset-info-alist, x-last-selected, text)
7994 (x-get-selection-value, x-selection-value): Move to
7995 w32-common-fns.
7996
7997 * w32-vars.el:
7998 (w32-allow-system-shell, w32-system-shells): Define only in
7999 non-cygwin case.
8000
8001 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8004 (read-passwd): Remove a few more potential sources of leaks.
8005
8006 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8007
8008 * progmodes/python.el (inferior-python-mode)
8009 (python-shell-make-comint): Fix initialization of local
8010 variables copied from parent buffer.
8011
8012 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8013
8014 * term/ns-win.el (ns-read-file-name): Update declaration to match
8015 nsfns.m.
8016 (ns-respond-to-change-font): Change fontsize separately so we are sure
8017 it is set when font is acted upon.
8018
8019 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8020
8021 Enhancements to indentation.
8022 * progmodes/python.el (python-indent-context): Give priority to
8023 inside-string context. Make comments indentation markers.
8024 (python-indent-region): Do not mess with strings, unless it's the
8025 enclosing set of quotes.
8026
8027 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * window.el (internal--before-save-selected-window)
8030 (internal--after-save-selected-window): New functions extracted from
8031 save-selected-window. Make sure we return the `alist' we construct.
8032 (save-selected-window): Use them.
8033
8034 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8035 Use with-selected-window.
8036
8037 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8038 forms that define macros (bug#12593).
8039
8040 2012-10-07 Kenichi Handa <handa@gnu.org>
8041
8042 * international/mule-conf.el (compound-text-with-extensions):
8043 Add :mime-charset property as x-ctext.
8044
8045 2012-10-07 Stefan Merten <smerten@oekonux.de>
8046
8047 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8048 (rst-indent-literal-normal, rst-indent-literal-minimized)
8049 (rst-indent-comment): Correct :version tag.
8050 (rst-official-cvs-rev): Correct version string.
8051
8052 2012-10-07 Glenn Morris <rgm@gnu.org>
8053
8054 * mail/rmailmm.el (rmail-mime-process-multipart):
8055 Do not confuse a multipart message with an epilogue
8056 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8057
8058 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8059
8060 Fix shell output retrieval and comint-prompt-regexp init.
8061 * progmodes/python.el (inferior-python-mode):
8062 (python-shell-make-comint): Fix initialization of
8063 comint-prompt-regexp from copied file local variables.
8064 (python-shell-fetched-lines): Remove var.
8065 (python-shell-output-filter-in-progress): Rename from
8066 python-shell-fetch-lines-in-progress.
8067 (python-shell-output-filter-buffer): Rename from
8068 python-shell-fetch-lines-string.
8069 (python-shell-fetch-lines-filter): Delete function.
8070 (python-shell-output-filter): New function.
8071 (python-shell-send-string-no-output): Use them.
8072
8073 2012-10-07 Glenn Morris <rgm@gnu.org>
8074
8075 * hi-lock.el (hi-lock-process-phrase):
8076 Try to make it less fragile. (Bug#7161)
8077
8078 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8079
8080 2012-10-06 Glenn Morris <rgm@gnu.org>
8081
8082 * ehelp.el (electric-help-mode): Use help-mode rather than
8083 non-existent mode `help'.
8084 (electric-help-map): Use button-buffer-map. (Bug#10917)
8085
8086 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8087 (reftex-create-bibtex-footer): Fix custom types.
8088
8089 * progmodes/sh-script.el (sh-indent-after-continuation):
8090 Add explicit :group.
8091
8092 * textmodes/rst.el (rst-preferred-decorations)
8093 (rst-shift-basic-offset): Clarify obsolescence versions.
8094
8095 * profiler.el (profiler): Add missing group :version tag.
8096 * avoid.el (mouse-avoidance-banish-position):
8097 * proced.el (proced-renice-command):
8098 * calc/calc.el (calc-ensure-consistent-units):
8099 * calendar/icalendar.el (icalendar-import-format-uid):
8100 * net/tramp.el (tramp-save-ad-hoc-proxies):
8101 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8102 * progmodes/flymake.el (flymake-error-bitmap)
8103 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8104 * progmodes/sh-script.el (sh-indent-after-continuation):
8105 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8106 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8107 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8108 (vhdl-array-index-record-field-in-sensitivity-list)
8109 (vhdl-indent-comment-like-next-code-line):
8110 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8111 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8112 (reftex-cite-key-separator, reftex-create-bibtex-header)
8113 (reftex-create-bibtex-footer):
8114 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8115 (rst-indent-literal-normal, rst-indent-literal-minimized)
8116 (rst-indent-comment): Add missing custom :version tags.
8117
8118 * calendar/timeclock.el (timeclock-modeline-display):
8119 Add missing obsolete alias for renamed user option.
8120
8121 * strokes.el (strokes-modeline-string):
8122 * emulation/crisp.el (crisp-mode-modeline-string):
8123 * eshell/esh-mode.el (eshell-status-in-modeline):
8124 Aliases to defcustoms must come before the defcustom.
8125
8126 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8127 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8128 (cal-tex-cursor-week-monday): Doc fixes.
8129 (cal-tex-cursor-week2-summary): Doc fix.
8130 Rename from cal-tex-cursor-week-at-a-glance.
8131
8132 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8133 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8134
8135 * calendar/calendar.el (calendar-mode-map):
8136 Add cal-tex-cursor-week2-summary.
8137
8138 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8141
8142 * subr.el (read-passwd-map): New var.
8143 (read-passwd): Use `read-string' again.
8144 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8145
8146 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8147
8148 * register.el (append-to-register, prepend-to-register):
8149 Deactivate mark, as does `copy-to-register' (bug#12389).
8150
8151 2012-10-06 Chong Yidong <cyd@gnu.org>
8152
8153 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8154
8155 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8156
8157 * international/characters.el: Fix simple mistake ((car chars) ->
8158 elt), delete duplicated code.
8159
8160 2012-10-06 Glenn Morris <rgm@gnu.org>
8161
8162 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8163
8164 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8165
8166 * color.el (color-hsl-to-rgb): Fix incorrect results for
8167 small and large hue values. (Bug#12559)
8168
8169 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8170
8171 Enhancements to docstring formatting when filling paragraphs.
8172 * progmodes/python.el (python-fill-docstring-style): Rename from
8173 python-fill-string-style. Added new style.
8174 (python-fill-string): Use new style. Better checks for
8175 docstrings.
8176
8177 2012-10-05 Glenn Morris <rgm@gnu.org>
8178
8179 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8180
8181 * color.el (color-name-to-rgb, color-rgb-to-hex)
8182 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8183 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8184 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8185 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8186
8187 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8188
8189 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8190
8191 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8192 to get the correct size across symlinks.
8193
8194 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8195
8196 2012-10-04 Juri Linkov <juri@jurta.org>
8197
8198 * replace.el (query-replace-interactive): Declare obsolete.
8199 (query-replace-read-from): Add the last incremental search string
8200 to the list of default values accessible via M-n.
8201 (map-query-replace-regexp): Use `read-regexp'.
8202 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8203 (map-query-replace-regexp, replace-string, replace-regexp):
8204 Fix docstrings to replace mentions of `query-replace-interactive'
8205 with alternatives. (Bug#12526)
8206
8207 2012-10-04 Juri Linkov <juri@jurta.org>
8208
8209 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8210 (dired-pop-to-buffer): Declare obsolete.
8211 (dired-mark-pop-up): Doc fix.
8212
8213 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8214
8215 Allow user to set docstring style for fill-paragraph.
8216 * progmodes/python.el
8217 (python-fill-comment-function, python-fill-string-function)
8218 (python-fill-decorator-function, python-fill-paren-function):
8219 Remove :safe for defcustoms.
8220 (python-fill-string-style): New defcustom
8221 (python-fill-paragraph-function): Enhance context detection.
8222 (python-fill-string): Honor python-fill-string-style settings.
8223
8224 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8225
8226 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8227 after setting its buffer (Bug#10805).
8228
8229 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8230
8231 Fix cornercase for string syntax.
8232 * progmodes/python.el (python-syntax-propertize-function):
8233 Simplify and enhance the regexp for unescaped quotes. Now it also
8234 matches quotes in weird situations like the single quote in
8235 "something\"'".
8236 (python-syntax-stringify): Simplify num-quotes detecting code.
8237
8238 2012-10-03 Glenn Morris <rgm@gnu.org>
8239
8240 * help-macro.el (three-step-help):
8241 Revert 2012-09-29 change. (Bug#12567)
8242
8243 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8244
8245 * menu-bar.el (kill-this-buffer): Don't do anything when
8246 `menu-frame' is not alive or visible (Bug#8184).
8247
8248 * emacs-lisp/debug.el (debug): When quitting the debugger window
8249 restore current buffer (Bug#12502).
8250
8251 2012-10-02 Chong Yidong <cyd@gnu.org>
8252
8253 * progmodes/hideif.el (hif-lookup, hif-defined):
8254 Handle semantic-c-takeover-hideif.
8255
8256 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8257
8258 Change sampling interval units from ms to ns.
8259 * profiler.el (profiler-sampling-interval): Change units
8260 from ms to ns, multiplying the default by 1000000 so that
8261 it remains 1 ms.
8262 (profiler-report-cpu-line-format): Give enough room for
8263 the maximum counters on 64-bit hosts.
8264 (profiler-report-render-calltree-1): Call them "CPU samples",
8265 not "Time (ms)", since they are not milliseconds now (and
8266 never really were).
8267
8268 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8269
8270 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8271 Fix querying BBDB for entries without a last name (Bug#11580).
8272
8273 2012-10-02 Chong Yidong <cyd@gnu.org>
8274
8275 * emacs-lisp/eieio.el: Restore Version header.
8276
8277 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * vc/diff-mode.el (diff--auto-refine-data): New var.
8280 (diff-hunk): Use it to delay refinement.
8281 (diff-mode): Remove overlays when we turn off font-lock.
8282
8283 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8284 (table-initialize-table-fixed-width-mode)
8285 (table-set-table-fixed-width-mode): Remove functions.
8286 (table-command-list): Move initialization into declaration.
8287 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8288 (table-with-cache-buffer): Use `declare'.
8289 (table-span-cell): Simplify via CSE.
8290 (table-fixed-width-mode): Use define-minor-mode.
8291 (table-call-interactively, table-funcall, table-apply): Remove.
8292 (table-function): New function, to replace them.
8293
8294 * bookmark.el (bookmark-search-pattern): Remove var.
8295 (bookmark-read-search-input): Remove function.
8296 (bookmark-bmenu-search): Reimplement using a minibuffer.
8297
8298 * faces.el (modeline): Remove obsolete face name.
8299
8300 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8301 and give a non-nil default value.
8302 (add-change-log-entry): Simplify accordingly.
8303
8304 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8305
8306 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8307 (vc-git-log-edit-toggle-amend): New function.
8308 (vc-git-log-edit-toggle-signoff): New function.
8309 (vc-git-log-edit-mode): New major mode.
8310 (vc-git-log-edit-mode-map): Keymap for it.
8311 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8312
8313 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8314 header names.
8315 (log-edit-toggle-header): New function.
8316 (log-edit-extract-headers): Accept function values in HEADERS alist.
8317
8318 2012-10-01 David Engster <deng@randomsample.de>
8319
8320 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8321 from symbol property and change message to be more consistent with
8322 Emacs proper.
8323 (eieio-describe-generic): Add filename for each implementation.
8324 Fix indices for generic and normal methods.
8325 (eieio-method-def, eieio-class-def): New buttons.
8326 (eieio-help-find-method-definition)
8327 (eieio-help-find-class-definition): New functions.
8328 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8329 class, constructor and method definitions.
8330
8331 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8332 information in symbol property.
8333 (scoped-class): Remove.
8334 (eieio-slot-name-index, call-next-method): Check if it is bound.
8335
8336 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8337
8338 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8339 (eieio-custom-mode): New major mode.
8340 (eieio-customize-object): Use it.
8341
8342 2012-10-01 Eric Ludlam <zappo@gnu.org>
8343
8344 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8345 specifying the expected class, and whether subclassing is allowed.
8346 (eieio-persistent-convert-list-to-object):
8347 (eieio-persistent-validate/fix-slot-value)
8348 (eieio-persistent-slot-type-is-class-p): New functions.
8349 (eieio-named::slot-missing): Doc fix.
8350
8351 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8352 Stop using unused publd variable.
8353
8354 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8355 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8356 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8357 (eieio-speedbar-handle-click): Do not specify a class for the
8358 method. Fixes method invocation order problems with EDE.
8359
8360 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8363 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8364
8365 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8366
8367 * bookmark.el (bookmark-version-control): Give tags in the
8368 :type choices (Bug#12309), and improve doc string.
8369 (bookmark-write-file): Bind `print-circle' to `t' to allow
8370 circular custom bookmark types. (Bug#12503)
8371
8372 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8373
8374 Revert the FOLLOW-SYMLINKS change for file-attributes.
8375 * files.el (remote-file-name-inhibit-cache, after-find-file):
8376 * time.el (display-time-file-nonempty-p): Undo last change.
8377
8378 * profiler.el (profiler-sampling-interval): Change default back to 1.
8379 See Stefan Monnier in
8380 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8381
8382 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8383
8384 Shell output catching a la gud-gdb.
8385 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8386 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8387 New Vars.
8388 (python-shell-fetch-lines-filter): New function.
8389 (python-shell-send-string-no-output): Use them.
8390
8391 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8392
8393 * profiler.el (profiler-sampling-interval): Rename from
8394 profiler-sample-interval.
8395 (profiler-sampling-interval): Default to 10.
8396 (profiler-find-profile): New command (was profiler-find-log).
8397 (profiler-find-profile-other-window): New command.
8398 (profiler-find-profile-other-frame): New command.
8399 (profiler-profile): Introduce API-level data structure.
8400
8401 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8402
8403 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8404 * files.el (remote-file-name-inhibit-cache):
8405 * time.el (display-time-file-nonempty-p): Use it.
8406 * files.el (after-find-file): Don't chase links before calling
8407 file-exists-p, as file-exists-p already does the right thing.
8408
8409 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8410
8411 Merge from standalone RefTeX repository.
8412
8413 The following ChangeLog entries are shortened versions of the
8414 original ones with file paths adapted. A not so strongly edited
8415 version of the original ChangeLog can be found in the commit log.
8416
8417 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8418 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8419 Correctly handle new value type returned by `reftex-citation'.
8420
8421 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8422 that entries with whitespace at various places are found.
8423 Doc fix. Include entries that are cross-referenced from cited entries.
8424 Include @String definitions in the resulting bib file. Add header
8425 and footer defined in `reftex-create-bibtex-header' and
8426 `reftex-create-bibtex-footer'.
8427 (reftex-do-citation): Make it possible again to insert
8428 non-existent entries. Save match data when asking for optional
8429 arguments. Return all keys, not just the first one.
8430 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8431 all citations in the same line.
8432 (reftex-parse-bibtex-entry): Accept additional optional argument
8433 `raw' and keep quotes or braces if it is non-nil. Match fields
8434 containing hyphens besides word constituents.
8435 (reftex-get-string-refs): New function.
8436 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8437 and ask if it should be reread in case it did.
8438 (reftex-pop-to-bibtex-entry)
8439 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8440 entries with spaces or tabs in front of arguments.
8441 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8442 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8443 Match entries containing numbers and symbol constituents.
8444 (reftex-do-citation, reftex-figure-out-cite-format):
8445 Use `reftex-cite-key-separator'.
8446
8447 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8448 (reftex-mouse-view-crossref): Explain why point is set.
8449
8450 * textmodes/reftex-global.el: Whitespace changes.
8451
8452 * textmodes/reftex-index.el: Move provide statement to end of
8453 file.
8454 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8455 (reftex-index-visit-phrases-buffer): Set marker when visiting
8456 buffer. This allows for returning from the phrases file to the
8457 file one was just editing instead of the file where the last
8458 phrases was added from.
8459 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8460 punctuation syntax as it usually is not used as string quote in
8461 TeX-related modes and may occur unmatched. The change also
8462 prevents fontification of quoted content.
8463 (reftex-index-phrases-mode): Use it.
8464
8465 * textmodes/reftex-parse.el (reftex-parse-from-file):
8466 Move backward one char if a `\' was matched after a section macro.
8467 (reftex-parse-from-file): Use beginning of match instead of end as
8468 bound.
8469
8470 * textmodes/reftex-ref.el: Adapt creation of
8471 `reftex-<package>-<macro>' functions to new structure of
8472 `reftex-ref-style-alist'.
8473 (reftex-reference): Use `reftex-ref-style-list' function.
8474 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8475 reference macro if `reftex-ref-macro-prompt' is non-nil.
8476 (reftex-reference): Pass refstyle to `reftex-format-special'.
8477 Determine reference macro by looking at
8478 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8479 Use only one special format function.
8480 (reftex-varioref-vref, reftex-fancyref-fref)
8481 (reftex-fancyref-Fref): Remove definitions. The functions are now
8482 generated from `reftex-ref-style-alist'.
8483 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8484 Remove.
8485 (reftex-format-special): New function.
8486
8487 * textmodes/reftex-sel.el
8488 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8489 of `reftex-ref-style-alist'. Remove code for testing macro type.
8490 (reftex-select-toggle-varioref)
8491 (reftex-select-toggle-fancyref): Remove.
8492 (reftex-select-cycle-ref-style-internal)
8493 (reftex-select-cycle-ref-style-forward)
8494 (reftex-select-cycle-ref-style-backward): New functions.
8495 (reftex-select-label-map): Use `v' and `V' for general cycling
8496 through reference styles. Add `p' for switching between number
8497 and page reference types.
8498
8499 * textmodes/reftex-toc.el (reftex-re-enlarge):
8500 Call `enlarge-window' only if there is something to do because in Emacs
8501 the horizontal version throws an error even if the parameter is 0.
8502
8503 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8504 (reftex-plug-into-AUCTeX): Doc fix.
8505 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8506 string. Adapt to new name.
8507 (reftex-ref-style-alist): Change structure so that it is not
8508 possible to use multiple different package names within a style.
8509 Remove the symbols for symbols for macro type distinction.
8510 Add characters for macro selection.
8511 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8512 (reftex-create-bibtex-footer): New variables.
8513 (reftex-format-ref-function): Mention third argument of special
8514 format function.
8515 (reftex-ref-style-alist, reftex-ref-style-default-list):
8516 New variables.
8517 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8518 to new implementation. Mark as obsolete. Add compatibility code
8519 for honoring the variable values in case they are set.
8520 (reftex-cite-format-builtin, reftex-bibliography-commands):
8521 Add support for ConTeXt.
8522 (reftex-format-ref-function, reftex-format-cite-function):
8523 Fix custom type.
8524 (reftex-cite-key-separator): New variable.
8525
8526 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8527 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8528 `reftex-syntax-table' because parens have to retain their paren
8529 syntax in order for parsing of BibTeX entries like @book(...) to
8530 work.
8531 (reftex-in-comment): Do not error out if `comment-start-skip' is
8532 not set. Deal correctly with escaped comment characters.
8533 (reftex-tie-multifile-symbols): Add doc string.
8534 Initialize `reftex-ref-style-list'.
8535 (reftex-untie-multifile-symbols): Add doc string.
8536 (reftex-add-index-macros): Doc fix.
8537 (reftex-ref-style-activate, reftex-ref-style-toggle)
8538 (reftex-ref-style-list): New functions.
8539 (reftex-mode-menu): Use them. Adapt to new structure of
8540 `reftex-ref-style-alist'.
8541 (reftex-select-with-char): Kill the RefTeX Select buffer when
8542 done.
8543 (reftex-remove-if): New function.
8544 (reftex-erase-all-selection-and-index-buffers)
8545 (reftex-mode-menu): Reference styles are now computed from
8546 `reftex-ref-style-alist'. Fix typo.
8547 (reftex-report-bug): New function.
8548 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8549 algorithms with O(n log n). Introduce optional argument SORT (not
8550 yet used).
8551
8552 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8553
8554 Enhancements for triple-quote string syntax.
8555 * progmodes/python.el (python-syntax-propertize-function):
8556 Match both quote cases in one regexp.
8557 (python-syntax-stringify): Handle matches properly.
8558
8559 2012-09-30 Juri Linkov <juri@jurta.org>
8560
8561 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8562 to nil around the call to `insert' to prevent
8563 directory time modification by lock_file. (Bug#2295)
8564 * tar-mode.el (tar-summarize-buffer): Idem.
8565
8566 2012-09-30 Juri Linkov <juri@jurta.org>
8567
8568 * facemenu.el (list-colors-sort): Add option "Luminance".
8569 (list-colors-sort-key): Implement it.
8570
8571 * vc/diff-mode.el (diff-refine-removed):
8572 * vc/ediff-init.el (ediff-fine-diff-A):
8573 * vc/smerge-mode.el (smerge-refined-removed):
8574 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8575
8576 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8577
8578 * term/ns-win.el (x-file-dialog): New function.
8579
8580 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * ido.el (ido-max-directory-size): Default to nil; the current
8583 default is small for POSIX systems, and impractical on Windows 7
8584 now that lstat returns directory sizes for NTFS.
8585
8586 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8587
8588 In buffer display functions handle window-height/window-width
8589 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8590 * window.el (window--display-buffer): New argument ALIST.
8591 Obey window-height and window-width alist entries.
8592 (window--try-to-split-window): New argument ALIST.
8593 Bind window-combination-limit to t when the window's size shall be
8594 changed and window-combination-limit equals `window-size'.
8595 (display-buffer-in-atom-window)
8596 (display-buffer-in-major-side-window)
8597 (display-buffer-in-side-window, display-buffer-same-window)
8598 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8599 (display-buffer-pop-up-window, display-buffer-below-selected)
8600 (display-buffer-at-bottom, display-buffer-in-previous-window)
8601 (display-buffer-use-some-window): Adjust all callers of
8602 window--display-buffer and window--try-to-split-window.
8603 (fit-frame-to-buffer): New option.
8604 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8605 is non-nil.
8606 (display-buffer-in-major-side-window): Evaluate window-height /
8607 window-width alist entries.
8608
8609 * help.el (temp-buffer-resize-frames)
8610 (temp-buffer-resize-regexps): Remove options.
8611 (temp-buffer-resize-mode): Adjust doc-string.
8612 (resize-temp-buffer-window): Don't consult
8613 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8614 temp-buffer-resize-frames.
8615
8616 * dired.el (dired-mark-pop-up):
8617 Call display-buffer-below-selected with a fit-window-to-buffer alist
8618 entry.
8619
8620 2012-09-30 Chong Yidong <cyd@gnu.org>
8621
8622 * server.el (server-host): Document the security implications.
8623 (server-auth-key): Doc fix.
8624
8625 * startup.el (initial-buffer-choice): Doc fix.
8626
8627 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8628
8629 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8630 restriction change.
8631
8632 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8633
8634 * help-fns.el (help-fns--obsolete): Fix last change.
8635
8636 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8639 (minor-mode-map-alist): Remove redundant code.
8640
8641 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8642 visited in a buffer.
8643 (cvs-insert-visited-file): New function.
8644 (find-file-hook): Use it.
8645
8646 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8647
8648 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8649 chose face.
8650 (log-edit-empty-buffer-p): Don't require a space after a header.
8651
8652 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8653
8654 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8655
8656 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8657 a proper minor-mode.
8658
8659 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8660
8661 2012-09-29 Glenn Morris <rgm@gnu.org>
8662
8663 * winner.el (winner-mode): Remove variable (let define-minor-mode
8664 handle it).
8665 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8666 Doc fixes.
8667 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8668 (winner-mode): Use define-minor-mode.
8669
8670 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8671 the full definition in loaddefs, rather than duplicating it.
8672
8673 * help-macro.el (three-step-help): No need to autoload defcustom.
8674
8675 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8676 (inferior-lisp-program, inferior-lisp-load-command)
8677 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8678 No need to autoload defcustoms.
8679
8680 * hippie-exp.el (hippie-expand-try-functions-list)
8681 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8682 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8683 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8684 (hippie-expand-only-buffers): No need to autoload defcustoms.
8685 * progmodes/vhdl-mode.el (vhdl-line-expand):
8686 Explicitly load hippie-exp, so it does not get autoloaded
8687 while hippie-expand-try-functions-list is let-bound.
8688
8689 2012-09-28 Glenn Morris <rgm@gnu.org>
8690
8691 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8692
8693 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8694 Only "cl.el" counts as cl these days.
8695
8696 2012-09-28 Juri Linkov <juri@jurta.org>
8697
8698 Display archive errors in the echo area instead of inserting
8699 to the file buffer.
8700
8701 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8702 to STDERR-TEST that can be a regexp matching a successful output.
8703 Create a temporary file and redirect stderr to it. Search for
8704 STDERR-TEST in the stderr output and display it in the echo area
8705 if no match is found.
8706 (archive-extract-by-file): New function like
8707 `archive-extract-by-stdout' but extracting archives to files
8708 and looking for successful matches in stdout. Function body is
8709 mostly copied from `archive-rar-extract'.
8710 (archive-rar-extract): Use `archive-extract-by-file'.
8711 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8712
8713 2012-09-28 Leo Liu <sdl.web@gmail.com>
8714
8715 * pcomplete.el (pcomplete-show-completions):
8716 Use minibuffer-message to make pcomplete usable in minibuffer.
8717
8718 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8719
8720 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * type-break.el: Use lexical-binding.
8723 (type-break-mode): Use define-minor-mode.
8724
8725 * emacs-lisp/pcase.el (pcase--mark-used): New.
8726 (pcase--u1): Use it (bug#12512).
8727
8728 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8729 in load-history with the right file name.
8730
8731 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8732
8733 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8734 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8735 (doc-view-get-bounding-box): Make bounding box slicing work for
8736 ODF and DVI documents.
8737
8738 2012-09-28 Glenn Morris <rgm@gnu.org>
8739
8740 * type-break.el (type-break-mode, type-break-interval)
8741 (type-break-good-rest-interval, type-break-keystroke-threshold):
8742 No need to autoload.
8743 (type-break-good-rest-interval, type-break-keystroke-threshold):
8744 Add :set-after.
8745
8746 2012-09-28 Chong Yidong <cyd@gnu.org>
8747
8748 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8749 Add :version tag.
8750
8751 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8754
8755 2012-09-27 Glenn Morris <rgm@gnu.org>
8756
8757 * faces.el (x-display-name): Declare (for without-x builds).
8758
8759 * linum.el (linum-format): Don't autoload it. Improve :type.
8760
8761 * progmodes/tcl.el: Don't require outline when compiling.
8762 (outline-regexp, outline-level): Declare.
8763 * textmodes/sgml-mode.el: Don't require outline when compiling.
8764 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8765
8766 * term.el (term-ansi-reset):
8767 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8768
8769 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8770 files for RCS and SCCS. (Bug#9781)
8771
8772 2012-09-27 Chong Yidong <cyd@gnu.org>
8773
8774 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8775 change; value should be t.
8776
8777 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * image-mode.el: Use lexical-binding.
8780 (image-mode-winprops): Use t to stand for the window of
8781 a buffer that's not displayed.
8782 * doc-view.el (doc-view-new-window-function): Handle the new
8783 t in winprops.
8784 (doc-view-enlarge): Make it a real nop if the size is not changed.
8785 (doc-view-display): Handle the case where the buffer is not (yet?)
8786 displayed in any window.
8787 (doc-view-saved-settings): New var.
8788 (doc-view-mode): Use it.
8789 (doc-view-fallback-mode): Set it.
8790
8791 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8792 Set lexical-binding.
8793 (minibuffer-eldef-shorten-default): New var.
8794 (minibuffer-default-in-prompt-regexps): Use it for new default.
8795 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8796
8797 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8798
8799 * international/uni-bidi.el:
8800 * international/uni-category.el:
8801 * international/uni-name.el:
8802 * international/uni-numeric.el: Regenerate.
8803
8804 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8805 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * profiler.el: New file.
8808
8809 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8812 (testcover-reinstrument): Simplify with CSE.
8813
8814 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8815
8816 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8817
8818 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8819
8820 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8821 (verilog-auto-input, verilog-auto-insert-lisp)
8822 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8823 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8824 (verilog-auto-unused, verilog-auto-wire)
8825 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8826 newline. Reported by Andrew Jones.
8827 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8828 Reported by Brad Dobbie.
8829 (verilog-batch-delete-trailing-whitespace):
8830 Create verilog-batch-delete-trailing-whitespace.
8831 Reported by Brad Dobbie.
8832 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8833 parameters from another module. Reported by Dan Katz.
8834 (verilog-auto, verilog-auto-assign-modport)
8835 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8836 AUTOINOUTMODPORT for UVM interface module shell generation.
8837 Reported by Brad Dobbie.
8838 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8839 standard behavior.
8840 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8841 Reported by Matt Martin.
8842
8843 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8844
8845 * window.el (window--resize-child-windows): When resizing child
8846 windows proportionally, process them in reverse order to
8847 preserve the "when splitting a window the new one gets the odd
8848 line" behavior.
8849 (window--resize-root-window-vertically): When resizing the
8850 minibuffer window try to affect only windows at the bottom of the
8851 frame. (Bug#12419)
8852
8853 2012-09-25 Chong Yidong <cyd@gnu.org>
8854
8855 * subr.el (declare): Doc fix.
8856
8857 * help-fns.el (help-fns--obsolete): Handle macros properly.
8858
8859 2012-09-25 Chong Yidong <cyd@gnu.org>
8860
8861 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8862 this function obsolete.
8863
8864 * calendar/cal-x.el (calendar-two-frame-setup)
8865 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8866 * calendar/calendar.el (american-calendar, european-calendar)
8867 (calendar-for-loop):
8868 * comint.el (comint-dynamic-simple-complete)
8869 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8870 * desktop.el (desktop-load-default):
8871 * dired-x.el (dired-omit-here-always)
8872 (dired-hack-local-variables, dired-default-directory):
8873 * emacs-lisp/derived.el (derived-mode-class):
8874 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8875 * emacs-lock.el (toggle-emacs-lock):
8876 * epa.el (epa-display-verify-result):
8877 * epg.el (epg-sign-keys, epg-start-sign-keys)
8878 (epg-passphrase-callback-function):
8879 * eshell/esh-util.el (eshell-for):
8880 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8881 (eshell-add-to-window-buffer-names):
8882 * files.el (locate-file-completion):
8883 * imenu.el (imenu-example--create-c-index)
8884 (imenu-example--create-lisp-index)
8885 (imenu-example--lisp-extract-index-name)
8886 (imenu-example--name-and-position):
8887 * international/mule-cmds.el (princ-list):
8888 * international/mule-diag.el (decode-codepage-char):
8889 * international/mule-util.el (detect-coding-with-priority):
8890 * iswitchb.el (iswitchb-read-buffer):
8891 * mail/mailalias.el (mail-complete):
8892 * mail/sendmail.el (mail-sent-via):
8893 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8894 (mouse-major-mode-menu):
8895 * password-cache.el (password-read-and-add):
8896 * pcomplete.el (pcomplete-parse-comint-arguments):
8897 * progmodes/sh-script.el (sh-maybe-here-document):
8898 * replace.el (query-replace-regexp-eval):
8899 * savehist.el (savehist-load):
8900 * simple.el (choose-completion-delete-max-match):
8901 * term.el (term-dynamic-simple-complete):
8902 * vc/ediff-init.el (ediff-check-version):
8903 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8904 * vc/vc.el (vc-diff-switches-list):
8905 * view.el (view-return-to-alist-update): Likewise.
8906
8907 * subr.el (eval-next-after-load, makehash, insert-string)
8908 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8909 mark obsolete.
8910 (mode-line-inverse-video): Variable deleted.
8911
8912 * international/mule-util.el (string-to-sequence): Remove.
8913
8914 * calendar/calendar.el (calendar-version):
8915 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8916 (icalendar-convert-diary-to-ical):
8917 * cus-edit.el (custom-mode):
8918 * ansi-color.el (ansi-color-unfontify-region):
8919 * international/latin1-disp.el (latin1-char-displayable-p):
8920 * progmodes/cwarn.el (turn-on-cwarn-mode):
8921 * progmodes/which-func.el (which-func-update-1):
8922 Use define-obsolete-function-alias.
8923
8924 * net/newst-backend.el (newsticker-cache-filename):
8925 * net/newst-treeview.el (newsticker-groups-filename):
8926 Fix incorrect obsolescence declaration.
8927
8928 * allout.el (allout-passphrase-hint-string): Likewise.
8929 (allout-init): Use a declare form to mark obsolete.
8930
8931 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8932 this applies to functions.
8933
8934 * iswitchb.el (iswitchb-read-buffer): Move code of
8935 iswitchb-define-mode-map here, and delete that obsolete function.
8936
8937 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8938 font-lock-reference-face.
8939
8940 2012-09-25 Glenn Morris <rgm@gnu.org>
8941
8942 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8943 Doc fixes.
8944
8945 * eshell/em-term.el (eshell-term-name):
8946 Default to term-term-name. (Bug#12485)
8947
8948 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8949
8950 * progmodes/python.el (python-shell-send-buffer): Better handling
8951 of "if __name__ == '__main__':" conditionals when sending the buffer.
8952
8953 2012-09-24 Glenn Morris <rgm@gnu.org>
8954
8955 * eshell/esh-cmd.el (eshell-find-alias-function):
8956 Tighten up file-name regexp. (Bug#12499)
8957
8958 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8959
8960 Enhancements for triple-quote string syntax.
8961 * progmodes/python.el (python-quote-syntax): Remove.
8962 (python-syntax-propertize-function): New value.
8963 (python-syntax-count-quotes, python-syntax-stringify):
8964 New functions.
8965
8966 2012-09-24 Chong Yidong <cyd@gnu.org>
8967
8968 * mail/supercite.el (sc-version): Remove obsolete function.
8969 (sc-describe): Don't mark as obsolete, since it is bound.
8970 (sc-submit-bug-report): Remove.
8971
8972 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8973 (cvs-commit-buffer-require-final-newline): Remove.
8974 (log-edit-require-final-newline)
8975 (log-edit-changelog-full-paragraphs): Default to t.
8976
8977 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8978 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8979 * vc/vc.el (vc-checkout-carefully): Likewise.
8980
8981 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8982 (emerge-version): Remove.
8983
8984 * progmodes/compile.el (compile-internal): Remove.
8985 (compilation-parse-errors-function): Fix typo.
8986
8987 * international/mule.el (set-char-table-default): Remove.
8988 (set-coding-priority, make-coding-system, generic-char-p)
8989 (charset-list, charset-bytes, charset-id): Use declare to mark
8990 functions as obsolete.
8991
8992 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8993 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8994 * vc/vc-hooks.el (vc-default-registered): Don't use
8995 vc-master-templates.
8996
8997 * font-lock.el (font-lock-reference-face):
8998 Use define-obsolete-variable-alias.
8999
9000 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9001 * calendar/calendar.el (calendar-font-lock-keywords):
9002 * calendar/diary-lib.el (diary-font-lock-keywords)
9003 (diary-fancy-font-lock-keywords):
9004 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9005 * textmodes/reftex-index.el (reftex-insert-index):
9006 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9007 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9008 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9009 * progmodes/prolog.el (prolog-font-lock-keywords):
9010 * progmodes/idlwave.el (idlwave-idl-keywords):
9011 * progmodes/ada-mode.el (ada-font-lock-keywords):
9012 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9013
9014 2012-09-24 Glenn Morris <rgm@gnu.org>
9015
9016 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9017
9018 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
9019
9020 * progmodes/python.el (python-indent-line): More consistent cursor
9021 movement behavior.
9022
9023 2012-09-23 Stefan Merten <smerten@oekonux.de>
9024
9025 * textmodes/rst.el: Fix compiler warning.
9026
9027 2012-09-23 Roland Winkler <winkler@gnu.org>
9028
9029 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9030 Transcribe also LaTeX hyphenation.
9031 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9032 bibtex-reformat-previous-options.
9033
9034 2012-09-23 Roland Winkler <winkler@gnu.org>
9035
9036 * proced.el (proced-renice-command): New variable.
9037 (proced-marked-processes): New function.
9038 (proced-with-processes-buffer): New macro.
9039 (proced-send-signal): Use them.
9040 (proced-renice): New command bound to r.
9041
9042 2012-09-23 Roland Winkler <winkler@gnu.org>
9043
9044 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9045 ibuffer-saved-filter-groups has one element, shortcut the call of
9046 completing-read. (Bug#12331)
9047
9048 2012-09-23 Chong Yidong <cyd@gnu.org>
9049
9050 * bindings.el (mode-line-toggle-read-only):
9051 * bs.el (bs-toggle-readonly):
9052 * buff-menu.el (Buffer-menu-toggle-read-only):
9053 * dired.el (dired-toggle-read-only):
9054 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9055
9056 2012-09-23 Chong Yidong <cyd@gnu.org>
9057
9058 * image.el (image-type-available-p): Adapt to init-image-library
9059 argument changes.
9060
9061 2012-09-22 Juri Linkov <juri@jurta.org>
9062
9063 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9064 `dired-toggle-read-only'. (Bug#12462)
9065
9066 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9067
9068 * subr.el (temp-output-buffer-show): New function.
9069 (with-output-to-temp-buffer): Call temp-output-buffer-show
9070 instead of internal-temp-output-buffer-show.
9071
9072 2012-09-22 Chong Yidong <cyd@gnu.org>
9073
9074 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9075 (Bug#12462).
9076
9077 * repeat.el (repeat): Doc fix (Bug#12348).
9078
9079 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9080 (Bug#10909).
9081
9082 * simple.el (shell-command-on-region): Doc fix.
9083 (read-only-mode): Doc fix.
9084
9085 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9086
9087 * emacs-lisp/timer.el (run-with-idle-timer)
9088 (timer-activate-when-idle): Warn against reinvoking an idle timer
9089 from within its own timer action. (Bug#12447)
9090
9091 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9092
9093 * cus-start.el (window-combination-limit): Add new optional
9094 values.
9095 * window.el (temp-buffer-window-show)
9096 (window--try-to-split-window): Handle new values of
9097 window-combination-limit (Bug#1806).
9098 (split-window): Test window-combination-limit for t instead of
9099 non-nil.
9100 (display-buffer-at-bottom): New buffer display action function.
9101 * help.el (temp-buffer-resize-regexps): New option.
9102 (temp-buffer-resize-mode): Rewrite doc-string.
9103 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9104 Don't resize reused window. Suggested by Glenn Morris.
9105
9106 2012-09-22 Stefan Merten <smerten@oekonux.de>
9107
9108 * textmodes/rst.el: Revamp section title faces.
9109 (rst-official-version)
9110 (rst-package-emacs-version-alist): Sync with official version
9111 V1.4.0.
9112 (rst-faces-defaults, rst-set-level-default)
9113 (rst-level-face-max, rst-level-face-base-color)
9114 (rst-level-face-base-light, rst-level-face-format-light)
9115 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9116 (rst-adornment-faces-alist): Match new setup.
9117 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9118 (rst-level-5, rst-level-6): New faces.
9119
9120 2012-09-22 Chong Yidong <cyd@gnu.org>
9121
9122 * simple.el (undo): Handle indirect buffers (Bug#8207).
9123
9124 2012-09-21 Leo Liu <sdl.web@gmail.com>
9125
9126 IDO: Disable match re-ordering for buffer switching.
9127 * ido.el (ido-buffer-disable-smart-matches): New variable.
9128 (ido-set-matches-1): Use it. (Bug#2042)
9129
9130 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9131
9132 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9133 Fix 2011-05-17 change. (Bug#12418)
9134
9135 2012-09-21 Leo Liu <sdl.web@gmail.com>
9136
9137 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9138
9139 2012-09-21 Glenn Morris <rgm@gnu.org>
9140
9141 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9142 Be more robust about locating simple.el.
9143
9144 2012-09-21 Glenn Morris <rgm@gnu.org>
9145
9146 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9147
9148 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9149
9150 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9151
9152 2012-09-20 Juri Linkov <juri@jurta.org>
9153
9154 * replace.el (query-replace-read-from): Use `read-regexp' instead
9155 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9156 (occur-read-primary-args): Use `read-regexp' instead of
9157 `read-string'.
9158 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9159 `read-from-minibuffer'.
9160 * isearch.el (isearch-occur): Use `read-regexp' instead of
9161 `read-string'.
9162 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9163 `read-from-minibuffer'.
9164 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9165 of `read-string'. (Bug#7567)
9166
9167 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9168 and allow accepting a list of strings prepended to a list of
9169 standard default values. Doc fix. (Bug#12321)
9170
9171 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9172
9173 * replace.el (read-regexp): Don't add ": " when PROMPT already
9174 ends with a colon and space. (Bug#12321)
9175
9176 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9177
9178 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9179 error.
9180
9181 2012-09-20 Stefan Merten <smerten@oekonux.de>
9182
9183 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9184 Fixes feature request bug#11711.
9185 (rst-mode): Create `imenu-create-index-function'.
9186 (rst-get-stripped-line): Delete after refactoring.
9187 (rst-section-tree, rst-section-tree-rec)
9188 (rst-section-tree-point): Refactor and document properly.
9189 (rst-imenu-find-adornments-for-position)
9190 (rst-imenu-convert-cell, rst-imenu-create-index):
9191 New function.
9192
9193 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9196 (macroexp--expand-all): Use it.
9197 (macroexp--funcall-and-return): Remove by folding it into its sole
9198 caller (macroexp--warn-and-return).
9199 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9200 Use macroexp--obsolete-warning.
9201
9202 * calc/calc.el: Fix last change by removing the whole chunk, since it
9203 was only needed back when Calc was not bundled.
9204
9205 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9206
9207 * emacs-lisp/debug.el (debug): Restore assignment to
9208 debugger-old-buffer removed on 2012-09-08.
9209
9210 2012-09-20 Juri Linkov <juri@jurta.org>
9211
9212 * dired-aux.el (dired-diff): Remove (require 'diff) since
9213 `diff-latest-backup-file' is now autoloaded.
9214
9215 2012-09-20 Chong Yidong <cyd@gnu.org>
9216
9217 * vc/diff.el (diff-latest-backup-file): Autoload.
9218
9219 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * calc/calc.el: Remove redundant autoload shape check.
9222 (sel-mode): Don't defvar.
9223 (calc-get-stack-element): Add `sel-mode' arg instead.
9224 (calc-top, calc-top-list): Pass it this additional argument.
9225 * calc/calc-store.el (calc-store-map):
9226 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9227 (calc-map-equation, calc-outer-product, calc-inner-product):
9228 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9229
9230 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9231
9232 2012-09-19 Juri Linkov <juri@jurta.org>
9233
9234 * dired-aux.el (dired-diff): Add (require 'diff) because
9235 `diff-latest-backup-file' is not autoloaded.
9236 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9237 of `dired-get-filename' to t to not report error when there is
9238 no default file on the current line.
9239
9240 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9243 macroexp--eval-if-compile.
9244 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9245 (macroexp--expand-all): Use them (bug#12371).
9246
9247 * doc-view.el (doc-view-guess-paper-size)
9248 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9249
9250 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9251
9252 New feature: set optimal slice from BoundingBox information.
9253 * doc-view.el (doc-view-mode-map): Add keybinding.
9254 (doc-view-menu): Add menu entry.
9255 (doc-view-set-slice): Adapt docstring.
9256 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9257 (doc-view-scale-bounding-box)
9258 (doc-view-set-slice-from-bounding-box): New functions.
9259 (doc-view-paper-sizes): New defvar.
9260
9261 2012-09-19 Glenn Morris <rgm@gnu.org>
9262
9263 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9264 (byte-compile-log-warning): Autoload. (Bug#12371)
9265
9266 * calendar/calendar.el (calendar-american-month-header)
9267 (calendar-european-month-header, calendar-iso-month-header)
9268 (calendar-month-header): New options.
9269 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9270 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9271
9272 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9273
9274 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9275
9276 2012-09-18 Juri Linkov <juri@jurta.org>
9277
9278 * dired-aux.el (dired-diff): Restore original functionality of
9279 getting the default value, but keep new feature of using the
9280 latest existing backup file (`diff-latest-backup-file').
9281
9282 2012-09-18 Juri Linkov <juri@jurta.org>
9283
9284 * dired.el (dired-mark): If the region is active in Transient Mark
9285 mode, mark all files in the active region. Doc fix.
9286 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9287 Doc fix. (Bug#10624)
9288
9289 2012-09-18 Juri Linkov <juri@jurta.org>
9290
9291 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9292 attributes for M-n are pulled from the file at point.
9293 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9294 Suggested by Drew Adams. (Bug#10624)
9295
9296 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9297
9298 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9299 whitespace after "end".
9300 (ruby-do-end-to-brace): Collapse block to one line if it fits
9301 within fill-column.
9302
9303 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9304
9305 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9306 value.
9307 (debug): Don't remove debugger window when debugger is expected
9308 to be back.
9309
9310 2012-09-18 Chong Yidong <cyd@gnu.org>
9311
9312 * custom.el (defface): Doc fix.
9313
9314 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9315
9316 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9317
9318 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9319 to initialize query-on-exit; then test that instead (bug#12288).
9320
9321 2012-09-17 Stefan Merten <smerten@oekonux.de>
9322
9323 * textmodes/rst.el: Add support for `testcover'.
9324 (rst-defcustom-testcover, rst-testcover-add-compose)
9325 (rst-testcover-add-1value): New functions.
9326 (rst-portable-mark-active-p): Replace by `use-region-p'.
9327 (rst-update-section, rst-classify-adornment)
9328 (rst-find-title-line): Mark `1value' forms.
9329 (rst-classify-adornment): Remove superfluous form.
9330 (rst-update-section, rst-get-adornments-around)
9331 (rst-adornment-complete-p, rst-get-next-adornment)
9332 (rst-adjust, rst-promote-region)
9333 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9334 (rst-find-pfx-in-region, rst-section-tree-rec)
9335 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9336 (rst-toc-node, rst-toc, rst-forward-section)
9337 (rst-iterate-leftmost-paragraphs)
9338 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9339 (rst-bullet-list-region)
9340 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9341 (rst-compile-find-conf, rst-compile)
9342 (rst-repeat-last-character): Fix style.
9343
9344 2012-09-17 Chong Yidong <cyd@gnu.org>
9345
9346 * comint.el (comint--complete-file-name-data): Don't add a space
9347 if the status is `sole'; that adds a gratuitous space in the
9348 completion-cycling case (Bug#12092).
9349
9350 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9351
9352 2012-09-17 Richard Stallman <rms@gnu.org>
9353
9354 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9355 only in the mime-shown mode, not in raw mode.
9356 (rmail-mime): Toggle off mime by displaying the message without
9357 mime processing. (Bug#12305)
9358
9359 * mail/rmail.el (rmail-retry-failure):
9360 Turn off mime processing first. (Bug#12037)
9361
9362 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9363
9364 2012-09-17 Chong Yidong <cyd@gnu.org>
9365
9366 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9367 (shell-dynamic-complete-functions): Convert to defcustom.
9368 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9369
9370 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9371 * comint.el (comint-prompt-read-only):
9372 * custom.el (defcustom):
9373 * hi-lock.el (hi-lock-mode):
9374 * ibuffer.el (ibuffer-formats):
9375 * ielm.el (ielm-prompt-read-only):
9376 * novice.el (disable-command):
9377 * saveplace.el (toggle-save-place):
9378 * speedbar.el (speedbar-supported-extension-expressions):
9379 * startup.el (auto-save-list-file-prefix, init-file-user)
9380 (after-init-hook, inhibit-startup-echo-area-message):
9381 * strokes.el (strokes-help):
9382 * time-stamp.el (time-stamp):
9383 * calendar/calendar.el (calendar, diary-file):
9384 * calendar/diary-lib.el (diary-mail-entries, diary)
9385 (diary-list-entries-hook):
9386 * calendar/holidays.el (holidays, calendar-holidays):
9387 * calendar/lunar.el (lunar-phases):
9388 * calendar/solar.el (sunrise-sunset):
9389 * emulation/edt.el (edt-load-keys):
9390 * emulation/viper.el (viper-mode):
9391 * eshell/em-alias.el (eshell-command-aliases-list):
9392 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9393 * international/ogonek.el (ogonek-information):
9394 * net/tramp-cmds.el (tramp-bug):
9395 * net/quickurl.el (quickurl-reread-hook-postfix):
9396 * play/decipher.el (decipher-font-lock-keywords):
9397 * progmodes/cc-styles.el (c-set-style):
9398 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9399 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9400 * progmodes/octave-mod.el (octave-mode):
9401 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9402 * progmodes/verilog-mode.el (verilog-read-defines):
9403 * textmodes/two-column.el (2C-mode): Likewise.
9404
9405 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9406
9407 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9408 that holds many addresses.
9409
9410 2012-09-16 Chong Yidong <cyd@gnu.org>
9411
9412 * align.el (align-areas): Call the indication function with
9413 positions instead of markers for arguments (Bug#12343).
9414
9415 * files.el (parse-colon-path): Use split-string (Bug#12351).
9416
9417 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9418 (display-buffer-function): Mark as obsolete.
9419
9420 * progmodes/compile.el (compilation-parse-errors): Accept list
9421 values similar to font-lock-keywords (Bug#12136).
9422 Suggested by Oleksandr Manzyuk.
9423 (compilation-error-regexp-alist): Doc fix.
9424
9425 2012-09-15 Glenn Morris <rgm@gnu.org>
9426
9427 * version.el (emacs-bzr-version-bzr): New function.
9428 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9429
9430 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9431 checkouts, check the parent dirstate matches the branch.
9432 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9433 empty string.
9434
9435 * version.el (emacs-bzr-version): Doc fix.
9436 (emacs-bzr-version-dirstate): New function.
9437 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9438 is local try and check that it matches the branch. If not, just
9439 use dirstate information. (Bug#12441)
9440
9441 2012-09-14 Juri Linkov <juri@jurta.org>
9442
9443 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9444 (Bug#12399)
9445
9446 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9447
9448 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9449
9450 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9451 Remove obsolete byte-compiler hack that tried to silence some warnings.
9452 (edebug-submit-bug-report): Remove.
9453 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9454 Remove aliases, use the un-prefixed name instead.
9455 (edebug-pop-to-buffer): Consider other frames.
9456 (edebug-original-read):: Make it more obvious that it's always defined.
9457 (edebug--make-form-data-entry, edebug--form-data-name)
9458 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9459 single-dashed name, and implement with cl-defstruct.
9460 (edebug-set-form-data-entry): Use the standard accessors.
9461 (edebug-make-top-form-data-entry): Use push.
9462 (edebug-no-match): Drop useless `funcall'.
9463 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9464 to functions.
9465 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9466 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9467 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9468 (easy-menu-define, with-custom-print): Remove redundant specs.
9469 (edebug-outside-overriding-local-map)
9470 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9471 (edebug--display): Bind unread-command-events directly to nil rather
9472 than binding it to unread-command-events and later setting it to nil.
9473 (edebug--display): Kill edebug-eval-buffer here...
9474 (edebug--recursive-edit): ...rather than here.
9475 Bind standard-output and standard-input.
9476 (edebug-eval): Check cl-macroexpand-all is fboundp.
9477 (edebug-temp-display-freq-count): Fix last change.
9478
9479 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9480 * subr.el (noreturn, 1value): Add `debug' spec.
9481 * emacs-lisp/advice.el: Require cl-lib.
9482 (ad-copy-tree): Remove, use copy-tree instead.
9483 (ad-dolist): Remove use dolist or cl-dolist instead.
9484 (ad-do-return): Remove, use cl-return instead.
9485 (defadvice): Add `debug' spec.
9486
9487 2012-09-13 Juri Linkov <juri@jurta.org>
9488
9489 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9490 (Bug#12399)
9491
9492 2012-09-13 Glenn Morris <rgm@gnu.org>
9493
9494 * calc/calc.el (math-compose-expr):
9495 * calc/calc-ext.el (math-compose-expr):
9496 * progmodes/cc-defs.el (cl-macroexpand-all):
9497 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9498 (cl-macroexpand-all): Update declarations.
9499
9500 * vc/vc.el: No need to require ediff.
9501 (ediff-load-version-control): Declare.
9502 (ediff-vc-internal): Fix declaration.
9503 (vc-version-ediff): Require ediff.
9504
9505 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9506
9507 Use a more backwards-compatible timer format (Bug#12430).
9508 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9509 being right after USECS, as that better supports old code that
9510 inadvisedly looked directly at the timer vector.
9511
9512 2012-09-13 Kenichi Handa <handa@gnu.org>
9513
9514 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9515 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9516 `coding-priority' property of these language environment.
9517
9518 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9519
9520 Fix glitches caused by addition of psec to timers (Bug#12430).
9521 * image.el (image-animate-timer):
9522 * time.el (display-time-world-timer):
9523 Use timer--function and timer--args rather than raw access to
9524 timer vector.
9525
9526 2012-09-13 Glenn Morris <rgm@gnu.org>
9527
9528 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9529 If not compiling a file, try using load-file-name.
9530
9531 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9534 Fix last change.
9535 (edebug-update-eval-list): Use `push'.
9536
9537 * emacs-lisp/edebug.el: Use lexical-binding.
9538 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9539 Mark unused args with underscore.
9540 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9541 (edebug-form-data): Use defvar-local.
9542 (edebug-make-before-and-after-form, edebug-make-after-form):
9543 Use backquote.
9544 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9545 Not dynamically scoped any more.
9546 (edebug--enter-trace): Add arguments `function' and `args'.
9547 Rename from edebug-enter-trace.
9548 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9549 (edebug--update-coverage): Add `after-index' and `value' args.
9550 Rename from edebug-update-coverage.
9551 (edebug-slow-after): Call it accordingly.
9552 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9553 edebug-recursive-edit.
9554 (edebug--display): Call it accordingly. Add args `value',
9555 `offset-index', and `arg-mode'. Rename from edebug-display.
9556 (edebug-debugger, edebug): Call it accordingly.
9557 (edebug-eval-display-list): Use dolist.
9558
9559 2012-09-12 Juri Linkov <juri@jurta.org>
9560
9561 * info.el (Info-search): Don't check for isearch-mode and
9562 isearch-regexp before let-binding search-spaces-regexp to
9563 Info-search-whitespace-regexp.
9564 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9565 search-whitespace-regexp if isearch-lax-whitespace or
9566 isearch-regexp-lax-whitespace is non-nil.
9567 (Info-mode): Don't set local variable search-whitespace-regexp.
9568 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9569
9570 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9573 (debugger-env-macro): Remove support for unread-command-char.
9574
9575 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9576 the temporary map re-appearing on emulation-mode-map-alists.
9577
9578 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9579 since 22.1.
9580
9581 * ehelp.el (with-electric-help): Accept functions in
9582 electric-help-form-to-execute.
9583 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9584 And replace unread-command-char -> unread-command-events.
9585
9586 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9587
9588 Sync with Tramp 2.2.6.
9589
9590 * net/tramp.el (tramp-accept-process-output): Don't use
9591 JUST-THIS-ONE in the XEmacs case.
9592
9593 * net/trampver.el: Update release number.
9594
9595 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9596
9597 * emacs-lisp/debug.el (debugger-previous-window-height):
9598 New variable.
9599 (debug): When debugger-jumping-flag is non-nil try to restore
9600 height of debugger window. (Bug#8789)
9601
9602 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9605 overriding-local-map and pre/post-command-hook here.
9606 (edebug-recursive-edit): Do it here instead (bug#12345).
9607 (edebug-outside-unread-command-char): Remove all uses of
9608 unread-command-char.
9609
9610 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9611 inhibit-debugger is bound instead.
9612
9613 2012-09-11 Bastien Guerry <bzg@gnu.org>
9614
9615 * subr.el (set-temporary-overlay-map): Add a docstring.
9616 (Bug#12346)
9617
9618 2012-09-11 Bastien Guerry <bzg@gnu.org>
9619
9620 * minibuffer.el (completion-table-subvert): Fix docstring.
9621 (Bug#12347)
9622
9623 2012-09-11 Bastien Guerry <bzg@gnu.org>
9624
9625 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9626
9627 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9628
9629 * progmodes/sql.el: Version 3.1
9630 (sql-db2-escape-newlines): New variable.
9631 (sql-escape-newlines-filter): Use it.
9632
9633 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9634
9635 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9636
9637 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9638
9639 * vc/diff-mode.el (diff-mode-menu):
9640 Bind diff-remove-trailing-whitespace.
9641
9642 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9645 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9646 (emacs-lisp-byte-code-mode): New functions.
9647 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9648 (eval-defun-2): Remove bogus interactive spec.
9649 (lisp-indent-line): Remove redundant whole-exp code, now done in
9650 indent-according-to-mode.
9651 (save-match-data): Remove redundant indent data.
9652
9653 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9654 Use `declare'.
9655
9656 2012-09-09 Juri Linkov <juri@jurta.org>
9657
9658 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9659 (replace-lax-whitespace, query-replace-regexp)
9660 (query-replace-regexp-eval, replace-regexp): Doc fix.
9661 (perform-replace, replace-highlight): Let-bind
9662 isearch-lax-whitespace to replace-lax-whitespace and
9663 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9664
9665 * isearch.el (isearch-query-replace): Let-bind
9666 replace-lax-whitespace to isearch-lax-whitespace and
9667 replace-regexp-lax-whitespace to
9668 isearch-regexp-lax-whitespace. (Bug#10885)
9669
9670 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9673
9674 2012-09-09 Alan Mackenzie <acm@muc.de>
9675
9676 * progmodes/cc-engine.el (c-state-cache-init):
9677 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9678 (c-record-parse-state-state):
9679 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9680
9681 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9682
9683 * register.el (register-separator): Rename from
9684 separator-register. All uses changed. Doc fix.
9685 (register): Fix version.
9686
9687 2012-09-09 Chong Yidong <cyd@gnu.org>
9688
9689 * replace.el (query-replace-map): Bind four new symbols for
9690 requesting window scrolling.
9691
9692 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9693 query-replace-map (Bug#8948).
9694
9695 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9696
9697 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9698 since they are now in query-replace-map.
9699
9700 * window.el (scroll-other-window-down): Make the arg optional.
9701
9702 2012-09-09 Chong Yidong <cyd@gnu.org>
9703
9704 * files.el (hack-local-variables-confirm): Use quit-window to kill
9705 the *Local Variables* buffer.
9706
9707 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9708
9709 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9710 not just expect to be at its beginning. Adjust callees.
9711 Succeed when do-end block has no space before the pipe character.
9712 (ruby-brace-to-do-end): When the original block is one-liner,
9713 convert to multiline. Reindent the result.
9714
9715 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9716
9717 * register.el (register): New group.
9718 (separator-register): New user option.
9719 (increment-register): Route it to `append-to-register', if
9720 register contains text. Implication is that `C-x r +' can now be
9721 used for appending to a text register (bug#12217).
9722 (append-to-register, prepend-to-register): Add separator based on
9723 `separator-register'.
9724
9725 2012-09-08 Alan Mackenzie <acm@muc.de>
9726
9727 AWK Mode: make auto-newline work when there's "==" in the pattern.
9728 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9729 correctly.
9730 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9731 Test more rigorously for "=" token.
9732
9733 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9734
9735 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9736 Only fail when reached LIMIT.
9737
9738 2012-09-08 Chong Yidong <cyd@gnu.org>
9739
9740 * dired.el (dired-mode-map): Don't bind M-=.
9741
9742 * dired-aux.el (dired-diff): Use backup file as default.
9743
9744 2012-09-08 Drew Adams <drew.adams@oracle.com>
9745
9746 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9747
9748 2012-09-08 Chong Yidong <cyd@gnu.org>
9749
9750 * subr.el (syntax-after, syntax-class): Doc fix.
9751
9752 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9753
9754 * window.el (display-buffer-in-previous-window): New buffer
9755 display action function.
9756
9757 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9758 (debugger-previous-window): New variable.
9759 (debug): Rewrite using display-buffer-in-previous-window,
9760 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9761
9762 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9765
9766 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9767
9768 * progmodes/python.el (python-shell-send-string):
9769 When default-directory is remote, create temp file on remote
9770 filesystem.
9771 (python-shell-send-file): When file is remote, pass local view of
9772 file paths to remote Python interpreter. (Bug#12340)
9773
9774 2012-09-07 Chong Yidong <cyd@gnu.org>
9775
9776 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9777
9778 * files.el (after-find-file): Don't fail on a read-only buffer if
9779 require-final-newline is `visit' or `visit-save' (Bug#11156).
9780
9781 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9782
9783 * userlock.el (ask-user-about-supersession-threat):
9784 Use read-char-choice (Bug#12093).
9785
9786 2012-09-07 Chong Yidong <cyd@gnu.org>
9787
9788 * subr.el (buffer-narrowed-p): New function.
9789
9790 * ses.el (ses-widen):
9791 * simple.el (count-words--buffer-message):
9792 * net/browse-url.el (browse-url-of-buffer): Use it.
9793
9794 * simple.el (count-words-region): Don't signal an error if there
9795 is a non-nil prefix arg and the mark is not set.
9796
9797 * help.el (describe-key-briefly): Allow the message to be seen
9798 when invoked from the minibuffer (Bug#7014).
9799
9800 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9801
9802 * progmodes/ruby-mode.el (ruby-end-of-defun)
9803 (ruby-beginning-of-defun): Simplify, allow indentation before
9804 block beginning and end keywords.
9805 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9806 (ruby-end-of-defun): Expect that the point is at the beginning of
9807 the defun.
9808
9809 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9812 (bug#12367).
9813 (cl--make-usage-args): Strip _ from argument names.
9814
9815 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9816
9817 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9818 obsolete alias speedbar-key-map.
9819 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9820 (vhdl-index-menu-init): Don't use obsolete variable
9821 font-lock-maximum-size.
9822
9823 2012-09-06 Chong Yidong <cyd@gnu.org>
9824
9825 * frame.el (window-system-version): Mark as obsolete.
9826
9827 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9828 of obsolete variable speedbar-key-map.
9829
9830 2012-09-06 Juri Linkov <juri@jurta.org>
9831
9832 * replace.el (replace-lax-whitespace): New defcustom.
9833 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9834 (replace-string, replace-regexp): Mention it in docstrings.
9835 (perform-replace, replace-highlight): Let-bind
9836 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9837 to the values of replace-lax-whitespace and regexp-flag.
9838 Don't let-bind search-whitespace-regexp. (Bug#10885)
9839
9840 * isearch.el (isearch-query-replace): Let-bind
9841 replace-lax-whitespace instead of let-binding
9842 replace-search-function and replace-re-search-function.
9843 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9844 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9845 (isearch-toggle-symbol): Set isearch-regexp to nil
9846 in isearch-word mode (like in isearch-toggle-word).
9847
9848 2012-09-06 Juri Linkov <juri@jurta.org>
9849
9850 * replace.el (replace-search-function)
9851 (replace-re-search-function): Set default values to nil.
9852 (perform-replace): Let-bind isearch-related variables based on
9853 replace-related values, call `isearch-search-fun' and let-bind
9854 the result to `search-function'. Remove code that sets
9855 `search-function' and `search-string' separately for
9856 `delimited-flag'.
9857 (replace-highlight): Add new argument `delimited-flag' and
9858 rename other arguments to the names used in `perform-replace'.
9859 Let-bind `isearch-word' to the argument `delimited-flag'.
9860 (Bug#10885, bug#10887)
9861
9862 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9863
9864 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9865 ruby-beginning-of-indent, simplify, allow all keywords to have
9866 indentation before them.
9867 (ruby-beginning-of-indent): Adjust for above. Search until the
9868 found point is not inside a string or comment.
9869 (ruby-font-lock-keywords): Allow symbols to start with "@"
9870 character, give them higher priority than variables.
9871 (ruby-syntax-propertize-function)
9872 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9873 matchers. Expression expansions are not comments when inside a
9874 string, and there comment syntax status is irrelevant.
9875 (ruby-match-expression-expansion): New function. Check that
9876 expression expansion is inside a string, and it's not escaped.
9877 (ruby-font-lock-keywords): Use it.
9878
9879 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9880
9881 * help.el (temp-buffer-max-height): New default value.
9882 (temp-buffer-resize-frames): New option.
9883 (resize-temp-buffer-window): Optionally resize frame.
9884
9885 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9886 (fit-frame-to-buffer): New function.
9887
9888 2012-09-05 Glenn Morris <rgm@gnu.org>
9889
9890 * emulation/cua-rect.el (cua--init-rectangles):
9891 * textmodes/picture.el (picture-mode-map):
9892 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9893 like forward-char and backward-char. (Bug#12317)
9894
9895 2012-09-05 Leo Liu <sdl.web@gmail.com>
9896
9897 * progmodes/flymake.el (flymake-warning-re): New variable.
9898 (flymake-parse-line): Use it.
9899
9900 2012-09-05 Glenn Morris <rgm@gnu.org>
9901
9902 * calendar/holidays.el (holiday-christian-holidays):
9903 Rename an entry. (Bug#12289)
9904
9905 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9908 (bug#12222).
9909
9910 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * loadup.el: Load macroexp. Remove hack.
9913 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9914 (macroexp--expand-all): Use it to get better warnings.
9915 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9916 (internal-macroexpand-for-load): New functions.
9917 (macroexp--pending-eager-loads): New var.
9918 (emacs-startup-hook): New hack to replace one in loadup.el.
9919 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9920 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9921 (cl-psetf): Simplify.
9922 (cl-defstruct): Add indent rule.
9923
9924 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9925
9926 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9927 over `user-mail-address' for the SMTP MAIL FROM envelope.
9928 (smtpmail-via-smtp): Ditto.
9929
9930 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9931
9932 * progmodes/ruby-mode.el: Clean up keybindings.
9933 (ruby-mode-map): Don't bind ruby-electric-brace,
9934 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9935 backward-kill-word, reindent-then-newline-and-indent.
9936 (ruby-mark-defun): Remove.
9937 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9938 (ruby-mode): Set local beginning-of-defun-function and
9939 end-of-defun-function values.
9940
9941 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9942
9943 * window.el (temp-buffer-window-setup-hook)
9944 (temp-buffer-window-show-hook): New hooks.
9945 (temp-buffer-window-setup, temp-buffer-window-show)
9946 (with-temp-buffer-window): New functions.
9947 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9948 (special-display-popup-frame): Make sure the window used shows BUFFER.
9949
9950 * help.el (temp-buffer-resize-mode): Fix doc-string.
9951 (resize-temp-buffer-window): New optional argument WINDOW.
9952
9953 * files.el (recover-file, save-buffers-kill-emacs):
9954 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9955
9956 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9957
9958 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9959 remote definition of `default-directory', ensure we can connect.
9960
9961 2012-09-02 Juri Linkov <juri@jurta.org>
9962
9963 Toggle whitespace matching mode with M-s SPC.
9964 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9965
9966 * isearch.el (search-whitespace-regexp): Doc fix.
9967 Remove cons cell customization.
9968 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9969 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9970 New variables.
9971 (isearch-forward, isearch-forward-regexp): Doc fix.
9972 (isearch-toggle-lax-whitespace): New command.
9973 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9974 (re-search-forward-lax-whitespace)
9975 (re-search-backward-lax-whitespace): New functions.
9976 (isearch-whitespace-regexp): Remove function.
9977 (isearch-query-replace): Let-bind replace-search-function and
9978 replace-re-search-function.
9979 (isearch-occur): Let-bind search-spaces-regexp according to the
9980 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9981 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9982 condition for C-q SPC.
9983 (isearch-search-fun-default): Use new functions mentioned above.
9984 (isearch-search-forward, isearch-search-backward): Remove functions.
9985 (isearch-search): Don't let-bind search-spaces-regexp.
9986 (isearch-lazy-highlight-space-regexp): Remove variable.
9987 (isearch-lazy-highlight-lax-whitespace)
9988 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9989 (isearch-lazy-highlight-new-loop): Use them.
9990 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9991
9992 2012-09-02 Chong Yidong <cyd@gnu.org>
9993
9994 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9995
9996 2012-09-02 Glenn Morris <rgm@gnu.org>
9997
9998 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9999
10000 2012-09-01 Glenn Morris <rgm@gnu.org>
10001
10002 * term.el: Tidy up menu definitions.
10003 (term-mode-map): Use easymenu for In/Out, Complete menus.
10004 (term-pager-break-map): Initialize in the defvar.
10005 (term-terminal-menu, term-signals-menu): Define with easymenu.
10006 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10007 (term-pager-menu): New, extracted from term-process-pager.
10008 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10009 (term-update-mode-line): Propertize line/char and page items.
10010 (term-process-pager): Move keymap initialization elsewhere.
10011
10012 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10013
10014 * window.el (switch-to-prev-buffer): Handle additional values of
10015 BURY-OR-KILL argument. Don't switch in minibuffer window.
10016 (switch-to-next-buffer): Don't switch in minibuffer window.
10017 (quit-restore-window): New function based on quit-window.
10018 Handle additional values of former KILL argument.
10019 (quit-window): Call quit-restore-window with appropriate
10020 interpretation of KILL argument.
10021 (display-buffer-below-selected): New buffer display action
10022 function.
10023
10024 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * minibuffer.el (completion-at-point-functions): Complete docstring
10027 (bug#12254).
10028
10029 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10030
10031 Better seed support for (random).
10032 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10033 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10034 * play/mpuz.el, play/tetris.el, play/zone.el:
10035 * calc/calc-comb.el (math-init-random-base):
10036 * play/blackbox.el (bb-init-board):
10037 * play/life.el (life):
10038 * server.el (server-use-tcp):
10039 * type-break.el (type-break):
10040 Remove unnecessary call to (random t).
10041 * net/sasl.el (sasl-unique-id-function):
10042 Change (random t) to (random), now that the latter is more random.
10043 * play/life.el (life-initialized): Remove no-longer-needed var.
10044
10045 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10046
10047 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10048 Consider frame's buffer predicate when choosing the buffer.
10049 (Bug#12081)
10050
10051 2012-08-30 Richard Stallman <rms@gnu.org>
10052
10053 * simple.el (special-mode-map): Delete binding for `z'.
10054
10055 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10056
10057 * progmodes/compile.el (compilation-always-kill): Doc fix.
10058
10059 2012-08-30 Chong Yidong <cyd@gnu.org>
10060
10061 * window.el (display-buffer-reuse-frames): Make the obsolescence
10062 message more informative.
10063
10064 2012-08-30 Glenn Morris <rgm@gnu.org>
10065
10066 * paren.el (show-paren-delay):
10067 Add a :set function. Doc fix. (Bug#12297)
10068
10069 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10070
10071 * progmodes/compile.el (compilation-always-kill): New var.
10072 (compilation-start): Use it.
10073
10074 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10077 * files.el (read-only-mode): Move to simple.el.
10078
10079 * files.el (read-only-mode): New minor mode.
10080 (toggle-read-only): Use it and mark obsolete.
10081 (find-file--read-only):
10082 * vc/vc.el (vc-next-action, vc-checkout):
10083 * vc/vc-cvs.el (vc-cvs-checkout):
10084 * obsolete/vc-mcvs.el (vc-mcvs-update):
10085 * ffap.el (ffap--toggle-read-only): Update callers.
10086
10087 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10088
10089 * eshell/esh-ext.el (eshell-external-command): Do not examine
10090 remote shell scripts.
10091 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10092
10093 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10094 "/usr/local/sbin".
10095
10096 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10099
10100 2012-08-28 Leo Liu <sdl.web@gmail.com>
10101
10102 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10103 completion-at-point. (Bug#12220)
10104
10105 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10106
10107 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10108
10109 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10110
10111 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10112 be buffer-local; add delete-trailing-whitespace (bug#12259).
10113
10114 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10115
10116 * progmodes/hideif.el (hif-compress-define-list):
10117 Fix typo. (Bug#11951)
10118
10119 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10120
10121 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10122 buffer local setting.
10123
10124 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10125 rcirc-encode-coding-system.
10126
10127 2012-08-28 Leo Liu <sdl.web@gmail.com>
10128
10129 * net/rcirc.el (rcirc-split-message): New function.
10130 (rcirc-send-message): Use it. (Bug#12051)
10131
10132 2012-08-28 Juri Linkov <juri@jurta.org>
10133
10134 * info.el (Info-fontify-node): Hide empty lines at the end of
10135 the node. (Bug#12272)
10136
10137 2012-08-27 Drew Adams <drew.adams@oracle.com>
10138
10139 * dired.el (dired-pop-to-buffer): Make window start at beginning
10140 of buffer (Bug#12281).
10141
10142 2012-08-26 Chong Yidong <cyd@gnu.org>
10143
10144 * window.el (special-display-regexps, special-display-frame-alist)
10145 (special-display-buffer-names, special-display-function)
10146 (display-buffer-reuse-frames): Mark as obsolete.
10147
10148 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10149
10150 * help.el (help-print-return-message): Don't treat
10151 display-buffer-reuse-frames specially.
10152
10153 2012-08-26 Chong Yidong <cyd@gnu.org>
10154
10155 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10156 New variable, replacing gdb-frame-parameters.
10157 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10158 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10159 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10160 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10161 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10162 the functions directly with gdb-display-buffer-other-frame-action.
10163 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10164 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10165 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10166 (gdb-display-registers-buffer): Define directly.
10167 (def-gdb-display-buffer): Macro deleted.
10168 (gdb-display-buffer): Remove second and third args, callers don't
10169 use them. Defer to the default display-buffer behavior, apart
10170 from making windows dedicated.
10171 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10172
10173 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10174
10175 * window.el (display-buffer-pop-up-frame): Handle a
10176 pop-up-frame-parameters alist entry.
10177 (display-buffer): Document it.
10178
10179 2012-08-26 Chong Yidong <cyd@gnu.org>
10180
10181 * isearch.el (search-whitespace-regexp): Make string and nil
10182 values apply to both ordinary and regexp search. Allow a cons
10183 cell value to distinguish between the two.
10184 (isearch-whitespace-regexp, isearch-search-forward)
10185 (isearch-search-backward): New functions.
10186 (isearch-occur, isearch-search-fun-default, isearch-search)
10187 (isearch-lazy-highlight-new-loop): Use them.
10188 (isearch-forward, isearch-forward-regexp): Doc fix.
10189
10190 2012-08-26 Chong Yidong <cyd@gnu.org>
10191
10192 * faces.el (help-argument-name): Always inherit from italic
10193 (Bug#12213).
10194
10195 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10196
10197 * window.el (window--even-window-heights): Even heights when
10198 WINDOW and the selected window form a vertical combination.
10199 (display-buffer-use-some-window): Provide that window used gets
10200 sized back by quit-window. (Bug#11880) and (Bug#12091)
10201
10202 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10203
10204 Fix file time stamp problem with bzr and CVS (Bug#12001).
10205 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10206 in the file's time stamp, since the version control system loses
10207 that information.
10208
10209 2012-08-22 Juri Linkov <juri@jurta.org>
10210
10211 * info.el (Info-fontify-node): Hide the suffix of the
10212 Info file name in the header line. (Bug#12187)
10213
10214 2012-08-22 Glenn Morris <rgm@gnu.org>
10215
10216 * calendar/cal-tex.el (cal-tex-weekly-common):
10217 Restore leading blank page.
10218
10219 2012-08-22 Le Wang <l26wang@gmail.com>
10220
10221 * misc.el (forward-to-word, backward-to-word): Activate or extend
10222 the region under `shift-select-mode'. (Bug#12231)
10223
10224 2012-08-22 Bastien Guerry <bzg@gnu.org>
10225
10226 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10227 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10228 gives details on why the space is never needed.
10229
10230 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10231
10232 * window.el (walk-window-tree, window-with-parameter):
10233 New optional argument MINIBUF to control whether these functions
10234 should run on the minibuffer window.
10235 (window-at-side-list): Don't operate on minibuffer window.
10236 (window-in-direction): Simplify and rewrite doc-string.
10237 (window--size-ignore): Rename to window--size-ignore-p.
10238 Update callers.
10239 (display-buffer-in-atom-window, window--major-non-side-window)
10240 (window--major-side-window, display-buffer-in-major-side-window)
10241 (delete-side-window, display-buffer-in-side-window):
10242 New functions.
10243 (window--side-check, window-deletable-p, delete-window)
10244 (delete-other-windows, split-window): Handle side windows and
10245 atomic windows appropriately.
10246 (window--display-buffer): Call display-buffer-record-window also
10247 when the window buffer did not change.
10248
10249 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10250
10251 * help-fns.el (help-fns--key-bindings):
10252 Abbreviate non-symbol remap targets. (Bug#12174)
10253
10254 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10255
10256 * dired.el (dired-mark-remembered): Don't clobber point.
10257 (Bug#11795)
10258
10259 2012-08-22 Glenn Morris <rgm@gnu.org>
10260
10261 * progmodes/bug-reference.el (bug-reference): New custom group.
10262 (bug-reference-bug-regexp): Make it a defcustom.
10263
10264 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10265
10266 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10267 (js-paren-indent-offset, js-square-indent-offset)
10268 (js-curly-indent-offset): Add :safe (Bug#12257).
10269
10270 2012-08-22 Edward O'Connor <hober0@gmail.com>
10271
10272 * json.el (json-key-format): Add error properties.
10273 (json-encode-key): New function.
10274 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10275 Use json-encode-key.
10276
10277 2012-08-22 Glenn Morris <rgm@gnu.org>
10278
10279 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10280 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10281 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10282 Update for above change.
10283
10284 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10285
10286 * cus-face.el (custom-face-attributes): Fix customize type for the
10287 :underline attribute. (Bug#11805)
10288
10289 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10290
10291 * window.el (window-point-1, set-window-point-1): Remove.
10292 (window-in-direction, record-window-buffer)
10293 (set-window-buffer-start-and-point, split-window-below)
10294 (window--state-get-1, display-buffer-record-window):
10295 Replace calls to window-point-1 and set-window-point-1 by calls to
10296 window-point and set-window-point respectively.
10297
10298 2012-08-21 Glenn Morris <rgm@gnu.org>
10299
10300 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10301 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10302 Use it.
10303
10304 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10305 (cal-tex-shortday): New function.
10306 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10307 (cal-tex-cursor-filofax-daily): Use the above.
10308
10309 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10310 New functions.
10311 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10312 (cal-tex-cursor-filofax-week): Use them.
10313
10314 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10315 New constants.
10316 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10317 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10318
10319 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10320 (cal-tex-end-document): Don't rely on buffer name.
10321
10322 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10323 Use cal-tex-vspace.
10324 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10325 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10326 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10327 Use cal-tex-arg.
10328
10329 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10330 (cal-tex-cursor-week, cal-tex-cursor-week2)
10331 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10332 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10333 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10334 (cal-tex-insert-preamble, cal-tex-b-document)
10335 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10336 Improve cal-tex-cmd usage.
10337
10338 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10339 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10340 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10341 (cal-tex-weekly-paper): New function.
10342 (cal-tex-cursor-week, cal-tex-cursor-week2)
10343 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10344 (cal-tex-cursor-day): Use it.
10345
10346 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10347 (cal-tex-cursor-filofax-week): Remove leading blank page.
10348
10349 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10350 Add autoload cookie. For now at least, don't use color, since
10351 no other cal-tex function does.
10352
10353 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10354 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10355 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10356
10357 2012-08-21 Juri Linkov <juri@jurta.org>
10358
10359 * info.el (Info-file-attributes): New variable.
10360 (info-insert-file-contents): Add file attributes to
10361 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10362 `Info-toc-nodes' when previous modtime of the Info file is less
10363 than new modtime.
10364 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10365 of info.el. (Bug#12230)
10366
10367 2012-08-20 Glenn Morris <rgm@gnu.org>
10368
10369 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10370 * calendar/holidays.el (calendar-holiday-list):
10371 Report errors with display-warning rather than beep'n'sleep.
10372
10373 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10374
10375 * net/tramp.el (tramp-accept-process-output): Accept only output
10376 from PROC. Otherwise, process filters and sentinels might be
10377 confused. (Bug#12145)
10378
10379 2012-08-20 Chong Yidong <cyd@gnu.org>
10380
10381 * descr-text.el (describe-text-properties-1): Use overlays-in to
10382 report on empty overlays (Bug#3322).
10383
10384 2012-08-20 Glenn Morris <rgm@gnu.org>
10385
10386 * mail/rmailout.el (rmail-output-read-file-name):
10387 Trap and report errors in rmail-output-file-alist elements.
10388
10389 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10390 since most non-font-lock faces are not also variables).
10391
10392 2012-08-20 Edward Reingold <reingold@iit.edu>
10393
10394 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10395 New function. (Bug12160)
10396
10397 2012-08-19 Glenn Morris <rgm@gnu.org>
10398
10399 * mail/rmailout.el (rmail-output-read-file-name):
10400 Fix previous change (when the alist is nil or does not match).
10401
10402 2012-08-19 Chong Yidong <cyd@gnu.org>
10403
10404 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10405 (Bug#12228).
10406
10407 2012-08-18 Chong Yidong <cyd@gnu.org>
10408
10409 * simple.el (yank-handled-properties): New defcustom.
10410 (yank-excluded-properties): Add font-lock-face and category.
10411 (yank): Doc fix.
10412
10413 * subr.el (remove-yank-excluded-properties):
10414 Obey yank-handled-properties. The special handling of font-lock-face
10415 and category is now done this way, instead of being hard-coded.
10416 (insert-for-yank-1): Remove font-lock-face handling.
10417 (yank-handle-font-lock-face-property)
10418 (yank-handle-category-property): New function.
10419
10420 2012-08-17 Glenn Morris <rgm@gnu.org>
10421
10422 * mail/rmailout.el (rmail-output-read-file-name):
10423 Check rmail-output-file-alist against the full message body
10424 in the correct rmail buffer. (Bug#12214)
10425
10426 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10427
10428 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10429 Eliminate superfluous prompt. (Bug#12203)
10430
10431 2012-08-17 Chong Yidong <cyd@gnu.org>
10432
10433 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10434 font spec, set the font directly (Bug#3228).
10435
10436 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10437
10438 * window.el (delete-window): Fix last fix.
10439
10440 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10441
10442 * window.el (window-valid-p): Move to window.c.
10443 (window-child, window-child-count, window-last-child)
10444 (window-normalize-window, window-combined-p)
10445 (window-combinations, window-atom-root, window-min-size)
10446 (window-sizable, window-sizable-p, window-size-fixed-p)
10447 (window-min-delta, window-max-delta, window--resizable)
10448 (window--resizable-p, window-resizable, window-total-size)
10449 (window-full-height-p, window-full-width-p, window-body-size)
10450 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10451 (minimize-window, window-deletable-p, delete-window)
10452 (delete-other-windows, set-window-buffer-start-and-point)
10453 (next-buffer, previous-buffer, split-window, balance-windows-2)
10454 (set-window-text-height, window-buffer-height)
10455 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10456 (truncated-partial-width-window-p): Minor code adjustments.
10457 In doc-strings state whether the argument window has to denote a
10458 live, valid or any window.
10459
10460 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10461
10462 * progmodes/subword.el (subword-forward-function)
10463 (subword-backward-function, subword-forward-regexp)
10464 (subword-backward-regexp): New variables.
10465 (subword-forward, subword-forward-internal, subword-backward-internal):
10466 Use new variables, eg so that different "word" definitions
10467 can be easily used. (Bug#11411)
10468
10469 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10472 for composite selectors.
10473 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10474 operation just because we can't find a previous revision.
10475
10476 2012-08-15 Chong Yidong <cyd@gnu.org>
10477
10478 * frame.el (set-frame-font): Accept font objects.
10479
10480 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10483
10484 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10485
10486 * man.el (Man-overstrike-face, Man-underline-face)
10487 (Man-reverse-face): Remove variables.
10488 (Man-overstrike, Man-underline, Man-reverse): New faces.
10489 (Man-fontify-manpage): Use them instead of the variables.
10490 (Man-cleanup-manpage): Comment change.
10491 (Man-ansi-color-map): New variable.
10492 (Man-fontify-manpage): Use it.
10493 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10494
10495 Implement ANSI SGR parameters 22-27 (bug#12146).
10496 * ansi-color.el (ansi-colors): Doc fix.
10497 (ansi-color-context, ansi-color-context-region): Doc fix.
10498 (ansi-color--find-face): New function.
10499 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10500 Rename the local variable `face' to `codes' since it is now a list of
10501 ansi codes. Doc fix.
10502 (ansi-color-get-face): Remove.
10503 (ansi-color-parse-sequence): New function, derived from
10504 ansi-color-get-face.
10505 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10506 codes 22-27.
10507
10508 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * subr.el (read-passwd): Allow use from a minibuffer.
10511
10512 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10513
10514 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10515 inside comments and strings as identifiers.
10516
10517 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10518 expression to evaluate. This allows to evaluate expressions with
10519 embedded whitespace.
10520 (gud-tooltip-tips): Add a blank before the newline in the
10521 message-box text, for the benefit of message-box emulation on
10522 MS-Windows.
10523
10524 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10525 messages from GDB, pop them up in a tooltip to give feedback to
10526 user.
10527 (gdb-tooltip-print-1): Quote the expression to evaluate.
10528 This allows to evaluate expressions with embedded whitespace.
10529 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10530 if the TTY name is nil or empty (which happens when communicating
10531 with the inferior via pipes, e.g. on MS-Windows).
10532 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10533 don't send that to the GUD buffer.
10534
10535 2012-08-14 Glenn Morris <rgm@gnu.org>
10536
10537 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10538 Optimize away setq-default with no args, as for setq. (Bug#12195)
10539
10540 2012-08-14 Chong Yidong <cyd@gnu.org>
10541
10542 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10543
10544 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10545 (Bug#12085).
10546
10547 2012-08-14 Glenn Morris <rgm@gnu.org>
10548
10549 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10550
10551 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10552
10553 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10554 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10555 Use cached shell name.
10556
10557 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10558
10559 * progmodes/python.el (python-shell-send-string):
10560 (python-shell-send-setup-code): Do not use `format' with `message'.
10561
10562 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10563
10564 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10565 (ruby-percent-literal-beg-re): New constant.
10566 (ruby-syntax-general-delimiters-goto-beg): Rename to
10567 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10568 (ruby-syntax-propertize-general-delimiters): Rename to
10569 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10570 popular term. Adjust comments everywhere.
10571 (ruby-syntax-propertize-percent-literal): Only propertize when not
10572 inside a simple string or comment. When the literal is unclosed,
10573 leave the text after it unpropertized.
10574 (ruby-syntax-methods-before-regexp): New constant.
10575 (ruby-syntax-propertize-function): Use it to recognize regexps.
10576 Don't look at the text after regexp, just use the whitelist.
10577
10578 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10579
10580 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10581 non-nil always load the compiled file if it exists. (Bug#12197)
10582
10583 2012-08-14 Chong Yidong <cyd@gnu.org>
10584
10585 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10586 (hi-lock-set-pattern): When deciding whether to use font lock or
10587 overlays, look at font-lock-mode instead of font-lock-fontified
10588 (Bug#12168).
10589 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10590 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10591
10592 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10593
10594 * subr.el (internal--after-with-selected-window): Fix typo
10595 (Bug#12193).
10596
10597 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10598
10599 Use `completion-table-dynamic' for completion functions.
10600 * progmodes/python.el
10601 (python-shell-completion--do-completion-at-point)
10602 (python-shell-completion--get-completions):
10603 Remove functions.
10604 (python-shell-completion-complete-at-point): New function.
10605 (python-completion-complete-at-point): Use it.
10606
10607 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10608
10609 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10610 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10611
10612 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * subr.el (function-get): Refine `autoload' arg so it can also
10615 autoload functions for gv.el (bug#12191).
10616 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10617 autoloads macros.
10618
10619 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10620 Prefer pcase-let over destructuring-bind.
10621 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10622 Also, remove whitespace as we go, rather than after accumulating the
10623 various places.
10624
10625 * subr.el (internal--before-with-selected-window)
10626 (internal--after-with-selected-window): Fix typo seleted->selected.
10627 (with-selected-window): Adjust callers.
10628 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10629
10630 2012-08-13 Bastien Guerry <bzg@gnu.org>
10631
10632 * window.el (special-display-popup-frame): Minor docstring
10633 enhancement. (Bug#12172)
10634
10635 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10636
10637 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10638 type 1-6.
10639 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10640 extended headers.
10641
10642 * files.el (hack-local-variables-filter): Remove useless eval.
10643
10644 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10645
10646 * subr.el (with-selected-window): Fix last change.
10647
10648 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * subr.el (internal--before-with-seleted-window)
10651 (internal--after-with-seleted-window): New functions.
10652 (with-selected-window): Use them, to replace dependency on
10653 tty-top-frame.
10654
10655 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10656
10657 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10658 binding for `newline'.
10659 (ruby-move-to-block): When moving backward, stop at block opening,
10660 not indentation.
10661 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10662 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10663 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10664 `ruby-toggle-block'.
10665
10666 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * ibuffer.el (ibuffer-do-toggle-read-only):
10669 * dired.el (dired-toggle-read-only):
10670 * buff-menu.el (Buffer-menu-toggle-read-only):
10671 * bindings.el (mode-line-toggle-read-only):
10672 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10673
10674 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10675
10676 * descr-text.el (describe-char): Put the overlays over the
10677 "displayed as" character.
10678
10679 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10680
10681 * calc/calc-units.el (math-default-units-table): Give an
10682 initial value.
10683 (math-put-default-units): Add options to put composite units and
10684 unit systems in the default units table.
10685 (calc-convert-units): Send composite units to
10686 `math-put-default-units' when appropriate.
10687
10688 2012-08-11 Glenn Morris <rgm@gnu.org>
10689
10690 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10691
10692 * tutorial.el (help-with-tutorial):
10693 * emacs-lisp/copyright.el (copyright-update-directory):
10694 * emacs-lisp/autoload.el (autoload-find-generated-file)
10695 (autoload-find-file): Disable local eval: (for insurance).
10696
10697 * files.el (hack-local-variables-filter): If an eval: form is not
10698 known to be safe, and enable-local-variables is :safe, then ignore
10699 the form totally, as is done for non-eval forms. (Bug#12155)
10700 This is CVE-2012-3479.
10701
10702 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10705 (rx-form): Simplify.
10706
10707 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10708
10709 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10710 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10711 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10712 (ruby-syntax-propertize-function): Adjust for changes in
10713 `ruby-syntax-propertize-heredoc'.
10714
10715 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10716
10717 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10718 binding (use `M-;' instead).
10719 (ruby-singleton-class-p): New function.
10720 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10721
10722 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10725
10726 2012-08-10 Chong Yidong <cyd@gnu.org>
10727
10728 * progmodes/python.el (python-shell-get-process-name): Don't mess
10729 with same-window-buffer-names.
10730
10731 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10732 (eshell-remove-from-window-buffer-names): Make obsolete.
10733 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10734 (eshell): Just use pop-to-buffer-same-window instead.
10735
10736 2012-08-10 Chong Yidong <cyd@gnu.org>
10737
10738 * bindings.el: Bind M-= back to count-words-region.
10739
10740 * simple.el (count-words-region): Accept a prefix arg for acting
10741 on the entire buffer.
10742 (count-words--buffer-message): New helper function.
10743
10744 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10745
10746 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10747 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10748 (event-start, event-end): Use posn-at-point to return a more
10749 informative posn.
10750 (posnp): New function.
10751 * mouse.el (popup-menu-normalize-position): Use it.
10752
10753 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10754
10755 * mouse.el (popup-menu-normalize-position): New function.
10756 (popup-menu): Use `popup-menu-normalize-position' to normalize
10757 the form for POSITION argument.
10758
10759 * term/x-win.el (x-menu-bar-open):
10760 Use the value returend from (posn-at-point) as position
10761 passed to `popup-menu'.
10762
10763 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10764
10765 * calc/calccomp.el (math-compose-expr): Add extra argument
10766 indicating that parentheses should be put around products in
10767 denominators. Give multiplication precedence over division during
10768 composition.
10769
10770 2012-08-09 Chong Yidong <cyd@gnu.org>
10771
10772 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10773 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10774 (Man-untabify-command, manual-program): Convert to defcustom
10775 (Bug#10429).
10776
10777 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10778
10779 * descr-text.el (describe-char): Don't insert extra newlines
10780 (Bug#10127).
10781
10782 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10783 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10784
10785 * align.el (align-region): Delete temporary markers (Bug#10047).
10786 Plus some code cleanups.
10787
10788 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10789
10790 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10791 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10792 (python-shell-internal-last-output): Use make-local-variable
10793 instead of make-variable-buffer-local.
10794
10795 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10796
10797 * progmodes/python.el: Enhancements to forward-sexp.
10798 (python-nav-forward-sexp): Rename from
10799 python-nav-forward-sexp-function.
10800 (python-nav--forward-sexp, python-nav--backward-sexp):
10801 New functions.
10802
10803 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10804
10805 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10806 modes and simplification modes.
10807
10808 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * delsel.el (delete-selection-pre-hook): Don't propagate the
10811 file-supersession signals (bug#12161).
10812
10813 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10814
10815 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10816 (cl-map-extents): Add compatibility aliases (bug#12135).
10817
10818 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10819
10820 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10821 tests by `ignore-error'.
10822 (tramp-find-shell): Open also a new shell, when cache is already
10823 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10824
10825 2012-08-08 Juri Linkov <juri@jurta.org>
10826
10827 * bookmark.el: Add `defaults' property to the bookmark record.
10828 (bookmark-current-buffer): Doc fix.
10829 (bookmark-make-record): Add `defaults' property with default values
10830 to the bookmark record.
10831 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10832 with `bookmark-insert-current-bookmark'.
10833 (bookmark-set): Get `defaults' property from the bookmark record
10834 and use it in `read-from-minibuffer'.
10835 (bookmark-insert-current-bookmark): Remove function.
10836
10837 * info.el (Info-bookmark-make-record): Add `defaults' property
10838 with values of canonical Info node name, the current Info file
10839 name and the current Info node name. (Bug#12107)
10840
10841 2012-08-08 Juri Linkov <juri@jurta.org>
10842
10843 * files.el (basic-save-buffer): Use `buffer-name' as the default
10844 of `read-file-name' when buffer is not visiting a file (bug#12128).
10845
10846 2012-08-08 Juri Linkov <juri@jurta.org>
10847
10848 * info.el (Info-isearch-search): Doc fix.
10849 (Info-search): Change search-failed message from "initial node" to
10850 "end of node" (bug#12078).
10851 (Info-isearch-search): Change `isearch-string-state' to
10852 `isearch--state-string'.
10853
10854 2012-08-08 Glenn Morris <rgm@gnu.org>
10855
10856 * language/persian.el: Remove file.
10857 * language/misc-lang.el: Move unique part of persian.el here.
10858 * loadup.el: Remove language/persian.
10859
10860 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10861
10862 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10863
10864 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10865
10866 * progmodes/python.el: Fix defsubst warning.
10867 (python-syntax-context) Rename from python-info-ppss-context.
10868 (python-syntax-context-type): Rename from
10869 python-info-ppss-context-type.
10870 (python-syntax-comment-or-string-p): Rename from
10871 python-info-ppss-comment-or-string-p.
10872
10873 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10874
10875 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10876
10877 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10878
10879 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10880 a defcustom that is quoted with backquote.
10881
10882 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10883 Fix handling of interactive spec when the body uses return.
10884 (math-do-arg-check, math-define-function-body): Use backquote forms.
10885 * calc/calc-ext.el (math-defcache): Likewise.
10886 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10887 * allout.el (allout-new-exposure): Likewise.
10888 * calc/calcalg2.el (math-tracing-integral): Likewise.
10889 * info.el (Info-last-menu-item): Likewise.
10890 * emulation/vip.el (vip-loop): Likewise.
10891 * textmodes/artist.el (artist-funcall): Likewise.
10892 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10893 Construct menu-item directly.
10894
10895 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10896 Don't declare.
10897
10898 2012-08-07 Chong Yidong <cyd@gnu.org>
10899
10900 * simple.el (deactivate-mark): Preserve text properties when
10901 saving the primary selection (Bug#8384).
10902
10903 2012-08-07 Kevin Ryde <user42@zip.com.au>
10904
10905 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10906 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10907 and continue processing (Bug#12110).
10908
10909 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10912 syntax-propertize-function (bug#10095).
10913
10914 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10915
10916 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10917 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10918 describe-function-1.
10919 (describe-function-1): Use them. Move compiler macro after sig.
10920 (help-fns--compiler-macro): Use function-get. Assume we're already in
10921 standard-output. Adjust layout to new call order.
10922
10923 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10924 re-binding a symbol that has a symbol-macro (bug#12119).
10925
10926 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10927
10928 * language/persian.el: New file. (Bug#11812)
10929 * loadup.el: Add language/persian.el.
10930
10931 2012-08-06 Chong Yidong <cyd@gnu.org>
10932
10933 * window.el (window--maybe-raise-frame): New function.
10934 (window--display-buffer): Split off from here.
10935 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10936 (display-buffer-pop-up-window, display-buffer-use-some-window):
10937 Obey an inhibit-switch-frame action alist entry.
10938 (display-buffer): Update doc.
10939
10940 * replace.el (occur-after-change-function): Avoid losing focus by
10941 using the inhibit-switch-frame display parameter (Bug#12139).
10942
10943 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10944
10945 Make internal shell process buffer names start with space.
10946 * progmodes/python.el (python-shell-make-comint): Add optional
10947 argument INTERNAL.
10948 (run-python-internal): Use it.
10949 (python-shell-internal-get-or-create-process): Check for new
10950 internal buffer names.
10951
10952 2012-08-06 Glenn Morris <rgm@gnu.org>
10953
10954 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10955 Do less getting and setting of environment variables.
10956
10957 2012-08-05 Chong Yidong <cyd@gnu.org>
10958
10959 * proced.el (proced): Add substitution string to docstring to
10960 trigger autoloading of the proced library on C-h f (Bug#1768).
10961
10962 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10963 Don't show defvars which have no second argument (Bug#8638).
10964
10965 * imenu.el (imenu-generic-expression): Move documentation here
10966 from imenu--generic-function.
10967 (imenu--generic-function): Refer to imenu-generic-expression.
10968
10969 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10970
10971 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10972 indentation declaration.
10973 (viper-loop): Add indentation declaration (Bug#7025).
10974
10975 2012-08-05 Chong Yidong <cyd@gnu.org>
10976
10977 * help-fns.el (describe-variable): Add hyperlink for
10978 directory-local variables files. Improve buffer-local and
10979 permanent-local reporting; suggested by MON KEY (Bug#6644).
10980
10981 * help-mode.el (help-dir-local-var-def): New button type.
10982
10983 * files.el (kill-buffer-hook): Provide a defvar.
10984
10985 2012-08-05 Glenn Morris <rgm@gnu.org>
10986
10987 * eshell/esh-ext.el (eshell/addpath):
10988 Also update eshell-path-env. (Bug#12013)
10989
10990 2012-08-05 Chong Yidong <cyd@gnu.org>
10991
10992 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10993
10994 * fringe.el (fringe-styles): Add docstring.
10995 (fringe--check-mode): New function.
10996 (set-fringe-mode, set-fringe-style): Use it.
10997 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10998
10999 * files.el (set-auto-mode): Fix invalid setq call.
11000
11001 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * isearch.el: Misc simplification; use defstruct.
11004 (isearch-mode-map): Dense maps now work like sparse ones.
11005 (isearch--state): New defstruct.
11006 (isearch-string-state, isearch-message-state, isearch-point-state)
11007 (isearch-success-state, isearch-forward-state)
11008 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11009 (isearch-wrapped-state, isearch-barrier-state)
11010 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11011 replaced by defstruct's accessors.
11012 (isearch--set-state): Rename from isearch-top-state and change
11013 calling convention.
11014 (isearch-push-state): Use new isearch--get-state.
11015 (isearch-toggle-word): Disable regexp when enabling word.
11016 (isearch-message-prefix): Remove unused arg _c-q-hack.
11017 (isearch-message-suffix): Remove unused arg _ellipsis.
11018
11019 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11020
11021 * simple.el (list-processes--refresh): For a server use :host or
11022 :local as the address.
11023 (list-processes): Doc fix.
11024
11025 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11026
11027 * lisp/mpc.el: Support password in host argument.
11028 (mpc--proc-connect): Parse and use new password element.
11029 Set mpc-proc variable instead of returning process.
11030 (mpc-proc): Adjust accordingly.
11031
11032 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11033
11034 * whitespace.el (whitespace-display-mappings): Use Unicode
11035 codepoints, instead of emacs-mule codepoints. See
11036 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11037 for the details.
11038
11039 * files.el (file-truename): Don't skip symlink-chasing part on
11040 windows-nt. Incorporate the resolution of 8+3 short aliases on
11041 Windows into the loop that recursively chases symlinks.
11042 Compare directory and its parent case-insensitively on MS-Windows and
11043 MS-DOS.
11044
11045 2012-08-03 Chong Yidong <cyd@gnu.org>
11046
11047 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11048
11049 * sort.el (sort-regexp-fields): Doc fix.
11050
11051 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11052
11053 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11054 labels regex position point at the expected place.
11055
11056 2012-08-03 MON KEY <monkey@sandpframing.com>
11057
11058 * net/imap.el (imap-interactive-login, imap-authenticate)
11059 (imap-mailbox-lsub, imap-mailbox-list)
11060 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11061 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11062 (imap-parse-response): Doc fix.
11063
11064 2012-08-03 João Távora <joaotavora@gmail.com>
11065
11066 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11067 if sexp scanning does not move point (Bug#5734).
11068
11069 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11070
11071 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11072 Add listings, minted, and ctable packages.
11073 (reftex-label-alist-builtin): Move listings, minted, and ctable
11074 entries before LaTeX.
11075 (reftex-label-alist): Docfix.
11076
11077 2012-08-02 Bastien Guerry <bzg@gnu.org>
11078
11079 * replace.el (occur): Fix docstring (bug#12122).
11080
11081 2012-08-02 Glenn Morris <rgm@gnu.org>
11082
11083 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11084
11085 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11086
11087 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11088 * international/mule-cmds.el: Create
11089 inactivate-current-input-method-function as an obsolete alias for
11090 deactivate-current-input-method-function. See Katsumi Yamaoka in
11091 <http://bugs.gnu.org/10150#46>.
11092
11093 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11094
11095 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11096 of nested `if's.
11097
11098 2012-08-01 Glenn Morris <rgm@gnu.org>
11099
11100 * progmodes/autoconf.el (autoconf-definition-regexp):
11101 Add AH_TEMPLATE, adjust submatch numbering.
11102 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11103 (autoconf-current-defun-function): Update for above change.
11104 (autoconf-current-defun-function): First skip to end of current word.
11105
11106 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11107
11108 * calendar/cal-html.el (cal-html-insert-agenda-days):
11109 Fix typo. (Bug#12018)
11110
11111 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11112
11113 Shell processes: enhancements to startup and CEDET compatibility.
11114 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11115 (python-shell-make-comint): accept-process-output at startup.
11116 (run-python-internal): Set inferior-python-mode-hook to nil.
11117 (python-shell-internal-get-or-create-process): call sit-for.
11118 (python-preoutput-result): Add obsolete alias.
11119 (python-shell-internal-send-string): Use it.
11120 (python-shell-send-setup-code): Remove call to
11121 accept-process-output.
11122
11123 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11124
11125 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11126 (Bug#12108)
11127
11128 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11129
11130 * calc-mode.el (calc-basic-simplification-mode): Rename from
11131 `calc-limited-simplification-mode'.
11132 (calc-alg-simplification-mode): New function.
11133 (calc-set-simplify-mode): Adjust message.
11134
11135 * calc.el (calc-set-mode-line): Adjust mode line display for
11136 basic simplification mode.
11137
11138 * calc-help.el (calc-m-prefix-help): Update help message.
11139
11140 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11141 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11142
11143 2012-07-31 Bastien Guerry <bzg@gnu.org>
11144
11145 * man.el (man): Fix comment. (bug#12101)
11146
11147 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11148
11149 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11150 Don't return a non-nil value when no suitable buffer was found.
11151
11152 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11153
11154 * progmodes/python.el (run-python-internal): Disable font lock for
11155 internal shells.
11156
11157 2012-07-30 Stefan Merten <smerten@oekonux.de>
11158
11159 * textmodes/rst.el: Silence `checkdoc-ispell'.
11160 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11161 (rst-official-version, rst-official-cvs-rev)
11162 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11163 (rst-mode-map): New key binding.
11164
11165 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11166
11167 Update .PHONY listings in makefiles.
11168 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11169 autoloads, update-subdirs, updates, bzr-update, update-authors,
11170 compile-onefile, compile-calc, backup-compiled-files,
11171 compile-after-backup, compile-one-process, mh-autoloads,
11172 bootstrap-clean, distclean, maintainer-clean.
11173
11174 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11175
11176 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11177 (calc-set-mode-line): Don't display "AlgSimp ".
11178
11179 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11180 (calc-lim-simplify-mode): New function.
11181 (calc-set-simplify-mode): Default to 'alg.
11182 (calc-default-simplify-mode): Make algebraic simplifications
11183 the default.
11184
11185 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11186 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11187
11188 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11189 indicate new simplification modes.
11190
11191 * calc/README: Mention new default simplification mode.
11192
11193 * calc/calc.el (math-normalize-error): New variable.
11194 (math-normalize): Set `math-normalize-error' to t
11195 when there's an error.
11196
11197 * calc/calc-alg.el (math-simplify): Don't simplify when
11198 `math-normalize' returns an error.
11199
11200 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11201
11202 * international/mule-cmds.el (set-locale-environment): Revert last
11203 change, since display-graphic-p returns nil when this function is
11204 called during startup. Instead...
11205
11206 * term/w32console.el (terminal-init-w32console): ...setup the
11207 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11208
11209 2012-07-29 Juri Linkov <juri@jurta.org>
11210
11211 * simple.el (goto-line): Don't display default line number in the
11212 prompt because it should be displayed by `read-number' (bug#9952).
11213 Add the current line number to the defaults of `goto-line' to
11214 allow its easier modification by users with `M-n' (bug#9201).
11215
11216 * subr.el (read-number): Support multiple default values like in
11217 other minibuffer reading functions. Replace `read' with
11218 `string-to-number' for consistency with `number-to-string'.
11219
11220 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11221
11222 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11223 * emulation/viper-init.el (viper-deactivate-input-method-action):
11224 Rename from viper-inactivate-input-method-action.
11225 (viper-deactivate-input-method):
11226 Rename from viper-inactivate-input-method.
11227 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11228 * international/mule-cmds.el (deactivate-input-method):
11229 Rename from inactivate-input-method.
11230 Also run input-method-deactivate-hook.
11231 (deactivate-current-input-method-function):
11232 Rename from inactivate-current-input-method-function.
11233 (input-method-deactivate-hook): New hook.
11234 (input-method-inactivate-hook): Mark obsolete.
11235 (inactivate-input-method): Mark obsolete.
11236
11237 * international/quail.el (quail-activate):
11238 Also run quail-deactivate-hook.
11239 (quail-deactivate): Rename from quail-inactivate.
11240 * international/robin.el (robin-activate):
11241 Also run robin-deactivate-hook.
11242 (robin-deactivate): Rename from robin-inactivate.
11243
11244 2012-07-29 Chong Yidong <cyd@gnu.org>
11245
11246 * simple.el (indicate-copied-region): New function.
11247 (kill-ring-save): Split off from here.
11248
11249 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11250 (kill-rectangle): Set deactivate-mark to t on read-only error.
11251
11252 * register.el (copy-to-register, copy-rectangle-to-register):
11253 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11254 (append-to-register, prepend-to-register): Call indicate-copied-region.
11255
11256 2012-07-29 Juri Linkov <juri@jurta.org>
11257
11258 * simple.el (async-shell-command-buffer): New defcustom.
11259 (shell-command): Use it. (Bug#4719)
11260
11261 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11262
11263 * international/mule-cmds.el (set-locale-environment): In a
11264 console session on MS-Windows, set up keyboard and terminal
11265 encoding from the OEM codepage, not the ANSI codepage.
11266 (Bug#12055)
11267
11268 2012-07-28 Chong Yidong <cyd@gnu.org>
11269
11270 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11271 gdb-get-location.
11272
11273 2012-07-28 Leo Liu <sdl.web@gmail.com>
11274
11275 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11276 the alist (bug#12029).
11277
11278 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11279
11280 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11281 (compile-always, compile-first)
11282 ($(lisp)/calendar/cal-loaddefs.el)
11283 ($(lisp)/calendar/diary-loaddefs.el)
11284 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11285 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11286 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11287 instead of on update-subdirs.
11288 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11289
11290 2012-07-28 Chong Yidong <cyd@gnu.org>
11291
11292 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11293 directory if vc-deduce-backend returns nil (Bug#7350).
11294
11295 * simple.el (delete-trailing-lines): New option.
11296 (delete-trailing-whitespace): Obey it (Bug#11879).
11297
11298 2012-07-28 David Engster <deng@randomsample.de>
11299
11300 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11301 Explanation of new 'symbol-qnames feature in doc-strings.
11302 (xml-maybe-do-ns): Return expanded names as plain symbols if
11303 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11304 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11305
11306 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11307
11308 Consistent completion in inferior python with emacs -nw.
11309 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11310 binding in inferior-python-mode-map with "\t".
11311 (python-shell-completion-complete-at-point)
11312 (python-completion-complete-at-point): Remove interactive spec.
11313
11314 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11315
11316 * calc/calccomp.el (math-compose-expr): Undo previous change.
11317
11318 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11319
11320 * progmodes/python.el (python-mode-map): Add keybinding for
11321 run-python.
11322 (python-shell-make-comint): Fix pop-to-buffer call.
11323 (run-python): Autoload. New arg SHOW.
11324 (python-shell-get-or-create-process): Do not pop python process
11325 buffer.
11326
11327 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11328
11329 * notifications.el (notifications-on-action-signal)
11330 (notifications-on-closed-signal): Use also the bus address for the map.
11331 (notifications-notify, notifications-close-notification)
11332 (notifications-get-capabilities): Add optional argument BUS.
11333
11334 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11335
11336 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11337 Add support for the lstlisting and minted environments, and for the
11338 ctable macro.
11339 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11340 labels written in keyvals syntax.
11341
11342 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11343
11344 * calc/calccomp.el (math-compose-expr): Use parentheses when
11345 there is a product in the denominator of a fraction.
11346
11347 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11348
11349 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11350 ($(lisp)/calendar/diary-loaddefs.el)
11351 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11352 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11353 Fixes failures in parallel bootstrap because subdirs.el is being
11354 rewritten while the autoload files are built at the same time,
11355 which needs to load subdirs.el.
11356
11357 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11358
11359 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11360 (mouse-drag-line): Don't exit tracking when a switch-frame or
11361 switch-window event occurs (Bug#12006).
11362
11363 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * mouse.el (popup-menu): Fix last change.
11366
11367 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 Autoload from Lisp with more care. Follow aliases when looking for
11370 function properties.
11371 * subr.el (autoloadp): New function.
11372 (symbol-file): Use it.
11373 (function-get): New function.
11374 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11375 autoload-do-load.
11376 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11377 (lisp-indent-function):
11378 * emacs-lisp/gv.el (gv-get):
11379 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11380 * emacs-lisp/byte-opt.el (byte-optimize-form):
11381 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11382 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11383 Use function-get.
11384 * emacs-lisp/cl.el: Don't propagate function properties any more.
11385
11386 * speedbar.el (speedbar-add-localized-speedbar-support):
11387 * emacs-lisp/disass.el (disassemble-internal):
11388 * desktop.el (desktop-load-file):
11389 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11390 (describe-function-1):
11391 * emacs-lisp/find-func.el (find-function-noselect):
11392 * emacs-lisp/elp.el (elp-instrument-function):
11393 * emacs-lisp/advice.el (ad-has-proper-definition):
11394 * apropos.el (apropos-safe-documentation, apropos-macrop):
11395 * emacs-lisp/debug.el (debug-on-entry):
11396 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11397 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11398 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11399
11400 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11401
11402 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11403 function, not an obsolete variable (Bug#12046).
11404
11405 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11406
11407 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11408
11409 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11410
11411 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11412 window only if it is still live (Bug#12034).
11413
11414 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11415
11416 * subr.el (redirect-frame-focus): Add advertised calling
11417 convention (Bug#12030).
11418
11419 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11420
11421 Prefer typical American spelling for "acknowledgment".
11422 * vc/add-log.el (change-log-acknowledgment): Rename from
11423 change-log-acknowledgement, with an alias for the old name.
11424
11425 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11426
11427 * calc-alg.el (math-simplify-divide): Don't cross multiply
11428 in an equation when the lhs is a variable.
11429
11430 2012-07-24 Julien Danjou <julien@danjou.info>
11431
11432 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11433 Remove, unused.
11434
11435 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11436
11437 * startup.el (command-line): Don't display an empty user name in
11438 the error message about non-existent home directory, when
11439 init-file-user was set to an empty string. See
11440 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11441 for the details and context.
11442
11443 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11444
11445 * ses.el (ses-cell-formula-aset): New macro.
11446 (ses-cell-references-aset): New macro.
11447 (ses-cell-p): New function.
11448 (ses-rename-cell): Do no longer rely on complex operations like
11449 ses-cell-set-formula or ses-set-cell to change the cell and handle
11450 the undo at the same time, but rather use lower level new macros
11451 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11452 the undo directly. Refresh the mode line.
11453
11454 2012-07-21 Leo Liu <sdl.web@gmail.com>
11455
11456 * progmodes/cc-cmds.el (c-defun-name):
11457 Use match-string-no-properties instead for consistency.
11458
11459 2012-07-20 Leo Liu <sdl.web@gmail.com>
11460
11461 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11462 (Bug#7879)
11463
11464 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11465
11466 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11469 * progmodes/bug-reference.el, misearch.el: Provide themselves
11470 (bug#11915).
11471
11472 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11473 of narrowed buffer (bug#11966).
11474
11475 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11476
11477 * ses.el (ses-rename-cell): Set new name also in reference list of
11478 cells of which the renamed cell depends.
11479
11480 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11481
11482 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11483 to check whether menu-bar is shown or not. If not shown,
11484 show the menu-bar as a popup menu instead of using tmm.
11485 * mouse.el (popup-menu): Accept `point' as `position' argument.
11486
11487 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11488
11489 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11490 up inside string symbol literal (bug#11923).
11491
11492 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11493
11494 * startup.el (fancy-startup-text): Read the whole tutorial, not
11495 just its first 256 bytes. Prevents gibberish in display of the
11496 tutorial title.
11497
11498 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11499
11500 Drop idle buffer compaction due to an absence of the
11501 proved efficiency.
11502 * compact.el: Remove.
11503
11504 2012-07-19 Sam Steingold <sds@gnu.org>
11505
11506 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11507 vc-bzr-pull & vc-bzr-merge-branch.
11508 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11509 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11510 for consistency with compilation-error-regexp-alist.
11511 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11512 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11513 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11514 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11515
11516 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 * emacs-lisp/chart.el: Use lexical-binding.
11519 (chart-emacs-storage): Don't hardcode the list of entries.
11520
11521 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11522
11523 Next round of tweaks caused by Fgarbage_collect changes.
11524 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11525
11526 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11527
11528 Compact buffers when idle.
11529 * compact.el: New file.
11530
11531 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * subr.el (eventp): Presume that if it looks vaguely like an event,
11534 it's an event (bug#10190).
11535
11536 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11537
11538 Enhancements to ppss related code (thanks Stefan).
11539 * progmodes/python.el (python-indent-context)
11540 (python-indent-calculate-indentation, python-indent-dedent-line)
11541 (python-indent-electric-colon, python-nav-forward-block)
11542 (python-mode-abbrev-table)
11543 (python-info-assignment-continuation-line-p): Simplify checks
11544 for ppss context.
11545 (python-info-continuation-line-p): Cleanup.
11546 (python-info-ppss-context): Do not catch 'quote.
11547 (python-info-ppss-context-type)
11548 (python-info-ppss-comment-or-string-p): Simplify.
11549
11550 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11551
11552 * progmodes/python.el: Enhancements to eldoc support.
11553 (python-info-current-symbol): New function.
11554 (python-eldoc-at-point): Use python-info-current-symbol.
11555 (python-info-current-defun): Fix cornercase on first defun scan.
11556 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11557 and signal error when no inferior python process is available.
11558
11559 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11560
11561 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11562 assume it's always t.
11563 (vc-git-registered): Remove caching, the function is only called
11564 once.
11565 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11566
11567 2012-07-18 Chong Yidong <cyd@gnu.org>
11568
11569 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11570
11571 * simple.el (count-words): Report on narrowing (Bug#9959).
11572
11573 * bindings.el: Bind M-= to count-words.
11574
11575 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11576
11577 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11578
11579 * progmodes/sh-script.el (sh-imenu-generic-expression):
11580 Capture a function with `function' keyword and without parentheses
11581 like "function FOO" (bug#11856).
11582
11583 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11584
11585 * window.el (split-window-sensibly): Make WINDOW argument
11586 optional.
11587
11588 2012-07-18 Chong Yidong <cyd@gnu.org>
11589
11590 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11591
11592 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11593 and make C-x 8 RET exit isearch (Bug#11439).
11594
11595 * international/iso-transl.el: Move isearch-mode-map key
11596 definitions to isearch.el.
11597
11598 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11601 (eieio-defclass): Use gv-define-setter when possible.
11602
11603 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11604
11605 Reflect recent changes in Fgarbage_collect.
11606 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11607 reflect new format of data returned by Fgarbage_collect.
11608
11609 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11610
11611 New utility functions + python-info-ppss-context fix (Bug#11910).
11612 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11613 (python-info-ppss-comment-or-string-p): New functions.
11614 (python-info-ppss-context): Small fix for string check.
11615
11616 2012-07-17 Juri Linkov <juri@jurta.org>
11617
11618 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11619 (dired-do-async-shell-command): Don't add `*' at the end of the
11620 command (Bug#11815).
11621 (dired-do-shell-command): Doc fix.
11622 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11623 Join the individual commands using either "&" or ";" as the
11624 separator depending on the values of these trailing characters.
11625 At the end re-add the trailing "&". (Bug#10598)
11626
11627 * simple.el (async-shell-command): Sync the interactive spec with
11628 `shell-command'. Doc fix.
11629 (shell-command): Doc fix.
11630
11631 2012-07-17 Juri Linkov <juri@jurta.org>
11632
11633 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11634
11635 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11636
11637 Final renames and doc fixes for movement commands (bug#11899).
11638 * progmodes/python.el (python-nav-beginning-of-statement):
11639 Rename from python-nav-statement-start.
11640 (python-nav-end-of-statement): Rename from
11641 python-nav-statement-end.
11642 (python-nav-beginning-of-block): Rename from
11643 python-nav-block-start.
11644 (python-nav-end-of-block): Rename from python-nav-block-end.
11645
11646 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11647
11648 * progmodes/python.el (python-shell-send-string-no-output):
11649 Allow accept-process-output to quit, keeping shell process ready for
11650 future interactions (Bug#11868).
11651
11652 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11655
11656 * emacs-lisp/elint.el (elint-find-args-in-code):
11657 Use help-function-arglist, so as to handle lexical byte-code.
11658
11659 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11660 change (bug#11826).
11661
11662 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11665 Avoid spuriously marking the buffer as modified because of c-is-sws.
11666
11667 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11668 as not-a-comment (bug#11946).
11669
11670 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11671 for uninterned vars.
11672
11673 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11674 Use read-event since we don't really want to read chars but bytes.
11675
11676 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11677 $$..$$ but also $..$ using regexps (bug#11953).
11678 Use tex-verbatim for \url and \path.
11679 (tex-font-lock-keywords): Define as defconst like the others.
11680 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11681
11682 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11683
11684 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11685 alias for insert-char.
11686
11687 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11688
11689 * progmodes/python.el: Simplified imenu implementation.
11690 (python-nav-jump-to-defun): Remove command.
11691 (python-mode-map): Use `imenu' instead.
11692 (python-nav-list-defun-positions-cache)
11693 (python-imenu-include-defun-type, python-imenu-make-tree)
11694 (python-imenu-subtree-root-label, python-imenu-index-alist):
11695 Remove vars.
11696 (python-nav-list-defun-positions, python-nav-read-defun)
11697 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11698 (python-imenu-make-tree, python-imenu-create-index):
11699 Remove functions.
11700 (python-mode): Update to interact with imenu by setting
11701 `imenu-extract-index-name-function' only.
11702
11703 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11704
11705 * progmodes/python.el: Enhancements to navigation commands.
11706 (python-nav-backward-sentence)
11707 (python-nav-forward-sentence): Remove.
11708 (python-nav-backward-statement, python-nav-forward-statement)
11709 (python-nav-statement-start, python-nav-statement-end)
11710 (python-nav-backward-block, python-nav-forward-block)
11711 (python-nav-block-start, python-nav-block-end)
11712 (python-nav-forward-sexp-function)
11713 (python-info-current-line-comment-p)
11714 (python-info-current-line-empty-p): New functions.
11715 (python-indent-context): Use `python-nav-statement-start'.
11716
11717 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11718
11719 * eshell/em-ls.el (eshell/ls): Use `apply'.
11720
11721 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11722 multi-hops, instead of Tramp internals.
11723
11724 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11725
11726 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11727 when F1 and F2 are located on different hosts.
11728
11729 2012-07-14 Chong Yidong <cyd@gnu.org>
11730
11731 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11732 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11733 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11734 (xterm-mouse--read-event-sequence-1000)
11735 (xterm-mouse--read-event-sequence-1006): New functions. For old
11736 mouse protocol, handle M-mouse-X events correctly.
11737 (xterm-mouse-event): New arg specifying mouse protocol.
11738 (turn-on-xterm-mouse-tracking-on-terminal)
11739 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11740 sequence to toggle extended coordinates on newer XTerms.
11741 This appears to be harmless on terminals which do not support this.
11742
11743 2012-07-14 Leo Liu <sdl.web@gmail.com>
11744
11745 Add fringe bitmap indicators for flymake. (Bug#11253)
11746 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11747 (flymake-make-overlay): New arg BITMAP.
11748 (flymake-error-bitmap, flymake-warning-bitmap)
11749 (flymake-fringe-indicator-position): New user variables.
11750
11751 * fringe.el: New bitmap exclamation-mark.
11752
11753 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11754
11755 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11756 also (Bug#7879).
11757
11758 2012-07-14 Chong Yidong <cyd@gnu.org>
11759
11760 * electric.el (electric-pair-post-self-insert-function): Fix pair
11761 insertion in empty-region case (Bug#11520).
11762
11763 2012-07-14 Chong Yidong <cyd@gnu.org>
11764
11765 * bindings.el: Consolidate ctl-x-r-map bindings.
11766 Bind copy-rectangle-as-kill to C-x r w.
11767
11768 * rect.el, register.el: Move bindings to bindings.el.
11769
11770 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11771
11772 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11773
11774 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11775
11776 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11777
11778 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11779
11780 * bindings.el (top): Use `mapc' instead of `mapcar'.
11781
11782 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11783
11784 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11785
11786 * progmodes/sql.el (sql-comint): Suppress the check for program on
11787 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11788 (Bug#11908)
11789
11790 2012-07-13 Chong Yidong <cyd@gnu.org>
11791
11792 * bindings.el: Assign a non-nil permanent-local property to
11793 per-buffer variables which lack a default value (Bug#11930).
11794
11795 * help-fns.el (describe-variable): In the "automatically becomes
11796 local" notice, take note of permanent-local variables.
11797
11798 2012-07-13 Chong Yidong <cyd@gnu.org>
11799
11800 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11801 to allow printing the message when called from Lisp.
11802
11803 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11804 Remove toggle-read-only.
11805
11806 * bs.el (bs-toggle-readonly):
11807 * buff-menu.el (Buffer-menu-toggle-read-only):
11808 Remove with-no-warnings around toggle-read-only.
11809
11810 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11811 Remove with-no-warnings around toggle-read-only.
11812 (ffap-read-only, ffap-read-only-other-window)
11813 (ffap-read-only-other-frame): Callers changed.
11814
11815 * help-mode.el: Don't require view package.
11816 (help-mode-finish): Set buffer-read-only instead of calling
11817 toggle-read-only.
11818
11819 * bindings.el (mode-line-toggle-read-only):
11820 * dired.el (dired-toggle-read-only):
11821 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11822 with non-nil second arg.
11823
11824 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11825 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11826 directly.
11827
11828 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11829
11830 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11831 not incf.
11832
11833 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11834
11835 More CL cleanups and reduction of use of cl.el.
11836 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11837 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11838 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11839 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11840 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11841 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11842 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11843 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11844 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11845 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11846 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11847 * eshell/em-cmpl.el, eshell/em-banner.el:
11848 * calendar/parse-time.el: Use cl-lib.
11849 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11850 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11851 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11852 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11853 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11854 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11855 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11856 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11857 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11858 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11859 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11860 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11861 `lambda' rather than with `quote'.
11862 (eshell-do-opt): Adjust accordingly.
11863 (eshell-process-option): Simplify.
11864 * eshell/esh-var.el:
11865 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11866 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11867 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11868 to `pcase--dontcare'.
11869 * emacs-lisp/cl.el (labels): Mark obsolete.
11870 (cl--letf, letf): Move to cl-lib.
11871 (cl--letf*, letf*): Remove.
11872 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11873 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11874 (cl-progv): Rewrite.
11875 (cl--letf, cl-letf): Move from cl.el.
11876 (cl-letf*): New macro.
11877 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11878
11879 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11880
11881 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11882
11883 2012-07-11 Chong Yidong <cyd@gnu.org>
11884
11885 * vc/log-edit.el (log-edit-vc-backend): New variable.
11886 (log-edit): Doc fix.
11887
11888 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11889 argument of log-edit to set up all local variables.
11890 (vc-start-logentry): New optional arg specifying VC backend.
11891
11892 * vc/vc.el (vc-checkin): Use it.
11893 (vc-deduce-fileset): Handle Log Edit buffers.
11894 (vc-diff): Make first argument optional too.
11895
11896 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11897
11898 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11899
11900 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11901 command, just in case. The function is not needed anymore.
11902 (eshell-external-command): Do not call `eshell-remote-command'.
11903
11904 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 Reduce use of (require 'cl).
11907 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11908 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11909 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11910 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11911 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11912 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11913 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11914 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11915 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11916 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11917 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11918 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11919 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11920 (byte-compile-unfold-bcf, byte-compile-check-variable):
11921 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11922 (byte-compile-nilconstp):
11923 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11924 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11925
11926 * emacs-lisp/gv.el (cond): Make it a valid place.
11927 (if): Simplify slightly.
11928
11929 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11930 (pcase--self-quoting-p): New function.
11931 (pcase--u1): Use it.
11932
11933 2012-07-10 Glenn Morris <rgm@gnu.org>
11934
11935 * emacs-lisp/authors.el (authors-fixed-entries):
11936 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11937
11938 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11939
11940 Rename configure.in to configure.ac (Bug#11603).
11941 * emacs-lisp/authors.el (authors-canonical-file-name):
11942 * progmodes/autoconf.el (autoconf-mode):
11943 Prefer configure.ac to configure.in.
11944
11945 2012-07-08 Chong Yidong <cyd@gnu.org>
11946
11947 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11948 Implement the mouse-1-click-follows-link handling properly.
11949
11950 * info.el (Info-link-keymap): Use follow-link mechanism for
11951 header-line links (Bug#374).
11952
11953 * simple.el (deactivate-mark): Do not set the primary selection
11954 if another program has acquired it (Bug#11772).
11955
11956 2012-07-07 Kevin Ryde <user42@zip.com.au>
11957
11958 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11959 (woman-decode-region): Replace escaped-escapes without destroying
11960 bold or underline (Bug#11552).
11961 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11962
11963 2012-07-07 Chong Yidong <cyd@gnu.org>
11964
11965 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11966 (interprogram-cut-function, interprogram-paste-function):
11967 Mention that we typically mean the clipboard.
11968
11969 2012-07-06 Glenn Morris <rgm@gnu.org>
11970
11971 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11972
11973 * files.el (toggle-read-only): Restrict message to interactive use.
11974
11975 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11976
11977 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11978
11979 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11980
11981 2012-07-06 Glenn Morris <rgm@gnu.org>
11982
11983 * Makefile.in (compile-one-process): Rename from "recompile".
11984
11985 * Makefile.in (bzr-update): "compile" is the same as "recompile
11986 autoloads", but parallelizable, so use that instead.
11987
11988 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11989
11990 * window.el (quit-window): Always restore window height when
11991 it's saved in quit-restore parameter (Bug#11810).
11992
11993 2012-07-06 Glenn Morris <rgm@gnu.org>
11994
11995 * simple.el (kill-whole-line): Doc tweak.
11996
11997 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11998
11999 * files.el (file-relative-name): Compare file names
12000 case-insensitively if on MS-Windows or MS-DOS, or if
12001 read-file-name-completion-ignore-case is non-nil. Don't use
12002 case-fold-search for this purpose. (Bug#11827)
12003
12004 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12005
12006 * calendar/cal-dst.el (calendar-current-time-zone):
12007 Return calendar-current-time-zone-cache if non-nil.
12008
12009 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12010 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12011
12012 * calendar/cal-dst.el (calendar-current-time-zone):
12013 Return calendar-current-time-zone-cache if non-nil.
12014
12015 2012-07-06 Glenn Morris <rgm@gnu.org>
12016
12017 * Makefile.in (cvs-update): Remove old alias.
12018
12019 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12020
12021 Sync with Tramp 2.2.6-pre.
12022
12023 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12024 compatible declaration.
12025
12026 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12027 Protect `list-load-path-shadows' call.
12028
12029 * net/tramp-compat.el (top): Require packages, which aren't
12030 autoloaded anymore for XEmacs. Protect call of
12031 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12032 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12033 it hurts at least for SXEmacs.
12034 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12035 standard-value for `temporary-file-directory'.
12036
12037 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12038 Redirect stderr to /dev/null.
12039 (tramp-sh-handle-write-region): uid and gid can be floats.
12040 Reported by Russell Sim <russell.sim@gmail.com>.
12041 (tramp-sh-handle-vc-registered): Hide errors.
12042 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12043 and `start-file-process'.
12044 (tramp-maybe-open-connection): Check also whether `non-essential'
12045 is bound.
12046
12047 2012-07-04 Chong Yidong <cyd@gnu.org>
12048
12049 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12050 (xml-parse-tag): Likewise, and avoid changing entity tables.
12051 (xml-syntax-table): Define from scratch, making sure not to give
12052 x2000 and other Unicode spaces whitespace syntax, since those are
12053 not spaces in XML.
12054 (xml-parse-fragment): Delete unused function.
12055 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12056 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12057 (xml-entity-ref, xml-pe-reference-re)
12058 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
12059 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12060 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12061 (xml-entity-value-re): Use syntax references in regexps where
12062 possible; no need to define inside a let-binding.
12063 (xml-parse-dtd): Use xml-pe-reference-re.
12064 (xml-entity-or-char-ref-re): New defconst.
12065 (xml-parse-string, xml-substitute-special): Use it.
12066
12067 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12068
12069 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12070 (find-file--read-only): New function.
12071 (find-file-read-only, find-file-read-only-other-window)
12072 (find-file-read-only-other-frame): Use it.
12073 (insert-file-contents-literally): Don't `fset'.
12074 (get-free-disk-space): Use locate-dominating-file.
12075
12076 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12077 function is already compiled.
12078
12079 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12080
12081 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12082
12083 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12084 files on the same host.
12085
12086 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12087
12088 * help-fns.el (describe-function-1): Only call
12089 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12090
12091 2012-07-03 Chong Yidong <cyd@gnu.org>
12092
12093 * xml.el: Protect parser against XML bombs.
12094 (xml-entity-expansion-limit): New variable.
12095 (xml-parse-string, xml-substitute-special): Use it.
12096 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12097
12098 2012-07-03 Glenn Morris <rgm@gnu.org>
12099
12100 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12101 Allow linking to specific messages in debbugs reports (eg 123#5).
12102
12103 2012-07-02 Chong Yidong <cyd@gnu.org>
12104
12105 * xml.el: Fix entity and character reference expansion, allowing
12106 them to expand into markup as per XML spec.
12107 (xml-default-ns): New variable.
12108 (xml-entity-alist): Use XML spec definitions for lt and amp.
12109 (xml-parse-region): Make first two arguments optional.
12110 Discard text properties.
12111 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12112 All callers changed.
12113 (xml-parse-tag): Call xml-parse-tag-1. For backward
12114 compatibility, this function should not modify buffer contents.
12115 (xml-parse-tag-1): Fix opening-tag regexp.
12116 (xml-parse-string): Rewrite, handling entity and character
12117 references properly.
12118 (xml--entity-replacement-text): Signal an error if a parameter
12119 entity is undefined.
12120
12121 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * comint.el (comint-output-filter): Filter out repeated prompts.
12124
12125 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12126 and file-name-absolute-p.
12127 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12128 internal calls.
12129
12130 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12131
12132 Spelling fixes.
12133 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12134 Rename from byte-compile--refiy-function. All uses changed.
12135
12136 2012-07-01 Chong Yidong <cyd@gnu.org>
12137
12138 * xml.el (xml--parse-buffer): New function. Move most of
12139 xml-parse-region here.
12140 (xml-parse-region): Copy region into a temporary buffer, since
12141 parameter entity substitution requires changing buffer contents.
12142 Use xml--parse-buffer.
12143 (xml-parse-file): Use xml--parse-buffer.
12144 (xml-parse-dtd): Make parameter entity substitution work right.
12145 Use proper regexps for ELEMENT declarations (Bug#7172).
12146
12147 2012-06-30 Glenn Morris <rgm@gnu.org>
12148
12149 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12150
12151 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12152 Remove outdated and unnecessary dbus declarations.
12153
12154 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12155
12156 * emacs-lisp/timer.el (timer-until): Subtract results of
12157 float-time, instead of taking float-time of the result of
12158 time-subtract, since float-time signals an error for negative time
12159 arguments.
12160
12161 2012-06-30 Chong Yidong <cyd@gnu.org>
12162
12163 * xml.el (xml-*-re): Convert defvars into defconsts, and
12164 eval-and-compile them so eval-and-compile works on derivatives.
12165 (xml--entity-replacement-text): Use eval-and-comple.
12166
12167 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12168
12169 * vc/vc-git.el (vc-git-registered): Use cache property
12170 `git-registered'.
12171 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12172 `vc-git-working-revision' in order to benefit from the cache.
12173 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12174
12175 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12176
12177 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12178 removed (likely outside Emacs). (Bug#11757)
12179
12180 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12181
12182 * emacs-lisp/cl-lib.el: Require macroexp.
12183
12184 2012-06-30 Chong Yidong <cyd@gnu.org>
12185
12186 * xml.el: Implement XML parameter entities.
12187 (xml-parameter-entity-alist): New variable.
12188 (xml-parse-region, xml-parse-fragment): Preserve previous values
12189 of xml-entity-alist and xml-parameter-entity-alist, so that
12190 repeated calls on different documents do not change them.
12191 (xml-parse-tag): Fix doctype regexp.
12192 (xml--entity-replacement-text): New function.
12193 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12194 properly requires url retrieval which is unimplemented.
12195 (xml-escape-string): Doc fix.
12196
12197 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12198
12199 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12200
12201 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12202
12203 * fringe.el (fringe-mode): Doc fix.
12204
12205 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12206
12207 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12208 is non-nil.
12209 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12210 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12211
12212 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12213
12214 * calendar/cal-dst.el (calendar-current-time-zone):
12215 Return calendar-current-time-zone-cache if non-nil.
12216
12217 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12218
12219 * progmodes/which-func.el (which-func-format):
12220 Add mouse-face. (Bug#11698)
12221
12222 2012-06-29 Leo Liu <sdl.web@gmail.com>
12223
12224 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12225
12226 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * minibuffer.el (minibuffer-confirm-exit-commands):
12229 Add completion-at-point (bug#11725).
12230
12231 2012-06-29 Glenn Morris <rgm@gnu.org>
12232
12233 * progmodes/f90.el (f90-font-lock-keywords-2):
12234 Add some preprocessor elements. (Bug#10499)
12235
12236 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12237
12238 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12239 Use syntax-propertize (bug#11739).
12240
12241 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12242
12243 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12244
12245 2012-06-28 Julien Danjou <julien@danjou.info>
12246
12247 * term.el (term-handle-colors-array): Use a set of new faces to
12248 color the terminal. Also uses :inverse-video property.
12249 (term-default-fg-color): Set to nil by default, deprecate in favor
12250 of `term-face'.
12251 (term-default-bg-color): Set to nil by default, deprecate in favor
12252 of `term-face'.
12253 (term-current-face): Use `term-face' by default.
12254 (term-bold-attribute): Variable deleted.
12255
12256 2012-06-28 Glenn Morris <rgm@gnu.org>
12257
12258 * simple.el (completion-list-mode-finish):
12259 Don't use toggle-read-only. (Since completion-list-mode has
12260 a special mode-class, it wasn't doing anything extra anyway.)
12261
12262 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 Make inlining of other-mode interpreted functions work (bug#11799).
12265 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12266 (byte-compile): Use it to fix compilation of lexical-binding closures.
12267 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12268 function, if needed.
12269
12270 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * help-mode.el (help-make-xrefs): Don't just withstand
12273 cyclic-variable-indirection but any error in documentation-property.
12274
12275 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12276 memory use.
12277 * bindings.el (bindings--define-key): New function.
12278 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12279 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12280 * bindings.el: Use it to purecopy define-key bindings.
12281
12282 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12283
12284 * emacs-lisp/cl.el (flet): Mark obsolete.
12285 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12286 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12287 * progmodes/js.el (js-c-fill-paragraph):
12288 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12289 (ebrowse-switch-member-buffer-to-derived-class):
12290 * play/5x5.el (5x5-solver): Use cl-flet.
12291
12292 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12293 (cl--symbol-function): New macro.
12294 (cl--letf, cl--letf*): Use it.
12295
12296 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12297 Strip "toggle-" if any.
12298
12299 2012-06-27 Glenn Morris <rgm@gnu.org>
12300
12301 * info.el (Info-default-directory-list): Move here from paths.el.
12302 * paths.el: Remove file, which is now empty.
12303 * loadup.el: No longer load "paths".
12304
12305 * custom.el (custom-initialize-delay): Doc fix.
12306
12307 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12308 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12309 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12310 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12311 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12312 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12313 * eshell/eshell.el (eshell-defgroup): Remove alias.
12314
12315 2012-06-27 Chong Yidong <cyd@gnu.org>
12316
12317 * help.el (help-enable-auto-load): New variable.
12318
12319 * help-fns.el (help-fns--autoloaded-p): New function.
12320 (describe-function-1): Refer to a function as "autoloaded" if it
12321 was autoloaded at any time in the past. Perform autoloading if
12322 help-enable-auto-load is non-nil.
12323
12324 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12325
12326 * makefile.w32-in (compile, compile-always): Depend on
12327 update-subdirs, not on subdirs.el. Otherwise, several different
12328 sub-targets of 'bootstrap' running in parallel could
12329 simultaneously write to subdirs.el, producing a garbled file.
12330
12331 2012-06-26 Sam Steingold <sds@gnu.org>
12332
12333 * files.el (file-name-base): New convenience function.
12334 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12335 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12336 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12337 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12338 * textmodes/ispell.el, textmodes/reftex-ref.el:
12339 * textmodes/tex-mode.el: Use it.
12340 Did not touch cedet and org because they are maintained elsewhere.
12341
12342 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12343
12344 * calendar/calendar.el (calendar-exit): Don't try to delete or
12345 iconify last frame. See:
12346 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12347
12348 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12349
12350 * server.el (server-process-filter): Remember dir in the
12351 process's `server-client-directory' properties.
12352
12353 2012-06-24 Chong Yidong <cyd@gnu.org>
12354
12355 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12356 non-tag text.
12357
12358 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12359
12360 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12361
12362 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12363
12364 * help-fns.el (describe-variable): Don't croak when doc is not found.
12365 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12366 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12367 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12368 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12369 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12370 ((lambda ..) ..).
12371 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12372
12373 2012-06-23 Chong Yidong <cyd@gnu.org>
12374
12375 * info.el (Info-mouse-follow-link): Accept symbol values of
12376 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12377 (Info-fontify-node): Use Info-link-keymap for all navigation
12378 buttons, with link-args property to perform the desired action.
12379 (Info-link-keymap): Doc fix.
12380 (Info-next-link-keymap, Info-prev-link-keymap)
12381 (Info-up-link-keymap): Delete now-unused keymaps.
12382
12383 2012-06-23 Chong Yidong <cyd@gnu.org>
12384
12385 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12386
12387 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12388 system abbrevs.
12389
12390 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12391
12392 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12395 (bug#11719).
12396
12397 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12398 the requote function doesn't work properly (bug#11714).
12399
12400 2012-06-23 Glenn Morris <rgm@gnu.org>
12401
12402 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12403
12404 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12405
12406 Further GV/CL cleanups.
12407 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12408 gv-expander.
12409 (gv--defun-declaration): New function.
12410 (defun-declarations-alist): Use it.
12411 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12412 (gv-place): Autoload.
12413 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12414 original definition of dotimes and dolist.
12415 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12416 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12417 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12418 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12419 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12420 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12421 to the function's definition.
12422 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12423 * window.el:
12424 * files.el:
12425 * faces.el:
12426 * env.el: Don't use CL.
12427
12428 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12429
12430 Support higher-resolution time stamps (Bug#9000).
12431
12432 * calendar/time-date.el (with-decoded-time-value): New arg
12433 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12434 (encode-time-value): New optional arg PICO. New type 3.
12435 (time-to-seconds) [!float-time]: Support the new picoseconds
12436 component if it's used.
12437 (seconds-to-time, time-subtract, time-add):
12438 Support ps-resolution time stamps as well.
12439
12440 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12441 (timerp): Timer vectors now have length 9, not 8.
12442 (timer--time): Support new-style (4-part) time stamps.
12443 (timer-next-integral-multiple-of-time): Time stamps now have
12444 picosecond resolution, so take a bit more care about rounding.
12445 (timer-relative-time, timer-inc-time): New optional arg psecs.
12446 (timer-set-time-with-usecs): Set psecs to 0.
12447 (timer--activate): Check psecs component, too.
12448
12449 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12450
12451 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12454 Move the non-essential binding to the post/pre-command-hook where it is
12455 more obviously correct.
12456
12457 * subr.el (read-passwd): Don't use a history at all.
12458 * savehist.el (savehist-save): Remove password saved accidentally
12459 because of the above bug.
12460
12461 2012-06-22 Bastien Guerry <bzg@gnu.org>
12462
12463 * files.el (toggle-read-only): Display a message telling whether
12464 the buffer is read-only or not (bug#11726).
12465
12466 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12467
12468 * emacs-lisp/gv.el: New file.
12469 * subr.el (push, pop): Extend to generalized variables.
12470 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12471 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12472 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12473 gv-define-simple-setter, and gv-define-expander.
12474 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12475 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12476 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12477 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12478 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12479 gv-letplace.
12480 (cl-defstruct): Don't define setf-method any more.
12481 * emacs-lisp/cl.el (flet): Don't autoload.
12482 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12483 (define-setf-expander, defsetf, define-modify-macro)
12484 (cl-struct-setf-expander): Move from cl-lib.el.
12485 * emacs-lisp/syntax.el:
12486 * emacs-lisp/ewoc.el:
12487 * emacs-lisp/smie.el:
12488 * emacs-lisp/cconv.el:
12489 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12490 (timer--time): Use gv-define-simple-setter.
12491 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12492 to avoid coding-system problems in subr.el. Adjust all users.
12493 (macroexp--maxsize, macroexp-small-p): New functions.
12494 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12495 * scroll-bar.el (scroll-bar-mode):
12496 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12497 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12498 * winner.el (winner-configuration, winner-make-point-alist)
12499 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12500 * files.el (locate-file-completion-table): Avoid list*.
12501
12502 2012-06-22 Chong Yidong <cyd@gnu.org>
12503
12504 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12505 (dired-create-files): Doc fix (Bug#11329).
12506 (dired-do-copy): Doc fix (Bug#11334).
12507 (dired-mark-read-string): Doc fix (Bug#11553).
12508
12509 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12510 Doc fix (Bug#11326).
12511 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12512 (dired-dwim-target): Doc fix.
12513
12514 * wdired.el (wdired-mode): Doc fix.
12515
12516 2012-06-22 Glenn Morris <rgm@gnu.org>
12517
12518 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12519 (pcmpl-rpm-cache-stamp-file): New constant.
12520 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12521 (pcmpl-rpm-packages): Optionally cache list of packages.
12522
12523 * pcmpl-rpm.el (pcmpl-rpm): New group.
12524 (pcmpl-rpm-query-options): New option.
12525 (pcmpl-rpm-packages): No need to inline it.
12526 Use pcmpl-rpm-query-options.
12527
12528 * calendar/calendar.el (calendar-in-read-only-buffer):
12529 Avoid some needless mode changes.
12530
12531 2012-06-21 Chong Yidong <cyd@gnu.org>
12532
12533 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12534 (desktop-path): Remove . from the default value (Bug#10977).
12535 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12536
12537 2012-06-20 Chong Yidong <cyd@gnu.org>
12538
12539 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12540
12541 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12542
12543 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12544 (bug#11201).
12545
12546 2012-06-20 Chong Yidong <cyd@gnu.org>
12547
12548 * term.el (term-window-width): Handle the case of a missing right
12549 fringe (Bug#8837).
12550 (term-check-size): Use window-text-height (Bug#5445).
12551 (term-mode): Use define-derived-mode. Minor cleanups.
12552 Set font-lock-defaults (Bug#7692).
12553 (term-move-columns, term-insert-char, term-emulate-terminal)
12554 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12555
12556 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12557
12558 * net/ange-ftp.el (ange-ftp-get-passwd):
12559 Bind `enable-recursive-minibuffers'.
12560 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12561
12562 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12563
12564 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12565
12566 2012-06-19 Glenn Morris <rgm@gnu.org>
12567
12568 * progmodes/python.el (python-mode): Derive from prog-mode.
12569
12570 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12571
12572 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12573 (edt-user-menu-bar-update-buffers): New functions.
12574 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12575
12576 2012-06-19 Chong Yidong <cyd@gnu.org>
12577
12578 * subr.el (with-selected-window): Preserve the selected window's
12579 terminal's top-frame (Bug#4702).
12580
12581 * window.el (save-selected-window): Likewise.
12582
12583 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * progmodes/python.el (python-rx-constituents): Move backquote.
12586 (python-skeleton-define, python-define-auxiliary-skeleton):
12587 Use `declare'.
12588
12589 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12590
12591 * minibuffer.el (read-file-name-default): Revert the patch from
12592 2012-06-17.
12593
12594 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12597 (pcase--u1, pcase--q1): Don't use apply-partially.
12598
12599 2012-06-18 Glenn Morris <rgm@gnu.org>
12600
12601 * progmodes/python.el (python-proc, python-buffer)
12602 (python-send-receive, python-send-string): Fix obsolete versions.
12603
12604 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12605
12606 * window.el (special-display-p): Completely remove stringp
12607 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12608
12609 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12610
12611 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12612
12613 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12614
12615 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12616 * net/tramp-sh.el (tramp-maybe-open-connection):
12617 Throw if `non-essential' is non-nil.
12618
12619 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12620
12621 * window.el (special-display-p): Signal an error if BUFFER-NAME
12622 is not a string (Bug#11713).
12623
12624 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12625
12626 * progmodes/python.el (python-info-beginning-of-backslash):
12627 Rename from python-info-beginning-of-backlash, as a spelling fix.
12628
12629 2012-06-17 Chong Yidong <cyd@gnu.org>
12630
12631 * term.el (term-emulate-terminal): If term-check-size is called,
12632 move point to the process mark without resetting point (Bug#4635).
12633
12634 2012-06-17 Glenn Morris <rgm@gnu.org>
12635
12636 * international/mule-cmds.el (mule-menu-keymap)
12637 (set-language-environment, set-locale-environment): Doc tweaks.
12638
12639 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12640
12641 * cus-face.el (custom-face-attributes): Add wave-style underline
12642 attribute.
12643 * faces.el (set-face-attribute): Update docstring to describe
12644 wave-style underline attribute.
12645
12646 2012-06-16 Chong Yidong <cyd@gnu.org>
12647
12648 * term/xterm.el (terminal-init-xterm): Discard input before
12649 querying background mode (Bug#10959).
12650
12651 2012-06-16 Stefan Merten <smerten@oekonux.de>
12652
12653 * textmodes/rst.el: Added and corrected some comments.
12654 (rst-re-alist-def): Improve symbol syntax.
12655 (rst-mode-syntax-table): Correct syntax entries.
12656 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12657 (rst-official-version, rst-official-cvs-rev): Update version
12658 information.
12659
12660 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12661
12662 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12663 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12664
12665 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12666
12667 * progmodes/python.el: New python.el merge.
12668 (python-guess-indent): Obsolete var.
12669 (python-indent-guess-indent-offset): New defcustom.
12670 (python-indent): Obsolete var.
12671 (python-indent-offset): New defcustom.
12672 (python-python-command, python-jython-command): Delete var.
12673 (python-shell-interpreter): New defcustom.
12674 (python-pdbtrack-do-tracking-p): Delete var.
12675 (python-pdbtrack-activate): New defcustom.
12676 (python-use-skeletons): Obsolete var.
12677 (python-skeleton-autoinsert): New defcustom.
12678 (inferior-python-filter-regexp, python-continuation-offset)
12679 (python-honour-comment-indentation, python-indent-string-contents)
12680 (python-jython-packages, python-mode-hook)
12681 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12682 (python-shell-prompt-alist)
12683 (python-source-modes): Delete defcustoms.
12684 (python-check-buffer-name, python-eldoc-setup-code)
12685 (python-eldoc-string-code, python-ffap-setup-code)
12686 (python-ffap-string-code, python-fill-comment-function)
12687 (python-fill-decorator-function, python-fill-paren-function)
12688 (python-fill-string-function, python-imenu-include-defun-type)
12689 (python-imenu-make-tree, python-imenu-subtree-root-label)
12690 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12691 (python-shell-compilation-regexp-alist)
12692 (python-shell-completion-module-string-code)
12693 (python-shell-completion-pdb-string-code)
12694 (python-shell-completion-setup-code)
12695 (python-shell-completion-string-code)
12696 (python-shell-enable-font-lock, python-shell-exec-path)
12697 (python-shell-extra-pythonpaths)
12698 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12699 (python-shell-process-environment)
12700 (python-shell-prompt-block-regexp)
12701 (python-shell-prompt-output-regexp)
12702 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12703 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12704 (python-shell-virtualenv-path): New defcustoms.
12705 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12706 (inferior-python-mode-syntax-table, python--prompt-regexp)
12707 (python-buffer, python-command python-python-command)
12708 (python-default-template, python-imports, python-indent-index)
12709 (python-indent-list, python-indent-list-length)
12710 (python-mode-running, python-pdbtrack-is-tracking-p)
12711 (python-preoutput-continuation, python-preoutput-leftover)
12712 (python-preoutput-result, python-preoutput-skip-next-prompt)
12713 (python-prev-dir/file, python-recursing)
12714 (python-saved-check-command, python-version-checked)
12715 (python-which-func-length-limit)
12716 (view-return-to-alist): Delete vars.
12717 (python-check-custom-command, python-dotty-syntax-table)
12718 (python-imenu-index-alist, python-indent-current-level)
12719 (python-indent-dedenters, python-indent-levels)
12720 (python-nav-beginning-of-defun-regexp)
12721 (python-nav-list-defun-positions-cache)
12722 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12723 (python-shell-internal-buffer)
12724 (python-skeleton-available): New vars.
12725 (def-python-skeleton): Delete macro.
12726 (python-skeleton-define): New macro.
12727 (python-define-auxiliary-skeleton, python-rx): New macros.
12728 (python-insert-class): Delete command.
12729 (python-skeleton-class): New command.
12730 (python-insert-def): Delete command.
12731 (python-skeleton-def): New command.
12732 (python-insert-for): Delete command.
12733 (python-skeleton-for): New command.
12734 (python-insert-if): Delete command.
12735 (python-skeleton-if): New command.
12736 (python-insert-try/except, python-insert-try/finally): Delete commands.
12737 (python-skeleton-try): New command.
12738 (python-insert-while): Delete command.
12739 (python-skeleton-while): New command.
12740 (python-backspace): Delete command.
12741 (python-indent-dedent-line-backspace): New command.
12742 (python-electric-colon): Delete command.
12743 (python-indent-electric-colon): New command.
12744 (python-guess-indent): Delete command.
12745 (python-indent-guess-indent-offset): New command.
12746 (python-shift-left): Delete command.
12747 (python-indent-shift-left): New command.
12748 (python-shift-right): Delete command.
12749 (python-indent-shift-right): New command.
12750 (python-find-function): Delete command.
12751 (python-nav-jump-to-defun): New command.
12752 (python-next-statement): Delete command.
12753 (python-nav-forward-sentence): New command.
12754 (python-previous-statement): Delete command.
12755 (python-nav-backward-sentence): New command.
12756 (python-fill-paragraph): Delete command.
12757 (python-fill-paragraph-function): New command.
12758 (python-send-buffer): Delete command.
12759 (python-shell-send-buffer): New command.
12760 (python-send-defun): Delete command.
12761 (python-shell-send-defun): New command.
12762 (python-send-region, python-send-region-and-go): Delete commands.
12763 (python-shell-send-region)
12764 (python-shell-switch-to-shell): New commands.
12765 (python-send-string): Delete command.
12766 (python-shell-send-string): New command.
12767 (python-switch-to-python): Delete command.
12768 (python-shell-switch-to-shell): New command.
12769 (python-describe-symbol): Delete command.
12770 (python-eldoc-at-point): New command.
12771 (python--set-prompt-regexp, python-args-to-list)
12772 (python-after-info-look, python-check-version)
12773 (python-check-comint-prompt, python-find-imports)
12774 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12775 (python-unload-function, python-expand-template)
12776 (python-maybe-jython, python-preoutput-filter)
12777 (python-pdbtrack-get-source-buffer)
12778 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12779 (python-pdbtrack-toggle-stack-tracking)
12780 (python-pdbtrack-track-stack-file, python-initial-text)
12781 (python-first-word, python-comment-line-p, python-send-command)
12782 (python-setup-brm, python-sentinel, python-set-proc)
12783 (python-skip-out, python-input-filter, python-outdent-p)
12784 (python-outline-level, python-backslash-continuation-line-p)
12785 (python-end-of-block, python-end-of-statement, python-mark-block)
12786 (python-beginning-of-block, python-beginning-of-statement)
12787 (python-blank-line-p, python-beginning-of-string)
12788 (python-open-block-statement-p): Delete functions.
12789 (python-indent-line, python-indent-line-1): Delete functions.
12790 (python-indent-line): New function.
12791 (python-indentation-levels): Delete function.
12792 (python-indent-calculate-levels): New function.
12793 (python-proc): Delete function.
12794 (python-shell-get-process): New function.
12795 (python-send-receive): Delete function.
12796 (python-shell-send-string-no-output): New function.
12797 (python-module-path): Delete function.
12798 (python-ffap-module-path): New function.
12799 (python-completion-at-point)
12800 (python-symbol-completions): Delete functions.
12801 (python-completion-complete-at-point): New function.
12802 (python-load-file): Delete function.
12803 (python-shell-send-file): New function.
12804 (python-calculate-indentation): Delete function.
12805 (python-indent-calculate-indentation): New function.
12806 (python-skip-comments/blanks): Delete function.
12807 (python-util-forward-comment): New function.
12808 (python-continuation-line-p): Delete function.
12809 (python-info-continuation-line-p): New function.
12810 (python-which-func, python-current-defun): Delete function.
12811 (python-info-current-defun): New function.
12812 (python-beginning-of-defun): Delete function.
12813 (python-nav-beginning-of-defun): New function.
12814 (python-close-block-statement-p)
12815 (python-block-end-p): Delete function.
12816 (python-info-closing-block): New function.
12817 (python-comint-output-filter-function)
12818 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12819 (python-fill-comment, python-fill-decorator, python-fill-paren)
12820 (python-fill-string, python-imenu-make-element-tree)
12821 (python-imenu-make-tree, python-imenu-tree-assoc)
12822 (python-indent-context, python-indent-dedent-line)
12823 (python-indent-line-function)
12824 (python-indent-post-self-insert-function)
12825 (python-indent-toggle-levels)
12826 (python-info-assignment-continuation-line-p)
12827 (python-info-beginning-of-backlash)
12828 (python-info-block-continuation-line-p)
12829 (python-info-closing-block-message)
12830 (python-info-line-ends-backslash-p)
12831 (python-info-looking-at-beginning-of-defun)
12832 (python-info-ppss-context, python-info-ppss-context-type)
12833 (python-nav-list-defun-positions, python-nav-read-defun)
12834 (python-nav-sentence-end, python-nav-sentence-start)
12835 (python-pdbtrack-comint-output-filter-function)
12836 (python-pdbtrack-set-tracked-buffer)
12837 (python-shell-calculate-exec-path)
12838 (python-shell-calculate-process-environment)
12839 (python-shell-completion--do-completion-at-point)
12840 (python-shell-completion--get-completions)
12841 (python-shell-completion-complete-at-point)
12842 (python-shell-completion-complete-or-indent)
12843 (python-shell-get-or-create-process)
12844 (python-shell-get-process-name)
12845 (python-shell-internal-get-or-create-process)
12846 (python-shell-internal-get-process-name)
12847 (python-shell-internal-send-string, python-shell-make-comint)
12848 (python-shell-parse-command, python-shell-send-setup-code)
12849 (python-skeleton-add-menu-items)
12850 (python-util-clone-local-variables, python-util-position)
12851 (run-python-internal, python-indentation-levels)
12852 (python-nav-beginning-of-defun)
12853 (python-completion-complete-at-point): New functions.
12854 (run-python): Change arguments. New API requirements.
12855
12856 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12859 (bug#11649).
12860
12861 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12862 (macroexp--expand-all): Use it.
12863
12864 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12865 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12866 Use `cl-function' instead.
12867
12868 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12869
12870 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12871 Suggested by Stefan Monnier while discussing bug#11657.
12872
12873 2012-06-14 Sam Steingold <sds@gnu.org>
12874
12875 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12876
12877 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12878
12879 * play/doctor.el (doctor-doc): Remove parameter and use
12880 doctor-sent instead of sent.
12881 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12882
12883 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12884
12885 * files.el: Require cl-lib.
12886 (file-name-non-special): Replace case -> cl-case.
12887
12888 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12889
12890 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12891 mapping from #' to function*.
12892
12893 2012-06-13 Chong Yidong <cyd@gnu.org>
12894
12895 * mouse.el (mouse-drag-track): Do not set the mark if the user
12896 releases the mouse without selecting anything (Bug#11588).
12897
12898 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12901 as well (bug#11646).
12902
12903 * loadup.el: Count byte-code functions as well.
12904
12905 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12906 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12907
12908 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12909 (bug#11649). Add cl-defun and cl-defmacro.
12910
12911 2012-06-13 Drew Adams <drew.adams@oracle.com>
12912
12913 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12914 Fix last change.
12915
12916 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12917
12918 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12919 Otherwise, it blocks in batch mode.
12920
12921 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12922
12923 * help-mode.el (bookmark-make-record-default): Declare.
12924
12925 2012-06-13 Chong Yidong <cyd@gnu.org>
12926
12927 * emacs-lisp/package.el (list-packages): Compute a list of
12928 packages that are newly-available since the last list-packages
12929 invocation.
12930 (package-menu--new-package-list): New var.
12931 (package-menu--generate, package-menu--print-info)
12932 (package-menu--status-predicate, package-menu-mark-install):
12933 Handle new status label "new".
12934
12935 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12936
12937 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12938 conversion to backquotes.
12939
12940 2012-06-12 Chong Yidong <cyd@gnu.org>
12941
12942 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12943 Rename from gud-inhibit-global-bindings.
12944
12945 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12946
12947 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12948 hook from nxml-glyph-set-hook.
12949
12950 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12951 declaration.
12952
12953 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12954
12955 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12956 Convert to defcustom.
12957
12958 2012-06-12 Drew Adams <drew.adams@oracle.com>
12959
12960 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12961 New functions.
12962 (help-mode): Use them.
12963
12964 2012-06-11 Glenn Morris <rgm@gnu.org>
12965
12966 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12967 Use preprocessor face for directives.
12968 (fortran-directive-re): Doc fix.
12969
12970 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12973 conversion to backquotes (bug#11652).
12974
12975 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12976 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12977 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12978 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12979 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12980 (cl-ninth, cl-tenth): Mark them as inlinable.
12981 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12982 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12983 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12984 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12985 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12986 (cl-list*, cl-adjoin): Don't put an autoload manually.
12987 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12988 (cl--compiler-macro-list*): Add autoload cookie.
12989 (cl--compiler-macro-cXXr): New function.
12990
12991 * help-fns.el (help-fns--compiler-macro): New function extracted from
12992 describe-function-1; follow aliases and use `compiler-macro' property.
12993 (describe-function-1): Use it.
12994
12995 2012-06-11 Chong Yidong <cyd@gnu.org>
12996
12997 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12998 is uninstalled, if imagemagick is installed.
12999
13000 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * emacs-lisp/cl-lib.el: Use lexical-binding.
13003 (cl-map-extents, cl-maclisp-member): Remove.
13004 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13005 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13006 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13007 * emacs-lisp/cl-extra.el: Use lexical-binding.
13008 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13009 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13010 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13011 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13012 * emacs-lisp/cl-seq.el: Use lexical-binding.
13013 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13014 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13015 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13016 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13017 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13018 CL's internals.
13019
13020 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13021
13022 Sync with Tramp 2.2.6-pre.
13023
13024 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13025 `print-length' and `print-level' to nil, in order to avoid
13026 truncation. Reported by Christopher Schmidt
13027 <christopher@ristopher.com>.
13028
13029 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13030
13031 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13032 New defmacro.
13033 (tramp-compat-copy-directory): Add optional argument
13034 COPY-CONTENTS. It is not handled yet.
13035
13036 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13037 (tramp-ftp-file-name-p): Simplify.
13038
13039 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13040 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13041 connection vector.
13042
13043 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13044 (tramp-methods): Do not use `tramp-password-end-of-line'.
13045 (tramp-completion-function-alist-putty): Handle UNIX case.
13046 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13047 (tramp-do-file-attributes-with-stat)
13048 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13049 gid as real numbers. They could run out of integer range on cygwin.
13050 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13051 (tramp-sh-handle-expand-file-name): Handle hops.
13052 (tramp-open-connection-setup-interactive-shell):
13053 Use `tramp-cleanup'. Move check for busyboxes ...
13054 (tramp-find-shell): ... here. Simplify implementation.
13055 Set "remote-shell" property also for alternative shells.
13056 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13057 If failing, a regular file would be written otherwise.
13058 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13059 (tramp-find-inline-encoding): Cache the coding commands in the
13060 process cache. Apply test command on the remote side, if defined.
13061 (tramp-find-inline-compress): Cache the compress commands in the
13062 process cache.
13063 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13064 when requested. Handle hops.
13065 (tramp-current-connection): New defvar.
13066 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13067 Throw `suppress', if there was a failed connection shortly before.
13068 Handle user interrupt. (Bug#10187)
13069 (tramp-get-inline-compress, tramp-get-inline-coding):
13070 Read connection properties from the process cache.
13071
13072 * net/tramp-smb.el (tramp-smb-server-version)
13073 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13074 New defconsts.
13075 (tramp-smb-prompt): Extend for powershell prompt.
13076 (tramp-smb-file-name-handler-alist): Add handlers for
13077 `process-file', `shell-command' and `start-file-process'.
13078 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13079 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13080 (tramp-smb-file-name-p): Simplify.
13081 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13082 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13083 (tramp-smb-shell-quote-argument): New defuns.
13084 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13085 Implement using "tar". By this, time-stamps are preserved.
13086 (tramp-smb-handle-copy-file): Handle also the case of directories.
13087 (tramp-smb-do-file-attributes-with-stat)
13088 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13089 Use `tramp-get-connection-buffer').
13090 (tramp-smb-handle-rename-file): Use "rename", when source and
13091 target are on the same share.
13092 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13093 Use `tramp-smb-server-version'.
13094 (tramp-smb-wait-for-output): Remove prompt.
13095
13096 * net/tramp.el (top): Require 'cl.
13097 (tramp-methods, tramp-rsh-end-of-line):
13098 Remove `tramp-password-end-of-line' from docstring.
13099 (tramp-save-ad-hoc-proxies): New defcustom.
13100 (tramp-completion-function-alist): Adapt docstring.
13101 (tramp-default-password-end-of-line): Remove defcustom.
13102 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13103 (tramp-user-regexp, tramp-file-name-regexp-unified)
13104 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13105 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13106 (tramp-remote-file-name-spec-regexp): New defconst.
13107 (tramp-file-name-structure): Extend structure for hops.
13108 (tramp-get-method-parameter): Move up.
13109 (tramp-file-name-p, tramp-dissect-file-name)
13110 (with-parsed-tramp-file-name): Handle hops.
13111 (tramp-file-name-hop): New defun.
13112 (tramp-make-tramp-file-name): New optional arg HOP.
13113 (tramp-message-show-progress-reporter-message): New defvar.
13114 (tramp-with-progress-reporter): Use it. We cannot use
13115 `tramp-message-show-message' here, because this suppresses also
13116 error buffers.
13117 (tramp-error-with-buffer): Suppress buffer view, if
13118 `tramp-message-show-message' is nil.
13119 Use `tramp-get-connection-buffer'.
13120 (tramp-cleanup): New defun.
13121 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13122 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13123 an error unchanged.
13124 (tramp-completion-handle-file-name-all-completions): Handle hops.
13125 Fix an error when called from ido.
13126 (tramp-completion-dissect-file-name): Use better local variable
13127 name. Add hop to the vector.
13128 (tramp-handle-insert-file-contents): Use progress-reporter for the
13129 whole scenario.
13130 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13131 to `t'.
13132 (tramp-check-for-regexp): Simplify search.
13133 (tramp-enter-password): Remove it. Move implementation ...
13134 (tramp-action-password): ... here.
13135 (tramp-mode-string-to-int, tramp-local-host-p)
13136 (tramp-make-tramp-temp-file, tramp-read-passwd)
13137 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13138 Set tramp-autoload cookie.
13139
13140 * net/trampver.el: Update release number.
13141
13142 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13143 Michael Albinus <michael.albinus@gmx.de>
13144
13145 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13146 (tramp-parse-group, tramp-parse-file)
13147 (tramp-parse-shostkeys-sknownhosts): New defuns.
13148 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13149 (tramp-parse-shosts-group, tramp-parse-sconfig)
13150 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13151 (tramp-parse-sknownhosts, tramp-parse-hosts)
13152 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13153 Use them.
13154 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13155 (tramp-parse-putty-group): Don't narrow.
13156 (tramp-parse-putty): Make a loop.
13157 (tramp-file-name-handler): Catch the `suppress' signal.
13158
13159 2012-06-11 Chong Yidong <cyd@gnu.org>
13160
13161 * image.el (imagemagick-register-types): Put the ImageMagick entry
13162 at the end of image-type-file-name-regexps.
13163
13164 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13165
13166 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13167 (pcase, pcase-let*, pcase-dolist): Use them.
13168
13169 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * emacs-lisp/pcase.el (pcase--let*): New function.
13172 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13173 (pcase--expand): Use macroexp-let².
13174
13175 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13176
13177 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13178 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13179 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13180 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13181 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13182 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13183
13184 2012-06-10 Glenn Morris <rgm@gnu.org>
13185
13186 * mail/rmail.el (rmail-yank-current-message): Leave point at
13187 correct position. (Bug#11660)
13188
13189 2012-06-10 Chong Yidong <cyd@gnu.org>
13190
13191 * allout-widgets.el: Fix code header.
13192
13193 2012-06-10 Chong Yidong <cyd@gnu.org>
13194
13195 * cus-edit.el (customize-changed-options-previous-release):
13196 Bump to 24.1.
13197
13198 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13199
13200 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13201
13202 2012-06-09 Chong Yidong <cyd@gnu.org>
13203
13204 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13205
13206 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13207
13208 * window.el (special-display-popup-frame): Don't use
13209 window--display-buffer (Bug#11651).
13210
13211 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13212
13213 Fix parallel builds: make sure loaddefs.el is not being written
13214 while Lisp files are compiled.
13215 (compile): Don't depend on 'mh-autoloads'.
13216 (compile-CMD, compile-SH): Depend on 'autoloads'.
13217 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13218
13219 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13220
13221 2012-06-09 Chong Yidong <cyd@gnu.org>
13222
13223 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13224 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13225 Doc fixes (Bug#11225).
13226
13227 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13230 a function if there's a clear indication that it has a compiler-macro.
13231 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13232 (macro-declarations-alist): Add arglist to declaration functions.
13233 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13234 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13235 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13236 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13237 Also add autoload to find the compiler macro.
13238 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13239 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13240 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13241 (cl--compiler-macro-get): New functions, replacing calls to
13242 cl-define-compiler-macro.
13243 (cl-typep) [compiler-macro]: Use macroexp-let².
13244
13245 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13246
13247 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13248 string properly, fixes Bug#11473.
13249
13250 2012-06-08 Chong Yidong <cyd@gnu.org>
13251
13252 * faces.el (set-face-attribute): Doc fix.
13253 (modify-face): Don't use :bold and :italic.
13254 (error, warning, success): Tweak definitions.
13255
13256 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13257 (custom-modified, custom-set, custom-changed, custom-themed)
13258 (custom-saved, custom-button, custom-button-mouse)
13259 (custom-button-pressed, custom-state, custom-comment-tag)
13260 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13261 (custom-group-subtitle): Use new-style face specs.
13262 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13263 (custom-set-face, custom-changed-face, custom-saved-face)
13264 (custom-button-face, custom-button-pressed-face)
13265 (custom-documentation-face, custom-state-face)
13266 (custom-comment-face, custom-comment-tag-face)
13267 (custom-variable-tag-face, custom-variable-button-face)
13268 (custom-face-tag-face, custom-group-tag-face-1)
13269 (custom-group-tag-face): Remove obsolete face alias.
13270
13271 * epa.el (epa-validity-high, epa-validity-medium)
13272 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13273 (epa-field-name, epa-field-body):
13274 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13275 (font-lock-keyword-face, font-lock-builtin-face)
13276 (font-lock-function-name-face, font-lock-variable-name-face)
13277 (font-lock-type-face, font-lock-constant-face):
13278 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13279 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13280 * speedbar.el (speedbar-button-face, speedbar-file-face)
13281 (speedbar-directory-face, speedbar-tag-face)
13282 (speedbar-selected-face, speedbar-highlight-face)
13283 (speedbar-separator-face):
13284 * whitespace.el (whitespace-newline, whitespace-space)
13285 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13286 (whitespace-line, whitespace-space-before-tab)
13287 (whitespace-space-after-tab, whitespace-indentation)
13288 (whitespace-empty):
13289 * emulation/cua-base.el (cua-global-mark):
13290 * eshell/em-prompt.el (eshell-prompt):
13291 * net/newst-plainview.el (newsticker-new-item-face)
13292 (newsticker-old-item-face, newsticker-immortal-item-face)
13293 (newsticker-obsolete-item-face, newsticker-date-face)
13294 (newsticker-statistics-face, newsticker-default-face):
13295 * net/newst-reader.el (newsticker-feed-face)
13296 (newsticker-extra-face, newsticker-enclosure-face):
13297 * net/newst-treeview.el (newsticker-treeview-face)
13298 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13299 (newsticker-treeview-immortal-face)
13300 (newsticker-treeview-obsolete-face)
13301 (newsticker-treeview-selection-face):
13302 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13303 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13304 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13305 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13306 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13307 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13308 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13309 (mpuz-text):
13310 * progmodes/vera-mode.el (vera-font-lock-number)
13311 (vera-font-lock-function, vera-font-lock-interface):
13312 * textmodes/table.el (table-cell): Use new-style face specs, and
13313 don't use the old :bold and :italic attributes.
13314
13315 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13316 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13317 (ebrowse-member-class, ebrowse-progress): Likewise.
13318 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13319 (ebrowse-file-name-face, ebrowse-default-face)
13320 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13321 (ebrowse-progress-face): Remove obsolete faces.
13322
13323 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13324 Inherit from error and warning faces respectively.
13325
13326 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13327 Likewise.
13328 (flyspell-incorrect-face, flyspell-duplicate-face):
13329 Remove obsolete aliases.
13330
13331 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13332
13333 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13334 Avoid infloop.
13335
13336 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13337
13338 * startup.el (argv, argi): Make lexically scoped.
13339 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13340 * emacs-lisp/cl-macs.el: Use lexical-binding.
13341 Rename cl-bind-* to cl--bind-*.
13342 * files.el: Don't require `cl' since it doesn't use it.
13343 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13344
13345 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13346
13347 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13348 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13349 instead of calling external sort utility.
13350 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13351
13352 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13353
13354 * descr-text.el (describe-char): Mention how to insert the
13355 character, if the current input method doesn't support it.
13356 See the discussion in this thread for the details:
13357 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13358
13359 2012-06-08 Sam Steingold <sds@gnu.org>
13360
13361 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13362 XF86Back to previous-buffer.
13363 (minibuffer-local-map): Bind them to next-history-element and
13364 previous-history-element respectively.
13365 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13366 help-go-back respectively.
13367 * info.el (Info-mode-map): Bind them to Info-history-forward and
13368 Info-history-back respectively.
13369 These are the keys next to Up on the ThinkPad keyboard.
13370
13371 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13374 * emacs-lisp/cl-macs.el: Provide itself.
13375 (cl--labels-convert-cache): New var.
13376 (cl--labels-convert): New function.
13377 (cl-flet, cl-labels): New implementation with new semantics, relying on
13378 lexical-binding.
13379 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13380 (cl-closure-vars, cl--function-convert-cache)
13381 (cl--function-convert): Move from cl-macs.el.
13382 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13383 rename by removing the "cl-" prefix.
13384 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13385
13386 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13387
13388 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13389 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13390 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13391 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13392 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13393 (cl-hash-table-count): Add old compatibility aliases.
13394
13395 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13396 Use macroexpand-all-environment instead.
13397 (cl--old-macroexpand): New var.
13398 (cl--sm-macroexpand): New function.
13399 (cl-symbol-macrolet): Use it during macro expansion.
13400 (cl--function-convert-cache): New var.
13401 (cl--function-convert): New function, extracted from
13402 cl-macroexpand-all.
13403 (cl-lexical-let): Use it.
13404
13405 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13406 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13407 (cl-member): Remove old alias.
13408
13409 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13410 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13411 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13412 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13413 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13414 (cl-macroexpand-cmacs): Remove var.
13415 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13416 Use macroexpand-all instead.
13417
13418 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13419
13420 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13421 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13422 (macroexp-copyable-p): New functions and macros.
13423 * emacs-lisp/edebug.el (edebug-unwrap):
13424 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13425 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13426 (pcase--let*): Remove.
13427 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13428 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13429 macroexp-const-p instead.
13430 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13431
13432 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13433 instead of "cl-" for internal definitions. Use macroexp-const-p.
13434 (cl-old-bc-file-form): Remove var.
13435 (cl-const-exprs-p): Remove fun.
13436 (cl-labels, cl-macrolet): Use backquote.
13437 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13438 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13439 (cl-define-setf-expander): Rename from cl-define-setf-method.
13440 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13441
13442 * international/mule-cmds.el: Don't require CL.
13443 (view-hello-file): Don't use `letf'.
13444
13445 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * tmm.el (tmm-prompt): Use string-prefix-p.
13448 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13449 (tmm-add-prompt): Use minibuffer-completion-help.
13450 (tmm-delete-map): Remove.
13451
13452 * subr.el (kbd): Make it its own function.
13453
13454 2012-06-07 Stefan Merten <smerten@oekonux.de>
13455
13456 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13457 Silence compiler warnings. Fix versions.
13458 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13459 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13460 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13461 (rst-package-emacs-version-alist): Correct Emacs version to
13462 represent major merge with upstream.
13463 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13464
13465 2012-06-06 Glenn Morris <rgm@gnu.org>
13466
13467 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13468 Only print environment variables if set.
13469
13470 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13473 (macroexp--cons): Rename from maybe-cons.
13474 (macroexp--accumulate): Rename from macroexp-accumulate.
13475 (macroexp--all-forms): Rename from macroexpand-all-forms.
13476 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13477 (macroexp--expand-all): Rename from macroexpand-all-1.
13478
13479 2012-06-06 Sam Steingold <sds@gnu.org>
13480
13481 * calendar/calendar.el (calendar-in-read-only-buffer):
13482 Call `special-mode' to enable the standard read-only keybindings.
13483
13484 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13485
13486 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13487 with "loading" messages (bug#11635).
13488
13489 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13490
13491 * files.el (enable-remote-dir-locals): New option.
13492 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13493
13494 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13495 Ensure, that the temp directory is local.
13496
13497 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13498 `temporary-file-directory'.
13499
13500 * progmodes/python.el (python-send-region): Ensure, that the
13501 temporary file is created also in the remote case.
13502
13503 2012-06-06 Glenn Morris <rgm@gnu.org>
13504
13505 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13506 (vc-rcs-update-changelog): Use it.
13507
13508 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13509
13510 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13511 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13512 (vc-sccs-diff): Replace use of the external vcdiff script.
13513
13514 2012-06-05 Glenn Morris <rgm@gnu.org>
13515
13516 * ledit.el: Move to obsolete/.
13517
13518 2012-06-05 Sam Steingold <sds@gnu.org>
13519
13520 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13521 patch (Bug#11140).
13522
13523 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * emacs-lisp/cust-print.el: Move to obsolete.
13526
13527 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13528 compiler-macro expansion.
13529
13530 Add native compiler-macro support.
13531 * emacs-lisp/macroexp.el (macroexpand-all-1):
13532 Support compiler-macros directly. Properly follow aliases and apply
13533 the compiler macros more thoroughly.
13534 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13535 macroexpand now properly follows aliases.
13536 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13537 (cl-compiler-macroexpand): Use new prop.
13538 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13539
13540 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13541
13542 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13543
13544 * window.el (get-lru-window, get-mru-window, get-largest-window):
13545 New argument NOT-SELECTED to avoid picking the selected window.
13546 (window--display-buffer-1, window--display-buffer-2): Replace by
13547 new function window--display-buffer
13548 (display-buffer-same-window, display-buffer-reuse-window)
13549 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13550 Use window--display-buffer.
13551 (display-buffer-use-some-window): Remove temporary dedication
13552 hack by calling get-lru-window and get-largest-window with
13553 NOT-SELECTED argument non-nil. Call window--display-buffer.
13554
13555 2012-06-05 Glenn Morris <rgm@gnu.org>
13556
13557 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13558 Replace external vcdiff script.
13559
13560 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13563
13564 2012-06-04 Chong Yidong <cyd@gnu.org>
13565
13566 * image.el (imagemagick-types-inhibit): Revert last change.
13567 Add INFO and M.
13568 (imagemagick-enabled-types): Remove CIN and EPS*.
13569
13570 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * emacs-lisp/cl-lib.el: Rename from cl.el.
13573 * emacs-lisp/cl.el: New compatibility file.
13574 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13575 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13576 to obey the "cl-" prefix.
13577 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13578
13579 2012-06-03 Glenn Morris <rgm@gnu.org>
13580
13581 * emacs-lisp/authors.el (authors-aliases): Addition.
13582
13583 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13584 Fix :version.
13585
13586 2012-06-03 Stefan Merten <smerten@oekonux.de>
13587
13588 * textmodes/rst.el: Add comments.
13589 (rst-transition, rst-adornment): New faces.
13590 (rst-adornment-faces-alist): Make default safe to reevaluate.
13591 Fixes
13592 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13593 Improve customization tags.
13594 (rst-define-level-faces): Clarify meaning.
13595
13596 2012-06-03 Chong Yidong <cyd@gnu.org>
13597
13598 * progmodes/compile.el (compilation-mode-line-fail)
13599 (compilation-mode-line-run, compilation-mode-line-exit):
13600 New faces.
13601 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13602
13603 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13604
13605 * progmodes/which-func.el (which-func-update-ediff-windows):
13606 New function. Use it in ediff-select-hook (Bug#11478).
13607
13608 2012-06-03 Chong Yidong <cyd@gnu.org>
13609
13610 * bindings.el: Remove explicit help text from format-mode-line.
13611 It is now supplied by mode-line-default-help-echo.
13612 (mode-line-front-space, mode-line-end-spaces)
13613 (mode-line-misc-info): New variables.
13614 (mode-line-modes, mode-line-position): Move the default value to
13615 the variable definition.
13616 (mode-line-default-help-echo): New defcustom.
13617 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13618 (mode-line-modified-help-echo): New functions.
13619 (mode-line-mule-info, mode-line-modified): Use them.
13620 (mode-line-eol-desc, propertized-buffer-identification):
13621 Consistency fixes for help text.
13622 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13623 set-buffer-file-coding-system (Bug#289).
13624 (mode-line-mule-info-help-echo): Update help text.
13625
13626 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13627
13628 * simple.el (execute-extended-command): Set real-this-command
13629 (bug#11506).
13630
13631 2012-06-02 Chong Yidong <cyd@gnu.org>
13632
13633 Remove incorrect uses of "modeline" in comments, docstrings, and
13634 function/variable names (Bug#10329).
13635
13636 * cus-edit.el (mode-line):
13637 * dframe.el (dframe-mouse-hscroll):
13638 * emacs-lisp/re-builder.el:
13639 * emacs-lisp/easy-mmode.el (define-minor-mode):
13640 * frame.el (set-frame-name):
13641 * help.el (lookup-minor-mode-from-indicator):
13642 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13643 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13644 (c-toggle-hungry-state):
13645 * progmodes/antlr-mode.el (antlr-language-alist):
13646 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13647 * progmodes/vhdl-mode.el (vhdl-mode):
13648 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13649 * term/ns-win.el (ns-face-at-pos):
13650 * term/sup-mouse.el (sup-mouse-report):
13651 * textmodes/flyspell.el (flyspell-mode-line-string):
13652 * textmodes/ispell.el (ispell-highlight-face):
13653 * textmodes/reftex-global.el:
13654 * vc/vc-arch.el (vc-arch-mode-line-string):
13655 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13656 * vc/vc-git.el (vc-git-mode-line-string):
13657 * vc/vc-hooks.el (vc-display-status)
13658 (vc-default-mode-line-string):
13659 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13660
13661 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13662
13663 * dired.el (dired-sort-set-mode-line): Rename from
13664 dired-sort-set-modeline. All callers changed.
13665
13666 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13667 eshell-status-in-modeline.
13668
13669 * foldout.el (foldout-mode-line-string): Rename from
13670 foldout-modeline-string. All callers changed.
13671 (foldout-update-mode-line): Rename from foldout-update-modeline.
13672
13673 * subr.el (redraw-modeline): Make into obsolete alias.
13674
13675 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13676 timeclock-modeline-display. Make old name an alias.
13677 (timeclock-update-mode-line): Likewise. All callers changed.
13678 (timeclock-mode-line-display): No need to check before using
13679 add-hook.
13680 (timeclock-relative, timeclock-day-over-hook)
13681 (timeclock-use-elapsed, timeclock-mode-string)
13682 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13683
13684 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13685 crisp-mode-modeline-string.
13686
13687 * play/solitaire.el (solitaire-build-mode-line): Rename from
13688 solitaire-build-modeline. All callers changed.
13689
13690 * play/zone.el (zone-hiding-mode-line): Rename from
13691 zone-hiding-modeline. All callers changed.
13692 (zone): Remove unusued `modeline-hidden-level' property.
13693
13694 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13695 xscheme-modeline-initialize. All callers changed.
13696
13697 * strokes.el (strokes-lighter): Rename from
13698 strokes-modeline-string.
13699
13700 * textmodes/sgml-mode.el (html-face-tag-alist)
13701 (html-tag-face-alist): Use mode-line face instead of obsolete
13702 alias modeline.
13703
13704 2012-06-02 Stefan Merten <smerten@oekonux.de>
13705
13706 * textmodes/rst.el: Always require `cl'.
13707 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13708
13709 2012-06-02 Chong Yidong <cyd@gnu.org>
13710
13711 * image.el (imagemagick-enabled-types): Rename from
13712 imagemagick-types-enable. Add many more types.
13713 (imagemagick-types-inhibit): Change default to nil.
13714 (imagemagick-filter-types): Caller changed.
13715
13716 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13717
13718 * emacs-lisp/cl-macs.el: Use backquotes.
13719 (cl-transform-function-property): Use eval-and-compile rather than
13720 abusing `require'.
13721 (defstruct): Use declare-function instead of with-no-warnings.
13722
13723 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13724 (byte-compile-output-docform): Re-add the print-circle bindings.
13725 (byte-compile-fix-header): Use #$ just because it's shorter.
13726 (byte-compile-output-file-form): Remove defun/defmacro.
13727
13728 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13729
13730 * simple.el (choose-completion): Remove now obsolete binding for
13731 owindow.
13732
13733 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13734
13735 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13736 in order to avoid "Stack overflow in regexp matcher".
13737
13738 2012-05-31 Glenn Morris <rgm@gnu.org>
13739
13740 * image.el: For clarity, call imagemagick-register-types at
13741 top-level, rather than relying on a custom :initialize.
13742 (imagemagick-types-enable): New option. (Bug#11557)
13743 (imagemagick-filter-types): New function. (Bug#7406)
13744 (imagemagick-register-types): Use imagemagick-filter-types.
13745 If disabling support, remove elements altogether rather
13746 than using an impossible regexp.
13747 (imagemagick-types-inhibit): Give it the default init function.
13748
13749 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13752 Handle arbitrary file name lengths (Bug#11585).
13753
13754 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13755
13756 * desktop.el (desktop-read): Clear previous and next buffers for
13757 all windows and bury *Messages* buffer (bug#11556).
13758
13759 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13760
13761 Add `declare' for `defun'. Align `defmacro's with it.
13762 * emacs-lisp/easy-mmode.el (define-minor-mode)
13763 (define-globalized-minor-mode): Don't autoload the var definitions.
13764 * emacs-lisp/byte-run.el: Use lexical-binding.
13765 (defun-declarations-alist, macro-declarations-alist): New vars.
13766 (defmacro, defun): Use them.
13767 (make-obsolete, define-obsolete-function-alias)
13768 (make-obsolete-variable, define-obsolete-variable-alias):
13769 Use `declare'.
13770 (macro-declaration-function): Mark obsolete.
13771 * emacs-lisp/autoload.el: Use lexical-binding.
13772 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13773
13774 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13775
13776 * textmodes/ispell.el (ispell-with-no-warnings):
13777 Define as a macro.
13778 (ispell-kill-ispell, ispell-change-dictionary):
13779 Use `called-interactively-p' for Emacs instead of obsolete
13780 `interactive-p'.
13781
13782 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13785 (macro-declaration-function): Move var from C code.
13786 (macro-declaration-function): Define function with defalias.
13787 * emacs-lisp/macroexp.el (macroexpand-all-1):
13788 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13789 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13790 defun/defmacro any more.
13791 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13792 Provide fallback for unknown arglist.
13793 (byte-compile-arglist-warn): Change calling convention.
13794 (byte-compile-output-file-form): Move print-vars binding.
13795 (byte-compile-output-docform): Simplify accordingly.
13796 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13797 (byte-compile-defmacro-declaration): Remove.
13798 (byte-compile-file-form-defmumble): Generalize to defalias.
13799 (byte-compile-output-as-comment): Return byte-positions.
13800 Simplify callers accordingly.
13801 (byte-compile-lambda): Use `assert'.
13802 (byte-compile-defun, byte-compile-defmacro): Remove.
13803 (byte-compile-file-form-defalias):
13804 Use byte-compile-file-form-defmumble.
13805 (byte-compile-defalias-warn): Remove.
13806
13807 2012-05-29 Stefan Merten <smerten@oekonux.de>
13808
13809 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13810 possible. Fix authors. Improve comments. Improve loading of `cl'.
13811
13812 (rst-mode-abbrev-table): Merge definition.
13813 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13814 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13815
13816 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13817
13818 * calendar/icalendar.el
13819 (icalendar-export-region): Export UID properly.
13820
13821 2012-05-29 Leo Liu <sdl.web@gmail.com>
13822 * calendar/icalendar.el (icalendar-import-format):
13823 Add `icalendar-import-format-uid' (Bug#11525).
13824 (icalendar-import-format-uid): New.
13825 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13826 Export UID.
13827
13828 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13829
13830 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13831 different alternative patterns.
13832 (pcase-codegen): Be more careful to preserve identity.
13833 (pcase--u1): Don't forget to mark vars as used.
13834
13835 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13836 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13837 (byte-compile-from-buffer): ...rather than here.
13838
13839 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13840 functions from byte-compile-function-environment.
13841
13842 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13843
13844 * window.el (window-deletable-p): Avoid deleting the root window
13845 of a frame with an active minibuffer.
13846
13847 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13848
13849 * simple.el (choose-completion): Use quit-window (Bug#11567).
13850
13851 2012-05-29 Chong Yidong <cyd@gnu.org>
13852
13853 * whitespace.el (whitespace-cleanup): Fix usage of
13854 whitespace-empty-at-bob-regexp (Bug#11492).
13855
13856 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13857
13858 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13859 revert (Bug#11488).
13860
13861 2012-05-29 Juri Linkov <juri@jurta.org>
13862
13863 * isearch.el (isearch-mode-map): Bind `M-s _' to
13864 `isearch-toggle-symbol'. Bind `M-s c' to
13865 `isearch-toggle-case-fold'.
13866 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13867 (isearch-forward): Add `M-s _' to the docstring.
13868 (isearch-forward-symbol, isearch-toggle-case-fold)
13869 (isearch-symbol-regexp): New functions. (Bug#11381)
13870
13871 2012-05-29 Juri Linkov <juri@jurta.org>
13872
13873 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13874 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13875 a function, call it to get the regexp.
13876 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13877 property `isearch-message-prefix' instead of the string "word ".
13878 (isearch-search-fun-default): For the case of `isearch-word',
13879 return a lambda that calls re-search-forward/re-search-backward
13880 with a regexp returned by `word-search-regexp' or by the function
13881 in `isearch-word'.
13882
13883 2012-05-29 Juri Linkov <juri@jurta.org>
13884
13885 * isearch.el (isearch-search-fun-default): New function.
13886 (isearch-search-fun): Move default part to the new function
13887 `isearch-search-fun-default'.
13888 (isearch-search-fun-function): Set the default value to
13889 `isearch-search-fun-default'. (Bug#11381)
13890
13891 * comint.el (comint-history-isearch-end):
13892 Use `isearch-search-fun-default'.
13893 (comint-history-isearch-search): Use `isearch-search-fun-default'
13894 and remove spacial case for `isearch-word'.
13895 (comint-history-isearch-wrap): Remove spacial case for
13896 `isearch-word'.
13897
13898 * hexl.el (hexl-isearch-search-function):
13899 Use `isearch-search-fun-default'.
13900
13901 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13902 Use `word-search-regexp' for `isearch-word'.
13903
13904 * misearch.el (multi-isearch-search-fun):
13905 Use `isearch-search-fun-default'.
13906
13907 * simple.el (minibuffer-history-isearch-search):
13908 Use `isearch-search-fun-default' and remove spacial case for
13909 `isearch-word'.
13910 (minibuffer-history-isearch-wrap): Remove spacial case for
13911 `isearch-word'.
13912
13913 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13914 Remove spacial case for `isearch-word'.
13915 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13916
13917 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13918
13919 Decrease XEmacs incompatibilities.
13920 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13921 Use `string-match'.
13922 (flyspell-delete-region-overlays): Use alternative definition for
13923 XEmacs.
13924 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13925 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13926 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13927 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13928 `define-obsolete-face-alias' under XEmacs, but old method.
13929
13930 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13931 `with-no-warnings' definition or Emacs alias.
13932 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13933 (ispell-word): Do not use `region-p' if XEmacs.
13934
13935 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13936
13937 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13938 Check for `ispell-dictionary-base-alist' instead of full
13939 `ispell-dictionary-alist'.
13940 (ispell-init-process): Show spellchecker when starting new Ispell
13941 process.
13942
13943 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13944
13945 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13946 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13947
13948 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13949
13950 * version.el (motif-version-string, gtk-version-string)
13951 (ns-version-string): Declare.
13952
13953 2012-05-27 Juri Linkov <juri@jurta.org>
13954
13955 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13956 after the `eval-defun-1' specialcaseing
13957 like in `edebug-eval-defun' (bug#10181).
13958
13959 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13960 like in `eval-defun-1'.
13961
13962 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13963
13964 * mail/sendmail.el (mail-yank-region):
13965 Recognize rmail-yank-current-message in addition to insert-buffer.
13966 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13967 a *mail* buffer created through rmail-start-mail with sendmail as
13968 mail-user-agent.
13969
13970 2012-05-27 Chong Yidong <cyd@gnu.org>
13971
13972 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13973 Default to 256 (Bug#11267).
13974
13975 * help.el (describe-mode): Doc fix.
13976
13977 2012-05-26 Glenn Morris <rgm@gnu.org>
13978
13979 * w32-fns.el (w32-init-info): Remove.
13980 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13981
13982 * info.el (info-initialize): For self-contained NS builds, put the
13983 included info/ directory at the front. (Bug#2791)
13984
13985 * paths.el (Info-default-directory-list): Make it a defcustom,
13986 mainly so that we can use custom-initialize-delay.
13987
13988 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * subr.el (buffer-has-markers-at): Mark obsolete.
13991
13992 * subr.el (lambda): Use declare.
13993
13994 * emacs-lisp/lisp-mode.el (lambda):
13995 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13996
13997 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13998
13999 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14000
14001 2012-05-26 Glenn Morris <rgm@gnu.org>
14002
14003 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14004
14005 2012-05-25 Glenn Morris <rgm@gnu.org>
14006
14007 * paths.el: Remove no-byte-compile.
14008 * loadup.el: No need to load paths.el uncompiled.
14009
14010 * image.el (imagemagick-types-inhibit): Doc fix.
14011
14012 * version.el: Remove no-byte-compile and associated formatting.
14013 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14014 is ancient code from when there was an "inc-vers.el".
14015
14016 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14017
14018 * progmodes/gdb-mi.el: Minor style changes.
14019 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14020 Turn into minor modes.
14021 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14022 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14023 (gdb-shell): Remove unneeded let-binding.
14024 (gdb-get-many-fields): Eliminate O(n²) behavior.
14025
14026 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14027
14028 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14029 platforms that don't link in fontset.c.
14030
14031 2012-05-25 Juri Linkov <juri@jurta.org>
14032
14033 Use the same diff color scheme as in modern VCSes (bug#10181).
14034
14035 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14036 to avoid confusion with `diff-added' that now uses green colors.
14037 (diff-removed): Use shades of red.
14038 (diff-added): Use shades of green.
14039 (diff-changed): Leave just the yellow color.
14040 (diff-use-changed-face): New variable.
14041 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14042 how to highlight context diff changes.
14043 (diff-refine-change): Use shades of yellow.
14044 (diff-refine-removed): New face that uses shades of red.
14045 (diff-refine-added): New face that uses shades of green.
14046 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14047 `diff-refine-removed' in the call to `smerge-refine-subst'
14048 depending on the value of `diff-use-changed-face'.
14049
14050 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14051 (smerge-other): Use shades of green.
14052 (smerge-base): Use shades of yellow.
14053 (smerge-refined-change): Empty face.
14054 (smerge-refined-removed): New face that uses shades of red.
14055 (smerge-refined-added): New face that uses shades of green.
14056 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14057 args `props-r' and `props-a', and use them. Doc fix.
14058 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14059 on its value use different faces `smerge-refined-change',
14060 `smerge-refined-removed', `smerge-refined-added' in the call to
14061 `smerge-refine-subst'.
14062
14063 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14064 Add face condition `min-colors 88' with shades of red.
14065 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14066 `min-colors 88' with shades of green.
14067 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14068 `min-colors 88' with shades of yellow.
14069
14070 2012-05-24 Glenn Morris <rgm@gnu.org>
14071
14072 * paths.el (prune-directory-list, remote-shell-program): Move to...
14073 * files.el (prune-directory-list, remote-shell-program): ...here.
14074 For the latter, delay initialization, prefer ssh, just search PATH.
14075
14076 * paths.el (term-file-prefix): Move to faces.el (the only user).
14077 * faces.el (term-file-prefix): Move here, make it a defcustom.
14078
14079 * paths.el (news-directory, news-path, news-inews-program):
14080 Move to gnus/nnspool.el.
14081
14082 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14083
14084 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14085 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14086 Make the latter a defcustom, with a delayed initialization.
14087
14088 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14089 These were deleted from Gnus itself late 2010.
14090
14091 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14092
14093 * progmodes/which-func.el (which-func-ff-hook):
14094 Check against user-error, not error.
14095
14096 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14097 cl-specs.el, which no longer exists.
14098
14099 2012-05-22 Glenn Morris <rgm@gnu.org>
14100
14101 * info.el (info-emacs-bug): New command.
14102 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14103 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14104
14105 2012-05-21 Glenn Morris <rgm@gnu.org>
14106
14107 * makefile.w32-in (update-subdirs-SH):
14108 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14109
14110 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14113
14114 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14115 Simplify Maven regexp, and make sure the file can't start with a space
14116 (bug#11517).
14117
14118 2012-05-21 Glenn Morris <rgm@gnu.org>
14119
14120 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14121 Scrap superfluous subshells.
14122
14123 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14126 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14127
14128 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14129
14130 * calc/calc.el (calc-ensure-consistent-units): New variable.
14131
14132 * calc/calc-units.el (math-consistent-units-p)
14133 (math-check-unit-consistency): New functions.
14134 (calc-quick-units, calc-convert-units):
14135 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14136 is non-nil.
14137 (calc-extract-units): Fix typo.
14138
14139 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14140
14141 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14142
14143 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14144 (flyspell-default-deplacement-commands): Don't spell check after
14145 repeated window/frame switches (e.g. triggered by mouse-movement).
14146 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14147 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14148 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14149 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14150 Remove unused vars.
14151 (flyspell-get-casechars, flyspell-get-not-casechars):
14152 Simplify; Don't bother removing a ] just to add it back.
14153 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14154
14155 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14156
14157 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14158 New functions.
14159 (math-function-table): Add support for more C functions.
14160
14161 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14162
14163 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14164 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14165 Protect delay handling for otherchars against empty otherchars.
14166
14167 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14170 their respective macro declarations.
14171 * skeleton.el (define-skeleton):
14172 * progmodes/compile.el (define-compilation-mode):
14173 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14174 (define-ibuffer-filter):
14175 * emacs-lisp/generic.el (define-generic-mode):
14176 * emacs-lisp/easy-mmode.el (define-minor-mode)
14177 (define-globalized-minor-mode):
14178 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14179 * emacs-lisp/byte-run.el (defsubst):
14180 * custom.el (deftheme): Add doc-string metadata.
14181
14182 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14183
14184 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14185
14186 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14189
14190 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14191 * emacs-lisp/cl-macs.el: Idem.
14192 * emacs-lisp/cl-specs.el: Remove.
14193
14194 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14195
14196 Minor renaming of internal CL functions and variables.
14197 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14198 (cl--position): Rename from cl-position.
14199 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14200 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14201 (cl--random-state): Rename from *random-state*.
14202
14203 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14206 parens around the arg list (bug#11499).
14207
14208 2012-05-17 Juri Linkov <juri@jurta.org>
14209
14210 * isearch.el (word-search-regexp, word-search-backward)
14211 (word-search-forward, word-search-backward-lax)
14212 (word-search-forward-lax): Move functions from search.c
14213 (bug#10145, bug#11381).
14214
14215 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14216
14217 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14218 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14219 Delay for otherchars as for normal word components.
14220
14221 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14222
14223 * minibuffer.el (completion--sifn-requote): Fix last change.
14224 (minibuffer-local-must-match-filename-map):
14225 Move define-obsolete-variable-alias before its var.
14226
14227 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14228
14229 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14230
14231 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14232 behavior.
14233 (completion--string-equal-p): New function.
14234 (completion--twq-all): Use it to get better assertion failure data.
14235
14236 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14237 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14238 (shell--requote-argument): New functions.
14239 (shell-completion-vars): Use them.
14240 (shell--parse-pcomplete-arguments): Rename from
14241 shell-parse-pcomplete-arguments.
14242 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14243 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14244 Obey comint-file-name-quote-list.
14245
14246 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14247 (smie-indent-keyword): Use it.
14248
14249 2012-05-14 Stefan Merten <smerten@oekonux.de>
14250
14251 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14252
14253 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14254
14255 * net/rlogin.el (rlogin-mode-map): Fix last change.
14256
14257 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14258
14259 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14260 the following \r\n using a single `process-send-string', since the
14261 Lotus SMTP server refuses to accept any commands if they are sent
14262 with two `process-send-string's (Bug#11444).
14263
14264 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 * shell.el (shell-parse-pcomplete-arguments):
14267 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14268
14269 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14270
14271 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14272 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14273 (image-transform-width, image-transform-fit-width): New functions.
14274 (image-transform-properties): Use them.
14275 (image-transform-check-size): New function.
14276 (image-toggle-display-image): Use it (for testing).
14277 (image-transform-set-rotation): Reduce angle mod 360.
14278 Delete obsolete comment.
14279
14280 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14281
14282 * image-mode.el: Fix scaling (bug#11399).
14283 (image-transform-resize): Doc fix.
14284 (image-transform-properties): Default scale is 1 and height should
14285 be an integer.
14286
14287 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14288
14289 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14290 than hard-coding `car', to fix misbehavior when moving forward.
14291
14292 2012-05-13 Chong Yidong <cyd@gnu.org>
14293
14294 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14295 (tabulated-list-entries, tabulated-list-padding)
14296 (tabulated-list-sort-key): Make permanent-local.
14297
14298 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14299 (electric-buffer-list): Put electric buffer menu
14300 command descriptions in this docstring, instead of the docstring
14301 of electric-buffer-menu-mode. Code cleanups.
14302 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14303 Electric-buffer-menu-mode.
14304 (electric-buffer-update-highlight): Minor code cleanup.
14305
14306 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14307
14308 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14309 (Bug#11447)
14310
14311 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 Move define-obsolete-variable-alias before the var's definition.
14314 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14315 * tooltip.el (tooltip-hook):
14316 * textmodes/reftex-toc.el (reftex-toc-map):
14317 * textmodes/reftex-sel.el (reftex-select-label-map)
14318 (reftex-select-bib-map):
14319 * textmodes/reftex-index.el (reftex-index-map)
14320 (reftex-index-phrases-map):
14321 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14322 * progmodes/meta-mode.el (meta-mode-map):
14323 * novice.el (disabled-command-hook):
14324 * loadhist.el (unload-hook-features-list):
14325 * frame.el (blink-cursor):
14326 * files.el (find-file-not-found-hooks, write-file-hooks)
14327 (write-contents-hooks):
14328 * emulation/tpu-edt.el (GOLD-map):
14329 * emacs-lock.el (emacs-lock-from-exiting):
14330 * emacs-lisp/generic.el (generic-font-lock-defaults):
14331 * emacs-lisp/chart.el (chart-map):
14332 * dos-fns.el (register-name-alist):
14333 * dired-x.el (dired-omit-files-p):
14334 * desktop.el (desktop-enable):
14335 * cus-edit.el (custom-mode-hook):
14336 * buff-menu.el (buffer-menu-mode-hook):
14337 * bookmark.el (bookmark-read-annotation-text-func)
14338 (bookmark-exit-hooks):
14339 * allout.el (allout-mode-deactivate-hook)
14340 (allout-exposure-change-hook, allout-structure-added-hook)
14341 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14342 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14343 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14344 comes before the corresponding variable's definition.
14345
14346 2012-05-12 Chong Yidong <cyd@gnu.org>
14347
14348 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14349 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14350 (Buffer-menu-mode-map): Bind it.
14351 (Buffer-menu--pretty-name): Add a mouse-face property.
14352
14353 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14356 (prolog-upper-case-string, prolog-lower-case-string)
14357 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14358 (prolog-use-smie, prolog-smie-grammar): New vars.
14359 (prolog-smie-forward-token, prolog-smie-backward-token)
14360 (prolog-smie-rules): New funs.
14361 (prolog-comment-indent): Remove.
14362 (prolog-mode-variables): Use default comment indentation instead.
14363 Setup SMIE.
14364 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14365 (prolog-mode): Don't call them any more.
14366 (prolog-electric-colon, prolog-electric-dash)
14367 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14368
14369 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14370
14371 * minibuffer.el (completion--twq-all): Again, allow case differences.
14372
14373 * term.el: Move keymap initialization code to be more idiomatic.
14374 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14375 (term-terminal-menu): Move initialization into declaration.
14376 (term-escape-char): Let the user set it in her .emacs.
14377
14378 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14379 Provide SMIE-based indentation (not enabled by default yet).
14380 (sh-mode-map): Don't bind electric keys.
14381 Use electric-pair-mode instead of skeleton-pair.
14382 (sh-assignment-regexp): Fit within 80 columns.
14383 (sh-indent-supported): Specify actual shell name instead of boolean.
14384 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14385 (sh-maybe-here-document): Use it. Make obsolete.
14386 (sh-electric-here-document-mode) New minor mode.
14387 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14388 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14389 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14390 (sh-smie-rc-grammar, sh-use-smie): New vars.
14391 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14392 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14393 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14394 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14395 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14396 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14397 (sh-set-shell): Use smie-setup if requested.
14398
14399 * term.el (term-set-escape-char): Properly set term-escape-char.
14400 See http://stackoverflow.com/questions/10524656.
14401
14402 2012-05-10 Chong Yidong <cyd@gnu.org>
14403
14404 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14405 Use url-generic-parse-url, and handle host names and Windows
14406 filenames properly.
14407 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14408 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14409 URL schemes to work on.
14410 (ffap--toggle-read-only): New function.
14411 (ffap-read-only, ffap-read-only-other-window)
14412 (ffap-read-only-other-frame): Use it.
14413 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14414 necessary for ffap-url-unwrap-remote.
14415
14416 2012-05-10 Dave Abrahams <dave@boostpro.com>
14417
14418 * cus-start.el (create-lockfiles): Add it.
14419
14420 2012-05-09 Chong Yidong <cyd@gnu.org>
14421
14422 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14423 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14424
14425 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14426
14427 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14428
14429 2012-05-09 Chong Yidong <cyd@gnu.org>
14430
14431 * ansi-color.el (ansi-color-process-output): Check for validity of
14432 comint-last-output-start before using it. This avoids a bad
14433 interaction with gdb-mi's input/output buffer.
14434
14435 2012-05-09 Glenn Morris <rgm@gnu.org>
14436
14437 * files.el (dir-locals-read-from-file):
14438 Mention dir-locals in any error message.
14439
14440 2012-05-09 Chong Yidong <cyd@gnu.org>
14441
14442 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14443 package (Bug#11410).
14444
14445 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14446 variables into description.
14447
14448 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14449
14450 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14451 shell-delimiter-argument-list (bug#11348).
14452 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14453
14454 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14455
14456 * textmodes/rst.el: Silence byte-compiler warnings.
14457 (rst-re-alist, rst-reset-section-caches): Move around.
14458 (rst-re): Use `characterp', not `char-valid-p'.
14459 (font-lock-beg, font-lock-end): Declare.
14460
14461 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14462 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14463
14464 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14465
14466 2012-05-08 Glenn Morris <rgm@gnu.org>
14467
14468 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14469
14470 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14471
14472 * vc/log-edit.el: Add GNU coding standards highlighting.
14473 (log-edit-font-lock-gnu-style)
14474 (log-edit-font-lock-gnu-keywords): New vars.
14475 (log-edit-font-lock-keywords): New fun.
14476 (log-edit-mode): Don't fold case in font-lock.
14477 (log-edit-font-lock-keywords): Do not assume case-folding.
14478
14479 * imenu.el: Misc cleanup. Make docstrings out of comments.
14480 Use lexical-binding.
14481 (imenu--index-alist, imenu--last-menubar-index-alist)
14482 (imenu-menubar-modified-tick): Use defvar-local.
14483 (imenu--split-menu): Remove unused var.
14484 (imenu--cleanup-seen): Declare as global.
14485 (imenu--cleanup): Use dolist.
14486
14487 * subr.el (defvar-local): Add debug spec and doc-string position.
14488
14489 2012-05-08 Glenn Morris <rgm@gnu.org>
14490
14491 * language/burmese.el, language/cham.el, language/czech.el:
14492 * language/english.el, language/georgian.el, language/greek.el:
14493 * language/japanese.el, language/khmer.el, language/korean.el:
14494 * language/lao.el, language/misc-lang.el, language/romanian.el:
14495 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14496 * language/thai.el, language/utf-8-lang.el:
14497 Remove no-byte-compile setting.
14498
14499 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14500
14501 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14502
14503 * progmodes/make-mode.el (makefile-browse):
14504 Remove unnecessary interactive. (Bug#11324)
14505
14506 2012-05-07 Glenn Morris <rgm@gnu.org>
14507
14508 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14509
14510 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14511
14512 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14513
14514 * loadup.el: Preload newcomment.el.
14515 * newcomment.el: Move autoload-only code to toplevel.
14516
14517 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14518 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14519 Handle new :right-align column property.
14520 (tabulated-list-print-col): Idem, plus use `display' text-property to
14521 try and preserve alignment for variable pitch fonts.
14522
14523 2012-05-07 Chong Yidong <cyd@gnu.org>
14524
14525 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14526 (tabulated-list-use-header-line): New var.
14527 (tabulated-list-init-header): Use it.
14528 (tabulated-list-print-fake-header): New function.
14529 (tabulated-list-print): Use it.
14530 (tabulated-list-sort-button-map): Add non-header-line commands.
14531 (tabulated-list-init-header): Add column name property to basic
14532 labels as well.
14533 (tabulated-list-col-sort): Handle non-header-line button case.
14534 (tabulated-list--sort-by-column-name): Fix a corner case.
14535
14536 * buff-menu.el (list-buffers--refresh):
14537 Handle Buffer-menu-use-header-line.
14538
14539 2012-05-06 Chong Yidong <cyd@gnu.org>
14540
14541 * buff-menu.el: Convert to Tabulated List mode.
14542 (Buffer-menu-buffer+size-width): Make obsolete.
14543 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14544 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14545 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14546 documentation into docstring of buffer-menu.
14547 (Buffer-menu-toggle-files-only): Add an informative message.
14548 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14549 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14550 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14551 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14552 (Buffer-menu-execute, Buffer-menu-select)
14553 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14554 (Buffer-menu-bury): Use Tabulated List machinery.
14555 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14556 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14557 Delete.
14558 (list-buffers--refresh): New function.
14559 (list-buffers-noselect): Use it.
14560 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14561 (Buffer-menu--pretty-file-name): New helper functions.
14562
14563 * loadup.el: Preload tabulated-list.
14564
14565 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14566 tabulated-list-sort-column.
14567 (tabulated-list-init-header): Add the initial aligning space even
14568 if tabulated-list-padding is zero.
14569
14570 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14571
14572 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14573 whose cdr is not a cons cell correctly (bug#11038).
14574
14575 2012-05-06 Chong Yidong <cyd@gnu.org>
14576
14577 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14578 Accept additional plist in column descriptors.
14579 (tabulated-list-init-header): Obey it.
14580 (tabulated-list-get-entry): New function.
14581 (tabulated-list-put-tag): Use it. Use string-width instead of
14582 length.
14583 (tabulated-list--column-number): New function.
14584 (tabulated-list-print): Use it.
14585 (tabulated-list-print-col): New function.
14586 Set `tabulated-list-column-name' property on each column's text.
14587 (tabulated-list-print-entry): Use it.
14588 (tabulated-list-delete-entry, tabulated-list-set-col):
14589 New functions.
14590 (tabulated-list-sort-column): New command (Bug#11337).
14591
14592 * buff-menu.el (list-buffers): Move C-x C-b binding from
14593 buff-menu.el to bindings.el.
14594
14595 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14596 :advertised-binding feature.
14597
14598 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14599
14600 * progmodes/compile.el (compilation-internal-error-properties):
14601 Calculate start position correctly when end-col is set but
14602 end-line is not (Bug#11382).
14603
14604 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14605
14606 * man.el (Man-unindent): Use text-property-default-nonsticky to
14607 prevent untabify from inheriting face properties (Bug#11408).
14608
14609 2012-05-05 Stefan Merten <smerten@oekonux.de>
14610
14611 * textmodes/rst.el: Major merge with upstream development up to
14612 Docutils SVN r7399 / rst.el V1.2.1.
14613
14614 Clarify maintainership and authors.
14615
14616 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14617 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14618 (rst-official-version, rst-official-cvs-rev, rst-version)
14619 (rst-package-emacs-version-alist): New functions and variables
14620 for version information.
14621
14622 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14623 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14624 (rst-mode-syntax-table, rst-mode): New and corrected functions
14625 and variables representing reStructuredText features.
14626
14627 (rst-re): New function for reStructuredText regexes. Use in
14628 many places.
14629
14630 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14631 (rst-mode-map): Rebind keys.
14632
14633 (rst-mode-lazy, rst-font-lock-keywords)
14634 (rst-font-lock-extend-region)
14635 (rst-font-lock-extend-region-internal)
14636 (rst-font-lock-extend-region-extend)
14637 (rst-font-lock-find-unindented-line-limit)
14638 (rst-font-lock-find-unindented-line-match)
14639 (rst-adornment-level, rst-font-lock-adornment-level)
14640 (rst-font-lock-adornment-match)
14641 (rst-font-lock-handle-adornment-pre-match-form)
14642 (rst-font-lock-handle-adornment-matcher): Major revision of
14643 font-locking. Integrate with other code. Use `jit-lock-mode'.
14644
14645 (rst-preferred-adornments, rst-adjust-hook)
14646 (rst-new-adornment-down, rst-preferred-bullets)
14647 (rst-preferred-bullets, rst-indent, rst-indent-width)
14648 (rst-indent-field, rst-indent-literal-normal)
14649 (rst-indent-literal-minimized, rst-indent-comment): Change,
14650 extend and improve customization.
14651
14652 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14653 (rst-normalize-cursor-position, rst-get-decoration)
14654 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14655 (rst-rstrip, rst-toc-insert-find-delete-contents)
14656 (rst-shift-fill-region, rst-compute-bullet-tabs)
14657 (rst-debug-print-tabs, rst-debug-mark-found)
14658 (rst-shift-region-guts, rst-shift-region-right)
14659 (rst-shift-region-left, rst-use-char-classes)
14660 (rst-font-lock-keywords-function)
14661 (rst-font-lock-indentation-point)
14662 (rst-font-lock-find-unindented-line-begin)
14663 (rst-font-lock-find-unindented-line-end)
14664 (rst-font-lock-find-unindented-line)
14665 (rst-font-lock-adornment-point, rst-font-lock-level)
14666 (rst-adornment-level-alist): Remove functions and variables.
14667
14668 (rst-compare-adornments, rst-get-adornment-match)
14669 (rst-suggest-new-adornment, rst-get-adornments-around)
14670 (rst-adornment-complete-p, rst-get-next-adornment)
14671 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14672 (rst-straighten-adornments): Standardize function names to
14673 use "adornment" instead of "decoration". Correct callers.
14674 Similar standardizing in many places.
14675
14676 (rst-update-section, rst-adjust, rst-promote-region)
14677 (rst-enumerate-region, rst-bullet-list-region)
14678 (rst-repeat-last-character): Correct use of `interactive'.
14679
14680 (rst-classify-adornment, rst-find-all-adornments)
14681 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14682 (rst-find-leftmost-column, rst-repeat-last-character):
14683 Refactor functions.
14684
14685 (rst-find-title-line, rst-reset-section-caches)
14686 (rst-get-adornments-around, rst-adjust-adornment-work)
14687 (rst-arabic-to-roman, rst-roman-to-arabic)
14688 (rst-insert-list-pos, rst-insert-list-new-item)
14689 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14690 New functions.
14691
14692 (rst-all-sections, rst-section-hierarchy)
14693 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14694 New variables.
14695
14696 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14697 configuration instead of only buffer. Change where necessary.
14698
14699 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14700 (rst-shift-region, rst-adaptive-fill): New functions for
14701 indentation and filling.
14702
14703 (rst-comment-line-break, rst-comment-indent)
14704 (rst-comment-insert-comment, rst-comment-region)
14705 (rst-uncomment-region): New functions for handling comments.
14706
14707 (rst-compile): Quote shell arguments.
14708
14709 (rst-compile-pdf-preview, rst-compile-slides-preview):
14710 Delete temporary files after use.
14711
14712 2012-05-05 Glenn Morris <rgm@gnu.org>
14713
14714 * calendar/cal-html.el: Optionally include holidays in the output.
14715 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14716 (cal-html-holidays): New option.
14717 (cal-html-css-default): Add holiday entry.
14718 (holiday-in-range): Autoload it.
14719 (cal-html-htmlify-entry): Add optional class argument.
14720 (cal-html-htmlify-list): Add optional holidays argument.
14721 (cal-html-insert-agenda-days): Include holidays in the output.
14722 (cal-html-one-month): Maybe include holidays.
14723
14724 * calendar/holidays.el (holiday-in-range):
14725 Move here from cal-tex-list-holidays.
14726 * calendar/cal-tex.el (cal-tex-list-holidays):
14727 Make it an obsolete alias for holiday-in-range. Update all callers.
14728
14729 2012-05-05 Chong Yidong <cyd@gnu.org>
14730
14731 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14732 Nextstep.
14733
14734 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14735
14736 * files.el (file-auto-mode-skip): New var.
14737 (set-auto-mode-1): Use it.
14738
14739 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 * repeat.el: Use lexical-binding.
14742 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14743 (repeat-undo-count): Remove.
14744 (repeat):
14745 * progmodes/octave-mod.el (octave-abbrev-start):
14746 * progmodes/f90.el (f90-abbrev-start):
14747 * face-remap.el (text-scale-adjust):
14748 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14749
14750 * emacs-lisp/pcase.el (pcase--let*): New function.
14751 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14752 a bit more.
14753 (pcase--split-pred): Be more clever about ruling out overlap between
14754 a predicate and some constant pattern.
14755 (pcase--q1): Use `null' instead of (eq foo nil).
14756
14757 * subr.el (setq-local, defvar-local): New macros.
14758 (kbd): Redefine as an alias.
14759 (with-selected-window): Leave unrelated frames alone.
14760 (set-temporary-overlay-map): New function.
14761
14762 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14763
14764 * subr.el (user-error): New function.
14765 * window.el (switch-to-buffer):
14766 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14767 (smerge-match-conflict):
14768 * simple.el (previous-matching-history-element)
14769 (next-matching-history-element, goto-history-element, undo-more)
14770 (undo-start):
14771 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14772 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14773 (next-file, tags-loop-scan, list-tags, complete-tag):
14774 * progmodes/compile.el (compilation-loop):
14775 * mouse.el (mouse-minibuffer-check):
14776 * man.el (Man-bgproc-sentinel, Man-goto-page):
14777 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14778 (Info-history-forward, Info-follow-reference, Info-menu)
14779 (Info-extract-menu-item, Info-extract-menu-counting)
14780 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14781 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14782 (Info-next-reference, Info-prev-reference, Info-index)
14783 (Info-index-next, Info-follow-nearest-node)
14784 (Info-copy-current-node-name):
14785 * imenu.el (imenu--make-index-alist)
14786 (imenu-default-create-index-function, imenu-add-to-menubar):
14787 * files.el (basic-save-buffer, recover-file):
14788 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14789 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14790 (checkdoc-message-text, checkdoc-defun):
14791 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14792 * cus-edit.el (customize-changed-options, customize-rogue)
14793 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14794 (custom-variable-mark-to-reset-standard)
14795 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14796 (custom-file):
14797 * completion.el (check-completion-length):
14798 * comint.el (comint-search-arg)
14799 (comint-previous-matching-input-string-position)
14800 (comint-previous-matching-input)
14801 (comint-replace-by-expanded-history-before-point, comint-send-input)
14802 (comint-copy-old-input, comint-backward-matching-input)
14803 (comint-goto-process-mark, comint-set-process-mark):
14804 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14805 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14806
14807 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * dabbrev.el (dabbrev--ignore-case-p): New function.
14810 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14811 Use it.
14812
14813 * files.el (automount-dir-prefix): Mark as obsolete.
14814
14815 2012-05-04 Glenn Morris <rgm@gnu.org>
14816
14817 * patcomp.el, play/bruce.el: Move to obsolete/.
14818
14819 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14820
14821 Fix minor Y10k bugs.
14822 * arc-mode.el (archive-unixdate):
14823 * autoinsert.el (auto-insert-alist):
14824 * calc/calc-forms.el (math-this-year):
14825 * emacs-lisp/copyright.el (copyright-current-year)
14826 (copyright-update-year, copyright):
14827 * tar-mode.el (tar-clip-time-string):
14828 * time.el (display-time-update):
14829 Don't assume years have 4 digits.
14830
14831 2012-05-04 Chong Yidong <cyd@gnu.org>
14832
14833 * dos-w32.el (file-name-buffer-file-type-alist)
14834 (direct-print-region-use-command-dot-com):
14835 * ffap.el (ffap-menu-regexp):
14836 * find-file.el (ff-special-constructs):
14837 * follow.el (follow-debug):
14838 * forms.el (forms--debug):
14839 * iswitchb.el (iswitchb-all-frames):
14840 * ido.el (ido-all-frames):
14841 * emacs-lisp/timer.el (timer-max-repeats):
14842 * mail/feedmail.el (feedmail-mail-send-hook)
14843 (feedmail-mail-send-hook-queued):
14844 * mail/footnote.el (footnote-signature-separator):
14845 * mail/mailabbrev.el (mail-alias-separator-string)
14846 (mail-abbrev-mode-regexp):
14847 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14848 * progmodes/idlwave.el (idlwave-libinfo-file)
14849 (idlwave-default-completion-case-is-down)
14850 (idlwave-library-routines): Convert defvars to defcustoms.
14851
14852 * mail/rmail.el (rmail-decode-mime-charset):
14853 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14854 (idlwave-shell-fix-inserted-breaks)
14855 (idlwave-shell-activate-alt-keybindings)
14856 (idlwave-shell-use-breakpoint-glyph):
14857 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14858
14859 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14862
14863 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14864
14865 * progmodes/verilog-mode.el (font-lock-keywords):
14866 Fix mis-highligting auto. Reported by Craig Barner.
14867 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14868 defines from global name space. Reported by Dan Dever.
14869 (verilog-auto-reset, verilog-auto-reset-widths)
14870 (verilog-auto-tieoff): Support using unbased numbers for
14871 AUTORESET and AUTOTIEOFF.
14872 (verilog-submit-bug-report): Update variable list.
14873 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14874 parenthesis from not matching. Reported by Michael Rytting.
14875 (verilog-auto-template-lint): Fix hash error when linting modules
14876 with no used templates.
14877 (verilog-warn, verilog-warn-error)
14878 (verilog-warn-fatal): When non-interactive report multiple
14879 warnings before exiting. Suggested by Brad Dobbie.
14880 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14881 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14882 to report unused template errors. Reported by Brad Dobbie.
14883 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14884 nets, bug438. Reported by Vns Blore.
14885 (verilog-auto-inout-module, verilog-auto-reg)
14886 (verilog-read-decls, verilog-read-sub-decls-sig)
14887 (verilog-signals-edit-wire-reg, verilog-signals-with):
14888 Fix passing of Verilog data types in ANSI input/output ports
14889 such as "output logic" into the AUTOs. Special case "wire" and
14890 "reg" for backwards compatibility presuming Verilog 2001.
14891 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14892 (verilog-preprocess): Fix replication of preprocess output.
14893 Reported by Brad Dobbie.
14894 (verilog-auto-inst-interfaced-ports):
14895 Create verilog-auto-inst-interfaced-ports, bug429.
14896 Reported by Julian Gorfajn.
14897 (verilog-after-save-font-hook)
14898 (verilog-before-save-font-hook): New variable.
14899 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14900 (verilog-save-font-mods): Wrap disabling fontification, reported
14901 by David Rogoff.
14902 (verilog-do-indent, verilog-pretty-declarations-auto)
14903 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14904 Reported by Pierre-David Pfister.
14905 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14906 of class declarations, bug292. Reported by Kevin Heilman.
14907 (verilog-read-decls): Fix 'parameter type' not appearing in
14908 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14909 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14910 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14911 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14912 Reported by David Kravitz.
14913
14914 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14915
14916 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14917 assignment with tests in ifs and for loops.
14918 (verilog-extended-complete-re, verilog-complete-reg): Change so
14919 that DPI inport functions don't look like fuction declarations.
14920 (verilog-pretty-expr): Don't line up assignment
14921 operations to the test and increment in if and for loops
14922 (verilog-extended-complete-re, verilog-complete-reg): Change so
14923 that DPI inport functions don't look like fuction declarations.
14924
14925 2012-05-03 Kenichi Handa <handa@m17n.org>
14926
14927 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14928 decoding, and show a warning message without signaling an error
14929 (Bug#11282).
14930
14931 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14932
14933 * emacs-lisp/bytecomp.el
14934 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14935 since cconv.el might have introduced :fun-body, internal-make-closure,
14936 and friends for bytecomp to handle (bug#11391).
14937 * custom.el (defcustom): Avoid ((λ ..) ..).
14938
14939 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14942
14943 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14944
14945 * notifications.el (dbus-debug):
14946 * term/linux.el (gpm-mouse-enable):
14947 * term/screen.el (xterm-register-default-colors): Declare.
14948
14949 2012-05-02 Chong Yidong <cyd@gnu.org>
14950
14951 * cus-start.el (gc-cons-percentage, exec-suffixes)
14952 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14953 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14954 (make-cursor-line-fully-visible, void-text-area-pointer)
14955 (font-list-limit): Add customization data.
14956
14957 * allout.el (allout-exposure-change-functions)
14958 (allout-structure-added-functions)
14959 (allout-structure-deleted-functions)
14960 (allout-structure-shifted-functions): Rename abnormal hooks from
14961 *-hook, and convert to defcustoms.
14962 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14963 Convert to defcustoms.
14964 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14965
14966 * allout-widgets.el: Hook callers changed.
14967
14968 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14969
14970 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14971 the yanked message in preference to the default value of
14972 buffer-file-coding-system.
14973
14974 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14975
14976 * window.el (display-buffer--action-function-custom-type):
14977 Fix entry.
14978
14979 2012-05-02 Alan Mackenzie <acm@muc.de>
14980
14981 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14982
14983 2012-05-01 Glenn Morris <rgm@gnu.org>
14984
14985 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14986
14987 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14988
14989 * cus-edit.el (custom-variable-documentation): Simplify with format.
14990
14991 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14992 Stefan Monnier <monnier@iro.umontreal.ca>
14993
14994 * simple.el (suggest-key-bindings, execute-extended-command):
14995 Move from keyboard.c.
14996
14997 2012-05-01 Chong Yidong <cyd@gnu.org>
14998
14999 * follow.el: Eliminate advice.
15000 (set-process-filter, process-filter, sit-for): Advice deleted.
15001 (follow-mode-off-hook): Obsolete hook removed.
15002 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15003 Vars deleted.
15004 (follow-auto): Use a :set function.
15005 (follow-mode): Rewritten. Don't advise process filters.
15006 (follow-switch-to-current-buffer-all, follow-scroll-up)
15007 (follow-scroll-down): Assume follow-mode is bound.
15008 (follow-comint-scroll-to-bottom)
15009 (follow-align-compilation-windows): New functions.
15010 (follow--window-sorter): New function.
15011 (follow-all-followers): Use it to explicitly sort windows by their
15012 positions; don't make assumptions about next-window order.
15013 (follow-windows-start-end, follow-delete-other-windows-and-split)
15014 (follow-calc-win-start): Doc fix.
15015 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15016 vertical-motion unnecessarily.
15017 (follow-adjust-window): New function.
15018 (follow-post-command-hook): Use it.
15019 (follow-call-set-process-filter, follow-call-process-filter)
15020 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15021 (follow-stop-intercept-process-output, follow-generic-filter):
15022 Functions deleted.
15023 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15024 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15025 New functions, replacing advice on scroll-bar-* commands.
15026 (follow-mwheel-scroll): New function (Bug#4112).
15027
15028 * comint.el (comint-adjust-point): New function.
15029 (comint-postoutput-scroll-to-bottom): Use it.
15030 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15031
15032 2012-05-01 Glenn Morris <rgm@gnu.org>
15033
15034 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15035 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15036 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15037 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15038 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15039 Remove no-byte-compile setting.
15040
15041 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15042
15043 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15044 all-completions code to not return a number in the last cdr.
15045
15046 2012-04-30 Leo Liu <sdl.web@gmail.com>
15047
15048 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15049 read-only error.
15050
15051 2012-04-29 Chong Yidong <cyd@gnu.org>
15052
15053 * follow.el (follow-calc-win-end): Rewrite to handle partial
15054 screen lines correctly (Bug#8390).
15055 (follow-avoid-tail-recenter): Minor cleanup.
15056
15057 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15058
15059 Avoid the obsolete `assoc' package.
15060 * speedbar.el (speedbar-refresh): Avoid adelete.
15061 (speedbar-file-lists): Simplify and avoid aput.
15062 * man.el (Man--sections, Man--refpages): New vars, replacing
15063 Man-sections-alist and Man-refpages-alist.
15064 (Man-build-section-alist, Man-build-references-alist):
15065 Use them; avoid aput.
15066 (Man--last-section, Man--last-refpage): New vars.
15067 (Man-follow-manual-reference): Use them.
15068 Use the `default' arg of completing-read.
15069 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15070
15071 2012-04-27 Chong Yidong <cyd@gnu.org>
15072
15073 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15074
15075 * startup.el (x-apply-session-resources): New function.
15076
15077 * term/ns-win.el (ns-initialize-window-system):
15078 * term/w32-win.el (w32-initialize-window-system):
15079 * term/x-win.el (x-initialize-window-system): Use it to properly
15080 set menu-bar-mode and other vars from X resources, even if the
15081 initial frame is not a window-system frame (Bug#2299).
15082
15083 * subr.el (read-key): Avoid running filter function when setting
15084 up temporary tool bar entries (Bug#9922).
15085
15086 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15087
15088 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15089 (Bug#11344)
15090
15091 2012-04-27 Chong Yidong <cyd@gnu.org>
15092
15093 * select.el (xselect--encode-string): New function, split from
15094 xselect-convert-to-string.
15095 (xselect-convert-to-string): Use it.
15096 (xselect-convert-to-filename, xselect-convert-to-os)
15097 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15098 returned strings are properly encoded (Bug#11315).
15099
15100 2012-04-27 Chong Yidong <cyd@gnu.org>
15101
15102 * simple.el (delete-active-region): Move to killing custom group.
15103
15104 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15105
15106 * progmodes/which-func.el (which-func-current): Quote %
15107 characters for mode-line processing.
15108
15109 2012-04-27 Chong Yidong <cyd@gnu.org>
15110
15111 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15112 reaching eob (Bug#11286).
15113
15114 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15115
15116 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15117 (gdb): Make it buffer-local and init to zero.
15118 (gdb-control-commands-regexp): New variable.
15119 (gdb-send): Don't wrap in "-interpreter-exec console" if
15120 gdb-control-level is positive. Increment gdb-control-level
15121 whenever the command matches gdb-control-commands-regexp, and
15122 decrement it each time the command is "end". (Bug#11279)
15123
15124 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15125
15126 * window.el (adjust-window-trailing-edge, enlarge-window)
15127 (shrink-window, window-resize):
15128 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15129 windows (Bug#11276).
15130
15131 2012-04-27 Chong Yidong <cyd@gnu.org>
15132
15133 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15134 fix "missing prefix" warning. All callers changed.
15135
15136 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * emacs-lisp/assoc.el: Move to obsolete/.
15139
15140 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15141
15142 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15143
15144 * term/ns-win.el (ns-define-service):
15145 * progmodes/pascal.el (pascal-goto-defun):
15146 * progmodes/js.el (js--read-tab):
15147 * progmodes/etags.el (tags-lazy-completion-table):
15148 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15149 * emacs-lisp/ewoc.el (ewoc--wrap):
15150 * emacs-lisp/assoc.el (aput, adelete, amake):
15151 * doc-view.el (doc-view-convert-current-doc):
15152 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15153
15154 2012-04-26 Chong Yidong <cyd@gnu.org>
15155
15156 * image.el (image-type-from-buffer): Only return supported image
15157 type (Bug#9045).
15158
15159 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15160 value, for symmetry with diff-end-of-hunk.
15161 (diff-split-hunk, diff-find-source-location)
15162 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15163 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15164 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15165 compute the relevant hunk or file properly (Bug#6005).
15166 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15167
15168 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15169
15170 * vc/vc-mtn.el:
15171 * vc/vc-hg.el:
15172 * vc/vc-git.el:
15173 * vc/vc-dir.el:
15174 * vc/vc-cvs.el:
15175 * vc/vc-bzr.el:
15176 * vc/vc-arch.el:
15177 * vc/vc.el: Replace lexical-let by lexical-binding.
15178 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15179 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15180 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15181
15182 2012-04-26 Chong Yidong <cyd@gnu.org>
15183
15184 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15185 (diff-mode-shared-map): Bind it to / and [remap undo].
15186
15187 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15188 (ediff-window-setup-function): Use it as the default, to set up
15189 windows based on whether the current frame is graphical (Bug#2138).
15190 (ediff-choose-window-setup-function-automatically): Make obsolete.
15191
15192 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15193
15194 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15195
15196 * ffap.el: Remove old code for obsolete package.
15197 (ffap-complete-as-file-p): Remove.
15198
15199 Use completion-table-with-quoting for comint and pcomplete.
15200 * comint.el (comint--unquote&requote-argument)
15201 (comint--unquote-argument, comint--requote-argument): New functions.
15202 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15203 (comint-quote-filename): Use regexp-opt-charset.
15204 (comint--common-suffix, comint--common-quoted-suffix)
15205 (comint--table-subvert): Remove.
15206 (comint-unquote-function, comint-requote-function): New vars.
15207 (comint--complete-file-name-data): Use them with
15208 completion-table-with-quoting.
15209 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15210 * pcomplete.el (pcomplete-arg-quote-list)
15211 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15212 (pcomplete-unquote-argument-function): Default to non-nil.
15213 (pcomplete-unquote-argument): Simplify.
15214 (pcomplete--common-quoted-suffix): Remove.
15215 (pcomplete-requote-argument-function): New var.
15216 (pcomplete--common-suffix): New function.
15217 (pcomplete-completions-at-point): Use completion-table-with-quoting
15218 and completion-table-subvert.
15219
15220 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15221 (minibuffer--double-dollars): Preserve properties.
15222 (completion--sifn-requote): New function.
15223 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15224
15225 * minibuffer.el: Add support for completion of quoted/escaped data.
15226 (completion-table-with-quoting, completion-table-subvert): New funs.
15227 (completion--twq-try, completion--twq-all): New functions.
15228 (completion--nth-completion): New function.
15229 (completion-try-completion, completion-all-completions): Use it.
15230
15231 2012-04-25 Leo Liu <sdl.web@gmail.com>
15232
15233 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15234 Use compilation-message if available to find real filename.
15235
15236 2012-04-25 Chong Yidong <cyd@gnu.org>
15237
15238 * vc/diff-mode.el (diff-setup-whitespace): New function.
15239 (diff-mode): Use it.
15240
15241 * vc/diff.el (diff-sentinel):
15242 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15243 Whitespace mode variables based on diff style (Bug#8612).
15244
15245 2012-04-25 Leo Liu <sdl.web@gmail.com>
15246
15247 * progmodes/python.el (python-send-region): Add suffix .py to the
15248 temp file.
15249
15250 * files.el (auto-mode-alist): Use javascript-mode instead.
15251
15252 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15253
15254 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15255
15256 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15257 (soap-resolve-references-for-array-type): Hack to prevent self
15258 references, see Bug#9.
15259 (soap-parse-envelope): Report the contents of the 'detail' node
15260 when receiving a fault reply.
15261 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15262
15263 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15264 (soap-inspect-simple-type): New function.
15265
15266 * net/soap-client.el (soap-simple-type): New struct.
15267 (soap-default-xsd-types, soap-default-soapenc-types)
15268 (soap-decode-basic-type, soap-encode-basic-type):
15269 support unsignedInt and double basic types.
15270 (soap-resolve-references-for-simple-type)
15271 (soap-parse-simple-type, soap-encode-simple-type): New function.
15272 (soap-parse-schema): Parse xsd:simpleType declarations.
15273
15274 * net/soap-client.el (soap-default-xsd-types)
15275 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15276 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15277 the local name of "soapenc:Array".
15278 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15279 decoding integer, byte and anyURI xsd types.
15280
15281 2012-04-25 Chong Yidong <cyd@gnu.org>
15282
15283 * cus-edit.el (custom-buffer-create-internal): Update header text.
15284
15285 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15286
15287 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15288 settings on 'system-type', not on 'window-system'. On MS-Windows,
15289 set interactive-mode on in GDB.
15290
15291 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15292
15293 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15294 (ruby-syntax-propertize-regexp): Remove.
15295 (ruby-syntax-propertize-function): Split regexp into chunks.
15296 Match following code directly.
15297
15298 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15299
15300 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15301 (ruby-syntax-propertize-regexp): New function.
15302 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15303 by a special keyword.
15304
15305 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15306 (ruby-syntax-general-delimiters-goto-beg)
15307 (ruby-syntax-propertize-general-delimiters): New functions.
15308 (ruby-syntax-propertize-function): Use them to handle GDL.
15309 (ruby-font-lock-keywords): Move old handling of GDL...
15310 (ruby-font-lock-syntactic-keywords): .. to here.
15311 (ruby-calculate-indent): Adjust indentation for GDL.
15312
15313 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15314
15315 * notifications.el (top): Remove unneeded declarations.
15316 (notifications-specification-version): Change to "1.2".
15317 (notifications-interface, notifications-notify-method)
15318 (notifications-close-notification-method): Fix docstring.
15319 (notifications-get-capabilities-method): New defconst.
15320 (notifications-notify): Add :action-items, :resident and
15321 :transient hints. Change "image_data" to "image-data" and
15322 "image_path" to "image-path".
15323 (notifications-get-capabilities): New defun.
15324
15325 2012-04-24 Leo Liu <sdl.web@gmail.com>
15326
15327 * progmodes/python.el: Move hideshow setup to the end.
15328
15329 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15330
15331 * window.el (handle-select-window): Clear echo area since this is
15332 no more done by read_char (Bug#11304).
15333
15334 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15335
15336 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15337 and `/ M' to filter-derived-mode.
15338 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15339 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15340 (ibuffer-mark-by-mode): Use default rather than initial-input.
15341 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15342
15343 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15344
15345 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15346 (ibuffer-filter-by-derived-mode): New filter.
15347 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15348
15349 2012-04-23 Andreas Politz <politza@fh-trier.de>
15350
15351 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15352
15353 2012-04-23 Chong Yidong <cyd@gnu.org>
15354
15355 * cus-edit.el (customize-apropos, customize-apropos-options):
15356 Disable matching of non-option variables (Bug#11176).
15357 (customize-option, customize-option-other-window)
15358 (customize-changed-options): Doc fix.
15359 (customize-apropos-options, customize-apropos-faces)
15360 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15361
15362 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15363 Fix word list splitting (Bug#11132).
15364 (apropos-symbol, apropos-keybinding, apropos-label)
15365 (apropos-property, apropos-function-button)
15366 (apropos-variable-button, apropos-misc-button): New faces.
15367 (apropos-symbol-face, apropos-keybinding-face)
15368 (apropos-label-face, apropos-property-face, apropos-match-face):
15369 Variables removed (Bug#8396).
15370 (apropos-library-button, apropos-format-plist, apropos-print)
15371 (apropos-print-doc, apropos-describe-plist): Callers changed.
15372
15373 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15374
15375 * net/xesam.el (xesam-mode-map): Use let-bound map in
15376 initialization. (Bug#11292)
15377
15378 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15379
15380 Preserve ispell session localwords when switching back to
15381 original buffer.
15382
15383 * textmodes/ispell.el (ispell-buffer-session-localwords):
15384 New buffer-local variable to hold buffer session localwords.
15385 (ispell-kill-ispell): Add option 'clear to delete session
15386 localwords.
15387 (ispell-command-loop, ispell-change-dictionary)
15388 (ispell-buffer-local-words): Preserve session localwords when
15389 needed.
15390
15391 * textmodes/flyspell.el (flyspell-process-localwords)
15392 (flyspell-do-correct): Preserve session localwords when needed.
15393
15394 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15395
15396 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15397 using obsolete `translation-table-for-input'.
15398 (ispell-word, ispell-process-line, ispell-complete-word):
15399 Use plain `insert' instead of removed `ispell-insert-word'.
15400
15401 2012-04-22 Chong Yidong <cyd@gnu.org>
15402
15403 * cus-edit.el (custom-variable-menu)
15404 (custom-variable-reset-saved, custom-face-menu)
15405 (custom-face-reset-saved): If there is no saved value, make the
15406 "reset-saved" operation bring back the default (Bug#9509).
15407 (custom-face-state): Properly detect themed faces.
15408
15409 * faces.el (face-spec-set): Stop supporting deprecated form of
15410 third arg.
15411
15412 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15413
15414 Move functions from C to Lisp. Make non-blocking method calls
15415 the default. Implement further D-Bus standard interfaces.
15416
15417 * net/dbus.el (dbus-message-internal): Declare function.
15418 Remove unneeded function declarations.
15419 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15420 (dbus-message-type-method-return, dbus-message-type-error)
15421 (dbus-message-type-signal): Declare variables. Remove local
15422 definitions.
15423 (dbus-interface-dbus, dbus-interface-peer)
15424 (dbus-interface-introspectable, dbus-interface-properties)
15425 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15426 Adapt docstring.
15427 (dbus-interface-objectmanager): New defconst.
15428 (dbus-call-method, dbus-call-method-asynchronously)
15429 (dbus-send-signal, dbus-method-return-internal)
15430 (dbus-method-error-internal, dbus-register-service)
15431 (dbus-register-signal, dbus-register-method): New defuns, moved
15432 from dbusbind.c
15433 (dbus-call-method-handler, dbus-setenv)
15434 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15435 New defuns.
15436 (dbus-call-method-non-blocking): Make it an obsolete function.
15437 (dbus-unregister-object, dbus-unregister-service)
15438 (dbus-handle-event, dbus-register-property)
15439 (dbus-property-handler): Obey the new structure of
15440 `bus-registered-objects'.
15441 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15442 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15443 Use `dbus-call-method'.
15444
15445 2012-04-22 Chong Yidong <cyd@gnu.org>
15446
15447 * cus-edit.el (custom-commands, custom-reset-menu)
15448 (Custom-reset-standard): Tweak labels.
15449 (custom-reset-button-menu): Change default to t.
15450 (custom-buffer-create-internal): For the custom-reset-button-menu
15451 case, put the revert button first.
15452 (custom-group-subtitle): New face.
15453 (custom-group-value-create): Align docstring to a specific column.
15454
15455 * wid-edit.el (widget-documentation-link-add): Don't handle
15456 indentation in this function.
15457 (widget-documentation-string-indent-to): New function.
15458 (widget-documentation-string-value-create): Use it.
15459
15460 * autorevert.el (auto-revert):
15461 * epg-config.el (epg):
15462 * ibuffer.el (ibuffer):
15463 * mpc.el (mpc):
15464 * ses.el (ses):
15465 * eshell/eshell.el (eshell):
15466 * net/ange-ftp.el (ange-ftp):
15467 * progmodes/ebnf2ps.el (postscript):
15468 * progmodes/flymake.el (flymake):
15469 * progmodes/prolog.el (prolog):
15470 * progmodes/verilog-mode.el (verilog-mode):
15471 * progmodes/which-func.el (which-func):
15472 * term/xterm.el (xterm):
15473 * textmodes/picture.el (picture):
15474 * textmodes/tildify.el (tildify):
15475 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15476 customization buffers.
15477
15478 2012-04-22 Alan Mackenzie <acm@muc.de>
15479
15480 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15481 Adding a ) can hide the resulting (..) from searches. Fix it.
15482 Bound the backward search to the position of the existing (.
15483
15484 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15485
15486 * progmodes/verilog-mode.el (verilog-mode): Check whether
15487 which-func-modes is t before adding verilog-mode.
15488 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15489
15490 2012-04-21 Leo Liu <sdl.web@gmail.com>
15491
15492 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15493
15494 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15495
15496 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15497 filling of the last column of a table (Bug#5635).
15498 (woman-find-next-control-line): New arg, specifying an additional
15499 regexp component for the control line.
15500 (woman2-roff-buffer): Use it.
15501 (woman-break-table): New function.
15502 (woman2-TS): Use it.
15503
15504 2012-04-21 Chong Yidong <cyd@gnu.org>
15505
15506 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15507 (woman-horizontal-escapes, woman-negative-vertical-space)
15508 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15509 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15510
15511 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15512
15513 * minibuffer.el (completion-file-name-table): Complete user names.
15514
15515 2012-04-20 Leo Liu <sdl.web@gmail.com>
15516
15517 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15518 and pcase-let*.
15519
15520 2012-04-20 Chong Yidong <cyd@gnu.org>
15521
15522 * server.el (server-execute): Respect initial-buffer-choice if it
15523 is a string and there are no files to open (Bug#2825).
15524 (server-create-window-system-frame, server-create-tty-frame):
15525 Don't switch buffers here.
15526 (server-process-filter): Only try to open a window system frame if
15527 compiled with graphical support (Bug#8314).
15528
15529 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15530
15531 * battery.el (battery-echo-area-format): Display remaining time
15532 for sysfs backend too (Bug#11269).
15533 (battery-linux-sysfs): Fix conditional for the charge.
15534
15535 2012-04-20 Chong Yidong <cyd@gnu.org>
15536
15537 * progmodes/gdb-mi.el (gdb): Revert previous change.
15538 (gdb-inferior-io--init-proc): New function.
15539 (gdb-init-1): Use it.
15540 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15541 responsible for allocating a new pty and hooking it to gdb when
15542 the old pty gets an EIO due to process exit.
15543 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15544 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15545 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15546
15547 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15548
15549 * window.el (window-min-size, window-sizable, window-min-delta)
15550 (window-max-delta, window--resizable, window-resizable)
15551 (window-total-size, window-full-height-p, window-full-width-p)
15552 (window-in-direction, window--resize-mini-window, window-resize)
15553 (window--resize-child-windows-normal)
15554 (window--resize-child-windows, window--resize-siblings)
15555 (window--resize-this-window, adjust-window-trailing-edge)
15556 (enlarge-window, shrink-window): Doc fixes.
15557
15558 2012-04-20 Chong Yidong <cyd@gnu.org>
15559
15560 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15561 New function to call delete-process on the gdb-inferior buffer's pty.
15562 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15563 pty process (Bug#11273).
15564 (gdb-update): New arg to suppress talking to the gdb process.
15565 (gdb-done-or-error): Use it.
15566 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15567 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15568 sentinel not being called.
15569
15570 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15571
15572 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15573
15574 2012-04-20 Glenn Morris <rgm@gnu.org>
15575
15576 * net/network-stream.el (open-network-stream): Doc fix.
15577
15578 2012-04-20 Chong Yidong <cyd@gnu.org>
15579
15580 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15581
15582 2012-04-20 Alan Mackenzie <acm@muc.de>
15583
15584 Ensure searching for keywords is case sensitive.
15585
15586 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15587 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15588 (c-defun-name, c-mark-function, c-cpp-define-name)
15589 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15590 (c-context-line-break): Bind case-fold-search to nil.
15591
15592 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15593 Bind case-fold-search to nil.
15594
15595 2012-04-20 Chong Yidong <cyd@gnu.org>
15596
15597 * mail/sendmail.el (mail-bury): Call return action with the right
15598 Rmail buffer (Bug#11242).
15599
15600 * server.el (server-process-filter): Handle corner case where both
15601 tty and nowait options are present (Bug#11102).
15602
15603 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15604
15605 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15606 (top level): Put into the executable the ident-style '$Id:' tag on
15607 windows-nt as well.
15608
15609 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15610
15611 * electric.el (electric-indent-post-self-insert-function): Check that
15612 electric-indent-mode is enabled in current buffer.
15613
15614 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15615
15616 * imenu.el (imenu-progress-message): Restore; it is "used" in
15617 erc/erc-imenu.el and net/snmp-mode.el.
15618
15619 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15622 (mouse-avoidance-nudge-mouse): Remove unused binding.
15623
15624 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15625
15626 * descr-text.el (describe-char):
15627 * progmodes/python.el (python-describe-symbol):
15628 Don't call `toggle-read-only', set `buffer-read-only'.
15629
15630 * imenu.el (imenu-default-goto-function): Mark unused args.
15631 (imenu-progress-message): Remove obsolete macro; all callers changed.
15632
15633 * subr.el (keymap-canonicalize): Remove unused binding.
15634 (read-passwd): Mark unused arg.
15635
15636 * tutorial.el (tutorial--display-changes): Remove unused binding.
15637 (tutorial--save-tutorial-to): Remove unused variable.
15638
15639 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15640 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15641 (package-generate-autoloads, package-menu--generate)
15642 (package-menu--find-upgrades): Remove unused bindings.
15643
15644 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15645 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15646 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15647 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15648 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15649 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15650 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15651 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15652 (cua-delete-char-rectangle): Mark unused args.
15653 (cua-align-rectangle): Remove unused binding.
15654
15655 * mail/rmail.el (compilation--message->loc)
15656 (epa--find-coding-system-for-mime-charset): Declare.
15657
15658 * net/dbus.el (dbus-register-service): Declare.
15659 (dbus-name-owner-changed-handler): Remove unused binding.
15660
15661 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15662 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15663 (nxml-scan-backward-within): Mark unused arg.
15664 (nxml-dynamic-markup-word): Remove unused binding.
15665
15666 * mouse.el (mouse-menu-major-mode-map):
15667 * emacs-lisp/authors.el (authors-scan-change-log)
15668 (authors-add-to-author-list):
15669 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15670 * emacs-lisp/smie.el (smie-auto-fill):
15671 * mail/sendmail.el (mail-bury):
15672 * mail/unrmail.el (unrmail):
15673 * net/tls.el (open-tls-stream):
15674 * textmodes/picture.el (picture-mouse-set-point):
15675 Remove unused bindings.
15676
15677 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15678
15679 * net/tramp.el (tramp-action-password): Let-bind
15680 `enable-recursive-minibuffers' to t.
15681
15682 2012-04-18 Sam Steingold <sds@gnu.org>
15683
15684 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15685 instead of 'string to accommodate values like [f11].
15686 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15687 * progmodes/gdb-mi.el: Likewise.
15688
15689 2012-04-18 Leo Liu <sdl.web@gmail.com>
15690
15691 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15692 current buffer.
15693 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15694 LOCAL is nil.
15695
15696 2012-04-18 Chong Yidong <cyd@gnu.org>
15697
15698 * simple.el (line-move): Use forward-line if in batch mode
15699 (Bug#11053).
15700
15701 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15702
15703 * files.el (after-find-file): Do not try to add a final newline if
15704 the buffer is read-only (Bug#11156).
15705
15706 2012-04-17 Richard Stallman <rms@gnu.org>
15707
15708 * mail/rmail.el (rmail-start-mail):
15709 Pass (rmail-mail-return...) for the return-action.
15710 Pass (rmail-yank-current-message...) for the yank-action.
15711 (rmail-yank-current-message): New function.
15712 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15713 (rmail-reply): Likewise.
15714 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15715
15716 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15717 buffer, not the last. Reject temp buffers. Use the rmail-mode
15718 buffer, not newbuf.
15719
15720 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15721
15722 * server.el (server-ensure-safe-dir): Simplify.
15723
15724 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * emacs-lisp/smie.el: Provide smarter auto-filling.
15727 (smie-auto-fill): New function.
15728 (smie-setup): Use it.
15729
15730 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15731
15732 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15733
15734 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15735 (comment-indent): Use it.
15736
15737 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15738
15739 * ses.el: The overall change is to add cell renaming, that is
15740 setting fancy names for cell symbols other than name matching
15741 "\\`[A-Z]+[0-9]+\\'" regexp .
15742 (ses-localvars): Add ses--renamed-cell-symb-list.
15743 (ses-create-cell-variable): New defun.
15744 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15745 (ses-relocate-formula): Relocate formulas only for cells the
15746 symbols of which are not renamed, i.e. symbols whose names do not
15747 match regexp "\\`[A-Z]+[0-9]+\\'".
15748 (ses-relocate-all): Relocate values only for cells the symbols of
15749 which are not renamed.
15750 (ses-load): Create cells variables as the (ses-cell ...) are read,
15751 in order to check row col consistency with cell symbol name only
15752 for cells that are not renamed.
15753 (ses-replace-name-in-formula): New defun.
15754 (ses-rename-cell): New defun.
15755
15756 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15757
15758 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15759 New option (bug#11118).
15760 (perl-calculate-indent): Respect it.
15761
15762 2012-04-17 Glenn Morris <rgm@gnu.org>
15763
15764 * dired-aux.el (dired-mark-read-string): Doc fix.
15765
15766 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15767
15768 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15769 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15770
15771 2012-04-17 Glenn Morris <rgm@gnu.org>
15772
15773 * mouse.el (mouse-drag-track):
15774 * speedbar.el (speedbar-frame-mode):
15775 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15776
15777 2012-04-16 Leo Liu <sdl.web@gmail.com>
15778
15779 * progmodes/python.el: Trivial cleanup.
15780
15781 2012-04-16 Glenn Morris <rgm@gnu.org>
15782
15783 * vc/vc.el (vc-string-prefix-p):
15784 * vc/pcvs-util.el (cvs-string-prefix-p):
15785 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15786 * mpc.el (mpc-string-prefix-p):
15787 Make all of these into obsolete aliases for string-prefix-p.
15788 Update callers.
15789 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15790
15791 * textmodes/two-column.el: Move custom options to the start.
15792 (frame-width): Remove compat definition.
15793 (2C-associate-buffer, 2C-dissociate):
15794 Use with-current-buffer rather than save-excursion.
15795 (2C-dissociate): Force a mode-line update.
15796 (2C-autoscroll): Use ignore-errors.
15797
15798 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15799 Autoload trivia.
15800
15801 * emacs-lisp/cl-extra.el (*random-state*):
15802 Remove unnecessary declaration.
15803
15804 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15805
15806 * play/cookie1.el (cookie-snarf):
15807 Give an explicit error if input file cannot be read.
15808
15809 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15810
15811 * progmodes/perl-mode.el (c-macro-expand):
15812 Remove unnecessary autoload (it is in loaddefs.el).
15813
15814 * textmodes/picture.el (picture-desired-column)
15815 (picture-update-desired-column): Convert comments to doc-strings.
15816 (picture-substitute): Remove function.
15817 (picture-mode-map): Initialize in the defvar.
15818
15819 * woman.el: Remove eval-after-load for tar-mode.
15820 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15821 (woman-tar-extract-file): Autoload it.
15822
15823 * frame.el (automatic-hscrolling): Make this alias obsolete.
15824
15825 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15826
15827 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15828 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15829 (ispell-dictionary-base-alist): Revert to original XEmacs
15830 friendly version for default. [:alpha:] will be added in
15831 `ispell-set-spellchecker-params' if needed.
15832
15833 2012-04-16 Chong Yidong <cyd@gnu.org>
15834
15835 * image.el (imagemagick--file-regexp): New variable.
15836 (imagemagick-register-types): Use it.
15837 (imagemagick-types-inhibit): Add :set function. Allow new value
15838 of t to inhibit all types.
15839
15840 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15841 so we can preload it.
15842
15843 * loadup.el (fboundp): Preload regexp-opt, needed by
15844 imagemagick-register-types.
15845
15846 2012-04-15 Chong Yidong <cyd@gnu.org>
15847
15848 * frame.el (scrolling): Remove nearly unused customization group.
15849
15850 * scroll-all.el (scroll-all-mode): Move to windows group.
15851
15852 2012-04-15 Chong Yidong <cyd@gnu.org>
15853
15854 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15855
15856 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15857
15858 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15859 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15860
15861 2012-04-15 Glenn Morris <rgm@gnu.org>
15862
15863 * simple.el (process-file-side-effects): Doc fix.
15864
15865 2012-04-15 Glenn Morris <rgm@gnu.org>
15866
15867 * international/mule-cmds.el (set-language-environment): Doc fix.
15868
15869 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15870
15871 * server.el (server-auth-key, server-generate-key): Doc fixes.
15872 (server-get-auth-key): Doc fix. Use `string-match-p'.
15873 (server-start): Reflow docstring.
15874
15875 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15876
15877 * server.el (server-generate-key): `called-interactively-p'
15878 requires a parameter.
15879
15880 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15881
15882 * server.el (server-auth-key): New variable.
15883 (server-generate-key, server-get-auth-key): New function.
15884 (server-start): Use the new variable and functions to allow
15885 setting a permanent server key (bug#9423).
15886
15887 2012-04-14 Leo Liu <sdl.web@gmail.com>
15888
15889 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15890
15891 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15892
15893 Spelling fixes.
15894 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15895 Emacs uses American spelling.
15896
15897 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15898
15899 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15900 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15901 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15902 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15903
15904 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15905
15906 * progmodes/which-func.el (which-func-modes): Change default.
15907
15908 2012-04-14 Kim F. Storm <storm@cua.dk>
15909
15910 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15911 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15912
15913 2012-04-14 Chong Yidong <cyd@gnu.org>
15914
15915 * custom.el (custom-theme-set-variables): Doc fix.
15916
15917 2012-04-14 Glenn Morris <rgm@gnu.org>
15918
15919 * international/mule.el (set-auto-coding-for-load): Doc fix.
15920
15921 2012-04-14 Alan Mackenzie <acm@muc.de>
15922
15923 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15924 imenu work again for Objective C Mode. Correct the *-index values,
15925 these having been disturbed by a previous change in 2011-08.
15926
15927 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15928 Correct two search limits.
15929
15930 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15933
15934 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15935
15936 * international/characters.el: Fix sorting.
15937
15938 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15939
15940 * international/characters.el: Add more missing Latin case pairs.
15941
15942 2012-04-14 Glenn Morris <rgm@gnu.org>
15943
15944 * files.el (dir-locals-set-class-variables): Doc fix.
15945
15946 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15947
15948 * international/characters.el: Add set-case-syntax-pair call for
15949 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15950 counterpart. (Bug#11209)
15951
15952 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15953
15954 2012-04-14 Glenn Morris <rgm@gnu.org>
15955
15956 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15957
15958 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15959
15960 * textmodes/ispell.el (ispell-dictionary-base-alist):
15961 Add data for Hebrew.
15962
15963 2012-04-14 Chong Yidong <cyd@gnu.org>
15964
15965 * net/rcirc.el (rcirc-cmd-quit):
15966 Revert 2012-03-18 change (Bug#11192).
15967
15968 2012-04-14 Glenn Morris <rgm@gnu.org>
15969
15970 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15971
15972 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15973
15974 * minibuffer.el (completion-in-region-mode-map):
15975 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15976
15977 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15978
15979 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15980
15981 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15982
15983 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15984 to allow `C-M-f' and `C-M-b' to move to the nearest path
15985 separator (bug#9511).
15986
15987 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15988
15989 * avoid.el: Require cl when compiling. And also move the
15990 `provide' to the end.
15991
15992 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15993
15994 * avoid.el (mouse-avoidance-banish-position): New variable.
15995 (mouse-avoidance-banish-destination): Use it (bug#10165).
15996
15997 2012-04-13 Leo Liu <sdl.web@gmail.com>
15998
15999 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16000
16001 2012-04-13 Ken Brown <kbrown@cornell.edu>
16002
16003 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16004 this is no longer needed now that cygstart understands file:// URLs.
16005 (browse-url-filename-alist): For the same reason, don't modify
16006 file:// URLs on Cygwin.
16007
16008 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16011 the region on shift if the binding is already shifted (bug#11221).
16012
16013 2012-04-12 Glenn Morris <rgm@gnu.org>
16014
16015 * mail/mailpost.el: Move to obsolete/.
16016
16017 2012-04-12 Drew Adams <drew.adams@oracle.com>
16018
16019 * imenu.el (imenu--generic-function): Ignore invisible definitions
16020 (bug#10123).
16021
16022 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16023
16024 * hexl.el (hexl-bits): New variable.
16025 (hexl-options): Mention the variable in the doc string.
16026 (hexl-rulerise, hexl-line-displen): New functions.
16027 (hexl-mode): Mention the new variable.
16028 (hexl-mode, hexl-current-address, hexl-current-address):
16029 Use the displen.
16030 (hexl-ascii-start-column): New function.
16031 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16032 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16033
16034 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16035
16036 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16037 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16038 the encoding, as expected by hunspell.
16039
16040 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16041
16042 * battery.el (battery--linux-sysfs-regexp): New const.
16043 (battery-status-function): Use it. Remove yeeloong special case.
16044 (battery-yeeloong-sysfs): Remove.
16045 (battery-echo-area-format): Remove yeeloong special case.
16046
16047 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16048
16049 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16050 Reported by Noah Friedman.
16051
16052 * subr.el (read-passwd): Use read-string.
16053
16054 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16055
16056 * vcursor.el (vcursor-move): Increase the priority of the overlay
16057 (bug#9663).
16058
16059 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16060
16061 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16062 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16063
16064 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16065
16066 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16067 define-minor-mode (bug#10760).
16068
16069 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16070
16071 * progmodes/grep.el (rgrep): Tweak the find command line so
16072 that directories matching `grep-find-ignored-files' won't be
16073 pruned (bug#10351).
16074
16075 2012-04-11 Chong Yidong <cyd@gnu.org>
16076
16077 * startup.el (command-line): Remove support for long-obsolete
16078 variable font-lock-face-attributes.
16079
16080 2012-04-11 Glenn Morris <rgm@gnu.org>
16081
16082 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16083
16084 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16085
16086 * window.el (window--state-get-1): Obey window-point-insertion-type.
16087
16088 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16089
16090 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16091 to previous function when point is on the first character of a
16092 function. Take care of that in `narrow-to-defun' (bug#6157).
16093
16094 2012-04-11 Glenn Morris <rgm@gnu.org>
16095
16096 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16097 not just file-errors.
16098
16099 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16100 (vc-bzr-sha1): Use internal sha1.
16101
16102 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16103
16104 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16105
16106 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16107
16108 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16109 that start in the middle of the line (bug#10496).
16110
16111 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16112
16113 * battery.el (battery-linux-proc-acpi): Only one battery is
16114 discharged at a time, but that seems to confuse battery.el when
16115 computing `rate-type' for the battery not being discharged
16116 (bug#10332).
16117
16118 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16121
16122 * international/quail.el: Use dolist and simplify.
16123 (quail-define-package, quail-update-keyboard-layout)
16124 (quail-define-rules): Use dolist.
16125 (quail-insert-kbd-layout, quail-get-translation): CSE.
16126
16127 * tmm.el: Use dolist, remove left over hook.
16128 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16129 Use dolist.
16130 (calendar-load-hook): Don't mess with it.
16131
16132 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16133 Use derived-mode-p. Run the diff asynchronously.
16134
16135 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16136
16137 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16138
16139 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16140
16141 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16142 (list-dynamic-libraries--loaded): New function.
16143 (list-dynamic-libraries--refresh): Use it.
16144
16145 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16146
16147 * progmodes/python.el (python-fill-paragraph):
16148 Make python-fill-region in a multiline string work when font-lock is
16149 disabled (bug#7018).
16150
16151 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16152
16153 * language/european.el (cp775): Add oem/legacy (en)coding on
16154 DOS/MS Windows for the Baltic languages. There are still plenty
16155 of texts written in this encoding/codepage (bug#6519).
16156
16157 2012-04-10 Glenn Morris <rgm@gnu.org>
16158
16159 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16160 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16161
16162 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16163
16164 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16165 next-line "n" and previous-line "p" in order to make recentf more
16166 consistent with ibuffer, dired or org-mode (bug#9387).
16167
16168 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16169
16170 * image.el (put-image): Return the overlay created instead of the
16171 optional input string (bug#7834). Note that this may break code
16172 that is (for some reason or other) depending on `put-image'
16173 returning the string.
16174
16175 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16176
16177 * simple.el (zap-to-char): Allow zapping using input methods
16178 (bug#1580).
16179
16180 * textmodes/fill.el (fill-region): Leave point and mark where they
16181 were before filling (bug#5399).
16182
16183 2012-04-09 Glenn Morris <rgm@gnu.org>
16184
16185 * version.el (emacs-bzr-get-version):
16186 Handle lightweight checkouts of local branches.
16187
16188 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16189
16190 * international/characters.el: Recover lost case pairs. (Bug#11209)
16191
16192 2012-04-09 Chong Yidong <cyd@gnu.org>
16193
16194 * custom.el (custom-variable-p): Return nil for non-symbol
16195 arguments instead of signaling an error.
16196 (user-variable-p): Obsolete alias for custom-variable-p.
16197
16198 * apropos.el (apropos-variable):
16199 * files-x.el (read-file-local-variable):
16200 * simple.el (set-variable):
16201 * woman.el (woman-mini-help):
16202 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16203
16204 2012-04-09 Glenn Morris <rgm@gnu.org>
16205
16206 * startup.el (normal-top-level): Don't look for leim-list.el
16207 in places where it will not be found. (Bug#910)
16208
16209 * international/mule-cmds.el (set-default-coding-systems):
16210 * files.el (normal-mode):
16211 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16212 This function was removed with ucs-tables.el in 2008.
16213
16214 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16215
16216 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16217 ispell-encoding8-command to "-i", without a trailing space.
16218 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16219 separate command-line arguments, to specify the encoding, since
16220 that's how hunspell expects it.
16221
16222 2012-04-08 Glenn Morris <rgm@gnu.org>
16223
16224 * loadup.el: Load bindings before cus-start.
16225 This reduces somewhat the number of "rogue" settings in emacs -Q.
16226
16227 2012-04-07 Glenn Morris <rgm@gnu.org>
16228
16229 * version.el (emacs-bzr-get-version): New function.
16230 (emacs-bzr-version): New variable.
16231 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16232 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16233
16234 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16235
16236 * international/uni-bidi.el, international/uni-category.el:
16237 * international/uni-combining.el, international/uni-decimal.el:
16238 * international/uni-decomposition.el, international/uni-digit.el:
16239 * international/uni-lowercase.el, international/uni-mirrored.el:
16240 * international/uni-name.el, international/uni-numeric.el:
16241 * international/uni-titlecase.el, international/uni-uppercase.el:
16242 Update for Unicode 6.1.
16243
16244 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16245
16246 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16247
16248 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16249
16250 * window.el (shrink-window): Mention the `window-min-height'
16251 variable in the doc string.
16252
16253 2012-04-05 Bastien Guerry <bzg@altern.org>
16254
16255 * color.el (color-lighten-name): Fix typo.
16256
16257 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * server.el (server--on-display-p): New function.
16260 (server--on-display-p): Use it.
16261
16262 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16263
16264 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16265 (bug#11145).
16266
16267 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16268
16269 * comint.el (comint--common-quoted-suffix): Check string boundary
16270 before comparing (bug#11158).
16271 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16272
16273 2012-04-04 Chong Yidong <cyd@gnu.org>
16274
16275 * minibuffer.el (completion-extra-properties): Doc fix.
16276
16277 * subr.el (delayed-warnings-hook): Doc fix.
16278
16279 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16280
16281 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16282 selection (Bug#11159).
16283 (epa-insert-keys): Inform that the default public key will be
16284 exported if no key is selected.
16285
16286 2012-04-04 Richard Stallman <rms@gnu.org>
16287
16288 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16289
16290 2012-04-03 Chong Yidong <cyd@gnu.org>
16291
16292 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16293 mail-insert-file, not its obsolete alias mail-attach-file.
16294
16295 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16296
16297 * notifications.el (notifications-notify): Fix docstring.
16298
16299 2012-04-02 Glenn Morris <rgm@gnu.org>
16300
16301 * emacs-lisp/authors.el (authors-aliases): Another addition.
16302
16303 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16304
16305 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16306 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16307 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16308
16309 2012-04-01 Chong Yidong <cyd@gnu.org>
16310
16311 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16312 Handle root directory properly.
16313 (copy-directory): Caller changed.
16314
16315 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16316 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16317
16318 2012-03-31 Glenn Morris <rgm@gnu.org>
16319
16320 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16321
16322 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16323
16324 * calendar/calendar.el (calendar-window-list)
16325 (calendar-hide-window): Restore. (Bug#11140)
16326 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16327
16328 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16329
16330 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16331
16332 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16333 Check if file is a symlink (Bug#10489).
16334
16335 * files.el (copy-directory): Likewise.
16336
16337 2012-03-30 Chong Yidong <cyd@gnu.org>
16338
16339 * image.el (imagemagick-types-inhibit)
16340 (imagemagick-register-types): Doc fix.
16341
16342 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16343
16344 * textmodes/ispell.el (ispell-get-extended-character-mode):
16345 Disable extended-char-mode for hunspell. hunspell does not support it
16346 and treats ~word as ordinary words in pipe mode.
16347
16348 2012-03-30 Glenn Morris <rgm@gnu.org>
16349
16350 * tutorial.el (help-with-tutorial): Ensure local variables don't
16351 happen to make the buffer read-only. (Bug#11127)
16352
16353 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16354
16355 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16356 (perl-calculate-indent): Return `noindent' in strings.
16357
16358 2012-03-28 Sam Steingold <sds@gnu.org>
16359
16360 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16361 instead of the broken adhockery which does not prevent calendar
16362 buffers from being displayed at random after exit.
16363 (calendar-window-list, calendar-hide-window): Remove the broken
16364 adhockery.
16365
16366 2012-03-28 Glenn Morris <rgm@gnu.org>
16367
16368 * replace.el (query-replace-map): Doc fix.
16369
16370 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16371
16372 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16373 contents. (Bug#11109)
16374
16375 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16376
16377 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16378 (bug#11077).
16379 (avl-tree--check, avl-tree--check-node): New funs.
16380
16381 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16382
16383 * window.el (switch-to-visible-buffer): New option.
16384 (switch-to-prev-buffer, switch-to-next-buffer):
16385 Observe switch-to-visible-buffer. Make sure that checking for a window
16386 showing a buffer already is done on the same frame.
16387
16388 2012-03-27 Glenn Morris <rgm@gnu.org>
16389
16390 * startup.el (mail-host-address): Doc fix.
16391
16392 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16393
16394 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16395 than 197 variables.
16396
16397 2012-03-26 Ami Fischman <ami@fischman.org>
16398
16399 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16400
16401 2012-03-26 Glenn Morris <rgm@gnu.org>
16402
16403 * files.el (save-buffers-kill-emacs): Doc fix.
16404
16405 * startup.el (normal-top-level, command-line, command-line-1):
16406 Give them doc strings.
16407
16408 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16409
16410 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16411 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16412
16413 2012-03-25 Chong Yidong <cyd@gnu.org>
16414
16415 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16416 theme if it was previously enabled before (Bug#11031).
16417
16418 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16419 spec with custom-face-get-current-spec if its :shown-value is not
16420 determined yet (Bug#9337).
16421 (customize-create-theme, custom-theme-revert): Doc fixes.
16422
16423 * button.el (button-at): Minor addition to docstring.
16424
16425 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16426
16427 * vc/vc.el (vc-merge): Fix a prompt.
16428
16429 2012-03-24 Chong Yidong <cyd@gnu.org>
16430
16431 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16432 point (Bug#9623).
16433
16434 * button.el (button-at): Minor addition to docstring.
16435
16436 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16437
16438 * newcomment.el (comment-choose-indent): No space after BOL.
16439
16440 2012-03-22 Sam Steingold <sds@gnu.org>
16441
16442 * window.el (switch-to-prev-buffer): Revert last patch because the
16443 bug turned out to be an advertised feature (Elisp manual 28.14).
16444
16445 2012-03-22 Glenn Morris <rgm@gnu.org>
16446
16447 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16448 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16449
16450 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16451
16452 * net/network-stream.el (network-stream-open-starttls): Make error
16453 message under Windows be less misleading.
16454
16455 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16456
16457 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16458 understands (bug#9942).
16459
16460 2012-03-22 Chong Yidong <cyd@gnu.org>
16461
16462 * simple.el (end-of-visible-line): Handle return value of
16463 next-single-property-change properly (Bug#9371).
16464
16465 2012-03-22 Kenichi Handa <handa@m17n.org>
16466
16467 * international/quail.el (quail-insert-kbd-layout): Fix previous
16468 change. To avoid unwanted bidi reordering, use
16469 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16470
16471 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16472
16473 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16474 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16475 (ruby-beginning-of-indent): Be more careful with the difference
16476 between word-boundary and symbol boundary.
16477 (ruby-mode-syntax-table): Make : a symbol constituent.
16478
16479 2012-03-21 Andreas Politz <politza@fh-trier.de>
16480
16481 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16482
16483 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16484
16485 * progmodes/etags.el (tags-completion-at-point-function):
16486 Improve last fix.
16487
16488 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16489
16490 2012-03-21 Sam Steingold <sds@gnu.org>
16491
16492 * progmodes/etags.el (tags-completion-at-point-function):
16493 Avoid the error when point is inside the pattern.
16494
16495 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16496
16497 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16498 line (Bug#10855).
16499
16500 2012-03-21 Drew Adams <drew.adams@oracle.com>
16501
16502 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16503
16504 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16505
16506 * ido.el (ido-set-current-directory, ido-read-internal)
16507 (ido-choose-completion-string, ido-completion-help): Handle nil
16508 value of ido-completion-buffer (Bug#11008).
16509
16510 2012-03-21 Sam Steingold <sds@gnu.org>
16511
16512 * window.el (switch-to-prev-buffer): Do not switch to a visible
16513 window previous buffer, just like with the frame previous buffers.
16514
16515 2012-03-21 Chong Yidong <cyd@gnu.org>
16516
16517 * faces.el (make-face, make-empty-face, copy-face):
16518 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16519 Doc fixes.
16520
16521 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16522
16523 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16524 (widget-complete): Remove broken use of it.
16525
16526 2012-03-20 Chong Yidong <cyd@gnu.org>
16527
16528 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16529 Use string-width and truncate-string-width to handle arbitrary
16530 characters.
16531
16532 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16533
16534 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16535 to draw rectangles, not squares. (Regression introduced by revno
16536 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16537
16538 2012-03-18 Chong Yidong <cyd@gnu.org>
16539
16540 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16541 it is not yet defined (for temacs).
16542
16543 2012-03-18 Leo Liu <sdl.web@gmail.com>
16544
16545 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16546 prefix.
16547
16548 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16549
16550 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16551 (ispell-choices-win-default-height, ispell-silently-savep)
16552 (ispell-dictionary-alist, ispell-encoding8-command)
16553 (ispell-check-version, ispell-aspell-find-dictionary)
16554 (ispell-valid-dictionary-list, ispell-words-keyword)
16555 (ispell-get-word, ispell-internal-change-dictionary)
16556 (ispell-region, ispell-skip-region-list)
16557 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16558 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16559 (ispell-message-text-end, ispell-message)
16560 (ispell-buffer-local-parsing): Doc fix.
16561
16562 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16563
16564 * htmlfontify.el: Add support for code block fontification for ODT
16565 export (Bug #9914).
16566 (hfy-optimisations): Define new option
16567 `body-text-only'
16568 (hfy-fontify-buffer): Honor above setting.
16569 (hfy-begin-span, hfy-end-span): New routines factored out form
16570 `hfy-fontify-buffer'.
16571 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16572 that permit insertion of custom tags.
16573 (hfy-fontify-buffer): Use above handlers.
16574 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16575 (hfy-face-to-css): Re-defined to be a variable.
16576 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16577 over multiple runs. This is made possible by having the caller let
16578 bind a special variable `hfy-user-sheet-assoc'.
16579 (htmlfontify-string): New defun.
16580 (hfy-compile-face-map): Make sure that the last char in the
16581 buffer is correctly fontified.
16582 (hfy-face-resolve-face): Whitespace only change.
16583
16584 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16585
16586 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16587 message more clear.
16588
16589 2012-03-16 Leo Liu <sdl.web@gmail.com>
16590
16591 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16592
16593 2012-03-16 Alan Mackenzie <acm@muc.de>
16594
16595 Further optimize the handling of large macros.
16596
16597 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16598 limit to a call of `c-literal-limits'.
16599 (c-determine-+ve-limit): New function.
16600 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16601 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16602 In CASE 5B, restrict a search limit to 500.
16603 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16604
16605 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16606 Restrict macro bounds to +-500 from after-change's BEG END.
16607
16608 2012-03-16 Leo Liu <sdl.web@gmail.com>
16609
16610 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16611
16612 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16613
16614 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16615 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16616
16617 2012-03-16 Glenn Morris <rgm@gnu.org>
16618
16619 * view.el (view-buffer, view-buffer-other-window)
16620 (view-buffer-other-frame): Doc fixes re special mode-class.
16621
16622 * subr.el (eval-after-load): If named feature is provided not from
16623 a file, run after-load forms. (Bug#10946)
16624
16625 * calendar/calendar.el (calendar-insert-at-column):
16626 Handle non-unit-width characters a bit better. (Bug#10978)
16627
16628 2012-03-15 Chong Yidong <cyd@gnu.org>
16629
16630 * emacs-lisp/ring.el (ring-extend): New function.
16631 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16632
16633 * comint.el (comint-read-input-ring)
16634 (comint-add-to-input-history): Grow comint-input-ring lazily.
16635
16636 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16637
16638 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16639 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16640
16641 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16642 (imenu-add-to-menubar): Don't add a redundant index.
16643 (imenu-update-menubar): Handle a dynamically composed keymap.
16644
16645 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16646
16647 * mail/sendmail.el (mail-encode-header):
16648 Bind rfc2047-encode-encoded-words to nil.
16649
16650 2012-03-13 Glenn Morris <rgm@gnu.org>
16651
16652 * calendar/calendar.el (calendar-string-spread):
16653 Handle non-unit-width characters a bit better. (Bug#10978)
16654
16655 2012-03-13 Leo Liu <sdl.web@gmail.com>
16656
16657 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16658 directory and file as argument (Bug#10822).
16659
16660 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16661
16662 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16663 For dynamically generated code, follow $PC.
16664 (gdb-disassembly-handler-custom): Handle no function name case.
16665
16666 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16667
16668 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16669 * emulation/ws-mode.el (ws-query-replace):
16670 * sort.el (sort-regexp-fields):
16671 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16672
16673 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16674
16675 * dabbrev.el: Fix cycle completion order (bug#10963).
16676 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16677 (dabbrev-completion): Don't use an obarray; provide
16678 a cycle-sort-function.
16679
16680 2012-03-12 Leo Liu <sdl.web@gmail.com>
16681
16682 * simple.el (kill-new): Use equal-including-properties for comparison.
16683 (kill-do-not-save-duplicates): Doc fix.
16684
16685 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16686
16687 * dabbrev.el: Fix cycle completion (bug#10963).
16688 Use lexical binding and wrap to 80 columns.
16689 (dabbrev-completion): Delay computing the list of completions.
16690
16691 2012-03-12 Kenichi Handa <handa@m17n.org>
16692
16693 * international/quail.el (quail-insert-kbd-layout): Surround each
16694 row by LRO and PDF instead of inserting many LRMs. Pad the left
16695 and right of each non-spacing marks. Insert invisible space
16696 between lower and upper characters to prevent composition.
16697
16698 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16699
16700 * minibuffer.el (minibuffer-complete): Don't get confused when the
16701 function is run twice via different commands (bug#10958).
16702 (complete-with-action): Fix docstring.
16703
16704 2012-03-12 Chong Yidong <cyd@gnu.org>
16705
16706 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16707 (nxml-completion-at-point-function): New function.
16708 (nxml-mode): Use it.
16709 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16710
16711 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16712 Load generated autoloads file before byte compiling (Bug#10970).
16713 (package--make-autoloads-and-compile): New helper fun.
16714
16715 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16716
16717 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16718
16719 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16720
16721 * autorevert.el (auto-revert-handler): Ensure, that
16722 file-readable-p is applied only for local files or in
16723 auto-revert-tail-mode.
16724
16725 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16726
16727 * server.el (server-eval-at): Handle non-tcp connections.
16728 Decode result string.
16729
16730 * server.el (server-msg-size): New constant.
16731 (server-reply-print): New function.
16732 (server-eval-and-print): Use it.
16733 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16734 Handle -print-nonl.
16735
16736 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16737
16738 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16739 (Bug#10987).
16740
16741 2012-03-11 Chong Yidong <cyd@gnu.org>
16742
16743 * simple.el (goto-line): Doc fix (Bug#9938).
16744
16745 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16746
16747 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16748 when finished (Bug#10963).
16749
16750 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16751
16752 * window.el (split-window-below): Fix bug in case where
16753 split-window-keep-point is nil (Bug#10971).
16754
16755 2012-03-11 Juri Linkov <juri@jurta.org>
16756
16757 * replace.el (replace-highlight): Set isearch-word to nil
16758 unconditionally. (Bug#10887)
16759
16760 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16761
16762 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16763 mairix-replace-illegal-chars; all callers changed. Don't remove
16764 ^, ~, and = characters: they are meaningful in mairix search specs.
16765 (mairix-widget-create-query): Add usage information about mairix
16766 search forms: negating words, searching for substrings, etc.
16767
16768 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16769
16770 * international/fontset.el (font-encoding-alist): Add an entry for
16771 ksx1001 (Bug#5667).
16772
16773 2012-03-10 Richard Stallman <rms@gnu.org>
16774
16775 * mail/sendmail.el (mail-encode-header):
16776 Set rfc2047-encode-encoded-words.
16777
16778 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16779
16780 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16781 view buffer means not swapped.
16782 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16783 (rmail-write-region-annotate): Error if real text has disappeared.
16784
16785 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16786
16787 2012-03-10 Chong Yidong <cyd@gnu.org>
16788
16789 * emulation/cua-rect.el (cua--init-rectangles):
16790 * emulation/cua-base.el (cua--init-keymaps):
16791 Add delete-forward-char to remappings (Bug#9666).
16792
16793 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16794
16795 * speedbar.el (speedbar-unhighlight-one-tag-line):
16796 Avoid unhighlighting due to frame switching (Bug#10275).
16797
16798 2012-03-10 Chong Yidong <cyd@gnu.org>
16799
16800 * minibuffer.el (completion-in-region, completion-help-at-point):
16801 Give the completion field overlay a high priority (Bug#6830).
16802
16803 * dired.el (dired-goto-file): Recognize absolute file name
16804 listings (Bug#7126).
16805 (dired-goto-file-1): New helper function.
16806 (dired-toggle-read-only): Inhibit warnings.
16807
16808 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16809
16810 * net/dbus.el (dbus-property-handler): Return empty array if
16811 there are no properties.
16812
16813 2012-03-09 Leo Liu <sdl.web@gmail.com>
16814
16815 * savehist.el (savehist-printable): Stricter check for string
16816 value (Bug#10937).
16817
16818 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16819
16820 * mail/smtpmail.el (smtpmail-send-it):
16821 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16822 valid mbox format.
16823
16824 2012-03-09 Glenn Morris <rgm@gnu.org>
16825
16826 * files.el (dir-locals-find-file):
16827 Don't check result is regular, readable.
16828 (dir-locals-read-from-file): Demote errors.
16829
16830 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16831
16832 * international/quail.el (quail-insert-kbd-layout):
16833 Insert invisible LRM characters before each character in a keyboard
16834 layout cell, to prevent their reordering by bidi display engine.
16835 For details, see the discussion in
16836 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16837
16838 2012-03-08 Alan Mackenzie <acm@muc.de>
16839
16840 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16841 the starting position; make it extend the marked region when
16842 invoked repeatedly - all under appropriate circumstances.
16843 Fixes bugs #5525, #10906.
16844
16845 2012-03-08 Glenn Morris <rgm@gnu.org>
16846
16847 * files.el (locate-dominating-file, dir-locals-find-file):
16848 Undo 2012-03-06 change.
16849
16850 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16851
16852 * international/quail.el (quail-help):
16853 Force bidi-paragraph-direction be left-to-right. See discussion in
16854 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16855 for the reason.
16856
16857 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16858
16859 Avoid superfluous registering of signals. (Bug#10807)
16860
16861 * notifications.el (notifications-on-action-object)
16862 (notifications-on-close-object): New defvars.
16863 (notifications-on-action-signal, notifications-on-closed-signal):
16864 Unregister the signal if not needed any longer.
16865 (notifications-notify): Register `notifications-action-signal' or
16866 `notifications-closed-signal', if :on-action or :on-close has been
16867 passed as argument.
16868
16869 2012-03-07 Chong Yidong <cyd@gnu.org>
16870
16871 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16872 non-X platforms.
16873
16874 2012-03-06 Glenn Morris <rgm@gnu.org>
16875
16876 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16877 (x-disown-selection-internal, x-get-selection-internal):
16878 Doc fix (add arglist signatures). (Bug#10783)
16879
16880 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16881
16882 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16883 Handle breakpoints with no "type".
16884
16885 2012-03-06 Glenn Morris <rgm@gnu.org>
16886
16887 * files.el (locate-dominating-file): Add optional predicate argument.
16888 (dir-locals-find-file): Make use of above change.
16889
16890 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16891
16892 * info.el (Info-insert-dir): Also try "dir.gz".
16893
16894 2012-03-06 Glenn Morris <rgm@gnu.org>
16895
16896 * files.el (dir-locals-find-file):
16897 Ignore non-readable or non-regular files. (Bug#10928)
16898
16899 * files.el (locate-dominating-file): Doc fix.
16900
16901 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16902
16903 * calendar/calendar.el (calendar-set-mode-line):
16904 `getenv' returns a string. (Bug#10951)
16905
16906 2012-03-05 Leo Liu <sdl.web@gmail.com>
16907
16908 * simple.el (backward-delete-char-untabify): Constrain point to
16909 field (Bug#10939).
16910
16911 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16912
16913 2012-03-05 Chong Yidong <cyd@gnu.org>
16914
16915 * simple.el (count-words): If called from Lisp, return the word
16916 count, for symmetry with `count-lines'. Arglist changed.
16917 (count-words--message): Args changed. Consolidate counting code
16918 from count-words and count-words-region.
16919 (count-words-region): Caller changed.
16920 (count-lines-region): Make it an obsolete alias.
16921
16922 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16923
16924 * saveplace.el (save-place-to-alist)
16925 (save-place-ignore-files-regexp): Allow value nil to disable this
16926 feature.
16927
16928 2012-03-04 Chong Yidong <cyd@gnu.org>
16929
16930 * faces.el (face-spec-reset-face): For the default face, reset the
16931 attributes to default values (Bug#10748).
16932
16933 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16934
16935 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16936 previous patch: Check `message-send-mail-function', and not the
16937 default function (bug#10897).
16938
16939 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16940
16941 * notifications.el (notifications-on-action-signal)
16942 (notifications-on-closed-signal): Check for unique service name of
16943 incoming event. Fix error in removing entry.
16944 (top): Register for signals with wildcard service name.
16945 (notifications-notify): Use daemon unique service name for map entries.
16946
16947 2012-03-04 Chong Yidong <cyd@gnu.org>
16948
16949 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16950
16951 2012-03-04 Glenn Morris <rgm@gnu.org>
16952
16953 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16954 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16955 (expand-abbrev, define-abbrev-table): Doc fixes.
16956
16957 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16958
16959 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16960 `message-default-send-mail-function' and not `send-mail-function'
16961 when doing the prompting for `sendmail-query-once' before sending
16962 in Message buffers (bug#10897).
16963
16964 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16965 This is inconsistent with all the other stream functions, which leave
16966 the setting up to the higher levels (if so wanted) (bug#10931).
16967
16968 2012-03-02 Alan Mackenzie <acm@muc.de>
16969
16970 Depessimize the handling of very large macros.
16971
16972 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16973 (c-macro-cache-syntactic): New variables to implement a one
16974 element macro cache.
16975 (c-invalidate-macro-cache): New function.
16976 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16977 Adapt to use the new cache.
16978 (c-state-safe-place): Use better the cache of safe positions.
16979 (c-state-semi-nonlit-pos-cache)
16980 (c-state-semi-nonlit-pos-cache-limit):
16981 New variables for...
16982 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16983 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16984 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16985 Use c-state-semi-safe-place.
16986
16987 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16988 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16989
16990 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16991
16992 * jka-compr.el (jka-compr-call-process):
16993 Apply `file-accessible-directory-p' only when the default directory is
16994 not remote.
16995
16996 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16997
16998 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16999 access of FILE2, if FILE1 does not exist.
17000
17001 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17002 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17003
17004 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17005 Add "PAGER=" to `process-environment'.
17006
17007 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17008
17009 * progmodes/sql.el: Bug fix
17010 (sql-get-login-ext): Save login values in globals.
17011 (sql-get-login): Use new version of `sql-get-login-ext'.
17012 (sql-interactive-mode): Set global `sql-connection' to nil.
17013 (sql-connect): Set global values for connection.
17014 (sql-product-interactive): Save global values as buffer local.
17015
17016 2012-02-29 Leo Liu <sdl.web@gmail.com>
17017
17018 * abbrev.el (define-abbrevs): Reset sys to nil.
17019
17020 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17021
17022 * files.el (file-equal-p): Rename from `files-equal-p'.
17023 Return nil when one or both files don't exist.
17024 (file-subdir-of-p): Now only top directory must exists,
17025 return nil if it doesn't.
17026 (copy-directory): No need to test with `file-subdir-of-p' after
17027 creating dir.
17028 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17029 to `file-equal-p'.
17030
17031 2012-02-28 Glenn Morris <rgm@gnu.org>
17032
17033 * shell.el (shell-mode):
17034 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17035 * play/landmark.el (landmark-font-lock-face-O):
17036 * play/handwrite.el (handwrite):
17037 * play/gomoku.el (gomoku-O):
17038 * net/browse-url.el (browse-url-browser-display):
17039 * international/mule.el (define-charset):
17040 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17041 * filesets.el (filesets-find-file-delay):
17042 * eshell/em-xtra.el (eshell-xtra):
17043 * eshell/em-unix.el (eshell-grep):
17044 * emulation/viper.el (viper-mode):
17045 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17046 * emacs-lisp/easymenu.el (easy-menu-define):
17047 * calendar/timeclock.el (timeclock-use-display-time):
17048 * bs.el (bs-mode):
17049 * bookmark.el (bookmark-save-flag):
17050 Doc fix (standardize possessive apostrophe usage).
17051
17052 2012-02-27 Chong Yidong <cyd@gnu.org>
17053
17054 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17055 Fix key-binding lookup for ESC key (Bug#9146).
17056
17057 * font-lock.el (font-lock-specified-p): Rename from
17058 font-lock-spec-present. Callers changed.
17059
17060 2012-02-27 Daniel Hackney <dan@haxney.org>
17061
17062 * emacs-lisp/package.el (package-compute-transaction):
17063 Handle holding a package version to t in package-load-list.
17064
17065 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17066
17067 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17068 (tramp-get-inode, tramp-get-device): Use cached values.
17069
17070 2012-02-26 Alan Mackenzie <acm@muc.de>
17071
17072 Check there is a font-lock specification before doing initial
17073 fontification.
17074
17075 * font-core.el (font-lock-mode): Move the conditional from
17076 :after-hook to font-lock-initial-fontify.
17077 (font-lock-default-function): Move the check for a specification
17078 to font-lock-spec-present.
17079
17080 * font-lock.el (font-lock-initial-fontify): Call ...
17081 (font-lock-spec-present): New function.
17082
17083 2012-02-26 Jim Blandy <jimb@red-bean.com>
17084
17085 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17086 (gdb-send): Apply it to the operand of the '-interpreter-exec
17087 console' command, so that we can pass arguments with (say) quotes
17088 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17089
17090 2012-02-26 Chong Yidong <cyd@gnu.org>
17091
17092 * help-fns.el (describe-function-1): Clarify description of
17093 remapping (Bug#10844).
17094
17095 * files.el (files-equal-p): Doc fix.
17096 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17097 and quit the loop once a mismatch is found.
17098
17099 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17100
17101 * bs.el (bs--show-with-configuration): Don't throw an error
17102 if the window cannot be split; otherwise, subsequent calls to
17103 bs-show fail, restoring a stale window config. (Bug#10882)
17104
17105 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17106
17107 * term/ns-win.el (global-map): Bind ns-drag-file to
17108 ns-find-file (Bug#5855, Bug#10050).
17109
17110 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17111
17112 * calendar/parse-time.el (parse-time-string): Allow extractor to
17113 return nil.
17114
17115 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17116
17117 * net/tramp.el (tramp-file-name-for-operation):
17118 Add `files-equal-p' and `file-subdir-of-p'.
17119
17120 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17121 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17122 Add COPY-CONTENTS argument.
17123
17124 2012-02-25 Chong Yidong <cyd@gnu.org>
17125
17126 Add custom groups for VC backends, for consistency with vc-bzr.
17127
17128 * vc/vc-arch.el (vc-arch):
17129 * vc/vc-cvs.el (vc-cvs):
17130 * vc/vc-git.el (vc-git):
17131 * vc/vc-hg.el (vc-hg):
17132 * vc/vc-mtn.el (vc-mtn):
17133 * vc/vc-rcs.el (vc-rcs):
17134 * vc/vc-sccs.el (vc-sccs):
17135 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17136 All relevant defcustoms reassigned.
17137
17138 2012-02-25 Chong Yidong <cyd@gnu.org>
17139
17140 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17141
17142 * term/x-win.el (x-initialize-window-system): Reduce default for
17143 x-selection-timeout to 5 seconds (Bug#8869).
17144
17145 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17146
17147 * files.el (files-equal-p, file-subdir-of-p): New functions.
17148 (copy-directory): Error when trying to copy a directory on itself.
17149 Add missing copy-contents arg to tramp handler.
17150 * dired-aux.el (dired-copy-file-recursive): Same.
17151 (dired-create-files): Modify destination when source is equal to
17152 dest when copying files.
17153 Return also when dest is a subdir of source. (Bug#10489)
17154
17155 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17156
17157 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17158 (Bug#10874)
17159
17160 2012-02-23 Alan Mackenzie <acm@muc.de>
17161
17162 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17163 parameter "after-hook:" to allow the expansion to run code after
17164 the execution of the mode hooks.
17165
17166 * font-lock.el (font-lock-initial-fontify): New function extracted
17167 from font-lock-mode-internal.
17168
17169 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17170 :after-hook.
17171
17172 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17173
17174 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17175 (completion--cache-all-sorted-completions): New function.
17176 (completion-all-sorted-completions): Use it.
17177 (completion--do-completion, minibuffer-force-complete):
17178 Use it to re-instate the flush hook.
17179
17180 * icomplete.el (icomplete-completions): Replace last fix with a better
17181 one (bug#10850).
17182
17183 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17184
17185 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17186 when it might call us back infinitely (bug#10797).
17187
17188 2012-02-23 Glenn Morris <rgm@gnu.org>
17189
17190 * minibuffer.el (completion-category-overrides): Doc fix.
17191
17192 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17193
17194 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17195 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17196
17197 2012-02-23 Glenn Morris <rgm@gnu.org>
17198
17199 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17200 (authors-obsolete-files-regexps, authors-ignored-files)
17201 (authors-ambiguous-files, authors-renamed-files-alist):
17202 Add more entries.
17203
17204 2012-02-23 Juri Linkov <juri@jurta.org>
17205
17206 * isearch.el (isearch-occur): Sync interactive spec with occur's
17207 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17208
17209 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17210
17211 2012-02-22 Juri Linkov <juri@jurta.org>
17212
17213 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17214 (ucs-insert): Doc fix. Check for hex digits in the string.
17215 Don't display `nil' in the error message. (Bug#10857)
17216
17217 2012-02-22 Alan Mackenzie <acm@muc.de>
17218
17219 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17220
17221 2012-02-22 Glenn Morris <rgm@gnu.org>
17222
17223 * ffap.el (ffap-c-path):
17224 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17225
17226 2012-02-22 Chong Yidong <cyd@gnu.org>
17227
17228 * custom.el (load-theme): Doc fix.
17229
17230 2012-02-22 Glenn Morris <rgm@gnu.org>
17231
17232 * dired-x.el (dired-guess-shell-alist-default):
17233 Remove escape sequences from nroff output. (Bug#172)
17234
17235 2012-02-21 Glenn Morris <rgm@gnu.org>
17236
17237 * vc/emerge.el (emerge-defvar-local):
17238 Set `permanent-local' property rather than unused `preserved'.
17239
17240 * textmodes/picture.el (picture-delete-char): New alias.
17241 (picture-mode-map): Use it. (Bug#10860)
17242 (picture-mode): Doc fix.
17243
17244 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17245
17246 * newcomment.el (uncomment-region-default): Remove unused binding.
17247
17248 2012-02-21 Glenn Morris <rgm@gnu.org>
17249
17250 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17251 (picture-self-insert, picture-tab-chars): Doc fix.
17252 (picture-mode-map): Fix C-a, C-e.
17253
17254 2012-02-20 Glenn Morris <rgm@gnu.org>
17255
17256 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17257
17258 2012-02-20 Leo Liu <sdl.web@gmail.com>
17259
17260 * icomplete.el (icomplete-completions): Check FROM arg before
17261 passing to substring (Bug#10850).
17262
17263 2012-02-19 Chong Yidong <cyd@gnu.org>
17264
17265 * comint.el: Require ansi-color.
17266 (comint-output-filter-functions): Add ansi-color-process-output.
17267
17268 * ansi-color.el: Don't set comint-output-filter-functions; it is
17269 now in the initial value defined in comint.el.
17270 (ansi-color-apply-face-function): New variable.
17271 (ansi-color-apply-on-region): Use it.
17272 (ansi-color-apply-overlay-face): New function.
17273
17274 * shell.el (shell): No need to require ansi-color.
17275 (shell-mode): Use ansi-color-apply-face-function to highlight
17276 color escapes using font-lock-face property (Bug#10835).
17277
17278 2012-02-19 Chong Yidong <cyd@gnu.org>
17279
17280 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17281 mode-line formats (Bug#10839).
17282
17283 2012-02-18 Glenn Morris <rgm@gnu.org>
17284
17285 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17286
17287 * mail/undigest.el (unforward-rmail-message): Doc fix.
17288
17289 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17290
17291 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17292
17293 * international/characters.el (script-list): Sync with the latest
17294 Unicode Character Database.
17295
17296 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17297
17298 * international/titdic-cnv.el: Remove duplicate coding tag.
17299 * language/cham.el: Likewise.
17300 * language/tai-viet.el: Likewise.
17301
17302 2012-02-18 Glenn Morris <rgm@gnu.org>
17303
17304 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17305 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17306 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17307 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17308 * calendar/holidays.el (holiday-bahai-holidays)
17309 (calendar-holidays, list-holidays):
17310 Use utf-8 Bahá'í in doc-strings, menus, etc.
17311
17312 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17313
17314 * saveplace.el (save-place-ignore-files-regexp): New variable
17315 allowing for excluding files from saving their location of point.
17316 The default value matches the temporary commit message editing
17317 files from Git, SVN, Bazaar, and Mercurial.
17318 (save-place-to-alist): Use it.
17319
17320 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17321 Stefan Monnier <monnier@iro.umontreal.ca>
17322
17323 * newcomment.el (uncomment-region-default): Don't leave extra space
17324 when an arg is provided (bug#8150).
17325
17326 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17327
17328 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17329
17330 2012-02-17 Glenn Morris <rgm@gnu.org>
17331
17332 * net/socks.el: Require network-stream. (Bug#10599)
17333
17334 2012-02-17 Kenichi Handa <handa@m17n.org>
17335
17336 * international/charprop.el:
17337 * international/uni-name.el:
17338 * international/uni-old-name.el:
17339 * international/uni-comment.el: Regenerate.
17340
17341 2012-02-16 Glenn Morris <rgm@gnu.org>
17342
17343 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17344 Interactively in calendar buffer, give an error if not on a date.
17345
17346 2012-02-15 Glenn Morris <rgm@gnu.org>
17347
17348 * shell.el (shell-delimiter-argument-list):
17349 Revert 2011-02-17 change. (Bug#8027)
17350
17351 2012-02-15 Chong Yidong <cyd@gnu.org>
17352
17353 * minibuffer.el (completion-at-point-functions): Doc fix.
17354
17355 * custom.el (defcustom): Doc fix; note use of defvar.
17356
17357 2012-02-15 Glenn Morris <rgm@gnu.org>
17358
17359 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17360 Doc fixes.
17361
17362 2012-02-14 Glenn Morris <rgm@gnu.org>
17363
17364 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17365
17366 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17367
17368 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17369 way the ports list is computed.
17370 (smtpmail-query-smtp-server): Prompt the user for a port number if
17371 we can't connect to any of the standard ports (bug#10810).
17372
17373 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17374
17375 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17376
17377 2012-02-13 Glenn Morris <rgm@gnu.org>
17378
17379 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17380
17381 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17382
17383 * net/gnutls.el (gnutls-trustfiles): New variable.
17384 (gnutls-negotiate): Use it.
17385
17386 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17387
17388 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17389 does its stuff if Gnus is running.
17390
17391 2012-02-13 Alan Mackenzie <acm@muc.de>
17392
17393 Fix a loop in c-set-fl-decl-start.
17394
17395 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17396 c-backward-syntactic-ws actually moves backwards.
17397
17398 2012-02-13 Leo Liu <sdl.web@gmail.com>
17399
17400 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17401 beginning so that all \C-o chars are removed.
17402
17403 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17404
17405 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17406
17407 2012-02-12 Alan Mackenzie <acm@muc.de>
17408
17409 Fix infinite loop with long macros.
17410 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17411
17412 2012-02-12 Chong Yidong <cyd@gnu.org>
17413
17414 * window.el (display-buffer): Doc fix (Bug#10785).
17415
17416 2012-02-12 Glenn Morris <rgm@gnu.org>
17417
17418 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17419 (x-disown-selection-internal, x-get-selection-internal):
17420 Sync docs with the xselect.c versions.
17421
17422 * allout-widgets.el: Add missing license notice.
17423
17424 2012-02-11 Glenn Morris <rgm@gnu.org>
17425
17426 * select.el (x-get-selection-internal, x-own-selection-internal)
17427 (x-disown-selection-internal):
17428 * x-dnd.el (x-get-selection-internal): Update declarations.
17429
17430 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17431
17432 * window.el (window-sides-slots):
17433 * tool-bar.el (tool-bar-position):
17434 * term/xterm.el (xterm-extra-capabilities):
17435 * ses.el (ses-self-reference-early-detection):
17436 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17437 (verilog-auto-wire-type)
17438 (verilog-auto-delete-trailing-whitespace)
17439 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17440 (verilog-auto-tieoff-declaration):
17441 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17442 (sql-oracle-statement-starters, sql-oracle-scan-on):
17443 * progmodes/prolog.el (prolog-align-comments-flag)
17444 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17445 (prolog-left-indent-regexp, prolog-paren-indent-p)
17446 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17447 (prolog-types, prolog-mode-specificators)
17448 (prolog-determinism-specificators, prolog-directives)
17449 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17450 (prolog-electric-dot-flag)
17451 (prolog-electric-dot-full-predicate-template)
17452 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17453 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17454 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17455 (prolog-program-switches, prolog-prompt-regexp)
17456 (prolog-debug-on-string, prolog-debug-off-string)
17457 (prolog-trace-on-string, prolog-trace-off-string)
17458 (prolog-zip-on-string, prolog-zip-off-string)
17459 (prolog-use-standard-consult-compile-method-flag)
17460 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17461 (prolog-imenu-max-lines, prolog-info-predicate-index)
17462 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17463 (prolog-char-quote-workaround):
17464 * progmodes/cc-vars.el (c-defun-tactic):
17465 * net/tramp.el (tramp-encoding-command-interactive)
17466 (tramp-local-end-of-line):
17467 * net/soap-client.el (soap-client):
17468 * net/netrc.el (netrc-file):
17469 * net/gnutls.el (gnutls):
17470 * minibuffer.el (completion-category-overrides)
17471 (completion-cycle-threshold)
17472 (completion-pcm-complete-word-inserts-delimiters):
17473 * man.el (Man-name-local-regexp):
17474 * mail/feedmail.el (feedmail-display-full-frame):
17475 * international/characters.el (glyphless-char-display-control):
17476 * eshell/em-ls.el (eshell-ls-date-format):
17477 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17478 (lisp-lambda-list-keyword-parameter-indentation)
17479 (lisp-lambda-list-keyword-parameter-alignment):
17480 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17481 * dired-x.el (dired-omit-verbose):
17482 * cus-theme.el (custom-theme-allow-multiple-selections):
17483 * calc/calc.el (calc-highlight-selections-with-faces)
17484 (calc-lu-field-reference, calc-lu-power-reference)
17485 (calc-note-threshold):
17486 * battery.el (battery-mode-line-limit):
17487 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17488 (archive-7z-update):
17489 * allout.el (allout-prefixed-keybindings)
17490 (allout-unprefixed-keybindings)
17491 (allout-inhibit-auto-fill-on-headline)
17492 (allout-flattened-numbering-abbreviation):
17493 * allout-widgets.el (allout-widgets-auto-activation)
17494 (allout-widgets-icons-dark-subdir)
17495 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17496 (allout-widgets-theme-dark-background)
17497 (allout-widgets-theme-light-background)
17498 (allout-widgets-item-image-properties-emacs)
17499 (allout-widgets-item-image-properties-xemacs)
17500 (allout-widgets-run-unit-tests-on-load)
17501 (allout-widgets-time-decoration-activity)
17502 (allout-widgets-hook-error-post-time)
17503 (allout-widgets-track-decoration):
17504 Add missing :version tags to new defcustoms and defgroups.
17505
17506 * progmodes/sql.el (sql-ansi-statement-starters)
17507 (sql-oracle-statement-starters): Add custom type.
17508
17509 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17510 (prolog-system-version): Give it a type.
17511
17512 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17513
17514 * term/pc-win.el (x-select-text, x-selection-owner-p)
17515 (x-own-selection-internal, x-disown-selection-internal)
17516 (x-get-selection-internal): Sync doc strings and argument lists
17517 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17518
17519 2012-02-11 Leo Liu <sdl.web@gmail.com>
17520
17521 * progmodes/python.el (python-end-of-statement): Fix infinite
17522 loop. (Bug#10788)
17523
17524 2012-02-10 Glenn Morris <rgm@gnu.org>
17525
17526 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17527 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17528
17529 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17530
17531 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17532 about SMTP before checking the From header.
17533
17534 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17535 into own function for reuse by emacsbug.el.
17536
17537 2012-02-10 Leo Liu <sdl.web@gmail.com>
17538
17539 * subr.el (condition-case-unless-debug): Rename from
17540 condition-case-no-debug. All callers changed.
17541 (with-demoted-errors): Fix caller.
17542
17543 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17544 * nxml/rng-valid.el (rng-do-some-validation):
17545 * emacs-lisp/package.el (package-refresh-contents)
17546 (package-menu-execute):
17547 * desktop.el (desktop-create-buffer):
17548 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17549
17550 2012-02-10 Glenn Morris <rgm@gnu.org>
17551
17552 * textmodes/bibtex.el:
17553 Add missing :version tags for new/changed defcustoms.
17554
17555 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17556
17557 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17558
17559 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17560 (smtpmail-via-smtp): Use it, or fall back on the From address.
17561 (smtpmail-send-it): Ditto.
17562
17563 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17564
17565 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17566 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17567 (byte-compile-tmp-var): New const.
17568 (byte-compile-defvar): Use it to minimize .elc size.
17569 Just use `defvar' rather than simulate it (bug#10761).
17570
17571 2012-02-09 Glenn Morris <rgm@gnu.org>
17572
17573 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17574
17575 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17576 Add :version tags.
17577
17578 * progmodes/compile.el (compilation-error-screen-columns)
17579 (compilation-first-column, compilation-filter-start): Doc fixes.
17580
17581 * vc/log-view.el (log-view-toggle-entry-display):
17582 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17583
17584 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17585 (report-emacs-bug-can-use-xdg-email):
17586 (report-emacs-bug-insert-to-mailer): Doc fixes.
17587 (report-emacs-bug): Message fix.
17588
17589 * net/browse-url.el (browse-url-can-use-xdg-open)
17590 (browse-url-xdg-open): Doc fixes.
17591
17592 * electric.el (electric-indent-mode, electric-pair-mode)
17593 (electric-layout-rules, electric-layout-mode): Doc fixes.
17594 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17595
17596 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17597
17598 * server.el (server-unselect-display): Don't inadvertently kill
17599 the current buffer. (Bug#10729)
17600
17601 2012-02-08 Glenn Morris <rgm@gnu.org>
17602
17603 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17604 (sql-list-table): Doc fixes.
17605
17606 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17607 Comment out (does nothing).
17608
17609 * completion.el (dynamic-completion-mode):
17610 * dirtrack.el (dirtrack-debug-mode):
17611 * electric.el (electric-layout-mode):
17612 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17613 * face-remap.el (text-scale-mode, buffer-face-mode):
17614 * iimage.el (iimage-mode):
17615 * image-mode.el (image-transform-mode):
17616 * minibuffer.el (completion-in-region-mode):
17617 * scroll-lock.el (scroll-lock-mode):
17618 * simple.el (next-error-follow-minor-mode):
17619 * tar-mode.el (tar-subfile-mode):
17620 * tooltip.el (tooltip-mode):
17621 * vcursor.el (vcursor-use-vcursor-map):
17622 * wid-browse.el (widget-minor-mode):
17623 * emulation/tpu-edt.el (tpu-edt-mode):
17624 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17625 * international/iso-ascii.el (iso-ascii-mode):
17626 * language/thai-util.el (thai-word-mode):
17627 * mail/supercite.el (sc-minor-mode):
17628 * net/goto-addr.el (goto-address-mode):
17629 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17630 * progmodes/cwarn.el (cwarn-mode):
17631 * progmodes/flymake.el (flymake-mode):
17632 * progmodes/glasses.el (glasses-mode):
17633 * progmodes/hideshow.el (hs-minor-mode):
17634 * progmodes/pascal.el (pascal-outline-mode):
17635 * textmodes/enriched.el (enriched-mode):
17636 * vc/smerge-mode.el (smerge-mode):
17637 Doc fixes (minor mode argument).
17638
17639 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17640
17641 * ls-lisp.el (ls-lisp-sanitize): New function.
17642 (ls-lisp-insert-directory): Use it to fix or remove any elements
17643 in file-alist with missing attributes. (Bug#4673)
17644
17645 2012-02-07 Alan Mackenzie <acm@muc.de>
17646
17647 Fix spurious recognition of c-in-knr-argdecl.
17648
17649 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17650 putative K&R region.
17651
17652 2012-02-07 Alan Mackenzie <acm@muc.de>
17653
17654 * progmodes/cc-engine.el (c-forward-objc-directive):
17655 Prevent looping in "#pragma mark @implementation".
17656
17657 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17658
17659 * notifications.el (notifications-on-closed-signal): Make `reason'
17660 optional. (Bug#10744)
17661
17662 2012-02-07 Glenn Morris <rgm@gnu.org>
17663
17664 * emacs-lisp/easy-mmode.el (define-minor-mode):
17665 Doc fixes for the macro and the mode it defines.
17666
17667 * image.el (imagemagick-types-inhibit): Doc fix.
17668
17669 * cus-start.el (imagemagick-render-type): Add it.
17670
17671 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17672
17673 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17674 Set the default at load time, too, so that `font-lock-fontify-buffer'
17675 can be called without setting up the entire mode first. This fixes
17676 a bug in `mm-inline-text' with C MIME parts.
17677
17678 2012-02-06 Chong Yidong <cyd@gnu.org>
17679
17680 * simple.el (list-processes--refresh): Delete exited processes
17681 (Bug#8094).
17682
17683 * comint.el (comint-next-prompt): next-single-char-property-change
17684 and prev-single-char-property-change never return nil (Bug#8657).
17685
17686 * custom.el (defcustom): Doc fix (Bug#9711).
17687
17688 2012-02-05 Chong Yidong <cyd@gnu.org>
17689
17690 * cus-edit.el (custom-variable-reset-backup): Quote the value
17691 before storing it in the customized-value property (Bug#6712).
17692 (custom-display): Add a customization type tag.
17693 (custom-buffer-create-internal): Improve tooltip message.
17694
17695 * wid-edit.el (widget-field-value-get): New optional arg to
17696 suppress trailing whitespace truncation.
17697 (character): Use it (Bug#2689).
17698
17699 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17700
17701 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17702 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17703
17704 2012-02-05 Chong Yidong <cyd@gnu.org>
17705
17706 * cus-edit.el (custom-variable-value-create): For mismatched
17707 types, show the current value (Bug#7600).
17708
17709 * custom.el (defcustom): Doc fix.
17710
17711 2012-02-05 Glenn Morris <rgm@gnu.org>
17712
17713 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17714
17715 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17716
17717 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17718 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17719 (pp-last-sexp): Use `looking-at-p'.
17720
17721 2012-02-04 Glenn Morris <rgm@gnu.org>
17722
17723 * files.el (revert-buffer):
17724 Doc fix (mention revert-buffer-in-progress-p).
17725
17726 * emacs-lisp/ert-x.el (ert-simulate-command):
17727 Check deferred-action-list (which is obsolete) is bound.
17728
17729 * subr.el (with-wrapper-hook): Doc fixes.
17730
17731 * simple.el (filter-buffer-substring-functions)
17732 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17733
17734 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17735
17736 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17737 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17738
17739 2012-02-04 Leo Liu <sdl.web@gmail.com>
17740
17741 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17742
17743 2012-02-04 Glenn Morris <rgm@gnu.org>
17744
17745 * image.el (image-extension-data): Add obsolete alias.
17746
17747 * isearch.el (isearch-update): Doc fix.
17748
17749 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17750
17751 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17752
17753 2012-02-03 Glenn Morris <rgm@gnu.org>
17754
17755 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17756 (image-animate-timeout): Doc fix.
17757
17758 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17759
17760 2012-02-02 Glenn Morris <rgm@gnu.org>
17761
17762 * server.el (server-auth-dir): Doc fix.
17763 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17764
17765 * subr.el (run-mode-hooks): Doc fix.
17766
17767 2012-02-02 Juri Linkov <juri@jurta.org>
17768
17769 * image-mode.el (image-toggle-display-image): Remove tautological
17770 `major-mode' from the `derived-mode-p' test.
17771
17772 2012-02-02 Kenichi Handa <handa@m17n.org>
17773
17774 * composite.el (compose-region): Cancel previous change.
17775
17776 2012-02-02 Kenichi Handa <handa@m17n.org>
17777
17778 * composite.el (compose-region, compose-string): Signal error for
17779 a null string component (Bug#6988).
17780
17781 2012-02-01 Chong Yidong <cyd@gnu.org>
17782
17783 * view.el (view-buffer-other-window, view-buffer-other-frame):
17784 Handle special modes like view-buffer (Bug#10650).
17785 (view-buffer): Simplify.
17786
17787 * frame.el (set-frame-font): Tweak meaning of third argument.
17788
17789 * dynamic-setting.el (font-setting-change-default-font):
17790 Use set-frame-font (Bug#9982).
17791
17792 2012-02-01 Glenn Morris <rgm@gnu.org>
17793
17794 * progmodes/compile.el (compilation-internal-error-properties):
17795 Respect compilation-first-column in the "*compilation*" buffer.
17796
17797 * emacs-lisp/easy-mmode.el (define-minor-mode):
17798 Relax :variable's test for a named function.
17799
17800 2012-01-31 Alan Mackenzie <acm@muc.de>
17801
17802 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17803 off by one error.
17804
17805 2012-01-31 Chong Yidong <cyd@gnu.org>
17806
17807 * frame.el (set-frame-font): New arg ALL-FRAMES.
17808
17809 * menu-bar.el (menu-set-font): Use set-frame-font.
17810
17811 * faces.el (face-spec-reset-face): Don't apply unspecified
17812 attribute values to the default face.
17813
17814 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17815
17816 * progmodes/cwarn.el (cwarn): Remove dead link.
17817 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17818 Remove * from defcustom docstrings.
17819 (turn-on-cwarn-mode): Make obsolete.
17820 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17821 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17822
17823 2012-01-31 Glenn Morris <rgm@gnu.org>
17824
17825 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17826 Fix :variable handling of mode a symbol not equal to modefun.
17827 Allow named functions to be used as the cdr of :variable.
17828
17829 2012-01-30 Glenn Morris <rgm@gnu.org>
17830
17831 * emacs-lisp/authors.el (authors-fixed-entries):
17832 Remove reference to deleted file rnewspost.el.
17833
17834 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17835
17836 * window.el (window-with-parameter): Remove unused variable `windows'.
17837 (window--side-check): Remove unused variable `code'.
17838 (window--resize-siblings): Remove unused variable `first'.
17839 (adjust-window-trailing-edge): Remove unused variable `failed'.
17840 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17841 Use `let', not `let*'.
17842 (balance-windows-2): Remove unused variable `found'.
17843 (window--state-put-2): Remove unused variable `splits'.
17844 (window-state-put): Remove unused variable `selected'.
17845 (same-window-p): Use `string-match-p'.
17846 (display-buffer-assq-regexp): Remove unused variable `value'.
17847 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17848 Mark argument ALIST as ignored.
17849 (pop-to-buffer): Remove unused variable `old-window'.
17850
17851 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17852
17853 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17854 and .lzma compressed files.
17855
17856 2012-01-29 Chong Yidong <cyd@gnu.org>
17857
17858 * frame.el (window-system-default-frame-alist): Doc fix.
17859
17860 * dynamic-setting.el (font-setting-change-default-font): Don't
17861 change the default face if SET-FONT argument is non-nil (Bug#9982).
17862
17863 2012-01-29 Samuel Bronson <naesten@gmail.com>
17864
17865 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17866
17867 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17868
17869 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17870 breakpoints in files outside current directory (Bug#6098).
17871
17872 2012-01-29 Chong Yidong <cyd@gnu.org>
17873
17874 * progmodes/python.el: Require ansi-color at top-level.
17875
17876 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17877 Define and use in Emacs Lisp mode (Bug#9360).
17878 (lisp-mode-abbrev-table): Add doc.
17879 (lisp-mode-variables): Don't set local-abbrev-table.
17880 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17881
17882 2012-01-28 Roland Winkler <winkler@gnu.org>
17883
17884 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17885
17886 2012-01-28 Roland Winkler <winkler@gnu.org>
17887
17888 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17889 (bibtex-set-dialect): Use it. Either set global values of
17890 dialect-dependent variables or bind these variables buffer-locally
17891 (Bug#10254).
17892 (bibtex-mode): Call bibtex-set-dialect via
17893 hack-local-variables-hook.
17894 (bibtex-dialect): Update docstring.
17895 Add safe-local-variable predicate.
17896 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17897 bibtex-set-dialect.
17898 (bibtex-mode-map): Define menu for each dialect.
17899 (bibtex-entry): Fix docstring.
17900
17901 2012-01-28 Chong Yidong <cyd@gnu.org>
17902
17903 * eshell/esh-arg.el (eshell-quote-argument): New function.
17904
17905 * eshell/esh-ext.el (eshell-invoke-batch-file):
17906 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17907 first arg to eshell-parse-command (Bug#10523).
17908
17909 2012-01-28 Drew Adams <drew.adams@oracle.com>
17910
17911 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17912 `default-directory' is non-nil.
17913
17914 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17915
17916 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17917 line that displays system-configuration-options. (Bug#9924)
17918
17919 2012-01-28 Drew Adams <drew.adams@oracle.com>
17920
17921 * descr-text.el (describe-char): Show information about POS, in
17922 addition to information about the character at POS. Improve and
17923 update the doc string. Change "code point" to "code point in
17924 charset", to avoid confusion with the character's Unicode code
17925 point shown above that. (Bug#10129)
17926
17927 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17928
17929 * descr-text.el (describe-char): Show the raw character, not only
17930 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17931 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17932 for the reasons.
17933
17934 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17935
17936 * emacs-lisp/package.el (package-install):
17937 Run package-refresh-contents if there is no archive yet (Bug#9798).
17938
17939 2012-01-28 Chong Yidong <cyd@gnu.org>
17940
17941 * emacs-lisp/package.el (package-maybe-load-descriptor):
17942 New function, split from package-maybe-load-descriptor.
17943 (package-maybe-load-descriptor): Use it.
17944 (package-download-transaction): Fully load required packages
17945 inside the loop, so that `require' calls work (Bug#10593).
17946 (package-install): No need to call package-initialize now.
17947
17948 2012-01-28 Chong Yidong <cyd@gnu.org>
17949
17950 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17951
17952 * tooltip.el (tooltip-mode): Doc fix.
17953 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17954
17955 * frame.el (set-cursor-color): Doc fix (Bug#352).
17956
17957 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17958 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17959
17960 * cus-edit.el (custom-buffer-create-internal): Fix search button
17961 action (Bug#10542).
17962 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17963
17964 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17965
17966 * dired.el (dired-mark-files-regexp):
17967 Include any subdirectory components. (Bug#10445)
17968
17969 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17970
17971 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17972 Handle [host]:port syntax. (Bug#10533)
17973
17974 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17975
17976 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17977
17978 2012-01-26 Glenn Morris <rgm@gnu.org>
17979
17980 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17981 * term.el (term-raw-escape-map): Use Control-X-prefix.
17982 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17983
17984 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17985
17986 * window.el (window-state-get, window--state-get-1): Don't deal
17987 with fixed-sizeness of windows. Simplify code.
17988
17989 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17990
17991 * window.el (window--state-get-1, window--state-put-2):
17992 Don't save and restore the mark.
17993
17994 2012-01-25 Chong Yidong <cyd@gnu.org>
17995
17996 * custom.el (custom-variable-p): Doc fix.
17997
17998 2012-01-25 Glenn Morris <rgm@gnu.org>
17999
18000 * dired.el (dired-goto-file): Handle some of the more common
18001 characters that `ls -b' escapes. (Bug#10596)
18002
18003 * progmodes/compile.el (compilation-next-error-function):
18004 Respect compilation-first-column in the "*compilation*" buffer.
18005 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18006
18007 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18008
18009 2012-01-24 Glenn Morris <rgm@gnu.org>
18010
18011 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18012
18013 2012-01-24 Julien Danjou <julien@danjou.info>
18014
18015 * color.el (color-rgb-to-hsl): Fix value computing.
18016 (color-hue-to-rgb): New function.
18017 (color-hsl-to-rgb): New function.
18018 (color-clamp, color-saturate-hsl, color-saturate-name)
18019 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18020 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18021
18022 2012-01-24 Glenn Morris <rgm@gnu.org>
18023
18024 * vc/vc-rcs.el (vc-rcs-create-tag):
18025 * vc/vc-sccs.el (vc-sccs-create-tag):
18026 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18027
18028 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18029
18030 * eshell/esh-util.el (eshell-read-hosts-file):
18031 Skip comment lines. (Bug#10549)
18032
18033 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18034
18035 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18036
18037 * subr.el (display-delayed-warnings): Doc fix.
18038 (collapse-delayed-warnings): New function to collapse identical
18039 adjacent warnings.
18040 (delayed-warnings-hook): Add it.
18041
18042 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18043
18044 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18045
18046 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18047 (tramp-default-user-alist): Don't add "pscp".
18048 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18049 property "login-as", if set. (Bug#10530)
18050
18051 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18052
18053 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18054 "plink1" and "psftp". (Bug#10530)
18055
18056 2012-01-21 Kenichi Handa <handa@m17n.org>
18057
18058 * international/mule-cmds.el (prefer-coding-system): Show a
18059 warning message if the default value of file-name-coding-system
18060 was not changed.
18061
18062 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18063
18064 * windmove.el (windmove-reference-loc):
18065 Fix windmove-reference-loc miscalculation.
18066
18067 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18068
18069 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18070 default unit.
18071
18072 2012-01-21 Glenn Morris <rgm@gnu.org>
18073
18074 * international/mule.el (auto-coding-alist): Add .tbz.
18075
18076 * files.el (local-enable-local-variables): Doc fix.
18077 (inhibit-local-variables-regexps): Rename from
18078 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18079 Doc fix. Add some extensions from auto-coding-alist.
18080 (inhibit-local-variables-suffixes):
18081 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18082 (inhibit-local-variables-p):
18083 New function, extracted from set-auto-mode-1.
18084 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18085 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18086 (hack-local-variables): Doc fix. Make the mode-only case
18087 respect enable-local-variables and friends.
18088 Respect inhibit-local-variables-regexps for file-locals, but
18089 not for directory-locals.
18090 (set-visited-file-name):
18091 Take account of inhibit-local-variables-regexps.
18092 Whether it applies may change as the file name is changed.
18093 * jka-cmpr-hook.el (jka-compr-install):
18094 * jka-compr.el (jka-compr-uninstall):
18095 Update for inhibit-first-line-modes-suffixes name change.
18096
18097 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18098
18099 * help-macro.el (make-help-screen): Temporarily restore original
18100 binding for minor-mode-map-alist (Bug#10454).
18101
18102 2012-01-19 Julien Danjou <julien@danjou.info>
18103
18104 * color.el (color-name-to-rgb): Use the white color to find the max
18105 color component value and return correctly computed values.
18106 (color-name-to-rgb): Add missing float conversion for max value.
18107
18108 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18109
18110 * window.el (window--state-get-1, window-state-get): Do not use
18111 special state value for window-persistent-parameters.
18112 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18113 (window--state-put-2): Reset all window parameters to nil before
18114 assigning values of persistent parameters.
18115
18116 2012-01-18 Alan Mackenzie <acm@muc.de>
18117
18118 Eliminate sluggishness and hangs in fontification of "semicolon
18119 deserts".
18120
18121 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18122 Change value 10000 -> 3000.
18123 (c-state-safe-place): Reformulate so it doesn't stack up an
18124 infinite number of wrong entries in c-state-nonlit-pos-cache.
18125 (c-determine-limit-get-base, c-determine-limit): New functions to
18126 determine backward search limits disregarding literals.
18127 (c-find-decl-spots): Amend commenting.
18128 (c-cheap-inside-bracelist-p): New function which detects "={".
18129
18130 * progmodes/cc-fonts.el
18131 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18132 backward search.
18133 (c-font-lock-declarations): Fix an occurrence of point being
18134 undefined. Check additionally for point being in a bracelist or
18135 near a macro invocation without a semicolon so as to avoid a
18136 fruitless time consuming search for a declarator. Give a more
18137 precise search limit for declarators using the new
18138 c-determine-limit.
18139
18140 2012-01-18 Glenn Morris <rgm@gnu.org>
18141
18142 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18143 (set-auto-mode): Doc fixes.
18144
18145 2012-01-17 Glenn Morris <rgm@gnu.org>
18146
18147 * isearch.el (search-nonincremental-instead): Fix doc typo.
18148
18149 * dired.el (dired-insert-directory): Handle newlines in directory name.
18150 (dired-build-subdir-alist): Unescape newlines in directory name.
18151
18152 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18153
18154 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18155 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18156 (tramp-action-terminal): Use it. (Bug#10530)
18157
18158 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18159
18160 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18161
18162 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18163
18164 * window.el (window-state-ignored-parameters): Remove variable.
18165 (window--state-get-1): Rename argument MARKERS to IGNORE.
18166 Handle persistent window parameters. Make copy of clone-of
18167 parameter only if requested. (Bug#10348)
18168 (window--state-put-2): Install a window parameter only if it has
18169 a non-nil value or an existing parameter shall be overwritten.
18170
18171 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18172
18173 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18174
18175 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18176
18177 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18178 don't pass the (nil) value of `upnode' to string-match.
18179
18180 2012-01-14 Chong Yidong <cyd@gnu.org>
18181
18182 * startup.el (command-line): Fix X resource class for cursorColor.
18183 Fix values recognized by the cursorBlink resource.
18184
18185 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18186
18187 * epg.el (epg--make-temp-file): Avoid permission race condition
18188 when running on old Emacs versions (bug#10403).
18189
18190 2012-01-14 Glenn Morris <rgm@gnu.org>
18191
18192 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18193
18194 2012-01-13 Alan Mackenzie <acm@muc.de>
18195
18196 Fix filling for when filladapt mode is enabled.
18197
18198 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18199 c-mask-paragraph, pass in `fill-paragraph' rather than
18200 `fill-region-as-paragraph'. (This is a reversion of a previous
18201 change.)
18202 * progmodes/cc-mode.el (c-basic-common-init):
18203 Make fill-paragraph-handle-comment buffer local and set it to nil.
18204
18205 2012-01-13 Glenn Morris <rgm@gnu.org>
18206
18207 * dired.el (dired-switches-escape-p): New function.
18208 (dired-insert-directory): Use dired-switches-escape-p.
18209 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18210
18211 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18212
18213 2012-01-12 Glenn Morris <rgm@gnu.org>
18214
18215 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18216 changes in adaptive-fill-regexp. (Bug#10276)
18217
18218 2012-01-11 Alan Mackenzie <acm@muc.de>
18219
18220 Fix Emacs bug #10463 - put `widen's around the critical spots.
18221
18222 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18223 widen around each invocation of c-state-pp-to-literal. Remove an
18224 unused let variable.
18225
18226 2012-01-11 Glenn Morris <rgm@gnu.org>
18227
18228 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18229 Doc fix.
18230
18231 2012-01-10 Chong Yidong <cyd@gnu.org>
18232
18233 * net/network-stream.el (network-stream-open-starttls):
18234 Avoid emitting a confusing error message when the server gives a bad
18235 response to the capability command.
18236
18237 2012-01-10 Glenn Morris <rgm@gnu.org>
18238
18239 * mail/unrmail.el (unrmail): Tweak previous change.
18240
18241 2012-01-09 Chong Yidong <cyd@gnu.org>
18242
18243 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18244
18245 2012-01-08 Alan Mackenzie <acm@muc.de>
18246
18247 Optimize font locking in long enum definitions.
18248
18249 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18250 arm to a cond form to handle enums.
18251 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18252 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18253
18254 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18255
18256 * files.el (move-file-to-trash): Preserve default file modes on error.
18257 (Bug#10401)
18258
18259 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18260
18261 * faces.el (set-face-attribute): Clarify the meaning of the nil
18262 frame (bug#10294).
18263
18264 * subr.el (with-selected-frame): Mention that the selected frame
18265 is restored (bug#9980).
18266
18267 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18268 (bug#9759).
18269
18270 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18271 (password-read): Don't autoload unused function.
18272
18273 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18274
18275 * progmodes/which-func.el (which-func-mode): Turn into a
18276 non-interactive function and mark as obsolete (bug#10428).
18277
18278 2012-01-06 Chong Yidong <cyd@gnu.org>
18279
18280 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18281 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18282 functions, along with 1 and -1.
18283
18284 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18285
18286 * time.el (display-time-load-average)
18287 (display-time-default-load-average): Doc fixes. See the thread
18288 starting at
18289 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18290 for the details.
18291
18292 2012-01-06 Glenn Morris <rgm@gnu.org>
18293
18294 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18295 has no messages. (Bug#10377)
18296
18297 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18298 than Info-edit. (Bug#10385)
18299
18300 * time.el (display-time-load-average, display-time-next-load-average):
18301 Doc fixes.
18302
18303 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18304 local setting of buffer-read-only to the input buffer. (Bug#10419)
18305
18306 * calendar/calendar.el (calendar-mode):
18307 Locally set scroll-margin to 0. (Bug#10379)
18308
18309 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18310
18311 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18312
18313 2012-01-05 Glenn Morris <rgm@gnu.org>
18314
18315 * eshell/em-unix.el (diff-no-select): Autoload it.
18316 (eshell/diff): Use diff-no-select. (Bug#10420)
18317
18318 2012-01-05 Chong Yidong <cyd@gnu.org>
18319
18320 * shell.el (shell-dynamic-complete-functions): Revert last change.
18321 (shell-command-completion-function): New function.
18322 (shell-completion-vars): Use it to implement
18323 shell-completion-execonly (Bug#10417).
18324
18325 * custom.el (enable-theme): Don't set custom-safe-themes.
18326
18327 * cus-theme.el (custom-theme-merge-theme):
18328 Ignore custom-enabled-themes and custom-safe-themes.
18329
18330 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18331
18332 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18333 first prompt in `sql-interacive-mode'.
18334 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18335 keywords.
18336 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18337 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18338 context of original buffer. Invoke `sql-login-hook'.
18339
18340 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18341
18342 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18343 letters in cite-prefix.
18344
18345 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18346
18347 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18348
18349 2012-01-03 Chong Yidong <cyd@gnu.org>
18350
18351 * shell.el (shell-dynamic-complete-functions):
18352 Put pcomplete-completions-at-point, so as to try
18353 comint-filename-completion first (Bug#10417).
18354
18355 2012-01-02 Richard Stallman <rms@gnu.org>
18356
18357 * battery.el (battery-status-function):
18358 Detect when to use battery-yeeloong-sysfs.
18359 (battery-echo-area-format): Add string for Yeeloong.
18360 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18361 (battery-yeeloong-sysfs): New function.
18362
18363 2012-01-02 Chong Yidong <cyd@gnu.org>
18364
18365 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18366 (dirtrack): Merge code for handling relative filenames in prompt
18367 from shell-dir-cookie-watcher.
18368 (dirtrack-debug-message): New arg to avoid excess format calls.
18369
18370 * shell.el (shell-dir-cookie-re): Variable deleted.
18371 (shell-dir-cookie-watcher): Function deleted.
18372 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18373 with dirtrack-mode.
18374
18375 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18376
18377 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18378 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18379 libgnutls-26.dll.
18380
18381 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18382
18383 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18384
18385 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18386
18387 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18388 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18389
18390 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18391
18392 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18393 also for alternative shells.
18394 (tramp-open-connection-setup-interactive-shell): Check, whether
18395 the shell is a busybox.
18396 (tramp-send-command): Don't suppress multiple prompts for
18397 busyboxes, it hurts.
18398
18399 2011-12-28 Chong Yidong <cyd@gnu.org>
18400
18401 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18402 (gdb-get-source-file): Move mode line update to
18403 gdb-get-source-file (Bug#10087).
18404
18405 2011-12-25 Chong Yidong <cyd@gnu.org>
18406
18407 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18408 gud-gdb-marker-filter without taking it as an argument.
18409 (gud-gdb-run-command-fetch-lines): Caller changed.
18410 (gud-gdb-completion-function): New variable.
18411 (gud-gdb-completion-at-point): Use it.
18412 (gud-gdb-completions-1): Split from gud-gdb-completions.
18413
18414 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18415 function as separate arguments.
18416 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18417 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18418 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18419 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18420 (gdb-stopped, def-gdb-auto-update-trigger)
18421 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18422 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18423 Callers changed.
18424 (gud-gdbmi-completions): New function.
18425 (gdb): Use it for generating the completion table.
18426
18427 2011-12-24 Alan Mackenzie <acm@muc.de>
18428
18429 Introduce a mechanism to widen the region used in context font
18430 locking. Use this to protect declarations from losing their contexts.
18431
18432 * progmodes/cc-langs.el (c-before-font-lock-functions):
18433 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18434 (c-before-context-fontification-functions): New defvar, a list of
18435 functions to be run just before context (etc.) font locking.
18436
18437 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18438 New, functionality extracted from
18439 c-neutralize-syntax-in-and-mark-CPP.
18440 (c-in-after-change-fontification): New variable.
18441 (c-after-change): Set c-in-after-change-fontification.
18442 (c-set-fl-decl-start): Rejig its interface, so it can be called
18443 from both after-change and context fontifying.
18444 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18445 New functions.
18446 (c-standard-font-lock-fontify-region-function): New variable.
18447 (c-font-lock-fontify-region): New function.
18448
18449 2011-12-24 Juri Linkov <juri@jurta.org>
18450
18451 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18452 (Bug#10348)
18453
18454 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18455
18456 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18457 existence of source file. (Bug#10325)
18458
18459 2011-12-23 Alan Mackenzie <acm@muc.de>
18460
18461 Fix unstable fontification inside templates.
18462
18463 * progmodes/cc-langs.el (c-before-font-lock-functions):
18464 Newly created from the singular version. The (c c++ objc) entry now
18465 additionally has c-set-fl-decl-start. The other languages (apart
18466 from AWK) have that as a single entry.
18467
18468 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18469 The functionality for "local" declarations has been extracted to
18470 c-set-fl-decl-start.
18471
18472 * progmodes/cc-mode.el (c-common-init, c-after-change):
18473 Changes due to pluralisation of c-before-font-lock-functions.
18474 (c-set-fl-decl-start): New function, extracted from
18475 c-font-lock-enclosing-decls and enhanced.
18476
18477 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18478
18479 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18480
18481 2011-12-22 Juri Linkov <juri@jurta.org>
18482
18483 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18484
18485 2011-12-22 Chong Yidong <cyd@gnu.org>
18486
18487 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18488
18489 2011-12-21 Drew Adams <drew.adams@oracle.com>
18490
18491 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18492
18493 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18494
18495 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18496
18497 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18498
18499 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18500 highlighting and support. Fix up comments for capitalization.
18501 (cfengine-mode-debug): New var.
18502 (cfengine3-mode): Change the modeline indicator to "CFE3".
18503 (cfengine3-font-lock-keywords): Improve defun highlighting.
18504 (cfengine2-actions): Rename from `cfengine-actions'.
18505 (cfengine2-font-lock-keywords): Rename from
18506 `cfengine-font-lock-keywords'.
18507 (cfengine2-imenu-expression): Rename from
18508 `cfengine-imenu-expression'.
18509 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18510 (cfengine2-beginning-of-defun): Rename from
18511 `cfengine-beginning-of-defun'.
18512 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18513 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18514 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18515 modeline indicator to "CFE2".
18516 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18517 (cfengine-mode-abbrevs): Mark obsolete.
18518
18519 2011-12-21 Chong Yidong <cyd@gnu.org>
18520
18521 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18522 filename argument.
18523
18524 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18525
18526 * window.el (window-normalize-buffer-to-display): Remove.
18527 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18528
18529 2011-12-19 Chong Yidong <cyd@gnu.org>
18530
18531 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18532 Don't signal an error in a predicate function; return non-nil.
18533 (vc-dir-mark-file): Move the error here.
18534 (vc-dir-mark-unmark): If acting on the region, keep going if one
18535 of the entries cannot be marked/unmarked.
18536 (vc-dir-mark-all-files): If current entry is a directory, mark
18537 only child files, as documented.
18538
18539 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18540
18541 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18542 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18543 addition.
18544
18545 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18546
18547 * term/ns-win.el (ns-get-selection-internal)
18548 (ns-store-selection-internal): Declare.
18549 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18550 Declare as obsolete.
18551 (ns-get-pasteboard, ns-paste-secondary):
18552 Use ns-get-selection-internal.
18553 (ns-set-pasteboard, ns-copy-including-secondary):
18554 Use ns-store-selection-internal.
18555
18556 2011-12-17 Chong Yidong <cyd@gnu.org>
18557
18558 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18559 (vc-deduce-fileset): Doc fix.
18560
18561 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18562
18563 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18564
18565 2011-12-13 Sam Steingold <sds@gnu.org>
18566
18567 * man.el (Man-getpage-in-background): When running under a
18568 window-system, ignore $MANWIDTH and $COLUMNS.
18569
18570 2011-12-15 Kenichi Handa <handa@m17n.org>
18571
18572 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18573 (setup-ethiopic-environment-internal): Comment out key-binding for
18574 ethio-toggle-punctuation.
18575
18576 2011-12-13 Alan Mackenzie <acm@muc.de>
18577
18578 Add the switch statement to AWK Mode.
18579
18580 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18581 "default" to the keywords regexp.
18582
18583 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18584 expression as the rest.
18585 (c-nonlabel-token-key): Allow string literals for AWK.
18586 Refactor for the other modes.
18587
18588 Large brace-block initialisation makes CC Mode slow: Fix.
18589 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18590 routines. Limit backward searching in c-font-lock-enclosing.decl.
18591
18592 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18593 pp-state and literal type in addition to the limits.
18594 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18595 (c-state-literal-at): Use the above new defun.
18596 (c-slow-in-literal, c-fast-in-literal): Remove.
18597 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18598
18599 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18600 being in a literal. Add a limit for backward searching.
18601
18602 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18603 c-slow-in-literal.
18604
18605 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18606
18607 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18608
18609 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18610
18611 * window.el (delete-other-windows): Use correct frame in call to
18612 window-with-parameter.
18613
18614 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18615
18616 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18617 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18618 (makefile-gmake-statements, makefile-makepp-statements):
18619 Use it and add new makepp keywords.
18620 (makefile-makepp-font-lock-keywords): Add new patterns.
18621 (makefile-match-function-end): Match new [...] and [[...]].
18622
18623 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18624
18625 * ses.el (ses-call-printer-return, ses-cell-property-get)
18626 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18627 (ses-create-cell-variable, ses-reset-header-string)
18628 (ses-cell-set-formula, ses-repair-cell-reference-all)
18629 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18630 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18631 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18632 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18633 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18634 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18635 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18636 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18637 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18638 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18639 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18640 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18641
18642 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18643
18644 * ses.el: The overall change is to add cell renaming, that is
18645 setting fancy names for cell symbols other than name matching
18646 "\\`[A-Z]+[0-9]+\\'" regexp .
18647 (ses-create-cell-variable): New defun.
18648 (ses-relocate-formula): Relocate formulas only for cells the
18649 symbols of which are not renamed, i.e. symbols whose names do not
18650 match regexp "\\`[A-Z]+[0-9]+\\'".
18651 (ses-relocate-all): Relocate values only for cells the symbols of
18652 which are not renamed.
18653 (ses-load): Create cells variables as the (ses-cell ...) are read,
18654 in order to check row col consistency with cell symbol name only
18655 for cells that are not renamed.
18656 (ses-replace-name-in-formula): New defun.
18657 (ses-rename-cell): New defun.
18658
18659 2011-12-11 Chong Yidong <cyd@gnu.org>
18660
18661 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18662 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18663
18664 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18665
18666 * window.el (other-window): Fix docstring.
18667
18668 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18669
18670 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18671 `from' or `to' address before taking its substring.
18672 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18673 encoded name is chopped in the middle of the encoded string, and
18674 thus displayed encoded.
18675
18676 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18677
18678 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18679
18680 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18681
18682 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18683 to use texinfo-update-node and commands that call it if the
18684 Texinfo file uses @node lines without next/prev/up pointers.
18685 Correct outdated description about texinfo-master-menu.
18686 (texinfo-all-menus-update, texinfo-master-menu)
18687 (texinfo-update-node, texinfo-every-node-update)
18688 (texinfo-multiple-files-update): Doc fix. Warn against updating
18689 all the @node lines.
18690 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18691 argument is numeric. Explain better in the doc string what the
18692 function really does.
18693 (texinfo-insert-master-menu-list): Improve the error message
18694 displayed if there's no menu in the Top node.
18695 (Bug#2975) See also this thread:
18696 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18697
18698 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18699
18700 * speedbar.el (speedbar-supported-extension-expressions):
18701 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18702
18703 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18704
18705 * printing.el (pr-mode-alist):
18706 * simple.el (filter-buffer-substring-functions)
18707 (completion-list-insert-choice-function):
18708 * window.el (window-with-parameter, window-atom-root)
18709 (window-sides-slots, window-size-fixed, window-min-delta)
18710 (window-max-delta, window--resize-mini-window)
18711 (window--resize-child-windows-normal, window-tree)
18712 (delete-other-windows, quit-window, split-window)
18713 (display-buffer-record-window, special-display-buffer-names)
18714 (special-display-regexps, special-display-popup-frame)
18715 (same-window-p, split-window-sensibly)
18716 (display-buffer-overriding-action, display-buffer-alist)
18717 (display-buffer-base-action, display-buffer, switch-to-buffer)
18718 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18719 (fit-window-to-buffer, recenter-positions)
18720 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18721 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18722 and remove unneeded backslashes in docstrings.
18723
18724 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18725
18726 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18727
18728 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18729 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18730 end in ".mk".
18731 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18732 when reading the makefile (bug#10116).
18733
18734 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18735
18736 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18737 (bug#10116).
18738
18739 2011-12-06 Glenn Morris <rgm@gnu.org>
18740
18741 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18742
18743 2011-12-06 Chong Yidong <cyd@gnu.org>
18744
18745 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18746
18747 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18748
18749 * textmodes/table.el (table-shorten-cell): Fix typo.
18750
18751 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18752
18753 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18754
18755 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18756
18757 * descr-text.el (describe-char): Fix display of strong
18758 right-to-left characters and directional embeddings and overrides.
18759
18760 * simple.el (what-cursor-position): Fix display of codepoints of
18761 strong right-to-left characters.
18762
18763 2011-12-05 Chong Yidong <cyd@gnu.org>
18764
18765 * faces.el (read-color): Doc fix.
18766
18767 2011-12-05 Glenn Morris <rgm@gnu.org>
18768
18769 * align.el (align--set-marker): Add doc-string.
18770 Don't try to move something that is not a marker. (Bug#10216)
18771
18772 2011-12-04 Glenn Morris <rgm@gnu.org>
18773
18774 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18775 overly zealous deletion of trailing whitespace.
18776
18777 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18778
18779 * server.el (server-delete-client): On Windows, do not try to delete
18780 the only terminal.
18781 (server-process-filter): On Windows, treat requests for a tty frame as
18782 if they were for a GUI frame if the running server is in GUI mode.
18783
18784 2011-12-03 Glenn Morris <rgm@gnu.org>
18785
18786 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18787
18788 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18789
18790 * electric.el: Streamline electric-indent's hook.
18791 (electric-indent-chars): Revert to simple list.
18792 (electric-indent-functions): New var.
18793 (electric-indent-post-self-insert-function): Use it.
18794
18795 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18796 there's no inferior buffer (bug#10196).
18797 (prolog-consult-compile): Don't use toggle-read-only.
18798
18799 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18800
18801 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18802 interrupt. (Bug#10187)
18803
18804 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18805
18806 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18807 (bug#9160).
18808
18809 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18810 (bug#10191).
18811
18812 2011-12-02 Juri Linkov <juri@jurta.org>
18813
18814 * info.el (Info-search): Display "end of manual" when Isearch
18815 reaches the end of single-file Info manual. (Bug#9918)
18816
18817 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18818
18819 * isearch.el (isearch-message-prefix): Run the input method part
18820 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18821
18822 2011-12-02 Juri Linkov <juri@jurta.org>
18823
18824 * isearch.el (isearch-occur): Use `word-search-regexp' for
18825 `isearch-word'.
18826 (isearch-search-and-update): Add condition for `isearch-word' and
18827 call `word-search-regexp'. (Bug#10145)
18828
18829 2011-12-01 Glenn Morris <rgm@gnu.org>
18830
18831 * eshell/em-hist.el (eshell-hist-initialize):
18832 Handle eshell-history-size nil and HISTSIZE set or unset.
18833 (eshell-history-file-name, eshell-history-size): Fix custom type.
18834
18835 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18836
18837 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18838
18839 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18840
18841 * progmodes/verilog-mode.el (verilog-pretty-expr):
18842 Rework verilog-pretty-expr to handle new assignment operators in system
18843 verilog, such as += *= and the like.
18844 (verilog-assignment-operator-re): Regular expression to find the
18845 assigment operator in a verilog assignment.
18846 (verilog-assignment-operation-re): Regular expression to find an
18847 assignment statement for pretty-expr.
18848 (verilog-in-attribute-p): Query returns true if point is in an
18849 attribute context; used to skip these for expression line up from
18850 pretty-expr.
18851 (verilog-in-parameter-p): Query returns true if point is in an
18852 parameter definition context; used to skip these for expression
18853 line up from pretty-expr.
18854 (verilog-in-parenthesis-p): Query returns true if point is in a
18855 parenthetical expression, specifically ( ) but not [ ] or { };
18856 used by pretty-expr.
18857 (verilog-just-one-space): If there is no space, don't add one.
18858 (verilog-get-lineup-indent-2): Specifically skip just attribute
18859 contexts for expression lineup, rather than skipping all
18860 parenthetical expressions.
18861 (verilog-calculate-indent): Fix comment, and fix indent.
18862 (verilog-do-indent): Indent declarations in lists (suggested by
18863 Joachim Lechner).
18864 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18865 skeleton items.
18866 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18867 by Alain Mellan).
18868
18869 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18870
18871 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18872 parameters with embedded comments. Reported by Ray Stevens.
18873 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18874 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18875 Reported by Tim Holt.
18876 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18877 instantiated by upper module causing wrong expansion until AUTOed a
18878 second time. Reported by K C Buckenmaier.
18879 (verilog-diff-auto): Fix showing .* as a difference when
18880 `verilog-auto-star-save' off. Reported by Dan Dever.
18881 (verilog-auto-reset, verilog-read-always-signals)
18882 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18883 temporary signals in reset list if
18884 verilog-auto-reset-blocking-in-non is nil, and match assignment
18885 style to each signal's assignment type, bug381.
18886 Reported by Thomas Esposito.
18887 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18888 (verilog-uvm-statement-re): Support UVM indentation and
18889 highlighting, with old OVM keywords only.
18890 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18891 Support AUTOTIEOFF creating non-wire data types.
18892 Suggested by Jonathan Greenlaw.
18893 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18894 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18895 (verilog-inject-sense, verilog-read-inst-pins)
18896 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18897 Fix mismatching parenthesis inside commented out code when deleting
18898 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18899 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18900 non-numeric vector width. Reported by Alex Reed.
18901 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18902 detecting signals with parameter widths. Reported by Alex Reed.
18903 (verilog-auto-delete-trailing-whitespace):
18904 With `verilog-auto-delete-trailing-whitespace' remove trailing
18905 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18906 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18907 Fix verilog-scan-cache corruption when running user AUTO expansion
18908 hooks that call indentation routines.
18909 (verilog-simplify-range-expression): Fix typo ignoring lower case
18910 identifiers.
18911 (verilog-delete-auto): Fix delete-autos to also remove user created
18912 automatics, as long as they start with AUTO.
18913 (verilog-batch-diff-auto, verilog-diff-auto)
18914 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18915 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18916 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18917 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18918 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18919 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18920 is disabled and its cache will get corrupt, causing AUTOS not to
18921 expand. Instead use only -quick functions.
18922 (verilog-scan-region): Fix scanning over escaped quotes.
18923 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18924 (verilog-re-search-backward-quick)
18925 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18926 related functions now ignore strings, to fix misparsing of strings
18927 with magic comments embedded in them.
18928 (verilog-read-auto-template):
18929 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18930 Reported by Brad Dobbie.
18931 (verilog-read-auto-template):
18932 Fix 'verilog-auto-inst-template-numbers' with comments.
18933 Reported by Brad Dobbie.
18934 (verilog-auto-inst, verilog-auto-inst-param)
18935 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18936 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18937 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18938 debugging templates without merge conflicts, bug357.
18939 Reported by Brad Dobbie.
18940 (verilog-read-auto-template):
18941 Fix verilog-auto-inst-template-numbers with multiple templates.
18942 Reported by Brad Dobbie.
18943 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18944 abbrevs so user won't be asked to save.
18945 (verilog-read-auto-lisp-present): Fix to start at beginning of
18946 buffer in case called outside of verilog-auto.
18947 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18948 to "X-2". Reported by Matthew Myers.
18949 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18950 all inputs from module templates. Reported by Leith Johnson.
18951 (verilog-module-inside-filename-p): Fix locating programs as with
18952 modules.
18953 (verilog-auto-inst-port): Fix vl-width expressions when using
18954 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18955 (verilog-decls-get-regs, verilog-decls-get-signals,
18956 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18957 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18958 verilog-read-decls): Combine reg and wire structures into one var
18959 structure to represent SystemVerilog concepts.
18960 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18961 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18962 (verilog-auto-wire-type, verilog-insert-definition):
18963 Add verilog-auto-wire-type and AUTOLOGIC to support using
18964 SystemVerilog "logic" keyword instead of "wire"/"reg".
18965 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18966 to declares outputs that also have assignments (presumably in an
18967 ifdef or generate if so there's not a driver conflict).
18968 Reported by Matthew Myers.
18969 (verilog-auto-declare-nettype, verilog-insert-definition):
18970 Add verilog-auto-declare-nettype to fix declarations using
18971 `default_nettype none. Reported by Julian Gorfajn.
18972 (verilog-read-always-signals-recurse, verilog-read-decls)
18973 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18974 malformed end statement, bug325. Reported by Joshua Wise and
18975 Andrew Drake.
18976 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18977 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18978 when expanding .* in interfaces, bug320.
18979 Reported by Pierre-David Pfister.
18980 (verilog-read-module-name): Fix import statements between module
18981 name and open parenthesis, bug317.
18982 Reported by Pierre-David Pfister.
18983 (verilog-simplify-range-expression): Fix simplification of
18984 multiplications inside AUTOWIRE connections, bug303.
18985 (verilog-auto-inst-port): Support parameter expansion in
18986 multidimensional arrays.
18987 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18988 after "assert property". Reported by Julian Gorfajn.
18989 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18990 with multiplication, bug303.
18991 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18992 Reported by Jan Frode Lonnum.
18993
18994 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18995
18996 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18997 (hfy-shell-file-name, hfy-shell):
18998 * international/fontset.el (x-decompose-font-name): Fix typos.
18999
19000 2011-11-29 Ken Brown <kbrown@cornell.edu>
19001
19002 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19003 (gdb-version): Remove defvar.
19004 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19005 (gdb-gud-context-command, gdb-non-stop-handler)
19006 (gdb-current-context-command, gdb-stopped): Use it.
19007 (gdb-init-1): Enable pretty printing here.
19008 (gdb-non-stop-handler): Don't enable pretty-printing here.
19009 Check to see if the target supports non-stop mode; if not, turn off
19010 non-stop mode. Use the following.
19011 (gdb-check-target-async): New defun.
19012 (gud-watch, gdb-stopped): Fix whitespace.
19013 (gdb-get-source-file): Don't try to display the source file if
19014 `gdb-main-file' is nil.
19015
19016 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19017
19018 * align.el: Try to generate fewer markers (bug#10047).
19019 (align--set-marker): New macro.
19020 (align-region): Use it.
19021
19022 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19023
19024 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19025
19026 2011-11-29 Chong Yidong <cyd@gnu.org>
19027
19028 * indent.el (indent-for-tab-command, indent-according-to-mode):
19029 Doc fix.
19030 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19031
19032 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19033
19034 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19035 aware of remote file names. (Bug#10124)
19036
19037 2011-11-29 Chong Yidong <cyd@gnu.org>
19038
19039 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19040
19041 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19042
19043 * files.el (find-file): Don't use force-same-window (bug#10144).
19044 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19045 use pop-to-buffer if the selected window can't be used.
19046 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19047
19048 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19049
19050 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19051 special-mode-map.
19052
19053 2011-11-28 Chong Yidong <cyd@gnu.org>
19054
19055 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19056
19057 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19058
19059 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19060 gdb-get-source-file-list on gdb-create-source-file-list.
19061
19062 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19063
19064 * whitespace.el (whitespace-newline): Use a different foreground
19065 color for 16-color light-background displays.
19066
19067 2011-11-24 Chong Yidong <cyd@gnu.org>
19068
19069 * window.el (display-buffer--special-action): Doc fix.
19070
19071 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19072
19073 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19074 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19075 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19076 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19077 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19078 (avl-tree-stack-first):
19079 * emacs-lisp/cconv.el (cconv--analyse-use):
19080 * net/gnutls.el (gnutls-negotiate): Fix typos.
19081
19082 2011-11-24 Glenn Morris <rgm@gnu.org>
19083
19084 * lpr.el (lpr-windows-system, lpr-lp-system):
19085 * mail/binhex.el (binhex-begin-line):
19086 * progmodes/grep.el (grep-history, grep-find-history):
19087 * textmodes/flyspell.el:
19088 * vc/pcvs-defs.el (cvs-global-menu):
19089 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19090 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19091 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19092
19093 * net/tls.el: Fix case of "GnuTLS".
19094
19095 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19096
19097 * version.el (emacs-build-system): Give it a doc-string.
19098
19099 2011-11-24 Juri Linkov <juri@jurta.org>
19100
19101 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19102
19103 2011-11-24 Glenn Morris <rgm@gnu.org>
19104
19105 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19106 if called on a non-mime message just toggle the headers. (Bug#8006)
19107
19108 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19109
19110 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19111 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19112 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19113 (allout-rebullet-heading, allout-open-sibtopic)
19114 (allout-toggle-current-subtree-encryption)
19115 (allout-toggle-subtree-encryption, allout-encrypt-string)
19116 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19117 (allout-distinctive-bullets-string, allout-auto-activation):
19118 * window.el (window-normalize-buffer-to-display):
19119 * progmodes/verilog-mode.el (verilog-batch-indent):
19120 * textmodes/bibtex.el (bibtex-field-braces-opt)
19121 (bibtex-field-strings-opt):
19122 * vc/cvs-status.el (cvs-tree-merge):
19123 Fix typos.
19124
19125 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19126
19127 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19128 `non-essential' to t, in order to avoid remote connections.
19129
19130 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19131
19132 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19133 On MS-DOS and MS-Windows, compare with loaddefs.el
19134 case-insensitively.
19135
19136 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19137
19138 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19139
19140 2011-11-23 Glenn Morris <rgm@gnu.org>
19141
19142 * paths.el (rmail-file-name): Reformat the doc-string so that it
19143 is picked up.
19144
19145 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19146 (rmail-auto-file): Ignore case in the "special" field names,
19147 as mail-fetch-field does for all others.
19148
19149 * mail/rmail.el (rmail-forward):
19150 * mail/rmailkwd.el (rmail-set-label):
19151 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19152 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19153
19154 * mail/rmail.el (rmail-current-message): Doc fix.
19155
19156 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19157
19158 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19159
19160 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19161
19162 2011-11-22 Glenn Morris <rgm@gnu.org>
19163
19164 * mail/rmailmm.el (test-rmail-mime-handler)
19165 (test-rmail-mime-bulk-handler)
19166 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19167
19168 2011-11-21 Juri Linkov <juri@jurta.org>
19169
19170 * calc/calc.el (calc-read-key-sequence):
19171 Let-bind `input-method-function' to nil. (Bug#10018)
19172
19173 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19174
19175 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19176 Tell the caller that the next line needs recomputation, even
19177 though it doesn't start a sexp (bug#10094).
19178
19179 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19180
19181 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19182
19183 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19184
19185 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19186 Use force-same-window.
19187
19188 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19189
19190 * descr-text.el (describe-char-unicode-data):
19191 * json.el (json-string-escape):
19192 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19193 (Footnote-unicode, Footnote-style-p):
19194 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19195
19196 2011-11-20 Chong Yidong <cyd@gnu.org>
19197
19198 * window.el (replace-buffer-in-windows): Restore interactive spec.
19199
19200 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19201
19202 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19203
19204 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19205 (byte-compile-global-not-obsolete-vars): New var.
19206 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19207 Use it.
19208 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19209
19210 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19211
19212 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19213 * progmodes/pascal.el (electric-pascal-equal):
19214 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19215 * xml.el (xml-substitute-special): Fix typos.
19216
19217 2011-11-20 Glenn Morris <rgm@gnu.org>
19218
19219 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19220 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19221 Doc fixes.
19222 (rmail-decode-mime-charset): Mark as obsolete.
19223
19224 * mail/rmailsum.el (rmail-message-regexp-p-1):
19225 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19226 Before using mime functions, check they are set. (Bug#10077)
19227
19228 2011-11-19 Juri Linkov <juri@jurta.org>
19229
19230 * info.el (Info-finder-find-node): Use `package--builtins' instead
19231 of `package-alist'. Use node names formed by the pattern "Keyword "
19232 and the keyword name.
19233
19234 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19235
19236 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19237
19238 2011-11-19 Juri Linkov <juri@jurta.org>
19239
19240 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19241 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19242 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19243 `old-history', `old-history-forward'. Add let-binding
19244 `window-selected'. Remove calls to `kill-buffer',
19245 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19246 before calling `Info-find-node', so `Info-find-node-2' will reread
19247 the Info file. Restore window positions only when `window-selected'
19248 is non-nil.
19249
19250 2011-11-19 Juri Linkov <juri@jurta.org>
19251
19252 * isearch.el (isearch-lazy-highlight-new-loop):
19253 Remove condition `(not isearch-error)'. (Bug#9918)
19254
19255 * misearch.el (multi-isearch-search-fun): Add condition
19256 `(not bound)' to ignore lazy-highlighting search.
19257 Add the search-failed message "end of multi" when the end of
19258 multi-sequence is reached. Uncapitalize the search-failed
19259 message "Repeat for next buffer".
19260
19261 * info.el (Info-search): Add the search-failed message
19262 "end of the manual" when the end of the manual is reached
19263 in Isearch mode.
19264
19265 2011-11-19 Juri Linkov <juri@jurta.org>
19266
19267 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19268 Use non-destructive `remove' instead of `delete' because
19269 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19270 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19271
19272 2011-11-19 Juri Linkov <juri@jurta.org>
19273
19274 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19275 to nil instead of binding `search-ring' and `regexp-search-ring'.
19276 (Bug#9185)
19277
19278 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19279
19280 * simple.el (line-move): Force movement by logical lines for any
19281 hscrolled window, not only when auto-hscroll-mode is on.
19282 (line-move-visual): Update doc string to that effect. (Bug#10076)
19283
19284 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19285
19286 * language/european.el (macintosh): Define as alias for mac-roman.
19287
19288 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19289
19290 * mail/rmailmm.el (rmail-mime-display-header)
19291 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19292 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19293 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19294 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19295 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19296 of a raw aref.
19297 (rmail-mime-entity-segment): To get past the tagline, move forward
19298 2 more lines, to account for the 2 empty lines that precede and
19299 follow the line with the buttons.
19300 (rmail-mime-update-tagline): Move one more line, to get past the
19301 empty line that follows the buttons in the tagline. (Bug#9520)
19302
19303 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19304
19305 * window.el (window-max-delta-1, window-min-delta-1)
19306 (window-min-size-1, window-state-get-1, window-state-put-1)
19307 (window-state-put-2): Use "window--" prefix.
19308
19309 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19312 (smie-warning-count): New var.
19313 (smie-set-prec2tab): Use it.
19314 (smie-bnf->prec2): Improve warnings. Add docstring.
19315 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19316 (smie-bnf--set-class): New function.
19317 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19318 corner case.
19319
19320 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19321 (compilation-error-properties, compilation-move-to-column):
19322 Handle compilation-first-column while in the target buffer.
19323
19324 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19325 Don't hardcode point-min==1.
19326
19327 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19328 (eshell-rewrite-for-command): Remove workaround.
19329 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19330 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19331 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19332
19333 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19334
19335 2011-11-17 Glenn Morris <rgm@gnu.org>
19336
19337 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19338 Ignore buffer-local generated-autoload-file if it is the same
19339 as the global value. (Bug#10049)
19340
19341 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19342
19343 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19344 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19345 (reftex-toc-previous-heading, reftex-toc-max-level)
19346 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19347 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19348 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19349 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19350 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19351 (reftex-toc-rename-label, reftex-toc-visit-location)
19352 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19353 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19354 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19355 leaving "*toc*" only for references to the buffer.
19356
19357 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19358
19359 * window.el (window-resize, delete-window, split-window):
19360 Replace window-splits by window-combination-resize.
19361 * cus-start.el (window-splits): Replace by window-combination-resize.
19362
19363 2011-11-17 Glenn Morris <rgm@gnu.org>
19364
19365 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19366 Make bash entry derive from sh entry, not shell entry.
19367
19368 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19369
19370 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19371 local file name.
19372
19373 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19374
19375 * menu-bar.el (menu-bar-file-menu):
19376 * printing.el (pr-ps-utility):
19377 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19378 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19379 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19380 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19381 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19382 (icalendar--convert-cyclic-to-ical)
19383 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19384 (icalendar--convert-ical-to-diary)
19385 (icalendar--convert-recurring-to-diary)
19386 (icalendar--convert-non-recurring-all-day-to-diary)
19387 (icalendar-import-format-sample):
19388 * progmodes/idlw-shell.el (idlwave-shell-mode):
19389 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19390 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19391 (vhdl-ps-print-init): Fix typos.
19392
19393 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19394
19395 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19396 FSF and collapse date sequence, obscure author/maintainer email address
19397 better, remove extra version line, track relocation of author's webpage.
19398
19399 * progmodes/python.el (python-pdbtrack-input-prompt)
19400 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19401 regular python pdb prompts. Adjustments shamelessly taken exactly as
19402 suggested in EmacsWiki page (tiny change):
19403 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19404
19405 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19406
19407 * expand.el (expand-pos, expand-index, expand-point):
19408 Remove redundant info from docstring.
19409 (expand-add-abbrevs): Doc fix.
19410 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19411 (expand-sample-perl-mode-expand-list): Fix typos.
19412
19413 * net/dbus.el (dbus-event-member-name):
19414 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19415 * term/pc-win.el (msdos-create-frame-with-faces):
19416 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19417
19418 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19419
19420 * window.el (split-window, window-state-get-1)
19421 (window-state-put-1, window-state-put-2): Rename occurrences of
19422 window-nest to window-combination-limit.
19423 * cus-start.el (window-nest): Rename to window-combination-limit.
19424
19425 2011-11-16 Chong Yidong <cyd@gnu.org>
19426
19427 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19428 regexp (Bug#10033).
19429
19430 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19431
19432 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19433 `completing-read' will remove *Completions* and will preserve
19434 current-buffer for us.
19435 (tmm-add-prompt): Users of *Completions* will always (re)set its
19436 major mode.
19437 (tmm-old-comp-map): Remove.
19438
19439 2011-11-16 Glenn Morris <rgm@gnu.org>
19440
19441 * mail/rmailedit.el: Require rmailmm when compiling.
19442 (rmail-old-mime-state): New declaration.
19443 (rmail-edit-current-message): If editing a mime message,
19444 edit the "raw" message from the mbox buffer.
19445 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19446
19447 2011-11-15 Glenn Morris <rgm@gnu.org>
19448
19449 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19450 which wasn't being used. Add optional arg to force given state.
19451 (rmail-mime): Add optional arg to force given state.
19452
19453 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19454
19455 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19456 * frame.el (display-mm-dimensions-alist):
19457 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19458 (outline-move-subtree-down):
19459 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19460 (newsticker--treeview-do-get-node):
19461 * net/quickurl.el (quickurl-list-buffer-name):
19462 * progmodes/dcl-mode.el (dcl-mode):
19463 * progmodes/gdb-mi.el (gdb-mapcar*):
19464 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19465
19466 2011-11-15 Glenn Morris <rgm@gnu.org>
19467
19468 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19469 in a boolean sense, so just make it a boolean, and fix the doc.
19470 (rmail-show-mime-function, rmail-mime-feature)
19471 (rmail-require-mime-maybe): Doc fixes.
19472 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19473
19474 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19475
19476 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19477
19478 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19479 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19480 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19481 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19482
19483 2011-11-15 Glenn Morris <rgm@gnu.org>
19484
19485 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19486 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19487 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19488 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19489 (rmail-mime, rmail-show-mime): Doc fixes.
19490
19491 * term/ns-win.el (mode-line-frame-identification):
19492 Leave it alone. (Bug#10051)
19493
19494 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19495
19496 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19497 Handle empty buffers. (Bug#9978)
19498
19499 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19500
19501 * international/mule.el (define-charset):
19502 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19503 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19504 * progmodes/verilog-mode.el (verilog-backward-token):
19505 * textmodes/ispell.el (lookup-words):
19506 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19507
19508 2011-11-14 Glenn Morris <rgm@gnu.org>
19509
19510 * progmodes/executable.el
19511 (executable-make-buffer-file-executable-if-script-p):
19512 Handle file-modes returning nil.
19513
19514 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19515 message - not necessary, and causes problems. (Bug#9831)
19516
19517 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19518
19519 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19520
19521 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19522 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19523 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19524
19525 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19526
19527 * window.el (window-resize, delete-window): Use window-splits
19528 variable instead of function.
19529 (window-state-get-1, window-state-put-2, window-state-put):
19530 Don't deal with windows' splits status.
19531
19532 2011-11-12 Glenn Morris <rgm@gnu.org>
19533
19534 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19535 (apropos-documentation): Doc fixes.
19536
19537 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19538
19539 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19540 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19541
19542 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19543
19544 * electric.el (electric-indent-post-self-insert-function): Make it
19545 possible for a char to only indent in some circumstances.
19546 (electric-indent-mode): Simplify.
19547
19548 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19549
19550 * window.el (windows-with-parameter): Remove unused function.
19551 (windows-at-side): Rename to window-at-side-list.
19552 (window-check, window-atom-check, window-atom-check-1)
19553 (window-side-check, window-size-ignore, window-size-fixed-1)
19554 (window-in-direction-2): Prefix with "window--".
19555 (window-tree-1): Rename to window--subtree, fix doc-string.
19556
19557 2011-11-11 Glenn Morris <rgm@gnu.org>
19558
19559 * subr.el (eval-after-load): If FILE is already loaded,
19560 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19561
19562 2011-11-10 Glenn Morris <rgm@gnu.org>
19563
19564 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19565 Call svn via vc-svn-command rather than vc-do-command.
19566 (vc-svn-command): Add --non-interactive. (Bug#9993)
19567 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19568
19569 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19570 Add toggle-read-only. (Bug#7292)
19571 * files.el (toggle-read-only): Mention that it should only
19572 be used interactively. (Bug#10006)
19573
19574 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19575
19576 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19577 Adjust regexp for OCaml warnings.
19578
19579 * electric.el (electric-pair-post-self-insert-function): Let user
19580 turn it off buffer-locally (bug#9932).
19581
19582 * progmodes/python.el (python-beginning-of-statement):
19583 Rewrite (bug#2703).
19584
19585 * progmodes/compile.el: Better handle TABs (bug#9749).
19586 (compilation-internal-error-properties)
19587 (compilation-next-error-function): Obey the target buffer's
19588 compilation-error-screen-columns.
19589
19590 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19591
19592 * progmodes/meta-mode.el: Remove obsolete comments.
19593 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19594 Fix typos in docstrings.
19595
19596 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19597
19598 * window.el (window-size-fixed-p): Rewrite doc-string.
19599 (window-resizable-p): Rename to window--resizable-p. Update callers.
19600 (window--resizable): New function. Make all callers of
19601 window-resizable call window--resizable instead.
19602 (window-resizable): Rewrite in terms of window--resizable.
19603
19604 2011-11-08 Glenn Morris <rgm@gnu.org>
19605
19606 * progmodes/delphi.el (delphi-mode-syntax-table):
19607 Let define-derived-mode define a proper syntax table. (Bug#9994)
19608
19609 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19610
19611 * window.el: Stay away from defsubst.
19612 (window-list-no-nils): Remove.
19613 (window-state-get-1, window-state-get): Use backquote instead.
19614
19615 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19616
19617 * emacs-lisp/find-func.el (find-function-read):
19618 Fix incorrect use of default argument in `completing-read'.
19619
19620 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19621
19622 * window.el (display-buffer-function, special-display-function):
19623 Mention display-buffer-record-window but do not mention
19624 help-setup parameter in doc-strings.
19625 (window-min-delta): Fix doc-string typo.
19626
19627 2011-11-08 Chong Yidong <cyd@gnu.org>
19628
19629 * window.el (window-total-height, window-total-width): Doc fix.
19630 (window-body-size): Move from C.
19631 (window-body-height, window-body-width): Move to C.
19632
19633 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19634
19635 * window.el: Make special-display like display-buffer-alist (bug#9532).
19636 (display-buffer--special-action): New function, morphed
19637 from display-buffer--special.
19638 (display-buffer): Use it to handle special-display-buffers at higher
19639 priority (just after display-buffer-alist).
19640 (display-buffer-fallback-action, display-buffer--other-frame-action)
19641 (pop-to-buffer-same-window): Remove display-buffer--special.
19642
19643 2011-11-07 Glenn Morris <rgm@gnu.org>
19644
19645 * calendar/cal-menu.el (cal-menu-set-date-title):
19646 Do nothing if not in a calendar. (Bug#9976)
19647
19648 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19649
19650 * files.el (find-file): Always use selected-window.
19651
19652 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19653
19654 * window.el (window-combinations): Make WINDOW argument
19655 mandatory. Rewrite doc-string.
19656 (walk-window-subtree, window-atom-check, window-min-delta)
19657 (window-max-delta, window--resize-this-window)
19658 (window--resize-root-window-vertically, window-tree)
19659 (balance-windows, window-state-put): Rewrite doc-strings as to
19660 not mention the term "subwindow".
19661 (window--resize-subwindows-skip-p): Rename to
19662 window--resize-child-windows-skip-p.
19663 (window--resize-subwindows-normal): Rename to
19664 window--resize-child-windows-normal.
19665 (window--resize-subwindows): Rename to
19666 window--resize-child-windows.
19667 (window-or-subwindow-p): Rename to window--in-subtree-p.
19668
19669 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19670
19671 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19672 Ensure that mbox format messages end in two newlines (Bug#9974).
19673
19674 2011-11-06 Chong Yidong <cyd@gnu.org>
19675
19676 * window.el (window-combination-p): Function deleted; its
19677 side-effect is not used in any existing code.
19678 (window-combinations, window-combined-p): Call window-*-child
19679 directly.
19680
19681 2011-11-05 Chong Yidong <cyd@gnu.org>
19682
19683 * window.el (window-valid-p): Rename from window-any-p.
19684 (window-size-ignore, window-state-get): Callers changed.
19685 (window-normalize-window): Rename from window-normalize-any-window.
19686 New arg LIVE-ONLY, replacing window-normalize-live-window.
19687 (window-normalize-live-window): Delete.
19688 (window-combination-p, window-combined-p, window-combinations)
19689 (walk-window-subtree, window-atom-root, window-min-size)
19690 (window-sizable, window-sizable-p, window-size-fixed-p)
19691 (window-min-delta, window-max-delta, window-resizable)
19692 (window-resizable-p, window-full-height-p, window-full-width-p)
19693 (window-current-scroll-bars, window-point-1, set-window-point-1)
19694 (window-at-side-p, window-in-direction, window-resize)
19695 (adjust-window-trailing-edge, maximize-window, minimize-window)
19696 (window-deletable-p, delete-window, delete-other-windows)
19697 (record-window-buffer, unrecord-window-buffer)
19698 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19699 (quit-window, split-window, window-state-put)
19700 (set-window-text-height, fit-window-to-buffer)
19701 (shrink-window-if-larger-than-buffer): Callers changed.
19702
19703 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19704
19705 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19706 rfc2047-decode-string.
19707 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19708 warnings.
19709
19710 * window.el (window-body-height, window-body-width): Mention in
19711 the doc string that the return values are in frame's canonical
19712 units. (Bug#9949)
19713
19714 2011-11-03 Alan Mackenzie <acm@muc.de>
19715
19716 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19717 change in cc-engine.el.
19718
19719 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19720
19721 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19722
19723 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19724
19725 * window.el (quit-window): Call unrecord-window-buffer after
19726 showing another buffer in the window. (Bug#9937)
19727 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19728
19729 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19730
19731 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19732 Accept status with more than 9 shelves. (Bug#9935)
19733 Reported by Colin D Bennett <colin@gibibit.com>.
19734
19735 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19736
19737 * help.el (with-help-window): Don't reference
19738 temp-buffer-show-specifiers in doc-string.
19739
19740 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19741
19742 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19743 menu-item.
19744
19745 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19746
19747 * whitespace.el: New version 13.2.2.
19748 (whitespace-newline-mode): Disable properly. Reported by Sarah
19749 <EmacsWiki>.
19750
19751 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19752
19753 * net/newst-treeview.el: Remove "Time-stamp".
19754 (newsticker--group-manage-orphan-feeds): Do not call
19755 newsticker--treeview-tree-update.
19756 (newsticker-treeview-update, newsticker-treeview):
19757 Call newsticker--treeview-tree-update if necessary.
19758
19759 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19760
19761 * window.el (window-iso-combination-p, window-iso-combined-p)
19762 (window-iso-combinations): Remove "iso-" infix.
19763 Suggested by Chong Yidong.
19764 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19765 (window-max-delta-1, window-resize, window--resize-siblings)
19766 (window--resize-this-window, adjust-window-trailing-edge)
19767 (split-window, balance-windows-1)
19768 (shrink-window-if-larger-than-buffer):
19769 * calendar/calendar.el (calendar-generate-window):
19770 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19771
19772 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19773
19774 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19775 in place (bug#9907).
19776 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19777 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19778 (eshell-structure-basic-command, eshell-rewrite-while-command)
19779 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19780 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19781 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19782 (eshell-do-pipelines-synchronously, eshell-eval-command):
19783 Use backquotes and prefer setq to set.
19784 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19785 (eshell-macrop): Use functionp.
19786 (eshell-do-eval): Handle multiple expressions in `while' body.
19787
19788 2011-10-30 Chong Yidong <cyd@gnu.org>
19789
19790 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19791 instead of set-mark (Bug#9810).
19792
19793 2011-10-30 Chong Yidong <cyd@gnu.org>
19794
19795 * window.el (split-window-below, split-window-right): Rename from
19796 split-window-above-each-other and split-window-side-by-side
19797 respectively. All callers changed.
19798 (split-window-sensibly, split-window-sensibly): Use them.
19799 (split-window-keep-point): Doc fix.
19800
19801 * isearch.el: Add isearch-scroll property to split-window-below
19802 and split-window-right.
19803
19804 * follow.el (follow-mode):
19805 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19806 * progmodes/ada-xref.el (ada-gdb-application):
19807 * emulation/vip.el (vip-buffer-in-two-windows):
19808 * image-dired.el (image-dired-dired-with-window-configuration):
19809 * dired-x.el (dired-do-find-marked-files):
19810 * dired.el (dired-pop-to-buffer):
19811 * bs.el (bs--show-with-configuration):
19812 * vc/emerge.el (emerge-setup-windows):
19813 * textmodes/two-column.el (2C-two-columns):
19814 * textmodes/reftex-toc.el (reftex-toc):
19815 * progmodes/gdb-mi.el (gdb-setup-windows):
19816 * progmodes/fortran.el (fortran-window-create):
19817 * net/newst-treeview.el (newsticker--treeview-window-init):
19818 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19819 * emulation/tpu-edt.el (tpu-gold-map):
19820 * emulation/crisp.el (crisp-mode-map):
19821 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19822
19823 2011-10-29 Chong Yidong <cyd@gnu.org>
19824
19825 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19826
19827 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19828
19829 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19830 forged Ispell output (Bug#7904).
19831
19832 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19833
19834 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19835
19836 * doc-view.el: Avoid ugly errors about not finding nil.
19837 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19838 (doc-view-dvipdf-program, doc-view-unoconv-program)
19839 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19840 Avoid nil or absolute file name as default value.
19841 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19842
19843 2011-10-28 Alan Mackenzie <acm@muc.de>
19844
19845 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19846
19847 2011-10-28 Alan Mackenzie <acm@muc.de>
19848
19849 Amend the handling of c-beginning/end-of-defun in nested declaration
19850 scopes.
19851
19852 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19853 cc-langs.el. Change it to a defcustom.
19854
19855 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19856 cc-vars.el.
19857
19858 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19859 Prevent "class foo : bar" being spuriously recognized as a label.
19860
19861 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19862 Add parameter `inclusive' (to include enclosing braces in the region).
19863 (c-widen-to-enclosing-decl-scope): New function.
19864 (c-while-widening-to-decl-block): New macro.
19865 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19866 outward for defun boundaries, and correspondingly change symbol
19867 `respect-enclosure' to `go-outward'.
19868 (c-declaration-limits): Change algorithm to report only the "innermost"
19869 defun's boundaries.
19870
19871 2011-10-28 Deniz Dogan <deniz@dogan.se>
19872
19873 * net/rcirc.el (rcirc-mode): Use hard newlines.
19874
19875 2011-10-28 Alan Mackenzie <acm@muc.de>
19876
19877 Amend to indent and fontify macros "which include their own semicolon"
19878 correctly, using the "virtual semicolon" mechanism.
19879
19880 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19881
19882 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19883 Recode to scan one line at a time rather than having \n and \r
19884 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19885 (c-forward-label): Amend for virtual semicolons.
19886 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19887
19888 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19889 of the new C macros.
19890
19891 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19892 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19893 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19894 (c-opt-cpp-macro-define): Make into a full language variable.
19895 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19896 AWK Mode (including \n, \r) removed, no longer needed.
19897
19898 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19899 Invoke c-make-macro-with-semi-re.
19900
19901 * progmodes/cc-vars.el (c-macro-with-semi-re):
19902 (c-macro-names-with-semicolon): New variables.
19903 (c-make-macro-with-semi-re): New function.
19904
19905 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19906
19907 * vc/log-edit.el: Fill empty field rather than adding new one.
19908 (log-edit-add-field): New function.
19909 (log-edit-insert-changelog): Use it.
19910
19911 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19912
19913 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19914
19915 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19916
19917 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19918 (gdb--check-interpreter): New function.
19919 (gdb): Use it.
19920
19921 2011-10-27 Glenn Morris <rgm@gnu.org>
19922
19923 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19924 (least-positive-float, least-negative-float)
19925 (least-positive-normalized-float, least-negative-normalized-float)
19926 (float-epsilon, float-negative-epsilon):
19927 Remove unnecessary declarations.
19928
19929 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19930 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19931 (least-positive-float, least-negative-float)
19932 (least-positive-normalized-float, least-negative-normalized-float)
19933 (float-epsilon, float-negative-epsilon): Add doc-strings,
19934 based on those in cl.texi.
19935
19936 * files.el (set-visited-file-name): If the major-mode changed,
19937 reload the local variables. (Bug#9796)
19938
19939 2011-10-27 Chong Yidong <cyd@gnu.org>
19940
19941 * subr.el (change-major-mode-after-body-hook): New hook.
19942 (run-mode-hooks): Run it.
19943
19944 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19945 Use change-major-mode-before-body-hook.
19946
19947 * simple.el (fundamental-mode):
19948 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19949 change introducing fundamental-mode-hook.
19950
19951 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19952
19953 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19954
19955 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19956
19957 * ido.el (ido-file-name-all-completions-1): Do not require
19958 tramp.el explicitly. (Bug#7583)
19959
19960 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19961
19962 * progmodes/octave-mod.el:
19963 * progmodes/octave-inf.el: Update maintainer.
19964
19965 2011-10-26 Chong Yidong <cyd@gnu.org>
19966
19967 * subr.el (with-wrapper-hook): Rewrite doc.
19968
19969 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19970
19971 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19972 filenames "/method:foo:". (Bug#9793)
19973
19974 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19975
19976 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19977 (bug#9865).
19978
19979 2011-10-24 Glenn Morris <rgm@gnu.org>
19980
19981 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19982
19983 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19984
19985 * notifications.el: Add the requirement of a running D-Bus session
19986 bus to the Commentary.
19987
19988 2011-10-24 Juri Linkov <juri@jurta.org>
19989
19990 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19991 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19992 (Bug#9364)
19993
19994 2011-10-24 Juri Linkov <juri@jurta.org>
19995
19996 * info.el (Info-following-node-name-re): Add newline to the list
19997 of allowed characters for leading space. (Bug#9824)
19998
19999 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20000
20001 * progmodes/octave-inf.el (inferior-octave-mode-map):
20002 Fix C-c C-h binding.
20003 * progmodes/octave-mod.el (octave-help): Remove.
20004
20005 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20006
20007 Sync with Tramp 2.2.3.
20008
20009 * net/tramp-cache.el (top): Pacify byte-compiler using
20010 `init-file-user' and `site-run-file'.
20011
20012 * net/trampver.el: Update release number.
20013
20014 2011-10-23 Chong Yidong <cyd@gnu.org>
20015
20016 * files.el (toggle-read-only): Remove obsolete comment about
20017 version control.
20018
20019 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20020 for toggle-read-only. Note that this hasn't called vc-next-action
20021 since 2008-05-02, though it wasn't documented at the time.
20022
20023 * vc/ediff-init.el (ediff-toggle-read-only-function):
20024 Use toggle-read-only.
20025
20026 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20027
20028 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20029 of c-parse-state.
20030
20031 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20032 correct faulty logical expression.
20033 (c-parse-state-state, c-record-parse-state-state):
20034 (c-replay-parse-state-state): New defvar/defuns.
20035 (c-debug-parse-state): Use new functions.
20036
20037 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20038
20039 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20040 last fix. Use window-in-direction correctly.
20041
20042 2011-10-21 Chong Yidong <cyd@gnu.org>
20043
20044 * progmodes/idlwave.el (idlwave-mode):
20045 * progmodes/vera-mode.el (vera-mode): No need to set
20046 require-final-newline; that's done in prog-mode.
20047 Suggested by Stefan Monnier.
20048
20049 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20050
20051 * mouse.el (mouse-drag-window-above)
20052 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20053 (mouse-drag-mode-line-1, mouse-drag-header-line)
20054 (mouse-drag-vertical-line-rightward-window): Remove.
20055 (mouse-drag-line): New function.
20056 (mouse-drag-mode-line, mouse-drag-header-line)
20057 (mouse-drag-vertical-line): Call mouse-drag-line.
20058 * window.el (window-at-side-p, windows-at-side): New functions.
20059
20060 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20061
20062 * tar-mode.el (tar-grind-file-mode):
20063 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20064
20065 2011-10-21 Chong Yidong <cyd@gnu.org>
20066
20067 * progmodes/idlwave.el (idlwave-mode):
20068 * progmodes/vera-mode.el (vera-mode):
20069 Use mode-require-final-newline.
20070
20071 2011-10-20 Glenn Morris <rgm@gnu.org>
20072
20073 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20074
20075 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20076
20077 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20078
20079 2011-10-20 Chong Yidong <cyd@gnu.org>
20080
20081 * emulation/cua-base.el (cua-mode):
20082 * mail/footnote.el (footnote-mode):
20083 * mail/mailabbrev.el (mail-abbrevs-mode):
20084 * net/xesam.el (xesam-minor-mode):
20085 * progmodes/bug-reference.el (bug-reference-mode):
20086 * progmodes/cap-words.el (capitalized-words-mode):
20087 * progmodes/compile.el (compilation-minor-mode)
20088 (compilation-shell-minor-mode):
20089 * progmodes/gud.el (gud-tooltip-mode):
20090 * progmodes/hideif.el (hide-ifdef-mode):
20091 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20092 * progmodes/subword.el (subword-mode):
20093 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20094 * progmodes/which-func.el (which-function-mode):
20095 * term/tvi970.el (tvi970-set-keypad-mode):
20096 * term/vt100.el (vt100-wide-mode):
20097 * textmodes/flyspell.el (flyspell-mode):
20098 * textmodes/ispell.el (ispell-minor-mode):
20099 * textmodes/nroff-mode.el (nroff-electric-mode):
20100 * textmodes/paragraphs.el (use-hard-newlines):
20101 * textmodes/refill.el (refill-mode):
20102 * textmodes/reftex.el (reftex-mode):
20103 * textmodes/rst.el (rst-minor-mode):
20104 * textmodes/sgml-mode.el (html-autoview-mode)
20105 (sgml-electric-tag-pair-mode):
20106 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20107 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20108 * emulation/crisp.el (crisp-mode):
20109 * emacs-lisp/eldoc.el (eldoc-mode):
20110 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20111 minor mode behavior.
20112
20113 2011-10-19 Juri Linkov <juri@jurta.org>
20114
20115 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20116 the list of hard-coded chars with escape-glyph face.
20117
20118 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20119
20120 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20121
20122 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20123
20124 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20125 running process.
20126
20127 2011-10-19 Glenn Morris <rgm@gnu.org>
20128
20129 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20130 Ignore ignored files. (Bug#9726)
20131
20132 2011-10-19 Chong Yidong <cyd@gnu.org>
20133
20134 Doc fix for minor modes, stating that an omitted argument enables
20135 the mode unconditionally when called from Lisp.
20136
20137 * abbrev.el (abbrev-mode):
20138 * allout.el (allout-mode):
20139 * autoinsert.el (auto-insert-mode):
20140 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20141 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20142 (global-auto-revert-mode):
20143 * battery.el (display-battery-mode):
20144 * composite.el (global-auto-composition-mode)
20145 (auto-composition-mode):
20146 * delsel.el (delete-selection-mode):
20147 * desktop.el (desktop-save-mode):
20148 * dired-x.el (dired-omit-mode):
20149 * dirtrack.el (dirtrack-mode):
20150 * doc-view.el (doc-view-minor-mode):
20151 * double.el (double-mode):
20152 * electric.el (electric-indent-mode, electric-pair-mode):
20153 * emacs-lock.el (emacs-lock-mode):
20154 * epa-hook.el (auto-encryption-mode):
20155 * follow.el (follow-mode):
20156 * font-core.el (font-lock-mode):
20157 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20158 * help.el (temp-buffer-resize-mode):
20159 * hilit-chg.el (highlight-changes-mode)
20160 (highlight-changes-visible-mode):
20161 * hi-lock.el (hi-lock-mode):
20162 * hl-line.el (hl-line-mode, global-hl-line-mode):
20163 * icomplete.el (icomplete-mode):
20164 * ido.el (ido-everywhere):
20165 * image-file.el (auto-image-file-mode):
20166 * image-mode.el (image-minor-mode):
20167 * iswitchb.el (iswitchb-mode):
20168 * jka-cmpr-hook.el (auto-compression-mode):
20169 * linum.el (linum-mode):
20170 * longlines.el (longlines-mode):
20171 * master.el (master-mode):
20172 * mb-depth.el (minibuffer-depth-indicate-mode):
20173 * menu-bar.el (menu-bar-mode):
20174 * minibuf-eldef.el (minibuffer-electric-default-mode):
20175 * mouse-sel.el (mouse-sel-mode):
20176 * msb.el (msb-mode):
20177 * mwheel.el (mouse-wheel-mode):
20178 * outline.el (outline-minor-mode):
20179 * paren.el (show-paren-mode):
20180 * recentf.el (recentf-mode):
20181 * reveal.el (reveal-mode, global-reveal-mode):
20182 * rfn-eshadow.el (file-name-shadow-mode):
20183 * ruler-mode.el (ruler-mode):
20184 * savehist.el (savehist-mode):
20185 * scroll-all.el (scroll-all-mode):
20186 * scroll-bar.el (scroll-bar-mode):
20187 * server.el (server-mode):
20188 * shell.el (shell-dirtrack-mode):
20189 * simple.el (auto-fill-mode, transient-mark-mode)
20190 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20191 (line-number-mode, column-number-mode, size-indication-mode)
20192 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20193 * strokes.el (strokes-mode):
20194 * time.el (display-time-mode):
20195 * t-mouse.el (gpm-mouse-mode):
20196 * tool-bar.el (tool-bar-mode):
20197 * tooltip.el (tooltip-mode):
20198 * type-break.el (type-break-mode-line-message-mode)
20199 (type-break-query-mode):
20200 * view.el (view-mode):
20201 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20202 (global-whitespace-mode, global-whitespace-newline-mode):
20203 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20204
20205 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20206 Fix autogenerated docstring.
20207
20208 2011-10-19 Juri Linkov <juri@jurta.org>
20209
20210 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20211 by checking environment variables "DESKTOP_SESSION" and
20212 "XDG_CURRENT_DESKTOP". (Bug#9779)
20213
20214 2011-10-19 Juri Linkov <juri@jurta.org>
20215
20216 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20217 (browse-url-chromium-program, browse-url-chromium-arguments):
20218 New defcustoms.
20219 (browse-url-default-browser): Check for `browse-url-chromium' and
20220 call `browse-url-chromium-program'.
20221 (browse-url-chromium): New command. (Bug#9779)
20222
20223 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20224
20225 * facemenu.el (list-colors-duplicates): On Windows, detect more
20226 duplicates by assuming that only colors matching "^System" are
20227 special "system colors". (Bug#9722)
20228
20229 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20230
20231 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20232 to distinguish the author from the committer.
20233
20234 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20235
20236 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20237
20238 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20239
20240 * international/mule.el (sgml-html-meta-auto-coding-function):
20241 Add support for detecting encoding in HTML5 specified only as
20242 <meta charset="UTF-8">. Implementation just makes http-equiv and
20243 content-type parts from HTML4 encoding string optional. (Bug#9716)
20244
20245 2011-10-18 Glenn Morris <rgm@gnu.org>
20246
20247 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20248
20249 2011-10-18 Chong Yidong <cyd@gnu.org>
20250
20251 * faces.el (cursor): Doc fix.
20252
20253 2011-10-17 Chong Yidong <cyd@gnu.org>
20254
20255 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20256
20257 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20258
20259 * dirtrack.el (dirtrack): Support shell buffers with path
20260 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20261
20262 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20263
20264 * json.el: Bump version to 1.3 and note change in History.
20265 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20266
20267 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20268
20269 * comint.el (comint-insert-input, comint-send-input)
20270 (comint-get-old-input-default, comint-backward-matching-input)
20271 (comint-next-prompt): Use nil instead of `input' for field property of
20272 past user input (bug#114).
20273
20274 * minibuffer.el (completion--replace): Inherit surrounding properties
20275 (bug#114).
20276 (minibuffer-complete-and-exit): Use it.
20277
20278 * comint.el (comint--table-subvert): Quote the all-completions output
20279 (bug#9160).
20280
20281 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20282
20283 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20284
20285 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20286 window on right of selected. (Bug#9350) Reword other window
20287 entries and separate them from frame entries.
20288
20289 2011-10-15 Glenn Morris <rgm@gnu.org>
20290
20291 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20292 Doc fixes.
20293
20294 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20295
20296 * net/network-stream.el (network-stream-open-starttls):
20297 Improve detection of failure due to lack of TLS support.
20298
20299 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20300 putting the input text in front and in bold.
20301
20302 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20303
20304 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20305
20306 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20307 empty buffer.
20308
20309 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20310 unread-command-events rather than pushing yet-another event.
20311
20312 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20313
20314 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20315 the explanation of the possible choices. Make the options passed
20316 to completing-read shorter.
20317
20318 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20319
20320 * textmodes/flyspell.el (flyspell-large-region): Make sure
20321 extended character mode is used if defined (Bug#1339).
20322
20323 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20324
20325 * simple.el (what-cursor-position): Fix the display of the
20326 character info for LRE, LRO, RLE, and RLO characters by appending
20327 an invisible PDF.
20328
20329 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20330
20331 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20332 even in case of error; add debug spec; simplify data flow.
20333 (with-timeout-handler): Remove.
20334
20335 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20336
20337 Fix Bug#6019, Bug#9315.
20338
20339 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20340 complete `buffer-file-name', the local file name part could look
20341 remotely (for example on VMS).
20342
20343 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20344 `tramp-run-real-handler'.
20345 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20346 already quoted by '"'.
20347
20348 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20349 Let `file-name-handler-alist' be nil, the local file name part
20350 could look remotely (for example on VMS).
20351
20352 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20353
20354 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20355 from here...
20356 (flyspell-post-command-hook): ...to here.
20357
20358 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20359
20360 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20361 if not needed.
20362 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20363 using completion. Protect against "slow" callers.
20364 Remove the "message hack".
20365
20366 2011-10-11 Juri Linkov <juri@jurta.org>
20367
20368 * isearch.el (isearch-lazy-highlight-word): New variable.
20369 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20370 Use it. (Bug#9727)
20371
20372 2011-10-11 Glenn Morris <rgm@gnu.org>
20373
20374 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20375 like f90-previous-statement does.
20376
20377 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20378
20379 * eshell/eshell.el (eshell-command): History should be saved
20380 only in interactive use, to avoid error.
20381
20382 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20383
20384 * minibuffer.el (completion-file-name-table): Fix last change,
20385 i.e. ignore normal errors but not the other ones.
20386
20387 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20388
20389 * window.el (special-display-buffer-names)
20390 (special-display-regexps): Remove some remnants of earlier
20391 changes from doc-strings.
20392 (quit-windows-on): New function.
20393
20394 * vc/vc.el (vc-revert, vc-rollback):
20395 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20396 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20397 (Bug#6183) (Bug#7074) (Bug#7447)
20398
20399 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20400
20401 * window.el (frame-auto-hide-function): Add version tag.
20402 (Bug#9699)
20403
20404 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20405
20406 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20407 condition.
20408
20409 2011-10-09 Leo Liu <sdl.web@gmail.com>
20410
20411 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20412 (Bug#9701)
20413
20414 2011-10-08 Glenn Morris <rgm@gnu.org>
20415
20416 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20417 before the first code statement zero indent. (Bug#9690)
20418
20419 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20420
20421 * simple.el (count-words-region): Always count in the region.
20422 Report the number of lines and characters too.
20423 (count-words): New command, which counts in the buffer if the
20424 region is inactive, as count-words-region used to.
20425 (count-words--message): New function. Handle plurals.
20426 (count-lines-region): Make it an alias for count-words-region.
20427
20428 * bindings.el (esc-map): Replace count-lines-region with
20429 count-words-region.
20430
20431 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20432
20433 * window.el (window--delete): Delete dedicated frame
20434 unconditionally when argument KILL is non-nil. (Bug#9699)
20435 (switch-to-buffer): Fix doc-string typo.
20436
20437 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20438
20439 * eshell/eshell.el (eshell-command): Avoid using hooks.
20440
20441 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20442
20443 * bindings.el ([M-left],[M-right]): Bind to left-word and
20444 right-word respectively.
20445
20446 2011-10-07 Glenn Morris <rgm@gnu.org>
20447
20448 * cus-start.el (debug-on-quit): Fix custom type.
20449
20450 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20451
20452 * subr.el (define-key-after): Clarify that the function is not
20453 useful for non-menu keymaps.
20454
20455 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20456
20457 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20458
20459 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20460 in current minibuffer (Fix bug with recursive minibuffers).
20461
20462 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20463
20464 * progmodes/gdb-mi.el (gdb): Doc fix.
20465
20466 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20467
20468 * window.el (frame-auto-hide-function): New option replacing
20469 frame-auto-delete. Suggested by Stefan Monnier.
20470 (window--delete): Call frame-auto-hide-function instead of
20471 investigating frame-auto-delete.
20472 (window-point-1, set-window-point-1): New functions.
20473 (window-in-direction, record-window-buffer, window-state-get-1)
20474 (display-buffer-record-window): Use window-point-1 instead of
20475 window-point.
20476 (set-window-buffer-start-and-point): Use set-window-point-1.
20477
20478 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20479
20480 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20481
20482 2011-10-05 Glenn Morris <rgm@gnu.org>
20483
20484 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20485 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20486
20487 2011-10-05 Leo Liu <sdl.web@gmail.com>
20488
20489 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20490 works with buffer object.
20491
20492 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20493
20494 * mpc.el (mpc-tool-bar-map): Add labels.
20495
20496 2011-10-04 Glenn Morris <rgm@gnu.org>
20497
20498 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20499
20500 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20501
20502 * window.el (window--delete): New function.
20503 (frame-auto-delete): Resuscitate option.
20504 (bury-buffer, replace-buffer-in-windows)
20505 (quit-window): Rewrite using window--delete.
20506 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20507 Pass display-buffer-mark-dedicated to window--display-buffer-2
20508 (Bug#9639).
20509
20510 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20511
20512 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20513 returns a list (bug#9554). Add remote file name completion.
20514 * comint.el (comint--table-subvert): Curry and get quote&unquote
20515 functions as arguments.
20516 (comint--complete-file-name-data): Adjust call accordingly.
20517 * pcomplete.el (pcomplete--table-subvert): Remove.
20518 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20519
20520 * minibuffer.el (completion-table-case-fold): Use currying.
20521 (completion--styles-type, completion--cycling-threshold-type):
20522 New constants.
20523 (completion-styles, completion-category-overrides)
20524 (completion-cycle-threshold): Use them.
20525 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20526 completion-table-case-fold.
20527
20528 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20529
20530 * minibuffer.el (completion-category-overrides): Fix type of styles
20531 and add more user friendly tags (bug#9660).
20532
20533 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20534
20535 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20536 (mule-input-method-string): New widget.
20537 (default-input-method, language-info-custom-alist): Use it.
20538
20539 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20540
20541 * pcomplete.el: Require comint.
20542 (pcomplete--common-suffix): Remove.
20543 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20544 (pcomplete--table-subvert): Sync with comint--table-subvert.
20545 (pcomplete--entries): Use comint-completion-file-name-table.
20546 * comint.el (comint-unquote-filename): Simplify.
20547 (comint-completion-file-name-table): New function (bug#9616).
20548 (comint--complete-file-name-data): Use it.
20549
20550 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20551 (pcmpl-gnu-tar-buffer): Remove.
20552 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20553 around. Make sure pcomplete-suffix-list is only changed temporarily.
20554 Don't look inside the tar's file if it's too large.
20555
20556 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20557
20558 * cus-edit.el (custom-mode-map):
20559 * epa.el (epa-key-list-mode-map):
20560 * man.el (Man-mode-map):
20561 * startup.el (splash-screen-keymap):
20562 * simple.el (special-mode-map): Use scroll-up-command and
20563 scroll-down-command.
20564
20565 * progmodes/idlw-help.el (idlwave-help-mode-map):
20566 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20567 * net/newst-plainview.el (newsticker-mode-map):
20568 * emulation/ws-mode.el (wordstar-mode-map):
20569 * emulation/vi.el (vi-com-map):
20570 * calc/calc-graph.el (calc-graph-show-dumb):
20571 * term/sun.el (terminal-init-sun):
20572 * term/ns-win.el (global-map):
20573 * progmodes/grep.el (grep-mode-map):
20574 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20575 * mail/rmail.el (rmail-mode-map):
20576 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20577
20578 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20579 custom-safe-themes as special.
20580
20581 2011-10-01 Julien Danjou <julien@danjou.info>
20582
20583 * notifications.el (notifications-notify): Fix docstring.
20584
20585 2011-10-01 Per Starbäck <per@starback.se>
20586
20587 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20588
20589 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20590
20591 * startup.el (command-line-1): Fix last fix by inserting
20592 initial-scratch-message into *scratch* before displaying it.
20593 (Bug#9605) and (Bug#9636)
20594
20595 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20596
20597 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20598 window is hscrolled, move by logical lines. (Bug#9607)
20599 (line-move-visual): Update the doc string to the above effect.
20600
20601 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20602
20603 * window.el (display-buffer-record-window): When WINDOW is the
20604 selected window use `point' instead of `window-point'. (Bug#9626)
20605
20606 * startup.el (command-line-1): Use insert-before-markers when
20607 inserting initial-scratch-message. (Bug#9605)
20608
20609 * help.el (help-window): Remove variable.
20610
20611 2011-09-29 Glenn Morris <rgm@gnu.org>
20612
20613 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20614
20615 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20616
20617 * descr-text.el (describe-char-categories): Accept category
20618 descriptions more than one line long.
20619
20620 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20621
20622 * simple.el (delete-trailing-whitespace): Fix last change.
20623
20624 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20625 Don't confuse "y => 3" as the beginning of a `y' operation.
20626
20627 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20628 object has more than 4 slots (bug#9613).
20629
20630 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20631
20632 * subr.el (with-output-to-temp-buffer):
20633 * net/quickurl.el (quickurl, quickurl-browse-url):
20634 Fix typos in docstrings.
20635
20636 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20637
20638 * minibuffer.el (completion-styles)
20639 (completion-category-overrides): Cross reference each other in doc
20640 strings.
20641
20642 2011-09-27 Glenn Morris <rgm@gnu.org>
20643
20644 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20645 to split-string. (Bug#9606)
20646
20647 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20648
20649 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20650 (bug#9615).
20651
20652 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20653
20654 * emacs-lisp/package.el (list-packages): Fix echo area message.
20655
20656 2011-09-27 Leo Liu <sdl.web@gmail.com>
20657
20658 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20659
20660 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20661
20662 * net/dbus.el (dbus-unregister-object): Don't release services for
20663 registered signals. (Bug#9581)
20664
20665 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20666
20667 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20668 function that picks between cfengine 2 and 3 support
20669 automatically. Update docs accordingly.
20670
20671 2011-09-22 Kenichi Handa <handa@m17n.org>
20672
20673 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20674 ZERO.
20675 (indian-itrans-v5-table-for-tamil): New variable.
20676 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20677
20678 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20679
20680 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20681 that's true if the current command involved collapsing of text.
20682 It's reset to false at the beginning of the next command.
20683 (allout-post-command-business): Move the cursor to the beginning
20684 of entry if the cursor is hidden and collapsing activity just
20685 happened.
20686
20687 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20688
20689 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20690 tracking (Bug#9541).
20691
20692 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20693
20694 * net/newst-reader.el (newsticker-html-renderer)
20695 (newsticker-show-news): Automatically load html rendering package
20696 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20697 because w3m-fill-column is let-bound" and the error "Symbol's value
20698 as variable is void: w3m-fill-column".
20699
20700 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20701
20702 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20703 Release services only if they are defined. (Bug#9581)
20704
20705 2011-09-23 Richard Stallman <rms@gnu.org>
20706
20707 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20708 distinguish start of paragraph from start of its text.
20709
20710 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20711
20712 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20713 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20714 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20715
20716 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20717
20718 * international/mule-diag.el (mule-diag): Insert a newline after
20719 each fontset description.
20720
20721 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20722
20723 * simple.el (delete-trailing-whitespace):
20724 Document last change; simplify.
20725
20726 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20727
20728 * simple.el (delete-trailing-whitespace): Also delete
20729 extra newlines at the end of the buffer.
20730
20731 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20732 (picture-newline): Use forward-line so as to ignore fields.
20733
20734 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20735
20736 * subr.el (with-wrapper-hook): Fix edebug spec.
20737
20738 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20739
20740 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20741 (bug#4538).
20742
20743 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20744
20745 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20746 Fix nasty bug using wrong cached values.
20747
20748 2011-09-23 Alan Mackenzie <acm@muc.de>
20749
20750 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20751
20752 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20753
20754 * window.el (pop-to-buffer): Ensure right window is selected if we
20755 chose another frame.
20756
20757 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20758
20759 * simple.el (what-cursor-position): Use get-char-property-change
20760 and next-single-char-property-change, to be able to show display
20761 properties that come from overlays as well as text properties.
20762
20763 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20764
20765 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20766
20767 * cmuscheme.el (run-scheme, switch-to-scheme):
20768 * cus-edit.el (customize-group, custom-buffer-create)
20769 (customize-browse):
20770 * info.el (info):
20771 * shell.el (shell):
20772 * mail/sendmail.el (mail):
20773 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20774
20775 2011-09-22 Richard Stallman <rms@gnu.org>
20776
20777 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20778 move back only to line beg, don't move back over blank lines.
20779
20780 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20781
20782 * files.el (copy-directory): Set directory attributes only in case
20783 they could be retrieved from the source directory. (Bug#9565)
20784
20785 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20786
20787 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20788 (hs-find-block-beginning, hs-hide-level-recursive):
20789 Ignore strings as well as comments. (Bug#9502)
20790
20791 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20792
20793 * progmodes/sql.el (sql-comint-postgres):
20794 Convert port number to a string. (Bug#9566)
20795
20796 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20797
20798 * window.el (quit-window): Undedicate window when switching to
20799 previous buffer. Reported by Thierry Volpiatto
20800 <thierry.volpiatto@gmail.com>.
20801 (special-display-popup-frame): When popping up a new frame reset
20802 its previous buffers to nil. Simplify code.
20803
20804 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20805
20806 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20807 and process filter, as done also in `shell-command'.
20808
20809 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20810
20811 * window.el (set-window-buffer-start-and-point):
20812 Call set-window-start with NOFORCE argument t.
20813 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20814 (quit-window): Reword doc-string. Handle new format of
20815 quit-restore parameter. Don't delete window if it has a
20816 previous buffer we can show instead of the present one.
20817 (display-buffer-record-window): Rewrite using a new format for
20818 the quit-restore window parameter
20819 (special-display-popup-frame, display-buffer-same-window)
20820 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20821 (display-buffer-pop-up-window, display-buffer-use-some-window):
20822 Adapt symbol passed to display-buffer-record-window.
20823 * help.el (help-window-setup): Handle new format of quit-restore
20824 parameter.
20825
20826 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20827
20828 * faces.el (face-list): Fix docstring (bug#9564).
20829
20830 * window.el (display-buffer--action-function-custom-type):
20831 Don't include internal functions in the Custom interface.
20832
20833 2011-09-20 Juri Linkov <juri@jurta.org>
20834
20835 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20836 (Info-forward-node, Info-backward-node, Info-next-preorder)
20837 (Info-last-preorder): Use it. (Bug#9528)
20838
20839 2011-09-20 Juri Linkov <juri@jurta.org>
20840
20841 * info.el (Info-last-preorder): Visit last menu item only when
20842 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20843
20844 2011-09-20 Julien Danjou <julien@danjou.info>
20845
20846 * password-cache.el (password-cache-remove): Remove entries even if the
20847 value is nil, so that password with a nil value (negative caching) is
20848 possible to invalidate.
20849
20850 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20851
20852 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20853 all whitespace around breakpoint. (Bug#9553)
20854 (f90-find-breakpoint): Only break at whitespace inside a comment.
20855
20856 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20857
20858 * minibuffer.el (completion-file-name-table): Keep track of errors.
20859 (completion-table-with-predicate): Handle the case where pred1 is nil.
20860 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20861
20862 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20863
20864 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20865 (debugger-return-value): Signal an error if the debugging context does
20866 not await any return value.
20867
20868 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20869 * image-mode.el (image-toggle-display-text)
20870 (image-toggle-display-image): Stay away from evil `intangible'.
20871
20872 2011-09-19 Leo Liu <sdl.web@gmail.com>
20873
20874 * replace.el (occur-revert-arguments): Make it permanent-local.
20875 (occur-mode): Don't call font-lock-defontify.
20876
20877 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20878
20879 * net/ldap.el (ldap-search-internal): Don't push empty search
20880 result (Bug#9508).
20881
20882 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20883
20884 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20885
20886 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20887
20888 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20889 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20890
20891 2011-09-18 Juri Linkov <juri@jurta.org>
20892
20893 * buff-menu.el (Buffer-menu-mode-map):
20894 * dired.el (dired-mode-map):
20895 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20896 (lisp-interaction-mode-map):
20897 * emacs-lisp/package.el (package-menu-mode-map):
20898 * epa.el (epa-key-list-mode-map):
20899 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20900 (menu-bar-options-menu):
20901 * outline.el (outline-mode-menu-bar-map):
20902 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20903 * vc/vc-dir.el (vc-dir-menu-map):
20904 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20905 Capitalize non-function content words in menu item strings.
20906
20907 * dired.el (dired-mode-map): Add menu item for
20908 `image-dired-dired-toggle-marked-thumbs'.
20909
20910 2011-09-18 Juri Linkov <juri@jurta.org>
20911
20912 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20913 to `isearch-case-fold-search' and restore its original value
20914 after the `isearch-mode' call.
20915
20916 2011-09-18 Juri Linkov <juri@jurta.org>
20917
20918 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20919 because `zgrep' returns 1 for successful matches (bug#9226).
20920
20921 2011-09-18 Juri Linkov <juri@jurta.org>
20922
20923 * info.el (Info-extract-menu-node-name): Check the second match
20924 for empty string (second test-case of bug#9528).
20925 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20926 intermediate nodes to the history (first test-case of bug#9528).
20927
20928 2011-09-18 Juri Linkov <juri@jurta.org>
20929
20930 * info.el (Info-mode-syntax-table): New variable.
20931 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20932
20933 2011-09-18 Juri Linkov <juri@jurta.org>
20934
20935 * info.el (Info-file-supports-index-cookies):
20936 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20937 outputs one more line for long file names (bug#4142).
20938
20939 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20940
20941 * newcomment.el (comment-normalize-vars): If prompting for
20942 comment-start, set comment-start-skip too (Bug#8424).
20943
20944 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20945
20946 * icomplete.el: Fix previous fix of Bug#5849.
20947 (icomplete-mode): Don't set completion-show-inline-help.
20948 (icomplete-minibuffer-setup): Set completion-show-inline-help
20949 locally during icompletion.
20950
20951 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20952
20953 * woman.el (woman2-process-escapes): Don't delete unrecognized
20954 escapes (Bug#7843).
20955
20956 * files.el (inhibit-first-line-modes-regexps): Add image files.
20957 (hack-local-variables-prop-line): Return nil for malformed
20958 prop-lines (Bug#9044).
20959
20960 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20961
20962 * net/tramp.el (top): Don't require 'shell.
20963 (tramp-methods): Fix docstring.
20964 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20965 Return complete remote file name. Handle "smb" case.
20966 Use `tramp-tmpdir', if defined for the respective method.
20967 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20968
20969 * net/tramp-compat.el (top): Require 'shell.
20970
20971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20972 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20973 `tramp-current-host'.
20974 (tramp-get-remote-tmpdir): Remove.
20975
20976 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20977 `tramp-tmpdir' entries.
20978 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20979 (tramp-smb-handle-file-attributes): Ignore errors.
20980 (tramp-smb-wait-for-output): Check also for process end.
20981
20982 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20983
20984 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20985 when sending QUIT (bug#9312).
20986
20987 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20988
20989 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20990 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20991 occur-mode-display-occurrence.
20992 (occur-edit-mode): Add usage message.
20993 (occur-cease-edit): New command.
20994 (occur-after-change-function): Use text properties to find the
20995 position of the prefix text.
20996 (occur-engine): Set stickiness of prefix text properties.
20997
20998 2011-09-17 Glenn Morris <rgm@gnu.org>
20999
21000 * progmodes/etags.el (complete-tag):
21001 Fix call to completion-in-region. (Bug#9526)
21002
21003 2011-09-17 Juri Linkov <juri@jurta.org>
21004
21005 * textmodes/ispell.el (ispell-word): Add to the error message
21006 the word, ispell program name and current dictionary (bug#9121).
21007 (ispell-tex-arg-end): Capitalize "error" in the error message.
21008
21009 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21010
21011 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21012 check. (Bug#4251)
21013
21014 2011-09-17 Juri Linkov <juri@jurta.org>
21015
21016 * window.el (window-safe-min-height, window-safe-min-width):
21017 Fix typos (followup to bug#9522).
21018
21019 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21020
21021 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21022
21023 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21024
21025 * simple.el (line-move): If goal-column is set, move by logical
21026 lines, not by display lines. (Bug#971)
21027 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21028 to reflect the above change.
21029
21030 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21031
21032 * image.el (imagemagick-register-types): Use regexp-opt.
21033
21034 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21035
21036 * window.el (display-buffer-base-action): Rename from
21037 display-buffer-default-action. Make default value empty.
21038 (display-buffer-overriding-action): Convert to defvar.
21039 (display-buffer-fallback-action): New var.
21040
21041 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21042
21043 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21044 declaration.
21045 (package--add-to-archive-contents): If there is a duplicate entry
21046 with an older version, remove it.
21047 (package-menu-mark-delete, package-menu-mark-install)
21048 (package-menu-mark-unmark): Make unused args optional.
21049 (package-menu-mark-obsolete-for-deletion):
21050 Use package-menu-get-status instead of a regexp search.
21051 (package-menu-get-status): Use tabulated-list-entry.
21052 (package-menu-mark-upgrades): New command.
21053 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21054 (package-menu-execute): Do installation before deletion.
21055 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21056 instead of checking major-mode.
21057 (package-menu--find-upgrades): New function.
21058
21059 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21060
21061 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21062 passwords in the log buffer.
21063 (smtpmail-process-filter): Update the process marker so that the
21064 "broken by peer" status message is inserted in the right place.
21065
21066 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21067
21068 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21069 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21070 bibtex-completion-at-point-function.
21071 (bibtex-completion-at-point-function): Use them.
21072
21073 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21074
21075 * mpc.el (mpc-constraints-tag-lookup): New function.
21076 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21077 also to browser "album|playlist".
21078
21079 2011-09-14 Juri Linkov <juri@jurta.org>
21080
21081 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21082 (isearch-edit-string): Use length of `isearch-string' when
21083 `isearch-fail-pos' returns nil.
21084 (isearch-message): Remove duplicate code and call
21085 `isearch-fail-pos' with arg `t'.
21086
21087 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21088
21089 * replace.el (occur-mode-goto-occurrence): Don't force using other
21090 window (Bug#9499).
21091
21092 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21093
21094 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21095
21096 * window.el (display-buffer-window): Remove.
21097 (display-buffer-record-window): Use help-setup window parameter
21098 instead of variable display-buffer-window.
21099 (display-buffer-function, special-display-buffer-names)
21100 (special-display-function): Mention help-setup parameter instead
21101 of display-buffer-window in doc-string.
21102 * help.el (help-window-setup): New argument help-window.
21103 Use help-window-setup parameter instead of display-buffer-window.
21104 Reword some messages.
21105 (with-help-window): Pass window used for displaying the buffer
21106 to help-window-setup. Don't set display-buffer-window.
21107
21108 2011-09-13 Glenn Morris <rgm@gnu.org>
21109
21110 * emacs-lisp/debug.el (debugger-make-xrefs):
21111 Preserve point. (Bug#9462)
21112
21113 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21114
21115 * window.el (window-deletable-p): Use next-frame.
21116
21117 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21118
21119 * window.el (window-auto-delete): Remove.
21120 (window-deletable-p): Remove argument FORCE. Don't deal with
21121 dedication and previous buffers.
21122 (switch-to-prev-buffer): Don't delete window.
21123 (delete-windows-on): Delete a window's frame if and only if the
21124 window is dedicated.
21125 (replace-buffer-in-windows): Delete buffer's window or frame if
21126 and only if window is dedicated.
21127 (quit-window): Handle quit-restore as before last change.
21128 (bury-buffer): Delete window only if window-deletable-p returns t.
21129
21130 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21131
21132 * window.el (window-deletable-p): Never delete the last frame on a
21133 given terminal.
21134
21135 2011-09-13 Glenn Morris <rgm@gnu.org>
21136
21137 * help.el (describe-key-briefly): Copy previous standard-output change.
21138
21139 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21140
21141 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21142
21143 2011-09-13 Glenn Morris <rgm@gnu.org>
21144
21145 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21146 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21147
21148 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21149
21150 * dired-aux.el (dired-mark-read-string): Don't return default
21151 value on empty input (Bug#9361).
21152 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21153 Omit initial minibuffer contents.
21154 (dired-do-chmod): Signal an error on empty input.
21155 (dired-mark-read-string): Don't return default on empty input.
21156
21157 * files.el (file-modes-symbolic-to-number): Doc fix.
21158
21159 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21160
21161 * international/mule-cmds.el (ucs-completions): Remove.
21162 (read-char-by-name): Use complete-with-action instead; add metadata.
21163
21164 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21165
21166 * window.el (display-buffer--action-function-custom-type)
21167 (display-buffer--action-custom-type): New vars.
21168 (display-buffer-alist, display-buffer-default-action)
21169 (display-buffer-overriding-action): Add defcustom types.
21170
21171 * frame.el (delete-other-frames): Doc fix (Bug#276).
21172
21173 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21174
21175 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21176
21177 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21178
21179 Change modes that used same-window-* vars to use switch-to-buffer.
21180
21181 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21182 Use switch-to-buffer.
21183
21184 * cus-edit.el (customize-group, custom-buffer-create)
21185 (customize-browse, custom-buffer-create-other-window):
21186 Use switch-to-buffer or switch-to-buffer-other-window.
21187
21188 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21189 (Info-prev, Info-up, Info-speedbar-goto-node)
21190 (info-display-manual): Use switch-to-buffer.
21191 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21192
21193 * mail/sendmail.el (mail): Use switch-to-buffer.
21194 (mail-recover): Use switch-to-buffer-other-window.
21195
21196 * cmuscheme.el (run-scheme, switch-to-scheme):
21197 * ielm.el (ielm):
21198 * shell.el (shell):
21199 * net/rlogin.el (rlogin):
21200 * net/telnet.el (telnet, rsh):
21201 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21202
21203 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21204
21205 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21206
21207 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21208
21209 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21210 so don't mention it (bug#9301).
21211 (dired-sort-toggle-or-edit): Clarify string further.
21212
21213 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21214 match `x', `w32' and `ns', like the manual says (bug#9029).
21215
21216 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21217 (process-kill-buffer-query-function): Mention the buffer name in
21218 the query.
21219
21220 * image-mode.el (image-next-line): The line parameter is mandatory
21221 (bug#9258).
21222
21223 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21224 which can be useful (bug#9301).
21225
21226 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21227
21228 * subr.el (match-string): Mention that the current buffer should
21229 be the same as the search was done in (bug#9282).
21230
21231 * facemenu.el: Disable the remove-* commands if the mark isn't
21232 active (bug#9162).
21233
21234 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21235
21236 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21237 of display-buffer.
21238 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21239
21240 * replace.el (occur-mode-goto-occurrence)
21241 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21242 and display-buffer.
21243
21244 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21245 display-buffer.
21246
21247 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21248 special-display and same-window variables.
21249 (mail-other-window): Use switch-to-buffer-other-window.
21250 (mail-other-frame): USe switch-to-buffer-other-frame.
21251
21252 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21253 Use display-buffer-other-frame.
21254 (gdb-display-gdb-buffer): Use pop-to-buffer.
21255
21256 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21257
21258 * progmodes/python.el: Don't set same-window-buffer-names.
21259
21260 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21261
21262 * window.el (display-buffer-alist): Add *Python*.
21263
21264 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21265
21266 * window.el (display-buffer-alist): Add entry for buffers
21267 previously handled same-window-*.
21268 (display-buffer-alist, display-buffer-default-action)
21269 (display-buffer-overriding-action): Mark as risky.
21270 (display-buffer-alist): Document action function changes.
21271 (display-buffer--same-window-action)
21272 (display-buffer--other-frame-action): New variables.
21273 (switch-to-buffer, display-buffer-other-frame): Use them.
21274 (display-buffer): Rename reuse-frame entry to reusable-frames.
21275 (display-buffer-reuse-selected-window): Function deleted.
21276 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21277 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21278 (display-buffer-special): New function.
21279 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21280 display-buffer-reuse-or-pop-window. Split off special-display
21281 part into display-buffer-special.
21282 (display-buffer-use-some-window): Don't perform any special
21283 pop-up-frames handling.
21284 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21285 (display-buffer--maybe-same-window): Rename from
21286 display-buffer-maybe-same-window.
21287
21288 * info.el: Don't set same-window-regexps.
21289 (info-setup): New function.
21290 (info-other-window, info): Call it.
21291
21292 * cus-edit.el: Don't set same-window-regexps.
21293 (customize-group): New argument.
21294 (customize-group-other-window): Use it.
21295 (customize-face, customize-face-other-window): Likewise.
21296 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21297
21298 * net/rlogin.el:
21299 * net/telnet.el:
21300 * progmodes/gud.el: Don't set same-window-regexps.
21301
21302 * cmuscheme.el:
21303 * ielm.el:
21304 * shell.el:
21305 * mail/sendmail.el:
21306 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21307
21308 2011-09-10 Juri Linkov <juri@jurta.org>
21309
21310 * isearch.el (isearch-edit-string): Remove obsolete mention of
21311 `C-w' (`isearch-yank-word-or-char') from docstring.
21312 (isearch-query-replace): Fix typo in docstring (bug#9466).
21313
21314 2011-09-10 Juri Linkov <juri@jurta.org>
21315
21316 * paren.el (show-paren-function): Don't show escaped parens.
21317 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21318
21319 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21320
21321 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21322 (mm-default-file-encoding): Remove autoload forms, they are
21323 replaced with autoload cookies in mml.el and mm-encode.el.
21324 (mail-add-attachment): New command.
21325 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21326 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21327 the doc string.
21328 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21329
21330 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21331
21332 * simple.el (count-words-region): Use buffer if there's no region
21333 (bug#9429).
21334
21335 2011-09-09 Juri Linkov <juri@jurta.org>
21336
21337 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21338 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21339 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21340
21341 2011-09-09 Alan Mackenzie <acm@muc.de>
21342
21343 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21344 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21345
21346 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21347
21348 Fix for Savannah bug#9392.
21349 * simple.el (mail-encode-mml): New defvar.
21350
21351 * mail/rmail.el (mail-encode-mml): Add a defvar.
21352 (rmail-enable-mime-composing): Default to t.
21353 (rmail-forward): Use MIME method of forwarding only if both
21354 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21355 Set mail-encode-mml non-nil if the MIME method was used.
21356
21357 * mail/sendmail.el (mml-to-mime): Add autoload form.
21358 (mail-encode-mml): Add a defvar.
21359 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21360 to nil.
21361 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21362 message through mml-to-mime, and reset mail-encode-mml to nil.
21363
21364 2011-09-09 Glenn Morris <rgm@gnu.org>
21365
21366 * woman.el (woman-if-body): When processing an .el block,
21367 do not delete the next .el block as well. (Bug#9447)
21368 (woman-special-characters): Add oq, cq, and hy characters.
21369
21370 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21371
21372 * window.el (window-deletable-p): Make sure window is live before
21373 invoking window-prev-buffers.
21374
21375 2011-09-08 Leo Liu <sdl.web@gmail.com>
21376
21377 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21378
21379 2011-09-08 Juri Linkov <juri@jurta.org>
21380
21381 * progmodes/compile.el (compilation-environment): Make it
21382 a defcustom (bug#8340).
21383
21384 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21385
21386 * window.el (frame-auto-delete): Rename to window-auto-delete.
21387 Make it control auto-deletion of windows and/or frames.
21388 (window-deletable-p): New argument FORCE. Rewrite conditions
21389 for deleting window/frame. (Bug#9419)
21390 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21391 Rewrite handling of case when window/frame can be deleted.
21392 (delete-windows-on): Call window-deletable-p with new FORCE
21393 argument t. (Bug#9456)
21394
21395 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21396
21397 * help-mode.el (help-mode): Restore autoload.
21398
21399 2011-09-07 Juri Linkov <juri@jurta.org>
21400
21401 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21402 `compilation-environment'. Set buffer-local
21403 `compilation-environment' to `thisenv' later after (funcall mode).
21404 (Bug#8340)
21405
21406 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21407 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21408 instead of replacing its value. (Bug#8340)
21409
21410 2011-09-07 Juri Linkov <juri@jurta.org>
21411
21412 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21413 based on text properties put by `grep-filter' instead of matching
21414 escape sequences.
21415 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21416 to the value of `grep-error-screen-columns' (bug#9438).
21417
21418 2011-09-07 Juri Linkov <juri@jurta.org>
21419
21420 * simple.el (next-error-highlight, next-error-highlight-no-select):
21421 Doc fix (bug#9432).
21422
21423 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21424
21425 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21426 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21427
21428 2011-09-07 Leo Liu <sdl.web@gmail.com>
21429
21430 * net/rcirc.el (rcirc-mode): Conditionally initialize
21431 rcirc-input-ring.
21432
21433 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21434
21435 * emacs-lisp/find-func.el (find-function-C-source): Only set
21436 find-function-C-source-directory after checking that we found a source
21437 file there (bug#9440).
21438
21439 2011-09-06 Alan Mackenzie <acm@muc.de>
21440
21441 * isearch.el (isearch-other-meta-char): Wherever a key list is
21442 unread, "unread" the prefix arg, too. This fixes bug #8901.
21443
21444 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21445
21446 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21447
21448 2011-09-05 Juri Linkov <juri@jurta.org>
21449
21450 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21451
21452 2011-09-05 Juri Linkov <juri@jurta.org>
21453
21454 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21455 keeping point where processing of grep matches begins, and
21456 continue to delete remaining escape sequences from the same point.
21457 (grep-filter): Make leading zero optional in "0?1;31m" because
21458 git-grep emits "\033[1;31m" escape sequences unlike expected
21459 "\033[01;31m" as GNU Grep does (bug#9408).
21460 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21461
21462 2011-09-05 Juri Linkov <juri@jurta.org>
21463
21464 * subr.el (y-or-n-p): Capitalize "yes".
21465
21466 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21467
21468 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21469 `tramp-cache-unload-hook' where appropriate.
21470 (tramp-methods): Rename `tramp-remote-sh' to
21471 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21472 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21473
21474 * net/tramp-sh.el (top): Don't require 'shell.
21475 (tramp-methods): Add `tramp-remote-shell' and
21476 `tramp-remote-shell-args' entries.
21477 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21478 (tramp-sh-handle-shell-command): Remove.
21479 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21480 Use `tramp-remote-shell'.
21481
21482 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21483
21484 * mail/sendmail.el (sendmail-query-once-function): Delete.
21485 (sendmail-query-once): Save directly to send-mail-function.
21486 Update message-send-mail-function too.
21487
21488 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21489
21490 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21491
21492 * progmodes/python.el (python-mode-map): Use correct function to
21493 start python interpreter from menu-bar (as reported by Geert
21494 Kloosterman).
21495 (inferior-python-mode-map): Fix typo.
21496 (python-shell-map): Remove.
21497
21498 2011-09-03 Deniz Dogan <deniz@dogan.se>
21499
21500 * net/rcirc.el (rcirc-print): Simplify code for
21501 rcirc-scroll-show-maximum-output. There is no need to walk
21502 through all windows to find the right one.
21503
21504 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21505
21506 * help.el (help-return-method): Doc fix.
21507
21508 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21509
21510 * window.el (window-deletable-p): Don't return a non-nil value
21511 when there's a buffer that was shown in the window before.
21512 (Bug#9419)
21513 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21514 Set window's previous buffers to nil.
21515
21516 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21517
21518 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21519 newline before and after the tag line, so it doesn't interfere
21520 with determining the paragraph direction of bidirectional text.
21521
21522 2011-09-03 Leo Liu <sdl.web@gmail.com>
21523
21524 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21525
21526 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21527
21528 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21529 (pop-to-buffer): Change interactive spec. Pass second argument
21530 directly to display-buffer.
21531 (display-buffer): Fix interactive spec. Use functionp to
21532 distinguish between a function and a list of functions.
21533
21534 * abbrev.el (edit-abbrevs):
21535 * arc-mode.el (archive-extract):
21536 * autoinsert.el (auto-insert):
21537 * bookmark.el (bookmark-bmenu-list):
21538 * files.el (find-file):
21539 * view.el (view-buffer):
21540 * progmodes/compile.el (compilation-goto-locus):
21541 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21542
21543 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21544
21545 * window.el (display-buffer-alist): Doc fix.
21546 (display-buffer): Add docstring. Don't treat
21547 display-buffer-default specially.
21548 (display-buffer-reuse-selected-window)
21549 (display-buffer-same-window, display-buffer-maybe-same-window)
21550 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21551 (display-buffer-pop-up-window)
21552 (display-buffer-reuse-or-pop-window)
21553 (display-buffer-use-some-window): New functions.
21554 (display-buffer-default-action): Use them.
21555 (display-buffer-default): Delete.
21556 (pop-to-buffer-1): Fix choice of actions.
21557
21558 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21559
21560 * minibuffer.el (completion--insert-strings): Don't get confused by
21561 completion entries that end with an LF char.
21562
21563 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21564
21565 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21566
21567 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21568
21569 * window.el (display-buffer): Restore interactive spec.
21570 (display-buffer-same-window, display-buffer-other-window):
21571 New functions.
21572 (pop-to-buffer-1): New function. Use the above.
21573 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21574 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21575
21576 * view.el (view-buffer-other-window, view-buffer-other-frame):
21577 Just use pop-to-buffer.
21578
21579 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21580
21581 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21582
21583 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21584
21585 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21586
21587 2011-08-31 Richard Stallman <rms@gnu.org>
21588
21589 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21590 of the separation of rmail-view-buffer from rmail-buffer.
21591 If you say no to "replace original", the decrypt is in the
21592 view buffer. If you say yes, the decrypt goes into the
21593 rmail buffer also.
21594
21595 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21596
21597 * window.el (display-buffer-window): Rewrite doc-string.
21598 (display-buffer-record-window): New function.
21599 (display-buffer-macro-specifiers)
21600 (display-buffer-even-window-sizes, display-buffer-set-height)
21601 (display-buffer-set-width, display-buffer-in-window)
21602 (display-buffer-reuse-window, display-buffer-split-specifiers)
21603 (display-buffer-side-specifiers, display-buffer-split-window-1)
21604 (display-buffer-split-window, display-buffer-split-atom-window)
21605 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21606 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21607 (display-buffer-other-window-means-other-frame)
21608 (display-buffer-normalize-special)
21609 (display-buffer-normalize-default)
21610 (display-buffer-normalize-argument)
21611 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21612 (display-buffer-normalize-specifiers, display-buffer-frame)
21613 (display-buffer-same-window, display-buffer-same-frame)
21614 (display-buffer-other-window)
21615 (display-buffer-same-frame-other-window)
21616 (display-buffer-other-frame, pop-to-buffer-same-window)
21617 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21618 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21619 (switch-to-buffer-same-frame)
21620 (switch-to-buffer-other-window-same-frame)
21621 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21622 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21623 (display-buffer-alist-set): Remove.
21624 (display-buffer-function, special-display-buffer-names)
21625 (special-display-regexps, special-display-function):
21626 In doc-string refer to display-buffer-window and quit-restore
21627 parameter.
21628 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21629 (special-display-frame-alist, special-display-popup-frame)
21630 (same-window-buffer-names, same-window-regexps, same-window-p)
21631 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21632 (split-window-preferred-function, split-height-threshold)
21633 (split-width-threshold, window-splittable-p)
21634 (split-window-sensibly, window--try-to-split-window)
21635 (window--frame-usable-p, even-window-heights)
21636 (window--even-window-heights, window--display-buffer-1)
21637 (window--display-buffer-2, display-buffer-other-frame):
21638 Restore old Emacs 23 code, order and doc-strings where applicable.
21639 (display-buffer-default, display-buffer-assq-regexp): New functions.
21640 (display-buffer-alist): Rewrite doc-string.
21641 (display-buffer-default-action)
21642 (display-buffer-overriding-action): New variables.
21643 (display-buffer, switch-to-buffer): Rewrite.
21644 (pop-to-buffer): Restore Emacs 23 behavior but use
21645 window-normalize-buffer-to-display.
21646 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21647 Restore Emacs 23 behavior but use
21648 window-normalize-buffer-to-switch-to.
21649 (pop-to-buffer-same-window): Rewrite.
21650 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21651 Rewrite using Emacs 23 options.
21652
21653 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21654
21655 * net/tramp.el (tramp-root-regexp): Remove.
21656 (tramp-completion-file-name-regexp-unified)
21657 (tramp-completion-file-name-regexp-separate)
21658 (tramp-completion-file-name-regexp-url): Don't use leading volume
21659 letter on w32 systems. (Bug#5303, Bug#9311)
21660 (tramp-drop-volume-letter): Simplify definition.
21661 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21662
21663 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21664
21665 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21666 (bug#9356).
21667
21668 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21669
21670 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21671
21672 2011-08-29 Juri Linkov <juri@jurta.org>
21673
21674 * isearch.el (isearch-done): Don't display message "Mark saved"
21675 when arg `edit' is non-nil to prevent its flicker in the echo area.
21676
21677 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21678
21679 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21680 obsolete packages for deletion.
21681
21682 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21683
21684 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21685 (help-mode): Derive help-mode from special-mode. Don't invoke
21686 view-mode from help-mode.
21687 (help-xref-override-view-map): Remove.
21688 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21689 view-mode is not used anymore.
21690
21691 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21692
21693 * server.el (server-port): Doc fix.
21694
21695 * cus-theme.el (custom-theme-choose-mode): Inherit from
21696 special-mode (Bug#9124).
21697 (custom-theme-choose-mode-map): Add special-mode to parent.
21698
21699 2011-08-28 Alan Mackenzie <acm@muc.de>
21700
21701 * progmodes/cc-fonts.el
21702 (c-make-font-lock-BO-decl-search-function): New function.
21703 (c-basic-matchers-after - "Fontify the clauses after various
21704 keywords"): Extract the three keyword lists for the 3 erroneous
21705 constructs from the list of four, and use the new function above
21706 in place of an old one.
21707
21708 2011-08-28 Deniz Dogan <deniz@dogan.se>
21709
21710 * net/rcirc.el (rcirc-insert-prev-input)
21711 (rcirc-insert-next-input): Remove unused argument.
21712
21713 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21714
21715 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21716
21717 2011-08-27 Alan Mackenzie <acm@muc.de>
21718
21719 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21720 handle function pointer parameters properly.
21721
21722 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21723
21724 * window.el (display-buffer-reuse-window): Fix case where
21725 selected window was reused with non-nil OTHER-WINDOW argument.
21726 (Bug#9381)
21727
21728 2011-08-27 Deniz Dogan <deniz@dogan.se>
21729
21730 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21731 oftc's NickServ messages.
21732
21733 2011-08-27 Glenn Morris <rgm@gnu.org>
21734
21735 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21736
21737 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21738
21739 * emacs-lisp/package.el (package-install): Call package-initialize
21740 if called interactively.
21741
21742 2011-08-26 Leo Liu <sdl.web@gmail.com>
21743
21744 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21745
21746 2011-08-25 Juri Linkov <juri@jurta.org>
21747
21748 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21749 `search-whitespace-regexp' (bug#9364).
21750
21751 2011-08-25 Juri Linkov <juri@jurta.org>
21752
21753 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21754 `regexp-search-ring' to their global values to protect from
21755 updating by `read-from-minibuffer' (bug#9185).
21756
21757 2011-08-25 Juri Linkov <juri@jurta.org>
21758
21759 * textmodes/ispell.el (ispell-command-loop): Add newline
21760 at the end of the "Use option `i'..." line.
21761
21762 2011-08-25 Juri Linkov <juri@jurta.org>
21763
21764 * battery.el (display-battery-mode): If `battery-status-function'
21765 or `battery-mode-line-format' is nil, display the message and set
21766 `display-battery-mode' to nil (bug#9363).
21767
21768 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21769
21770 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21771 bidi-string-mark-left-to-right; they are unnecessary now.
21772
21773 2011-08-25 Deniz Dogan <deniz@dogan.se>
21774
21775 * net/quickurl.el: Documentation typo fixes.
21776
21777 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21778
21779 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21780
21781 2011-08-25 Glenn Morris <rgm@gnu.org>
21782
21783 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21784
21785 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21786 (smtpmail-via-smtp): Handle nil response from smtp.
21787
21788 2011-08-24 Juri Linkov <juri@jurta.org>
21789
21790 * proced.el (proced-marked): Inherit from `error' instead of
21791 `font-lock-warning-face'.
21792
21793 * ibuffer.el (ibuffer-marked-face): Change default face from
21794 `font-lock-warning-face' to `warning'.
21795 (ibuffer-deletion-face): Change default face from
21796 `font-lock-type-face' to `error'.
21797
21798 * battery.el (battery-update): Use the face `error' instead of
21799 `font-lock-warning-face' (bug#6117).
21800
21801 2011-08-24 Juri Linkov <juri@jurta.org>
21802
21803 * faces.el (success): Change face color from "Green3" to
21804 "ForestGreen" on light background (bug#9353).
21805
21806 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21807
21808 * window.el (quit-window): Rename from quit-restore-window.
21809 Use same arglist as old quit-window.
21810 (frame-auto-delete): Doc fix.
21811
21812 * view.el (view-mode-exit): Use quit-window.
21813
21814 2011-08-24 Juri Linkov <juri@jurta.org>
21815
21816 * isearch.el (isearch-ring-adjust1): Start visiting previous
21817 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21818 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21819 for empty search string (when the last search string is reused
21820 automatically) to adjust the isearch ring to the last element and
21821 prepare the correct index for further M-p commands (bug#9185).
21822
21823 2011-08-24 Kenichi Handa <handa@m17n.org>
21824
21825 * international/ucs-normalize.el: If decomposition property of
21826 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21827 nil.
21828 (nfd, nfkd): Likewise.
21829
21830 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21831
21832 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21833 from process filters aren't reliably transmitted to the surrounding
21834 accept-process-output.
21835 (mpc-proc-check): New function.
21836 (mpc-proc-sync): Use it (bug#8293)
21837
21838 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21839
21840 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21841 Add compatibility functions (bug#9313).
21842
21843 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21844
21845 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21846
21847 * international/uni-bidi.el: Regenerate.
21848
21849 2011-08-23 Kenichi Handa <handa@m17n.org>
21850
21851 * international/charprop.el:
21852 * international/uni-bidi.el:
21853 * international/uni-category.el:
21854 * international/uni-combining.el:
21855 * international/uni-comment.el:
21856 * international/uni-decimal.el:
21857 * international/uni-decomposition.el:
21858 * international/uni-digit.el:
21859 * international/uni-lowercase.el:
21860 * international/uni-mirrored.el:
21861 * international/uni-name.el:
21862 * international/uni-numeric.el:
21863 * international/uni-old-name.el:
21864 * international/uni-titlecase.el:
21865 * international/uni-uppercase.el: Regenerate.
21866
21867 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21868
21869 * help.el (help-window-setup): Fix message displayed when other
21870 window is reused. (Bug#9341)
21871
21872 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21873
21874 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21875 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21876
21877 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21878 Mark obsolete.
21879 * shell.el (shell-parse-pcomplete-arguments): New function.
21880 (shell-completion-vars): Use it instead (bug#9160).
21881
21882 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21883
21884 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21885 strings and comments (bug#9333).
21886
21887 * emacs-lisp/debug.el (debug-arglist): New function.
21888 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21889 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21890
21891 2011-08-22 Juri Linkov <juri@jurta.org>
21892
21893 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21894 Revert regexp that highlights output switches to its old
21895 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21896
21897 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21898 to check for empty output (bug#9226).
21899
21900 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21901
21902 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21903 symbol-constituent as the default, as that stops font-lock from
21904 working properly (Bug#8843).
21905
21906 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21907
21908 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21909 `coding-system-for-*' around the process open call to avoid
21910 auth-source side effects.
21911 (smtpmail-try-auth-methods): Expand the secret password.
21912 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21913 probe hangs.
21914
21915 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21916
21917 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21918
21919 * emacs-lisp/find-func.el (find-function-noselect): New arg
21920 lisp-only.
21921
21922 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21923 signal an error for built-in functions (Bug#6664).
21924
21925 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21926
21927 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21928 (smtpmail-try-auth-methods): Use it.
21929
21930 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21931
21932 * font-lock.el (font-lock-fontify-region)
21933 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21934 (font-lock-default-unfontify-buffer)
21935 (font-lock-default-fontify-region)
21936 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21937
21938 * progmodes/compile.el (compilation-error-properties):
21939 Fix confusion between file struct and message struct (Bug#9319).
21940 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21941 `ant' regexp.
21942
21943 * net/browse-url.el (browse-url-firefox): Don't call
21944 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21945
21946 2011-08-20 Glenn Morris <rgm@gnu.org>
21947
21948 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21949
21950 * tutorial.el (tutorial--default-keys): Update some default bindings.
21951
21952 * files.el (hack-local-variables): Fully ignore case for "mode:".
21953
21954 2011-08-20 Alan Mackenzie <acm@muc.de>
21955
21956 Resolve invalid use of a regexp in regexp-opt.
21957
21958 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21959 detection for a java annotation.
21960
21961 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21962 detection for a java annotation.
21963
21964 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21965 handling for java.
21966 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21967
21968 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21969
21970 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21971 (Bug#9274).
21972
21973 2011-08-20 Alan Mackenzie <acm@muc.de>
21974
21975 Fontify CPP expressions correctly when starting in the middle of
21976 such a construct. Mainly for when jit-lock etc. starts a chunk
21977 here.
21978
21979 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21980 variable.
21981 (c-make-font-lock-search-form): New function, extracted from
21982 c-make-font-lock-search-function.
21983 (c-make-font-lock-search-function): Use the above function.
21984 (c-make-font-lock-context-search-function): New function.
21985 (c-cpp-matchers): Enhance the preprocessor expression case with
21986 the above function
21987 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21988 which takes an expression.
21989
21990 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21991
21992 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21993
21994 * window.el (display-buffer-reuse-window)
21995 (display-buffer-pop-up-window): Don't reuse or split a side
21996 window.
21997
21998 2011-08-19 Glenn Morris <rgm@gnu.org>
21999
22000 * files.el (hack-local-variables-prop-line, hack-local-variables):
22001 Downcase "Mode:". (Bug#9331)
22002
22003 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22004
22005 * international/characters.el: Add L and R categories.
22006
22007 * subr.el (bidi-string-mark-left-to-right): Rename from
22008 string-mark-left-to-right. Use category search.
22009
22010 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22011
22012 2011-08-18 Juri Linkov <juri@jurta.org>
22013
22014 * faces.el (error, warning, success): New faces with definitions
22015 copied from old default values of `font-lock-warning-face',
22016 `compilation-warning', `compilation-info' (bug#6117).
22017
22018 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22019
22020 * progmodes/compile.el (compilation-error): Inherit from `error'.
22021 (compilation-warning): Inherit from `warning'.
22022 (compilation-info): Inherit from `success'.
22023
22024 * dired.el (dired-marked): Inherit from `warning'.
22025 (dired-flagged): Inherit from `error'.
22026
22027 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22028
22029 * mail/smtpmail.el (auth-source): Require to avoid problems with
22030 binding variables (bug#9298). Also clean up some unused
22031 autoloads.
22032
22033 * net/network-stream.el (network-stream-open-starttls):
22034 Support using starttls.el without using gnutls-cli.
22035
22036 2011-08-17 Juri Linkov <juri@jurta.org>
22037
22038 * progmodes/grep.el (rgrep): Handle the case when
22039 `grep-find-command' is a cons cell (bug#9278).
22040
22041 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22042
22043 * window.el (display-buffer-pop-up-frame): Run frame creation
22044 function with BUFFER current (as special-display-popup-frame
22045 does). Reported by Drew Adams.
22046
22047 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22048
22049 * epa-mail.el: Simplify GnuPG group expansion using
22050 epg-expand-group.
22051 (epa-mail-group-alist, epa-mail-group-modtime)
22052 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22053 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22054 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22055 Remove.
22056
22057 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22058
22059 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22060
22061 2011-08-16 Alan Mackenzie <acm@muc.de>
22062
22063 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22064 Correct, to avoid the inside of macros.
22065
22066 2011-08-16 Richard Stallman <rms@gnu.org>
22067
22068 * epa-mail.el: Handle GnuPG group definitions.
22069 (epa-mail-group-alist, epa-mail-group-modtime)
22070 (epa-mail-gnupg-conf-file): New variables.
22071 (epa-mail-parse-groups, epa-mail-sync-groups)
22072 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22073 (epa-mail-expand-recipients): New functions.
22074 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22075
22076 * mail/rmail.el (rmail-epa-decrypt): New command.
22077
22078 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22079 Don't bind buffer-read-only, just inhibit-read-only.
22080 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22081 (epa-decrypt-armor-in-region): Make error message clearer.
22082
22083 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22084
22085 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22086 and "a2b" to "ab" for `prefix'.
22087
22088 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22089
22090 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22091 filter groups.
22092 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22093 Fourquet (Bug#8804).
22094
22095 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22096
22097 * startup.el (argi): Declare as global variable (bug#9275).
22098
22099 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22100
22101 * subr.el (string-mark-left-to-right): Search the entire string
22102 for RTL script, not just the terminating character. Doc fix.
22103
22104 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22105
22106 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22107 New function.
22108 (js--regexp-literal, js-syntax-propertize-function): Remove.
22109 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22110 (js-mode-map): Don't rebind electric keys.
22111 (js-insert-and-indent): Remove.
22112 (js-mode): Setup electric-layout and electric-indent instead.
22113
22114 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22115
22116 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22117
22118 * epa.el (epa-progress-callback-function): Fix the logic of
22119 displaying progress.
22120 * epa-file.el (epa-file-insert-file-contents): Make progress
22121 display more user-friendly.
22122 (epa-file-write-region): Ditto.
22123
22124 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22125
22126 * subr.el (string-mark-left-to-right): New function.
22127
22128 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22129 Use string-mark-left-to-right.
22130 (list-buffers-noselect): Caller changed.
22131
22132 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22133 Use string-mark-left-to-right.
22134 (tabulated-list-print): Recenter after moving point.
22135
22136 2011-08-10 Juri Linkov <juri@jurta.org>
22137
22138 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22139 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22140 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22141
22142 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22143
22144 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22145 (Bug#7554).
22146
22147 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22148
22149 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22150 character. (Bug#6594)
22151
22152 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22153
22154 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22155 (image-dired--with-db-file): New macro.
22156 (image-dired-write-tags, image-dired-remove-tag)
22157 (image-dired-create-gallery-lists, image-dired-write-comments)
22158 (image-dired-get-comment, image-dired-mark-tagged-files)
22159 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22160 (image-dired-gallery-generate): Use insert-file-contents.
22161
22162 * time.el (display-time-world-list, display-time-world-display):
22163 * time-stamp.el (time-stamp-string):
22164 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22165 set-time-zone-rule (Bug#7337).
22166
22167 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22168
22169 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22170 (epg-error-to-string, epg-errors-to-string): New function.
22171 (epg-wait-for-completion): Reverse errors list.
22172 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22173 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22174 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22175 (epg-sign-keys, epg-generate-key-from-file)
22176 (epg-generate-key-from-string): Format errors by using
22177 epg-errors-to-string (bug#9255).
22178 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22179
22180 2011-08-07 Juri Linkov <juri@jurta.org>
22181
22182 * faces.el (list-faces-display): Remove extra angle bracket
22183 from `help-mode-map'.
22184
22185 * info.el (Info-history-toc-nodes): Doc fix.
22186
22187 * longlines.el (longlines-mode): Doc fix.
22188
22189 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22190
22191 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22192 of statements and in a few more cases (bug#9183).
22193
22194 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22195 New functions.
22196 (cl-transform-lambda): Use them (bug#9239).
22197
22198 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22199
22200 * window.el (display-buffer-same-window)
22201 (display-buffer-same-frame, display-buffer-other-window)
22202 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22203 (pop-to-buffer-other-window)
22204 (pop-to-buffer-same-frame-other-window)
22205 (pop-to-buffer-other-frame): Make them defuns.
22206 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22207
22208 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22209
22210 * subr.el (make-composed-keymap): Move from C. Change calling
22211 convention, and improve docstring to bring attention to a subtle point.
22212 * minibuffer.el (completing-read-default): Adjust accordingly.
22213
22214 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22215
22216 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22217 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22218
22219 * net/trampver.el: Update release number.
22220
22221 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22222
22223 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22224 "in" (bug#9190).
22225
22226 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22227
22228 * mail/sendmail.el (sendmail-query-once): Restore the current
22229 buffer after querying (bug#9074).
22230
22231 * dired.el (dired-flagged): Use different faces for marked and
22232 flagged files (bug#6117).
22233
22234 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22235 (bug#4433).
22236
22237 * ido.el (ido-mode): Switch off the message if called
22238 non-interactively.
22239
22240 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22241 before 587, since it appears that that's more likely to work for
22242 more people.
22243
22244 * cus-edit.el (custom-file): When running under emacs -q, always
22245 refuse to save the customizations, even if the .emacs file doesn't
22246 exist.
22247
22248 * info.el: Remove the `Info-beginning-of-buffer' function
22249 (bug#8325).
22250
22251 * net/network-stream.el (network-stream-open-starttls):
22252 Use `starttls-available-p' to see whether starttls.el can be used.
22253
22254 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22255
22256 * window.el (display-buffer-in-window): Don't set dedicated status
22257 of window here (Bug#9215).
22258 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22259 (display-buffer-pop-up-side-window)
22260 (display-buffer-in-side-window): Set dedicated status of window here.
22261
22262 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22263
22264 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22265 before binding generated-autoload-file.
22266
22267 2011-08-01 Deniz Dogan <deniz@dogan.se>
22268
22269 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22270
22271 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22272
22273 Sync with Tramp 2.2.2.
22274
22275 * net/trampver.el: Update release number.
22276
22277 2011-07-30 Juri Linkov <juri@jurta.org>
22278
22279 * dired-aux.el (dired-touch-initial): Remove function.
22280 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22281 current time, and `default' to the last modification time of the
22282 current marked file (bug#6887).
22283
22284 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22285
22286 * simple.el (goto-line): Use string-to-number to provide a
22287 numeric argument to read-number (bug#9163).
22288
22289 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22290
22291 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22292 connection process, it could be nil.
22293
22294 2011-07-27 Leo Liu <sdl.web@gmail.com>
22295
22296 Simplify url handling in rcirc-mode.
22297
22298 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22299 (rcirc-browse-url-at-mouse): Remove.
22300 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22301
22302 2011-07-26 Alan Mackenzie <acm@muc.de>
22303
22304 Fontify bitfield declarations properly.
22305
22306 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22307 (c-symbol-chars): Now exported as a lang variable.
22308 (c-not-primitive-type-keywords): New lang variable.
22309
22310 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22311 QT keyword "more" to prevent "more slots: ...." being spuriously
22312 parsed as a bitfield declaration.
22313
22314 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22315 Refactor and enhance to handle bitfield declarations.
22316 (c-punctuation-in): New function.
22317 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22318 declarations properly.
22319
22320 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22321
22322 * calendar/icalendar.el (icalendar--all-events): Take care of
22323 multiple vcalendars in a single file.
22324 (icalendar--convert-float-to-ical): Checkdoc fixes.
22325
22326 2011-07-25 Deniz Dogan <deniz@dogan.se>
22327
22328 * image.el (insert-image): Clarifying docstring.
22329
22330 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22331
22332 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22333 `tramp-send-command-and-check' if there is no error.
22334 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22335
22336 2011-07-22 Alan Mackenzie <acm@muc.de>
22337
22338 Prevent cc-langs.elc being loaded at run time.
22339
22340 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22341 cc-langs.
22342
22343 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22344 "(require 'cc-langs)". Quote a form so it will evaluate at
22345 (cc-mode's) compilation time.
22346
22347 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22348
22349 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22350 loading. (Bug#9114)
22351
22352 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22353
22354 * window.el (display-buffer-pop-up-window)
22355 (display-buffer-pop-up-side-window)
22356 (display-buffer-in-side-window): Call display-buffer-set-height
22357 and display-buffer-set-width after setting the new window's
22358 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22359
22360 2011-07-20 Sam Steingold <sds@gnu.org>
22361
22362 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22363 (etags-tags-included-tables): Call `convert-standard-filename' on
22364 the file names contained in TAGS so that windows Emacs can handle
22365 TAGS files created by cygwin ctags.
22366
22367 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22368
22369 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22370 which apparently didn't work.
22371
22372 2011-07-19 Roland Winkler <winkler@gnu.org>
22373
22374 * proced.el (proced-send-signal): For *Marked Processes* buffer
22375 put point at beginning of buffer.
22376
22377 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22378
22379 * proced.el (proced-format): Make header lines align with the text
22380 (bug#1779).
22381
22382 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22383
22384 * view.el (view-buffer): Allow running in `special' modes if we're
22385 visiting a file (bug#8615).
22386
22387 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22388
22389 * window.el (display-buffer-alist-of-strings-p)
22390 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22391 New functions.
22392 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22393 more accurately.
22394
22395 2011-07-18 Alan Mackenzie <acm@muc.de>
22396
22397 Fontify declarators properly when, e.g., a jit-lock chunk begins
22398 inside a declaration.
22399
22400 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22401
22402 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22403 New function.
22404 (c-complex-decl-matchers): Insert reference to
22405 c-font-lock-enclosing-decls.
22406
22407 * progmodes/cc-engine.el (c-backward-single-comment):
22408 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22409 to nil around calls to (forward-comment -1).
22410
22411 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22412
22413 * image.el (put-image): Doc typo fix.
22414
22415 * progmodes/etags.el (tags-search): Doc typo fix.
22416
22417 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22418 password if we get errors 550 to 554.
22419
22420 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22421
22422 * net/gnutls.el (gnutls-log-level): Remove.
22423
22424 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22425 indentation character (bug#6380).
22426
22427 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22428
22429 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22430 to clarify what the problem is (bug#4291).
22431
22432 * simple.el (current-kill): Clarify what
22433 `interprogram-paste-function' does (bug#7500).
22434 (auto-fill-mode): Document `auto-fill-function' in relation to
22435 `auto-fill-mode' (bug#2470).
22436
22437 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22438
22439 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22440 method if slot is read-only (bug#9035).
22441
22442 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22443
22444 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22445 * window.el (pop-to-buffer): Select window used even if it was
22446 selected before, see discussion of (Bug#8615), (Bug#6954).
22447 Pass argument NORECORD on to select-frame-set-input-focus.
22448
22449 2011-07-15 Glenn Morris <rgm@gnu.org>
22450
22451 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22452 Respect help-form.
22453
22454 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22455
22456 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22457 (gnutls-negotiate): Use it.
22458
22459 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22460
22461 * net/gnutls.el (gnutls-negotiate):
22462 Upcase `gnutls-algorithm-priority'.
22463
22464 2011-07-15 Glenn Morris <rgm@gnu.org>
22465
22466 * jka-compr.el (jka-compr-verbose): Move from here...
22467 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22468 Add missing :version tag.
22469 * info.el: No need to require jka-compr when compiling.
22470
22471 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22472
22473 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22474 (gnutls-negotiate): Use it.
22475
22476 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22477
22478 * info.el (Info-beginning-of-buffer): New command.
22479 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22480 announcing `b' as the key (bug#8325).
22481 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22482
22483 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22484
22485 * international/mule-cmds.el
22486 (describe-specified-language-support): Make the error message
22487 clearer (bug#8905).
22488
22489 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22490
22491 * isearch.el (isearch-barrier): Add a doc string, since it's
22492 mentioned in a function doc string (bug#8678).
22493
22494 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22495
22496 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22497 buffer argument (Bug#9083) and self-identifying label argument.
22498
22499 2011-07-15 Glenn Morris <rgm@gnu.org>
22500
22501 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22502
22503 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22504
22505 * man.el (Man-fontify-manpage): Fix message when formatting the
22506 man page (bug#7929).
22507
22508 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22509
22510 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22511 argument LRM; if non-nil, append an invisible LRM character to the
22512 buffer name.
22513 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22514 last argument non-nil, when formatting buffer names.
22515 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22516 paragraph direction.
22517
22518 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22519
22520 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22521 the man page name (bug#7929).
22522
22523 * image.el (put-image): Mention the `put-image' overlay property
22524 (bug#7834).
22525
22526 * scroll-bar.el (set-scroll-bar-mode): Mention that
22527 `scroll-bar-mode' lists the values (bug#7772).
22528
22529 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22530 command (bug#7729).
22531
22532 * rect.el (apply-on-rectangle): Return the point after the last
22533 operation.
22534 (string-rectangle): Go to the point after the last operation
22535 (bug#7522).
22536
22537 * printing.el (pr-toggle-region): Clarify the documentation
22538 slightly (bug#7493).
22539
22540 * time.el (display-time-update):
22541 Allow `display-time-mail-function' to return nil (bug#7158).
22542 Fix suggested by Detlev Zundel.
22543
22544 * vc/diff.el (diff): Clarify the order the file names are read
22545 (bug#7111).
22546
22547 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22548 the doc string (bug#7015).
22549
22550 * font-lock.el (font-lock-maximum-decoration): Mention what
22551 numeric levels mean (bug#6935).
22552
22553 * startup.el (initial-buffer-choice): Don't mention the `none'
22554 selection, which is against policy.
22555
22556 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22557
22558 * window.el (display-buffer-normalize-special):
22559 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22560
22561 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22562
22563 * subr.el (version<, version<=, version=): Mention "-CVS" and
22564 "-12345" alpha version numbers.
22565
22566 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22567
22568 * bindings.el: Add advertised binding for set-mark-command
22569 (Bug#5772).
22570
22571 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22572
22573 * bindings.el (mode-line-other-buffer):
22574 * bookmark.el (bookmark-bmenu-2-window):
22575 * bs.el (bs-cycle-next, bs-cycle-previous):
22576 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22577 switch-to-buffer.
22578
22579 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22580 Delete.
22581
22582 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22583
22584 * follow.el (follow-debug-message, follow-redisplay):
22585 * jka-cmpr-hook.el (with-auto-compression-mode):
22586 Fix typos in docstrings.
22587
22588 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22589
22590 * subr.el (with-silent-modifications): Clarify somewhat what the
22591 macro inhibits (bug#6525).
22592
22593 * simple.el (eval-expression): Note what it does if called
22594 interactively (bug#6495).
22595
22596 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22597
22598 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22599 Use pop-to-buffer buffer-or-name if it is nil.
22600
22601 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22602 Remove switch-to-buffer.
22603
22604 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22605
22606 * files.el (make-directory): Clarify that an error will be raised
22607 if there's an error (bug#6397).
22608
22609 * startup.el (initial-buffer-choice): Add `none' as a choice
22610 (bug#6234).
22611
22612 * subr.el (add-hook): Clarify section about buffer-local hooks
22613 (bug#6218).
22614
22615 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22616
22617 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22618
22619 * tabify.el (untabify): Preserve the current column so that point
22620 doesn't move (bug#6032).
22621
22622 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22623
22624 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22625 Rewrite to avoid awkward possessive "s" (bug#5986).
22626
22627 2011-07-13 Glenn Morris <rgm@gnu.org>
22628
22629 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22630 (dired-insert-directory): Give a message the first time
22631 if ls is found not to support --dired.
22632
22633 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22634
22635 * simple.el (toggle-truncate-lines): Clarify what is toggled
22636 (bug#5580). Text by Drew Adams.
22637
22638 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22639
22640 * simple.el (blink-matching-open): Make the error message from the
22641 last change less verbose.
22642
22643 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22644
22645 * font-lock.el (font-lock-comment-face): Use the high contrast
22646 "yellow" color for font-lock-comment-face on low color terminals
22647 using a dark background color (bug#4221).
22648
22649 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22650
22651 * dired.el (dired-insert-set-properties): Make the doc string
22652 reflect what it does now (bug#5325).
22653
22654 * simple.el (blink-matching-open): Say that we were unable to find
22655 the match within the limit, if we're limited (bug#5122).
22656
22657 * international/mule-cmds.el (prefer-coding-system): Add an
22658 example (bug#4869).
22659
22660 * progmodes/etags.el (tags-search): Document `file-list-form'
22661 (bug#4731).
22662
22663 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22664
22665 * net/browse-url.el (browse-url-default-browser)
22666 (browse-url-browser-function): Make the default browser choice a
22667 bit more logical (bug#4300). Also clean up the doc string.
22668
22669 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22670
22671 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22672 binary endings (bug#4440).
22673
22674 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22675
22676 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22677 which can be pretty annoying (bug#8971).
22678
22679 * jka-compr.el (jka-compr-verbose): New variable, and use
22680 throughout (bug#8971).
22681
22682 * info.el (Info-find-file): Fall back on the installation
22683 directory if we can't find the info node anywhere else.
22684
22685 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22686
22687 * vc/vc.el (vc-revert-file):
22688 Don't set file time-stamp in the past. (Bug#5181)
22689
22690 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22691
22692 * files.el (after-find-file): Give a better error message when
22693 trying to find a symlink that points to a file that doesn't exist
22694 (bug#4398).
22695
22696 * progmodes/cc-vars.el: Remove (probably) misleading comment
22697 (bug#4396).
22698
22699 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22700
22701 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22702
22703 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22704
22705 * mouse-sel.el: Hack restoring functionality, while keeping
22706 compatibility with 2010-07-03 changes to mouse selection.
22707 (mouse-sel-primary-overlay): New var.
22708 (mouse-sel-selection-alist): Use it.
22709 (mouse-sel-mode): Doc fix; remove points that are default features
22710 of mouse.el.
22711
22712 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22713
22714 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22715 Fix previous fix (bug#2490).
22716
22717 2011-07-12 Roland Winkler <winkler@gnu.org>
22718
22719 * textmodes/bibtex.el (bibtex-initialize):
22720 Use pop-to-buffer-same-window.
22721 (bibtex-search-entries): Fix interactive call.
22722
22723 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22724
22725 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22726 Fontise bytecomp Error lines more correctly (bug#2490).
22727 Fix suggested by Johan Bockgård.
22728
22729 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22730
22731 * dired-x.el (dired-guess-default): Use `delete-dups'.
22732
22733 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22734
22735 * dired.el (dired-mark-prompt):
22736 * dired-aux.el (dired-read-shell-command): Doc fix.
22737
22738 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22739
22740 * mail/sendmail.el (sendmail-query-once):
22741 Use `customize-save-variable' unconditionally, now that it works under
22742 emacs -Q.
22743
22744 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22745
22746 * cus-edit.el (custom-file): Take an optional no-error variable.
22747 (customize-save-variable): Set the variable, and give a warning if
22748 running under "emacs -q".
22749
22750 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22751
22752 * loadhist.el (unload-feature-special-hooks):
22753 Add `auto-coding-functions', `fill-nobreak-predicate' and
22754 `find-directory-functions' (bug#5327).
22755
22756 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22757
22758 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22759
22760 * cus-edit.el (custom-guess-name-alist): -alist variables should
22761 use the `alist' type (bug#3120). Suggested by Drew Adams.
22762
22763 * printing.el: Add documentation to all the `pr-toggle-' commands.
22764
22765 2011-07-11 Leo Liu <sdl.web@gmail.com>
22766
22767 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22768 backends where it makes sense (bug#2623).
22769
22770 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22771
22772 * dired-x.el (dired-guess-default): Remove duplicate shell command
22773 entries (bug#2028).
22774 (dired-guess-default): Fix grammar in doc string (bug#2028).
22775 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22776
22777 * subr.el (remove-duplicates): New conveniency function.
22778
22779 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22780
22781 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22782 (bug#1526).
22783
22784 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22785
22786 * window.el (display-buffer-normalize-default): Don't invert
22787 meaning of even-window-heights. Reported by Eli Zaretskii
22788 <eliz@gnu.org>.
22789
22790 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22791
22792 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22793
22794 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22795
22796 * window.el (display-buffer): Fix arguments to
22797 display-buffer-reuse-window in last change.
22798
22799 * faces.el (link): Use a less saturated blue on light backgrounds.
22800
22801 * startup.el (fancy-startup-text, fancy-about-text)
22802 (fancy-startup-tail): Use font-lock faces, for background safety.
22803
22804 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22805
22806 * emulation/viper-cmd.el (viper-change-state-to-vi):
22807 Limit triggering of abbrev expansion (Bug#9038).
22808
22809 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22810
22811 * window.el (display-buffer-default-specifiers): Remove.
22812 (display-buffer-macro-specifiers): Remove default specifiers.
22813 (display-buffer-alist): Default to nil.
22814 (display-buffer-reuse-window): New optional argument other-window.
22815 (display-buffer-pop-up-window): Allow splitting internal
22816 windows. Check whether a live window was created.
22817 (display-buffer-other-window-means-other-frame)
22818 (display-buffer-normalize-arguments): Rename to
22819 display-buffer-normalize-argument and rewrite. Set the
22820 other-window specifier.
22821 (display-buffer-normalize-special): New function.
22822 (display-buffer-normalize-options): Rename to
22823 display-buffer-normalize-default and rewrite.
22824 (display-buffer-normalize-options-inhibit): Remove.
22825 (display-buffer-normalize-specifiers): Rewrite.
22826 (display-buffer): Process other-window specifier and call
22827 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22828 more faithfully.
22829 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22830 (display-buffer-alist-set): Don't handle 'unset default values.
22831 (display-buffer-in-window, display-buffer-alist-set):
22832 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22833 <tassilo@member.fsf.org>.
22834
22835 2011-07-09 Leo Liu <sdl.web@gmail.com>
22836
22837 * register.el (insert-register): Restore accidental change on
22838 2011-06-26. (Bug#9028)
22839
22840 2011-07-09 Glenn Morris <rgm@gnu.org>
22841
22842 * subr.el (remq): Handle the empty list. (Bug#9024)
22843
22844 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22845
22846 * mail/sendmail.el (send-mail-function): No longer delay custom
22847 initialization.
22848 * custom.el (custom-initialize-delay): Doc fix.
22849
22850 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22851
22852 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22853
22854 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22855
22856 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22857 human-friendly prompt.
22858
22859 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22860
22861 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22862 provided by a particular plugin.
22863
22864 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22865
22866 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22867 save customizations (with "emacs -Q"), just set the variable
22868 instead of erroring out.
22869
22870 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22871
22872 2011-07-08 Juri Linkov <juri@jurta.org>
22873
22874 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22875 (archive-zip-update-case): Use 7z if found by `executable-find'.
22876 The order of searching the available programs is the same as in
22877 `archive-zip-extract' (bug#8968).
22878
22879 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22880
22881 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22882 (menu-bar-options-menu): Tweak descriptions.
22883
22884 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22885
22886 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22887 menu items into verb phrases (bug#1421). Also refill to fit under
22888 80 columns.
22889
22890 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22891
22892 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22893 (Info-read-node-name): Doc fix (Bug#1084).
22894
22895 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22896 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22897 (end-of-sexp, beginning-of-sexp)
22898 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22899 (forward-symbol, forward-same-syntax, word-at-point)
22900 (sentence-at-point): Doc fix (Bug#1144).
22901
22902 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22903
22904 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22905 should cover it (bug#1281).
22906
22907 * cus-edit.el (custom-show): Mark as obsolete.
22908
22909 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22910 negotiation fails, then possibly try again with a non-encrypted
22911 connection (bug#9017).
22912
22913 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22914 be used.
22915
22916 2011-07-07 Richard Stallman <rms@gnu.org>
22917
22918 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22919 property, and handle its changed format.
22920 Look for the correct line number.
22921 Use file's line contents (but not past first =) to find
22922 correct line in message.
22923
22924 2011-07-07 Kenichi Handa <handa@m17n.org>
22925
22926 * international/characters.el (build-unicode-category-table):
22927 Delete it.
22928 (unicode-category-table): Set it by unicode-property-table-internal.
22929
22930 * international/mule-cmds.el (char-code-property-alist): Move to
22931 to src/chartab.c.
22932 (get-char-code-property): Call unicode-property-table-internal to
22933 load a file. Call get-unicode-property-internal where necessary.
22934 (put-char-code-property): Call unicode-property-table-internal to
22935 load a file. Call put-unicode-property-internal where necessary.
22936 put-unicode-property-internal where necessary.
22937 (char-code-property-description):
22938 Call unicode-property-table-internal to load a file.
22939
22940 * international/charprop.el:
22941 * international/uni-bidi.el:
22942 * international/uni-category.el:
22943 * international/uni-combining.el:
22944 * international/uni-comment.el:
22945 * international/uni-decimal.el:
22946 * international/uni-decomposition.el:
22947 * international/uni-digit.el:
22948 * international/uni-lowercase.el:
22949 * international/uni-mirrored.el:
22950 * international/uni-name.el:
22951 * international/uni-numeric.el:
22952 * international/uni-old-name.el:
22953 * international/uni-titlecase.el:
22954 * international/uni-uppercase.el: Regenerate.
22955
22956 * loadup.el: Load international/charprop.el before
22957 international/characters.
22958
22959 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22960
22961 * window.el (next-buffer, previous-buffer): Signal an error if
22962 called from a minibuffer window.
22963
22964 * bindings.el: Revert 2011-07-04 change.
22965
22966 2011-07-06 Richard Stallman <rms@gnu.org>
22967
22968 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22969 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22970 Treat markers like ints.
22971 (rmail-mime-entity): Doc fix.
22972
22973 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22974
22975 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22976 defcustom again for backwards compatibility.
22977
22978 * simple.el (shell-command-on-region): Fill.
22979
22980 * dired-aux.el (dired-kill-line): Add a doc string.
22981
22982 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22983 to "\\sw\\|\\s_" (bug#358).
22984
22985 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22986 (dired-unmark-backward): Ditto.
22987 (dired-flag-backup-files): Ditto.
22988
22989 * dired-x.el (dired-mark-sexp): Ditto.
22990
22991 2011-07-06 Richard Stallman <rms@gnu.org>
22992
22993 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22994 (rmail-mime-entity): New arg TRUNCATED.
22995 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22996 New functions.
22997 (rmail-mime-save): Warn if entity is truncated.
22998 (rmail-mime-toggle-hidden): Likewise, for showing.
22999 (rmail-mime-process-multipart): Record when an entity is truncated.
23000
23001 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23002 if ENTITY is a string.
23003
23004 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23005
23006 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23007 of faces when `M-C-x'-ing their definitions (bug#8378).
23008 Also clean up the code slightly.
23009
23010 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23011 because that makes the colors go away.
23012
23013 * mail/sendmail.el (send-mail-function): Change the default to
23014 `sendmail-query-once'.
23015 (sendmail-query-once): Add an autoload cookie.
23016
23017 * net/network-stream.el (network-stream-open-starttls): Try using
23018 a plain connection even if the server offered STARTTLS, and we
23019 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23020 capability. This should make smtpmail.el work in slightly more
23021 configurations.
23022
23023 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23024
23025 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23026 New defun.
23027 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23028
23029 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23030
23031 * progmodes/sql.el: Version 3.0
23032 (sql-product-alist): Add product :completion-object,
23033 :completion-column, and :statement attributes.
23034 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23035 (sql-mode-syntax-table): Mark all punctuation.
23036 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23037 ansi keywords.
23038 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23039 (sql-mode-oracle-font-lock-keywords): Improve.
23040 (sql-oracle-show-reserved-words): New function for development.
23041 (sql-product-font-lock): Simplify for source code buffers.
23042 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23043 New functions.
23044 (sql-highlight-product): Set product specific syntax table.
23045 (sql-mode-map): Add statement movement functions.
23046 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23047 New variable.
23048 (sql-statement-regexp, sql-beginning-of-statement)
23049 (sql-end-of-statement, sql-signum): New functions.
23050 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23051 (sql-show-sqli-buffer): Bug fix.
23052 (sql-interactive-mode): Store connection data as buffer local.
23053 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23054 with sql-interactive-mode.
23055 (sql-save-connection): Save buffer local settings.
23056 (sql-connection-menu-filter): Change menu entry name.
23057 (sql-product-interactive): Bug fix.
23058 (sql-preoutput-hold): New variable.
23059 (sql-interactive-remove-continuation-prompt): Bug fixes.
23060 (sql-debug-redirect): New variable.
23061 (sql-str-literal): New function.
23062 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23063 Redesign.
23064 (sql-oracle-save-settings, sql-oracle-restore-settings)
23065 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23066 (sql-completion-object, sql-completion-column)
23067 (sql-completion-sqlbuf): New variables.
23068 (sql-build-completions-1, sql-build-completions)
23069 (sql-try-completion): New functions.
23070 (sql-read-table-name): Use them.
23071 (sql-contains-names): New buffer local variable.
23072 (sql-list-all, sql-list-table): Use it.
23073 (sql-oracle-completion-types): New variable.
23074 (sql-oracle-completion-object, sql-sqlite-completion-object)
23075 (sql-postgres-completion-object): New functions.
23076
23077 2011-07-06 Glenn Morris <rgm@gnu.org>
23078
23079 * window.el (pop-to-buffer): Doc fix.
23080
23081 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23082
23083 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23084
23085 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23086
23087 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23088
23089 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23090
23091 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23092
23093 * button.el (button): Inherit from link face. Suggested by Dan
23094 Nicolaescu.
23095
23096 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23097
23098 * progmodes/gdb-mi.el: Fit in 80 columns.
23099 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23100 switch-to-buffer.
23101
23102 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23103 if imenu is simply not configured (bug#8941).
23104
23105 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23106
23107 * allout.el (allout-post-undo-hook): New allout outline-change
23108 event hook to signal undo activity.
23109 (allout-post-command-business): Run allout-post-undo-hook if an
23110 undo just occurred.
23111 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23112 * allout-widgets.el (allout-widgets-after-undo-function):
23113 Ensure the integrity of the current item's decoration after it has been
23114 in the vicinity of an undo.
23115 (allout-widgets-mode): Include allout-widgets-after-undo-function
23116 on the new allout-post-undo-hook.
23117
23118 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23119
23120 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23121 Let define-derived-mode define it.
23122 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23123 cycles of abbrev-table inheritance (bug#8998).
23124
23125 2011-07-05 Roland Winkler <winkler@gnu.org>
23126
23127 * textmodes/bibtex.el: Add support for biblatex.
23128 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23129 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23130 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23131 (bibtex-entry-alist, bibtex-field-alist): New variables.
23132 (bibtex-entry-field-alist): Obsolete alias for
23133 bibtex-BibTeX-entry-alist.
23134 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23135 (bibtex-set-dialect): New command.
23136 (bibtex-entry-type, bibtex-entry-head)
23137 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23138 Bind via bibtex-set-dialect.
23139 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23140 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23141 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23142 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23143 Define via bibtex-set-dialect.
23144 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23145 Obey bibtex-no-opt-remove-re.
23146 (bibtex-vec-push, bibtex-vec-incr): New functions.
23147 (bibtex-format-entry, bibtex-field-list)
23148 (bibtex-print-help-message, bibtex-validate)
23149 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23150
23151 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23152
23153 * progmodes/compile.el (compilation-goto-locus):
23154 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23155 * bs.el (bs-cycle-next, bs-cycle-previous):
23156 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23157 * bindings.el (mode-line-other-buffer):
23158 * autoinsert.el (auto-insert):
23159 * arc-mode.el (archive-extract):
23160 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23161
23162 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23163
23164 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23165 Fix check of `emacs-lock-unlockable-modes'.
23166 Coerce true values of `emacs-lock--try-unlocking' to t.
23167
23168 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23169
23170 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23171 * emacs-lock.el: New file.
23172
23173 2011-07-05 Julien Danjou <julien@danjou.info>
23174
23175 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23176 than `boundp' to check if face is set.
23177
23178 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23179
23180 * register.el (registerv-make):
23181 * window.el (window-min-height): Fix typos in docstrings.
23182
23183 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23184
23185 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23186 Update doc string.
23187
23188 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23189
23190 * server.el (server-execute): Catch quit and call
23191 `server-return-error' to pass the error back to emacsclient and
23192 close the connection (bug#8942).
23193
23194 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23195
23196 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23197 insecure exception for current topic. Also note that auto-saves
23198 are handled differently.
23199
23200 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23201 State variables for tracking auto-save inhibition situation.
23202
23203 (allout-write-contents-hook-handler): Rename from
23204 'allout-write-file-hook-handler', and describe how it depends on
23205 write-contents-functions sensitivity to non-nil value to prevent
23206 file write.
23207
23208 (allout-auto-save-hook-handler): Remove. auto-save does not check
23209 this in individual buffers, only in the starting buffer, so this
23210 is not the right way for us to inhibit auto-save in a buffer
23211 according to its condition.
23212
23213 (allout-mode): Use new allout-write-contents-hook-handler, and
23214 only with write-contents-functions. Remove auto-save provisions -
23215 they're implemented elsewhere.
23216
23217 (allout-before-change-handler): If undo is in progress, note that
23218 for attention of allout-post-command-business.
23219
23220 (allout-post-command-business): If the command we're following was
23221 an undo, check for change in the status of encrypted items and
23222 adjust auto-save inhibitions accordingly.
23223
23224 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23225 according to whether there are or aren't any plain-text topics
23226 pending encryption.
23227
23228 (allout-inhibit-auto-save-info-for-decryption):
23229 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23230 if there are plain-text topics pending encryption.
23231
23232 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23233 buffer-saved-size and some allout state to not inhibit auto-saves
23234 if there are no longer any plain-text topics pending encryption.
23235
23236 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23237 No longer provide for exemption of the current topic.
23238
23239 2011-07-04 Juri Linkov <juri@jurta.org>
23240
23241 Add 7z operations to delete and save changed members (bug#8968).
23242 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23243 New defcustoms.
23244 (archive-7z-write-file-member): New function.
23245 (archive-7z-summarize): Fix the number of dashes in the
23246 listing output.
23247
23248 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23249
23250 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23251 (bug#8958).
23252
23253 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23254
23255 * bindings.el: Ignore next-buffer and previous-buffer in
23256 minibuffer-local-map.
23257
23258 * font-lock.el (font-lock-builtin-face): Change light background
23259 color to dark slate blue (Bug#6693).
23260
23261 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23262
23263 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23264
23265 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23266
23267 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23268 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23269 Add switch-to-buffer.
23270
23271 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23272
23273 * isearch.el (isearch-search-fun-function): Clarify further the
23274 meaning of the function returned.
23275
23276 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23277
23278 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23279
23280 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23281 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23282 Use it.
23283 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23284 `tramp-default-remote-path' does not exist.
23285 (tramp-send-command-and-read): New optional argument NOERROR.
23286 (tramp-open-connection-setup-interactive-shell)
23287 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23288 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23289 (tramp-process-sentinel): Flush also process' connection property.
23290 (tramp-sh-handle-start-file-process): Do not set process
23291 sentinel. It is done now ...
23292 (tramp-maybe-open-connection): ... here. (Bug#8929)
23293
23294 2011-07-04 MON KEY <monkey@sandpframing.com>
23295
23296 * play/animate.el (animate-string): Doc fixes and allow changing
23297 the buffer name (bug#5417).
23298
23299 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23300
23301 * play/animate.el (animation-buffer-name): Rename from *animate*.
23302
23303 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23304
23305 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23306 This is simpler and helps future-proof the code.
23307 (timer-until): Use time-subtract and float-time.
23308 (timer--time-less-p): Use time-less-p.
23309
23310 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23311
23312 * type-break.el (timep): Use the value of `float-time' to avoid a
23313 byte-compiler warning.
23314
23315 * server.el (server-eval-and-print): Return any result, even nil.
23316
23317 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23318
23319 * type-break.el: Accept time formats that the builtins accept.
23320 (timep, type-break-time-difference): Accept any format that
23321 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23322 This is simpler and helps future-proof the code.
23323 (type-break-time-difference): Round rather than ignoring
23324 subseconds components.
23325
23326 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23327
23328 * info.el (Info-apropos-matches): Make non-interactive, since it
23329 doesn't seem to do anything useful as a command (bug#8829).
23330
23331 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23332
23333 * frame.el (frame-background-mode, frame-set-background-mode):
23334 Move from faces.el.
23335 (frame-default-terminal-background): New function.
23336
23337 * custom.el (custom-push-theme): Don't record faces in `changed'
23338 theme; this doesn't work correctly for per-frame face settings.
23339 (disable-theme): Use face-set-after-frame-default to reset faces.
23340 (custom--frame-color-default): New function.
23341
23342 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23343
23344 * dired.el (dired-flagging-regexp): Remove unused variable
23345 (bug#8769).
23346
23347 2011-03-29 Kevin Ryde <user42@zip.com.au>
23348
23349 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23350 `perl-Test2' extend to match possible "fail #N" rep count
23351 (bug#8377).
23352
23353 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23354
23355 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23356 `smtpmail-via-smtp' now returns the error instead of nil.
23357
23358 * isearch.el (isearch-search-fun-function): Clarify the doc string
23359 (bug#8101).
23360
23361 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23362
23363 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23364 unnecessary spaces (bug#8987).
23365
23366 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23367
23368 * net/network-stream.el (open-network-stream): Use the
23369 :end-of-capability command thoughout.
23370
23371 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23372
23373 * net/network-stream.el (open-network-stream): Add the
23374 :end-of-capability command parameter, used by pop3.el.
23375
23376 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23377
23378 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23379
23380 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23381 for list)" (bug#6475).
23382
23383 * files.el (file-expand-wildcards): Ignore non-readable
23384 sub-directories while trying to find matches instead of signaling
23385 an error (bug#6297).
23386
23387 * man.el (Man-reference-regexp): Allow matching possible
23388 word-wrapped references (bug#6289).
23389
23390 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23391 for consistency with the other vc buffers (bug#6197).
23392 (vc-checkin): Ditto.
23393
23394 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23395
23396 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23397
23398 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23399
23400 * custom.el (defcustom): Clarify that :set is only used in the
23401 Customize user interface (bug#6089).
23402
23403 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23404 associated with a file, refuse to run instead of erroring out
23405 (bug#6084).
23406
23407 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23408 the doc string, since it appears that using `fill-column' always
23409 controls the width (bug#7845).
23410
23411 * simple.el (shell-command-on-region): Say where the error output
23412 went if `shell-command-default-error-buffer' is set (bug#6857).
23413
23414 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23415
23416 * allout.el (allout-yank-processing): Adjust cursor position for
23417 backwards-deleted space.
23418
23419 (allout-rebullet-heading): Register changes with
23420 allout-exposure-changed-hook, so the modified topic is properly
23421 decorated.
23422
23423 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23424
23425 * minibuffer.el (completion-in-region): Document PREDICATE
23426 (bug#7136).
23427
23428 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23429 of keyword/argument pairs (bug#6904).
23430
23431 * replace.el (multi-occur):
23432 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23433
23434 2011-07-02 Drew Adams <drew.adams@oracle.com>
23435
23436 * dired.el (dired-mark-if): Make the message about whether it's
23437 marking or unmarking clearer (bug#8523).
23438
23439 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23440
23441 * disp-table.el (display-table-print-array): New function.
23442 (describe-display-table): Use it to print the vectors more pretty
23443 (Bug#8859).
23444
23445 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23446
23447 * window.el (window-state-get-1): Don't assign clone numbers.
23448 Add clone-of item to list of window parameters.
23449 (window-state-put-2): Don't process clone numbers.
23450 (display-buffer-alist): Fix doc-string.
23451
23452 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23453
23454 * subr.el (remq): Don't allocate if it's not needed.
23455 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23456 (keymap--merge-bindings): New functions.
23457 (keymap-canonicalize): Use them to refine the canonicalization.
23458 * minibuffer.el (minibuffer-local-completion-map)
23459 (minibuffer-local-must-match-map): Move initialization from C.
23460 (minibuffer-local-filename-completion-map): Move initialization from C;
23461 don't inherit from anything here.
23462 (minibuffer-local-filename-must-match-map): Make obsolete.
23463 (completing-read-default): Use make-composed-keymap to combine
23464 minibuffer-local-filename-completion-map with either
23465 minibuffer-local-must-match-map or
23466 minibuffer-local-filename-completion-map.
23467
23468 2011-07-01 Glenn Morris <rgm@gnu.org>
23469
23470 * type-break.el (type-break-time-sum): Use dolist.
23471
23472 * textmodes/flyspell.el (flyspell-word-search-backward):
23473 Replace CL function.
23474
23475 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23476
23477 * mouse.el (mouse--strip-first-event): New function.
23478 (function-key-map): Use it to map fringe clicks to normal clicks
23479 by default.
23480
23481 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23482 (vc-bzr-revision-completion-table): Add support for annotate and date.
23483
23484 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23485 inherit from parent.
23486
23487 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23488
23489 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23490 (dired-show-file-type): Doc fixup (bug#8818).
23491
23492 * dired.el (dired-mode): Fix up the doc string as suggested by
23493 Drew Adams (bug#8817).
23494
23495 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23496 cookie, since the manual says that it should be possible to add
23497 this function to `find-file-hook' (bug#8709).
23498
23499 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23500
23501 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23502 here. Noted Ted Zlatanov as the maintainer.
23503 (cfengine-common-settings, cfengine-common-syntax): New functions
23504 to set up common things between `cfengine-mode' and
23505 `cfengine3-mode'.
23506 (cfengine3-mode): New mode.
23507 (cfengine3-defuns cfengine3-defuns-regex
23508 (cfengine3-class-selector-regex cfengine3-category-regex)
23509 (cfengine3-vartypes cfengine3-font-lock-keywords)
23510 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23511 (cfengine3-indent-line): Add from cfengine3.el.
23512
23513 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23514
23515 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23516
23517 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23518
23519 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23520
23521 * window.el (same-window-buffer-names, same-window-regexps)
23522 (same-window-p, special-display-frame-alist)
23523 (special-display-popup-frame, special-display-function)
23524 (special-display-buffer-names, special-display-regexps)
23525 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23526 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23527 (split-window-preferred-function, split-height-threshold)
23528 (split-width-threshold, even-window-heights)
23529 (display-buffer-mark-dedicated, window-splittable-p)
23530 (split-window-sensibly, window-safely-shrinkable-p):
23531 Un-obsolete.
23532 (display-buffer): Don't spread args with function specifier
23533 because special-display-popup-frame won't like it.
23534
23535 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23536
23537 Time-stamp simplifications and fixes.
23538 These improve accuracy slightly, and future-proof the code
23539 against some potential changes to current-time format.
23540
23541 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23542 by using time-since and float-time.
23543
23544 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23545 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23546 + NNN microseconds".
23547
23548 * type-break.el (type-break-time-sum): Rewrite using time-add.
23549
23550 * play/hanoi.el (hanoi-current-time-float): Remove.
23551 All uses replaced by float-time.
23552
23553 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23554 This yields a more-accurate answer.
23555 (rng-time-to-float): Remove; no longer needed.
23556
23557 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23558
23559 * calendar/timeclock.el (timeclock-seconds-to-time):
23560 Defalias to seconds-to-time, since they're the same thing.
23561
23562 * emacs-lisp/elp.el (elp-elapsed-time):
23563 * emacs-lisp/benchmark.el (benchmark-elapse):
23564 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23565
23566 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23567
23568 * window.el (bury-buffer): Don't iconify the only frame.
23569 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23570 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23571
23572 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23573
23574 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23575 Add mouse-yank-primary.
23576
23577 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23578
23579 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23580
23581 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23582
23583 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23584 (find-library-name): Use it to find relative load names when provided
23585 absolute file name (bug#8803).
23586
23587 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23588
23589 * textmodes/flyspell.el (flyspell-word): Consider words that
23590 differ only in case as potential doublons (bug#5687).
23591
23592 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23593 Remove two rather uninteresting debugging-like messages to make
23594 debbugs.el more silent.
23595
23596 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23597 a password-like phrase.
23598
23599 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23600
23601 * progmodes/cc-guess.el: New file.
23602
23603 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23604
23605 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23606 derived from `c-basic-common-init'.
23607
23608 * progmodes/cc-mode.el (top-level): Require cc-guess.
23609 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23610
23611 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23612
23613 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23614
23615 2011-06-30 Alan Mackenzie <acm@muc.de>
23616
23617 * progmodes/cc-engine.el (c-guess-continued-construct):
23618 Correct the handling of template-args-cont, particularly for when font
23619 lock is disabled. Name this case as "CASE G".
23620
23621 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23622
23623 * allout.el (allout-yank-processing): Fix injection of extra space
23624 between bullet and non-whitespace character in first topic when
23625 pasting, ensuring that the actual spacing in the pasted topic
23626 following the bullet char is preserved. This extra space was
23627 causing pasted encrypted topics to get a decrypted status even
23628 when the content was actually still encrypted. Now the decryption
23629 status from before the paste is preserved.
23630
23631 (allout-flag-region): Set all allout overlays so they evaporate
23632 when reduced to zero length (evanescent), to prevent overlay
23633 leakage.
23634
23635 2011-06-30 Glenn Morris <rgm@gnu.org>
23636
23637 * w32-fns.el (w32-charset-info-alist): Declare.
23638
23639 * find-dired.el (find-grep-options): Simplify.
23640
23641 * term/ns-win.el (ns-set-resource): Declare.
23642
23643 * ses.el (row, col): Declare dynamic variables honestly.
23644
23645 * textmodes/reftex-parse.el (index-tags): Declare.
23646
23647 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23648
23649 * cus-edit.el (customize-push-and-save): New function.
23650
23651 * files.el (hack-local-variables-confirm): Use it.
23652
23653 * custom.el (load-theme): New arg NO-CONFIRM.
23654 Use customize-push-and-save (Bug#8720).
23655 (custom-enabled-themes): Doc fix.
23656
23657 * cus-theme.el (customize-create-theme)
23658 (custom-theme-merge-theme): Callers to load-theme changed.
23659
23660 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23661
23662 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23663 short URLs have at least one dot in them (bug #7614).
23664
23665 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23666 nil, because using a pty is apparently too slow (bug #895).
23667
23668 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23669
23670 * mail/sendmail.el (sendmail-query-once): New function.
23671 (sendmail-query-once-function): New variable.
23672
23673 2011-06-29 Glenn Morris <rgm@gnu.org>
23674
23675 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23676
23677 * ses.el (top-level): Require cl when compiling.
23678 (ses-set-localvars): Fix error statement.
23679 Call it at compile time to silence a storm of warnings.
23680
23681 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23682
23683 * window.el (normalize-live-buffer): Rename to
23684 window-normalize-buffer.
23685 (normalize-live-frame): Rename to window-normalize-frame.
23686 (normalize-any-window): Rename to window-normalize-any-window.
23687 (normalize-live-window): Rename to window-normalize-live-window.
23688 (make-window-atom): Rename to window-make-atom.
23689 (window-resize-reset): Rename to window--resize-reset.
23690 (window-resize-reset-1): Rename to window--resize-reset-1.
23691 (resize-mini-window): Rename to window--resize-mini-window.
23692 (resize-subwindows-skip-p): Rename to
23693 window--resize-subwindows-skip-p.
23694 (resize-subwindows-normal): Rename to
23695 window--resize-subwindows-normal.
23696 (resize-subwindows): Rename to window--resize-subwindows.
23697 (resize-other-windows): Rename to window--resize-siblings.
23698 (resize-this-window): Rename to window--resize-this-window.
23699 (resize-root-window): Rename to window--resize-root-window.
23700 (resize-root-window-vertically): Rename to
23701 window--resize-root-window-vertically.
23702 (normalize-buffer-to-display): Rename to
23703 window-normalize-buffer-to-display.
23704 (normalize-buffer-to-switch-to): Rename to
23705 window-normalize-buffer-to-switch-to.
23706 Correspondingly update all callers of the functions listed
23707 above.
23708 (display-buffer-alist, display-buffer-normalize-arguments)
23709 (display-buffer-normalize-options, display-buffer)
23710 (display-buffer-alist-set): Use "function" instead of
23711 "fun-with-args".
23712
23713 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23714
23715 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23716 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23717 debbugs.gnu.org. Mention acknowledgment email.
23718
23719 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23720
23721 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23722 buffer multibyteness, since it shouldn't matter.
23723
23724 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23725
23726 * window.el (display-buffer-in-side-window): Handle dedicated
23727 windows as in display-buffer-reuse-window.
23728 (display-buffer-normalize-alist): Use value of override
23729 specifier.
23730 (display-buffer-normalize-specifiers): Use value of
23731 other-window-means-other-frame specifier.
23732 (display-buffer-alist): Rewrite some texts in widgets.
23733 (display-buffer): Spread arguments when calling function
23734 specified by fun-with-args.
23735
23736 2011-06-28 Deniz Dogan <deniz@dogan.se>
23737
23738 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23739 Unnest `let'.
23740
23741 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23742 selectors (Bug#5732).
23743 (css-proprietary-nmstart-re): Use `regexp-opt'.
23744
23745 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23746
23747 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23748 (eshell-ls-date-format): New defcustom.
23749 (eshell-ls-file): Use it.
23750
23751 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23752
23753 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23754
23755 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23756
23757 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23758 (ange-ftp-make-tmp-name): New arg.
23759 (ange-ftp-file-local-copy): Use it.
23760
23761 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23762
23763 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23764 no-conversion (Bug#8870).
23765
23766 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23767
23768 * window.el (window-right, window-left, window-child)
23769 (window-child-count, window-last-child)
23770 (window-iso-combination-p, walk-window-tree-1)
23771 (window-atom-check-1, window-tree-1, delete-window)
23772 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23773 new naming conventions - window-vchild, window-hchild,
23774 window-next and window-prev are now called window-top-child,
23775 window-left-child, window-next-sibling and window-prev-sibling
23776 respectively.
23777 (resize-window-reset): Rename to window-resize-reset.
23778 (resize-window-reset-1): Rename to window-resize-reset-1.
23779 (resize-window): Rename to window-resize.
23780 (window-min-height, window-min-width)
23781 (resize-mini-window, resize-this-window, resize-root-window)
23782 (resize-root-window-vertically, adjust-window-trailing-edge)
23783 (enlarge-window, shrink-window, maximize-window)
23784 (minimize-window, delete-window, quit-restore-window)
23785 (split-window, balance-windows, balance-windows-area-adjust)
23786 (balance-windows-area, window-state-put-2)
23787 (display-buffer-even-window-sizes, display-buffer-set-height)
23788 (display-buffer-set-width, set-window-text-height)
23789 (fit-window-to-buffer): Rename all "resize-window" prefixed
23790 calls to use the "window-resize" prefix convention.
23791 (display-buffer-alist): Fix symbol for label specifier.
23792 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23793 corresponding specifier.
23794 Reported by Juanma Barranquero <lekktu@gmail.com>.
23795
23796 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23797
23798 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23799 convention.
23800 (ses-call-printer): Does not pass an empty string to formatter when the
23801 cell is empty to keep from barking printer Calc math-format-value.
23802
23803 2011-06-27 Richard Stallman <rms@gnu.org>
23804
23805 * battery.el (battery-mode-line-limit): New variable.
23806 (battery-update): Handle it.
23807
23808 * mail/rmailmm.el (rmail-mime-process-multipart):
23809 Handle truncated messages.
23810
23811 2011-06-27 Glenn Morris <rgm@gnu.org>
23812
23813 * progmodes/flymake.el (flymake-err-line-patterns):
23814 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23815
23816 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23817
23818 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23819 (ses--clean-!, ses--clean-_): New functions.
23820 (ses-range): Add configurability of readout order, and conversion
23821 to Calc vector.
23822
23823 * ses.el (ses-repair-cell-reference-all): New function.
23824 (ses-cell-symbol): Set macro as safe, so that it can be used in
23825 formulas.
23826
23827 * ses.el: Update cycle detection algorithm.
23828 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23829 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23830 (ses-set-localvars): New function.
23831 (ses-make-cell): Add property-list as a cell element.
23832 (ses-cell-property-get-fun, ses-cell-property-get)
23833 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23834 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23835 New functions.
23836 (ses-cell-property-set, ses-cell-property-pop)
23837 (ses-cell-property-get-handle): New macro.
23838 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23839 New aliases, used for code readability.
23840 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23841 cycle detection.
23842 (ses-self-reference-early-detection): New defcustom.
23843 (ses-formula-references): Robustify against self-referring cells.
23844 (ses-mode): Use ses-set-localvars.
23845 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23846 before lauching the update processing.
23847 (ses-initialize-Dijkstra-attempt): New function.
23848 (ses-recalculate-cell): Update for cycle detection based on
23849 Dijkstra algorithm.
23850
23851 * ses.el: Fix commenting and indenting convention.
23852
23853 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23854
23855 * bs.el (bs-cycle-next): Complete last change.
23856
23857 2011-06-27 Drew Adams <drew.adams@oracle.com>
23858
23859 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23860
23861 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23862
23863 * net/network-stream.el (network-stream-open-starttls):
23864 Don't re-get capabilities unless we've reestablished connection.
23865 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23866
23867 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23868 to binary to possibly avoid line encoding issues on Windows (among
23869 other things).
23870
23871 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23872
23873 * net/network-stream.el (open-network-stream): Return an :error
23874 saying what the problem was, if possible.
23875
23876 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23877 server.
23878
23879 * net/network-stream.el (network-stream-open-starttls): If we
23880 wanted to use STARTTLS, and the server offered it, but we weren't
23881 able to because we had no STARTTLS support, then close the connection.
23882 (open-network-stream): Return an :error element, if present.
23883
23884 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23885
23886 * hl-line.el (hl-line-sticky-flag): Doc fix.
23887 (global-hl-line-sticky-flag): New option (Bug#8323).
23888 (global-hl-line-highlight): Obey it.
23889
23890 * vc/vc.el (vc-revert-show-diff): Default to t.
23891
23892 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23893
23894 * allout-widgets.el (allout-widgets-post-command-business):
23895 Stop decorating intermediate isearch matches. They're not being
23896 undecorated when an isearch is continued past, and isearch
23897 automatically collapses them. This leads to "widget leaks", where
23898 decorated items accumulate in collapsed areas. Lines with lots of
23899 hidden widgets can slow down cursor travel, substantially.
23900 Too much complicated machinery would be needed to ensure undecoration,
23901 so we're doing without this nicety.
23902
23903 (allout-widgets-tally-string): Don't try to do a hash-table-count
23904 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23905 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23906 *Messages* when allout-widgets-maintain-tally is t.
23907
23908 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23909
23910 * window.el (display-buffer-normalize-argument): Rename to
23911 display-buffer-normalize-arguments. Handle special meaning of
23912 LABEL argument. Respect special-display-function when popping up
23913 a new frame. Fix code searching for a window showing the buffer
23914 on another frame.
23915 (display-buffer-normalize-specifiers):
23916 Call display-buffer-normalize-arguments.
23917 (display-buffer-in-window): Don't undedicate the window if its
23918 buffer remains the same.
23919 Reported by Drew Adams <drew.adams@oracle.com>.
23920 (display-buffer-alist): Add choice for same-window macro
23921 specfier.
23922 (display-buffer): Mention special meaning of LABEL argument in
23923 doc-string. Fix quoting. Don't pop up a new frame even as
23924 fallback.
23925
23926 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23927
23928 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23929 avoid deleting the current window in some cases (bug#8911).
23930
23931 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23932
23933 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23934 (Bug#8934)
23935
23936 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23937
23938 * net/network-stream.el (network-stream-open-starttls):
23939 Use built-in TLS support if `gnutls-available-p' is true.
23940 (network-stream-open-tls): Ditto.
23941
23942 2011-06-26 Leo Liu <sdl.web@gmail.com>
23943
23944 * register.el (registerv): New struct.
23945 (registerv-make): New function.
23946 (jump-to-register, describe-register-1, insert-register):
23947 Support the jump-func, print-func and insert-func slot of a registerv
23948 struct. (Bug#8415)
23949
23950 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23951
23952 * vc/vc.el (vc-revert-show-diff): New defcustom.
23953 (vc-diff-internal): New arg specifying diff buffer.
23954 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23955 reuse an existing *vc-diff* buffer (Bug#8927).
23956
23957 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23958
23959 2011-06-26 Glenn Morris <rgm@gnu.org>
23960
23961 * progmodes/f90.el (f90-critical-indent): New option.
23962 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23963 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23964 (f90-mode): Doc fix.
23965 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23966 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23967 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23968 (f90-match-end): Handle block, critical.
23969
23970 2011-06-25 Glenn Morris <rgm@gnu.org>
23971
23972 * calendar/diary-lib.el (diary-included-files): Doc fix.
23973 (diary-include-files): New function, extracted from
23974 diary-include-other-diary-files and diary-mark-included-diary-files.
23975 (diary-include-other-diary-files, diary-mark-included-diary-files):
23976 Just call diary-include-files.
23977 (diary-mark-entries): Reset diary-included-files on first call.
23978
23979 * calendar/diary-lib.el (diary-mark-entries)
23980 (diary-mark-included-diary-files):
23981 Visit included diary-files in temp buffers.
23982
23983 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23984 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23985 (f90-start-block-re, f90-imenu-generic-expression)
23986 (f90-looking-at-program-block-start, f90-no-block-limit):
23987 Add support for submodules.
23988
23989 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23990 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23991
23992 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23993
23994 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23995 buffer-file-type before setting its value, to avoid disastrous
23996 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23997
23998 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23999
24000 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24001
24002 * ses.el (ses-unload-function):
24003 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24004
24005 * proced.el (proced-unload-function):
24006 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24007
24008 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24009
24010 * server.el (server-create-window-system-frame): Add parameters arg.
24011 (server-process-filter): Doc fix. Handle frame-parameters.
24012
24013 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24014
24015 Fix bug#8730, bug#8781.
24016
24017 * loadhist.el (unload--set-major-mode): New function.
24018 (unload-feature): Use it.
24019
24020 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24021 (python-unload-function): New function.
24022
24023 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24024
24025 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24026
24027 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24028
24029 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24030 the candidates list.
24031
24032 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24033
24034 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24035
24036 2011-06-23 Richard Stallman <rms@gnu.org>
24037
24038 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24039 (rmail-variables): Set next-error-move-function.
24040 (rmail-what-message): Take argument POS.
24041 (rmail-next-error-move): New function.
24042
24043 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24044
24045 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24046 messages for adjacent non-terminals.
24047
24048 2011-06-23 Richard Stallman <rms@gnu.org>
24049
24050 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24051 (rmail-show-message-1): Preserve buffer modified flag.
24052 (rmail-start-mail): Don't specify use of rmail-mail-return;
24053 that's done by mail-bury now.
24054 (rmail-mail-return): Handle arg NEWBUF.
24055
24056 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24057
24058 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24059 SIZE is a number.
24060
24061 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24062
24063 * window.el (get-lru-window, get-mru-window)
24064 (get-largest-window): Never return a minibuffer window.
24065 (display-buffer-pop-up-window): Fix a bug that could lead to
24066 reusing the minibuffer window.
24067 (display-buffer): Pass original specifier argument to
24068 display-buffer-function instead of the normalized one.
24069 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24070
24071 2011-06-22 Leo Liu <sdl.web@gmail.com>
24072
24073 * minibuffer.el (completing-read-function)
24074 (completing-read-default): Move from minibuf.c.
24075
24076 2011-06-22 Richard Stallman <rms@gnu.org>
24077
24078 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24079 to Rmail even if not started by a special Rmail command.
24080
24081 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24082 Copy the buffer currently showing just one message.
24083
24084 2011-06-22 Roland Winkler <winkler@gnu.org>
24085
24086 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24087 (bibtex-clean-entry): First delete the old key so that a
24088 customized algorithm for generating the new key does not get
24089 confused by the old key.
24090 (bibtex-url): Obey regexp of first step.
24091 (bibtex-search-entries): Do not use add-to-list with local
24092 list-var.
24093
24094 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24095
24096 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24097 stored a user name, then query for the password first, instead of
24098 waiting for SMTP to give an error message and the trying again.
24099
24100 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24101
24102 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24103 BUFFER in call-process.
24104
24105 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24106
24107 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24108 QUIT twice.
24109 (smtpmail-try-auth-methods): Require user name and password from
24110 auth-source.
24111
24112 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24113
24114 * window.el (display-buffer-default-specifiers)
24115 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24116 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24117 (split-window): Normalize SIDE argument (Bug#8916).
24118
24119 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24120 (special-display-frame-alist, special-display-popup-frame):
24121 Remove duplicate declarations. These are now in window.el.
24122
24123 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24124
24125 * mail/smtpmail.el (smtpmail-via-smtp):
24126 Set :use-starttls-if-possible so that we always use STARTTLS if the
24127 server supports it. SMTP servers that support STARTTLS commonly
24128 require it.
24129
24130 * net/network-stream.el (network-stream-open-starttls): Support
24131 upgrading to STARTTLS always, even if we don't have built-in support.
24132 (open-network-stream): Add the :always-query-capabilities keyword.
24133
24134 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24135 upgrades with `open-network-stream', and rely solely on
24136 auth-source for all credentials. Big changes throughout the file,
24137 but in particular:
24138 (smtpmail-auth-credentials): Remove.
24139 (smtpmail-starttls-credentials): Remove.
24140 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24141 MAIL FROM, too.
24142
24143 * net/network-stream.el (network-stream-open-starttls):
24144 Provide support for client certificates both for external and built-in
24145 STARTTLS.
24146 (auth-source): Require.
24147 (open-network-stream): Document the :client-certificate keyword.
24148 (network-stream-certificate): Change cert-cert to cert and
24149 cert-key to key.
24150
24151 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24152
24153 * net/tramp-cache.el (top): Don't load the persistency file when
24154 "emacs -Q" has been called.
24155
24156 2011-06-21 Tim Harper <timcharper@gmail.com>
24157
24158 * term/ns-win.el (ns-initialize-window-system):
24159 Set application-specific `ApplePressAndHoldEnabled' system
24160 resource to NO as it is not yet supported by the NS port.
24161
24162 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24163
24164 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24165 (list-dynamic-libraries): ...not here.
24166
24167 2011-06-21 Leo Liu <sdl.web@gmail.com>
24168
24169 * subr.el (sha1): Implement sha1 using secure-hash.
24170
24171 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24172
24173 * window.el (display-buffer-alist): In default value do not
24174 enforce searching a window on any but the selected frame.
24175 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24176 (display-buffer-select-window): Remove function.
24177 (display-buffer-in-window): When a window on another frame gets
24178 reused, do not select it any more but just raise its frame if
24179 necessary (Bug#8851) and (Bug#8856).
24180 (display-buffer-normalize-options): Handle pop-up-frames related
24181 options more faithfully.
24182 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24183 window if it is on another frame.
24184 (display-buffer-alist, display-buffer-default-specifiers):
24185 Don't make new frame unsplittable by default.
24186 (display-buffer-normalize-argument): Fix doc-string typo and use
24187 'same-frame-other-window instead of 'other-window when associating
24188 with display-buffer-macro-specifiers.
24189
24190 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24191
24192 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24193 New functions.
24194 (5x5-mode-map, 5x5-mode-menu): Bind them.
24195 (5x5-draw-grid): Tweak the solver's rendering.
24196
24197 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24198
24199 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24200 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24201
24202 2011-06-21 Drew Adams <drew.adams@oracle.com>
24203
24204 * menu-bar.el: Use function variable instead of switch-to-buffer.
24205 (menu-bar-select-buffer-function): New variable.
24206 (menu-bar-update-buffers): Use it (bug#8876).
24207
24208 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24209
24210 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24211 variable's status.
24212
24213 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24214
24215 * x-dnd.el (x-dnd-version-from-flags)
24216 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24217 and long as number (Bug#8899).
24218 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24219
24220 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24221
24222 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24223 (completion-try-completion, completion-all-completions): Compute the
24224 metadata argument if it's missing; make it optional (bug#8795).
24225
24226 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24227 (widget-complete): Use new :completion-function property.
24228 (widget-completions-at-point): New function.
24229 (default): Use :completion-function instead of :complete.
24230 (widget-default-completions): Rename from widget-default-complete;
24231 Rewrite.
24232 (widget-string-complete, widget-file-complete, widget-color-complete):
24233 Remove functions.
24234 (file, symbol, function, variable, coding-system, color):
24235 * international/mule-cmds.el (default-input-method, charset)
24236 (language-info-custom-alist):
24237 * cus-edit.el (face): Use new property :completions.
24238
24239 * progmodes/pascal.el (pascal-completions-at-point): New function.
24240 (pascal-mode): Use it.
24241 (pascal-mode-map): Use completion-at-point.
24242 (pascal-toggle-completions): Make obsolete.
24243 (pascal-complete-word, pascal-show-completions):
24244 * progmodes/octave-mod.el (octave-complete-symbol):
24245 Redefine as obsolete alias.
24246 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24247 Signal absence of completion info for old Octave,
24248 (inferior-octave-complete): Redefine as obsolete alias.
24249 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24250 (meta-completions-at-point): Rename from meta-complete-symbol and
24251 adapt it for use on completion-at-point-functions.
24252 (meta-common-mode): Use it.
24253 (meta-looking-at-backward, meta-match-buffer): Remove.
24254 (meta-complete-symbol): Redefine as obsolete alias.
24255 (meta-common-mode-map): Use completion-at-point.
24256 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24257 (makefile-mode-map): Use completion-at-point.
24258 (makefile-completions-at-point): Rename from makefile-complete and
24259 adapt it for use on completion-at-point-functions.
24260 (makefile-mode): Use it.
24261 (makefile-complete): Redefine as obsolete alias.
24262
24263 2011-06-20 Deniz Dogan <deniz@dogan.se>
24264
24265 * net/rcirc.el: Delete trailing whitespaces once and for all.
24266
24267 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24268
24269 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24270
24271 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24272
24273 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24274
24275 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24276
24277 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24278
24279 * window.el (display-buffer-other-window-means-other-frame):
24280 Call display-buffer-normalize-alist.
24281 (display-buffer-normalize-specifiers-1): Rename to
24282 display-buffer-normalize-argument. New argument other-frame.
24283 Rewrite.
24284 (display-buffer-normalize-specifiers-2): Rename to
24285 display-buffer-normalize-options.
24286 (display-buffer-normalize-alist-1): New function.
24287 (display-buffer-normalize-specifiers-3): Rename to
24288 display-buffer-normalize-alist.
24289 Call display-buffer-normalize-alist-1.
24290 (display-buffer-normalize-options-inhibit): New variable.
24291 (display-buffer-normalize-specifiers): Rewrite calling
24292 display-buffer-normalize-alist,
24293 display-buffer-normalize-argument, and
24294 display-buffer-normalize-options. Don't call the latter if
24295 display-buffer-normalize-options-inhibit is non-nil.
24296 (frame-auto-delete): New option.
24297 (window-deletable-p): Use frame-auto-delete.
24298 (window-list-no-nils, window-state-ignored-parameters)
24299 (window-state-get-1, window-state-get, window-state-put-list)
24300 (window-state-put-1, window-state-put-2, window-state-put):
24301 New functions.
24302 (display-buffer-normalize-options): Move special-display-p group
24303 after pop-up-frame group (Bug#8851) and (Bug#8856).
24304
24305 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24306
24307 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24308 groups (Bug#8776).
24309 (rx-submatch-n): New function.
24310 (rx): Document it.
24311
24312 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24313 (Bug#8768).
24314
24315 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24316
24317 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24318
24319 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24320 anytime existing face settings are present (Bug#8889).
24321
24322 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24323 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24324 Remove unused argument.
24325
24326 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24327
24328 * window.el (display-buffer-default-specifiers):
24329 Remove pop-up-frame. Add pop-up-window-min-height,
24330 pop-up-window-min-width, and another reuse-window specifier
24331 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24332 (display-buffer-normalize-specifiers-2):
24333 Handle split-height-threshold and split-width-threshold also when
24334 pop-up-windows is unset. Add a reuse-window specifier for the
24335 case popping up a new window fails.
24336 (special-display-popup-frame): Remove double quoting.
24337 (display-buffer-normalize-specifiers-1): Fix thinko.
24338
24339 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24340
24341 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24342 according to comint-completion-addsuffix.
24343
24344 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24345 (pcomplete-suffix-list): Mark as obsolete.
24346 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24347 pcomplete-seen in the closure.
24348 (pcomplete-comint-setup): Setup completion-at-point as well.
24349 (pcomplete--entries): New function.
24350 (pcomplete--env-regexp): New var.
24351 (pcomplete-entries): Rewrite to work with partial-completion and
24352 without relying on pcomplete-suffix-list.
24353 (pcomplete-pare-list): Remove, unused.
24354
24355 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24356
24357 * window.el (display-buffer-alist): Set pop-up-window-min-height
24358 and pop-up-window-min-width in default value. Reported by
24359 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24360 other-window-means-other-frame.
24361 (display-buffer-macro-specifiers): Comment out entry for
24362 other-window specifier.
24363 (display-buffer-other-window-means-other-frame): New function.
24364 (display-buffer-normalize-specifiers-1): New arguments
24365 buffer-name and label. Treat other-window case specially.
24366 (display-buffer-normalize-specifiers-2): Treat other-window case
24367 specially.
24368 (display-buffer-normalize-specifiers-3): New function.
24369 (display-buffer-normalize-specifiers):
24370 Call display-buffer-normalize-specifiers-3.
24371
24372 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24373
24374 * window.el (same-window-p): Fix two typos introduced when
24375 adding with-no-warnings.
24376 (display-buffer-normalize-specifiers-1): Don't check
24377 pop-up-frames for 'unset initialization.
24378 (display-buffer-normalize-specifiers-2): Major rewrite using
24379 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24380 (pop-up-frames, display-buffer-reuse-frames)
24381 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24382 Suggested by David Engster <deng@randomsample.de>.
24383 (even-window-heights): Initialize to 'unset.
24384 (display-buffer-alist-set): Handle new 'unset initializations.
24385 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24386 other window case.
24387
24388 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24389
24390 * window.el (display-buffer-normalize-specifiers-1):
24391 Respect current value of pop-up-frames for most reasonable values of
24392 second argument of display-buffer (Bug#8865).
24393 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24394 (switch-to-buffer-other-window-same-frame)
24395 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24396 Adams (Bug#8875).
24397 (display-buffer): Don't check noninteractive when calling
24398 display-buffer-pop-up-frame.
24399 (display-buffer-pop-up-frame): Never pop up a frame in
24400 noninteractive mode (Bug#8857).
24401 (enlarge-window, shrink-window): Don't report an error when the
24402 window can't be resized as requested (Bug#8862).
24403
24404 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24405
24406 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24407
24408 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24409
24410 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24411
24412 2011-06-15 Alan Mackenzie <acm@muc.de>
24413
24414 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24415 for declarators, disable knr checking to speed up for normal files.
24416 2: Refactor, replacing a sequence of nested if forms by a cond form.
24417
24418 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24419
24420 * net/network-stream.el (open-network-stream): Add the keyword
24421 :always-query-capabilities for the case where you want to force a
24422 `plain' network connection, but the protocol still requires the
24423 capabilitiy command (i.e., SMTP and EHLO).
24424
24425 * subr.el (process-live-p): Rename from `process-alive-p' for
24426 consistency with other `-live-p' functions.
24427
24428 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24429
24430 * window.el (same-window-buffer-names, same-window-regexps)
24431 (special-display-frame-alist, special-display-popup-frame)
24432 (special-display-function, special-display-buffer-names)
24433 (special-display-regexps, pop-up-frame-alist)
24434 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24435 (pop-up-windows, split-window-preferred-function)
24436 (split-height-threshold, split-width-threshold, even-window-heights)
24437 (display-buffer-mark-dedicated): Don't encourage the use of
24438 display-buffer-alist from Elisp code.
24439
24440 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24441
24442 * progmodes/python.el (python-mode): Derive from prog-mode.
24443 * progmodes/ps-mode.el (ps-mode):
24444 * progmodes/mixal-mode.el (mixal-mode):
24445 * progmodes/cfengine.el (cfengine-mode):
24446 * progmodes/ld-script.el (ld-script-mode): Likewise.
24447
24448 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24449
24450 * window.el (display-buffer-alist): Trim default value to avoid
24451 popping up a new frame (Bug#8857) or reusing an arbitrary window
24452 on another frame.
24453 (display-buffer): Do not fall back on popping up a new frame in
24454 batch mode (Bug#8857).
24455
24456 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24457
24458 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24459 (custom-theme-summary): New function.
24460 (customize-themes): Use it.
24461
24462 2011-06-13 Glenn Morris <rgm@gnu.org>
24463
24464 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24465
24466 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24467
24468 * help.el (help-window): Remove variable.
24469 (help-window-point-marker, temp-buffer-max-height)
24470 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24471 (help-print-return-message): Don't set help-window.
24472 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24473 (help-window-setup-finish): Remove.
24474 (help-window-display-message, help-window-setup)
24475 (with-help-window): Major rewrite based on new
24476 display-buffer-window variable.
24477
24478 * help-mode.el (help-mode-finish): Remove help-window related
24479 code.
24480
24481 * view.el (view-exits-all-viewing-windows): Remove reference to
24482 view-return-to-alist in doc-string.
24483 (view-return-to-alist): Make obsolete.
24484 (view-buffer): Call pop-to-buffer-same-window and remove
24485 undo-window code.
24486 (view-buffer-other-window): Call pop-to-buffer-other-window and
24487 simplify code. Ignore second argument.
24488 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24489 simplify code. Ignore second argument.
24490 (view-return-to-alist-update): Make obsolete.
24491 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24492 Rewrite using quit-restore window parameters.
24493 (view-mode-exit): Rename second argument to EXIT-ONLY.
24494 Rewrite using quit-restore-window.
24495 (View-exit, View-exit-and-edit, View-leave, View-quit)
24496 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24497 appropriate arguments.
24498 (view-end-message): Use quit-restore window parameter.
24499
24500 * window.el (display-buffer-function): Rewrite doc-string.
24501 (display-buffer-window, display-buffer-alist): New variables.
24502 (display-buffer-split-specifiers)
24503 (display-buffer-side-specifiers)
24504 (display-buffer-macro-specifiers): New constants.
24505 (display-buffer-even-window-sizes, display-buffer-set-height)
24506 (display-buffer-set-width, display-buffer-select-window)
24507 (display-buffer-in-window, display-buffer-reuse-window)
24508 (display-buffer-split-window-1, display-buffer-split-window)
24509 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24510 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24511 (display-buffer-in-side-window, normalize-buffer-to-display)
24512 (display-buffer-normalize-specifiers-1)
24513 (display-buffer-normalize-specifiers-2)
24514 (display-buffer-normalize-specifiers, display-buffer-frame):
24515 New functions.
24516 (display-buffer): Major rewrite.
24517 (display-buffer-other-window, display-buffer-other-frame)
24518 (pop-to-buffer, switch-to-buffer-other-window)
24519 (switch-to-buffer-other-frame): Rewrite.
24520 (display-buffer-same-window, display-buffer-same-frame)
24521 (display-buffer-same-frame-other-window)
24522 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24523 (pop-to-buffer-other-window)
24524 (pop-to-buffer-same-frame-other-window)
24525 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24526 (switch-to-buffer-other-window-same-frame): New functions.
24527 (same-window-p, special-display-p): Rewrite disabling warnings.
24528 Make obsolete.
24529 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24530 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24531 Make obsolete
24532 (same-window-buffer-names, same-window-regexps)
24533 (special-display-frame-alist, special-display-popup-frame)
24534 (special-display-function, special-display-buffer-names)
24535 (special-display-regexps, pop-up-frame-alist)
24536 (pop-up-frame-function, split-window-preferred-function)
24537 (split-height-threshold, split-width-threshold)
24538 (even-window-heights): Make obsolete.
24539
24540 2011-06-12 Glenn Morris <rgm@gnu.org>
24541
24542 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24543 Misc simplifications.
24544
24545 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24546
24547 * window.el (window-safely-shrinkable-p): Restore function which
24548 was inadvertently removed in change from 2011-06-11. Declare as
24549 obsolete.
24550
24551 * calendar/calendar.el (calendar-generate-window):
24552 Use window-iso-combined-p instead of combination of one-window-p and
24553 window-safely-shrinkable-p.
24554
24555 2011-06-12 Glenn Morris <rgm@gnu.org>
24556
24557 * progmodes/fortran.el (fortran-mode-syntax-table):
24558 * progmodes/f90.el (f90-mode-syntax-table):
24559 Set % to punctuation. (Bug#8820)
24560 (f90-find-tag-default): Remove, no longer needed.
24561
24562 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24563
24564 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24565
24566 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24567
24568 * image.el (image-animated-p): Return animation delay in seconds.
24569 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24570 (image-animate-timeout): Remove DELAY argument. Don't assume
24571 every subimage has the same delay; get it from image-animated-p.
24572 (image-animate): Caller changed.
24573
24574 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24575
24576 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24577 to ignored backtrace functions.
24578
24579 2011-06-11 Glenn Morris <rgm@gnu.org>
24580
24581 * calendar/appt.el (appt-disp-window-function): Doc fix.
24582 (appt-check): Handle overlapping appointments. (Bug#8337)
24583
24584 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24585
24586 * window.el (window-tree-1, window-tree): New functions, moving
24587 the latter to window.el.
24588 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24589 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24590 (bw-refresh-edges): Remove.
24591 (balance-windows-1, balance-windows-2): New functions.
24592 (balance-windows): Rewrite in terms of window tree functions,
24593 balance-windows-1 and balance-windows-2.
24594 (bw-adjust-window): Remove.
24595 (balance-windows-area-adjust): New function with functionality of
24596 bw-adjust-window but using resize-window.
24597 (set-window-text-height): Rewrite doc-string.
24598 Use normalize-live-window and resize-window.
24599 (enlarge-window-horizontally, shrink-window-horizontally):
24600 Rename argument to DELTA.
24601 (window-buffer-height): New function.
24602 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24603 Rewrite using new window resize routines.
24604 (kill-buffer-and-window, mouse-autoselect-window-select):
24605 Use ignore-errors instead of condition-case.
24606 (quit-window): Call delete-frame instead of delete-windows-on
24607 for the only buffer on frame.
24608
24609 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24610
24611 * loadup.el (top-level): Load window before files for the sake
24612 of replace-buffer-in-windows.
24613
24614 * files.el (read-buffer-to-switch)
24615 (switch-to-buffer-other-window)
24616 (switch-to-buffer-other-frame, display-buffer-other-frame):
24617 Move to window.el.
24618
24619 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24620 (previous-buffer): Move to window.el.
24621
24622 * bindings.el (unbury-buffer): Move to window.el.
24623
24624 * window.el (delete-other-windows-vertically): Move after
24625 definition of delete-other-windows.
24626 (other-window, delete-windows-on, replace-buffer-in-windows):
24627 Move here from window.c.
24628 (record-window-buffer, unrecord-window-buffer)
24629 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24630 (switch-to-next-buffer): New functions.
24631 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24632 from simple.el. Call switch-to-next-buffer.
24633 (previous-buffer): Move here from simple.el.
24634 Call switch-to-prev-buffer.
24635 (bury-buffer): Move here from buffer.c. Switch to previous
24636 buffer when window cannot be deleted.
24637 (unbury-buffer): Move here from bindings.el.
24638 (ctl-x-map): Move binding for other-window from window.c to
24639 here.
24640 (read-buffer-to-switch, switch-to-buffer-other-window)
24641 (switch-to-buffer-other-frame): Move here from files.el.
24642 (normalize-buffer-to-switch-to): New functions.
24643 (switch-to-buffer): Move here from buffer.c.
24644 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24645
24646 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24647
24648 * window.el (window-min-height, window-min-width): Move here
24649 from window.c. Add defcustoms and rewrite doc-strings.
24650 (resize-mini-window, resize-window): New functions.
24651 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24652 Move here from window.c.
24653 (maximize-window, minimize-window): New functions.
24654 (delete-window, delete-other-windows, split-window): Move here
24655 from window.c.
24656 (window-split-min-size): New function.
24657 (split-window-keep-point): Mention split-window-above-each-other
24658 instead of split-window-vertically.
24659 (split-window-above-each-other, split-window-vertically):
24660 Rename split-window-vertically to split-window-above-each-other
24661 and provide defalias for old definition.
24662 (split-window-side-by-side, split-window-horizontally):
24663 Rename split-window-horizontally to split-window-side-by-side
24664 and provide defalias for the old definition.
24665 (ctl-x-map): Move bindings for delete-window,
24666 delete-other-windows and enlarge-window here from window.c.
24667 Replace bindings for split-window-vertically and
24668 split-window-horizontally by bindings for
24669 split-window-above-each-other and split-window-side-by-side.
24670
24671 * cus-start.el (all): Remove entries for window-min-height and
24672 window-min-width. Add entries for window-splits and
24673 window-nest.
24674
24675 2011-06-09 Glenn Morris <rgm@gnu.org>
24676
24677 * calendar/appt.el (appt-mode-line): New function.
24678 (appt-check, appt-disp-window): Use it.
24679
24680 * files.el (hack-one-local-variable-eval-safep):
24681 Allow minor-modes with explicit +/-1 arguments.
24682
24683 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24684
24685 * term/xterm.el (xterm): Add defgroup.
24686 (xterm-extra-capabilities): Add defcustom to supply known xterm
24687 capabilities, skip querying them, or query them (default).
24688 (terminal-init-xterm): Use it.
24689 (terminal-init-xterm-modify-other-keys): New function to set up
24690 modifyOtherKeys support to simplify `terminal-init-xterm'.
24691
24692 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24693
24694 * window.el (resize-window-reset, resize-window-reset-1)
24695 (resize-subwindows-skip-p, resize-subwindows-normal)
24696 (resize-subwindows, resize-other-windows, resize-this-window)
24697 (resize-root-window, resize-root-window-vertically)
24698 (window-deletable-p, window-or-subwindow-p)
24699 (frame-root-window-p): New functions.
24700
24701 2011-06-09 Glenn Morris <rgm@gnu.org>
24702
24703 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24704 (ange-ftp-get-files): Use it.
24705
24706 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24707
24708 * mail/sendmail.el (mail-recover-1, mail-recover):
24709 * files.el (recover-file, recover-session):
24710 Handle dired-listing-switches not being just a single short option.
24711
24712 2011-06-09 Glenn Morris <rgm@gnu.org>
24713
24714 * calendar/appt.el (appt-display-message, appt-disp-window):
24715 Handle lists of appointments.
24716
24717 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24718
24719 * window.el (one-window-p): Move down in code.
24720 Rewrite doc-string.
24721 (window-current-scroll-bars): Rewrite doc-string.
24722 Normalize live window argument.
24723 (walk-windows, get-window-with-predicate, count-windows):
24724 Rewrite doc-string. Use window-list-1.
24725 (window-in-direction-2, window-in-direction, get-mru-window):
24726 New functions.
24727
24728 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24729
24730 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24731 Doc fix (Bug#8713).
24732
24733 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24734
24735 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24736
24737 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24738
24739 * loadhist.el (unload-feature-special-hooks):
24740 Add `comint-output-filter-functions'.
24741
24742 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24743
24744 * calendar/appt.el (appt-check): Move some initializations into the let.
24745
24746 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24747
24748 * window.el (window-height): Defalias to window-total-height.
24749 (window-width): Defalias to window-body-width.
24750
24751 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24752
24753 * image-mode.el (image-toggle-animation): New command.
24754 (image-mode-map): Bind it to RET.
24755 (image-mode): Update message.
24756 (image-toggle-display-image): Avoid a spurious cache flush.
24757 (image-transform-rotation): Doc fix.
24758 (image-transform-properties): Return quickly in the normal case.
24759 (image-animate-loop): Rename from image-animate-max-time.
24760
24761 * image.el (image-animate-max-time): Move to image-mode.el.
24762 (create-animated-image): Remove unnecessary function.
24763 (image-animate): Rename from image-animate-start. New arg.
24764 (image-animate-stop): Remove; just use image-animate-timer.
24765 (image-animate-timer): Use car-safe.
24766 (image-animate-timeout): Rename argument.
24767
24768 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24769
24770 * window.el (get-lru-window, get-largest-window): Move here from
24771 window.c. Rename first argument to ALL-FRAMES.
24772 Rephrase doc-strings.
24773 (get-buffer-window-list): Rewrite using window-list-1.
24774 Rephrase doc-string.
24775 (window-safe-min-height, window-safe-min-width): New constants.
24776 (window-size-ignore, window-min-size, window-min-size-1)
24777 (window-sizable, window-sizable-p, window-size-fixed-1)
24778 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24779 (window-max-delta-1, window-max-delta, window-resizable)
24780 (window-resizable-p, window-total-height, window-total-width)
24781 (window-body-width): New functions.
24782 (window-full-height-p, window-full-width-p): Rewrite using
24783 window-total-size.
24784 (window-body-height): Rewrite using window-body-size.
24785
24786 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24787
24788 * window.el (window-right, window-left, window-child)
24789 (window-child-count, window-last-child, window-any-p)
24790 (normalize-live-buffer, normalize-live-frame)
24791 (normalize-any-window, normalize-live-window)
24792 (window-iso-combination-p, window-iso-combined-p)
24793 (window-iso-combinations)
24794 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24795 (windows-with-parameter, window-with-parameter)
24796 (window-atom-root, make-window-atom, window-atom-check-1)
24797 (window-atom-check, window-side-check, window-check):
24798 New functions.
24799 (ignore-window-parameters, window-sides, window-sides-vertical)
24800 (window-sides-slots): New variables.
24801 (window-size-fixed): Move down in code. Minor doc-string fix.
24802
24803 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24804
24805 * comint.el (comint-dynamic-complete-as-filename)
24806 (comint-dynamic-complete-filename): Correctly call
24807 completion-in-region.
24808
24809 2011-06-05 Deniz Dogan <deniz@dogan.se>
24810
24811 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24812 in last change.
24813
24814 2011-06-05 Deniz Dogan <deniz@dogan.se>
24815
24816 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24817 (rcirc): Use it to prompt for encryption.
24818
24819 2011-06-05 Roland Winkler <winkler@gnu.org>
24820
24821 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24822 (bibtex-search-entries): New command bound to C-c C-a.
24823 (bibtex-display-entries): New function.
24824
24825 2011-06-05 Roland Winkler <winkler@gnu.org>
24826
24827 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24828 (bibtex-insert-kill): After yanking insert newline if necessary.
24829 (bibtex-initialize): Call bibtex-string-files-init only once.
24830 (bibtex-mode): Do not call easy-menu-add.
24831 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24832 (bibtex-yank): Set arg properly if nil.
24833
24834 2011-06-05 Roland Winkler <winkler@gnu.org>
24835
24836 * textmodes/bibtex.el (bibtex-search-entry-globally):
24837 New variable.
24838 (bibtex-search-entry): Use it.
24839
24840 2011-06-05 Roland Winkler <winkler@gnu.org>
24841
24842 * textmodes/bibtex.el (bibtex-entry-format): New option
24843 sort-fields.
24844 (bibtex-format-entry, bibtex-reformat): Honor this option.
24845 (bibtex-parse-entry): Return fields in proper order.
24846
24847 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24848
24849 * doc-view.el (doc-view-remove-if): Move computation of result out
24850 of `dolist' to silence misleading lexical-binding warning.
24851
24852 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24853
24854 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24855 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24856
24857 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24858
24859 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24860 "SunOS 5.10".
24861
24862 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24863
24864 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24865 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24866 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24867 (tramp-parse-putty):
24868 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24869 (tramp-completion-function-alist-ssh)
24870 (tramp-completion-function-alist-telnet)
24871 (tramp-completion-function-alist-su)
24872 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24873 cookie.
24874
24875 * net/tramp-ftp.el:
24876 * net/tramp-sh.el:
24877 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24878 load "tramp.el" `tramp-set-completion-function'.
24879
24880 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24881
24882 * shell.el: Require and use pcomplete.
24883 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24884 (shell-completion-vars): Set pcomplete-default-completion-function.
24885
24886 2011-06-04 Deniz Dogan <deniz@dogan.se>
24887
24888 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24889 `memq' (Bug#8799).
24890
24891 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24892
24893 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24894
24895 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24896
24897 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24898 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24899 * vc/log-view.el (log-view-beginning-of-defun):
24900 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24901 (smerge-refine-forward, smerge-refine-chopup-region):
24902 Silence warning for unused `dotimes' counter variables.
24903
24904 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24905
24906 * net/tramp.el (tramp-with-progress-reporter): Rename from
24907 with-progress-reporter. Use `declare'.
24908 * net/tramp-smb.el:
24909 * net/tramp-sh.el:
24910 * net/tramp-gvfs.el: Update all uses.
24911
24912 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24913
24914 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24915 buffer isn't killed before making it current.
24916
24917 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24918
24919 Silence various byte-compiler warnings.
24920 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24921 `access-type' and new obsolescence format.
24922 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24923 new format.
24924 (byte-compile-check-variable): New `access-type' argument.
24925 Only warn if the access-type is obsolete.
24926 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24927 (byte-compile-variable-set): Adjust callers.
24928 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24929 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24930 setting it as obsolete.
24931 * simple.el (minibuffer-completing-symbol):
24932 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24933 access as obsolete.
24934 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24935 obsolete yet.
24936 * international/quail.el (quail-mouse-choose-completion): Remove unused
24937 code referring to obsolete var.
24938 (quail-choose-completion-string): Remove.
24939 * server.el (server-clients-with, server-kill-buffer-query-function)
24940 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24941 * proced.el (proced-send-signal):
24942 * emacs-lisp/lisp.el (lisp-complete-symbol):
24943 Replace completion-annotate-function with completion-extra-properties.
24944
24945 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24946
24947 * simple.el (goto-line): Use read-number.
24948 (overriding-map-is-bound): Remove.
24949 (saved-overriding-map): Change default.
24950 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24951 Take the map as argument.
24952 (universal-argument, negative-argument, digit-argument): Use it.
24953 (restore-overriding-map): Adjust.
24954 (do-auto-fill): Use fill-forward-paragraph.
24955 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24956
24957 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24958 (minibuffer-inactive-mode): New major mode.
24959 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24960 the *Messages* buffer" hack.
24961 (mouse-popup-menubar): Don't burp if the event is a normal key.
24962
24963 Miscellaneous tweaks.
24964 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24965 lexical scoping as in subr.el's dolist and dotimes.
24966 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24967 Silence compiler warning.
24968 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24969 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24970 * international/ccl.el (ccl-compile): Trivial simplification.
24971 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24972 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24973 `printflag' argument.
24974 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24975 Purecopy the whole obsolescence data.
24976
24977 2011-06-01 Leo Liu <sdl.web@gmail.com>
24978
24979 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24980 improve doc-string as suggested by Marco Pessotto
24981 <melmothx@gmail.com>.
24982 (rcirc-print): Fix last change.
24983
24984 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24985
24986 * minibuffer.el (complete-with-action): Return nil for the metadata and
24987 boundaries of non-functional tables.
24988 (completion-table-dynamic): Return nil for the metadata.
24989 (completion-table-with-terminator): Add default case, using
24990 complete-with-action.
24991 (completion--metadata): New function.
24992 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24993 to try and avoid pathological performance problems.
24994 (completion--embedded-envvar-table): Return `category' metadata.
24995
24996 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24997
24998 * subr.el (process-alive-p): New tiny convenience function.
24999
25000 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25001
25002 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25003 content but also its previous major mode.
25004
25005 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25006
25007 * emacs-lisp/debug.el (debug): Restore the previous content of the
25008 *Backtrace* buffer when we exit with C-M-c.
25009
25010 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25011
25012 * minibuffer.el: Add metadata method to completion tables.
25013 (completion-category-overrides): New defcustom.
25014 (completion-metadata, completion--field-metadata)
25015 (completion-metadata-get, completion--styles)
25016 (completion--cycle-threshold): New functions.
25017 (completion-try-completion, completion-all-completions):
25018 Add `metadata' argument to choose completion-styles.
25019 (completion--do-completion): Use metadata to choose cycling.
25020 (completion-all-sorted-completions): Use metadata for sorting.
25021 Remove :completion-cycle-penalty which is not needed any more.
25022 (completion--try-word-completion): Add `metadata' argument.
25023 (minibuffer-completion-help): Check metadata for annotation function
25024 and sorting.
25025 (completion-file-name-table): Return `category' metadata.
25026 (minibuffer-completing-file-name): Make obsolete.
25027 * simple.el (minibuffer-completing-symbol): Make obsolete.
25028 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25029 completion-try-completion.
25030
25031 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25032
25033 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25034
25035 2011-05-30 Leo Liu <sdl.web@gmail.com>
25036
25037 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25038 (rcirc-print): Decode all incoming messages (bug#8744).
25039 (rcirc-decode-coding-system): Allow value nil for automatic coding
25040 system detection.
25041
25042 2011-06-01 Glenn Morris <rgm@gnu.org>
25043
25044 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25045
25046 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25047
25048 * image.el (image-animate-max-time): Allow nil and t values.
25049 Default to nil.
25050 (create-animated-image): Doc fix.
25051 (image-animate-start): Remove second arg; just use
25052 image-animate-max-time.
25053 (image-animate-timeout): Doc fix. Args changed.
25054
25055 * image-mode.el (image-toggle-display-image): Ensure that the
25056 image spec passed to the animate timer is the same object as in
25057 the buffer's display property (Bug#6981).
25058 (image-transform-properties): Doc fix.
25059
25060 * image.el (image-animate-max-time): Default to nil.
25061
25062 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25063
25064 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25065 entire buffer list (Bug#8184).
25066
25067 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25068
25069 * image.el (imagemagick-types-inhibit)
25070 (imagemagick-register-types): Doc fix.
25071
25072 2011-05-29 Deniz Dogan <deniz@dogan.se>
25073
25074 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25075 default.
25076
25077 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25078
25079 * select.el: Don't perform clipboard-manager saving in hooks;
25080 leave the hooks empty.
25081
25082 2011-05-28 Leo Liu <sdl.web@gmail.com>
25083
25084 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25085 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25086 (occur-edit-mode): New major mode (Bug#8463).
25087 (occur-after-change-function): New function.
25088 (occur-engine): Give Occur tags a read-only property.
25089
25090 2011-05-28 Kevin Ryde <user42@zip.com.au>
25091
25092 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25093
25094 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25095
25096 * bindings.el (help-echo): Make the initial non-indicator dash
25097 empty on graphical terminals (Bug#7295).
25098
25099 * files.el (auto-mode-alist): Move config rule after the
25100 in-stripping one (Bug#8547).
25101
25102 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25103
25104 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25105 setting (Bug#8740).
25106
25107 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25108
25109 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25110 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25111 (Bug#8539).
25112
25113 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25114
25115 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25116
25117 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25118
25119 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25120 (hs-hide-block-at-point, hs-find-block-beginning)
25121 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25122 (Bug#8279).
25123
25124 2011-05-28 Glenn Morris <rgm@gnu.org>
25125
25126 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25127
25128 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25129
25130 * help-fns.el (describe-function-1): If the function is a derived
25131 major mode, print the parent mode.
25132
25133 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25134 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25135
25136 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25137
25138 * minibuffer.el (completion--capf-wrapper): Check applicability before
25139 returning non-nil for non-exclusive completion data.
25140 * progmodes/etags.el (tags-completion-at-point-function):
25141 * info-look.el (info-lookup-completions-at-point): Mark as
25142 non-exclusive.
25143 (info-complete): Adjust accordingly.
25144
25145 * info-look.el: Convert to lexical-binding and completion-at-point.
25146 (info-lookup-completions-at-point): New function.
25147 (info-complete): Use it and completion-in-region.
25148
25149 2011-05-28 Drew Adams <drew.adams@oracle.com>
25150
25151 * isearch.el: Let M-e start with point at the first mismatched char.
25152 (isearch-fail-pos): New function.
25153 (isearch-edit-string): Use it.
25154
25155 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25156
25157 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25158
25159 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25160
25161 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25162 traversal functions for avl-trees.
25163 (avl-tree--stack): New struct.
25164 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25165 (avl-tree-enter): Add optional `updatefun' arg.
25166 (avl-tree--do-enter): Add optional `updatefun' arg.
25167 Change return value.
25168 (avl-tree-delete): Add optional `test' and `nilflag' args.
25169 (avl-tree--do-delete): Add `test' and `nilflag' args.
25170 Change return value.
25171 (avl-tree-member): Add optional `nilflag'
25172 (avl-tree-member-p): New function.
25173 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25174 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25175 (avl-tree-stack-empty-p): New functions.
25176
25177 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25178 avl-tree--del-balance1 and make it work both ways.
25179 (avl-tree--del-balance2): Remove.
25180 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25181 make it work both ways.
25182 (avl-tree--enter-balance2): Remove.
25183 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25184 New macros.
25185 (avl-tree--mapc, avl-tree-map): Add direction argument.
25186
25187 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25188
25189 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25190
25191 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25192
25193 * select.el: Support clipboard managers with built-in function
25194 x-clipboard-manager-save, via delete-frame-functions and
25195 kill-emacs-hook.
25196 (xselect-convert-to-targets): Add MULTIPLE target to list.
25197 (xselect-convert-to-save-targets): New function.
25198
25199 2011-05-27 Kenichi Handa <handa@m17n.org>
25200
25201 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25202 let-binding rfc2047-encode-encoded-words to nil.
25203
25204 2011-05-27 Glenn Morris <rgm@gnu.org>
25205
25206 * mail/emacsbug.el: Don't require url-util.
25207
25208 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25209
25210 * files.el (set-auto-mode):
25211 Also respect mode: entries at the end of the file. (Bug#8586)
25212
25213 2011-05-26 Glenn Morris <rgm@gnu.org>
25214
25215 * files.el (hack-local-variables-prop-line, hack-local-variables):
25216 Downcase mode names, as seems to be traditional.
25217 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25218
25219 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25220 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25221
25222 2011-05-25 Julien Danjou <julien@danjou.info>
25223
25224 * textmodes/rst.el (rst-define-level-faces): Do not define face
25225 symbol if it is already defined.
25226
25227 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25228
25229 * play/5x5.el (5x5-new-game, 5x5-randomize):
25230 Reset 5x5-solver-output to nil when a new grid is cast.
25231 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25232 these debugging traces, as defmacro breaks the compiled code.
25233
25234 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25235
25236 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25237
25238 2011-05-24 Leo Liu <sdl.web@gmail.com>
25239
25240 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25241 (vc-bzr-sha1): Adapt.
25242
25243 * sha1.el: Remove. Function `sha1' is now builtin.
25244
25245 * bindings.el: Provide sha1 feature.
25246
25247 2011-05-24 Kenichi Handa <handa@m17n.org>
25248
25249 * mail/sendmail.el: Require `rfc2047'.
25250 (mail-insert-from-field): Do not perform RFC2047 encoding.
25251 (mail-encode-header): New function.
25252 (sendmail-send-it): Set buffer-file-coding-system of the work
25253 buffer to the return value of select-message-coding-system.
25254 Call mail-encode-header.
25255
25256 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25257
25258 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25259
25260 * mail/supercite.el (sc-default-cite-frame):
25261 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25262
25263 2011-05-24 Glenn Morris <rgm@gnu.org>
25264
25265 * progmodes/python.el (brm-menu): Declare.
25266
25267 * emulation/viper.el (viper-set-hooks): Declare.
25268
25269 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25270 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25271 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25272 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25273 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25274 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25275
25276 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25277
25278 Add an :exit-function for completion-at-point.
25279
25280 * minibuffer.el (completion--done): New fun.
25281 (completion--do-completion): Use it. New arg `expect-exact'.
25282 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25283 since completion--do-completion does it for us now.
25284 (minibuffer-force-complete): Use completion--done and
25285 completion--replace. Handle sole-completion case with more care.
25286 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25287 (completion-extra-properties): New var.
25288 (completion-annotate-function): Make obsolete.
25289 (minibuffer-completion-help): Adjust accordingly.
25290 Use completion-list-insert-choice-function.
25291 (completion-at-point, completion-help-at-point):
25292 Bind completion-extra-properties.
25293 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25294 * simple.el (completion-list-insert-choice-function): New var.
25295 (completion-setup-function): Preserve it.
25296 (choose-completion): Pay attention to it, shuffle the code a bit.
25297 (choose-completion-string): New arg `insert-function'.
25298
25299 * textmodes/bibtex.el: Convert to lexical binding.
25300 (bibtex-mode-map): Use completion-at-point.
25301 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25302 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25303 (bibtex-complete): Define as obsolete alias.
25304 (bibtex-complete-internal): Remove.
25305 (bibtex-format-entry): Remove unused sub-group in regexp.
25306 * shell.el (shell--command-completion-data)
25307 (shell-environment-variable-completion):
25308 * pcomplete.el (pcomplete-completions-at-point):
25309 * comint.el (comint--complete-file-name-data): Use :exit-function
25310 instead of completion-table-with-terminator so it also works for
25311 choose-completion.
25312
25313 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25314
25315 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25316
25317 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25318 (bug#8710).
25319
25320 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25321
25322 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25323
25324 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25325 customization variable and implement: If non-nil, auto-fill will
25326 be inhibited while on topic's header line.
25327
25328 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25329
25330 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25331 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25332 always have a solution in grid size = 5 cases.
25333 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25334 (5x5-solver-output, 5x5-log-buffer): New vars.
25335 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25336 Make these variables buffer local to achieve 5x5 multi-session-ness.
25337 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25338 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25339 (5x5-solve-suggest): New funs.
25340 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25341 randomize a grid so that we ensure that there is always a solution.
25342 (5x5-make-random-grid): Allow other movement than flipping.
25343
25344 2011-05-23 Kevin Ryde <user42@zip.com.au>
25345
25346 * emacs-lisp/advice.el (ad-read-advised-function):
25347 Use `function-called-at-point' as the default, if it has
25348 advice and passes PREDICATE.
25349
25350 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25351
25352 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25353 byte-compile-lambda if it's actually a lambda.
25354
25355 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25356 Fix function quoting. Use backquote better.
25357
25358 2011-05-22 Yuanle Song <sylecn@gmail.com>
25359
25360 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25361 matching (Bug#8516).
25362
25363 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25364
25365 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25366 different face (Bug#8178).
25367
25368 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25369
25370 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25371 defface (Bug#8144).
25372
25373 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25374
25375 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25376 funcall as well (bug#8712). Warn when performing those conversions.
25377 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25378
25379 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25380
25381 2011-05-22 Glenn Morris <rgm@gnu.org>
25382
25383 * files.el (hack-local-variables-prop-line): Small simplifications.
25384 (hack-local-variables, hack-local-variables-prop-line):
25385 If MODE-ONLY, return the mode, rather than just `t'.
25386
25387 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25388
25389 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25390
25391 2011-05-21 Glenn Morris <rgm@gnu.org>
25392
25393 * files.el (hack-local-variables-prop-line, hack-local-variables):
25394 If only interested in the mode, don't bother doing the other stuff.
25395
25396 * image-mode.el (image-after-revert-hook):
25397 Redraw all frames on which the image is visible. (Bug#8567)
25398
25399 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25400
25401 * wid-edit.el (widget-checklist-match-inline):
25402 Fix 2011-04-19 change. (Bug#8649)
25403
25404 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25405
25406 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25407 Also allow singlespace after single-letter capitals followed by a dot.
25408
25409 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25410 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25411
25412 2011-05-20 Nix <nix@esperi.org.uk>
25413
25414 * files.el (basic-save-buffer-2):
25415 Fix handling of break-hardlink-on-save with non-existent files.
25416
25417 2011-05-19 Deniz Dogan <deniz@dogan.se>
25418
25419 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25420 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25421
25422 2011-05-19 Glenn Morris <rgm@gnu.org>
25423
25424 * progmodes/f90.el (f90-type-def-re):
25425 Handle "type, bind(c)". (Bug#8691)
25426
25427 * emacs-lisp/autoload.el (batch-update-autoloads):
25428 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25429
25430 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25431
25432 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25433 property for the correct connection in case of multihops.
25434
25435 2011-05-18 Glenn Morris <rgm@gnu.org>
25436
25437 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25438 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25439
25440 Rationalize calendar handling of day and month abbrev-arrays.
25441 * calendar/calendar.el (calendar-customized-p): New function.
25442 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25443 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25444 Add :set function.
25445 (calendar-abbrev-length, calendar-day-abbrev-array)
25446 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25447 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25448 Elements may no longer be nil.
25449 (calendar-day-name, calendar-month-name):
25450 Update for changed nature of abbrev arrays.
25451 * calendar/diary-lib.el (diary-name-pattern):
25452 Update for changed nature of abbrev arrays.
25453 (diary-mark-entries-1): Update calendar-make-alist calls.
25454 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25455 * calendar/cal-html.el (cal-html-day-abbrev-array):
25456 Simply inherit from calendar-day-abbrev-array.
25457
25458 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25459
25460 * progmodes/grep.el (grep-mode): Disable default
25461 compilation-directory-matcher setting (bug#8684).
25462
25463 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25464
25465 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25466 instead of "head" and "tail". There were problems with SunOS 5.9,
25467 and it performs better.
25468
25469 2011-05-17 Glenn Morris <rgm@gnu.org>
25470
25471 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25472
25473 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25474 Replace obsolete function.
25475
25476 * shell.el (pcomplete-parse-arguments-function): Declare.
25477
25478 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25479 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25480 (appt-check): Doc fixes.
25481 (appt-disp-window-function, appt-delete-window-function):
25482 Remove needless special case in custom :type.
25483 (appt-display-count): Default to 0, not nil.
25484 (appt-check): Reset appt-display-count to 0, not nil.
25485
25486 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25487
25488 * progmodes/python.el (python-font-lock-keywords):
25489 Add the Python 3.X keyword "nonlocal" (bug#8639).
25490
25491 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25492
25493 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25494
25495 2011-05-16 Kevin Ryde <user42@zip.com.au>
25496
25497 * info-look.el (makefile-automake-mode): New setups, looking in
25498 automake manual, then makefile-mode.
25499 (makefile-mode): Remove automake manual, have it just in
25500 makefile-automake-mode since there's various things different or
25501 not relevant to plain make.
25502 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25503 believe a hypothetical automake-mode would go to makefile-mode,
25504 not the other way around.
25505
25506 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25507
25508 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25509 hunk-end tags (Bug#8672).
25510
25511 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25512 vc-annotate-show-diff-revision-at-line (Bug#8671).
25513
25514 2011-05-14 Glenn Morris <rgm@gnu.org>
25515
25516 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25517 in the middle of an existing one with multiple authors. (Bug#8645)
25518 (change-log-font-lock-keywords): Also handle multiple author lines
25519 with leading tabs. (Bug#8644)
25520
25521 * calendar/appt.el (appt-check): Rename some local variables.
25522 Some simplification/reordering.
25523
25524 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25525 (feedmail-sendmail-f-doesnt-sell-me-out)
25526 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25527 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25528 (feedmail-queue-runner-message-sender): Set :version.
25529 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25530 (bbdb-dwim-net-address, vm-mail): Declare.
25531 (feedmail-binmail-gnulinuxish-template):
25532 Rename from feedmail-binmail-linuxish-template.
25533 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25534 Use insert-buffer-substring.
25535
25536 2011-05-14 Bill Carpenter <bill@carpenter.org>
25537
25538 * mail/feedmail.el (feedmail-patch-level): Increase.
25539 (feedmail-debug): New custom group.
25540 (feedmail-confirm-outgoing-timeout)
25541 (feedmail-sendmail-f-doesnt-sell-me-out)
25542 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25543 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25544 (feedmail-sender-line, feedmail-from-line)
25545 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25546 (feedmail-spray-this-address)
25547 (feedmail-spray-address-fiddle-plex-list)
25548 (feedmail-queue-use-send-time-for-date)
25549 (feedmail-queue-use-send-time-for-message-id)
25550 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25551 (feedmail-buffer-eating-function):
25552 Doc fixes.
25553 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25554 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25555 (feedmail-message-action-scroll-down): New functions.
25556 (feedmail-queue-directory, feedmail-queue-draft-directory):
25557 Use expand-file-name.
25558 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25559 Remove C-v help entry.
25560 (feedmail-queue-buffer-file-name): New variable.
25561 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25562 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25563 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25564 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25565 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25566 (feedmail-message-action-toggle-spray)
25567 (feedmail-run-the-queue-no-prompts)
25568 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25569 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25570 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25571 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25572 (feedmail-envelope-deducer, feedmail-fiddle-from)
25573 (feedmail-fiddle-sender, feedmail-default-date-generator)
25574 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25575 (feedmail-fiddle-spray-address)
25576 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25577 (feedmail-fiddle-list-of-fiddle-plexes)
25578 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25579 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25580 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25581 Change default. Doc fix.
25582 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25583 (feedmail-binmail-linuxish-template): New constant.
25584 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25585 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25586 (feedmail-send-it): Add debug call.
25587 Use feedmail-queue-buffer-file-name, and
25588 feedmail-send-it-immediately-wrapper.
25589 (feedmail-message-action-send): Add debug call.
25590 Use feedmail-send-it-immediately-wrapper.
25591 (feedmail-queue-express-to-queue): Add debug call.
25592 Run feedmail-queue-express-hook.
25593 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25594 (feedmail-message-action-help-blat):
25595 Rename from feedmail-queue-send-edit-prompt-help-first.
25596 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25597 Check line-endings. Handle errors better.
25598 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25599 Doc fix. Add debug call.
25600 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25601 Use feedmail-queue-send-edit-prompt-inner.
25602 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25603 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25604 from feedmail-queue-send-edit-prompt.
25605 (feedmail-queue-send-edit-prompt-help)
25606 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25607 (feedmail-tidy-up-slug): Add debug call.
25608 Respect feedmail-queue-slug-suspect-regexp.
25609 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25610 (feedmail-dump-message-to-queue): Add debug call.
25611 Expand queue-directory.
25612 (feedmail-dump-message-to-queue): Change message slightly.
25613 Use feedmail-say-chatter.
25614 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25615 (feedmail-send-it-immediately-wrapper): New function.
25616 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25617 Insert empty string rather than newline. Handle full-frame case.
25618 Use catch/throw. Use feedmail-say-chatter.
25619 (feedmail-fiddle-from): Try mail-host-address.
25620 (feedmail-default-message-id-generator): Doc fix.
25621 Bind system-time-locale. Handle missing end.
25622 (feedmail-fiddle-x-mailer): Add debug call.
25623 Handle feedmail-x-mailer-line being nil.
25624 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25625 Add debug call. Use buffer-substring-no-properties.
25626 (feedmail-say-debug, feedmail-say-chatter): New functions.
25627 (feedmail-find-eoh): Give an explicit error.
25628
25629 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25630
25631 * net/newst-treeview.el (newsticker-treeview-face): Change default
25632 family from helvetica to sans.
25633 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25634 etc/images/newsticker.
25635
25636 * net/newst-reader.el (newsticker-feed-face): Change default
25637 family from helvetica to sans.
25638
25639 * net/newst-plainview.el (newsticker-new-item-face)
25640 (newsticker-old-item-face, newsticker-immortal-item-face)
25641 (newsticker-obsolete-item-face, newsticker-date-face)
25642 (newsticker-statistics-face): Change default family from
25643 helvetica to sans.
25644 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25645 etc/images/newsticker.
25646
25647 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25648 (newsticker--process-auto-mark-filter-match): Tell user about
25649 auto-marking.
25650
25651 2011-05-13 Didier Verna <didier@xemacs.org>
25652
25653 Common Lisp indentation improvements on defmethod and lambda-lists.
25654 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25655 TODO entries.
25656 (lisp-lambda-list-keyword-parameter-indentation)
25657 (lisp-lambda-list-keyword-parameter-alignment)
25658 (lisp-lambda-list-keyword-alignment): New customizable user options.
25659 (lisp-indent-defun-method): Improve docstring.
25660 (extended-loop-p): Fix comment.
25661 (lisp-indent-lambda-list-keywords-regexp): New variable.
25662 (lisp-indent-lambda-list): New function.
25663 (lisp-indent-259): Use it.
25664 (lisp-indent-defmethod): Support for more than one
25665 method qualifier and properly indent methods lambda-lists.
25666 (defgeneric): Provide a missing common-lisp-indent-function property.
25667
25668 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25669
25670 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25671 bounds for the empty string (bug#8667).
25672
25673 2011-05-13 Glenn Morris <rgm@gnu.org>
25674
25675 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25676
25677 * mail/sendmail.el (sendmail-program): Try executable-find first.
25678 (sendmail-send-it): `sendmail-program' cannot be unbound.
25679
25680 * calendar/appt.el (appt-make-list): Simplify.
25681 (appt-time-msg-list): Doc fix.
25682 (appt-check): Change mode-line message at the time of the appointment.
25683
25684 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25685
25686 * progmodes/ld-script.el (ld-script-keywords)
25687 (ld-script-builtins): Update keywords list.
25688
25689 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25690
25691 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25692
25693 * shell.el (shell-completion-vars): New function.
25694 (shell-mode):
25695 * simple.el (read-shell-command): Use it.
25696 (blink-matching-open): No need for " [...]" in minibuffer-message.
25697
25698 2011-05-12 Glenn Morris <rgm@gnu.org>
25699
25700 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25701 (appt-check): Simplify.
25702
25703 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25704
25705 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25706 literal "/dev/null".
25707
25708 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25709
25710 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25711 Fix typo.
25712
25713 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25714
25715 * progmodes/which-func.el (which-function):
25716 Use add-log-current-defun instead of add-log-current-defun-function,
25717 which might not be defined (Bug#8260).
25718
25719 2011-05-12 Glenn Morris <rgm@gnu.org>
25720
25721 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25722 Let byte-compile-initial-macro-environment always take precedence.
25723
25724 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25725
25726 * net/rcirc.el: Add support for SSL/TLS connections.
25727 (rcirc-server-alist): New field `encryption'.
25728 (rcirc): Check `encryption' settings.
25729 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25730 Merge make-local-variable into `set'.
25731 (rcirc--connection-open-p): New function.
25732 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25733 the process is not a network process (e.g. running gnutls-cli).
25734 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25735 Make rcirc-(en|de)code-coding-system local here.
25736 (rcirc-mode): Merge make-local-variable into `set'.
25737 (rcirc-parent-buffer): Make permanent buffer-local.
25738 (rcirc-multiline-minor-mode): Don't do it here.
25739 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25740 there's no server buffer.
25741
25742 2011-05-11 Glenn Morris <rgm@gnu.org>
25743
25744 * newcomment.el (comment-kill): Prefix "unused" local.
25745
25746 * term/w32console.el (get-screen-color): Declare.
25747
25748 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25749 Handle symbol elements of byte-compile-initial-macro-environment.
25750
25751 2011-05-10 Leo Liu <sdl.web@gmail.com>
25752
25753 * bookmark.el (bookmark-bmenu-mode-map):
25754 Bind bookmark-bmenu-search to `/'.
25755
25756 * mail/footnote.el: Convert to utf-8 encoding.
25757 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25758 (Footnote-unicode): New function.
25759 (footnote-style-alist): Add unicode style to the list.
25760 (footnote-style): Doc fix.
25761
25762 2011-05-10 Jim Meyering <meyering@redhat.com>
25763
25764 Fix doubled-word typos.
25765 * international/quail.el (quail-insert-kbd-layout): and and -> and
25766 * kermit.el: and and -> and
25767 * net/ldap.el (ldap-search-internal): to to -> to
25768 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25769 * progmodes/js.el (js-mode): and and -> and
25770 * textmodes/artist.el (artist-move-to-xy): at at -> at
25771 (artist-draw-region-trim-line-endings): if if -> if
25772 And Safetyc -> Safety.
25773 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25774
25775 2011-05-10 Glenn Morris <rgm@gnu.org>
25776 Stefan Monnier <monnier@iro.umontreal.ca>
25777
25778 * files.el (hack-one-local-variable-eval-safep):
25779 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25780
25781 2011-05-10 Glenn Morris <rgm@gnu.org>
25782
25783 * calendar/diary-lib.el (diary-list-entries-hook)
25784 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25785 (diary-nongregorian-marking-hook, diary-list-entries)
25786 (diary-include-other-diary-files, diary-mark-entries)
25787 (diary-mark-included-diary-files): Doc fixes.
25788
25789 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25790
25791 * misc.el: Require tabulated-list.el during compilation.
25792
25793 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25794
25795 * progmodes/compile.el (compilation-start):
25796 Run compilation-filter-hook for the async case too.
25797 (compilation-filter-hook): Doc fix.
25798
25799 2011-05-09 Deniz Dogan <deniz@dogan.se>
25800
25801 * wdired.el: Remove outdated installation comment. Fix usage
25802 comment.
25803
25804 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25805
25806 * misc.el: Implement new command `list-dynamic-libraries'.
25807 (list-dynamic-libraries--loaded-only-p): New variable.
25808 (list-dynamic-libraries--refresh): New function.
25809 (list-dynamic-libraries): New command.
25810
25811 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25812
25813 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25814 Fix the ant regexp to handle end-line and end-column info from jikes.
25815 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25816 higher priority to avoid clobbering by gnu.
25817
25818 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25819
25820 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25821 if the face has existing theme settings (Bug#8454).
25822
25823 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25824
25825 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25826 Only match variables declared via `my' or `our' (Bug#8261).
25827
25828 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25829 special file names `.' and `..' (Bug#8259).
25830
25831 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25832
25833 * progmodes/grep.el (grep-mode-font-lock-keywords):
25834 Remove buffer-changing entries.
25835 (grep-filter): New function.
25836 (grep-mode): Add it to compilation-filter-hook.
25837
25838 * progmodes/compile.el (compilation-filter-hook)
25839 (compilation-filter-start): New defvars.
25840 (compilation-filter): Call compilation-filter-hook prior to
25841 updating the process mark.
25842
25843 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25844
25845 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25846
25847 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25848
25849 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25850 mailclient-send-it even if window-system is nil. (Bug#8595)
25851
25852 * term/w32console.el (terminal-init-w32console):
25853 Call get-screen-color and use its output to set the frame
25854 background-mode. (Bug#8597)
25855
25856 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25857
25858 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25859 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25860 New functions.
25861 (defgeneric, eieio--defmethod): Use them.
25862 (eieio-defgeneric): Remove.
25863 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25864
25865 2011-05-07 Glenn Morris <rgm@gnu.org>
25866
25867 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25868 Use let rather than let*.
25869 (timeclock-find-discrep): Remove unused local.
25870
25871 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25872
25873 * calendar/appt.el (appt-time-msg-list): Doc fix.
25874
25875 2011-05-06 Noah Friedman <friedman@splode.com>
25876
25877 * apropos.el (apropos-print-doc): Only use
25878 emacs-lisp-docstring-fill-column when it is bound to an integer,
25879 per that variable's documentation.
25880
25881 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25882
25883 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25884 and warnings are not silently discarded (e.g. use -d instead of -P).
25885
25886 2011-05-06 Glenn Morris <rgm@gnu.org>
25887
25888 * calendar/appt.el (appt-message-warning-time): Doc fix.
25889 (appt-warning-time-regexp): New option.
25890 (appt-make-list): Respect appt-message-warning-time.
25891
25892 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25893 New options.
25894 (diary-add-to-list): Strip comments from the displayed string.
25895 (diary-mode): Set comment-start and comment-end.
25896
25897 * vc/diff-mode.el (smerge-refine-subst): Declare.
25898 (diff-refine-hunk): Don't require smerge-mode when compiling.
25899
25900 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25901
25902 * simple.el (list-processes): Return nil as the docstring says.
25903
25904 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25905
25906 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25907 to "".
25908 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25909 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25910 determining of binary transfer. (Bug#7383)
25911
25912 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25913
25914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25915 Fix port computation bug. (Bug#8618)
25916
25917 2011-05-05 Glenn Morris <rgm@gnu.org>
25918
25919 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25920
25921 * simple.el (shell-dynamic-complete-functions)
25922 (comint-dynamic-complete-functions): Declare.
25923
25924 * net/network-stream.el (gnutls-negotiate):
25925 * simple.el (tabulated-list-print): Fix declarations.
25926
25927 * progmodes/gud.el (syntax-symbol, syntax-point):
25928 Remove unnecessary and incorrect declarations.
25929
25930 * emacs-lisp/check-declare.el (check-declare-scan):
25931 Handle byte-compile-initial-macro-environment in bytecomp.el.
25932
25933 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25934
25935 Fix earlier half-done eieio-defmethod change (bug#8338).
25936 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25937 Streamline and change calling convention.
25938 (defmethod): Adjust accordingly and simplify.
25939 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25940 new eieio--defmethod.
25941 (slot-boundp): Minor CSE simplification.
25942
25943 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25944
25945 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25946 (glasses-make-readable): Use glasses-separate-capital-groups.
25947
25948 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25949
25950 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25951 (warning-series): Doc fix.
25952 (display-warning): Don't try to create the buffer if we just found it.
25953
25954 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25955
25956 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25957 (autoload-find-generated-file): New function.
25958 (generate-file-autoloads): Bind generated-autoload-file to
25959 buffer-file-name.
25960 (update-file-autoloads, update-directory-autoloads):
25961 Use autoload-find-generated-file. If called interactively, prompt for
25962 output file (Bug#7989).
25963 (batch-update-autoloads): Doc fix.
25964
25965 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25966
25967 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25968
25969 2011-05-04 Glenn Morris <rgm@gnu.org>
25970
25971 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25972 function, so it follows changes in calendar-date-style.
25973 (diary-fancy-date-matcher): New function.
25974 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25975 (diary-fancy-font-lock-fontify-region-function):
25976 Use diary-fancy-date-pattern as a function.
25977
25978 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25979 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25980
25981 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25982
25983 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25984 instead of positional arguments. Allow :keylist and :crlfiles
25985 arguments.
25986 (open-gnutls-stream): Call it.
25987
25988 * net/network-stream.el (network-stream-open-starttls): Adjust to
25989 call `gnutls-negotiate' with :process and :hostname arguments.
25990
25991 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25992
25993 * minibuffer.el (completion--message): New function.
25994 (completion--do-completion, minibuffer-complete)
25995 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25996 (completion--do-completion): Don't ignore completion-auto-help when in
25997 icomplete-mode.
25998
25999 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26000 internal encoding (e.g. tibetan zero is not whitespace).
26001 (global-whitespace-mode): Prefer save-current-buffer.
26002 (whitespace-trailing-regexp): Remove useless save-match-data.
26003 (whitespace-empty-at-bob-regexp): Minor simplification.
26004
26005 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26006
26007 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26008
26009 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
26010
26011 * textmodes/ispell.el (ispell-add-per-file-word-list):
26012 Use `concat' to create string for insertion.
26013
26014 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26015
26016 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26017 Avoid open-line which runs post-self-insert-hook.
26018 (bibtex-fill-entry): Remove unused `end' var.
26019
26020 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26021
26022 * textmodes/ispell.el (ispell-add-per-file-word-list):
26023 Protect against `nil' value of `comment-start' (Bug#8579).
26024
26025 2011-05-03 Leo Liu <sdl.web@gmail.com>
26026
26027 * isearch.el (isearch-yank-pop): New command.
26028 (isearch-mode-map): Bind it to `M-y'.
26029 (isearch-forward): Mention it.
26030
26031 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26032
26033 * simple.el (minibuffer-complete-shell-command): Remove.
26034 (minibuffer-local-shell-command-map): Use completion-at-point.
26035 (read-shell-command): Setup completion vars here instead.
26036 (read-expression-map): Bind TAB to symbol completion.
26037
26038 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26039 error directly rather via storing it into `results'.
26040
26041 2011-05-02 Leo Liu <sdl.web@gmail.com>
26042
26043 * vc/diff.el: Fix description.
26044
26045 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26046
26047 * server.el (server-eval-at): New function.
26048
26049 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26050
26051 * net/network-stream.el (open-network-stream): Take a :nowait
26052 parameter and pass it on to `make-network-process'.
26053 (network-stream-open-plain): Ditto.
26054
26055 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26056
26057 * faces.el (face-spec-set-match-display): Don't match toolkit
26058 options on terminal frames.
26059
26060 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26061
26062 * progmodes/pascal.el: Use lexical binding.
26063 (pascal-mode-map): Remove author preferences.
26064
26065 * pcomplete.el (pcomplete-std-complete): Don't abuse
26066 completion-at-point.
26067
26068 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26069
26070 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26071 removing code that has been dead since 1991 or so.
26072
26073 * startup.el (command-line): When warning about "_emacs", use a
26074 delayed warning to allow the user to filter it out.
26075
26076 2011-04-28 Deniz Dogan <deniz@dogan.se>
26077
26078 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26079 user has not joined.
26080
26081 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26082
26083 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26084 aren't any completions at point.
26085
26086 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26087
26088 * subr.el (display-delayed-warnings): New function.
26089 (delayed-warnings-hook): New variable.
26090
26091 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26092
26093 * minibuffer.el (completion-at-point, completion-help-at-point):
26094 Don't presume that a given completion-at-point-function will always
26095 use the same calling convention.
26096
26097 * pcomplete.el (pcomplete-completions-at-point):
26098 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26099 pcomplete-seen is non-nil.
26100 (pcomplete-comint-setup): Also recognize the new comint/shell
26101 completion functions.
26102 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26103 pcomplete-seen is non-nil.
26104
26105 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26106
26107 * calendar/icalendar.el (diary-lib): Add require statement.
26108 (icalendar--create-uid): Read out a uid from a text-property on
26109 the first character in the entry. This allows for code to add its
26110 own uid to the entry.
26111 (icalendar--convert-float-to-ical): Add export of
26112 `diary-float'-entries save for those with the optional DAY
26113 argument.
26114
26115 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26116
26117 * subr.el (shell-quote-argument): Use alternate escaping strategy
26118 when we spot a variable reference in a string.
26119
26120 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26121
26122 * cus-start.el (all): Define customization for debug-on-event.
26123
26124 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26125
26126 * subr.el (shell-quote-argument): Escape correctly under Windows.
26127
26128 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26129
26130 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26131
26132 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26133
26134 * net/tramp.el (tramp-process-actions): Add POS argument.
26135 Delete region between POS and (pos).
26136
26137 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26138 Use `nil' position in `tramp-process-actions' call.
26139 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26140
26141 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26142 position in `tramp-process-actions' call.
26143
26144 * net/trampver.el: Update release number.
26145
26146 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26147
26148 * custom.el (defcustom): Obey lexical-binding.
26149
26150 Fix octave-inf completion problems reported by Alexander Klimov.
26151 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26152 Inherit from octave-mode-syntax-table.
26153 (inferior-octave-mode): Set info-lookup-mode.
26154 (inferior-octave-completion-at-point): New function.
26155 (inferior-octave-complete): Use it and completion-in-region.
26156 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26157 comint-filename-completion.
26158 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26159 symbol elements which shouldn't be word elements.
26160 (octave-font-lock-keywords, octave-beginning-of-defun)
26161 (octave-function-header-regexp): Adjust regexps accordingly.
26162 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26163
26164 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26165
26166 * net/gnutls.el (gnutls-errorp): Declare before first use.
26167
26168 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26169
26170 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26171 verify-error, and verify-hostname-error parameters. Check whether
26172 default trustfile exists before going to use it. Add missing
26173 argument to gnutls-message-maybe call. Return value.
26174 Reported by Claudio Bley <claudio.bley@gmail.com>.
26175 (open-gnutls-stream): Add usage example.
26176
26177 * net/network-stream.el (network-stream-open-starttls): Give host
26178 parameter to `gnutls-negotiate'.
26179 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26180 * subr.el (shell-quote-argument): Escape correctly under Windows.
26181
26182 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26183
26184 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26185 Use correct match group (bug#8438).
26186
26187 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26188
26189 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26190 (package-menu--generate): New arg specifying packages to show.
26191 (package-menu-refresh, package-menu-execute, list-packages):
26192 Callers changed.
26193 (package-show-package-list): New function, replacing deleted
26194 package--list-packages (renamed because it is non-internal).
26195
26196 * finder.el (finder-list-matches): Use package-show-package-list
26197 instead of deleted package--list-packages.
26198
26199 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26200 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26201 (vc-annotate-mode-map): Bind it to RET.
26202
26203 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26204
26205 * progmodes/etags.el (next-file): Don't use set-buffer to change
26206 buffers (Bug#8478).
26207
26208 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26209
26210 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26211
26212 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26213 (apropos-accumulator): Doc fix.
26214 (apropos-function, apropos-macro, apropos-command)
26215 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26216 (apropos-plist): Add face property.
26217 (apropos-symbols-internal): Fix indentation.
26218 (apropos-print): Simplify help, and recognize apropos-multi-type.
26219 (apropos-print-doc): Use button-type-get to extract the button's
26220 face property. Fill docstring (Bug#8352).
26221
26222 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26223
26224 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26225
26226 * play/mpuz.el (mpuz-silent): Doc fix.
26227 (mpuz-mode-map): Use mapc.
26228 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26229 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26230 Fix typos in docstrings.
26231
26232 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26233 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26234
26235 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26236
26237 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26238
26239 * minibuffer.el (completion--do-completion): Avoid the "Next char
26240 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26241
26242 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26243 mouse-2 into unread-command-events, it is interpreted correctly.
26244
26245 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26246 (image-toggle-display): Doc fix.
26247
26248 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26249
26250 * textmodes/page.el (what-page): Use line-number-at-pos to
26251 calculate line number (Bug#6825).
26252
26253 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26254
26255 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26256 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26257 Pass argument NO-DEFAULT to `find-tag-interactive'.
26258
26259 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26260
26261 Lexical-binding cleanup.
26262
26263 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26264 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26265 * progmodes/ada-prj.el (ada-prj-initialize-values)
26266 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26267 (ada-prj-show-value):
26268 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26269 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26270 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26271 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26272 * progmodes/bug-reference.el (bug-reference-push-button):
26273 * progmodes/fortran.el (fortran-line-length):
26274 * progmodes/glasses.el (glasses-change):
26275 * progmodes/octave-mod.el (octave-fill-paragraph):
26276 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26277 (python-pdbtrack-grub-for-buffer, python-sentinel):
26278 * progmodes/sql.el (sql-save-connection):
26279 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26280 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26281 Mark unused parameters.
26282
26283 * progmodes/compile.el (compilation--flush-directory-cache)
26284 (compilation--flush-parse, compile-internal): Mark unused parameters.
26285 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26286 (compilation-next-error-function): Remove unused variable `timestamp'.
26287
26288 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26289 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26290
26291 * progmodes/dcl-mode.el (dcl-end-of-command):
26292 Remove unused variable `start'.
26293 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26294 (dcl-option-value-basic, dcl-option-value-offset)
26295 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26296 Mark unused parameters.
26297 (dcl-save-local-variable): Remove unused variable `val'.
26298 (mode): Declare.
26299
26300 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26301 Mark unused parameters.
26302 (delphi-ignore-changes): Move before first use.
26303 (delphi-charset-token-at): Remove unused variable `start'.
26304 (delphi-else-start): Remove unused variable `if-count'.
26305 (delphi-comment-block-start, delphi-comment-block-end):
26306 Remove unused variable `kind'.
26307 (delphi-indent-line): Remove unused variable `new-point'.
26308
26309 * progmodes/ebrowse.el (ebrowse-files-list)
26310 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26311 Mark unused parameters. Don't quote `lambda'.
26312 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26313 Don't quote `lambda'.
26314 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26315 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26316 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26317 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26318 Use `ignore-errors'.
26319 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26320 (ebrowse-view/find-file-and-search-pattern)
26321 (ebrowse-view/find-member-declaration/definition):
26322 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26323 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26324 Rename parameter PREFIX-ARG to PREFIX.
26325 (ebrowse-tags-read-name): Remove unused variables `start' and
26326 `member-info'.
26327 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26328 to `tags-file'.
26329
26330 * progmodes/etags.el (local-find-tag-hook): Declare.
26331 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26332 Mark unused parameters.
26333
26334 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26335 (executable-interpret): Mark unused parameter.
26336
26337 * progmodes/flymake.el (flymake-process-sentinel)
26338 (flymake-after-change-function)
26339 (flymake-create-temp-with-folder-structure)
26340 (flymake-get-include-dirs-dot): Mark unused parameters.
26341 (flymake-safe-delete-directory): Remove unused variable `err'.
26342
26343 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26344 (speedbar-timer-fn, speedbar-line-text)
26345 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26346 (speedbar-center-buffer-smartly): Declare functions.
26347 (gdb-find-watch-expression): Remove unused variable `array'.
26348 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26349 (gdb-starting): Mark unused parameters.
26350 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26351 (gdb-table-string): Remove unused variable `res'.
26352 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26353 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26354 (gdb-display-buffer): Remove unused variable `cur-size'.
26355
26356 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26357 allow lexical-binding compilation.
26358 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26359 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26360 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26361 Mark unused parameters.
26362 (gud-gdb-marker-filter): Remove unused variable `match'.
26363 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26364 lambda expressions and funcall them, instead of using `fset'.
26365
26366 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26367 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26368
26369 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26370 variable `header-beg'; use `let'.
26371
26372 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26373 `restart', `last-sexp' and `at-do'.
26374
26375 * progmodes/js.el (js--debug): Mark unused parameter.
26376 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26377 (js--splice-into-items): Remove unused variable `item'.
26378 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26379
26380 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26381 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26382 (makefile-complete): Remove unused variable `try'.
26383 (makefile-fill-paragraph, makefile-match-function-end):
26384 Mark unused parameters.
26385
26386 * progmodes/octave-inf.el (inferior-octave-complete):
26387 Remove unused variable `proc'.
26388 (inferior-octave-output-digest): Mark unused parameter.
26389
26390 * progmodes/perl-mode.el (perl-calculate-indent):
26391 Remove unused variable `err'.
26392
26393 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26394 (prolog-indent-line): Mark unused parameters.
26395 (prolog-indent-line): Remove unused variable `beg'.
26396
26397 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26398 (reporter-dont-compact-list): Declare.
26399
26400 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26401 Remove unused variable `char'.
26402 (sh-debug): Mark unused parameter.
26403 (sh-get-indent-info): Remove unused variable `start'.
26404 (sh-calculate-indent): Remove unused variable `var'.
26405
26406 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26407 (simula-electric-keyword): Remove unused variable `null'.
26408 (simula-search-backward, simula-search-forward): Remove unused
26409 variables `begin' and `end'.
26410
26411 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26412 Remove unused variable `pos'.
26413 (vera-electric-tab, vera-comment-uncomment-region):
26414 Mark unused parameters.
26415 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26416
26417 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26418
26419 * emacs-lisp/package.el (package--builtins, package-alist)
26420 (package-load-descriptor, package-built-in-p, package-activate)
26421 (define-package, package-installed-p)
26422 (package-compute-transaction, package-buffer-info)
26423 (package--push): Doc fix. Distinguish more clearly between
26424 version strings and version lists.
26425
26426 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26427
26428 Lexical-binding cleanup.
26429
26430 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26431 (5x5-make-mutate-best):
26432 * play/fortune.el (fortune-in-buffer):
26433 * play/gomoku.el (gomoku-init-display):
26434 * play/solitaire.el (solitaire, solitaire-do-check):
26435 * play/tetris.el (tetris-default-update-speed-function):
26436 Mark unused parameters.
26437
26438 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26439 (bubbles--shift): Remove unused variable `char-org'.
26440 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26441 (bubbles--show-images): Remove unused variable `char'.
26442
26443 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26444 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26445 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26446 (decipher-analyze-buffer): Use ?\s.
26447 (decipher-make-checkpoint): Remove unused variable `mapping'.
26448
26449 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26450
26451 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26452 Remove unused variable `result'; use `let'.
26453
26454 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26455 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26456 (gametree-children-shown-p, gametree-compute-reduced-score):
26457 Use `ignore-errors'.
26458
26459 * play/handwrite.el (ps-lpr-switches): Declare.
26460 (handwrite): Remove unused variables `pmin' and `lastp'.
26461
26462 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26463
26464 * play/landmark.el (landmark-init-display)
26465 (landmark-update-naught-weights): Mark unused parameters.
26466 (landmark-y): Remove unused variable `noise'. Simplify.
26467 (landmark-human-plays): Remove unused variable `score'.
26468
26469 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26470 (mpuz-try-proposal): Remove unused variable `game'.
26471
26472 * play/zone.el (life-patterns): Declare.
26473
26474 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26475
26476 * vc/vc.el (ediff-vc-internal): Declare function.
26477
26478 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26479
26480 * shell.el: Use lexical-binding and std completion UI.
26481 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26482 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26483 comint-preoutput-filter-functions rather than on
26484 comint-output-filter-functions.
26485 (shell-command-completion, shell--command-completion-data)
26486 (shell-filename-completion, shell-environment-variable-completion)
26487 (shell-c-a-p-replace-by-expanded-directory): New functions.
26488 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26489 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26490 (shell-dynamic-complete-environment-variable): Use them.
26491 (shell-dynamic-complete-as-environment-variable)
26492 (shell-dynamic-complete-as-command): Remove.
26493 (shell-match-partial-variable): Match past point.
26494 * comint.el: Clean up use of completion-at-point-functions.
26495 (comint-completion-at-point): New function.
26496 (comint-mode): Use it completion-at-point-functions.
26497 (comint-dynamic-complete): Make it obsolete.
26498 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26499 (comint-c-a-p-replace-by-expanded-history): New function.
26500 (comint-dynamic-complete-functions)
26501 (comint-replace-by-expanded-history): Use it.
26502 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26503 termination strings. Try harder to avoid second try-completion.
26504 (completion-in-region-mode-map): Disable bindings that don't work yet.
26505
26506 * comint.el: Use lexical-binding. Require CL.
26507 (comint-dynamic-complete-functions): Use comint-filename-completion.
26508 (comint-completion-addsuffix): Tweak custom type.
26509 (comint-filename-completion, comint--common-suffix)
26510 (comint--common-quoted-suffix, comint--table-subvert)
26511 (comint--complete-file-name-data): New functions.
26512 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26513 (comint-dynamic-list-filename-completions): Use them.
26514 (comint-dynamic-simple-complete): Make obsolete.
26515
26516 * minibuffer.el (completion-in-region-mode):
26517 Keep completion-in-region-mode--predicate global.
26518 (completion-in-region--postch):
26519 Assume completion-in-region-mode--predicate is not null.
26520
26521 * progmodes/flymake.el (flymake-start-syntax-check-process):
26522 Obey `dir'. Simplify.
26523
26524 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26525 we're in VC after all.
26526
26527 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26528
26529 * vc/vc.el (vc-diff-build-argument-list-internal)
26530 (vc-version-ediff, vc-ediff): New commands.
26531 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26532
26533 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26534
26535 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26536 add sanity check.
26537
26538 * obsolete/erc-hecomplete.el: Make obsolete.
26539 * obsolete/: Standardize obsolescence info in the header.
26540
26541 2011-04-20 Glenn Morris <rgm@gnu.org>
26542
26543 * calendar/solar.el (solar-horizontal-coordinates):
26544 Use the longitude argument rather than `calendar-longitude'.
26545 (solar-date-next-longitude): Remove unused locals.
26546
26547 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26548
26549 * whitespace.el: New version 13.2.1.
26550
26551 2011-04-20 felix <EmacsWiki> (tiny change)
26552
26553 * whitespace.el (global-whitespace-mode): Keep highlight when
26554 switching between major modes on a file.
26555
26556 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26557
26558 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26559 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26560 multi-line comments as well.
26561
26562 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26563
26564 Lexical-binding cleanup.
26565
26566 * arc-mode.el (archive-mode-revert):
26567 * cmuscheme.el (scheme-interactively-start-process):
26568 * custom.el (custom-initialize-delay):
26569 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26570 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26571 * emacs-lock.el (emacs-lock-clear-sentinel):
26572 * ezimage.el (defezimage):
26573 * follow.el (follow-avoid-tail-recenter):
26574 * fringe.el (set-fringe-mode-1):
26575 * generic-x.el (bat-generic-mode-compile):
26576 * help-mode.el (help-info-variable, help-do-xref)
26577 (help-mode-revert-buffer):
26578 * help.el (view-emacs-todo):
26579 * iswitchb.el (iswitchb-completion-help):
26580 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26581 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26582 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26583 * locate.el (locate-update):
26584 * longlines.el (longlines-encode-region)
26585 (longlines-after-change-function):
26586 * outline.el (outline-isearch-open-invisible):
26587 * ps-def.el (declare-function, charset-dimension, char-width)
26588 (encode-char):
26589 * ps-mule.el (ps-mule-plot-string):
26590 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26591 (recentf-edit-list-select, recentf-edit-list-validate)
26592 (recentf-open-files-action):
26593 * rect.el (delete-whitespace-rectangle-line)
26594 (rectangle-number-line-callback):
26595 * register.el (window-configuration-to-register)
26596 (frame-configuration-to-register):
26597 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26598 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26599 (xselect-convert-to-targets, xselect-convert-to-delete)
26600 (xselect-convert-to-filename, xselect-convert-to-charpos)
26601 (xselect-convert-to-lineno, xselect-convert-to-colno)
26602 (xselect-convert-to-os, xselect-convert-to-host)
26603 (xselect-convert-to-user, xselect-convert-to-class)
26604 (xselect-convert-to-name, xselect-convert-to-integer)
26605 (xselect-convert-to-atom, xselect-convert-to-identity):
26606 * subr.el (declare, ignore, process-kill-without-query)
26607 (text-clone-maintain):
26608 * terminal.el (te-get-char, te-tic-sentinel):
26609 * tool-bar.el (tool-bar-make-keymap):
26610 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26611 * type-break.el (type-break-mode, type-break-noninteractive-query):
26612 * view.el (View-back-to-mark):
26613 * wid-browse.el (widget-browse-action, widget-browse-widget)
26614 (widget-browse-widgets, widget-browse-sexp):
26615 * widget.el (define-widget-keywords):
26616 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26617 Mark unused parameters.
26618
26619 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26620 (align-areas): Remove unused variable `look'.
26621 (align-region): Remove unused variables `real-end' and `pos-list'.
26622
26623 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26624
26625 * bindings.el (mode-line-modified, mode-line-remote):
26626 Mark unused parameters.
26627 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26628
26629 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26630 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26631
26632 * comint.el (comint-history-isearch-pop-state)
26633 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26634 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26635 (comint-substitute-in-file-name): Doc fix.
26636
26637 * completion.el (cmpl-statistics-block): Mark unused parameter.
26638 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26639 (save-completions-to-file, load-completions-from-file):
26640 Remove unused local variable `e'.
26641
26642 * composite.el (compose-chars): Remove unused variable `len'.
26643 (lgstring-insert-glyph): Remove unused variable `g'.
26644 (compose-glyph-string): Remove unused variables `ascent',
26645 `descent', `lbearing' and `rbearing'.
26646 (compose-glyph-string-relative): Remove unused variables
26647 `lbearing', `rbearing' and `wadjust'.
26648 (compose-gstring-for-graphic): Remove unused variables `header',
26649 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26650 (compose-gstring-for-terminal): Remove unused variables `header'
26651 and `nchars'. Use `let', not `let*'.
26652
26653 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26654 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26655 (Custom-buffer-done, custom-buffer-create-internal)
26656 (custom-browse-visibility-action, custom-browse-group-tag-action)
26657 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26658 (widget-magic-mouse-down-action, custom-toggle-parent)
26659 (custom-add-parent-links, custom-toggle-hide-variable)
26660 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26661 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26662 (custom-face-menu-create, custom-variable-menu-create, get)
26663 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26664 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26665 (customize-apropos): Remove unused variable `tests'.
26666 (custom-group-value-create): Remove unused variable `hidden-p'.
26667 (sort-fold-case): Declare.
26668
26669 * cus-theme.el (custom-reset-standard-faces-list)
26670 (custom-reset-standard-variables-list): Declare.
26671 (customize-create-theme, custom-theme-revert, custom-theme-write)
26672 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26673 Mark unused parameters.
26674
26675 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26676
26677 * delim-col.el (delimit-columns-max): Move defvar before first use.
26678
26679 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26680 (describe-char): Don't quote `lambda'. Mark unused parameter.
26681
26682 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26683 (auto-insert): Declare.
26684 (desktop-restore-file-buffer): Rename desktop-* parameters;
26685 mark unused ones.
26686 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26687 (desktop-buffer): Rename desktop-* parameters.
26688
26689 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26690 (dframe-reposition-frame-xemacs, dframe-help-echo)
26691 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26692 Mark unused parameters.
26693
26694 * dired-aux.el (backup-extract-version-start, overwrite-query)
26695 (overwrite-backup-query, rename-regexp-query)
26696 (rename-non-directory-query): Declare.
26697 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26698 (dired-add-entry): Remove unused variable `orig-file-name'.
26699 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26700 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26701 `dired-copy-preserve-time' directly.
26702 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26703 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26704
26705 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26706 (dired-virtual-revert, dired-make-relative-symlink):
26707 Mark unused parameters.
26708 (manual-program): Declare.
26709 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26710 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26711 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26712
26713 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26714
26715 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26716
26717 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26718 Declare.
26719
26720 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26721
26722 * electric.el (Electric-command-loop): Rename parameter
26723 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26724
26725 * expand.el (expand-in-literal): Remove unused variable `here'.
26726
26727 * facemenu.el (facemenu-add-new-color):
26728 Remove unused variable `docstring'.
26729
26730 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26731 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26732 (face-attr-construct): Mark unused parameter. Doc fix.
26733 (read-color): Remove unused variable `hex-string'.
26734
26735 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26736 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26737 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26738 (display-buffer-other-frame): Remove unused variable `old-window'.
26739 (kill-buffer-hook): Declare.
26740 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26741 Mark unused parameters.
26742 (after-find-file): Pass 1 to `auto-save-mode', not t.
26743
26744 * files-x.el (auto-insert): Declare.
26745 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26746
26747 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26748 variable `buf'. Mark unused parameter.
26749 (find-lisp-insert-directory): Mark unused parameter.
26750
26751 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26752 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26753 (format-common-tail): Remove, unused.
26754 (format-deannotate-region): Remove unused variable `loc'.
26755 (format-annotate-region): Remove unused variable `p'.
26756 (format-annotate-single-property-change): Remove unused variables
26757 `default' and `tail'.
26758
26759 * forms.el (read-file-filter): Declare.
26760 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26761
26762 * frame.el (frame-creation-function-alist): Mark unused parameter.
26763 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26764
26765 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26766 Remove unused parameters.
26767 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26768 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26769
26770 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26771 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26772 (hfy-prepare-tag-map): Mark unused parameters.
26773 (htmlfontify-buffer): Use `called-interactively-p'.
26774
26775 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26776 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26777 (ibuffer-do-occur): Mark unused parameters.
26778 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26779 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26780
26781 * ibuffer.el: Don't quote `lambda'.
26782 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26783 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26784 Mark unused parameters.
26785
26786 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26787 (ido-completing-read): Mark unused parameters.
26788 (ido-copy-current-word): Mark unused parameters;
26789 remove unused variable `name'.
26790 (ido-sort-merged-list): Remove unused parameter `dirs'.
26791
26792 * ielm.el (ielm-input-sender): Mark unused parameter.
26793 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26794 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26795 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26796 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26797 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26798
26799 * image-dired.el (image-dired-display-thumbs): Remove unused
26800 variables `curr-file' and `count'.
26801 (image-dired-remove-tag): Remove unused variable `start'.
26802 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26803 variable `curr-file'
26804 (image-dired-rotate-original): Remove unused variable `temp-file'.
26805 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26806 Remove unused variable `file'.
26807 (image-dired-gallery-generate): Remove unused variable `curr'.
26808 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26809
26810 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26811
26812 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26813
26814 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26815
26816 * isearch.el (minibuffer-history-symbol): Declare.
26817 (isearch-edit-string): Remove unused variable `err'.
26818 (isearch-message-prefix, isearch-message-suffix):
26819 Mark unused parameters.
26820
26821 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26822
26823 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26824
26825 * makesum.el (double-column): Remove unused variable `cnt'.
26826
26827 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26828 (ido-ignore-item-temp-list): Declare.
26829
26830 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26831 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26832 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26833 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26834 `mouse-col-delta'.
26835
26836 * mouse-sel.el (mouse-extend-internal):
26837 Remove unused variable `orig-window-frame'.
26838
26839 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26840 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26841 Move declarations before first use.
26842 (pcomplete-opt): Mark unused parameters; doc fix.
26843
26844 * proced.el (proced-revert): Mark unused parameter.
26845 (proced-send-signal): Remove unused variable `err'.
26846
26847 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26848 Rename parameter PREFIX-ARG to ARG.
26849 (ps-basic-plot-string, ps-basic-plot-whitespace):
26850 Mark unused parameters.
26851
26852 * replace.el (replace-count): Define.
26853 (occur-revert-function): Mark unused parameters.
26854 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26855 (isearch-case-fold-search, isearch-string): Declare.
26856 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26857 bind `case-fold-search'. Remove unused variables `beg' and `end',
26858 and simplify.
26859 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26860 COUNT and bind `replace-count'.
26861 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26862 to COUNT.
26863
26864 * savehist.el (print-readably, print-string-length): Declare.
26865
26866 * shadowfile.el (shadow-expand-cluster-in-file-name):
26867 Remove unused variable `cluster'.
26868 (shadow-copy-file): Remove unused variable `i'.
26869 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26870 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26871 (shadow-define-literal-group, shadow-define-regexp-group)
26872 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26873
26874 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26875 (shell): Use `called-interactively-p'.
26876 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26877
26878 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26879 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26880 (delete-backward-char): Remove unused variable `ocol'.
26881 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26882 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26883 (event-apply-hyper-modifier, event-apply-shift-modifier)
26884 (event-apply-control-modifier, event-apply-meta-modifier):
26885 Mark unused parameters.
26886 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26887 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26888
26889 * speedbar.el (speedbar-ignored-directory-expressions)
26890 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26891 (speedbar-find-file, speedbar-dir-follow)
26892 (speedbar-directory-buttons-follow, speedbar-tag-find)
26893 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26894 (speedbar-buffers-line-directory, speedbar-buffer-click):
26895 Mark unused parameters.
26896 (speedbar-tag-file): Remove unused variable `mode'.
26897 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26898
26899 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26900
26901 * talk.el (talk): Remove unused variable `display'.
26902
26903 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26904 (tar-write-region-annotate): Mark unused parameter.
26905
26906 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26907 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26908 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26909 warning by another.
26910
26911 * time-stamp.el (time-stamp-string-preprocess):
26912 Remove unused variable `require-padding'.
26913
26914 * tree-widget.el (widget-glyph-enable): Declare.
26915 (tree-widget-action): Mark unused parameter.
26916
26917 * w32-fns.el (x-get-selection): Mark unused parameter.
26918 (autoload-make-program, generated-autoload-file): Declare.
26919
26920 * wdired.el (wdired-revert): Mark unused parameters.
26921 (wdired-xcase-word): Remove unused variable `err'.
26922
26923 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26924 (whitespace-help-scroll): Remove unused variable `data-help'.
26925
26926 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26927 (widget-image-insert, widget-after-change, default)
26928 (widget-default-format-handler, widget-default-notify)
26929 (widget-default-prompt-value, widget-info-link-action)
26930 (widget-url-link-action, widget-function-link-action)
26931 (widget-variable-link-action, widget-file-link-action)
26932 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26933 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26934 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26935 (widget-insert-button-action, widget-delete-button-action, visibility)
26936 (widget-documentation-link-action, widget-documentation-string-action)
26937 (widget-const-prompt-value, widget-regexp-match, symbol)
26938 (widget-coding-system-prompt-value)
26939 (widget-key-sequence-value-to-external, sexp)
26940 (widget-sexp-value-to-internal, character, vector, cons)
26941 (widget-choice-prompt-value, widget-boolean-prompt-value)
26942 (widget-color--choose-action): Mark unused parameters.
26943 (widget-item-match-inline, widget-choice-match-inline)
26944 (widget-checklist-match, widget-checklist-match-inline)
26945 (widget-group-match): Rename parameter VALUES to VALS.
26946 (widget-field-value-set): Remove unused variable `size'.
26947 (widget-color-action): Remove unused variables `value' and `start'.
26948
26949 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26950 variable `dir'. Doc fix.
26951 (windmove-find-other-window): Don't pass it.
26952
26953 * window.el (count-windows): Mark unused parameter.
26954 (bw-adjust-window): Remove unused variable `err'.
26955
26956 * woman.el (woman-file-name): Remove unused variable `default'.
26957 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26958 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26959 (global-font-lock-mode): Declare.
26960 (woman-decode-region): Mark unused parameter.
26961 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26962
26963 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26964 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26965 (x-dnd-handle-moz-url): Remove unused variable `title'.
26966 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26967
26968 * xml.el (xml-parse-tag, xml-parse-attlist):
26969 Remove unused variable `pos'.
26970
26971 2011-04-19 Glenn Morris <rgm@gnu.org>
26972
26973 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26974 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26975 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26976 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26977 * calendar/cal-html.el (cal-html-insert-minical):
26978 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26979 (calendar-mark-date-pattern):
26980 Prefix "unused" locals.
26981
26982 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26983 optional argument `style'.
26984
26985 * calendar/appt.el (appt-make-list):
26986 * calendar/cal-china.el (calendar-chinese-date-string):
26987 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26988 (diary-hebrew-yahrzeit):
26989 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26990 * calendar/calendar.el (calendar-generate-window):
26991 * calendar/time-date.el (time-to-days):
26992 Remove unused local variables.
26993
26994 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26995
26996 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26997 glyphless-char-display table.
26998 (tabulated-list-glyphless-char-display): New var.
26999
27000 2011-04-18 Sam Steingold <sds@gnu.org>
27001
27002 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27003 to acknowledgments.
27004
27005 2011-04-17 Glenn Morris <rgm@gnu.org>
27006
27007 * calendar/diary-lib.el (diary-sexp-entry):
27008 * calendar/holidays.el (holiday-sexp):
27009 Set debug-on-error rather than the removed stack-trace-on-error.
27010
27011 2011-04-16 Glenn Morris <rgm@gnu.org>
27012
27013 * progmodes/f90.el: Use lexical-binding.
27014 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27015
27016 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27017
27018 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27019 (mail-mode): Setup mailalias completion here instead.
27020 * mail/mailalias.el: Use lexical-binding.
27021 (pattern, mailalias-done): Declare dynamic.
27022 (mail-completion-at-point-function): New function, from mail-complete.
27023 (mail-complete): Use it.
27024 (mail-completion-expand): New function.
27025 (mail-get-names): Use it.
27026 (mail-directory, mail-directory-process, mail-directory-stream):
27027 Don't use `pattern' for lexically bound arg.
27028
27029 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27030
27031 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27032 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27033 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27034
27035 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27036 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27037 (byte-interactive-p): Define them again, for use when inlining
27038 old code.
27039
27040 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27041
27042 * loadup.el: Use `string-to-number', not `string-to-int'.
27043
27044 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27045
27046 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27047 gud-gdb-complete-command.
27048 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27049 (gud-gdb-completion-at-point): New function.
27050 (gud-gdb-completions): Remove.
27051
27052 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27053
27054 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27055 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27056 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27057 whether `executable-find' is bound.
27058
27059 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27060
27061 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27062
27063 * minibuffer.el (completion-in-region-mode-predicate)
27064 (completion-in-region-mode--predicate): New vars.
27065 (completion-in-region, completion-in-region--postch)
27066 (completion-in-region-mode): Use them.
27067 (completion--capf-wrapper): Also return the hook function.
27068 (completion-at-point, completion-help-at-point):
27069 Adjust and provide a predicate.
27070
27071 Preserve arg names for advice of subr and lexical functions (bug#8457).
27072 * help-fns.el (help-function-arglist): Consolidate the subr and
27073 new-byte-code cases. Add argument `preserve-names' to extract names
27074 from the docstring when needed.
27075 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27076 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27077 (ad-arglist): Use help-function-arglist's new arg.
27078 (ad-definition-type): Use cond.
27079
27080 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27081
27082 * autorevert.el (auto-revert-handler):
27083 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27084 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27085 Don't quote lambda.
27086
27087 * image-mode.el (image-transform-set-scale):
27088 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27089
27090 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27091
27092 * net/network-stream.el (network-stream-open-starttls): Only do
27093 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27094 Upgrades via gnutls-cli are too slow to be done opportunistically.
27095
27096 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27097
27098 * dframe.el (dframe-current-frame): Remove spurious quote.
27099
27100 2011-04-12 Glenn Morris <rgm@gnu.org>
27101
27102 * calendar/cal-tex.el (cal-tex-end-document):
27103 Try to automatically use latin1 input if needed.
27104
27105 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27106 Don't try to cons a mark onto an empty element.
27107
27108 2011-04-11 Leo Liu <sdl.web@gmail.com>
27109
27110 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27111 buffers.
27112 (ido-kill-buffer-at-head): Support killing virtual buffers.
27113
27114 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27115
27116 * minibuffer.el (completion-show-inline-help): New var.
27117 (completion--do-completion, minibuffer-complete)
27118 (minibuffer-force-complete, minibuffer-complete-word):
27119 Inhibit minibuffer messages if completion-show-inline-help is nil.
27120
27121 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27122 to avoid interference from inline help (Bug#5849).
27123
27124 2011-04-10 Leo Liu <sdl.web@gmail.com>
27125
27126 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27127 Fix typo.
27128
27129 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27130
27131 * image-mode.el (image-toggle-display-image): Signal an error if
27132 not in Image mode.
27133 (image-transform-mode, image-transform-resize)
27134 (image-transform-set-rotation): Doc fix.
27135 (image-transform-set-resize): Delete.
27136 (image-transform-set-scale, image-transform-fit-to-height)
27137 (image-transform-fit-to-width): Handle image-toggle-display-image
27138 and image-transform-resize directly.
27139
27140 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27141
27142 * doc-view.el (doc-view-fit-width-to-window)
27143 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27144 New functions for fitting the shown image to the Emacs window size.
27145 (doc-view-mode-map): Add bindings for the new functions.
27146
27147 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27148
27149 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27150 Fix typo in docstring.
27151
27152 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27153
27154 * files.el (file-size-human-readable): Produce one digit after
27155 decimal, like "ls -lh" does.
27156
27157 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27158 the file size representation.
27159
27160 * simple.el (list-processes): If async subprocesses are not
27161 available, error out with a clear error message.
27162
27163 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27164
27165 * help.el (help-form-show): New function, to be called from C.
27166 Put help-form output in a buffer named differently than *Help*.
27167
27168 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27169
27170 * files.el (file-size-human-readable): New function.
27171
27172 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27173 computing the representation inline. Don't require `cl'.
27174
27175 2011-04-08 Glenn Morris <rgm@gnu.org>
27176
27177 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27178
27179 * net/browse-url.el (browse-url-firefox):
27180 Test system-type, not system-configuration.
27181
27182 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27183 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27184 Use log-edit-empty-buffer-p. (Bug#7598)
27185
27186 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27187 (rlogin-mode-map): Initialize in the defvar.
27188 (rlogin): Use ignore-errors.
27189
27190 * replace.el (occur-mode-map): Some fixes for menu items.
27191
27192 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27193
27194 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27195
27196 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27197
27198 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27199 issuing unused warnings.
27200
27201 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27202 macro directly.
27203
27204 * simple.el: Lisp reimplement of list-processes. Based on an
27205 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27206 (process-menu-mode): New major mode.
27207 (list-processes--refresh, list-processes):
27208 (process-menu-visit-buffer): New functions.
27209
27210 * files.el (save-buffers-kill-emacs): Don't assume any return
27211 value of list-processes, which is undocumented anyway.
27212
27213 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27214
27215 * emacs-lisp/tabulated-list.el: New file.
27216
27217 * emacs-lisp/package.el: Use Tabulated List mode.
27218 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27219 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27220 table format using Tabulated List mode variables.
27221 (package--push): New macro, replacing package-list-maybe-add.
27222 (package-menu--generate): Use package--push. Renamed from
27223 package--generate-package-list.
27224 (package-menu-refresh, list-packages): Use it.
27225 (package-menu--print-info): Rename from package-print-package.
27226 Return insertion data instead of inserting it directly.
27227 (package-menu-describe-package, package-menu-execute):
27228 Use tabulated-list-get-id.
27229 (package-menu-mark-delete, package-menu-mark-install)
27230 (package-menu-mark-unmark, package-menu-backup-unmark)
27231 (package-menu-mark-obsolete-for-deletion):
27232 Use tabulated-list-put-tag.
27233 (package--list-packages, package-menu-revert)
27234 (package-menu-get-package, package-menu-get-version)
27235 (package-menu-sort-by-column): Functions deleted.
27236 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27237 (package-menu--status-predicate, package-menu--version-predicate)
27238 (package-menu--name-predicate)
27239 (package-menu--description-predicate): Handle arguments in the
27240 Tabulated List format.
27241 (package-list-packages-no-fetch): Call list-packages.
27242
27243 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27244
27245 * files.el (after-find-file-from-revert-buffer): Remove variable.
27246 (after-find-file): Don't bind it.
27247 (revert-buffer-in-progress-p): New variable.
27248 (revert-buffer): Bind it.
27249 Pass nil for `after-find-file-from-revert-buffer'.
27250
27251 * saveplace.el (save-place-find-file-hook): Use new variable
27252 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27253
27254 2011-04-06 Glenn Morris <rgm@gnu.org>
27255
27256 * Makefile.in (AUTOGEN_VCS): New variable.
27257 (autoloads): Use $AUTOGEN_VCS.
27258
27259 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27260 * calendar/calendar.el (calendar-mode-map):
27261 Check for toolkit scroll bars. (Bug#8305)
27262
27263 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27264
27265 * minibuffer.el (completion-in-region--postch)
27266 (completion-in-region-mode): Remove unnecessary messages.
27267
27268 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27269
27270 * font-lock.el (font-lock-refresh-defaults):
27271 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27272 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27273
27274 * info.el (Info-directory-list, Info-read-node-name-2)
27275 (Info-split-parameter-string): Doc fixes.
27276 (Info-virtual-nodes): Reflow docstring.
27277 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27278 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27279 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27280 Fix typos in docstrings.
27281 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27282 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27283 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27284 (Info-restore-desktop-buffer): Mark unused parameters.
27285 (Info-directory-find-file, Info-directory-find-node)
27286 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27287 (Info-virtual-index-find-node, Info-apropos-find-file)
27288 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27289 Mark unused parameters; fix typos in docstrings.
27290 (Info-virtual-index): Remove unused local variable `nodename'.
27291
27292 2011-04-05 Deniz Dogan <deniz@dogan.se>
27293
27294 * net/rcirc.el: Update my e-mail address.
27295 (rcirc-mode-map): Remove M-o binding.
27296
27297 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27298
27299 * startup.el (command-line): Save the cursor's theme-face
27300 directly, instead of using face-override-spec.
27301
27302 * custom.el (load-theme): Minor optimization in assigning faces.
27303
27304 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27305
27306 * help-fns.el (describe-variable): Complete all variables having
27307 documentation, including keywords.
27308 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27309
27310 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27311
27312 Convert to lexical-binding.
27313
27314 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27315 (bs--get-marked-string, bs--get-modified-string)
27316 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27317 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27318 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27319
27320 * ehelp.el (electric-help-execute-extended)
27321 (electric-help-ctrl-x-prefix):
27322 * hexl.el (hexl-revert-buffer-function):
27323 * linum.el (linum-after-change, linum-after-scroll):
27324 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27325
27326 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27327
27328 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27329
27330 * epa-dired.el:
27331 * epa-mail.el:
27332 * epa-hook.el:
27333 * epa-file.el:
27334 * epa.el:
27335 * epg.el: Use lexical binding.
27336
27337 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27338
27339 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27340
27341 * textmodes/flyspell.el (flyspell-word): Recognize default
27342 dictionary case for flyspell-mark-duplications-exceptions.
27343 Use regexp matching for languages.
27344 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27345 default dictionary (Bug#7926).
27346
27347 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27348
27349 * emacs-lisp/package.el (package--with-work-buffer):
27350 Recognize https URLs.
27351
27352 * net/network-stream.el: Move from gnus/proto-stream.el.
27353 Change prefix to network-stream throughout.
27354 (open-protocol-stream): Merge into open-network-stream, leaving
27355 open-protocol-stream as an alias. Handle nil BUFFER args.
27356
27357 * subr.el (open-network-stream): Move to net/network-stream.el.
27358
27359 2011-04-02 Glenn Morris <rgm@gnu.org>
27360
27361 * find-dired.el (find-exec-terminator): New option.
27362 (find-ls-option): Test for -ls support.
27363 (find-ls-subdir-switches): Test for -b in find-ls-option.
27364 (find-dired, find-grep-dired): Doc fixes.
27365 (find-dired): Use find-exec-terminator.
27366
27367 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27368 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27369 (find-name-arg): Remove purecopy.
27370
27371 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27372 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27373 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27374 accordingly. Don't add the null-device if not needed.
27375
27376 * files.el (save-some-buffers): Doc fix.
27377
27378 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27379
27380 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27381
27382 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27383
27384 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27385 Use `dolist' rather than `mapcar'.
27386
27387 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27388
27389 Add lexical binding.
27390
27391 * subr.el (apply-partially): Use new closures rather than CL.
27392 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27393 (dolist, dotimes): Use slightly different expansion for lexical code.
27394 (functionp): Move to C.
27395 (letrec): New macro.
27396 (with-wrapper-hook): Use it and apply-partially instead of CL.
27397 (eval-after-load): Preserve lexical-binding.
27398 (save-window-excursion, with-output-to-temp-buffer): Turn them
27399 into macros.
27400
27401 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27402
27403 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27404 than the arglist.
27405 (help-add-fundoc-usage): Don't add `Not documented'.
27406 (help-function-arglist): Handle closures, subroutines, and new
27407 byte-code-functions.
27408 (help-make-usage): Remove leading underscores.
27409 (describe-function-1): Handle closures.
27410 (describe-variable): Use special-variable-p for completion.
27411
27412 * files.el (lexical-binding): Declare safe.
27413
27414 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27415 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27416 (pcase): Add `let' pattern.
27417 Change memoization so it actually works.
27418 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27419 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27420 <let>: New case.
27421
27422 * emacs-lisp/macroexp.el: Use lexical binding.
27423 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27424 Don't convert ' to #' without checking that it's indeed quoting
27425 a lambda.
27426
27427 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27428 Use eval-sexp-add-defvars.
27429 (eval-sexp-add-defvars): New fun.
27430
27431 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27432
27433 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27434 Don't autoload.
27435 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27436 than the internal `byte-compile-lambda'.
27437 (defmethod): Don't hide code under quotes.
27438 (eieio-defmethod): New `code' argument.
27439
27440 * emacs-lisp/eieio-comp.el: Remove.
27441
27442 * emacs-lisp/edebug.el (edebug-eval-defun)
27443 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27444 (edebug-toggle): Avoid `eval'.
27445
27446 * emacs-lisp/disass.el (disassemble-internal): Handle new
27447 `closure' objects.
27448 (disassemble-1): Handle new byte codes.
27449
27450 * emacs-lisp/cl.el (pushnew): Silence warning.
27451
27452 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27453 (cl-byte-compile-throw): Remove.
27454 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27455
27456 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27457 closures.
27458
27459 * emacs-lisp/cconv.el: New file.
27460
27461 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27462 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27463 (byte-compile-initial-macro-environment):
27464 Handle declare-function here.
27465 (byte-compile--lexical-environment): New var.
27466 (byte-stack-ref, byte-stack-set, byte-discardN)
27467 (byte-discardN-preserve-tos): New lap codes.
27468 (byte-interactive-p): Don't use any more.
27469 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27470 New macros.
27471 (byte-compile-lapcode): Use them and handle new lap codes.
27472 (byte-compile-obsolete): Remove.
27473 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27474 (byte-compile-arglist-warn): Check late def of inlinable funs.
27475 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27476 since they should have been expanded by now.
27477 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27478 (byte-compile-from-buffer): Remove unused second arg.
27479 (byte-compile-preprocess): New function.
27480 (byte-compile-toplevel-file-form): New function to distinguish
27481 file-form calls from outside from file-form calls from hunk-handlers.
27482 (byte-compile-file-form): Simplify.
27483 (byte-compile-file-form-defsubst): Remove.
27484 (byte-compile-file-form-defmumble): Simplify now that
27485 byte-compile-lambda always returns a byte-code-function.
27486 (byte-compile): Preprocess.
27487 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27488 Remove, not used any more.
27489 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27490 (byte-compile-make-args-desc): New funs.
27491 (byte-compile-lambda): Handle lexical functions. Always return
27492 a byte-code-function.
27493 (byte-compile-reserved-constants): New var, to make up room for
27494 closed-over variables.
27495 (byte-compile-constants-vector): Obey it.
27496 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27497 (byte-compile-macroexpand-declare-function): New function.
27498 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27499 byte-code-functions.
27500 (byte-compile-form): Check obsolescence here.
27501 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27502 (byte-compile-variable-ref): Remove.
27503 (byte-compile-dynamic-variable-op): New fun.
27504 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27505 (byte-compile-variable-set): New funs.
27506 (byte-compile-discard): Add 2 args.
27507 (byte-compile-stack-ref, byte-compile-stack-set)
27508 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27509 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27510 macroexpand-all instead.
27511 (byte-compile-quote-form): Remove.
27512 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27513 (byte-compile-bind, byte-compile-unbind): New funs.
27514 (byte-compile-let): Handle let* and lexical binding.
27515 (byte-compile-let*): Remove.
27516 (byte-compile-catch, byte-compile-unwind-protect)
27517 (byte-compile-track-mouse, byte-compile-condition-case):
27518 Handle a new :fun-body form, used for lexical scoping.
27519 (byte-compile-save-window-excursion)
27520 (byte-compile-with-output-to-temp-buffer): Remove.
27521 (byte-compile-defun): Simplify.
27522 (byte-compile-stack-adjustment): New fun.
27523 (byte-compile-out): Use it.
27524 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27525
27526 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27527 handler any more.
27528
27529 * emacs-lisp/byte-opt.el: Use lexical binding.
27530 (byte-inline-lapcode): Remove (to bytecomp).
27531 (byte-compile-inline-expand): Pay attention to inlining to/from
27532 lexically bound code.
27533 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27534 any more.
27535 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27536 any more and don't call compiler-macros.
27537 (byte-compile-splice-in-already-compiled-code): Remove.
27538 (byte-code): Don't inline any more.
27539 (disassemble-offset): Receive `bytes' as argument rather than via
27540 dynamic scoping.
27541 (byte-compile-tag-number): Declare before first use.
27542 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27543 `return' even if make-spliceable.
27544 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27545 obsolete interactive-p.
27546 (byte-optimize-lapcode): Optimize new lap-codes.
27547 Don't trip up on new form of `byte-constant' lap code.
27548
27549 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27550
27551 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27552
27553 * custom.el (custom-initialize-default, custom-declare-variable):
27554 Use `defvar'.
27555
27556 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27557 New variables.
27558 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27559 (COMPILE_FIRST): Add macroexp and cconv.
27560 * makefile.w32-in: Mirror changes in Makefile.in.
27561
27562 * vc/cvs-status.el:
27563 * vc/diff-mode.el:
27564 * vc/log-edit.el:
27565 * vc/log-view.el:
27566 * vc/smerge-mode.el:
27567 * textmodes/bibtex-style.el:
27568 * textmodes/css-mode.el:
27569 * startup.el:
27570 * uniquify.el:
27571 * minibuffer.el:
27572 * newcomment.el:
27573 * reveal.el:
27574 * server.el:
27575 * mpc.el:
27576 * emacs-lisp/smie.el:
27577 * doc-view.el:
27578 * dired.el:
27579 * abbrev.el: Use lexical binding.
27580
27581 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27582
27583 * info.el (info-display-manual): New function.
27584
27585 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27586
27587 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27588
27589 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27590
27591 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27592 an entry for that server in rcirc-authinfo. (Bug#8385)
27593
27594 2011-03-31 Glenn Morris <rgm@gnu.org>
27595
27596 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27597
27598 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27599
27600 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27601
27602 * progmodes/python.el (python-default-interpreter)
27603 (python-python-command-args, python-jython-command-args)
27604 (python-which-shell, python-which-args, python-which-bufname)
27605 (python-file-queue, python-comint-output-filter-function)
27606 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27607 variables and functions.
27608
27609 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27610
27611 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27612 (completion-in-region-mode): New minor mode.
27613 (completion-in-region): Use it.
27614 (completion-in-region--data, completion-in-region-mode-map): New vars.
27615 (completion-in-region--postch): New function.
27616 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27617 New vars.
27618 (completion--capf-wrapper): New function.
27619 (completion-at-point): Use it to track well-behavedness of
27620 hook functions.
27621 (completion-help-at-point): New command.
27622
27623 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27624
27625 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27626 syntax class to search for whitespace on a single line
27627 (Message-ID: <4D938140.4030905@redhat.com>).
27628
27629 2011-03-30 Leo Liu <sdl.web@gmail.com>
27630
27631 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27632 New commands.
27633 (edit-abbrevs-map): Bind them here.
27634 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27635
27636 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27637
27638 * allout.el (allout-hide-by-annotation, allout-flag-region):
27639 Reduce possibility of overlay leakage by making them volatile.
27640
27641 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27642 hash is not shared between buffers. Mode initialization is
27643 responsible for giving it a useful starting value.
27644 (allout-item-span): Reduce possibility of overlay leakage by
27645 making them volatile.
27646 (allout-widgets-count-buttons-in-region): Add diagnostic function
27647 for tracking down button overlay leaks.
27648
27649 2011-03-29 Leo Liu <sdl.web@gmail.com>
27650
27651 * ido.el (ido-read-internal): Use the default history var
27652 minibuffer-history if no HISTORY is specified.
27653
27654 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27655
27656 * net/imap.el (imap-shell-open, imap-process-connection-type):
27657 Use imap-process-connection-type for 'shell' streams as well as
27658 Kerberos, SSL, other subprocesses.
27659
27660 2011-03-28 Leo Liu <sdl.web@gmail.com>
27661
27662 * abbrev.el (abbrev-table-empty-p): New function.
27663 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27664 nonempty ones. (Bug#5937)
27665
27666 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27667
27668 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27669
27670 2011-03-27 Leo Liu <sdl.web@gmail.com>
27671
27672 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27673 for foreground and background colors.
27674 (ansi-color-make-color-map): Adapt.
27675
27676 2011-03-25 Leo Liu <sdl.web@gmail.com>
27677
27678 * midnight.el (midnight-time-float): Remove. Note it calculates
27679 the microsecond component incorrectly and seconds-to-time does the
27680 same job.
27681 Remove redundant (require 'timer).
27682
27683 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27684 (ido-completions): Remove unused arguments. (Bug#8329)
27685
27686 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27687
27688 * minibuffer.el (completion--flush-all-sorted-completions):
27689 Remove itself from hook.
27690 (completion-at-point): Let the functions perform the completion
27691 immediately and return nil or t.
27692 * comint.el (comint-dynamic-complete-functions): Now identical to
27693 completion-at-point-functions.
27694 (comint-dynamic-list-input-ring): Remove unused var `index'.
27695 (comint--match-partial-filename, comint--unquote&expand-filename):
27696 New funs, split from comint-match-partial-filename.
27697 (comint-dynamic-complete): Use completion-at-point.
27698 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27699
27700 2011-03-24 Drew Adams <drew.adams@oracle.com>
27701
27702 * thingatpt.el: Support `defun'.
27703
27704 2011-03-23 Leo Liu <sdl.web@gmail.com>
27705
27706 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27707
27708 * help-mode.el (help-mode-finish): Tweak regexp.
27709
27710 2011-03-23 Glenn Morris <rgm@gnu.org>
27711
27712 * eshell/esh-opt.el (eshell-eval-using-options):
27713 Do not bind unused local variable `eshell-option-stub'.
27714
27715 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27716
27717 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27718
27719 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27720 keymap variable in `with-no-warnings' to avoid a warning when the
27721 keymap has been already `defconst'ed.
27722
27723 2011-03-22 Leo Liu <sdl.web@gmail.com>
27724
27725 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27726 encode all chars in abbrevs; otherwise use emacs-mule or
27727 utf-8-emacs. (Bug#8308)
27728
27729 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27730
27731 * simple.el (backward-delete-char-untabify):
27732 Avoid warning about using `delete-backward-char'.
27733
27734 * image.el (image-type-file-name-regexps): Make it variable.
27735 `imagemagick-register-types' modifies it, and the user may want
27736 to add new extensions for known image types.
27737 (imagemagick-register-types): Throw error if not using ImageMagick.
27738
27739 2011-03-22 Leo Liu <sdl.web@gmail.com>
27740
27741 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27742 located before rcirc-prompt-end-marker.
27743 (rcirc-complete): Error if point is not after rcirc prompt.
27744 Handle the case when table is nil.
27745 (rcirc-user-authenticated): Define to fix compiler warning.
27746
27747 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27748
27749 * custom.el (custom--inhibit-theme-enable): Make it affect only
27750 custom-theme-set-variables and custom-theme-set-faces.
27751 (provide-theme): Ignore custom--inhibit-theme-enable.
27752 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27753 (custom-enabling-themes): Delete variable.
27754 (enable-theme): Accept only loaded themes as arguments.
27755 Ignore the special custom-enabled-themes variable.
27756 (custom-enabled-themes): Forbid themes from setting this.
27757 Eliminate use of custom-enabling-themes.
27758 (custom-push-theme): Quote "changed" custom var entry.
27759
27760 2011-03-21 Leo Liu <sdl.web@gmail.com>
27761
27762 * ido.el (ido-read-internal): Add ido-selected to history instead
27763 of user input.
27764
27765 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27766
27767 * subr.el (deferred-action-list, deferred-action-function):
27768 Mark obsolete.
27769
27770 2011-03-21 Leo Liu <sdl.web@gmail.com>
27771
27772 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27773 change on 2011-02-13 (bug#8309).
27774
27775 * minibuffer.el (read-file-name-function): Change default value.
27776 (read-file-name--defaults): Rename from read-file-name-defaults.
27777 (read-file-name-default): Rename from read-file-name.
27778 (read-file-name): Call read-file-name-function.
27779
27780 2011-03-21 Glenn Morris <rgm@gnu.org>
27781
27782 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27783 Doc fixes.
27784
27785 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27786
27787 * cus-theme.el: Add missing provide statement.
27788 (customize-create-theme): Extract theme value correctly.
27789 (custom-theme-visit-theme): Autoload.
27790 (customize-create-theme): Prompt before inserting default faces.
27791
27792 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27793
27794 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27795 units and musical notes.
27796
27797 2011-03-20 Leo Liu <sdl.web@gmail.com>
27798
27799 * ido.el (ido-read-internal): Use completing-read-default.
27800 (ido-completing-read): Fix compatibility with completing-read.
27801
27802 2011-03-20 Christian Ohler <ohler@gnu.org>
27803
27804 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27805 (ert-delete-all-tests): Use `called-interactively-p' rather than
27806 `interactive-p'.
27807 (ert--make-xrefs-region): Respect END.
27808
27809 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27810
27811 * dired-aux.el (dired-create-directory): Signal an error if the
27812 directory already exists (Bug#8246).
27813
27814 * facemenu.el (list-colors-display): Call list-faces-display
27815 inside with-help-window.
27816 (list-colors-print): Use display property to align the final
27817 column, instead of checking window-width.
27818
27819 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27820
27821 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27822 windows-nt systems.
27823 (emerge-protect-metachars): Quote correctly for ms-dos and
27824 windows-nt systems.
27825
27826 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27827
27828 * info.el (info-initialize): Replace all uses of `:' with
27829 path-separator for compatibility with non-Unix systems.
27830 Cache quoting of path-separator. (Bug#8258)
27831
27832 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27833
27834 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27835 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27836 (mouse-avoidance-mode): Fix typos in docstrings.
27837
27838 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27839
27840 * startup.el (package-subdirectory-regexp): Move from package.el.
27841 Omit \\` and \\', and let callers add them.
27842
27843 * emacs-lisp/package.el (package-strip-version)
27844 (package-load-all-descriptors): Add \\` and \\' to
27845 package-subdirectory-regexp before using it.
27846 (package-untar-buffer): New arg DIR; ensure that file untars only
27847 into this expected directory. Remove superfluous delete-region.
27848 (package-unpack): Caller changed.
27849 (package-tar-file-info): Use package-subdirectory-regexp.
27850
27851 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27852
27853 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27854 diff-mode-shared-map (bug#8284).
27855 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27856
27857 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27858
27859 * calendar/time-date.el (format-seconds): Use assoc instead of
27860 assoc-string, since assoc-string doesn't exist in XEmacs.
27861
27862 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27863
27864 * custom.el (custom-known-themes): Reflow docstring.
27865 (custom-theme-load-path): Fix typo in docstring.
27866 (load-theme): Fix typo in error message.
27867 (custom-available-themes, custom-variable-theme-value):
27868 Use `let', not `let*'.
27869
27870 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27871
27872 * calc/README: Mention inclusion of musical notes.
27873
27874 * calc/calc-units.el (calc-lu-quant): Rename from
27875 `calc-logunits-quantity'.
27876 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27877 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27878 (calc-db): Rename from `calc-dblevel'.
27879 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27880 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27881 (calc-np): Rename from `calc-nplevel'.
27882 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27883 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27884 (calc-lu-plus): Rename from `calc-logunits-add'.
27885 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27886 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27887 (calc-lu-minus): Rename from `calc-logunits-sub'.
27888 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27889 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27890 (calc-lu-times): Rename from `calc-logunits-mul'.
27891 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27892 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27893 (calc-lu-divide): Rename from `calc-logunits-div'.
27894 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27895 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27896
27897 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27898 functions being autoloaded.
27899
27900 * calc/calc.el (calc-lu-power-reference): Rename from
27901 `calc-logunits-power-reference'.
27902 (calc-lu-field-reference): Rename from
27903 `calc-logunits-field-reference'.
27904
27905 * calc/calc-help.el (calc-l-prefix-help):
27906 Mention musical note functions.
27907
27908 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27909
27910 * minibuffer.el (completion-all-sorted-completions):
27911 Use :completion-cycle-penalty text property if present.
27912
27913 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27914
27915 * allout.el (allout-yank-processing): Adjust for new rebulleting
27916 regime so bullet being yanked is used without prompting the user
27917 for a choice.
27918
27919 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27920
27921 * startup.el (command-line): Warn the user that _emacs is deprecated.
27922
27923 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27924
27925 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27926 (delphi-verbose, delphi-comment-face, delphi-string-face)
27927 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27928 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27929 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27930 (delphi-new-comment-line, delphi-font-lock-defaults)
27931 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27932 Fix typos in docstrings.
27933
27934 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27935
27936 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27937 Invert the roles of character and string values for INSTEAD, so a
27938 string is used for the more common case of a defaulting prompt.
27939
27940 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27941
27942 * progmodes/ruby-mode.el (ruby-backward-sexp):
27943 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27944 * play/gamegrid.el (gamegrid-make-face):
27945 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27946 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27947 * notifications.el (notifications-notify):
27948 * net/xesam.el (xesam-search-engines):
27949 * net/quickurl.el (quickurl-list-insert):
27950 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27951
27952 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27953
27954 * startup.el (command-line): Update package subdirectory regexp.
27955
27956 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27957
27958 * allout.el (allout-abbreviate-flattened-numbering)
27959 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27960
27961 * subr.el (read-char-choice): Only show the cursor after the prompt,
27962 not after the answer.
27963
27964 2011-03-15 Kevin Ryde <user42@zip.com.au>
27965
27966 * help-fns.el (variable-at-point): Skip leading quotes, if any
27967 (bug#8253).
27968
27969 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27970
27971 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27972 warning message.
27973
27974 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27975
27976 * shell.el (shell): When called interactively, offer to change the
27977 shell file name on remote hosts.
27978
27979 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27980
27981 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27982 integration for LDAP parameters. The host, base, user or binddn,
27983 and secret tokens can be specified in a netrc file, for instance.
27984 This is optional because an `auth-source' parameter must be
27985 specified in the search attributes.
27986
27987 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27988
27989 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27990
27991 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27992
27993 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27994 into declaration. Remove redundant and harmful binding.
27995
27996 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27997
27998 * files.el (file-ownership-preserved-p): Pass `integer' as an
27999 explicit 2nd argument to `file-attributes'. If the file's owner
28000 is the Administrators group on Windows, and the current user is
28001 Administrator, consider that a match.
28002
28003 * server.el (server-ensure-safe-dir): Consider server directory
28004 safe on MS-Windows if its owner is the Administrators group while
28005 the current Emacs user is Administrator. Use `=' to compare
28006 numerical UIDs, since they could be integers or floats.
28007
28008 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28009
28010 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28011
28012 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28013
28014 Sync with Tramp 2.2.1.
28015
28016 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28017
28018 * net/trampver.el: Update release number.
28019
28020 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28021
28022 * progmodes/compile.el (compilation--previous-directory): Fix up
28023 various nil/dead-marker mismatches (bug#8014).
28024 (compilation-directory-properties, compilation-error-properties):
28025 Don't call it at a position past the one we're about to change.
28026
28027 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28028 Disable obsolescence warnings in the file that declares it.
28029
28030 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28031
28032 * allout-widgets.el (allout-widgets-tally):
28033 Initialize allout-widgets-tally as a hash table rather than nil to
28034 prevent mode-line redisplay warnings. Also, clarify the module
28035 description and fix a comment typo.
28036
28037 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28038
28039 * help-fns.el (describe-variable): Don't complete keywords.
28040 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28041
28042 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28043
28044 * emacs-lisp/package.el (package-version-join): Impose a standard
28045 string representation for pre/alpha/beta version lists.
28046 (package-unpack-single): Standardize the directory name by passing
28047 it through package-version-join.
28048 (package-strip-rcs-id): Accept any version string that does not
28049 signal an error in version-to-list.
28050
28051 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28052
28053 * simple.el (delete-trailing-whitespace): Return nil for the
28054 benefit of `write-file-functions'.
28055
28056 2011-03-10 Glenn Morris <rgm@gnu.org>
28057
28058 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28059
28060 * vc/vc-git.el (vc-git-program): New option.
28061 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28062 (vc-git--call): Use it.
28063
28064 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28065
28066 * cus-edit.el (Custom-newline): If no button at point, look
28067 for a subgroup button at start-of-line. (Bug#2298)
28068
28069 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28070
28071 2011-03-10 Julien Danjou <julien@danjou.info>
28072
28073 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28074 `cursor-type' is nil.
28075
28076 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28077
28078 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28079
28080 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28081
28082 * allout.el: Change so yank of distinctive-bullet items
28083 preserves the existing header prefix, rebulleting it if necessary,
28084 rather than replacing it. This is necessary for proper operation
28085 of cooperative addons like allout-widgets.
28086 (allout-make-topic-prefix, allout-rebullet-heading):
28087 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28088 value as alternate bullet to be used, instead of prompting the user
28089 for a bullet character.
28090
28091 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28092
28093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28094 Do not use `tramp-file-name-port', because this returns also
28095 `tramp-default-port'.
28096
28097 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28098
28099 * net/rcirc.el (rcirc-handler-001): Remove useless
28100 with-rcirc-process-buffer.
28101 (rcirc-check-auth-status): Swap arguments to string-match.
28102
28103 2011-03-09 Glenn Morris <rgm@gnu.org>
28104
28105 * shell.el (shell-mode):
28106 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28107
28108 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28109 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28110
28111 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28112
28113 * emacs-lisp/package.el (package-refresh-contents)
28114 (package-menu-execute): Use condition-case-no-debug.
28115
28116 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28117
28118 * simple.el (shell-command-to-string): Use `process-file'.
28119
28120 * emacs-lisp/package.el (package-tar-file-info): Handle also
28121 remote files.
28122
28123 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28124 Use `equal' for upload base check.
28125
28126 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28127
28128 * textmodes/texinfo.el (texinfo-environments):
28129 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28130
28131 2011-03-08 Glenn Morris <rgm@gnu.org>
28132
28133 * cus-start.el (cursor-in-non-selected-windows):
28134 Fix :set quoting oddness. (Bug#8192)
28135
28136 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28137 in some setf expressions. (Bug#2159)
28138
28139 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28140
28141 * custom.el (custom-available-themes): Return themes in
28142 alphabetical order.
28143
28144 See ChangeLog.15 for earlier changes.
28145
28146 ;; Local Variables:
28147 ;; coding: utf-8
28148 ;; End:
28149
28150 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28151
28152 This file is part of GNU Emacs.
28153
28154 GNU Emacs is free software: you can redistribute it and/or modify
28155 it under the terms of the GNU General Public License as published by
28156 the Free Software Foundation, either version 3 of the License, or
28157 (at your option) any later version.
28158
28159 GNU Emacs is distributed in the hope that it will be useful,
28160 but WITHOUT ANY WARRANTY; without even the implied warranty of
28161 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28162 GNU General Public License for more details.
28163
28164 You should have received a copy of the GNU General Public License
28165 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.