* lisp/emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
[bpt/emacs.git] / lisp / ChangeLog
1 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4 eagerly (bug#14422).
5
6 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7
8 * autorevert.el (auto-revert-notify-enabled)
9 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11 (auto-revert-notify-handler): Handle also gfilenotify.
12
13 * subr.el: (file-notify-handle-event): New defun. Replacing ...
14 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15 Removed.
16
17 2013-06-03 Juri Linkov <juri@jurta.org>
18
19 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
20 `M-s h .'. (Bug#14427)
21
22 * hi-lock.el (highlight-symbol-at-point): New alias for the new
23 command `hi-lock-face-symbol-at-point'.
24 (hi-lock-face-symbol-at-point): New command.
25 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
26 (hi-lock-menu): Add `highlight-symbol-at-point'.
27 (hi-lock-mode): Doc fix.
28
29 * isearch.el (isearch-forward-symbol-at-point): New command.
30 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
31 (isearch-highlight-regexp): Add a regexp which matches
32 words/symbols for word/symbol mode.
33
34 * subr.el (find-tag-default-bounds): New function with the body
35 mostly moved from `find-tag-default'.
36 (find-tag-default): Move most code to `find-tag-default-bounds',
37 call it and apply `buffer-substring-no-properties' afterwards.
38
39 2013-06-03 Tassilo Horn <tsdh@gnu.org>
40
41 * eshell/em-term.el (eshell-term-initialize): Use
42 `cl-intersection' rather than `intersection'.
43
44 2013-06-02 Eric Ludlam <zappo@gnu.org>
45
46 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
47 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
48 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
49 (eieio-unbound, eieio-default-superclass)
50 (eieio--define-field-accessors, method-static, method-before)
51 (method-primary, method-after, method-num-lists)
52 (method-generic-before, method-generic-primary)
53 (method-generic-after, method-num-slots)
54 (eieio-specialized-key-to-generic-key)
55 (eieio--check-type, class-v, class-p)
56 (eieio-class-name, define-obsolete-function-alias)
57 (eieio-class-parents-fast, eieio-class-children-fast)
58 (same-class-fast-p, class-constructor, generic-p)
59 (generic-primary-only-p, generic-primary-only-one-p)
60 (class-option-assoc, class-option, eieio-object-p)
61 (class-abstract-p, class-method-invocation-order)
62 (eieio-defclass-autoload-map, eieio-defclass-autoload)
63 (eieio-class-un-autoload, eieio-defclass)
64 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
65 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
66 (eieio--defgeneric-init-form, eieio-defgeneric-form)
67 (eieio-defgeneric-reset-generic-form)
68 (eieio-defgeneric-form-primary-only)
69 (eieio-defgeneric-reset-generic-form-primary-only)
70 (eieio-defgeneric-form-primary-only-one)
71 (eieio-defgeneric-reset-generic-form-primary-only-one)
72 (eieio-unbind-method-implementations)
73 (eieio--defmethod, eieio--typep)
74 (eieio-perform-slot-validation, eieio-validate-slot-value)
75 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
76 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
77 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
78 (eieio-slot-name-index, eieio-class-slot-name-index)
79 (eieio-set-defaults, eieio-initarg-to-attribute)
80 (eieio-attribute-to-initarg, eieio-c3-candidate)
81 (eieio-c3-merge-lists, eieio-class-precedence-c3)
82 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
83 (eieio-class-precedence-list, eieio-generic-call-methodname)
84 (eieio-generic-call-arglst, eieio-generic-call-key)
85 (eieio-generic-call-next-method-list)
86 (eieio-pre-method-execution-functions, eieio-generic-call)
87 (eieio-generic-call-primary-only, eieiomt-method-list)
88 (eieiomt-optimizing-obarray, eieiomt-install)
89 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
90 (eieio-generic-form, eieio-defmethod, make-obsolete)
91 (eieio-defgeneric, make-obsolete): Moved to eieio-core.el
92 (defclass): Remove `eval-and-compile' from macro.
93 (call-next-method, shared-initialize): Instead of using
94 `scoped-class' variable, use new eieio--scoped-class, and
95 eieio--with-scoped-class.
96 (initialize-instance): Rename local variable 'scoped-class' to
97 'this-class' to remove ambiguitity from old global.
98
99 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
100 eieio.el.
101 (eieio--scoped-class-stack): New variable
102 (eieio--scoped-class): New fcn
103 (eieio--with-scoped-class): New scoping macro.
104 (eieio-defclass): Use pushnew instead of add-to-list.
105 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
106 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
107 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
108 `scoped-class' variable, use new eieio--scoped-class, and
109 eieio--with-scoped-class.
110
111 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
112
113 2013-06-02 Tassilo Horn <tsdh@gnu.org>
114
115 * eshell/esh-ext.el (eshell-external-command): Pass args to
116 `eshell-find-interpreter'.
117 (eshell-find-interpreter): Add new second parameter ARGS.
118
119 * eshell/em-script.el (eshell-script-initialize): Add second arg
120 to the function added as MATCH to `eshell-interpreter-alist'
121
122 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
123 the function added as MATCH to `eshell-interpreter-alist'
124
125 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
126 (eshell-visual-options): New defcustom.
127 (eshell-escape-control-x): Adapt docstring.
128 (eshell-term-initialize): Test `eshell-visual-subcommands' and
129 `eshell-visual-options' in addition to `eshell-visual-commands'.
130 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
131
132 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
133
134 * progmodes/python.el (python-indent-block-enders): Add break,
135 continue and raise keywords.
136
137 2013-06-01 Glenn Morris <rgm@gnu.org>
138
139 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
140
141 Plain (f)boundp silences compilation warnings since Emacs 22.1.
142 * progmodes/cc-cmds.el (delete-forward-p):
143 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
144 * progmodes/cc-engine.el (buffer-syntactic-context):
145 * progmodes/cc-fonts.el (face-property-instance):
146 * progmodes/cc-mode.el (set-keymap-parents):
147 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
148 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
149 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
150 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
151 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
152
153 * progmodes/cc-vars.el (other): Emacs has this widget since
154 at least 21.1, so don't (re)define it.
155
156 * eshell/em-cmpl.el (eshell-cmpl-initialize):
157 Replace the obsolete alias pcomplete-arg-quote-list.
158
159 2013-06-01 Leo Liu <sdl.web@gmail.com>
160
161 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
162 punctuation syntax.
163 (inferior-octave-minimal-columns)
164 (inferior-octave-last-column-width): New variables.
165 (inferior-octave-track-window-width-change): New function.
166 (inferior-octave-mode): Adjust column width so that Octave output,
167 for example from 'ls', can fit into the window nicely.
168
169 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
170
171 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
172 Highlight expansions inside regexp literals.
173
174 2013-05-31 Glenn Morris <rgm@gnu.org>
175
176 * obsolete/sym-comp.el (symbol-complete):
177 Replace obsolete completion-annotate-function.
178
179 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
180
181 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
182
183 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New
184 function, checks if point is inside a literal that allows
185 expression expansion.
186 (ruby-syntax-propertize-expansion): Use it.
187 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
188 around the body.
189
190 2013-05-30 Juri Linkov <juri@jurta.org>
191
192 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
193 to "\M-si".
194 (isearch-invisible): New variable.
195 (isearch-forward): Doc fix.
196 (isearch-mode): Set `isearch-invisible'
197 to the value of `search-invisible'.
198 (isearch-toggle-case-fold): Doc fix.
199 (isearch-toggle-invisible): New command.
200 (isearch-query-replace): Let-bind `search-invisible'
201 to the value of `isearch-invisible'.
202 (isearch-search): Use `isearch-invisible' instead of
203 `search-invisible'. Let-bind `search-invisible'
204 to the value of `isearch-invisible'. (Bug#11378)
205
206 2013-05-30 Juri Linkov <juri@jurta.org>
207
208 * replace.el (perform-replace): Avoid `isearch-range-invisible'
209 call when `query-flag' is nil and `search-invisible' is non-nil.
210 (Bug#11746)
211
212 2013-05-30 Glenn Morris <rgm@gnu.org>
213
214 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
215
216 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
217 (cc-require): Suppress spurious "noruntime" warnings.
218 (cc-require-when-compile): Use fboundp, for sake of compiler.
219
220 * progmodes/cc-mode.el: Move load of cc-vars before that of
221 cc-langs (which in turn loads cc-vars), to quieten compiler.
222
223 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * paren.el: Simplify the code.
226 (show-paren-mode): Always start the timer.
227 (show-paren--idle-timer): Rename from show-paren-idle-timer.
228 (show-paren--overlay, show-paren--overlay-1): Rename from
229 show-paren-overlay and show-paren-overlay-1, and initialize to an
230 overlay rather than to nil.
231 (show-paren-function): Misc cleanup and simplifications.
232
233 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * paren.el (show-paren-data-function): New hook.
236 (show-paren--default): New function, extracted from show-paren-function.
237 (show-paren-function): Use show-paren-data-function.
238
239 2013-05-30 Glenn Morris <rgm@gnu.org>
240
241 * ielm.el (ielm-map, ielm-complete-symbol):
242 Use completion-at-point rather than obsolete functions.
243 (inferior-emacs-lisp-mode): Doc fix.
244 Set completion-at-point-functions, rather than
245 comint-dynamic-complete-functions.
246
247 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
248 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
249 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
250
251 * image.el (image-animated-p): Tweak definition.
252
253 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
254 (rlogin-process-connection-type): Tweak default. Add set-after.
255 (rlogin-host): Doc fix.
256 (rlogin): Tweak prompt.
257 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
258
259 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
260 * progmodes/tcl.el (inferior-tcl-mode-map):
261 Use completion-at-point rather than obsolete alias.
262
263 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
264
265 * minibuffer.el (read-file-name-completion-ignore-case):
266 Move before completion--in-region, for eager macro expansion.
267
268 2013-05-29 Juri Linkov <juri@jurta.org>
269
270 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
271 for total count of matching lines. Add `global-matches' for total
272 count of matches. Rename `matches' to `lines' for count of
273 matching lines. Add `matches' for count of matches.
274 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
275 to `prev-line' for line number of prev match endpt.
276 Increment `matches' for every match. Print the number of
277 matching lines in the header.
278 (occur-context-lines): Rename `lines' to `curr-line'.
279 Rename `prev-lines' to `prev-line'. (Bug#14017)
280
281 2013-05-29 Juri Linkov <juri@jurta.org>
282
283 * replace.el (perform-replace): Add `skip-read-only-count',
284 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
285 Increment them for corresponding conditions and report the number
286 of skipped occurrences in the final message. (Bug#11746)
287 (query-replace, query-replace-regexp, query-replace-regexp-eval)
288 (replace-string, replace-regexp): Doc fix.
289
290 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * emacs-lisp/trace.el (trace--read-args): Provide a default.
293
294 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
295 prog-mode-map.
296
297 2013-05-29 Leo Liu <sdl.web@gmail.com>
298
299 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
300 (octave-help): Small simplification.
301
302 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
303 off the highlight first.
304
305 2013-05-29 Glenn Morris <rgm@gnu.org>
306
307 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
308 Handle idlwave-last-system-routine-info-cons-cell being nil.
309
310 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
311 (idlwave-write-paths): Simplify via with-temp-buffer.
312
313 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
314 * emulation/cua-rect.el: Also load cua-base at run time.
315
316 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
317 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
318 (cperl-imenu-on-info): Require imenu.
319
320 2013-05-28 Alan Mackenzie <acm@muc.de>
321
322 Handle "capitalised keywords" correctly.
323 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
324
325 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
326
327 * eshell/em-unix.el: Added -r option to cp
328
329 2013-05-28 Glenn Morris <rgm@gnu.org>
330
331 * vc/vc-arch.el (vc-exec-after): Declare.
332 (vc-switches): Autoload.
333 * vc/vc-bzr.el: No need to require vc when compiling.
334 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
335 (vc-resynch-buffer, vc-dir-refresh): Declare.
336 (vc-setup-buffer, vc-switches): Autoload.
337 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
338 (vc-resynch-buffer): Declare.
339 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
340 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
341 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
342 (grep-read-regexp, grep-read-files, grep-expand-template)
343 (vc-dir-refresh): Declare.
344 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
345 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
346 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
347 * vc/vc-mtn.el (vc-exec-after): Declare.
348 (vc-switches): Autoload.
349 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
350 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
351 (vc-file-tree-walk): Declare.
352 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
353 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
354 (vc-tag-precondition, vc-rename-master): Autoload.
355 * vc/vc-svn.el (vc-exec-after): Declare.
356 (vc-switches, vc-setup-buffer): Autoload.
357 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
358 Autoload.
359 (vc-resynch-buffer): Declare.
360
361 * obsolete/fast-lock.el (byte-compile-warnings):
362 Don't warn about obsolete features in this obsolete file.
363
364 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
365 Move definition before use.
366
367 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
368 (dun-unix-verbs): Remove dun-zippy.
369 (dun-zippy): Remove function.
370
371 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
372
373 2013-05-27 Juri Linkov <juri@jurta.org>
374
375 * replace.el (replace-search): New function with code moved out
376 from `perform-replace'.
377 (replace-highlight, replace-dehighlight): Move function definitions
378 up closer to `replace-search'. (Bug#11746)
379
380 2013-05-27 Juri Linkov <juri@jurta.org>
381
382 * replace.el (perform-replace): Ignore invisible matches.
383 In addition to checking `query-replace-skip-read-only', also
384 filter out matches by calling `run-hook-with-args-until-failure'
385 on `isearch-filter-predicates', and also check `search-invisible'
386 for t or call `isearch-range-invisible'.
387 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
388
389 2013-05-27 Juri Linkov <juri@jurta.org>
390
391 * isearch.el (isearch-filter-predicates): Rename from
392 `isearch-filter-predicate'. Doc fix. (Bug#11378)
393 (isearch-message-prefix): Display text from the property
394 `isearch-message-prefix' of the currently active filters.
395 (isearch-search): Don't compare `isearch-filter-predicate' with
396 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
397 on `isearch-filter-predicates'. Also check `search-invisible' for t
398 or call `isearch-range-invisible'.
399 (isearch-filter-visible): Make obsolete.
400 (isearch-lazy-highlight-search):
401 Call `run-hook-with-args-until-failure' on
402 `isearch-filter-predicates' and use `isearch-range-invisible'.
403
404 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
405 `isearch-filter-predicates' instead of `funcall'ing
406 `isearch-filter-predicate'.
407 (Info-mode): Set `Info-isearch-filter' to
408 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
409
410 * dired-aux.el (dired-isearch-filter-predicate-orig):
411 Remove variable.
412 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
413 (dired-isearch-filenames-end): Add and remove
414 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
415 instead of changing the value of `isearch-filter-predicate'.
416 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
417 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
418 Put property `isearch-message-prefix' to "filename " on
419 `dired-isearch-filter-filenames'.
420
421 * wdired.el (wdired-change-to-wdired-mode):
422 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
423 locally instead of changing `isearch-filter-predicate'.
424 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
425
426 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
427
428 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
429 return the commit hash (Bug#14459). Also set the
430 `vc-git-detached' property.
431 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
432 (vc-git-mode-line-string): Use the same help-echo format whether
433 in detached mode or not, because we know the actual revision now.
434 When in detached mode, shorten the revision to 7 chars.
435
436 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * emacs-lisp/easy-mmode.el (define-minor-mode):
439 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
440 mode hook and provide a docstring.
441
442 2013-05-27 Alan Mackenzie <acm@muc.de>
443
444 Remove spurious syntax-table text properties inserted by C-y.
445 * progmodes/cc-mode.el (c-after-change): Also clear hard
446 syntax-table property with value nil.
447
448 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
449
450 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
451 when reading the events; the buffer layout shall not be changed.
452
453 2013-05-27 Leo Liu <sdl.web@gmail.com>
454
455 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
456 New variable.
457 (inferior-octave-directory-tracker): Automatically re-sync
458 default-directory.
459 (octave-help): Improve handling of 'See also'.
460
461 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * doc-view.el: Minor naming convention tweaks.
464 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
465
466 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
467 even if there's no `display' property yet (bug#14435).
468
469 2013-05-25 Eli Zaretskii <eliz@gnu.org>
470
471 * subr.el (unmsys--file-name): Rename from reveal-filename.
472
473 * Makefile.in (custom-deps, finder-data, autoloads)
474 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
475 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
476 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
477
478 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
481 error-completion on the first 2 args of condition-case (bug#14446).
482 Don't burp at EOB.
483
484 2013-05-25 Leo Liu <sdl.web@gmail.com>
485
486 * comint.el (comint-previous-matching-input): Do not flood the
487 *Messages* buffer with trivial messages.
488
489 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * progmodes/flymake.el (flymake-nop): Don't return a string.
492 (flymake-set-at): Fix typo.
493
494 * simple.el (read--expression): New function, extracted from
495 eval-expression. Set completion-at-point-functions (bug#14465).
496 (eval-expression, eval-minibuffer): Use it.
497
498 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
499
500 * progmodes/flymake.el (flymake-save-buffer-in-file)
501 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
502 (flymake-selected-frame, flymake-log, flymake-ins-after)
503 (flymake-set-at, flymake-get-buildfile-from-cache)
504 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
505 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
506 Refine the doc string.
507 (flymake-get-file-name-mode-and-masks): Reformat.
508 (flymake-get-real-file-name-function): Fix a minor bug.
509
510 2013-05-24 Juri Linkov <juri@jurta.org>
511
512 * progmodes/grep.el (grep-mode-font-lock-keywords):
513 Support =linenumber= format used by git-grep for lines with
514 function names. (Bug#13549)
515
516 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * progmodes/octave.el (octave-smie-rules): Return nil rather than
519 0 after a semi-colon; it works better for smie-auto-fill.
520 (octave--indent-new-comment-line): New function.
521 (octave-indent-new-comment-line): Use it (indirectly).
522 (octave-mode): Don't disable smie-auto-fill. Use add-function to
523 modify comment-line-break-function.
524
525 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
526 (smie-setup): Use add-function to set it.
527
528 2013-05-24 Sam Steingold <sds@gnu.org>
529
530 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
531 argument (before the `interactive' argument).
532
533 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * image-mode.el (image-mode-winprops): Add winprops to
536 image-mode-winprops-alist before running
537 image-mode-new-window-functions.
538 * doc-view.el (doc-view-new-window-function): Don't delay
539 doc-view-goto-page via timers (bug#14435).
540
541 2013-05-24 Tassilo Horn <tsdh@gnu.org>
542
543 * doc-view.el: Integrate with desktop.el. (Bug#14435)
544 (doc-view-desktop-save-buffer): New function.
545 (doc-view-restore-desktop-buffer): New function.
546 (desktop-buffer-mode-handlers):
547 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
548 handler.
549 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
550 `desktop-save-buffer' function.
551
552 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
553
554 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
555 (tramp-gvfs-file-name-handler): Raise a user error when
556 `tramp-gvfs-enabled' is nil.
557 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
558 Do not raise a user error when loading package. (Bug#14447)
559
560 * net/xesam.el: Move to obsolete/.
561
562 2013-05-24 Glenn Morris <rgm@gnu.org>
563
564 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
565
566 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
567
568 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
569 (Info-find-node, Man-getpage-in-background): Declare.
570
571 * mail/unrmail.el (unrmail):
572 Replace obsolete detect-coding-with-priority.
573
574 * net/socks.el (socks-split-string): Use this rather than split-string.
575 (socks-nslookup-host): Update for above change.
576 (dynamic-choice, s5-dynamic-choice-match)
577 (s5-dynamic-choice-match-inline, s5-widget-value-create):
578 Comment out unused code.
579
580 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
581 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
582 (gud-tooltip-echo-area): Make obsolete.
583 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
584
585 * progmodes/js.el (js--optimize-arglist): Declare.
586
587 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
588
589 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
590 (ediff-window-C): Declare.
591
592 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
593 Tweak requires to silence compiler.
594
595 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
596 (he-search-string, he-tried-table, he-expand-list)
597 (he-init-string, he-string-member, he-substitute-string)
598 (he-reset-string): Declare.
599
600 * obsolete/options.el (list-options): Use custom-variable-p,
601 rather than obsolete alias.
602
603 2013-05-23 Sam Steingold <sds@gnu.org>
604
605 * simple.el (shell-command-on-region): Pass the `replace' argument
606 down to `call-process-region' to comply with the doc as reported on
607 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
608
609 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * emacs-lisp/smie.el (smie-indent-forward-token)
612 (smie-indent-backward-token): Handle string tokens (bug#14381).
613
614 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
615
616 * ielm.el (ielm-menu): New menu.
617 (inferior-emacs-lisp-mode): Set comment-start.
618
619 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
620
621 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
622 Fix deactivate action.
623
624 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
625 Add cleveref macros.
626
627 * lisp/textmodes/reftex-parse.el
628 (reftex-locate-bibliography-files): Accept options for
629 bibliography commands.
630 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
631 Add addbibresource. Basic Biblatex support.
632
633 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
634
635 * net/tramp-gvfs.el (top):
636 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
637 when loading package. (Bug#14447)
638
639 2013-05-23 Glenn Morris <rgm@gnu.org>
640
641 * progmodes/js.el: No need to load comint when compiling.
642 (ring-insert, comint-send-string, comint-send-input)
643 (comint-last-input-end, ido-chop): Declare.
644
645 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
646 * vc/ediff-mult.el: Adjust requires.
647 (ediff-directories-internal, ediff-directory-revisions-internal)
648 (ediff-patch-file-internal): Declare.
649 * vc/ediff-ptch.el: Adjust requires.
650 (ediff-use-last-dir, ediff-buffers-internal): Declare.
651 (ediff-find-file): Autoload.
652 * vc/ediff-util.el: No need to load ediff when compiling.
653 (ediff-regions-internal): Declare.
654 * vc/ediff-wind.el: Adjust requires.
655 (ediff-compute-toolbar-width): Define when compiling.
656 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
657 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
658 (dired-get-filename, dired-get-marked-files)
659 (ediff-last-dir-patch, ediff-patch-default-directory)
660 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
661 (ediff-patch-buffer-internal): Declare.
662
663 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
664 (ispell-process, ispell-buffer-local-words, lm-summary)
665 (lm-section-start, lm-section-end): Declare.
666 (checkdoc-ispell-init): Simplify.
667
668 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
669 (he-string-member, he-reset-string, he-substitute-string): Declare.
670
671 * eshell/em-ls.el: Adjust requires.
672 (eshell-glob-regexp): Declare.
673 * eshell/em-tramp.el: Adjust requires.
674 (eshell-parse-command): Autoload.
675 * eshell/em-xtra.el: Adjust requires.
676 (eshell-parse-command): Autoload.
677 * eshell/esh-ext.el: Adjust requires.
678 (eshell-parse-command, eshell-close-handles): Autoload.
679 * eshell/esh-io.el: Adjust requires.
680 (eshell-output-filter): Autoload.
681 * eshell/esh-util.el: No need to load tramp when compiling.
682 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
683 Declare.
684 (eshell-parse-ange-ls): Require ange-ftp and tramp.
685 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
686 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
687 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
688 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
689 * eshell/esh-opt.el, eshell/esh-proc.el:
690 * eshell/esh-var.el: Adjust requires.
691 * eshell/eshell.el: Do not require esh-util twice.
692 (eshell-add-input-to-history): Declare.
693 (eshell-command): Check history module is active before using it.
694
695 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
696
697 2013-05-22 Leo Liu <sdl.web@gmail.com>
698
699 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
700
701 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
702
703 * autorevert.el (auto-revert-notify-add-watch)
704 (auto-revert-notify-handler): Add `attrib' for the inotify case,
705 it indicates changes in file modification time.
706
707 2013-05-22 Glenn Morris <rgm@gnu.org>
708
709 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
710 Always delete the autoloaded function from the noruntime and
711 unresolved functions lists.
712
713 * allout.el: No need to load epa, epg, overlay when compiling.
714 (epg-context-set-passphrase-callback, epg-list-keys)
715 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
716 (epg-key-user-id-list): Declare.
717
718 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
719 (viper-set-parsing-style-toggling-macro)
720 (viper-set-emacs-state-searchstyle-macros):
721 Use called-interactively-p on Emacs.
722 (viper-looking-back): Make it an obsolete alias. Update callers.
723 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
724 Use looking-back rather than viper-looking-back.
725 (viper-tmp-insert-at-eob, viper-enlarge-region)
726 (viper-read-string-with-history, viper-register-to-point)
727 (viper-append-to-register, viper-change-state-to-vi)
728 (viper-backward-char-carefully, viper-forward-char-carefully)
729 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
730 (viper-change-state-to-emacs): Declare.
731 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
732 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
733 * emulation/viper-mous.el: Do not load viper-cmd.
734 (viper-backward-char-carefully, viper-forward-char-carefully)
735 (viper-forward-word, viper-adjust-window): Declare.
736
737 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
738
739 * progmodes/idlw-help.el (idlwave-help-fontify):
740 Use called-interactively-p.
741
742 * term/w32console.el (w32-get-console-codepage)
743 (w32-get-console-output-codepage): Declare.
744
745 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
746 Remove unnecessary declarations.
747 (dframe-message): Doc fix.
748
749 * info.el (dframe-select-attached-frame, dframe-current-frame):
750 Declare.
751
752 * speedbar.el (speedbar-message): Make it an obsolete alias.
753 Update all callers.
754 (speedbar-with-attached-buffer)
755 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
756 (speedbar-with-writable): Use backquote.
757 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
758 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
759 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
760 rather than speedbar- aliases.
761 * mail/rmail.el: Load dframe rather than speedbar when compiling.
762 (speedbar-make-specialized-keymap, speedbar-insert-button)
763 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
764 (speedbar-do-function-pointer): Declare.
765 (rmail-speedbar-button, rmail-speedbar-find-file)
766 (rmail-speedbar-move-message):
767 Use dframe-with-attached-buffer rather than speedbar- alias.
768 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
769 (dframe-message, speedbar-make-specialized-keymap)
770 (speedbar-add-expansion-list, speedbar-mode-functions-list)
771 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
772 (speedbar-insert-button, dframe-select-attached-frame)
773 (dframe-maybee-jump-to-attached-frame)
774 (speedbar-change-initial-expansion-list)
775 (speedbar-previously-used-expansion-list-name): Declare.
776 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
777 Use dframe-message, dframe-with-attached-buffer rather than
778 speedbar- aliases.
779 (gud-sentinel): Silence compiler.
780 * progmodes/vhdl-mode.el (speedbar-refresh)
781 (speedbar-do-function-pointer, speedbar-add-supported-extension)
782 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
783 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
784 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
785 (speedbar-file-lists, speedbar-make-tag-line)
786 (speedbar-line-directory, speedbar-goto-this-file)
787 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
788 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
789 (speedbar-make-button, speedbar-reset-scanners)
790 (speedbar-files-item-info, speedbar-line-text)
791 (speedbar-find-file-in-frame, speedbar-set-timer)
792 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
793 (speedbar-with-writable): Do not (re)define it.
794 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
795 rather than speedbar- alias.
796
797 2013-05-21 Leo Liu <sdl.web@gmail.com>
798
799 * progmodes/octave.el (octave-mode-menu): Update and re-organize
800 menu items.
801 (octave-mode): Tweak fill-nobreak-predicate.
802 (inferior-octave-startup): Check process to avoid infinite loop.
803 (inferior-octave): Pop to buffer first to show abornmal process
804 exit information.
805
806 2013-05-21 Glenn Morris <rgm@gnu.org>
807
808 * printing.el (pr-menu-bar): Define when compiling.
809
810 2013-05-21 Leo Liu <sdl.web@gmail.com>
811
812 * progmodes/octave.el (octave-auto-fill): Remove.
813 (octave-indent-new-comment-line): Improve.
814 (octave-mode): Use auto fill mode through
815 comment-line-break-function and fill-nobreak-predicate
816 (octave-goto-function-definition): Support DEFUN_DLD.
817 (octave-beginning-of-defun): Small Tweak
818 (octave-help): Show parent directory.
819
820 2013-05-21 Glenn Morris <rgm@gnu.org>
821
822 * files.el (dired-unmark):
823 * progmodes/gud.el (gdb-input): Update declarations.
824
825 * calculator.el (electric, ehelp): No need to load when compiling.
826 (Electric-command-loop, electric-describe-mode): Declare.
827
828 * doc-view.el (doc-view-current-converter-processes): Move before use.
829
830 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
831 Move MODE-set-explicitly definition before use.
832
833 * international/mule-diag.el (mule-diag):
834 Don't use obsolete window-system-version.
835
836 * mail/feedmail.el (smtpmail): No need to load when compiling.
837 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
838
839 * mail/mail-utils.el (rfc822): No need to load when compiling.
840 (rfc822-addresses): Autoload it.
841 (mail-strip-quoted-names): Trivial simplification.
842
843 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
844 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
845
846 * net/snmp-mode.el (tempo): Don't duplicate requires.
847
848 * progmodes/prolog.el (info): No need to load when compiling.
849 (comint): Require before shell requires it.
850 (Info-goto-node): Autoload it.
851 (Info-follow-nearest-node): Declare.
852 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
853
854 * textmodes/artist.el (picture-mode-exit): Declare.
855
856 * textmodes/reftex-parse.el (reftex-parse-from-file):
857 Trivial rewrite so the compiler can parse it better.
858
859 2013-05-20 Leo Liu <sdl.web@gmail.com>
860
861 * progmodes/octave.el (octave-help-mode-map)
862 (octave-help-mode-finish-hook): New variables.
863 (octave-help-mode, octave-help-mode-finish): New functions.
864 (octave-help): Use octave-help-mode.
865
866 2013-05-20 Glenn Morris <rgm@gnu.org>
867
868 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
869
870 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
871
872 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
873 start at point, so that expansion starting right after opening
874 slash in a regexp is recognized.
875 (ruby-syntax-before-regexp-re): New defvar, extracted from
876 ruby-syntax-propertize-function. Since the value of this regexp
877 is looked up at runtime now, we should be able to turn
878 `ruby-syntax-methods-before-regexp' into a defcustom later.
879 (ruby-syntax-propertize-function): Split regexp matching into two
880 parts, for opening and closing slashes. That allows us to skip
881 over string interpolations and support multiline regexps.
882 Don't call `ruby-syntax-propertize-expansions', instead use another rule
883 for them, which calls `ruby-syntax-propertize-expansion'.
884 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
885 call to `ruby-syntax-propertize-function'.
886 (ruby-syntax-propertize-expansion): Extracted from
887 `ruby-syntax-propertize-expansions'. Handles one expansion.
888 (ruby-syntax-propertize-percent-literal): Leave point right after
889 the percent symbol, so that the expression expansion rule can
890 propertize the contents.
891 (ruby-syntax-propertize-heredoc): Leave point at bol following the
892 heredoc openers.
893 (ruby-syntax-propertize-expansions): Remove.
894
895 2013-05-18 Juri Linkov <juri@jurta.org>
896
897 * man.el (Man-default-man-entry): Remove `-' from the end
898 of the default value. (Bug#14400)
899
900 2013-05-18 Glenn Morris <rgm@gnu.org>
901
902 * comint.el (comint-password-prompt-regexp):
903 Allow "password for XXX" where XXX contains colons (eg https://...).
904
905 2013-05-18 Leo Liu <sdl.web@gmail.com>
906
907 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
908 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
909 (octave-source-directories): Don't check process.
910 (octave-source-directories, octave-find-definition): Doc fix.
911
912 2013-05-18 Glenn Morris <rgm@gnu.org>
913
914 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
915 Remove backspace/delete bindings. (Bug#14392)
916
917 * cus-dep.el (custom-make-dependencies): Sort the output.
918 (custom-versions-load-alist): Convert comment to doc.
919
920 2013-05-17 Leo Liu <sdl.web@gmail.com>
921
922 * newcomment.el (comment-search-backward): Stricter in finding
923 comment start. (Bug#14303)
924
925 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
926 (octave-comment-start-skip): Properly anchored.
927
928 2013-05-17 Leo Liu <sdl.web@gmail.com>
929
930 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
931 Clean up when turned off. (Bug#14395)
932 (smie--highlight-matching-block-overlay): No longer buffer-local.
933 (smie-highlight-matching-block): Adjust.
934
935 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
936
937 Doc string fix for "nanoseconds" (Bug#14406).
938 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
939 Fix doc string typo that had "nanoseconds" instead of "microseconds".
940
941 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
942
943 * calc/calc-units.el (math-extract-units): Preserve powers
944 of units.
945
946 2013-05-17 Leo Liu <sdl.web@gmail.com>
947
948 * subr.el (delete-consecutive-dups): New function.
949 * ido.el (ido-set-matches-1): Use it.
950 * progmodes/octave.el (inferior-octave-completion-table): Use it.
951 * ido.el (ido-remove-consecutive-dups): Remove.
952
953 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
956 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
957 regexp-opt's `words'.
958
959 2013-05-16 Leo Liu <sdl.web@gmail.com>
960
961 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
962 (smie--highlight-matching-block-overlay)
963 (smie--highlight-matching-block-lastpos)
964 (smie--highlight-matching-block-timer): New variables.
965 (smie-highlight-matching-block): New function.
966 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
967 (smie-setup): Conditionally enable smie-blink-matching-open.
968
969 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
970
971 Sync with upstream verilog-mode r840.
972 * progmodes/verilog-mode.el (verilog-mode-version)
973 (verilog-mode-release-date): Update.
974 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
975 (verilog-sig-tieoff): Fix string error on
976 AUTORESET with colon define, bug594. Reported by Andrew Hou.
977 (verilog-read-decls): Fix parameters confusing
978 AUTOINST interfaces, bug565. Reported by Leith Johnson.
979
980 2013-05-16 Eli Zaretskii <eliz@gnu.org>
981
982 * subr.el (reveal-filename): New function.
983
984 * loadup.el: Compute Emacs executable versions on MS-Windows,
985 where executables have the .exe extension. Add a hard link
986 emacs-XX.YY.ZZ.exe on MS-Windows.
987
988 * Makefile.in (XARGS_LIMIT): New variable.
989 (custom-deps, finder-data, autoloads)
990 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
991 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
992 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
993 (compile-main): Limit xargs according to $(XARGS_LIMIT).
994
995 2013-05-16 Leo Liu <sdl.web@gmail.com>
996
997 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
998 (octave-mode-menu, octave-mode-map): Remove its uses.
999
1000 2013-05-16 Reto Zimmermann <reto@gnu.org>
1001
1002 Sync with upstream vhdl mode v3.34.2.
1003 * progmodes/vhdl-mode.el: Use `push' throughout.
1004 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1005 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1006 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1007 (vhdl-actual-generic-name): New option to derive actual generic name.
1008 (vhdl-port-paste-signals): Replace formal by actual generics.
1009 (vhdl-beautify): New name for old group vhdl-align. Update users.
1010 (vhdl-beautify-options): New option.
1011 (vhdl-last-input-event): New compat alias. Use throughout.
1012 (vhdl-goto-line): Replace user level function `goto-line'.
1013 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1014 vhdl-fix-statement-buffer.
1015 (vhdl-create-mode-menu): Add some entries.
1016 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1017 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1018 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1019 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1020 to force statements on one line.
1021 (vhdl-remove-trailing-spaces-region):
1022 New, split from vhdl-remove-trailing-spaces.
1023 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1024 Respect vhdl-beautify-options.
1025 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1026 (vhdl-update-sensitivity-list): Not add with index if exists without.
1027 Not include array index with signal. Ignore keywords in comments.
1028 (vhdl-get-visible-signals): Regexp tweaks.
1029 (vhdl-template-component-inst): Handle empty library.
1030 (vhdl-template-type): Add template for 'enum' type.
1031 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1032 Use vhdl-replace-string.
1033 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1034 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1035 (vhdl-speedbar-initialize): Update for above name change.
1036 (vhdl-compose-wire-components): Fix in handling of constants.
1037 (vhdl-error-regexp-emacs-alist): New variable.
1038 (vhdl-error-regexp-add-emacs): New function;
1039 adds support for new compile.el (Emacs 22+)
1040 (vhdl-generate-makefile-1): Change target order for single lib. units.
1041 Allow use of absolute file names.
1042
1043 2013-05-16 Leo Liu <sdl.web@gmail.com>
1044
1045 * simple.el (prog-indent-sexp): Indent enclosing defun.
1046
1047 2013-05-15 Glenn Morris <rgm@gnu.org>
1048
1049 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1050 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1051 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1052 (whitespace-highlight): Move to whitespace group.
1053
1054 * comint.el (comint-source):
1055 * pcmpl-linux.el (pcmpl-linux):
1056 * shell.el (shell-faces):
1057 * eshell/esh-opt.el (eshell-opt):
1058 * international/ccl.el (ccl): Remove empty custom groups.
1059
1060 * completion.el (dynamic-completion-mode):
1061 * jit-lock.el (jit-lock-debug-mode):
1062 * minibuffer.el (completion-in-region-mode):
1063 * type-break.el (type-break-mode-line-message-mode)
1064 (type-break-query-mode):
1065 * emulation/tpu-edt.el (tpu-edt-mode):
1066 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1067 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1068 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1069
1070 * term/xterm.el (xterm): Change parent group to terminals.
1071
1072 * master.el (master): Remove empty custom group.
1073 (master-mode): Remove unused :group argument.
1074 * textmodes/refill.el (refill): Remove empty custom group.
1075 (refill-mode): Remove unused :group argument.
1076
1077 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1078
1079 * cus-dep.el: Provide a feature.
1080 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1081 Don't mistakenly ignore files whose basenames match a basename
1082 from preloaded-file-list (eg cedet/ede/simple.el).
1083 Add a fallback method for getting :group.
1084
1085 2013-05-15 Juri Linkov <juri@jurta.org>
1086
1087 * isearch.el (isearch-char-by-name): Rename from
1088 `isearch-insert-char-by-name'. Doc fix.
1089 (isearch-forward): Mention `isearch-char-by-name' in
1090 the docstring. (Bug#13348)
1091
1092 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1093 `exit-minibuffer' instead of
1094 `isearch-nonincremental-exit-minibuffer'.
1095 (isearch-edit-string): Remove mention of
1096 `isearch-nonincremental-exit-minibuffer' from docstring.
1097 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1098 (isearch-forward-exit-minibuffer)
1099 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1100
1101 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * loadup.el: Just use unversioned DOC.
1104
1105 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1106 literals as extending to EOB.
1107 (nxml-last-fontify-end): Remove unused variable.
1108 (nxml-after-change1): Use with-silent-modifications.
1109 (nxml-extend-after-change-region): Simplify.
1110 (nxml-extend-after-change-region1): Remove function.
1111 (nxml-after-change1): Don't adjust for dependent regions.
1112 (nxml-fontify-matcher): Simplify.
1113 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1114 (xmltok-add-dependent): Remove function.
1115 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1116 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1117 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1118 unclosed <[[, <?, comment, and other literals as extending to EOB.
1119 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1120 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1121 Remove functions.
1122 (rng-do-some-validation-1): Don't mark dependent regions.
1123 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1124 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1125 (nxml-clear-dependent-regions): Remove functions.
1126 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1127 (nxml-ensure-scan-up-to-date):
1128 Don't clear&mark dependent regions.
1129
1130 2013-05-15 Leo Liu <sdl.web@gmail.com>
1131
1132 * progmodes/octave.el (octave-goto-function-definition):
1133 Improve and fix callers.
1134
1135 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1138 the setter (bug#14387).
1139
1140 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1141 surrounding group (bug#14402).
1142
1143 2013-05-14 Juri Linkov <juri@jurta.org>
1144
1145 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1146 (Bug#14390)
1147
1148 2013-05-14 Glenn Morris <rgm@gnu.org>
1149
1150 * progmodes/f90.el (f90-imenu-generic-expression):
1151 Fix typo in 2013-05-08 change. (Bug#14402)
1152
1153 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1154
1155 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1156 Remove signals for which replies are never received.
1157
1158 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1159
1160 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1161 (gdb-handler-alist, gdb-handler-number): Remove variables.
1162 (gdb-handler-list): New variable.
1163 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1164 (gdb-pending-handler-p, gdb-handle-reply)
1165 (gdb-remove-all-pending-triggers): New functions.
1166 (gdb-discard-unordered-replies): New defcustom.
1167 (gdb-handler): New defstruct.
1168 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1169 instead of gdb-pending-triggers. Update docstring.
1170 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1171 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1172 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1173 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1174 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1175 (gdb-frame-handler): Pending triggers are now automatically managed.
1176 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1177 Remove argument.
1178 (gdb-input): Automatically handles pending triggers. Update docstring.
1179 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1180 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1181 Update comments.
1182 (gdb-done-or-error): Now use gdb-handle-reply.
1183
1184 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1185
1186 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1187 gdb-debug-log.
1188
1189 2013-05-14 Glenn Morris <rgm@gnu.org>
1190
1191 * subr.el (user-emacs-directory-warning): New option.
1192 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1193
1194 2013-05-14 Leo Liu <sdl.web@gmail.com>
1195
1196 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1197 during redisplay.
1198 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1199 (octave-font-lock-texinfo-comment): Fix invalid search bound
1200 error: wrong side of point.
1201
1202 2013-05-14 Glenn Morris <rgm@gnu.org>
1203
1204 * progmodes/flymake.el (flymake-xml-program): New option.
1205 (flymake-xml-init): Use it.
1206
1207 * term/xterm.el: Provide a feature.
1208
1209 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1210
1211 2013-05-13 Glenn Morris <rgm@gnu.org>
1212
1213 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1214 Add compat aliases as a hack workaround. (Bug#14384)
1215
1216 2013-05-13 Leo Liu <sdl.web@gmail.com>
1217
1218 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1219 ###, and %!.
1220 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1221 C-M-q.
1222 (octave-comment-start-skip): Include %!.
1223 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1224
1225 2013-05-12 Leo Liu <sdl.web@gmail.com>
1226
1227 * progmodes/octave.el (inferior-octave-startup): Store the value
1228 of __octave_srcdir__ for octave-source-directories.
1229 (inferior-octave-check-process): New function refactored out of
1230 inferior-octave-send-list-and-digest.
1231 (octave-source-directories)
1232 (octave-find-definition-filename-function): New variables.
1233 (octave-source-directories)
1234 (octave-find-definition-default-filename): New functions.
1235 (octave-find-definition): Improve to find functions implemented in C++.
1236
1237 2013-05-12 Glenn Morris <rgm@gnu.org>
1238
1239 * calendar/diary-lib.el (diary-outlook-format-1):
1240 Don't include dayname in the output. (Bug#14349)
1241
1242 2013-05-11 Glenn Morris <rgm@gnu.org>
1243
1244 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1245
1246 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1247 Treat cc-provide like provide.
1248
1249 2013-05-11 Kevin Ryde <user42@zip.com.au>
1250
1251 * cus-dep.el (custom-make-dependencies):
1252 Use generated-autoload-load-name for the sake of files such
1253 such cedet/semantic/bovine/c.el, where the base file name
1254 is not in load-path. (Bug#5277)
1255
1256 2013-05-11 Glenn Morris <rgm@gnu.org>
1257
1258 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1259 Provide features.
1260
1261 2013-05-11 Leo Liu <sdl.web@gmail.com>
1262
1263 * progmodes/octave.el (octave-indent-comment): Improve.
1264 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1265 (octave-eldoc-function-signatures, octave-eldoc-function):
1266 New functions.
1267 (octave-mode, inferior-octave-mode): Add eldoc support.
1268
1269 2013-05-11 Richard Stallman <rms@gnu.org>
1270
1271 * epa.el (epa-decrypt-file): Take output file name as argument
1272 and read it using `interactive'.
1273
1274 2013-05-11 Leo Liu <sdl.web@gmail.com>
1275
1276 * progmodes/octave.el (octave-beginning-of-line)
1277 (octave-end-of-line): Check before using up-list because it jumps
1278 out of more syntactic contructs since moving to smie.
1279 (octave-indent-comment): New function.
1280 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1281 (octave-begin-keywords, octave-end-keywords)
1282 (octave-reserved-words, octave-smie-bnf-table)
1283 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1284
1285 2013-05-11 Glenn Morris <rgm@gnu.org>
1286
1287 * faces.el (internal-face-x-get-resource):
1288 * frame.el (ns-display-monitor-attributes-list):
1289 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1290
1291 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1292
1293 * calc/calc-menu.el: Make it loadable in isolation.
1294
1295 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1296 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1297 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1298 (eudc-bbdb-query-internal): Require 'bbdb.
1299
1300 * lpr.el (lpr-headers-switches):
1301 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1302
1303 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1304
1305 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1306
1307 * term.el (term-set-escape-char): Make it idempotent.
1308
1309 2013-05-10 Leo Liu <sdl.web@gmail.com>
1310
1311 * progmodes/octave.el (inferior-octave-completion-table):
1312 No longer a function and all uses changed. Use cache to speed up
1313 completion due to bug#11906.
1314 (octave-beginning-of-defun): Re-write to be more general.
1315
1316 2013-05-10 Glenn Morris <rgm@gnu.org>
1317
1318 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1319
1320 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * comint.el (comint-redirect-send-command-to-process): Use :around
1323 rather than :override for comint-redirect-filter.
1324 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1325 Call it instead of comint-redirect-original-filter-function (which
1326 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1327
1328 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1329
1330 * frame.el (display-monitor-attributes-list): Add NS case.
1331 (ns-display-monitor-attributes-list): Declare.
1332
1333 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1334
1335 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1336
1337 2013-05-09 Glenn Morris <rgm@gnu.org>
1338
1339 * international/fontset.el (vertical-centering-font-regexp):
1340 Set standard-value.
1341
1342 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1343
1344 * bookmark.el (bookmark-search-delay):
1345 * cus-start.el (vertical-centering-font-regexp):
1346 * ps-mule.el (ps-mule-font-info-database-default):
1347 * ps-print.el (ps-default-fg, ps-default-bg):
1348 * type-break.el (type-break-good-break-interval):
1349 * whitespace.el (whitespace-indentation-regexp)
1350 (whitespace-space-after-tab-regexp):
1351 * emacs-lisp/testcover.el (testcover-1value-functions)
1352 (testcover-noreturn-functions, testcover-progn-functions)
1353 (testcover-prog1-functions):
1354 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1355 * eshell/em-glob.el (eshell-glob-translate-alist):
1356 * play/tetris.el (tetris-tty-colors):
1357 * progmodes/cpp.el (cpp-face-default-list):
1358 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1359 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1360 (idlwave-help-browser-generic-args):
1361 * progmodes/make-mode.el (makefile-special-targets-list):
1362 * progmodes/python.el (python-shell-virtualenv-path):
1363 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1364 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1365 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1366 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1367 * textmodes/reftex-vars.el (reftex-format-label-function):
1368 * textmodes/remember.el (remember-diary-file): Fix custom types.
1369
1370 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1371 Add :version.
1372
1373 2013-05-09 Leo Liu <sdl.web@gmail.com>
1374
1375 * progmodes/octave.el (inferior-octave-completion-at-point):
1376 Restore file completion. (Bug#14300)
1377 (inferior-octave-startup): Fix incorrect highlighting for the
1378 first prompt.
1379
1380 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * progmodes/ruby-mode.el: First cut at SMIE support.
1383 (ruby-use-smie): New var.
1384 (ruby-smie-grammar): New constant.
1385 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1386 (ruby-smie--forward-token, ruby-smie--backward-token)
1387 (ruby-smie-rules): New functions.
1388 (ruby-mode-variables): Setup SMIE if applicable.
1389
1390 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1391
1392 * simple.el (line-move-visual): Signal beginning/end of buffer
1393 only if vertical-motion moved less than it was requested. Avoids
1394 silly incorrect error messages when there are display strings with
1395 multiple newlines at EOL.
1396
1397 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1400 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1401 (prolog-char-quote-workaround):
1402 * progmodes/cperl-mode.el (cperl-under-as-char):
1403 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1404 Mark as obsolete.
1405 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1406 their declaration.
1407 (vhdl-mode-syntax-table-init): Remove.
1408
1409 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1410 last change.
1411
1412 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1413 syntax for "_".
1414 (ld-script-font-lock-keywords):
1415 Change regexps to use things like \_< and \_>.
1416
1417 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1418 Change all regexps to use things like \_< and \_>.
1419
1420 * progmodes/autoconf.el (autoconf-definition-regexp)
1421 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1422 Handle a _ with symbol syntax.
1423 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1424
1425 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1426 Consolidate declaration.
1427 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1428 the declaration.
1429 (ada-create-syntax-table): Remove.
1430 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1431 already has the right syntax nowadays.
1432 (ada-goto-next-word): Don't change the syntax of "_".
1433
1434 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1435 with-wrapper-hook.
1436
1437 2013-05-08 Sam Steingold <sds@gnu.org>
1438
1439 * thingatpt.el (thing-at-point): Accept optional second argument
1440 NO-PROPERTIES to strip the text properties from the return value.
1441 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1442 to `thing-at-point' instead of stripping the properties ourselves.
1443 Also, when `thing-at-point' fails to find a url, prepend "http://"
1444 to the filename at point on the assumption that the user is
1445 pointing at something like gnu.org/gnu.
1446
1447 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1450 * faces.el (crm-separator):
1451 Silence byte-compiler.
1452
1453 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1454 (tool-bar-map): Remove unneeded defvars.
1455
1456 2013-05-08 Leo Liu <sdl.web@gmail.com>
1457
1458 Re-work a fix for bug#10994 based on Le Wang's patch.
1459 * ido.el (ido-remove-consecutive-dups): New helper.
1460 (ido-completing-read): Use it.
1461 (ido-chop): Revert fix for bug#10994.
1462
1463 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1464
1465 * cus-edit.el (custom-save-variables):
1466 Pretty-print long values. (Bug#14187)
1467
1468 2013-05-08 Glenn Morris <rgm@gnu.org>
1469
1470 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1471 (m4-mode-syntax-table): Init in the defvar.
1472 (m4-mode-abbrev-table): Let define-derived-mode define it.
1473
1474 2013-05-08 Tom Tromey <tromey@redhat.com>
1475
1476 * progmodes/m4-mode.el (m4-mode-syntax-table):
1477 Do not treat "_" as word constituent. (Bug#14167)
1478
1479 2013-05-07 Glenn Morris <rgm@gnu.org>
1480
1481 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1482 Remove explicit eshell-isearch-cancel-map.
1483
1484 * progmodes/f90.el (f90-smart-end-names): New option.
1485 (f90-smart-end): Doc fix.
1486 (f90-end-block-optional-name): New constant.
1487 (f90-block-match): Respect f90-smart-end-names.
1488
1489 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1492 about implicit semi-colons (bug#14218).
1493
1494 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1495
1496 * frame.el (display-monitor-attributes-list)
1497 (frame-monitor-attributes): New functions.
1498
1499 2013-05-06 Leo Liu <sdl.web@gmail.com>
1500
1501 * progmodes/octave.el (octave-syntax-propertize-function): Change
1502 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1503 (octave-font-lock-keywords): Use octave-operator-regexp.
1504 (octave-completion-at-point): Rename from
1505 octave-completion-at-point-function.
1506 (inferior-octave-directory-tracker): Robustify.
1507 (octave-text-functions): Remove and fix its uses. No such things
1508 any more.
1509
1510 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * emacs-lisp/trace.el (trace--display-buffer): New function.
1513 (trace-make-advice): Use it.
1514
1515 2013-05-06 Juri Linkov <juri@jurta.org>
1516
1517 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1518 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1519 Doc fix.
1520 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1521 in the help string. (Bug#12985)
1522
1523 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1524
1525 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1526
1527 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * progmodes/perl-mode.el: Add support for here documents.
1530 (perl-syntax-propertize-function): Match here-doc markers.
1531 (perl-syntax-propertize-special-constructs): Find their end.
1532 (perl-imenu-generic-expression): Use [:alnum:].
1533
1534 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1535 (advice--add-function): Refresh the advice if already present
1536 (bug#14317).
1537
1538 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1539
1540 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1541
1542 2013-05-06 Glenn Morris <rgm@gnu.org>
1543
1544 * w32-fns.el (w32-charset-info-alist): Declare.
1545
1546 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1547 of its defcustom properties.
1548 (eshell-cmpl-initialize): No need to load pcomplete.
1549
1550 * generic-x.el: No need to require comint when compiling.
1551
1552 * net/eudc-export.el: Make it loadable without bbdb.
1553 (top-level): Use require rather than load-library.
1554 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1555 (eudc-batch-export-records-to-bbdb)
1556 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1557 Require bbdb.
1558
1559 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1562 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1563 some tweaks, instead.
1564
1565 2013-05-05 Leo Liu <sdl.web@gmail.com>
1566
1567 * progmodes/octave.el (octave-font-lock-keywords)
1568 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1569 (inferior-octave-send-list-and-digest): Improve error message.
1570 (octave-mode, inferior-octave-mode): Use setq-local.
1571 (octave-help): Set info-lookup-mode.
1572
1573 2013-05-05 Richard Stallman <rms@gnu.org>
1574
1575 * vc/compare-w.el (compare-windows-whitespace):
1576 Treat no-break space as whitespace.
1577
1578 * mail/rmailsum.el (rmail-summary-rmail-update):
1579 Detect empty summary and don't change selected message.
1580 (rmail-summary-goto-msg): Likewise.
1581
1582 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1583 Doc fixes, rename args.
1584
1585 2013-05-05 Alan Mackenzie <acm@muc.de>
1586
1587 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1588
1589 2013-05-05 Juri Linkov <juri@jurta.org>
1590
1591 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1592 to not add the length of the summary segment to the return value.
1593 (Bug#14125)
1594
1595 2013-05-05 Leo Liu <sdl.web@gmail.com>
1596
1597 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1598 (inferior-octave-output-filter): Remove.
1599 (octave-send-region, inferior-octave-startup): Fix callers.
1600 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1601 (octave-binary-file-extensions): New user variable.
1602 (octave-find-definition): Confirm if opening binary files.
1603 (octave-help-file): Use octave-find-definition to get the binary
1604 confirmation.
1605 (octave-help): Adjust for octave-help-file change.
1606
1607 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1610 Merge the two entries that handle function definitions.
1611 (pascal--syntax-propertize): New const.
1612 (pascal-mode): Use it. Use setq-local.
1613
1614 2013-05-04 Glenn Morris <rgm@gnu.org>
1615
1616 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1617 (diary-from-outlook): Respect diary-from-outlook-function.
1618
1619 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1622 Move the declaration from C.
1623 (read-minibuffer, eval-minibuffer): Move from C.
1624 (completion-setup-function): Avoid minibuffer-completion-contents.
1625
1626 2013-05-03 Leo Liu <sdl.web@gmail.com>
1627
1628 * progmodes/octave.el (octave-font-lock-keywords): Do not
1629 dehighlight 'end' in comments or strings.
1630 (octave-completing-read, octave-goto-function-definition):
1631 New helpers.
1632 (octave-help-buffer): New user variable.
1633 (octave-help-file, octave-help-function): New button types.
1634 (octave-help): New command and bind it to C-h ;.
1635 (octave-find-definition): New command and bind it to M-.
1636 (user-error): Alias to error if not defined.
1637
1638 2013-05-02 Leo Liu <sdl.web@gmail.com>
1639
1640 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1641 for \. (bug#14332)
1642 (octave-font-lock-keywords): Include [ and {.
1643
1644 2013-05-02 Leo Liu <sdl.web@gmail.com>
1645
1646 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1647 (inferior-octave): Remove calling comint-mode and return the buffer.
1648 (inferior-octave-startup): Cosmetic changes.
1649
1650 2013-05-02 Leo Liu <sdl.web@gmail.com>
1651
1652 * progmodes/octave.el (octave-syntax-propertize-function):
1653 Include the case when ' is at line beginning. (Bug#14336)
1654
1655 2013-05-02 Glenn Morris <rgm@gnu.org>
1656
1657 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1658 * desktop.el (vc-dir-mode): Just autoload it here.
1659
1660 2013-05-02 Alan Mackenzie <acm@muc.de>
1661
1662 Eliminate variable c-standard-font-lock-fontify-region-function.
1663 * progmodes/cc-mode.el
1664 (c-standard-font-lock-fontify-region-function): Remove.
1665 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1666
1667 2013-05-01 Leo Liu <sdl.web@gmail.com>
1668
1669 * progmodes/octave.el: Compatible with older emacs-24 releases.
1670 (inferior-octave-has-built-in-variables): Remove. Built-in
1671 variables were removed from Octave in 2007.
1672 (inferior-octave-startup): Fix uses.
1673 (comint-line-beginning-position): Remove compatibility code for
1674 emacs 21.
1675
1676 2013-05-01 Juri Linkov <juri@jurta.org>
1677
1678 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1679
1680 2013-05-01 Juri Linkov <juri@jurta.org>
1681
1682 * comint.el (comint-previous-matching-input): Don't print message
1683 "History item: %d" when `isearch-mode' is active.
1684 (comint-history-isearch-message): Print message "History item: %d"
1685 when `comint-input-ring-index' is not empty and this function is
1686 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1687
1688 2013-05-01 Leo Liu <sdl.web@gmail.com>
1689
1690 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1691 definitions. Use completion-at-point to insert keywords.
1692 (octave-abbrev-start): Remove.
1693 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1694
1695 2013-04-30 Leo Liu <sdl.web@gmail.com>
1696
1697 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1698 change.
1699
1700 2013-04-30 Alan Mackenzie <acm@muc.de>
1701
1702 Handle arbitrarily long C++ member initialisation lists.
1703 * progmodes/cc-engine.el (c-back-over-member-initializers):
1704 new function.
1705 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1706 (most) member init lists.
1707
1708 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1709
1710 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1711 variable.
1712
1713 2013-04-30 Leo Liu <sdl.web@gmail.com>
1714
1715 * progmodes/octave.el (octave-variables): Remove. No builtin
1716 variables any more. All converted to functions.
1717 (octave-font-lock-keywords, octave-completion-at-point-function):
1718 Fix uses.
1719 (octave-font-lock-texinfo-comment): New user variable.
1720 (octave-texinfo-font-lock-keywords): New variable for texinfo
1721 comment block.
1722 (octave-function-comment-block): New face.
1723 (octave-font-lock-texinfo-comment): New function.
1724 (octave-mode): Font lock texinfo comment block.
1725
1726 2013-04-29 Leo Liu <sdl.web@gmail.com>
1727
1728 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1729 indexing expression.
1730 (octave-continuation-string): Do not use \.
1731 (inferior-octave-complete-impossible): Remove.
1732 (inferior-octave-completion-table)
1733 (inferior-octave-completion-at-point): Remove its uses.
1734 (inferior-octave-startup): completion_matches was introduced to
1735 Octave in 1996 so safe to assume it.
1736 (octave-function-file-comment): Improve to follow how Octave does it.
1737 (octave-update-function-file-comment): Tweak.
1738
1739 2013-04-29 Leo Liu <sdl.web@gmail.com>
1740
1741 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1742 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1743 (octave-function-file-comment): Fix typo.
1744 (octave-sync-function-file-names): Use read-char-choice.
1745
1746 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1747
1748 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1749 to t for the less important warnings.
1750
1751 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1752
1753 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1754
1755 2013-04-27 Glenn Morris <rgm@gnu.org>
1756
1757 * vc/log-view.el (log-view-current-entry):
1758 Treat "---" separator lines as part of the following rev. (Bug#14169)
1759
1760 2013-04-27 Juri Linkov <juri@jurta.org>
1761
1762 * subr.el (read-number): Doc fix about using it by interactive
1763 code letter `n'. (Bug#14254)
1764
1765 2013-04-27 Juri Linkov <juri@jurta.org>
1766
1767 * desktop.el (desktop-auto-save-timeout): New option.
1768 (desktop-file-checksum): New variable.
1769 (desktop-save): Add optional arg `auto-save' and don't auto-save
1770 if nothing changed.
1771 (desktop-auto-save-timer): New variable.
1772 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1773 (after-init-hook): Call `desktop-auto-save-set-timer'.
1774 Suggested by Reuben Thomas <rrt@sc3d.org> in
1775 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1776
1777 2013-04-27 Leo Liu <sdl.web@gmail.com>
1778
1779 * progmodes/octave.el (octave-function-file-p)
1780 (octave-skip-comment-forward, octave-function-file-comment)
1781 (octave-update-function-file-comment): New functions.
1782 (octave-mode-map): Bind C-c ; to
1783 octave-update-function-file-comment.
1784 (octave-mode-menu): Add octave-update-function-file-comment.
1785 (octave-mode, inferior-octave-mode): Fix doc-string.
1786 (octave-insert-defun): Conform to Octave's coding convention.
1787 (Bug#14285)
1788
1789 * files.el (basic-save-buffer): Don't let errors in
1790 before-save-hook prevent saving buffer.
1791
1792 2013-04-20 Roland Winkler <winkler@gnu.org>
1793
1794 * faces.el (read-face-name): Use completing-read if arg multiple
1795 is nil.
1796
1797 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1798
1799 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1800 displayed, move point to after the totals line.
1801 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1802 for the details.
1803
1804 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1807 Add current dir to the load-path.
1808 (package-generate-autoloads): Don't rely on
1809 autoload-ensure-default-file.
1810
1811 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1812
1813 * textmodes/remember.el (remember-store-in-files): Document that
1814 the file name format is passed to `format-time-string'.
1815
1816 2013-04-26 Leo Liu <sdl.web@gmail.com>
1817
1818 * progmodes/octave.el (octave-sync-function-file-names): New function.
1819 (octave-mode): Use it in before-save-hook.
1820
1821 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1824 (bug#14274).
1825
1826 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1827 \n and comment, even if it's not an implicit ; (bug#14218).
1828
1829 2013-04-26 Glenn Morris <rgm@gnu.org>
1830
1831 * subr.el (read-number): Once more use `read' rather than
1832 `string-to-number', to trap non-numeric input. (Bug#14254)
1833
1834 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1835
1836 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1837 Use `syntax-multiline' text property consistently instead of
1838 `font-lock-multiline'. (Bug#14237)
1839
1840 2013-04-26 Glenn Morris <rgm@gnu.org>
1841
1842 * emacs-lisp/shadow.el (list-load-path-shadows):
1843 No longer necessary to check for duplicate simple.el, since
1844 2012-07-07 change to init_lread to not include installation lisp
1845 directories in load-path when running uninstalled. (Bug#14270)
1846
1847 2013-04-26 Leo Liu <sdl.web@gmail.com>
1848
1849 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1850 (octave-mode, inferior-octave-mode): Use setq-local.
1851 (octave-not-in-string-or-comment-p): Rename to
1852 octave-in-string-or-comment-p.
1853 (octave-in-comment-p, octave-in-string-p)
1854 (octave-in-string-or-comment-p): Replace defsubst with defun.
1855
1856 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1857
1858 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1859
1860 2013-04-25 Bastien Guerry <bzg@gnu.org>
1861
1862 * textmodes/remember.el (remember-data-directory)
1863 (remember-directory-file-name-format): Fix custom types.
1864
1865 2013-04-25 Leo Liu <sdl.web@gmail.com>
1866
1867 * progmodes/octave.el (octave-completion-at-point-function):
1868 Make use of inferior octave process.
1869 (octave-initialize-completions): Remove.
1870 (inferior-octave-completion-table): New function.
1871 (inferior-octave-completion-at-point): Use it.
1872 (octave-completion-alist): Remove.
1873
1874 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1877 (opascal-mode-syntax-table): New var.
1878 (opascal-literal-kind, opascal-is-literal-end)
1879 (opascal-literal-token-at): Rewrite.
1880 (opascal--literal-start-re, opascal-font-lock-keywords)
1881 (opascal--syntax-propertize): New constants.
1882 (opascal-font-lock-defaults): Adjust.
1883 (opascal-mode): Use them. Set comment-<foo> variables as well.
1884 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1885 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1886 (delphi-other-face, opascal-other-face): Remove face variables.
1887 (opascal-save-state): Remove macro.
1888 (opascal-fontifying-progress-step): Remove constant.
1889 (opascal--ignore-changes): Remove var.
1890 (opascal-set-token-property, opascal-parse-next-literal)
1891 (opascal-is-stable-literal, opascal-complete-literal)
1892 (opascal-is-literal-start, opascal-face-of)
1893 (opascal-parse-region, opascal-parse-region-until-stable)
1894 (opascal-fontify-region, opascal-after-change)
1895 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1896 (opascal-debug-parse-region, opascal-debug-parse-window)
1897 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1898 (opascal-debug-fontify-buffer): Remove.
1899 (opascal-debug-mode-map): Adjust accordingly.
1900
1901 2013-04-25 Leo Liu <sdl.web@gmail.com>
1902
1903 Merge octave-mod.el and octave-inf.el into octave.el with some
1904 cleanups.
1905 * progmodes/octave.el: New file renamed from octave-mod.el.
1906 * progmodes/octave-inf.el: Merged into octave.el.
1907 * progmodes/octave-mod.el: Renamed to octave.el.
1908
1909 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1910
1911 * textmodes/reftex-vars.el
1912 (reftex-label-ignored-macros-and-environments): New defcustom.
1913
1914 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1915
1916 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1919 (smie-indent-keyword): Improve the check to ensure that the next
1920 comment is really on the same line.
1921 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1922
1923 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1924 semi-colons if the line is not otherwise empty (bug#14218).
1925
1926 2013-04-25 Glenn Morris <rgm@gnu.org>
1927
1928 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1929
1930 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * progmodes/opascal.el (opascal-set-token-property): Rename from
1933 opascal-set-text-properties and only set `token' (bug#14134).
1934 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1935 (opascal-literal-text-properties): Remove.
1936 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1937 Adjust callers.
1938
1939 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1940
1941 * textmodes/remember.el (remember-handler-functions): Add an
1942 option for a new handler `remember-store-in-files'.
1943 (remember-data-directory, remember-directory-file-name-format):
1944 New options.
1945 (remember-store-in-files): New function to store remember notes
1946 as separate files within a directory.
1947
1948 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1949
1950 * progmodes/compile.el (compilation-next-error-function):
1951 Pass "formats" to compilation-find-file (bug#11777).
1952
1953 2013-04-24 Glenn Morris <rgm@gnu.org>
1954
1955 * vc/vc-bzr.el (vc-bzr-print-log):
1956 * vc/vc-hg.el (vc-hg-print-log):
1957 * vc/vc-svn.el (vc-svn-print-log):
1958 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1959
1960 * vc/vc-bzr.el (vc-bzr-print-log):
1961 * vc/vc-cvs.el (vc-cvs-print-log):
1962 * vc/vc-git.el (vc-git-print-log):
1963 * vc/vc-hg.el (vc-hg-print-log):
1964 * vc/vc-mtn.el (vc-mtn-print-log):
1965 * vc/vc-rcs.el (vc-rcs-print-log):
1966 * vc/vc-sccs.el (vc-sccs-print-log):
1967 * vc/vc-svn.el (vc-svn-print-log):
1968 * vc/vc.el (vc-print-log-internal): Doc fixes.
1969
1970 2013-04-23 Glenn Morris <rgm@gnu.org>
1971
1972 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1973 Remove venerable code attempting to avoid substitute-command-keys.
1974
1975 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1976
1977 * textmodes/reftex-vars.el (reftex-label-regexps):
1978 Call `reftex-compile-variables' after changes to this variable.
1979
1980 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1983 Use lexical-binding.
1984 (jit-lock-force-redisplay): Use markers, check buffer's continued
1985 existence and beware narrowed buffers.
1986 (jit-lock-fontify-now): Adjust call accordingly.
1987
1988 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1991 to avoid misleading the user.
1992
1993 2013-04-22 Leo Liu <sdl.web@gmail.com>
1994
1995 * info-look.el: Prefer latex2e.info. (Bug#14240)
1996
1997 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1998
1999 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2000
2001 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2002 * net/tramp.el (tramp-call-process): ... here
2003 (tramp-set-completion-function, tramp-parse-putty):
2004 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2005 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2006 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2007 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2008 (tramp-call-local-coding-command): Use `tramp-call-process'
2009 instead of `tramp-compat-call-process'.
2010
2011 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2012 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2013 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2014 (tramp-find-inline-compress): Improve traces.
2015 (tramp-maybe-send-script): Check for Perl binary.
2016 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2017
2018 2013-04-22 Daiki Ueno <ueno@gnu.org>
2019
2020 * epg.el (epg-context-pinentry-mode): New function.
2021 (epg-context-set-pinentry-mode): New function.
2022 (epg--start): Pass --pinentry-mode option to gpg command.
2023
2024 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2025
2026 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2027 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2028 `completion-at-point'. (Bug#13774)
2029
2030 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2031 default key binding for `describe-distribution' has been moved to
2032 `C-h C-o'. (Bug#13970)
2033
2034 2013-04-21 Glenn Morris <rgm@gnu.org>
2035
2036 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2037 Add doc strings.
2038 (vc-print-log): Clarify interactive prompt.
2039
2040 2013-04-20 Glenn Morris <rgm@gnu.org>
2041
2042 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2043 No longer include timestamp etc information.
2044
2045 2013-04-20 Roland Winkler <winkler@gnu.org>
2046
2047 * faces.el (read-face-name): Bug fix, return just one face if arg
2048 multiple is nil. (Bug#14209)
2049
2050 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2053 (remove-function): Autoload.
2054
2055 * comint.el (comint-redirect-original-filter-function): Remove.
2056 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2057 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
2058 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2059 * progmodes/prolog.el (prolog-consult-compile):
2060 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2061 Use add/remove-function instead.
2062 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2063 (gud-tooltip-process-output, gud-tooltip-tips):
2064 Use add/remove-function instead.
2065 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2066 (scheme-interaction-mode, exit-scheme-interaction-mode):
2067 Use add/remove-function instead.
2068
2069 * vc/vc-dispatcher.el: Use lexical-binding.
2070 (vc--process-sentinel): Rename from vc-process-sentinel.
2071 Change last arg to be the code to run. Don't use vc-previous-sentinel
2072 and vc-sentinel-commands any more.
2073 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2074 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2075
2076 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2077
2078 * progmodes/sh-script.el (sh-imenu-generic-expression):
2079 Handle function names with a single character. (Bug#14111)
2080
2081 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2082
2083 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2084 for subroutines defined in an eval (bug#14182).
2085
2086 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2087
2088 * bookmark.el (bookmark-completing-read): Improve handling of empty
2089 string (bug#14176).
2090
2091 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2094
2095 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2096
2097 New faster Imenu implementation (bug#14058).
2098 * progmodes/python.el:
2099 (python-imenu-prev-index-position):
2100 (python-imenu-format-item-label-function)
2101 (python-imenu-format-parent-item-label-function)
2102 (python-imenu-format-parent-item-jump-label-function):
2103 New vars.
2104 (python-imenu-format-item-label)
2105 (python-imenu-format-parent-item-label)
2106 (python-imenu-format-parent-item-jump-label)
2107 (python-imenu--put-parent, python-imenu--build-tree)
2108 (python-imenu-create-index, python-imenu-create-flat-index)
2109 (python-util-popn): New functions.
2110 (python-mode): Set imenu-create-index-function to
2111 python-imenu-create-index.
2112
2113 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * winner.el (winner-active-region): Use region-active-p, activate-mark
2116 and deactivate-mark (bug#14225).
2117
2118 * simple.el (deactivate-mark): Don't inline it.
2119
2120 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2121
2122 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2123
2124 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2125
2126 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2127 file extensions from the archive-mode entry in order to prefer
2128 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2129
2130 2013-04-18 Leo Liu <sdl.web@gmail.com>
2131
2132 * bindings.el (help-event-list): Add ?\?.
2133
2134 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * subr.el (with-wrapper-hook): Declare obsolete.
2137 * simple.el (filter-buffer-substring-function): New hook.
2138 (filter-buffer-substring): Use it.
2139 (filter-buffer-substring-functions): Mark obsolete.
2140 * minibuffer.el (completion-in-region-function): New hook.
2141 (completion-in-region): Use it.
2142 (completion-in-region-functions): Mark obsolete.
2143 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2144 * abbrev.el (abbrev-expand-function): New hook.
2145 (expand-abbrev): Use it.
2146 (abbrev-expand-functions): Mark obsolete.
2147 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2148 and :filter-return.
2149
2150 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2151
2152 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2153 and do not care about match data.
2154
2155 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2158 completion tables when completing error conditions and
2159 `declare' arguments.
2160 (lisp-complete-symbol, field-complete): Mark as obsolete.
2161 (check-parens): Unmatched parens are user errors.
2162 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2163
2164 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2165
2166 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2167 command changed buffer (ie. `flyspell-pre-buffer' is not current
2168 buffer), which prevents making decisions based on invalid value of
2169 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2170 cause an error when `flyspell-pre-point' was nil after switching
2171 buffers.
2172 (flyspell-post-command-hook): No longer needs to change buffers when
2173 checking pre-word. While at it remove unnecessary progn.
2174
2175 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2176
2177 * textmodes/ispell.el (ispell-add-per-file-word-list):
2178 Fix `flyspell-correct-word-before-point' error when accepting
2179 words and `coment-padding' is an integer by using
2180 `comment-normalize-vars' (Bug #14214).
2181
2182 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2183
2184 New defun movement commands.
2185 * progmodes/python.el (python-nav--syntactically)
2186 (python-nav--forward-defun, python-nav-backward-defun)
2187 (python-nav-forward-defun): New functions.
2188
2189 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2190
2191 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2192 (python-syntax-context): Use named compiler-macro for backwards
2193 compatibility with Emacs 24.x.
2194
2195 2013-04-17 Leo Liu <sdl.web@gmail.com>
2196
2197 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2198 octave-hide-process-buffer.
2199
2200 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2203 (bug#14216).
2204
2205 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2206
2207 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2208 Fix adjustment of offset when receiving incomplete responses from GDB
2209 (bug#14129).
2210
2211 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2214 python-mode-abbrev-table.
2215 (python-skeleton-define): Adjust accordingly.
2216 (python-mode-abbrev-table): New table that inherits from it so that
2217 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2218
2219 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2220 (abbrev-symbol): Use it.
2221 (abbrev--before-point): Use it since we already handle inheritance.
2222
2223 2013-04-16 Leo Liu <sdl.web@gmail.com>
2224
2225 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2226 binding to info-lookup-symbol.
2227
2228 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2229
2230 * minibuffer.el (completion--twq-all):
2231 * term/ns-win.el (ns-initialize-window-system):
2232 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2233
2234 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2237 global bindings.
2238
2239 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2240
2241 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2242
2243 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2244 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2245 to nil.
2246 (ruby-end-of-defun): Remove the unused arg, change the docstring
2247 to reflect that this function is only used as the value of
2248 `end-of-defun-function'.
2249 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2250 to reflect an earlier change that beginning/end-of-defun functions
2251 jump between methods in a class definition, as well as top-level
2252 functions.
2253
2254 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * minibuffer.el (minibuffer-complete): Don't just scroll
2257 a *Completions* that's been iconified.
2258 (minibuffer-force-complete): Make sure repetitions do cycle when going
2259 through completion-in-region -> minibuffer-complete.
2260
2261 2013-04-15 Alan Mackenzie <acm@muc.de>
2262
2263 Correct the placement of c-cpp-delimiters when there're #s not at
2264 col 0.
2265
2266 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2267 place a submatch around the #.
2268 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2269 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2270 on the #, not BOL.
2271
2272 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2275 (advice--member-p): New arg `name'.
2276 (advice--add-function, advice-member-p): Use it (bug#14202).
2277
2278 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2279
2280 Reformulate java imenu-generic-expression.
2281 The old expression contained ill formed regexps.
2282
2283 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2284 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2285 (cc-imenu-java-method-arg-regexp): New defconsts.
2286 (cc-imenu-java-build-type-args-regex): New defun.
2287 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2288 handling of spaces in the regexp.
2289
2290 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2291
2292 * textmodes/ispell.el (ispell-command-loop): Remove
2293 flyspell highlight of a word when ispell accepts it (bug #14178).
2294
2295 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2298 uses code from the previous `ange-ftp-run-real-handler'.
2299 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2300 only in case that function exist. This is needed for proper
2301 unloading of Tramp.
2302
2303 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2304
2305 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2306
2307 * textmodes/reftex.el (reftex-compile-variables): Use it.
2308
2309 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * files.el (normal-mode): Only use default major-mode if no other mode
2312 was specified.
2313
2314 * emacs-lisp/trace.el (trace-values): New function.
2315
2316 * files.el: Allow : in local variables (bug#14089).
2317 (hack-local-variable-regexp): New var.
2318 (hack-local-variables-prop-line, hack-local-variables): Use it.
2319
2320 2013-04-13 Roland Winkler <winkler@gnu.org>
2321
2322 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2323 data before it gets modified by bibtex-beginning-of-entry.
2324
2325 2013-04-13 Roland Winkler <winkler@gnu.org>
2326
2327 * textmodes/bibtex.el (bibtex-url): Doc fix.
2328
2329 2013-04-13 Roland Winkler <winkler@gnu.org>
2330
2331 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2332 does not visit a BibTeX file, exclude it from the list of buffers
2333 returned by bibtex-initialize.
2334
2335 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2336
2337 * window.el (split-window): Remove interactive form, since as a
2338 command this function is a special case of split-window-below.
2339 Correct doc string.
2340
2341 2013-04-12 Roland Winkler <winkler@gnu.org>
2342
2343 * faces.el (read-face-name): Do not override value of arg default.
2344 Allow single faces and strings as default values. Remove those
2345 elements from return value that are not faces.
2346 (describe-face): Simplify.
2347 (face-at-point): New optional args thing and multiple so that this
2348 function can provide the same functionality previously provided by
2349 read-face-name.
2350 (make-face-bold, make-face-unbold, make-face-italic)
2351 (make-face-unitalic, make-face-bold-italic, invert-face)
2352 (modify-face, read-face-and-attribute): Use face-at-point.
2353
2354 * cus-edit.el (customize-face, customize-face-other-window)
2355 * cus-theme.el (custom-theme-add-face)
2356 * face-remap.el (buffer-face-set)
2357 * facemenu.el (facemenu-set-face): Use face-at-point.
2358
2359 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2360
2361 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2362
2363 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2364
2365 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2366 off leading { and trailing } from field values.
2367
2368 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * emacs-lisp/timer.el (timer--check): New function.
2371 (timer--time, timer-set-function, timer-event-handler): Use it.
2372 (timer-set-idle-time): Simplify.
2373 (timer--activate): CSE.
2374 (timer-event-handler): Give more info in error message.
2375 (internal-timer-start-idle): New function, moved from C.
2376
2377 * mpc.el (mpc-proc): Add `restart' argument.
2378 (mpc-proc-cmd): Use it.
2379 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2380 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2381 less often.
2382
2383 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2384
2385 * progmodes/sh-script.el: Implement `sh-mode' own
2386 `add-log-current-defun-function' (bug#14112).
2387 (sh-current-defun-name): New function.
2388 (sh-mode): Use the function.
2389
2390 2013-04-09 Bastien Guerry <bzg@gnu.org>
2391
2392 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2393
2394 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2397
2398 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2399 timer (bug#14156).
2400
2401 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2402
2403 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2404 declaration.
2405
2406 2013-04-07 Leo Liu <sdl.web@gmail.com>
2407
2408 * pcmpl-x.el: New file.
2409
2410 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2411
2412 Do not set x-display-name until X connection is established.
2413 This is needed to prevent from weird situation described at
2414 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2415 * frame.el (make-frame): Set x-display-name after call to
2416 window system initialization function, not before.
2417 * term/x-win.el (x-initialize-window-system): Add optional
2418 display argument and use it.
2419 * term/w32-win.el (w32-initialize-window-system):
2420 * term/ns-win.el (ns-initialize-window-system):
2421 * term/pc-win.el (msdos-initialize-window-system):
2422 Add compatible optional display argument.
2423
2424 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2425
2426 * files.el (normal-backup-enable-predicate): On MS-Windows and
2427 MS-DOS compare truenames of temporary-file-directory and of the
2428 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2429 don't fail comparison by compare-strings. Also, compare file
2430 names case-insensitively on MS-Windows and MS-DOS.
2431
2432 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2435 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2436
2437 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2438
2439 * whitespace.el (whitespace-color-on, whitespace-color-off):
2440 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2441
2442 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2443
2444 * ispell.el (ispell-set-spellchecker-params):
2445 Really set `ispell-args' for all equivs.
2446
2447 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * ido.el (ido-completions): Use extra elements of ido-decorations
2450 (bug#14143).
2451 (ido-decorations): Update docstring.
2452
2453 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2454
2455 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2456 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2457 nil during initialization, in order not to miss changes since the
2458 file was opened. (Bug#14140)
2459
2460 2013-04-05 Leo Liu <sdl.web@gmail.com>
2461
2462 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2463
2464 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2465
2466 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2467
2468 2013-04-04 Glenn Morris <rgm@gnu.org>
2469
2470 * electric.el (electric-pair-inhibit-predicate): Add :version.
2471
2472 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2475 when a package is required several times (bug#14082).
2476
2477 2013-04-04 Roland Winkler <winkler@gnu.org>
2478
2479 * faces.el (read-face-name): Behave as promised by the docstring.
2480 Assume that arg default is a list of faces.
2481 (describe-face): Call read-face-name with list of default faces.
2482
2483 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2484
2485 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2486 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2487 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2488 the header.
2489 (bookmark-exit-hook-internal): Save even if list is empty.
2490
2491 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2492
2493 * emacs-lisp/package.el (package-pinned-packages): New var.
2494 (package--add-to-archive-contents): Obey it (bug#14118).
2495
2496 2013-04-03 Alan Mackenzie <acm@muc.de>
2497
2498 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2499 Also adapt to the new values of element 7 of a parse state.
2500
2501 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2502 parameter `not-in-delimiter'. Handle being inside comment opener.
2503 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2504 character in case we're typing a '*' after a '/'.
2505 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2506 instead by passing the parameter to c-state-pp-to-literal.
2507
2508 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2509 for elt. 7 of a parse state.
2510
2511 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2512
2513 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2514 * international/latin1-disp.el, international/mule-util.el:
2515 * language/cyril-util.el, language/european.el, language/ind-util.el:
2516 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2517 * language/tibetan.el, language/viet-util.el:
2518 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2519
2520 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2523 (electric-pair-post-self-insert-function): Use it.
2524 (electric-pair-default-inhibit): New function, extracted from
2525 electric-pair-post-self-insert-function.
2526
2527 2013-03-31 Roland Winkler <winkler@gnu.org>
2528
2529 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2530
2531 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2534
2535 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2536
2537 Un-indent after "pass" and "return" statements (Bug#13888)
2538 * progmodes/python.el (python-indent-block-enders): New var.
2539 (python-indent-calculate-indentation): Use it.
2540
2541 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2542
2543 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2544 defun. Defining it as defalias could introduce too eager
2545 byte-compiler optimization. (Bug#14030)
2546
2547 2013-03-30 Chong Yidong <cyd@gnu.org>
2548
2549 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2550
2551 2013-03-30 Leo Liu <sdl.web@gmail.com>
2552
2553 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2554 (kmacro-execute-from-register): Pass the keyboard macro to
2555 kmacro-call-macro or repeating won't work correctly.
2556
2557 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2558
2559 * progmodes/subword.el: Back to using `forward-symbol'.
2560
2561 * subr.el (forward-whitespace, forward-symbol)
2562 (forward-same-syntax): Move from thingatpt.el.
2563
2564 2013-03-29 Leo Liu <sdl.web@gmail.com>
2565
2566 * kmacro.el (kmacro-to-register): New command.
2567 (kmacro-execute-from-register): New function.
2568 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2569
2570 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * mpc.el: Use defvar-local and setq-local.
2573 (mpc--proc-connect): Connection failures are not bugs.
2574 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2575 (mpc-volume-map): Bind to the up-events.
2576
2577 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2578
2579 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2580 instead of `forward-symbol'.
2581
2582 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2585 (edebug--recursive-edit): Use it.
2586 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2587 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2588
2589 2013-03-28 Leo Liu <sdl.web@gmail.com>
2590
2591 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2592
2593 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2594
2595 * facemenu.el (list-colors-callback): New defvar.
2596 (list-colors-redisplay): New function.
2597 (list-colors-display): Install list-colors-redisplay as the
2598 revert-buffer-function. (Bug#14063)
2599
2600 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2603 and suffixes don't overlap (bug#14061).
2604
2605 * case-table.el: Use lexical-binding.
2606 (case-table-get-table): New function.
2607 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2608
2609 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2610
2611 * progmodes/subword.el: Add `superword-mode' to do word motion
2612 over symbol_words (parallels and leverages `subword-mode' which
2613 does word motion inside MixedCaseWords).
2614
2615 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2616
2617 * eshell/em-unix.el: Move su and sudo to...
2618 * eshell/em-tramp.el: ...Eshell tramp module.
2619
2620 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2623 Change return value to be a sexp. Delay `get-buffer' to after
2624 restoring the desktop (bug#13951).
2625
2626 2013-03-26 Leo Liu <sdl.web@gmail.com>
2627
2628 * register.el: Move semantic tag handling back to
2629 cedet/semantic/senator.el. (Bug#14052)
2630
2631 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2634 into the prompt either (bug#13963).
2635
2636 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2639 part of "(error-foo)".
2640
2641 2013-03-24 Juri Linkov <juri@jurta.org>
2642
2643 * replace.el (list-matching-lines-prefix-face): New defcustom.
2644 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2645 `occur-engine' if `face-differs-from-default-p' returns t.
2646 (occur-engine): Add `,' inside backquote construct to evaluate
2647 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2648 Pass `prefix-face' to the functions `occur-context-lines' and
2649 `occur-engine-add-prefix'.
2650 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2651 `prefix-face' and propertize the prefix with `prefix-face'.
2652 (Bug#14017)
2653
2654 2013-03-24 Leo Liu <sdl.web@gmail.com>
2655
2656 * nxml/rng-valid.el (rng-validate-while-idle)
2657 (rng-validate-quick-while-idle): Guard against deleted buffer.
2658 (Bug#13999)
2659
2660 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2661 is the last entry in kill-buffer-hook.
2662
2663 * files.el (kill-buffer-hook): Doc fix.
2664
2665 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2666
2667 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2668 Make it safe-local.
2669
2670 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2671
2672 2013-03-23 Leo Liu <sdl.web@gmail.com>
2673
2674 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2675 Remove.
2676
2677 * nxml/rng-valid.el (rng-validate-mode)
2678 (rng-after-change-function, rng-do-some-validation):
2679 * nxml/rng-maint.el (rng-validate-buffer):
2680 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2681 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2682 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2683 (nxml-extend-after-change-region): Use with-silent-modifications.
2684
2685 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2686 timer-idle-list.
2687
2688 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2689 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2690 timer-idle-list. (Bug#13999)
2691
2692 2013-03-23 Juri Linkov <juri@jurta.org>
2693
2694 * info.el (info-index-match): New face.
2695 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2696 main pattern and add text properties with the new face to matches
2697 in index entries relative to the beginning of the index entry.
2698 (Bug#14015)
2699
2700 2013-03-21 Eric Ludlam <zappo@gnu.org>
2701
2702 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2703 Inhibit read only while inserting objects.
2704
2705 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2706
2707 * progmodes/cfengine.el: Update docs to mention
2708 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2709 symbol motion. Remove "_" from the word syntax.
2710
2711 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2712
2713 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2714 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2715
2716 2013-03-20 Juri Linkov <juri@jurta.org>
2717
2718 * info.el (Info-next-reference-or-link)
2719 (Info-prev-reference-or-link): New functions.
2720 (Info-next-reference, Info-prev-reference): Use them.
2721 (Info-try-follow-nearest-node): Handle footnote navigation.
2722 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2723
2724 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2727 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2728
2729 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2730
2731 Suppress unnecessary non-ASCII chatter during build process.
2732 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2733 (batch-skkdic-convert): Suppress most of the chatter.
2734 It's not needed so much now that machines are faster,
2735 and its non-ASCII component was confusing; see Dmitry Gutov in
2736 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2737
2738 2013-03-20 Leo Liu <sdl.web@gmail.com>
2739
2740 * ido.el (ido-chop): Fix bug#10994.
2741
2742 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2743
2744 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2745 Remove vars.
2746 (whitespace-color-on, whitespace-color-off):
2747 Use `font-lock-fontify-buffer' (Bug#13817).
2748
2749 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2752 remapping in mode-line.
2753 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2754
2755 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2756
2757 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2758 value for `whitespace-line' face (Bug#13875).
2759 (whitespace-font-lock-keywords): Change description.
2760 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2761 the constructed keywords instead.
2762 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2763
2764 2013-03-19 Leo Liu <sdl.web@gmail.com>
2765
2766 * progmodes/compile.el (compilation-display-error): New command.
2767 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2768 C-o. (Bug#13992)
2769
2770 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2771
2772 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2773
2774 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2775
2776 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2777
2778 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2781
2782 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2783 * net/tramp-gvfs.el (top):
2784 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2785 (tramp-handle-shell-command): Use it.
2786 (tramp-dissect-file-name): Raise an error when hostname is a
2787 method name, and neither method nor user is specified.
2788
2789 * net/trampver.el: Update release number.
2790
2791 2013-03-18 Leo Liu <sdl.web@gmail.com>
2792
2793 Make sure eldoc can be turned off properly.
2794 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2795 eldoc-mode.
2796 (eldoc-display-message-p): Revert last change.
2797 (eldoc-display-message-no-interference-p)
2798 (eldoc-print-current-symbol-info): Tweak.
2799
2800 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2801
2802 * doc-view.el (doc-view-new-window-function): Check the new window
2803 overlay's display property instead the char property of the
2804 buffer's first char. Use `with-selected-window' instead of
2805 `save-window-excursion' with `select-window'.
2806 (doc-view-document->bitmap): Check the current doc-view overlay's
2807 display property instead the char property of the buffer's first char.
2808
2809 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2810
2811 Automate the build of ja-dic.el (Bug#13984).
2812 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2813 from the input, rather than assume that it's been done for us by the
2814 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2815 the current date into a ja-dic.el comment, as that complicates
2816 regression testing.
2817
2818 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * whitespace.el: Fix double evaluation.
2821 (whitespace-space, whitespace-hspace, whitespace-tab)
2822 (whitespace-newline, whitespace-trailing, whitespace-line)
2823 (whitespace-space-before-tab, whitespace-indentation)
2824 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2825 obsolete defvars.
2826 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2827 (whitespace-color-on): Use a single font-lock-add-keywords call.
2828 Fix double-evaluation of face variables.
2829
2830 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2831
2832 * net/tramp-adb.el (tramp-adb-parse-device-names):
2833 Use `start-process' instead of `call-process'. Otherwise, the
2834 function might be blocked under MS Windows. (Bug#13299)
2835
2836 2013-03-17 Leo Liu <sdl.web@gmail.com>
2837
2838 Extend eldoc to display info in the mode-line. (Bug#13978)
2839 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2840 (eldoc-mode-line-string): New variable.
2841 (eldoc-minibuffer-message): New function.
2842 (eldoc-message-function): New variable.
2843 (eldoc-message): Use it.
2844 (eldoc-display-message-p)
2845 (eldoc-display-message-no-interference-p):
2846 Support eldoc-post-insert-mode.
2847
2848 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2849 (eval-expression): Run it.
2850
2851 2013-03-17 Roland Winkler <winkler@gnu.org>
2852
2853 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2854 strings in the list of return values.
2855
2856 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2857
2858 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2859 radix before checking for HMS forms.
2860
2861 2013-03-16 Leo Liu <sdl.web@gmail.com>
2862
2863 * progmodes/scheme.el: Add indentation and font-locking for λ.
2864 (Bug#13975)
2865
2866 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2869 token before point (bug#13942).
2870
2871 2013-03-16 Leo Liu <sdl.web@gmail.com>
2872
2873 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2874
2875 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2876
2877 * startup.el (command-line-normalize-file-name): Fix handling of
2878 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2879 <xfq.free@gmail.com> in
2880 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2881
2882 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2883
2884 Sync with Tramp 2.2.7.
2885
2886 * net/trampver.el: Update release number.
2887
2888 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2889
2890 * doc-view.el Fix bug#13887.
2891 (doc-view-insert-image): Don't modify overlay associated to
2892 non-live windows, and implement horizontal centering of image in
2893 case it's smaller than the window.
2894 (doc-view-new-window-function): Force redisplay of new windows on
2895 doc-view buffers.
2896
2897 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2898
2899 * saveplace.el (save-place-alist-to-file): Don't sort
2900 `save-place-alist', just pretty-print it (bug#13882).
2901
2902 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2903
2904 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2905 whether `default-file-name-coding-system' is bound. It isn't in
2906 XEmacs.
2907
2908 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2911 backquotes for `obsolete' (bug#13929).
2912
2913 * international/mule.el (find-auto-coding): Include file name in
2914 obsolescence warning (bug#13922).
2915
2916 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2917
2918 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2919 for CFEngine 3-specific indentation.
2920 (cfengine3-indent-line): Use it. Fix up category regex.
2921 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2922
2923 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * type-break.el (type-break-file-name):
2926 * textmodes/remember.el (remember-data-file):
2927 * strokes.el (strokes-file):
2928 * shadowfile.el (shadow-initialize):
2929 * saveplace.el (save-place-file):
2930 * ps-bdf.el (bdf-cache-file):
2931 * progmodes/idlwave.el (idlwave-config-directory):
2932 * net/quickurl.el (quickurl-url-file):
2933 * international/kkc.el (kkc-init-file-name):
2934 * ido.el (ido-save-directory-list-file):
2935 * emulation/viper.el (viper-custom-file-name):
2936 * emulation/vip.el (vip-startup-file):
2937 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2938 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2939
2940 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2941
2942 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2943 * language/thai-word.el: Switch to UTF-8.
2944
2945 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2946
2947 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2948
2949 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2950
2951 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2952 Use with-current-buffer and don't move point.
2953 (net-utils-run-simple): Remove useless code.
2954 (net-utils-remove-ctl-m): Remove unused custom.
2955
2956 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2957
2958 * international/characters.el (glyphless-set-char-table-range): New fun.
2959 (update-glyphless-char-display): Use it (bug#13744).
2960
2961 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2962
2963 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2964 namespaces in the syntax, indent closer for hanging brace
2965 correctly, allow single-quote delimited 'strings', and make
2966 `cfengine3-mode' the default.
2967
2968 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2969
2970 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2971 Use lexical-binding. Fix up docstring according to conventions.
2972 (gdbmi-debug-mode): New var.
2973 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2974 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2975 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2976 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2977 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2978 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2979 (gdbmi-bnf-incomplete-record-result): New functions.
2980 (gdb-car<): Remove function.
2981 (gdbmi-record-list): Remove variable.
2982 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2983 (gdbmi-bnf-result-state-configs): New const.
2984 (gud-gdbmi-marker-filter): Rewrite.
2985 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2986 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2987 Add `token' argument.
2988 (gdb-done, gdb-error): New functions.
2989 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2990
2991 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * term/xterm.el (xterm--report-background-handler): Don't burp
2994 upon timeout.
2995 (xterm--version-handler): Extract from terminal-init-xterm.
2996 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2997 Allow multiple handlers.
2998 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2999
3000 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3001 (xterm--report-background-handler, xterm--query): New functions.
3002 (terminal-init-xterm): Use them.
3003
3004 2013-03-11 Michael R. Mauger <michael@mauger.com>
3005
3006 * progmodes/sql.el Version 3.2
3007 Please note that my address changed to <michael@mauger.com>;
3008 the <mmaug@yahoo.com> address remains active.
3009 (sql-connection-alist): Updates documentation to fix bug#13715.
3010 (sql-connect): Handle missing `sql-connection-alist' correctly.
3011 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3012 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3013 property.
3014 (sql-default-value): New function.
3015 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3016 values were not used.
3017 (sql-rename-buffer): Make sure alternate buffer name has no text
3018 properties.
3019 (sql-input-sender, sql-execute-feature): Fetch variable with
3020 `buffer-local-value' rather than `with-current-buffer'.
3021 (sql-*): Use #' function syntax consistently.
3022 (sql-*): Use message/error/user-error consistently.
3023
3024 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * xt-mouse.el (xterm-mouse-event-read): Remove.
3027 (xterm-mouse--read-event-sequence-1000)
3028 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3029
3030 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * term/xterm.el (xterm-function-map): Support format used with
3033 formatOtherKeys=1 (bug#13839).
3034
3035 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3036 (with-no-warnings): Use `declare'.
3037
3038 * whitespace.el (whitespace-enable-predicate): New variable.
3039 (whitespace-enable-predicate): Use it.
3040
3041 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3042 (comint-output-filter, comint-update-fence):
3043 Use with-silent-modifications.
3044
3045 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3046
3047 * replace.el (occur-read-regexp-defaults-function): New var.
3048 (occur-read-regexp-defaults): New defun.
3049 (occur-read-primary-args): Propagate above change (bug#13892).
3050
3051 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3054
3055 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3056
3057 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3058
3059 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3060 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3061 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3062 New defconst.
3063 (tramp-gvfs-file-name-handler-alist) [directory-files]
3064 [directory-files-and-attributes, file-exists-p, file-modes]:
3065 Use Tramp default handler.
3066 [file-acl, file-selinux-context, process-file, set-file-acl]:
3067 [set-file-modes, set-file-selinux-context, shell-command]:
3068 [start-file-process]: Remove handler.
3069 [verify-visited-file-modtime]: New handler.
3070 (tramp-gvfs-dbus-string-to-byte-array)
3071 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3072 calls of `dbus-string-to-byte-array' and
3073 `tramp-gvfs-dbus-byte-array-to-string'.
3074 (tramp-gvfs-handle-copy-file)
3075 (tramp-gvfs-handle-delete-directory)
3076 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3077 (tramp-gvfs-handle-file-directory-p)
3078 (tramp-gvfs-handle-file-executable-p)
3079 (tramp-gvfs-handle-file-name-all-completions)
3080 (tramp-gvfs-handle-file-readable-p)
3081 (tramp-gvfs-handle-file-writable-p)
3082 (tramp-gvfs-handle-insert-directory)
3083 (tramp-gvfs-handle-insert-file-contents)
3084 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3085 (tramp-gvfs-handle-set-visited-file-modtime)
3086 (tramp-gvfs-handle-write-region): Rewrite.
3087 (tramp-gvfs-handle-file-acl)
3088 (tramp-gvfs-handle-file-selinux-context)
3089 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3090 (tramp-gvfs-handle-set-file-modes)
3091 (tramp-gvfs-handle-set-file-selinux-context)
3092 (tramp-gvfs-handle-shell-command)
3093 (tramp-gvfs-handle-start-file-process)
3094 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3095 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3096 over the symlinks. Fix user handling.
3097 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3098 of the D-Bus signals.
3099 (tramp-gvfs-connection-mounted-p): Handle different names of the
3100 D-Bus methods.
3101 (tramp-gvfs-mount-spec-entry): New defun.
3102 (tramp-gvfs-mount-spec): Use it.
3103 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3104 there is a share name. Handle different names of the D-Bus
3105 signals and methods. Set connection properties needed for
3106 `tramp-check-cached-permissions'.
3107 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3108 Return t or nil.
3109
3110 * net/tramp.el (tramp-backtrace): Move up.
3111 (tramp-error): Dump a backtrace into the debug buffer when
3112 `tramp-verbose > 9.
3113 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3114 (tramp-file-mode-permissions, tramp-get-local-uid)
3115 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3116 tramp-sh.el.
3117
3118 * net/tramp-sh.el (tramp-file-mode-type-map)
3119 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3120 (tramp-file-mode-permissions, tramp-get-local-uid)
3121 (tramp-get-local-gid): Move to tramp.el.
3122
3123 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3124
3125 Separate mouse-1-click-follows-link from mouse-drag-region.
3126 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3127 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3128 (mouse-drag-line, mouse-drag-track):
3129 Remove mouse-1-click-follows-link code.
3130 (mouse--remap-link-click-p): Remove.
3131
3132 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3133
3134 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3135 (hi-lock-read-regexp-defaults): New defun.
3136 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3137 (hi-lock-face-phrase-buffer): Propagate above change.
3138 Update docstring (bug#13892).
3139
3140 * subr.el (find-tag-default-as-regexp): New defun.
3141 * replace.el (read-regexp): Propagate above change.
3142
3143 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3144
3145 * calc/calc-units.el (calc-convert-units): Fix the way that default
3146 new units are stored.
3147
3148 2013-03-07 Matthias Meulien <orontee@gmail.com>
3149
3150 * bookmark.el: Define a face to highlight bookmark names in
3151 bookmark menu buffers, where the default is a bold face similarly
3152 to buffer names in buffer menu buffers.
3153 (bookmark-menu-bookmark): New face to highlight bookmark names.
3154 (bookmark-insert-location): Remove duplicated text property to
3155 conform to buffer list (see `list-buffers').
3156 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3157 `bookmark-menu-bookmark' to bookmark names.
3158
3159 2013-03-07 Matthias Meulien <orontee@gmail.com>
3160 Karl Fogel <kfogel@red-bean.com>
3161
3162 * bookmark.el: Display the bookmark list header similarly to the
3163 buffer list header (see `list-buffers'), where the default is now
3164 an immovable/immutable header line.
3165 (bookmark-bmenu-use-header-line): New variable.
3166 (bookmark-bmenu-inline-header-height): New name for
3167 `bookmark-bmenu-header-height', to avoid confusion with the code
3168 for the new immovable header. All references changed.
3169 (bookmark-bmenu-set-header): New function.
3170 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3171 Conditionalize header construction accordingly.
3172 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3173 the inline header height.
3174 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3175 Conditionalize the skipping of the inline header height.
3176
3177 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3178
3179 * progmodes/js.el (js--multi-line-declaration-indentation):
3180 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3181
3182 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3183
3184 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3185 Only propertize regexp when not inside a string (Bug#13885).
3186
3187 2013-03-06 Alan Mackenzie <acm@muc.de>
3188
3189 Correct the position of point in some line-up functions.
3190 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3191 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
3192 point at column 0 rather than at a random place in the line.
3193
3194 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3195
3196 * net/tramp-compat.el (tramp-compat-delete-directory):
3197 Implement TRASH argument.
3198
3199 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3200
3201 Keep pre-existing highlighting in completion candidates (Bug#13250).
3202 * minibuffer.el (completions-first-difference): State that the
3203 face is "added" in the docstring.
3204 (completions-common-part): Same. And don't inherit from default.
3205 (completion-hilit-commonality): Prepend 'completions-common-part
3206 and 'completion-first-difference faces to the 'face property,
3207 instead of replacing the value(s).
3208 (completion--insert-strings): Same with 'completions-annotations face.
3209 (completion-hilit-commonality): Use 'face instead of
3210 'font-lock-face, because it gets priority if the completion
3211 strings already have 'face set.
3212
3213 2013-03-04 Alan Mackenzie <acm@muc.de>
3214
3215 Replace `last-command-event' by `last-command-char' in XEmacs.
3216 * progmodes/cc-defs.el (c-last-command-char): New macro.
3217 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3218 (c-semi&comma-no-newlines-before-nonblanks)
3219 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3220 in place of `last-command-event'.
3221 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3222 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3223 (c-electric-paren, c-electric-continued-statement): Use the new
3224 macro in place of `last-command-event'.
3225
3226 2013-03-04 Glenn Morris <rgm@gnu.org>
3227
3228 * files.el (inhibit-local-variables-regexps):
3229 Add .diff and .patch. (Bug#13862)
3230
3231 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3234 whether the "su" command is available on the device.
3235
3236 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3237
3238 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3239 (tramp-adb-handle-process-file): Remove superfluous setting.
3240 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3241 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3242 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3243
3244 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3247 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3248 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3249 Use dict-key rather than dict-name for the error message.
3250
3251 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3252
3253 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3254 when reverting (bug#13831).
3255
3256 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3257
3258 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3259 Always expand affix-file before storing to protect against changed
3260 `default-directory'.
3261 (ispell-print-if-debug): Make sure message is printed at the end
3262 of the debug buffer.
3263
3264 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3265
3266 * net/tramp.el (tramp-obsolete-methods): New defconst.
3267 (tramp-warned-obsolete-methods): New defvar.
3268 (tramp-find-method): Check for obsolete methods. Map them to a
3269 replacement method if appropriate.
3270
3271 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3272 Remove methods.
3273 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3274 "ssh2" and "plink1".
3275
3276 2013-02-28 Dale Sedivec <dale@codefu.org>
3277
3278 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3279 Return valid syntax-table property value when converting
3280 quotes within text from string syntax to punctuation syntax (bug#13844).
3281
3282 2013-02-28 Juri Linkov <juri@jurta.org>
3283
3284 * dired-aux.el (dired-diff): If file at point is a backup file,
3285 use its original as the default value, and reverse the order
3286 of arguments to the `diff' call. Doc fix. (Bug#13772)
3287
3288 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3289
3290 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3291 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3292
3293 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3294
3295 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3296
3297 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3298 Ask hunspell about available and default dictionaries.
3299 (ispell-parse-hunspell-affix-file): Extract relevant info from
3300 hunspell affix file.
3301 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3302 `ispell-dictionary-alist' entry for given dictionary after info
3303 provided by `ispell-parse-hunspell-affix-file'.
3304 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3305 of parsed hunspell dicts and associated affix files.
3306 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3307 of parsed hunspell dicts and associated parameters.
3308 (ispell-set-spellchecker-params):
3309 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3310 previously done.
3311 (ispell-start-process):
3312 Call `ispell-hunspell-fill-dictionary-entry' for current
3313 dictionary if it is not initialized.
3314
3315 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * imenu.el: Comment nitpicks.
3318
3319 2013-02-28 Sam Steingold <sds@gnu.org>
3320
3321 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3322 See <http://stackoverflow.com/questions/14720205>.
3323
3324 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3325
3326 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3327 (net-utils-mode): Use it.
3328 (net-utils--revert-cmd): New var.
3329 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3330 (traceroute): Use net-utils-run-simple.
3331
3332 2013-02-28 Glenn Morris <rgm@gnu.org>
3333
3334 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3335
3336 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3339 (doc-view-fallback-mode): Remove overlays here.
3340 (doc-view-toggle-display): Instead of here. Don't throw away
3341 image-mode-winprops-alist.
3342 (doc-view-goto-page): Don't mess with hscroll.
3343
3344 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3345
3346 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3347 &optional (bug#13819).
3348
3349 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3350
3351 * net/tramp-adb.el (tramp-adb-parse-device-names)
3352 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3353
3354 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3355
3356 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3357 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3358 defined. POSIX environments fall back to the "C" locale then and
3359 emit a warning, which shall be suppressed.
3360
3361 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3364 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3365
3366 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3369
3370 2013-02-25 Juri Linkov <juri@jurta.org>
3371
3372 * replace.el (read-regexp): Let-bind `default' to the first
3373 element of `defaults' if it's a list, otherwise it should be
3374 a string or nil. Let-bind `suggestions' to `defaults' if it's
3375 a list, otherwise make a list with the string value. Doc fix.
3376 (Bug#13805)
3377
3378 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3379
3380 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3381 that match "\`\.#", to avoid compiling lock files, even if they
3382 are readable (as they are on MS-Windows).
3383
3384 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * files.el (basic-save-buffer): Remove redundant directory-creation.
3387
3388 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3389
3390 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3391 Add option to force `pi' to remain symbolic.
3392 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3393 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3394 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3395 derivatives, when necessary.
3396
3397 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3398
3399 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3400 (ps-mode-octal-region): Use string-make-unibyte.
3401
3402 2013-02-23 Glenn Morris <rgm@gnu.org>
3403
3404 * emulation/viper-cmd.el (viper-submit-report):
3405 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3406 * progmodes/vera-mode.el (vera-mode-help-address):
3407 * textmodes/artist.el (artist-maintainer-address):
3408 * textmodes/reftex.el (reftex-report-bug):
3409 * vc/ediff-util.el (ediff-submit-report):
3410 Add bug-gnu-emacs to bug report address.
3411
3412 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3413 Remove bug report entries.
3414 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3415
3416 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3417 (byte-compile-file, byte-compile-from-buffer):
3418 Use separate input/output buffers for each level of recursive
3419 byte-compile-file calls. (Bug#13787)
3420
3421 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3422
3423 * net/tramp.el (tramp-methods): Fix docstring.
3424 (tramp-ssh-controlmaster-options): Rename it from
3425 `tramp-ssh-controlmaster-template'. Return a string.
3426 (tramp-default-method): Adapt check for
3427 `tramp-ssh-controlmaster-options'.
3428
3429 * net/tramp-sh.el (tramp-methods):
3430 Replace `tramp-ssh-controlmaster-template' by "%c".
3431 (tramp-do-copy-or-rename-file-out-of-band)
3432 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3433 that it is applied for the first hop only.
3434
3435 2013-02-22 Juri Linkov <juri@jurta.org>
3436
3437 * isearch.el (isearch-lazy-highlight-new-loop):
3438 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3439 to `isearch-other-end' if it is not nil. (Bug#13402)
3440
3441 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3442 to `match-beg'.
3443
3444 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3445 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3446 and `isearch-error' to nil.
3447
3448 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3449
3450 * progmodes/python.el (python-info-current-defun):
3451 Enhance match-data cluttering prevention.
3452
3453 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3454
3455 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3456
3457 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3458 Handle multibyte file names.
3459
3460 2013-02-22 Glenn Morris <rgm@gnu.org>
3461
3462 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3463 (sgml-transformation-function): Give it a :set function.
3464 (sgml-tag): Doc fix.
3465
3466 * cmuscheme.el (scheme-buffer):
3467 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3468 * progmodes/tcl.el (inferior-tcl-buffer):
3469 * textmodes/tex-mode.el (tex-command): Doc fixes.
3470
3471 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3472
3473 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3474
3475 2013-02-21 Bastien Guerry <bzg@gnu.org>
3476
3477 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3478
3479 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3480
3481 * progmodes/python.el (python-info-current-defun):
3482 Enhance match-data cluttering prevention.
3483
3484 2013-02-21 Glenn Morris <rgm@gnu.org>
3485
3486 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3487 loaded while outline-regexp is let bound. (Bug#9584)
3488
3489 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3490
3491 * progmodes/python.el (python-info-current-defun): Fix failed
3492 defun name retrieval because of unwanted match-data cluttering.
3493
3494 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3497 defconst. Apply independent check for ControlPersist.
3498
3499 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3500 temporarily, via "env".
3501
3502 2013-02-21 Glenn Morris <rgm@gnu.org>
3503
3504 * info.el (Info-enable-edit): Remove.
3505 (Info-edit): Disable it rather than using Info-enable.
3506 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3507 (Info-cease-edit): Make editing of Info files obsolete.
3508
3509 * informat.el (Info-tagify):
3510 Handle buffers not visiting files. (Bug#13763)
3511
3512 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3513
3514 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3515
3516 2013-02-21 Glenn Morris <rgm@gnu.org>
3517
3518 * files.el (basic-save-buffer): Move check for existing parent
3519 directory after hooks. (Bug#13773)
3520
3521 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * simple.el (command-execute): Move from C. Add obsolete check.
3524 (extended-command-history): Move from C.
3525
3526 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3527
3528 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3529 (jka-compr-mode-alist-additions): Handle .txz suffix for
3530 XZ-compressed tar archives (bug#13770).
3531
3532 2013-02-20 Bastien Guerry <bzg@gnu.org>
3533
3534 * outline.el (outline-regexp, outline-heading-end-regexp):
3535 Make variables, not options (bug#13731).
3536
3537 2013-02-20 Glenn Morris <rgm@gnu.org>
3538
3539 * image.el (image-current-frame): Change from variable to function.
3540 (image-show-frame): Rename from image-nth-frame. Update callers.
3541 * image-mode.el (image-multi-frame): New variable.
3542 (image-mode-map, image-mode, image-goto-frame):
3543 Use image-multi-frame rather than image-current-frame.
3544 (image-mode, image-goto-frame): Use image-current-frame as
3545 function rather than as variable.
3546
3547 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3548 * emacs-lisp/cl-macs.el (cl--make-type-test)
3549 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3550
3551 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3552
3553 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3554 (tramp-get-file-property, tramp-set-file-property)
3555 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3556 (tramp-flush-file-property, tramp-flush-directory-property):
3557 Rename argument to KEY.
3558 (tramp-flush-connection-property): Simplify a little bit.
3559 (tramp-connection-property-p): New defun.
3560 (top): Reapply saved values only if there isn't a corresponding
3561 entry in `tramp-connection-properties'.
3562
3563 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3564
3565 * progmodes/python.el (python-indent-context):
3566 Fix python-info-line-ends-backslash-p call.
3567 (python-info-line-ends-backslash-p)
3568 (python-info-beginning-of-backslash): Respect line-number argument.
3569 (python-info-current-line-comment-p):
3570 Fix behavior when not at beginning-of-line.
3571 (python-util-position): Remove function.
3572 (python-util-goto-line): New function.
3573
3574 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3575
3576 * eshell/em-unix.el (eshell/su): Require tramp.
3577 (eshell/sudo): Require tramp. Remove now unnecessary check.
3578
3579 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3580 `tramp-current-connection' in order to avoid an error when several
3581 commands are invoked in a short time in eshell and friends.
3582
3583 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 Cleanup some of EIEIO's namespace.
3586 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3587 Use it to define all the class-* and object-* field accessors (renamed
3588 to eieio--class-* and eieio--object-*). Update all uses.
3589 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3590 class-num-slots and object-num-slots.
3591 (eieio--check-type): New macro.
3592 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3593 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3594 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3595 (object-assoc-list-safe): Use it.
3596 (eieio-defclass): Tighten regexp.
3597 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3598 Remove unreachable code.
3599 (object-class-fast): Declare obsolete.
3600 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3601 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3602 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3603 Rename from class-name, object-name, object-set-name-string,
3604 object-class, object-class-name, class-parents, class-children,
3605 class-precedence-list, class-parent; with obsolete alias.
3606 (class-of, class-direct-superclasses, class-direct-subclasses):
3607 Declare obsolete.
3608 (eieio-defmethod): Use `memq'; remove unreachable code.
3609 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3610 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3611 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3612
3613 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3614
3615 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3616 commentary.
3617
3618 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3619
3620 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3621 Use font-lock-keyword-face for macros and special forms (bug#8345).
3622
3623 2013-02-17 Didier Verna <didier@didierverna.net>
3624
3625 * net/network-stream.el (network-stream-open-starttls):
3626 Check that response to the starttls-command is non-nil. (Bug#13706)
3627
3628 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3631 Don't assume all identifier chars have syntax word.
3632 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3633 Remove bar-not-symbol. Adjust callers.
3634 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3635
3636 2013-02-17 Leo Liu <sdl.web@gmail.com>
3637
3638 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3639
3640 2013-02-17 Glenn Morris <rgm@gnu.org>
3641
3642 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3643
3644 * image-mode.el (image-mode-map): Add image-dired menu entry.
3645
3646 * image-dired.el (tumme): Make this alias obsolete.
3647
3648 2013-02-16 Glenn Morris <rgm@gnu.org>
3649
3650 * image.el (image-animated-types): Remove.
3651 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3652 (image-animated-p): Make obsolete alias.
3653 (image-animate, image-nth-frame, image-animate-timeout):
3654 Use image-multi-frame-p.
3655 (image-animate-timeout): If no delay, use image-default-frame-delay.
3656 * image-mode.el (image-mode, image-toggle-animation):
3657 Use image-multi-frame-p. (Bug#763, bug#10739)
3658 (image-mode): Adjust startup message for a multi-frame image.
3659
3660 * image-mode.el (image-mode-map): Give it a menu.
3661
3662 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * net/tramp-cache.el (tramp-connection-properties): New customer
3665 option.
3666 (tramp-get-connection-property): Use it.
3667
3668 * net/tramp-compat.el (top): Require 'trampver.
3669
3670 * net/tramp-sh.el (tramp-remote-process-environment):
3671 Set tramp-autoload cookie.
3672
3673 2013-02-16 Kevin Ryde <user42@zip.com.au>
3674
3675 * info-look.el (info-lookup-select-mode): If major-mode has no
3676 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3677
3678 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3679
3680 * replace.el (read-regexp): Tighten the regexp that matches tag.
3681 When tag is retrieved with `find-tag-default', use regexp that
3682 matches tag at point. Also update docstring (Bug#13687).
3683
3684 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3685
3686 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3687 add watch for the file, not its parent directory, since w32notify
3688 sets up the watch for the directory internally. (Bug#13725)
3689
3690 2013-02-16 Glenn Morris <rgm@gnu.org>
3691
3692 * image.el (image-default-frame-delay): New variable.
3693 (image-animated-p): Use image-default-frame-delay.
3694 (image-minimum-frame-delay): New constant.
3695 (image-animate-timeout): Use image-minimum-frame-delay.
3696
3697 * image.el (image-nth-frame): New, split from image-animate-timeout.
3698 (image-animate-timeout): Use image-nth-frame.
3699 * image-mode.el (image-goto-frame, image-next-frame)
3700 (image-previous-frame): New commands.
3701 (image-mode-map): Add new frame commands.
3702
3703 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3704
3705 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3706 If col-desc already has help-echo, use it. (Bug#13563)
3707
3708 2013-02-16 Glenn Morris <rgm@gnu.org>
3709
3710 * image.el (image-current-frame): New variable.
3711 (image-animate-timeout): Set image-current-frame.
3712 * image-mode.el (image-mode): For animated images,
3713 display a frame counter via mode-line-process.
3714
3715 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3716
3717 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3720
3721 2013-02-15 Alan Mackenzie <acm@muc.de>
3722
3723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3724 global minor mode has been enabled, call the minor mode function
3725 for a new buffer once only, after the major mode hook, whilst
3726 allowing that hook explicitly to disable the minor mode.
3727 (MODE-disable-in-buffer): New (generated) function.
3728 (disable-MODE): New (generated) buffer local variable.
3729
3730 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3731
3732 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3733 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3734 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3735 `ido-next-match' and `ido-prev-match' resply.
3736 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3737 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3738 `icomplete-backward-completions' (Bug#13708).
3739
3740 2013-02-15 Glenn Morris <rgm@gnu.org>
3741
3742 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3743
3744 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3747 (goto-address-fontify-region): Use them instead of narrowing, so
3748 syntax-ppss has access to the whole buffer.
3749
3750 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3751
3752 * progmodes/python.el: Explain how to restore "cc-mode"-like
3753 forward-sexp movement in header documentation (Bug#13642).
3754 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3755 comments and strings (GH bug 114).
3756
3757 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3758
3759 * progmodes/python.el (python-info-current-defun): Fix current
3760 defun detection (Bug#13618).
3761
3762 2013-02-15 Chong Yidong <cyd@gnu.org>
3763
3764 * xml.el (xml-parse-string): Fix typo in handling of bad character
3765 references.
3766
3767 2013-02-15 Glenn Morris <rgm@gnu.org>
3768
3769 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3770
3771 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * net/tramp.el (tramp-debug-message):
3774 Add `tramp-condition-case-unless-debug'.
3775 (tramp-debug-on-error): New defvar.
3776 (tramp-condition-case-unless-debug): New defun.
3777 (tramp-file-name-handler): Use it.
3778
3779 2013-02-14 Juri Linkov <juri@jurta.org>
3780
3781 * info.el (Info-isearch-filter): Treat non-nil values of
3782 `search-invisible' including its default value `open'
3783 like the value `t' to match hidden text. (Bug#13402)
3784
3785 2013-02-14 Glenn Morris <rgm@gnu.org>
3786
3787 * help-fns.el (find-lisp-object-file-name): Give special treatment
3788 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3789
3790 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3791
3792 * net/quickurl.el (quickurl-save-urls):
3793 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3794
3795 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3796
3797 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3798 depth for unfinished percent literal. Not using it in the caller.
3799 (ruby-move-to-block): Jump over multiline literals of all types,
3800 ignoring code-looking contents inside them.
3801 (ruby-add-log-current-method): Improve performance at the expense
3802 of accuracy. `ruby-block-contains-point' is relatively slow, so
3803 only use it for method and singleton class blocks.
3804
3805 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3806
3807 Use ControlMaster where applicable. (Bug#13677)
3808
3809 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3810 replacing `tramp-detect-ssh-controlmaster'.
3811 (tramp-default-method): Use it.
3812
3813 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3814 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3815 arguments.
3816 [scpc, rsyncc]: Remove methods.
3817 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3818 and "ssh2_old".
3819 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3820 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3821
3822 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * emacs-lisp/package.el (package--initialized): Move before first use.
3825
3826 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3827
3828 * icomplete.el (icomplete-hide-common-prefix): New user option.
3829 (icomplete-first-match): New face.
3830 (icomplete-completions): Correct handling of "complete but not
3831 unique" (Bug#12638).
3832
3833 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3834
3835 * descr-text.el (describe-char): Display the script (bug#13698).
3836
3837 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * tmm.el: Use lexical-binding and current-active-maps.
3840 (tmm-menubar): Use map-keymap and pcase.
3841 (tmm--completion-table): New function.
3842 (tmm-prompt): Use it to fix the menu order.
3843 (tmm-get-keybind): Use current-active-maps.
3844
3845 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3846
3847 Add dired-hide-details-mode. (Bug#6799)
3848
3849 * locate.el (locate-mode): Set parent mode property to dired-mode.
3850
3851 * find-dired.el (find-dired): Call dired-insert-set-properties on
3852 initial information line. Set process mark on end of buffer.
3853 (find-dired-sentinel):
3854 Call dired-insert-set-properties on summary.
3855
3856 * dired.el (dired-hide-details-hide-symlink-targets)
3857 (dired-hide-details-hide-information-lines): New options.
3858 (dired-insert-directory):
3859 Set properties after final treatment of output.
3860 (dired-insert-set-properties):
3861 Set dired-hide-details-* properties.
3862 (dired-mode-map): Bind dired-hide-details-mode.
3863 (dired-mode): Set buffer-invisibility-spec to a list.
3864 (dired-next-line): Skip hidden lines.
3865 (dired-previous-line): Use dired-next-line.
3866 (dired-hide-details-mode): New minor mode.
3867 (dired-hide-details-update-invisibility-spec): New function.
3868
3869 2013-02-13 Glenn Morris <rgm@gnu.org>
3870
3871 * play/yow.el: Move to obsolete/. (Bug#9384)
3872
3873 2013-02-13 Juri Linkov <juri@jurta.org>
3874
3875 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3876 to select `ediff-control-frame' and set input focus correctly on Xfce.
3877 (Bug#12218)
3878
3879 2013-02-13 Juri Linkov <juri@jurta.org>
3880
3881 * image-mode.el (image-mode-map):
3882 * doc-view.el (doc-view-mode-map):
3883 * vc/ediff-util.el (ediff-setup-keymap):
3884 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3885
3886 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3887
3888 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3889 performance. Instead of recalculating indentation fully for each
3890 line, sum up indentation depth based only on visited lines.
3891 (ruby-parse-partial): Increase the depth after "do" even when END
3892 is right after it.
3893 (ruby-parse-partial): When END is in the middle of a percent
3894 literal, increase the depth if the delimiter chars belong to the
3895 paren syntax class.
3896
3897 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3898
3899 * play/fortune.el (fortune-compile): Also make the compiled file
3900 if it does not exist at all, not just if it is old. (Bug#5338)
3901
3902 2013-02-13 Glenn Morris <rgm@gnu.org>
3903
3904 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3905
3906 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3907
3908 * lisp/emacs-lisp/package.el (package-menu-execute):
3909 Add optional noquery argument. (Bug#13625)
3910
3911 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3912
3913 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3914 if DIR exists and PARENTS is non-nil.
3915
3916 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * progmodes/js.el (js--multi-line-declaration-indentation):
3919 Silence byte-compiler warning.
3920
3921 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3922
3923 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3924
3925 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3926 only if it doesn't exist.
3927
3928 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3929 Set process marker.
3930
3931 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3932
3933 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3934 UserInstallation when calling soffice to work around LibreOffice
3935 bug 37531.
3936
3937 2013-02-12 Glenn Morris <rgm@gnu.org>
3938
3939 * files.el (basic-save-buffer):
3940 Offer to create a non-existing directory. (Bug#3016)
3941
3942 * calc/calc-graph.el (calc-graph-show-dumb):
3943 * calendar/calendar.el (calendar-mode-map):
3944 * cus-edit.el (custom-mode-map):
3945 * ehelp.el (electric-help-map):
3946 * emulation/vip.el (vip-mode-map):
3947 * epa.el (epa-key-list-mode-map):
3948 * info.el (Info-mode-map):
3949 * mail/rmail.el (rmail-mode-map):
3950 * mail/rmailsum.el (rmail-summary-mode-map):
3951 * man.el (Man-mode-map):
3952 * net/newst-plainview.el (newsticker-mode-map):
3953 * progmodes/cpp.el (cpp-edit-mode-map):
3954 * progmodes/grep.el (grep-mode-map):
3955 * progmodes/idlw-help.el (idlwave-help-mode-map):
3956 * simple.el (special-mode-map):
3957 * startup.el (splash-screen-keymap):
3958 * view.el (view-mode-map):
3959 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3960
3961 2013-02-11 Elias Pipping <pipping@lavabit.com>
3962
3963 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3964 (bug#13679).
3965
3966 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3967
3968 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3969
3970 2013-02-11 Glenn Morris <rgm@gnu.org>
3971
3972 * vc/diff.el (diff-use-labels): New variable.
3973 (diff-no-select): Use --label rather than -L, and first
3974 check that it is supported. (Bug#11067)
3975
3976 * files.el (enable-dir-local-variables): New variable.
3977 (hack-dir-local-variables): Respect enable-dir-local-variables.
3978 * tutorial.el (help-with-tutorial):
3979 Ignore directory-local variables. (Bug#11127)
3980
3981 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3982 (vc-svn-global-switches): ... to here. (Bug#13513)
3983
3984 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3985
3986 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3987 Handle "foo (bar, default: xxx): " prompts.
3988
3989 2013-02-10 Chong Yidong <cyd@gnu.org>
3990
3991 * files.el (basic-save-buffer-1): Do not set
3992 buffer-file-coding-system-explicit (Bug#4533).
3993
3994 * mail/emacsbug.el (report-emacs-bug): Change binding of
3995 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3996
3997 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3998
3999 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4000 * calc/calc-units.el (calc-convert-units): Use new variable.
4001
4002 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4003
4004 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4005
4006 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4007 buffer-file-type.
4008
4009 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4010 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4011 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4012 coding-system-for-write instead.
4013
4014 * jka-compr.el (jka-compr-write-region): Don't bind
4015 buffer-file-type.
4016
4017 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4018 buffer-file-type.
4019
4020 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4021 (insert-file-contents-literally): Remove reference to
4022 file-name-buffer-file-type-alist.
4023
4024 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4025 make-obsolete.
4026 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4027 (find-buffer-file-type-coding-system): Remove references to
4028 find-buffer-file-type-match, find-buffer-file-type, and
4029 buffer-file-type.
4030 Don't put find-buffer-file-type-coding-system into
4031 file-coding-system-alist.
4032 (find-file-binary, find-file-text): Bind coding-system-for-read
4033 instead of file-name-buffer-file-type-alist.
4034
4035 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4036
4037 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4038 converter (Bug#13622).
4039 (doc-view-unoconv-program): Make obsolete alias.
4040 (doc-view-odf->pdf-converter-program): New variable.
4041 (doc-view-odf->pdf-converter-function): New variable.
4042 (doc-view-mode-p): Use it.
4043 (doc-view-odf->pdf-converter-unoconv):
4044 Rename from `doc-view-odf->pdf-converter-unoconv'.
4045 (doc-view-odf->pdf-converter-soffice): New function.
4046 (doc-view-convert-current-doc):
4047 Use `doc-view-odf->pdf-converter-function'.
4048
4049 2013-02-09 Chong Yidong <cyd@gnu.org>
4050
4051 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4052 view-echo-area-messages (Bug#13340).
4053
4054 * help.el (view-echo-area-messages): Use display-buffer.
4055
4056 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4057 (Bug#13561).
4058
4059 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4062 Eval body right away, now that we do eager macroexpansion (bug#13605).
4063
4064 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4065 (fundamental-mode): Use run-mode-hooks.
4066
4067 * eshell/esh-proc.el (eshell/kill): Fix last change.
4068 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4069
4070 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4071
4072 * eshell/esh-proc.el (eshell/kill): Rewrite.
4073
4074 * eshell/em-ls.el (show-almost-all): Declare.
4075 (eshell-do-ls): Add support for -A argument.
4076
4077 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4078
4079 * icomplete.el (icomplete-forward-completions)
4080 (icomplete-backward-completions): Handle corner case (bug#13602).
4081
4082 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4083
4084 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4085 be nil. Handle this. (Bug#13636)
4086
4087 2013-02-07 Richard Stallman <rms@gnu.org>
4088
4089 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4090 `save-buffer-coding-system'.
4091
4092 2013-02-07 Alan Mackenzie <acm@muc.de>
4093
4094 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4095 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4096 (c-parse-state-get-strategy): Don't return 'BOD any more.
4097 (c-append-lower-brace-pair-to-state-cache):
4098 Extra parameter HERE instead of narrowing.
4099 Widen to top of buffer before searching backwards for a brace pair.
4100 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4101 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4102 Narrow to parameter HERE, in place of being called narrowed.
4103 (c-remove-stale-state-cache): Extra parameter HERE in place of
4104 narrowing. Check there's an open brace in the cache before
4105 searching for its match.
4106 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4107 (c-parse-state-1): Don't narrow here for 'forward strategy,
4108 instead passing extra parameter HERE to several functions.
4109 Remove 'BOD strategy.
4110
4111 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4112
4113 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4114 used to install the package.
4115
4116 2013-02-06 Glenn Morris <rgm@gnu.org>
4117
4118 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4119 if we can't get user input. (Bug#6567)
4120
4121 * startup.el (command-line): If simple.el is missing,
4122 test and warn about for some possible causes.
4123
4124 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4125
4126 * cus-start.el (all): Add ns-use-native-fullscreen.
4127
4128 2013-02-05 Glenn Morris <rgm@gnu.org>
4129
4130 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4131
4132 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4133 Fix directory creation in fallback case.
4134
4135 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4136
4137 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4138 (vc-update-change-log): Use dolist.
4139
4140 2013-02-04 Chong Yidong <cyd@gnu.org>
4141
4142 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4143 code from ffap.el.
4144 (thing-at-point-beginning-of-url-regexp): New var.
4145 (thing-at-point-uri-schemes): Update list of URI schemes.
4146 (thing-at-point-url-regexp): Variable deleted.
4147 (thing-at-point-markedup-url-regexp): Disallow newlines.
4148 (thing-at-point-newsgroup-regexp)
4149 (thing-at-point-newsgroup-heads)
4150 (thing-at-point-default-mail-uri-scheme): New variables.
4151 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4152 method to find the possible bounds of the URI at point.
4153 New optional argument to find ill-formed URIs.
4154 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4155 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4156 the scheme-adding heuristics from ffap-url-at-point.
4157 (thing-at-point--bounds-of-well-formed-url): New function.
4158 Do parens matching to decide whether to include parens in the URI
4159 (Bug#9153).
4160
4161 * ffap.el: Require thingatpt.
4162 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4163 All URI-valid characters are now recognized (Bug#5673).
4164 (ffap-string-at-point): Use use-region-p.
4165 (ffap-url-regexp): Extra character is handled by thing-at-point.
4166 (ffap-string-at-point-mode-alist): Allow parentheses.
4167 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4168 Convert to aliases; code moved to thingatpt.el.
4169 (ffap-gnus-hook): Use setq-local.
4170
4171 2013-02-04 Glenn Morris <rgm@gnu.org>
4172
4173 * emacs-lisp/ert.el (ert--explain-format-atom):
4174 Don't try to print non-characters as characters. (Bug#13543)
4175
4176 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4177
4178 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4179 (tramp-backtrace): New defun.
4180 (tramp-handle-insert-file-contents): Use `visit' when inserting
4181 the local copy.
4182
4183 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4184 Use `remote-file-name-inhibit-cache'.
4185
4186 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4189 (bug#13614).
4190
4191 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4192 current-load-list (bug#13366).
4193
4194 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4195
4196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4197 Identify g++ template instantiation trace. (Bug#12287)
4198 (compilation-mode-hook, compilation-start-hook)
4199 (compilation-window-height): Simplify docstrings. (Bug#13379)
4200
4201 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * mouse.el (mouse-drag-track): Always deactivate the mark before
4204 running the final event's command since that command is in charge of
4205 activating the mark if needed (bug#13523).
4206
4207 2013-02-02 Juri Linkov <juri@jurta.org>
4208
4209 * replace.el (perform-replace): Move let-bindings of isearch-*
4210 variables deeper to the loop that searches for the next match.
4211 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4212 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4213 (Bug#13579)
4214
4215 * isearch.el (isearch-search-fun-default): Check for null
4216 first element of isearch-cmds as a precaution when it's used
4217 with inactive isearch.
4218
4219 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4220
4221 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4222 error when buffer in question is narrowed so position 1 is out of
4223 visible part.
4224
4225 2013-02-02 Glenn Morris <rgm@gnu.org>
4226
4227 * textmodes/remember.el (remember-clipboard): Doc fix.
4228
4229 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4232 properties (bug#13179).
4233
4234 2013-02-02 Juri Linkov <juri@jurta.org>
4235
4236 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4237 instead of hard-coded default face `match'. (Bug#9438)
4238
4239 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4240
4241 * vc/vc-arch.el (vc-arch-registered):
4242 * vc/vc-bzr.el (vc-bzr-registered):
4243 * vc/vc-cvs.el (vc-cvs-registered):
4244 * vc/vc-git.el (vc-git-registered):
4245 * vc/vc-hg.el (vc-hg-registered):
4246 * vc/vc-mtn.el (vc-mtn-registered):
4247 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4248 (Bug#13139)
4249
4250 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4251 prefix argument. (Bug#11656)
4252
4253 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4256
4257 2013-02-01 Glenn Morris <rgm@gnu.org>
4258
4259 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4260 if the backend is known not to support it.
4261
4262 * imenu.el (imenu-default-create-index-function):
4263 Tweak infinite loop test to check for forward motion as well as none.
4264
4265 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4266
4267 * net/soap-client.el (soap-invoke): Encode the string for
4268 `url-request-data' as UTF-8.
4269 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4270
4271 2013-02-01 Glenn Morris <rgm@gnu.org>
4272
4273 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4274
4275 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4276
4277 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4278
4279 * net/tramp.el (tramp-tramp-file-p): Comment check for
4280 `string-as-unibyte'. The function does not exist on XEmacs, and
4281 likely we need another approach.
4282
4283 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4284 `tramp-gw-*' variables are bound.
4285
4286 2013-01-31 Glenn Morris <rgm@gnu.org>
4287
4288 * files.el (basic-save-buffer-2): Choose coding system for
4289 writing the file before backing it up, to reduce delay between
4290 backing up and writing the new version. (Bug#13522)
4291
4292 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4293
4294 * simple.el (cycle-spacing): New command.
4295 (just-one-space): Use it.
4296
4297 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4298
4299 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4300 (opascal-newline-always-indents): Remove custom.
4301 (opascal-tab, opascal-newline): Remove commands.
4302 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4303 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4304 (opascal-save-match-data): Remove, use save-match-data instead.
4305 (opascal-save-state): Use with-silent-modifications.
4306
4307 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4308 (bug#13585).
4309
4310 2013-01-30 Juri Linkov <juri@jurta.org>
4311
4312 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4313 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4314 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4315
4316 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4319 column if we're just deleting the backslashes.
4320 (makefile-fill-paragraph): Use eolp.
4321
4322 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4323
4324 * autorevert.el (auto-revert-use-notify): Fix docstring.
4325
4326 2013-01-30 Leo Liu <sdl.web@gmail.com>
4327
4328 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4329
4330 2013-01-30 Glenn Morris <rgm@gnu.org>
4331
4332 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4333 unread-command-events twice in some cases. This tries to implement
4334 the 2012-07-26 changes in a different way. (Bug#13560)
4335
4336 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4337
4338 * progmodes/python.el
4339 (python-pdbtrack-comint-output-filter-function): Enhancements on
4340 stacktrace detection. (thanks @gnovak)
4341
4342 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4345 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4346 Use defvar-local.
4347 (jit-lock-register): Use setq-local.
4348
4349 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4350
4351 * calc-units.el (math-default-units-table): Remove initial value.
4352 (calc-convert-units): Treat expressions where all the units cancel as
4353 if they didn't have units.
4354
4355 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4356
4357 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4358 (tramp-completion-reread-directory-timeout): Fix type.
4359 (tramp-connection-min-time-diff): New defcustom.
4360
4361 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4362
4363 2013-01-30 Glenn Morris <rgm@gnu.org>
4364
4365 * imenu.el (imenu-default-create-index-function):
4366 Put back a version of the infinite loop test removed 2013-01-23.
4367
4368 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4369
4370 * progmodes/python.el (python-shell-parse-command):
4371 Find python-shell-interpreter with modified environment.
4372
4373 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4376
4377 2013-01-29 Alan Mackenzie <acm@muc.de>
4378
4379 Amend to fontify /regexp/s in actions correctly.
4380 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4381 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4382 are no longer included.
4383 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4384 What used to be these variables without "-line" in the name.
4385 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4386 (c-awk-non-arith-op-bra-re): Now also matches {.
4387 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4388 "return", and "case".
4389 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4390 by /.
4391 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4392 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4393
4394 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4395
4396 * autorevert.el (auto-revert-use-notify):
4397 Use `custom-initialize-default' for initialization. (Bug#13583)
4398
4399 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4400
4401 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4402 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4403 in `tramp-file-name-handler'.
4404 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4405 compatibility.
4406 (tramp-compute-multi-hops): Check, whether
4407 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4408
4409 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4412 (bug#13297).
4413
4414 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4415
4416 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4417 checks made superfluous by the \_< operator.
4418 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4419 temporarily) broken indentation.
4420 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4421 Highlight nested constants, too. \_< broke that.
4422
4423 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4424
4425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4426 instead of "\\b".
4427
4428 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4429
4430 * autorevert.el (auto-revert-handler): Notifications which result
4431 from a saved file shall not be taken into account. (Bug#13557)
4432
4433 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4434
4435 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4436 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4437 (lisp-mode): Pass t for it. (Bug#13556)
4438
4439 2013-01-25 Alan Mackenzie <acm@muc.de>
4440
4441 AWK Mode: Fix indentation bug at top level. Bug #12274.
4442
4443 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4444 just before CASE 5D.
4445
4446 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4447
4448 * net/socks.el (socks-nslookup-host): Use string-to-number.
4449
4450 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4451
4452 * autorevert.el (auto-revert-remote-files)
4453 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4454 (auto-revert-notify-enabled, auto-revert-use-notify)
4455 (auto-revert-notify-watch-descriptor-hash-list)
4456 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4457 (auto-revert-notify-event-descriptor)
4458 (auto-revert-notify-event-action)
4459 (auto-revert-notify-event-file-name): Doc fix.
4460 (global-auto-revert-mode): Reorder checks.
4461 (auto-revert-notify-rm-watch): Respect changed values of
4462 `auto-revert-notify-watch-descriptor-hash-list'.
4463 (auto-revert-notify-add-watch): Check for
4464 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4465 `inotify-add-watch'. Watch `default-directory' instead of
4466 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4467 has a changed meaning now. (Bug#13540)
4468 (auto-revert-notify-handler): Change implementation wrt events
4469 returning from a directory.
4470 (auto-revert-handler): Reorder implementation for checks of remote
4471 files.
4472 (auto-revert-buffers): Fix parentheses error.
4473
4474 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4475
4476 * progmodes/python.el: Enhancements to header documentation about
4477 skeletons. (Bug#5716)
4478
4479 * imenu.el (imenu-default-create-index-function): Remove useless
4480 infinite loop check. (Bug#13438)
4481
4482 2013-01-25 Alan Mackenzie <acm@muc.de>
4483
4484 Fix a bug in the state cache mechanism. Refactor this a bit.
4485
4486 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4487 `cache-pos' element from the return value.
4488 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4489 buffer to enable proper searching from beyond HERE. Amend the
4490 test for detecting the sought brace pair. Amend the value written
4491 to the "brace desert cache" when the brace isn't found.
4492 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4493 and several other variables analogously.
4494 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4495 parameter to a locally calculated variable.
4496 (c-parse-state-1): Change the calling conventions to the two
4497 defuns involving `cache-pos'.
4498
4499 2013-01-25 Chong Yidong <cyd@gnu.org>
4500
4501 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4502
4503 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4504
4505 * paren.el (show-paren-function): Make sure to set 'priority and
4506 'face only if the overlay does exist.
4507
4508 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4511
4512 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4513 basic attributes.
4514 (tramp-sh-handle-set-file-acl): Improve error checking.
4515
4516 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4517
4518 * doc-view.el (doc-view-display): Force mode line update until all
4519 document is converted. Suggested by Stefan Monnier (Bug#13164).
4520
4521 2013-01-23 Bastien Guerry <bzg@gnu.org>
4522
4523 * paren.el (show-paren-function): Make sure an overlay exists
4524 before trying to delete it. Also use `pos' as a position only
4525 when it is an integer.
4526
4527 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4528
4529 * play/gametree.el (gametree-break-line-here): Use point-marker.
4530
4531 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4532
4533 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4534 Mark descriptive parts with `display' property.
4535
4536 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4537
4538 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4539 New variable to map standard dict names to hunspell ones.
4540 (ispell-set-spellchecker-params): Make sure specific dict names
4541 are used for standard dicts with hunspell.
4542
4543 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4544
4545 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4546 chars for note (%N) and url (%U).
4547 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4548
4549 2013-01-21 Juri Linkov <juri@jurta.org>
4550
4551 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4552 in addition to existing separate binding `meta f10' in `global-map'.
4553 (Bug#13484)
4554
4555 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4556
4557 Improve XEmacs compatibility.
4558
4559 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4560
4561 * net/tramp-adb.el (top): Require `time-date'.
4562 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4563 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4564 Use `tramp-file-name-handler'.
4565 (tramp-adb-maybe-open-connection):
4566 Use `tramp-compat-set-process-query-on-exit-flag'.
4567
4568 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4569 Use `tramp-compat-funcall'.
4570
4571 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4572 `tramp-compat-funcall'.
4573
4574 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4575
4576 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4577 reimplementation using "adb shell command ..." instead of running
4578 remote shell interactively.
4579
4580 2013-01-20 Glenn Morris <rgm@gnu.org>
4581
4582 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4583 Add native profiler menu entries.
4584
4585 * profiler.el (profiler-running-p): New function.
4586 (profiler-cpu-profile): Use profiler-running-p.
4587 (profiler-report-mode-map): Add some more menu entries.
4588
4589 2013-01-19 Glenn Morris <rgm@gnu.org>
4590
4591 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4592 fixes 2012-12-07 change. (Bug#13499)
4593
4594 2013-01-19 Leo Liu <sdl.web@gmail.com>
4595
4596 * dired.el (dired-get-marked-files): Prune erroneous values due to
4597 last change. (Bug#13152)
4598
4599 2013-01-19 Glenn Morris <rgm@gnu.org>
4600
4601 * progmodes/etags.el (tags-table-check-computed-list):
4602 Preserve point in tags buffer. (Bug#13412)
4603
4604 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4605
4606 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4607 Chong Yidong <cyd@gnu.org>
4608
4609 * image-mode.el (image-next-file, image-previous-file):
4610 New commands (Bug#8453).
4611 (image-mode-map): Bind them to n and p.
4612 (image-mode--images-in-directory): New helper function.
4613
4614 2013-01-19 Chong Yidong <cyd@gnu.org>
4615
4616 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4617 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4618 save and restore the old window configuration.
4619
4620 2013-01-18 Leo Liu <sdl.web@gmail.com>
4621
4622 * progmodes/js.el: Tweak autoload cookie for alias.
4623
4624 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4625
4626 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4627 buffer local, again. This was lost with the fix on 2013-01-12.
4628
4629 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4630
4631 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4632 order to support several eshell buffers in parallel.
4633
4634 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4635
4636 * autorevert.el (auto-revert-use-notify): In the :set function, do
4637 not modify `kill-buffer-hook'.
4638 (auto-revert-notify-rm-watch):
4639 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4640 (auto-revert-notify-add-watch): Do not call
4641 `auto-revert-notify-rm-watch', but add it to a buffer local
4642 `kill-buffer-hook'.
4643
4644 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4647 call to `eval' rather than a backquoted lambda.
4648
4649 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4652 to return an explicit nil.
4653 (advice--remove-function): Change accordingly.
4654
4655 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4656 the use of nadvice.el.
4657
4658 * progmodes/which-func.el (which-function): Silence imenu errors
4659 (bug#13433).
4660
4661 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4662
4663 * progmodes/sql.el (sql-imenu-generic-expression):
4664 (sql-mode-font-lock-object-name): Match schema qualified names.
4665 (sql-connect): Use string keys.
4666 (sql-product-interactive): Wait for interpreter prompt.
4667 (sql-comint-oracle): Set process coding based on NLS_LANG.
4668
4669 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4670
4671 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4672 (sql-interactive-remove-continuation-prompt):
4673 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4674
4675 2013-01-14 Leo Liu <sdl.web@gmail.com>
4676
4677 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4678 (Bug#13420)
4679
4680 2013-01-14 Glenn Morris <rgm@gnu.org>
4681
4682 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4683 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4684
4685 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4686
4687 * progmodes/python.el (python-nav-end-of-statement):
4688 Fix cornercase when handling multiline strings.
4689
4690 2013-01-13 Richard Stallman <rms@gnu.org>
4691
4692 * mail/sendmail.el (mail-position-on-field): Add doc string.
4693
4694 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4695 Get current message boundaries and pass them to
4696 message-forward-make-body-mime. Minor style changes.
4697
4698 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4699
4700 * cus-start.el (all): Avoid warnings about
4701 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4702
4703 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4704
4705 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4706
4707 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4710 (jit-lock--debug-fontifying): New var.
4711 (jit-lock--debug-fontify): New function.
4712 * subr.el (condition-case-unless-debug): Don't prevent catching the
4713 error, just let the debbugger run.
4714 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4715 timer code and don't drop errors silently.
4716
4717 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4718
4719 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4720 `permanent-local' property.
4721 (auto-revert-notify-handler): Use `file-equal-p'.
4722
4723 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4724
4725 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4726 file notification by ACTION. For filtering by file name, compare
4727 only the non-directory part of the file name.
4728
4729 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * autorevert.el: Use cl-lib instead of cl.
4732
4733 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4734 (vc-bzr-checkin): Use it.
4735 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4736 will preserve match-data.
4737
4738 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4739
4740 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4741 (js--declaration-keyword-re): New var.
4742 (js--multi-line-declaration-indentation): New function.
4743 (js--proper-indentation): Use it.
4744
4745 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4746
4747 * calc/calc.el (calc-highlight-selections-with-faces)
4748 (calc-dispatch):
4749 * comint.el (comint-history-isearch-message):
4750 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4751 * ffap.el (ffap-string-at-point-region, ffap-next)
4752 (ffap-string-at-point, ffap-string-around)
4753 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4754 (ffap-literally):
4755 * font-lock.el (font-lock-keywords-alist)
4756 (font-lock-removed-keywords-alist):
4757 * help-mode.el (help-xref-symbol-regexp):
4758 * info.el (Info-find-emacs-command-nodes):
4759 * international/mule.el (add-to-coding-system-list):
4760 * isearch.el (isearch-message-function, isearch-fail-pos):
4761 * misearch.el (multi-isearch-next-buffer-function):
4762 * newcomment.el (comment-box):
4763 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4764 (pr-setting-database):
4765 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4766 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4767 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4768 (pike-font-lock-keywords-3):
4769 * progmodes/compile.el (compile):
4770 * progmodes/etags.el (tags-table-files)
4771 (tags-table-files-function, tags-included-tables-function):
4772 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4773 (gdb-restore-windows):
4774 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4775 (ps-n-up-filling-database):
4776 * server.el (server-buffer, server-log):
4777 * simple.el (newline, delete-backward-char, delete-forward-char)
4778 (minibuffer-history-isearch-message, kill-line, track-eol)
4779 (temporary-goal-column):
4780 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4781 (flyspell-default-deplacement-commands):
4782 * textmodes/ispell.el (ispell-accept-output):
4783 * textmodes/sgml-mode.el (html-tag-help):
4784 * vc/compare-w.el (compare-ignore-whitespace)
4785 (compare-ignore-case, compare-windows-dehighlight):
4786 * vc/diff.el (diff):
4787 * whitespace.el (whitespace-point)
4788 (whitespace-font-lock-refontify, whitespace-bob-marker)
4789 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4790
4791 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4792
4793 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4794 (auto-revert-notify-rm-watch): Ignore errors.
4795 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4796 inotify, and '(size last-write-time) for w32notify.
4797 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4798 watch fails - this is a fallback to the file modification check.
4799 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4800 (auto-revert-notify-event-action)
4801 (auto-revert-notify-event-file-name): New defuns.
4802 (auto-revert-notify-handler): Use them. Implement first
4803 plausibility checks.
4804 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4805
4806 2013-01-11 Julien Danjou <julien@danjou.info>
4807
4808 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4809 max are almost equal. Also return the correct value for V which is
4810 already between 0 and 1.
4811
4812 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4813
4814 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4815
4816 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4817
4818 * autorevert.el (auto-revert-notify-rm-watch)
4819 (auto-revert-notify-add-watch): Fix typos in w32notify function
4820 names.
4821
4822 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4823
4824 * autorevert.el (auto-revert-notify-enabled): Move up.
4825 (auto-revert-use-notify): New defcustom.
4826 (auto-revert-mode, global-auto-revert-mode)
4827 (auto-revert-notify-add-watch, auto-revert-handler)
4828 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4829 `auto-revert-notify-enabled'.
4830
4831 2013-01-10 Elias Pipping <pipping@exherbo.org>
4832
4833 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4834 * doc-view.el (doc-view-document->bitmap):
4835 Use doc-view-single-page-converter-function instead of
4836 single-page-converter arg; adjust callers.
4837
4838 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4839
4840 * progmodes/which-func.el (which-function): Understand Semantic's use
4841 of overlays in imenu--index-alist.
4842
4843 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4844
4845 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4846 (Man-man-k-use-anchor): New var.
4847 (Man-parse-man-k): New function.
4848 (Man-completion-table): Use it.
4849 (man): Flush the completion cache between uses.
4850
4851 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4852
4853 * autorevert.el: Add file watch support.
4854 (auto-revert-notify-enabled): New defconst.
4855 (auto-revert-notify-watch-descriptor-hash-list)
4856 (auto-revert-notify-watch-descriptor)
4857 (auto-revert-notify-modified-p): New defvars.
4858 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4859 (auto-revert-notify-handler): New defuns.
4860 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4861 when mode is disabled.
4862 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4863 (auto-revert-buffers): Add file watches for active buffers.
4864
4865 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4866
4867 * cus-start.el (toplevel): Only allow float values for
4868 scroll-up-aggressively and scroll-down-aggressively.
4869 Allow any number for line-spacing.
4870
4871 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4874 (doc-view-pdf->png-converter-function): Use mupdf if available.
4875 (doc-view-djvu->png-converter-function)
4876 (doc-view-ps->png-converter-function): Remove.
4877 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4878 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4879 (doc-view-already-converted-p): Adjust accordingly.
4880 (doc-view-mode-p): Simplify.
4881 (doc-view-enlarge): Use setq-local.
4882 (doc-view-pdf->png-converter-ghostscript)
4883 (doc-view-djvu->png-converter-ddjvu)
4884 (doc-view-pdf->png-converter-mupdf): Rework to call
4885 doc-view-start-process directly.
4886 (doc-view-pdf/ps->png): Simplify accordingly.
4887 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4888 (doc-view-document->bitmap): Rename from doc-view-document->png.
4889 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4890 (doc-view-set-slice-from-bounding-box): Fix completion table.
4891 (doc-view-mode): Use add-hook for after-revert-hook.
4892
4893 2013-01-10 Glenn Morris <rgm@gnu.org>
4894
4895 * emacs-lisp/authors.el (authors-ignored-files)
4896 (authors-valid-file-names, authors-renamed-files-alist):
4897 Add some more entries.
4898
4899 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4902 `t' pseudo-window entry.
4903
4904 2013-01-10 Alan Mackenzie <acm@muc.de>
4905
4906 Fix bugs in the c-parse-state mechanism. Reuse some markers
4907 instead of continually generating new ones.
4908
4909 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4910 (c-state-old-cpp-end-marker): New variables.
4911 (c-append-lower-brace-pair-to-state-cache): Start a backward
4912 search for "}" definitively outside CPP constructs.
4913 (c-remove-stale-state-cache): Inform the caller of a need to
4914 search back for a brace pair in certain circumstances.
4915 (c-state-maybe-marker): New macro.
4916 (c-parse-state): Reuse markers when appropriate.
4917
4918 2013-01-10 Glenn Morris <rgm@gnu.org>
4919
4920 * simple.el (execute-extended-command): Doc fix.
4921 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4922
4923 2013-01-10 Chong Yidong <cyd@gnu.org>
4924
4925 * faces.el (read-face-name): Doc fix.
4926
4927 2013-01-10 Roland Winkler <winkler@gnu.org>
4928
4929 * emacs-lisp/crm.el: Allow any regexp for separators.
4930 (crm-default-separator): All spaces around the default comma separator.
4931 (crm--completion-command): New macro.
4932 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4933 (crm-complete-and-exit): Handle non-single-char separators.
4934
4935 2013-01-09 Elias Pipping <pipping@lavabit.com>
4936
4937 * doc-view.el: Add support for DjVu (bug#13164).
4938 (doc-view-djvu->png-converter-function): New config var.
4939 (doc-view-single-page-converter-function, doc-view--image-type)
4940 (doc-view--image-file-extension): New vars.
4941 (doc-view-mode): Initialize them.
4942 (doc-view-goto-page): Use them.
4943 (doc-view-mode-p): Add support for ddjvu.
4944 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4945 (doc-view-set-up-single-converter): New funs.
4946 (doc-view-pdf/ps->png): Extend for djvu.
4947 (doc-view-document->png): Rename from doc-view-pdf->png.
4948 (doc-view-convert-current-doc): Handle djvu.
4949 (doc-view-insert-image, doc-view-display)
4950 (doc-view-already-converted-p): Don't hardcode png.
4951 (doc-view-set-doc-type): Recognize djvu docs.
4952
4953 2013-01-09 Elias Pipping <pipping@lavabit.com>
4954
4955 * doc-view.el: Add support for mupdf converter (bug#13164).
4956 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4957 (doc-view-ps->png-converter-function): New config vars.
4958 (doc-view-pdf->png-converter-ghostscript)
4959 (doc-view-ps->png-converter-ghostscript)
4960 (doc-view-pdf->png-converter-mupdf): New functions.
4961 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4962
4963 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4964
4965 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4966 first in session cache: When `tramp-own-remote-path' is in
4967 `tramp-remote-path', the remote path is only set in the session
4968 cache.
4969
4970 2013-01-09 Glenn Morris <rgm@gnu.org>
4971
4972 * emacs-lisp/trace.el (trace-function-foreground)
4973 (trace-function-background): Doc fix.
4974
4975 2013-01-09 Juri Linkov <juri@jurta.org>
4976
4977 * international/mule-cmds.el (read-char-by-name): Move let-binding
4978 of completion-ignore-case around completing-read to fix regression
4979 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4980 `string-match-p' using the nil value of `case-fold-search' and
4981 `completion-ignore-case' in `completion-pcm--all-completions'.
4982 (Bug#12615).
4983
4984 2013-01-09 Glenn Morris <rgm@gnu.org>
4985
4986 * progmodes/compile.el (compilation-parse-errors):
4987 Fix typo. (Bug#13369)
4988
4989 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4990
4991 * comint.el (comint-send-input): Check size of buffer before
4992 waiting for process output, in case already accepted. (Bug#13290)
4993
4994 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4995
4996 Spelling fixes.
4997 * net/tramp-adb.el (tramp-adb-get-toolbox):
4998 Fix misspelling of 'unknown'.
4999
5000 2013-01-08 Juri Linkov <juri@jurta.org>
5001
5002 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5003 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5004 Use underline style wave on terminals that support it. (Bug#13000)
5005
5006 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5009 the predicate returns nil.
5010
5011 * simple.el: Use lexical-binding.
5012 (primitive-undo): Use pcase.
5013 (minibuffer-history-isearch-push-state): Use a closure.
5014
5015 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5016
5017 * simple.el (primitive-undo): Move from undo.c.
5018
5019 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5022 (cvs-mode-remove-handled): Use it (bug#13380).
5023
5024 * emacs-lisp/nadvice.el (advice--tweak): New function.
5025 (advice--remove-function, advice--subst-main): Use it.
5026
5027 * emacs-lisp/advice.el: Update commentary.
5028
5029 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5030
5031 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5032 Remove spurious entry.
5033
5034 2013-01-08 Glenn Morris <rgm@gnu.org>
5035
5036 * net/tramp.el (tramp-default-host-alist): Add :version.
5037
5038 2013-01-08 Juri Linkov <juri@jurta.org>
5039
5040 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5041 single completion. (Bug#12456)
5042 (info--manual-names): Expand node completions into an explicit list
5043 before appending it to another list. Filter out internal buffers
5044 with the leading space in the buffer name. (Bug#10771)
5045
5046 2013-01-08 Juri Linkov <juri@jurta.org>
5047
5048 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5049 that defaults to the Top node.
5050 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5051 the short format (FILENAME) goes to the Top node.
5052 (Info-build-node-completions): Rename arg `file' to `filename'.
5053 (Bug#13365)
5054
5055 2013-01-07 Bastien Guerry <bzg@gnu.org>
5056
5057 * menu-bar.el (menu-bar-search-documentation-menu):
5058 Use `apropos-user-option' and fix the help message.
5059
5060 2013-01-07 Bastien Guerry <bzg@gnu.org>
5061
5062 * apropos.el (apropos-do-all): Update docstring.
5063 (apropos-user-option-button): New face.
5064 (apropos-user-option): Rename from `apropos-variable' and update
5065 docstring.
5066 (apropos-variable): Rewrite, now show all variables by default.
5067 (apropos-print): Mention "User option" instead of "Variable" when
5068 printing doc for user options. (Bug#13276)
5069
5070 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
5071
5072 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5073 Handle filename correctly, when parsing "source -> target" symlink
5074 output.
5075 (tramp-adb-handle-set-file-times): New defun.
5076
5077 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5080 advice list when the interactive-spec of ad-Advice-* changes.
5081
5082 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5083
5084 * wid-edit.el (widget-default-get): Work for inlined elements.
5085 (Bug#12670)
5086
5087 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5088
5089 * net/tramp.el (tramp-default-host-alist): New defcustom.
5090 (tramp-find-host): Use it.
5091 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5092 `eshell-directory-change-hook'.
5093
5094 * net/tramp-adb.el (top): Add adb specific entry in
5095 `tramp-default-host-alist'.
5096 (tramp-adb-file-name-host): Remove function.
5097 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5098 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5099
5100 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5101
5102 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
5103
5104 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5105
5106 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5107
5108 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5109 consist of more than one digit.
5110 (tramp-adb-file-name-handler-alist):
5111 Use `tramp-handle-file-exists-p' consistently.
5112 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5113 (tramp-adb-handle-file-exists-p): Remove function.
5114 (tramp-adb-file-name-host): New defun.
5115 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5116 Use it.
5117 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5118
5119 2013-01-06 Chong Yidong <cyd@gnu.org>
5120
5121 * vc/vc.el (vc-next-action): Detect buffer modifications
5122 conflicting with locking VCS operation (Bug#11490).
5123
5124 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5125
5126 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5127
5128 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5129 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5130
5131 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5132
5133 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5134 parsing of ls output using regular expression (handle filenames
5135 with spaces). Use virtual device number.
5136 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5137 cleanup).
5138
5139 2013-01-04 Daiki Ueno <ueno@gnu.org>
5140
5141 * epg.el: Silence byte-compiler warnings.
5142 (epg--start): Use delete-char instead of delete-backward-char.
5143 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5144
5145 2013-01-04 Daiki Ueno <ueno@gnu.org>
5146
5147 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5148 Suggested by Eli Zaretskii <eliz@gnu.org>.
5149
5150 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5151
5152 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5153 non-negative integers. Otherwise, the default values are used.
5154 (tramp-convert-file-attributes): Convert uid and gid to integers.
5155
5156 2013-01-04 Glenn Morris <rgm@gnu.org>
5157
5158 * term.el (term-handle-colors-array): Ensure face attributes
5159 are fully specified, not nil. (Bug#13337)
5160
5161 * term.el (term-default-fg-color, term-default-bg-color):
5162 Fix custom type.
5163
5164 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5165 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5166 rather than 'jka-compr being loaded. (Bug#13338)
5167
5168 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5169
5170 * icomplete.el (icomplete-completions):
5171 Honor icomplete-prospects-height once more following
5172 2012-11-29 changes. (Bug#13224)
5173
5174 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5177 of called-interactively-p as well (bug#13237).
5178
5179 * view.el (view--enable, view--disable): Rename from view-mode-enable
5180 and view-mode-disable and assume it's called from view-mode.
5181 (view-mode-enable, view-mode-disable): Redefine as obsolete
5182 compatibility layer above view-mode.
5183 (view-mode-enter): Call `view-mode'.
5184
5185 * files.el (after-find-file): Call `view-mode'.
5186
5187 * doc-view.el (doc-view-scale-internally): New var.
5188 (doc-view-enlarge, doc-view-insert-image): Obey it.
5189
5190 2013-01-03 Daiki Ueno <ueno@gnu.org>
5191
5192 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5193 exist. (Bug#13344)
5194
5195 2013-01-03 Glenn Morris <rgm@gnu.org>
5196
5197 * mail/rmail.el (rmail-set-header-1): Ignore case.
5198 Handle multi-line headers. (Bug#13330)
5199
5200 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5201 Handle paragraph starting at beginning of buffer.
5202
5203 * subr.el (eval-after-load): Don't purecopy the form, so that it
5204 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5205
5206 * emacs-lisp/byte-run.el (defun): Place cl declarations
5207 after any interactive spec. (Bug#13265)
5208
5209 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5210
5211 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5212 defun. Don't check for DECL if DOCSTRING isn't a string.
5213 (defun): Likewise.
5214
5215 2013-01-02 Glenn Morris <rgm@gnu.org>
5216
5217 * eshell/em-cmpl.el (eshell-pcomplete):
5218 More thoroughly imitate pcomplete. (Bug#13293)
5219
5220 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5221 Return nil for empty path elements. (Bug#13296)
5222
5223 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5224
5225 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5226 order to improve efficiency (Based on Daniel Colascione's
5227 <dancol@dancol.org> patch). (Bug#13182)
5228
5229 2013-01-02 Glenn Morris <rgm@gnu.org>
5230
5231 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5232
5233 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5234
5235 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5236 neither DOCSTRING nor DECL was given. (Bug#13316)
5237
5238 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5239
5240 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5241 `error' call.
5242 (tramp-do-copy-or-rename-file): Ignore errors when calling
5243 `set-file-extended-attributes'.
5244
5245 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5246 Add handler for `file-acl'.
5247 (tramp-smb-handle-file-acl): New defun.
5248
5249 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5250
5251 * calc/README: Mention ISO 8601 week-numbering dates.
5252
5253 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5254
5255 * view.el (view-mode-enable): New argument run-view-mode-hook.
5256 Run view-mode-hook only when it's non-nil (Bug#13315).
5257 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5258 argument t.
5259
5260 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5261
5262 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5263 (No device connected, invalid device name). (Bug #13299)
5264
5265 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5266
5267 * window.el (window-resizable--p): Rename to window-resizable-p.
5268 (window-resize-no-error): New function.
5269
5270 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5271 broken in fix from 2012-12-28.
5272
5273 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * subr.el (special-form-p): Don't signal errors on undef aliases.
5276
5277 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5278
5279 * calc/calc-forms.el (math-parse-date): Try using
5280 `math-parse-iso-date' when it looks like it might be needed.
5281 Allow times of 24:00.
5282 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5283 of 24:00.
5284
5285 2012-12-30 Glenn Morris <rgm@gnu.org>
5286
5287 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5288 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5289 (rmail-summary-displayed, rmail-summary): Declare.
5290 (mairix-rmail-display): Just require rmail.
5291
5292 2012-12-30 Chong Yidong <cyd@gnu.org>
5293
5294 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5295 check for the tarball contents.
5296
5297 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5298
5299 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5300 tarfile content listings (Bug#13136).
5301
5302 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5303
5304 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5305 Insert the undecoded text of the message being forwarded. (Bug#9521)
5306
5307 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5308
5309 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5310 integers, if they are real numbers. (Bug#13282)
5311
5312 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5313 Return `t' on success.
5314
5315 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5316 Add handler for `set-file-selinux-context'.
5317
5318 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5319
5320 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5321 (tramp-sh-handle-set-file-acl): Return `t' on success.
5322
5323 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5324
5325 * files.el (backup-buffer-copy, basic-save-buffer-2):
5326 If set-file-extended-attributes fails, fall back on set-file-modes
5327 instead of signaling an error. (Bug#13298)
5328 (basic-save-buffer): Likewise.
5329
5330 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5331
5332 * progmodes/python.el: Support other commands triggering
5333 python-indent-line so indentation cycling continues to work.
5334 (python-indent-trigger-commands): New defcustom.
5335 (python-indent-line): Use it.
5336
5337 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5338
5339 * progmodes/python.el (python-shell-send-region): Add blank lines
5340 for non sent code so backtraces remain correct.
5341
5342 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5343
5344 * progmodes/python.el: Remove cl dependency.
5345 (python-syntax-count-quotes): Replace incf call.
5346 (python-fill-string): Replace setf call.
5347
5348 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5349
5350 * info.el (info-other-window): New arg, for consistency with info.
5351
5352 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5353
5354 * mail/rmail.el (rmail-maybe-display-summary):
5355 Rewrite (Bug#13066).
5356
5357 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5358
5359 * epg.el (epg--start): Modify process-environment locally.
5360
5361 2012-12-28 Daiki Ueno <ueno@gnu.org>
5362
5363 * epg.el: Support pinentry-curses.
5364 Suggested by Werner Koch in
5365 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5366 (epg-agent-file, epg-agent-mtime): New variable.
5367 (epg--start): Record the modified time of gpg-agent socket file,
5368 to restore Emacs frame after pinentry-curses termination.
5369 (epg-wait-for-completion): Restore Emacs frame here.
5370
5371 2012-12-27 Juri Linkov <juri@jurta.org>
5372
5373 * info.el (Info-file-completions): New variable.
5374 (Info-read-node-name-1): Complete node names in the Info file
5375 when a file name is given. Call `Info-build-node-completions'
5376 with a file name.
5377 (Info-build-node-completions): Add new arg `file'. When it is
5378 non-nil, visit it in a temporary buffer and cache its completions in
5379 `Info-current-file-completions'. Move most of the function body to
5380 `Info-build-node-completions-1'.
5381 (Info-build-node-completions-1): New function with the body from
5382 `Info-build-node-completions'. (Bug#12456)
5383
5384 2012-12-27 Juri Linkov <juri@jurta.org>
5385
5386 * frame.el (frame-maximization-style): Remove user option.
5387 (cycle-frame-maximized): Remove function.
5388 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5389 (toggle-frame-fullscreen): New command bound to <f11> instead of
5390 `toggle-frame-maximized'.
5391 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5392
5393 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5394
5395 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5396
5397 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5398 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5399 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5400 for `file-accessible-directory-p'. (Bug#13275)
5401
5402 2012-12-27 Sam Steingold <sds@gnu.org>
5403
5404 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5405 continuations, see <http://stackoverflow.com/questions/3582436>.
5406
5407 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5408
5409 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5410 "module" and "def" to have indentation before them.
5411 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5412
5413 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5414
5415 2012-12-27 Alan Mackenzie <acm@muc.de>
5416
5417 Speed up fontification where there's large brace blocks.
5418 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5419 to a call of c-beginning-of-decl-1.
5420
5421 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5422
5423 * comint.el (comint-adjust-window-point): New function.
5424 (comint-postoutput-scroll-to-bottom):
5425 Call comint-adjust-window-point (Bug#13248).
5426
5427 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5428
5429 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5430 Rakefile regexp.
5431 (auto-mode-alist): Associate .gemspec files with ruby-mode
5432 (https://bugs.ruby-lang.org/issues/5453).
5433
5434 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5435
5436 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5437 Suppress coloring, if possible (required for BusyBox based systems like
5438 CyanogenMod).
5439 (tramp-adb-handle-file-attributes)
5440 (tramp-adb-handle-insert-directory)
5441 (tramp-adb-handle-file-name-all-completions): Use it.
5442 (tramp-adb-get-toolbox): New defun. Check for remote shell
5443 implementation (BusyBox or Toolbox).
5444
5445 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5446
5447 * startup.el (initial-buffer-choice): Allow function as value
5448 (Bug#13251).
5449 (command-line-1): Handle case where initial-buffer-choice
5450 specifies a function.
5451 * server.el (server-execute): Handle case where
5452 initial-buffer-choice specifies a function.
5453
5454 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5455
5456 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5457 its own function.
5458 (smtpmail-try-auth-methods): Forget the user name/password if the
5459 login is unsuccessful (bug#12424).
5460
5461 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5462
5463 * notifications.el (notifications-notify): Protect body with
5464 `with-demoted-errors'.
5465
5466 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5467 Check properties of remote device. Restart connection, if there is a
5468 change.
5469
5470 2012-12-21 Chong Yidong <cyd@gnu.org>
5471
5472 * sort.el (sort-subr): Doc fix (Bug#13056).
5473
5474 2012-12-21 Bastien Guerry <bzg@gnu.org>
5475
5476 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5477
5478 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5479
5480 * simple.el (process-file): Overwrite stderr file, if exists.
5481
5482 2012-12-21 Daiki Ueno <ueno@gnu.org>
5483
5484 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5485 (epg-error): Set `error-message' property.
5486
5487 2012-12-21 Chong Yidong <cyd@gnu.org>
5488
5489 * international/mule-cmds.el (read-char-by-name): Signal an error
5490 if the user does not supply a valid character (Bug#13177).
5491
5492 * simple.el (transpose-subr-1): Preserve marker positions by
5493 changing the insertion sequence (Bug#13122).
5494
5495 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5496
5497 * simple.el (kill-region): Deactivate mark even for empty regions
5498 (Bug#13169).
5499
5500 2012-12-21 Chong Yidong <cyd@gnu.org>
5501
5502 * help-fns.el (describe-variable): Make sure we get the right
5503 buffer name (Bug#13105). Suggested by Kelly Dean.
5504
5505 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5506
5507 * comint.el (comint-redirect-previous-input-string): New variable.
5508 (comint-redirect-setup, comint-redirect-cleanup)
5509 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5510 (comint-redirect-preoutput-filter): Fix verbose message.
5511
5512 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5513
5514 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5515 is too long for Tramp. See discussion in
5516 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5517
5518 * progmodes/compile.el (compilation-start): Remove line escape
5519 template.
5520
5521 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5522
5523 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5524 Adjust comment.
5525
5526 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5527
5528 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5529 following non-comment text (bug#13207).
5530 (lm-header-multiline): Continuation lines need to be indented more than
5531 the first line.
5532 (lm-homepage): New function.
5533 (lm-with-file): Don't be confused if narrowing is in effect.
5534
5535 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5538 very beginning of a hunk (e.g. killing the first line).
5539
5540 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5541
5542 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5543 and text properties from returned ACL string.
5544 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5545 for "setfacl" command.
5546
5547 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5548
5549 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5550 `tramp-cleanup-this-connection', when the process has died.
5551 (Bug#13151)
5552
5553 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5556
5557 2012-12-17 Kevin Ryde <user42@zip.com.au>
5558
5559 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5560
5561 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5562
5563 Add support for preserving ACL entries of files.
5564
5565 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5566 `set-file-acl' handlers.
5567
5568 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5569 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5570
5571 * net/tramp-compat.el (tramp-compat-copy-file):
5572 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5573
5574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5575 Add `file-acl' and `set-file-acl' handlers.
5576 (tramp-gvfs-handle-copy-file):
5577 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5578 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5579 New defuns.
5580
5581 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5582 Add `file-acl' and `set-file-acl' handlers.
5583 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5584 (tramp-sh-handle-set-file-acl): New defuns.
5585 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5586 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5587
5588 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5589 Add `file-acl' and `set-file-acl' handlers.
5590 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5591
5592 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5593
5594 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5595 use pop-to-buffer with NORECORD argument t. As buffer name, use
5596 *Metahelp* with a leading space (Bug#13190).
5597
5598 2012-12-16 Romain Francoise <romain@orebokech.com>
5599
5600 * files.el (file-extended-attributes)
5601 (set-file-extended-attributes): New functions.
5602 (backup-buffer): Use them to handle both SELinux context and ACL
5603 entries.
5604 (backup-buffer-copy): Work with an alist of extended attributes,
5605 rather than an SELinux context.
5606 (basic-save-buffer-2): Ditto.
5607
5608 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5609
5610 * battery.el (battery-bsd-apm): New function.
5611
5612 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5613
5614 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5615 standard date formats.
5616
5617 2012-12-15 Juri Linkov <juri@jurta.org>
5618
5619 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5620 `isearch-insert-char-by-name'.
5621 (with-isearch-suspended): New defmacro with body mostly from
5622 `isearch-edit-string' except the part that sets
5623 `isearch-new-string' and `isearch-new-message'.
5624 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5625 body that sets `isearch-new-string' and `isearch-new-message'.
5626 (isearch-insert-char-by-name): New command.
5627 * international/mule-cmds.el (read-char-by-name): Let-bind
5628 `enable-recursive-minibuffers' to t.
5629 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5630
5631 2012-12-15 Juri Linkov <juri@jurta.org>
5632
5633 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5634 (Bug#13175)
5635
5636 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5637
5638 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5639 the prompt. (Bug#13045)
5640
5641 2012-12-14 Glenn Morris <rgm@gnu.org>
5642
5643 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5644 Try to include filename in non-bytecomp warning. (Bug#13132)
5645
5646 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5647
5648 Fix permissions bugs with setgid directories etc. (Bug#13125)
5649 * files.el (backup-buffer): Don't rely on 9th output of
5650 file-attributes, as it's now a placeholder. Instead, use the new
5651 optional arg of file-ownership-preserved-p.
5652 (file-ownership-preserved-p): New optional arg GROUP.
5653 Fix mishandling of setuid directories that would cause this
5654 function to return t when it should have returned nil.
5655 Document what happens if the file does not exist, and when
5656 it's not known whether the ownership will be preserved.
5657 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5658 Likewise.
5659 (tramp-get-local-gid): Use group-gid for integer, as that's
5660 faster and more reliable.
5661
5662 2012-12-14 Julien Danjou <julien@danjou.info>
5663
5664 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5665 Update keywords list, data type and PL/pgSQL.
5666
5667 2012-12-14 Dave Abrahams <dave@boostpro.com>
5668
5669 * vc/ediff-util.el (ediff-buffer-type): New function.
5670 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5671 rather than taking it as as argument.
5672 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5673
5674 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5675
5676 * json.el: Add pretty-print option (bug#12634).
5677 (json-encoding-separator, json-encoding-default-indentation)
5678 (json--encoding-current-indentation, json-encoding-pretty-print)
5679 (json-encoding-lisp-style-closings): New vars.
5680 (json--with-indentation): New macro.
5681 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5682 (json-encode-array): Use it to obey json-encoding-pretty-print.
5683 (json-pretty-print-buffer, json-pretty-print): New commands.
5684
5685 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5686
5687 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5688 Extract `ruby-syntax-propertize-expansions'.
5689 (ruby-syntax-propertize-expansions): Only change syntax on
5690 certain string delimiters, to punctuation. This way the common
5691 functions like forward-word and thing-at-point still work.
5692 (ruby-match-expression-expansion): Improve readability.
5693 (ruby-block-contains-point): New function.
5694 (ruby-add-log-current-method): Handle several edge cases.
5695
5696 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5697
5698 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5699 unload-feature finishes even when aborting an ongoing edebug session.
5700 Also, do not worry about edebug-mode, unload-feature takes care of it.
5701
5702 2012-12-13 Andreas Schwab <schwab@suse.de>
5703
5704 * net/tls.el (tls-program): Update customize type.
5705
5706 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5707
5708 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5709 (edebug-setup-hook, cl-read-load-hooks): Use it.
5710 (edebug-unload-function): New function. (Bug#13163)
5711
5712 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5713
5714 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5715 Otherwise, there could be errors in autoloading. (Bug#13151)
5716
5717 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5718
5719 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5720 sequences.
5721
5722 2012-12-13 Alan Mackenzie <acm@muc.de>
5723
5724 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5725 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5726 around `forward-comment' not recognizing ^M as whitespace.
5727
5728 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5729
5730 * progmodes/python.el (python-skeleton-class)
5731 (python-skeleton-def): Do not add space after defun name.
5732
5733 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5736 (cl--symbol-function): Remove (now that funbound is like nil).
5737
5738 2012-12-12 Glenn Morris <rgm@gnu.org>
5739
5740 * button.el (button--area-button-p): Fix typo.
5741
5742 2012-12-12 Sam Steingold <sds@gnu.org>
5743
5744 * frame.el (frame-maximization-style): New user option.
5745 (toggle-frame-maximized): Toggle frame maximization according to
5746 `frame-maximization-style', bound to <f11>.
5747 (cycle-frame-maximized): Cycle between all maximization styles and
5748 non-maximized frame, bound to shift-<f11>.
5749
5750 2012-12-12 David Cadé <codename68@gmail.com>
5751
5752 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5753
5754 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5755
5756 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5757 (eieio-override-prin1): Don't quote kewords and booleans.
5758 (object-write) <eieio-default-superclass>: Don't put closing parens
5759 on new line, avoid needless empty lines, align values that are objects
5760 with the slot keyword (instead of beginning on the same line).
5761 (eieio-list-prin1): Align value with slot keyword; increase
5762 eieio-print-depth before printing members of the list.
5763
5764 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5767 a display text-property.
5768 (report-emacs-bug-hook): Don't bother deleting it any more.
5769
5770 * hilit-chg.el (highlight-save-buffer-state): Delete.
5771 Use with-silent-modifications instead.
5772 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5773
5774 * button.el: Handle buttons in display text-properties.
5775 (button--area-button-p, button--area-button-string):
5776 Use (STRING . STRING-POS) representation instead of just STRING.
5777
5778 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5779
5780 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5781 subdirectory be skipped.
5782
5783 2012-12-11 Glenn Morris <rgm@gnu.org>
5784
5785 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5786
5787 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5788 Treat preprocessor lines embedded in continuations like comments.
5789 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5790
5791 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5792
5793 * calc/calc.el (calc-standard-date-formats): Add more date
5794 formats.
5795 * calc/calc-forms.el (math-parse-iso-date): New function.
5796 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5797 (math-parse-iso-date-validate): Add extra error checking.
5798 (calc-date-notation): Add ability to access new date formats.
5799
5800 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5803 font-lock as well as when there's no text-property.
5804
5805 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5806
5807 * hi-lock.el: Refine the choice of default face.
5808 (hi-lock-keyword->face): New function. Use it wherever we used
5809 cadadadr instead.
5810 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5811 (hi-lock--last-face): Remove var.
5812 (hi-lock--unused-faces): New var to replace it.
5813 (hi-lock-read-face-name): Use/maintain it.
5814 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5815 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5816 if it has another face.
5817
5818 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5819
5820 * subr.el (w32notify-handle-event): New function.
5821 (inotify-handle-event): Doc fix.
5822
5823 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5824
5825 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5826
5827 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5828
5829 * simple.el (just-one-space): Doc fix.
5830
5831 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5832
5833 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5834
5835 2012-12-10 Le Wang <l26wang@gmail.com>
5836
5837 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5838 narrowed buffer (bug#12361).
5839
5840 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5841
5842 * vc/vc-hooks.el (vc-state): Doc fix.
5843
5844 2012-12-10 Glenn Morris <rgm@gnu.org>
5845
5846 * mail/rmail.el (rmail-maybe-display-summary):
5847 Preserve buffer, in case select-window changes it. (Bug#13066)
5848
5849 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5852 cl-load-hook where they belong.
5853
5854 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5857
5858 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5859
5860 Parallelize byte compilation on MS-Windows.
5861 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5862 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5863 (WINS_BASIC): Define as concatenation of the above.
5864 (compile): Subdivide into 4 separate and independent jobs that can
5865 be run in parallel.
5866 (compile0-CMD, compile0-SH): New targets for compiling
5867 COMPILE_FIRST files, which are prerequisites for the rest of the
5868 byte-compilation.
5869 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5870 New targets for parallel compilation with cmd.exe.
5871 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5872 compiling under a Unixy shell.
5873
5874 2012-12-09 Chong Yidong <cyd@gnu.org>
5875
5876 * simple.el (set-mark-default-inactive): Delete this
5877 accidentally-introduced option.
5878 (set-mark-command, exchange-point-and-mark): Remove calls.
5879
5880 2012-12-09 Glenn Morris <rgm@gnu.org>
5881
5882 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5883 Respect a defcustom's :set function, if appropriate. (Bug#109)
5884 (eval-defun): Doc fix.
5885
5886 2012-12-08 Juri Linkov <juri@jurta.org>
5887
5888 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5889 (Info-fontify-node, Info-bookmark-make-record): Remove the
5890 file extension from Info-current-file (Bug#13016).
5891
5892 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5893
5894 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5895 point, still provide some default.
5896 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5897 names, since we don't use it right now. Actually return the list.
5898 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5899
5900 2012-12-07 Chong Yidong <cyd@gnu.org>
5901
5902 * novice.el (disabled-command-function): Remove a spurious help
5903 xref (Bug#13043). Suggested by Kelly Dean.
5904
5905 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5906 syntax is specified (Bug#13025).
5907
5908 * info.el (Info-set-mode-line): Remove the file extension from
5909 Info-current-file if there is one (Bug#13016).
5910
5911 2012-12-07 Glenn Morris <rgm@gnu.org>
5912
5913 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5914 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5915 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5916 and rmail-mime-decoded. (Bug#9841)
5917
5918 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5919 (batch-unrmail, unrmail): Doc fixes.
5920 (unrmail): Respect unrmail-mbox-format.
5921 * mail/rmail.el (rmail-mbox-format): New option.
5922 (rmail-show-message-1): Respect rmail-mbox-format.
5923
5924 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5927
5928 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5931 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5932 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5933 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5934 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5935 (cl-progv): Don't rely on dynamic scoping to find the body.
5936 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5937 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5938 (cl-declaim): Use backquotes.
5939 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5940 Use "cl--" prefix for the object's tag.
5941
5942 * ses.el: Use advice-add/remove.
5943 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5944 (copy-region-as-kill, yank): Use advice-add.
5945 (ses-unload-function): Use advice-remove.
5946
5947 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5948
5949 * button.el: Make them work in header-lines (bug#12817).
5950 (button-map): Add bindings for header-line and mode-line use.
5951 (button-get, button-put, button-label): `button' may now be a string.
5952 (button-activate): Don't make it a defsubst.
5953 (button--area-button-p, button--area-button-string): New functions.
5954 (make-text-button): Fix the return value when `beg' was a string.
5955 (push-button): Handle the mode-line case.
5956
5957 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5960 (sql-signum): Remove. Use `cl-signum' instead.
5961 (sql-read-passwd): Remove; use read-passwd instread.
5962 (sql-get-login-ext): Use read-string.
5963 (sql-get-login): Use dolist and pcase.
5964 (sql--completion-table): Rename from sql-try-completion.
5965 Use complete-with-action.
5966 (sql-mode): Don't change abbrev-all-caps globally.
5967 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5968 (sql-postgres-completion-object): Initialize vars in their `let'.
5969 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5970 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5971 (sql-comint-interbase): Use a single append, without setq.
5972 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5973
5974 * hi-lock.el: Rework the default face and the serialize regexp code.
5975 (hi-lock--auto-select-face-defaults): Remove.
5976 (hi-lock-string-serialize-serial): Remove.
5977 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5978 make weak.
5979 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5980 equal string.
5981 (hi-lock-set-pattern): Adjust accordingly.
5982 (hi-lock--regexps-at-point): Simplify accordingly.
5983 (hi-lock--auto-select-face-defaults): Remove.
5984 (hi-lock--last-face): New var to replace it.
5985 (hi-lock-read-face-name): Rewrite (bug#11095).
5986 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5987
5988 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5989
5990 * net/tramp.el (tramp-replace-environment-variables):
5991 Hide compiler warning.
5992 (tramp-file-name-for-operation): Remove `executable-find',
5993 `start-process', `call-process' and `call-process-region'.
5994
5995 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5996
5997 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5998 compatibility.
5999
6000 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6001
6002 2012-12-06 Chong Yidong <cyd@gnu.org>
6003
6004 * ffap.el (ffap-replace-file-component): Fix typo.
6005
6006 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6009 fix open-paren-like token test (bug#12785).
6010
6011 2012-12-06 Glenn Morris <rgm@gnu.org>
6012
6013 * mail/rmailsum.el (rmail-new-summary): Tweak for
6014 rmail-maybe-display-summary changing buffer. (Bug#13066)
6015
6016 2012-12-06 Juri Linkov <juri@jurta.org>
6017
6018 * info.el (Info-fontify-node): Don't hide the last newline.
6019 (Bug#12272)
6020
6021 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6022
6023 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6024 so as to enable message-read-from-minibuffer to expand mail aliases.
6025
6026 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6029 the `intangible' property.
6030 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6031
6032 2012-12-05 Deniz Dogan <deniz@dogan.se>
6033
6034 * net/rcirc.el (rcirc-urls): Update documentation.
6035 (rcirc-condition-filter): New function.
6036 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6037 and exclude consecutive duplicate URLs (Bug#6082).
6038
6039 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6040
6041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6042 Check return code of copy command.
6043
6044 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6045 Use group `tramp'. Add version.
6046
6047 2012-12-05 Chong Yidong <cyd@gnu.org>
6048
6049 * ffap.el (ffap-url-regexp): Don't require matching at front of
6050 string (Bug#4952).
6051 (ffap-url-p): If only a substring matches, return that.
6052 (ffap-url-at-point): Use the return value of ffap-url-p.
6053 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6054 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6055 (ffap-guess-file-name-at-point): Likewise.
6056 (ffap-replace-file-component): Fix typo.
6057
6058 * info.el (info-display-manual): Add existing Info buffers, whose
6059 files may not be in Info-directory-list, to the completion.
6060 (info--manual-names): New helper function.
6061
6062 2012-12-05 Glenn Morris <rgm@gnu.org>
6063
6064 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6065 New functions, for detecting and resolving conflicts. (Bug#10709)
6066
6067 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6068
6069 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6070 (hi-lock-auto-select-face-defaults): New buffer local variable.
6071 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6072 (hi-lock-unface-buffer): Prompt user with useful defaults.
6073 With prefix arg, unhighlight all hi-lock patterns in buffer.
6074
6075 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6076
6077 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6078
6079 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6080
6081 * Makefile.in (TRAMP_SRC):
6082 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6083
6084 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6085
6086 * net/tramp-adb.el: New package.
6087
6088 2012-12-04 Chong Yidong <cyd@gnu.org>
6089
6090 * terminal.el: Move to obsolete/.
6091
6092 * longlines.el: Move to obsolete/.
6093
6094 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6095 Remove code referring to longlines mode.
6096
6097 2012-12-03 Juri Linkov <juri@jurta.org>
6098
6099 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6100
6101 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6102
6103 * textmodes/ispell.el (ispell-init-process)
6104 (ispell-start-process, ispell-internal-change-dictionary):
6105 Make sure personal dictionary name is expanded after initial
6106 `default-directory' value. Use expanded strings for
6107 keep/restart checks and for value (Bug#13019).
6108
6109 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6110
6111 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6112
6113 2012-12-03 Leo Liu <sdl.web@gmail.com>
6114
6115 * files.el (dir-locals-read-from-file): Check file non-empty
6116 before reading. (Bug#13038)
6117
6118 2012-12-03 Glenn Morris <rgm@gnu.org>
6119
6120 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6121 Remove any version extension before checking filename. (Bug#13006)
6122 (jka-compr-compression-info-list): Belated :version bump.
6123
6124 2012-12-03 Chong Yidong <cyd@gnu.org>
6125
6126 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6127
6128 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6129 (buffer-menu): Doc fix (Bug#12294).
6130
6131 2012-12-03 Roland Winkler <winkler@gnu.org>
6132
6133 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6134 of diary-show-all-entries in the diary buffer (Bug#12994).
6135
6136 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6137
6138 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6139 "<STDIN>". This is binary safe.
6140
6141 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6142
6143 * calc/calc-forms.el (math-absolute-from-iso-dt)
6144 (math-date-to-iso-dt, math-parse-iso-date-validate)
6145 (math-iso-dt-to-date): New functions.
6146 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6147 (math-fd-isoweekday): New variables.
6148 (calc-date-notation, math-parse-standard-date, math-format-date)
6149 (math-format-date-part): Add support for more formatting codes.
6150
6151 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6152
6153 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6154 current buffer's file name when called interactively (Bug#12488).
6155
6156 2012-12-02 Juri Linkov <juri@jurta.org>
6157
6158 * info.el (info-display-manual): Don't clobber an existing Info
6159 buffer (Bug#10770). Add completion (Bug#10771).
6160
6161 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6162
6163 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6164 before using it for comparison (Bug#5297).
6165
6166 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6167
6168 * textmodes/css-mode.el (css-current-defun-name): New function.
6169 (css-mode): Use it.
6170
6171 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6172 (html-mode): Use it.
6173
6174 2012-12-01 Chong Yidong <cyd@gnu.org>
6175
6176 Modularize add-log-current-defun (Bug#2224).
6177 Suggested by Jari Aalto.
6178
6179 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6180 (add-log-current-defun): Move mode-specific code to other files.
6181 (add-log-lisp-like-modes, add-log-c-like-modes)
6182 (add-log-tex-like-modes): Variables deleted.
6183
6184 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6185 (lisp-mode-variables): Use it.
6186
6187 * progmodes/cc-mode.el (c-common-init):
6188 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6189 add-log-current-defun-function.
6190
6191 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6192 (m4-mode): Use it.
6193
6194 * progmodes/perl-mode.el (perl-current-defun-name): New.
6195 (perl-mode): Use it.
6196
6197 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6198 Use lisp-current-defun-name.
6199
6200 * textmodes/tex-mode.el (tex-current-defun-name): New.
6201 (tex-common-initialization): Use it.
6202
6203 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6204 (texinfo-mode): Use it.
6205
6206 2012-12-01 Chong Yidong <cyd@gnu.org>
6207
6208 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6209 * progmodes/autoconf.el (autoconf-mode):
6210 * progmodes/js.el (js-mode):
6211 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6212 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6213 * progmodes/perl-mode.el (perl-mode):
6214 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6215 * textmodes/css-mode.el (css-mode):
6216 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6217 (sgml-tags-invisible, sgml-guess-indent):
6218 * textmodes/tex-mode.el (tex-common-initialization)
6219 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6220 (doctex-mode, plain-tex-mode, latex-mode):
6221 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6222
6223 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6224
6225 * vc/vc-hg.el (vc-hg-next-revision):
6226 Ensure use of default "tip" output format. (Bug#6968)
6227
6228 2012-12-01 Kim F. Storm <storm@cua.dk>
6229
6230 * startup.el (fancy-startup-tail): Add a clickable link
6231 (Bug#2176).
6232
6233 2012-12-01 Chong Yidong <cyd@gnu.org>
6234
6235 * startup.el (fancy-startup-tail): Improve the message about
6236 auto-save files (Bug#2176).
6237
6238 * files.el (recover-session): Improve the descriptive message, and
6239 use substitute-command-keys.
6240
6241 2012-12-01 Glenn Morris <rgm@gnu.org>
6242
6243 * ido.el (ido-file-internal):
6244 Handle other-window, other-frame for dired. (Bug#13036)
6245
6246 2012-11-30 Glenn Morris <rgm@gnu.org>
6247
6248 * icomplete.el (icomplete-separator): Fix :version.
6249
6250 2012-11-30 Chong Yidong <cyd@gnu.org>
6251
6252 * shell.el (shell): For C-u M-x shell, use an inactive shell
6253 buffer as the default (Bug#1975).
6254 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6255 (shell-mode): Use them to reapply ansi colorization if Shell mode
6256 is re-enabled.
6257
6258 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6259
6260 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6261
6262 2012-11-30 Samuel Bronson <naesten@gmail.com>
6263
6264 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6265 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6266
6267 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6268
6269 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6270 by move-to-column (Bug#3234).
6271
6272 2012-11-30 Chong Yidong <cyd@gnu.org>
6273
6274 * longlines.el (longlines-wrap-line, longlines-encode-region):
6275 Preserve text properties (Bug#1425).
6276
6277 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6278
6279 * vc/vc.el (vc-register): Allow registering a file which is
6280 already registered with a different backend (Bug#10589).
6281
6282 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6283 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * icomplete.el: Change separator; add ido-style commands.
6286 (icomplete-show-key-bindings): Remove custom var.
6287 (icomplete-get-keys): Remove function.
6288 (icomplete-forward-completions, icomplete-backward-completions):
6289 New commands.
6290 (icomplete-minibuffer-map): New var.
6291 (icomplete-minibuffer-setup): Use it.
6292 (icomplete-exhibit): Don't delay if the list of completions is known.
6293 (icomplete-separator): New custom.
6294 (icomplete-completions): Use it.
6295 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6296 (minibuffer-force-complete-and-exit): New command.
6297 (minibuffer--complete-and-exit): New function extracted from
6298 minibuffer-complete-and-exit.
6299 (minibuffer-complete-and-exit): Use it.
6300
6301 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6302 error message when the file doesn't exist (bug#12974).
6303
6304 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6305
6306 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6307
6308 2012-11-29 Glenn Morris <rgm@gnu.org>
6309
6310 * files.el (hack-dir-local-variables): Warn if try to set
6311 coding via dir-locals, since it doesn't work. (Bug#7169)
6312
6313 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6314 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6315 Set buffer-local value of desktop-save-buffer.
6316 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6317 New functions.
6318 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6319 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6320
6321 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6322 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6323 Doc fix.
6324 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6325 Doc fixes.
6326
6327 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6328
6329 * calc/calc-forms.el (calc-date-notation): Fix regexp
6330 used to find time codes. Fix symbol for seconds.
6331
6332 2012-11-27 Glenn Morris <rgm@gnu.org>
6333
6334 * emacs-lisp/derived.el (derived-mode-make-docstring):
6335 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6336
6337 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6340 lexically scoped variables (bug#13005).
6341
6342 2012-11-27 Glenn Morris <rgm@gnu.org>
6343
6344 * vc/vc-hooks.el (vc-mistrust-permissions):
6345 Default to t, to avoid data-loss. (Bug#11490)
6346
6347 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6348
6349 * progmodes/python.el (python-indent-guess-indent-offset):
6350 If indentation is guessed make python-indent-offset buffer-local.
6351
6352 Fix Imenu regression.
6353 * progmodes/python.el (python-nav-beginning-of-defun):
6354 Fix forward movement when statement(s) separates point from defun.
6355 (python-imenu-prev-index-position): New function.
6356
6357 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6358
6359 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6360
6361 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6362 Don't set buffer-file-type. Return nil. (Bug#12989)
6363
6364 2012-11-27 Glenn Morris <rgm@gnu.org>
6365
6366 * hippie-exp.el (hippie-expand-try-functions-list):
6367 Re-autoload it. (Bug#12982)
6368
6369 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6370
6371 * descr-text.el (describe-char-padded-string):
6372 Call internal-char-font only on GUI frames. (Bug#11964)
6373
6374 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6375
6376 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6377 and obsoletion message.
6378
6379 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6382 the constructs to keep outside of the `cl-block' (bug#12977).
6383
6384 2012-11-27 Chong Yidong <cyd@gnu.org>
6385
6386 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6387 keep reading until we get the up-event anyway, in order to process
6388 the up-event for mouse-1-click-follows-link (Bug#12971).
6389
6390 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6393 base function is not yet defined (bug#12965).
6394 (ad-activate-advised-definition): Use ad-compile-function.
6395 (ad-activate): Use cond.
6396
6397 2012-11-25 Leo Liu <sdl.web@gmail.com>
6398
6399 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6400 (Bug#12979)
6401
6402 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6403
6404 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6405 reftex-section-info-function in order to be compatible with
6406 Texinfo integration.
6407
6408 * textmodes/reftex.el (reftex-section-pre-regexp)
6409 (reftex-section-post-regexp, reftex-section-info-function):
6410 New variable.
6411 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6412 reftex-section-post-regexp, and reftex-section-info-function in order
6413 to be compatible with Texinfo integration.
6414
6415 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6416 use reftex-section-pre-regexp variable in order to be compatible with
6417 Texinfo integration.
6418
6419 2012-11-25 Chong Yidong <cyd@gnu.org>
6420
6421 * faces.el: Make face-spec-set more analogous to setq.
6422 (face-spec-set): Change the third arg to specify whether this
6423 function is being called via defface, customize, or a third party.
6424 Set the appropriate symbol properties. Clear the override spec if
6425 setting via Custom. Initialize face if necessary. (Bug#4988)
6426 (face-spec-recalc): Allow theme faces to completely replace the
6427 defface spec, in the same way as custom faces (Bug#8454).
6428
6429 * cus-face.el (custom-declare-face): Move face initialization to
6430 face-spec-set.
6431 (custom-theme-set-faces): Don't initialize the face name here, as
6432 that is now done in face-spec-set.
6433
6434 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6435 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6436 Simplify by using the new arg to face-spec-set.
6437
6438 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6439 reset face-override-spec too, and use custom-declare-face.
6440
6441 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6442
6443 * term/ns-win.el (ns-initialize-window-system): Move creation of
6444 fontsets here (Bug#11964).
6445
6446 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6447
6448 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6449 cell renaming.
6450
6451 2012-11-24 Chong Yidong <cyd@gnu.org>
6452
6453 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6454 obsolete.
6455
6456 * custom.el (custom-theme-set-variables): Use a topological sort
6457 for ordering by custom dependencies (Bug#12952).
6458 (custom--sort-vars, custom--sort-vars-1): New functions.
6459
6460 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6463 lexical-binding (bug#12938).
6464
6465 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6466
6467 * image-mode.el (image-transform-check-size): Use assertions only
6468 for images of type imagemagick.
6469
6470 Otherwise no error, image-transform-fit-to-{width,height} is
6471 silently ignored, as before. Doc fix.
6472
6473 2012-11-24 Chong Yidong <cyd@gnu.org>
6474
6475 * faces.el (color-defined-p): Doc fix (Bug#12853).
6476
6477 2012-11-24 Juri Linkov <juri@jurta.org>
6478
6479 * dired.el (dired-mark): Add optional arg `interactive'.
6480 Check for `use-region-p' if `interactive' is non-nil.
6481 (dired-unmark, dired-flag-file-deletion): Add optional arg
6482 `interactive'. Call `dired-mark' with the arg `interactive'.
6483 (Bug#10624)
6484
6485 * wdired.el: Revert 2012-10-17 change partly and replace it with
6486 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6487 (wdired-finish-edit): Add marks for new file names to
6488 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6489 after `revert-buffer'.
6490 (wdired-do-renames): Remove calls to `dired-remove-file',
6491 `dired-add-file', `dired-add-entry'. (Bug#11795)
6492
6493 2012-11-24 Alan Mackenzie <acm@muc.de>
6494
6495 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6496
6497 Fix bugs in the state cache. Enhance a debugging mechanism.
6498 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6499 "brace at column zero" strategy for C++.
6500 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6501 (c-parse-state-point): New variable.
6502 (c-record-parse-state-state): Record old parse state with
6503 `copy-tree'. Record previous value of point.
6504 (c-debug-parse-state-double-cons): New debugging function.
6505 (c-debug-parse-state): Call the above new function.
6506 (c-toggle-parse-state-debug): Output a confirmatory message.
6507
6508 * progmodes/cc-mode.el (c-before-change, c-after-change):
6509 Call c-invalidate-state-cache from `c-before-change' instead of
6510 `c-after-change'.
6511
6512 2012-11-23 Chong Yidong <cyd@gnu.org>
6513
6514 * find-cmd.el (find-constituents): Add executable, ipath,
6515 readable, samefile, writable, daystart, regextype (Bug#12856).
6516
6517 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6520
6521 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6522
6523 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6524 definition. This fixes a bootstrap failure.
6525 (calc-gregorian-switch): In menu, put dates before regions.
6526 This is easier to follow, lines up better in the menu, and lets us
6527 coalesce regions that switch at the same time. Give country
6528 names, not "Vatican", as that's better for non-expert users.
6529 Use names that are stable between the date of switch and now, e.g.,
6530 Bohemia and Moravia (which existed then and now) and not
6531 Czechoslovakia (which didn't exist then and doesn't exist now).
6532 What is now the U.S. mostly did not switch at the same time as
6533 Britain, so omit the U.S. Correct spelling of "Britain".
6534 Catholic Switzerland was too much of a mess, so omit it.
6535
6536 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6537
6538 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6539 after the variable is changed.
6540
6541 2012-11-21 Daniel Colascione <dancol@dancol.org>
6542
6543 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6544 in SQL declarations for font-lock.
6545 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6546
6547 2012-11-21 Glenn Morris <rgm@gnu.org>
6548
6549 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6550 (face-italic-p): Add optional argument "inherit".
6551
6552 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6553 Remove -p suffix from names, for consistency with other set-face-*.
6554 (set-face-inverse-video): Fix interactive spec.
6555 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6556 * textmodes/table.el (table--update-cell-face):
6557 Use set-face-inverse-video rather than now obsolete alias.
6558
6559 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6560
6561 * simple.el (line-move): Don't call line-move-partial if
6562 scroll-conservatively is in effect. (Bug#12927)
6563
6564 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6567 Fallback on completion-at-point rather than
6568 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6569 (eshell-cmpl-initialize): Setup completion-at-point.
6570
6571 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6572
6573 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6574
6575 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6576
6577 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6578 are remote, check out-of-band property for both.
6579
6580 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6583 code rewrite.
6584
6585 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6586
6587 More minor time fixes.
6588 * calendar/time-date.el: Commentary fix.
6589 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6590 too much other code depends on (0 0) time stamps.
6591 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6592 Add a couple of FIXME comments.
6593
6594 Minor cleanup for times as lists of four integers.
6595 * files.el (dir-locals-directory-cache):
6596 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6597 Doc fixes.
6598 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6599 * ps-bdf.el (bdf-file-newer-than-time):
6600 Process four-integers time stamps, not two. Doc fixes.
6601
6602 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * uniquify.el (uniquify-managed): Use defvar-local.
6605 (rename-buffer, create-file-buffer): Advise with advice-add.
6606 (uniquify-unload-function): Unadvise accordingly.
6607
6608 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6609 (trace-buffer): Don't purecopy.
6610 (trace-entry-message, trace-exit-message): Add `context' arg.
6611 (trace--timer): New var.
6612 (trace-make-advice): Adjust for use in nadvice.
6613 Add `context' argument. Delay `display-buffer' via a timer.
6614 (trace-function-internal): Use advice-add.
6615 (trace--read-args): New function.
6616 (trace-function-foreground, trace-function-background): Use it.
6617 (trace-function): Rename to trace-function-foreground and redefine as
6618 an alias to that new name.
6619 (untrace-function, untrace-all): Adjust to the use of nadvice.
6620
6621 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6622
6623 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6624
6625 * subr.el (called-interactively-p-functions): New var.
6626 (internal--called-interactively-p--get-frame): New macro.
6627 (called-interactively-p, interactive-p): Rewrite in Lisp.
6628 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6629 (called-interactively-p-functions): Use it.
6630 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6631 (called-interactively-p-functions): Use it.
6632 * allout.el (allout-called-interactively-p): Don't assume
6633 called-interactively-p is a subr.
6634
6635 2012-11-20 Glenn Morris <rgm@gnu.org>
6636
6637 * profiler.el (profiler-report-mode-map): Add a menu.
6638 No need to bind `q' because we derive from special-mode.
6639 (profiler-report-find-entry): Handle calls from the menu-bar.
6640
6641 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * emacs-lisp/byte-run.el (defun-declarations-alist):
6644 Allow a compiler-macro to be a lambda expression.
6645
6646 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6647 eval-when-compile.
6648 (python-syntax-context): Add compiler-macro.
6649 (python-font-lock-keywords): Simplify with De Morgan.
6650
6651 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6652
6653 * files.el (load-file): Require match in minibuffer selection, as was
6654 the case in Emacs-20 before we changed the spec to allow .elc files
6655 (bug#12935).
6656
6657 * json.el: Don't require cl since we don't use it.
6658 * color.el: Don't require cl.
6659 (color-complement): `caddr' -> `nth 2'.
6660
6661 * calendar/time-date.el (time-to-seconds): De-obsolete.
6662
6663 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6664
6665 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6666 year numbers.
6667 (math-date-to-julian-dt): Adjust the initial approximation for the
6668 year to deal with the new definition of the DATE.
6669
6670 2012-11-19 Daniel Colascione <dancol@dancol.org>
6671
6672 * term/w32-win.el (cygwin-convert-path-from-windows):
6673 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6674
6675 2012-11-18 Chong Yidong <cyd@gnu.org>
6676
6677 * filecache.el (file-cache--read-list): New function.
6678 (file-cache-add-directory-list, file-cache-add-file-list)
6679 (file-cache-delete-file-list, file-cache-delete-directory-list):
6680 Use it to read a list of files or directories (Bug#12846).
6681 (file-cache-add-file, file-cache-add-directory)
6682 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6683 (file-cache-delete-directory): Print an message.
6684
6685 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6686
6687 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6688 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6689
6690 2012-11-18 Glenn Morris <rgm@gnu.org>
6691
6692 * image.el (insert-image, insert-sliced-image): Doc fix.
6693
6694 2012-11-18 Chong Yidong <cyd@gnu.org>
6695
6696 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6697 (Bug#12810).
6698
6699 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6700
6701 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6702 response when the target file is in a subdirectory (Bug#12757).
6703
6704 2012-11-18 Chong Yidong <cyd@gnu.org>
6705
6706 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6707
6708 2012-11-18 Glenn Morris <rgm@gnu.org>
6709
6710 * emacs-lisp/cl-lib.el (face-underline-p):
6711 Use set-face-underline rather than the alias set-face-underline-p.
6712
6713 * window.el (with-temp-buffer-window): Doc fix.
6714 * subr.el (with-output-to-temp-buffer):
6715 Add doc xref to with-temp-buffer-window.
6716
6717 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6718
6719 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6720 * calc/calc.el (math-format-date-cache): Declare.
6721
6722 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6723
6724 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6725 It also uses January 1, 1 AD as its day number 1.
6726 * calc/calc-forms.el (math-julian-date-beginning)
6727 (math-julian-date-beginning-int): Implement this.
6728
6729 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6730
6731 * descr-text.el (quail-find-key):
6732 * dired.el (desktop-file-name):
6733 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6734 * generic-x.el (comint-mode, comint-exec):
6735 * image-dired.el (widget-forward):
6736 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6737 (speedbar-change-expand-button-char)
6738 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6739 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6740 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6741 (widget-field-action, widget-value-set):
6742 * speedbar.el (imenu--make-index-alist):
6743 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6744 (ring-length, ring-insert):
6745 * vcursor.el (compare-windows-skip-whitespace):
6746 * woman.el (dired-get-filename):
6747 Declare functions.
6748
6749 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6750
6751 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6752
6753 * calc/calc.el (calc-gregorian-switch): New variable.
6754
6755 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6756 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6757 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6758 (math-leap-year-p): Add option to distinguish between Julian
6759 and Gregorian calendars.
6760 (math-day-number): Use `math-day-in-year' to do the computations.
6761 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6762 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6763 to do the computations.
6764 (math-date-to-dt): Use `math-date-to-julian-dt' and
6765 `math-date-to-gregorian-dt' to do the computations.
6766 (calcFunc-weekday, math-format-date-part): Use the new version of
6767 the DATE to determine the weekday.
6768 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6769 when necessary.
6770
6771 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6772
6773 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6774 Cygwin; otherwise use 'file:'. (Bug#12914)
6775 (cygwin-convert-path-from-windows): Declare, to avoid
6776 byte-compiler warnings.
6777
6778 2012-11-17 Andreas Politz <politza@fh-trier.de>
6779
6780 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6781 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6782 prefix and negative numeric prefix args (Bug#12795).
6783
6784 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6785
6786 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6787 Don't signal an error with a score that is too low to add to the
6788 list of top scores. (Bug#12779)
6789
6790 2012-11-17 Chong Yidong <cyd@gnu.org>
6791
6792 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6793
6794 * filecache.el (file-cache-add-file): Handle relative file name in
6795 the argument (Bug#12694).
6796
6797 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6798
6799 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6800
6801 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6804
6805 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6806
6807 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6808
6809 * window.el (enlarge-window, shrink-window): Don't mention return
6810 value in doc-string (Bug#12896).
6811 (window--display-buffer): Don't resize frames - it won't work
6812 with all window managers and defeat pop-up-frame-alist.
6813 (display-buffer-alist): In doc-string explain that CONDITION can
6814 be a function and which arguments are passed to it (Bug#12854).
6815 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6816 expressions (Bug#12854).
6817 (display-buffer): Pass ACTION argument to
6818 display-buffer-assq-regexp.
6819
6820 2012-11-16 Glenn Morris <rgm@gnu.org>
6821
6822 * window.el (fit-frame-to-buffer-bottom-margin)
6823 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6824
6825 * faces.el (face-underline-p): Use face-attribute-specified-or.
6826
6827 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6830
6831 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6834
6835 2012-11-16 Glenn Morris <rgm@gnu.org>
6836
6837 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6838 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6839
6840 * faces.el (face-underline-p): Doc fix. Handle :underline being
6841 things other than `t' (a string, a list).
6842 (face-inverse-video-p): Doc fix.
6843 (set-face-underline): Rename it back from set-face-underline-p.
6844 Doc fix. Allow interactive input of values other than t.
6845 (read-face-attribute): Apply formatting to :underline,
6846 since like :box and :stipple it can take list values.
6847
6848 * term.el (ansi-term): Don't let C-x escape-char binding
6849 clobber the more standard C-c binding. (Bug#12842)
6850
6851 * subr.el (set-temporary-overlay-map): Doc fix.
6852
6853 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6854
6855 * window.el (record-window-buffer)
6856 (display-buffer-record-window): When copying the markers to
6857 window-point preserve window-point-insertion-type. (Bug#12588)
6858
6859 2012-11-16 Glenn Morris <rgm@gnu.org>
6860
6861 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6862 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6863 Use new names for hooks rather than obsolete aliases.
6864
6865 2012-11-15 Daniel Colascione <dancol@dancol.org>
6866
6867 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6868 prefix instead of "file:" so that when FILE-NAME begins with "//",
6869 as it does when the target file is on a network share, url-handler
6870 isn't confused.
6871
6872 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6875 a preactivated advice from an old advice.el; they're not compatible!
6876
6877 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6878
6879 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6880 Fix string-spec case.
6881
6882 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6883
6884 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6887 (advice--buffer-local-function-sample): New var.
6888 (advice--set-buffer-local, advice--buffer-local): New functions.
6889 (add-function, remove-function): Use them.
6890
6891 2012-11-15 Drew Adams <drew.adams@oracle.com>
6892
6893 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6894
6895 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6898 potential binding of print-gensym to t, and prettify (back)quotes in
6899 case they appear in args's default values (bug#12884).
6900
6901 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6902
6903 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6904 (advice-eval-interactive-spec): New function.
6905 (advice--make-interactive-form): Support around advice (bug#12844).
6906
6907 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6908
6909 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6910 more strict. Add docstring.
6911 (ruby-expression-expansion-re): Extract from
6912 `ruby-match-expression-expansion'.
6913 (ruby-syntax-propertize-function): After everything else, search
6914 for expansions in string literals, mark their insides as
6915 whitespace syntax and save match data for font-lock.
6916 (ruby-font-lock-keywords): Use the 2nd group from expression
6917 expansion matches.
6918 (ruby-match-expression-expansion): Use the match data saved to the
6919 text property in ruby-syntax-propertize-function.
6920
6921 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6924 (bug#12879).
6925
6926 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6927
6928 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6929 start/end keyword a bit harder. Works with different values of N.
6930 Add more comments.
6931 (ruby-end-of-block): Update accordingly.
6932
6933 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * woman.el (woman-file-name): Don't mess with unread-command-events
6936 (bug#12861).
6937
6938 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6939 Remove out of date self-require hack.
6940 (ad-do-advised-functions): Use simple `dolist'.
6941 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6942 (ad-advice-definition): Redefine as functions.
6943 (ad-advice-classes): Move before first use.
6944 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6945 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6946 (ad--defalias-fset): Remove functions.
6947 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6948 (ad-get-orig-definition): Rewrite.
6949 (ad-make-advised-definition-docstring): Change base docstring.
6950 (ad-real-orig-definition): Rewrite.
6951 (ad-map-arglists): Change name of called function.
6952 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6953 (ad-make-advised-definition): Simplify.
6954 (ad-assemble-advised-definition): Tweak for new calling context.
6955 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6956 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6957 function and call ad-activate if needed.
6958 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6959 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6960 (ad-compile-function): Compile ad-Advice-*.
6961 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6962 (ad-start-advice, ad-stop-advice): Remove.
6963
6964 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6965
6966 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6967 period before class method names, not after. Remove handling of
6968 one impossible case. Add comments.
6969
6970 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * emacs-lisp/advice.el: Remove support for freezing.
6973 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6974 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6975 Remove support for `freeze'.
6976
6977 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6978 override the default.
6979 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6980 cl--dotimes/dolist.
6981 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6982 `cl' is loaded.
6983
6984 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6985 from add-advice.
6986 (advice--strip-macro): New function.
6987 (advice--defalias-fset): Use them to handle macros.
6988 (advice-add): Use them.
6989 (advice-member-p): Correctly handle macros.
6990
6991 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6992
6993 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6994 Never font-lock the beginning of singleton class as heredoc.
6995
6996 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6999
7000 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7001
7002 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7003 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7004 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7005
7006 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
7007
7008 Fix end-of-defun misbehavior.
7009 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7010 python-beginning-of-defun-function. Handle nested defuns
7011 correctly.
7012 (python-nav-end-of-defun): Rename from
7013 python-end-of-defun-function. Ensure forward movement.
7014 (python-info-current-defun): Reimplement to work as intended
7015 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7016 parent defuns as soon as possible.
7017
7018 2012-11-13 Glenn Morris <rgm@gnu.org>
7019
7020 * progmodes/flymake.el (flymake-error-bitmap)
7021 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7022 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7023
7024 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7025
7026 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7027 backward, always stop at indentation. Reverts the change from
7028 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7029
7030 2012-11-13 Glenn Morris <rgm@gnu.org>
7031
7032 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7033 Add ibuffer-filter-by-derived-mode.
7034
7035 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7036 the same name shadowing each other.
7037
7038 * window.el (with-temp-buffer-window): Doc tweak.
7039
7040 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7041
7042 * help.el (temp-buffer-max-height):
7043 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7044 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7045
7046 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 * emacs-lisp/nadvice.el: New package.
7049 * subr.el (special-form-p): New function.
7050 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7051 (elp-all-instrumented-list): Remove var.
7052 (elp-not-profilable): Remove elp-wrapper.
7053 (elp-profilable-p): Use autoloadp and special-form-p.
7054 (elp--advice-name): New const.
7055 (elp-instrument-function): Use advice-add.
7056 (elp--instrumented-p): New predicate.
7057 (elp-restore-function): Use advice-remove.
7058 (elp-restore-all, elp-reset-all): Use mapatoms.
7059 (elp-set-master): Use elp--instrumented-p.
7060 (elp--make-wrapper): Rename from elp-wrapper, return a function
7061 suitable for advice-add. Use cl-inf.
7062 (elp-results): Use mapatoms+elp--instrumented-p.
7063 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7064 (debug-function-list): Remove var.
7065 (debug): Rename arg, and then let-bind it explicitly inside.
7066 (debugger-setup-buffer): Rename arg.
7067 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7068 (debugger-frame-number): Adjust to new debug-on-entry setup.
7069 (debug--implement-debug-on-entry): Rename from
7070 implement-debug-on-entry, add argument.
7071 (debugger-special-form-p): Remove, use special-form-p instead.
7072 (debug-on-entry): Use advice-add.
7073 (debug--function-list): New function.
7074 (cancel-debug-on-entry): Use it, along with advice-remove.
7075 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7076 (debugger-list-functions): Use debug--function-list instead of
7077 debug-function-list.
7078 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7079 (ad-special-form-p): Remove, use special-form-p instead.
7080 (ad-set-advice-info): Use add-function and remove-function.
7081 (ad--defalias-fset): Adjust accordingly.
7082
7083 2012-11-10 Glenn Morris <rgm@gnu.org>
7084
7085 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7086 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7087 (report-emacs-bug-create-existing-bugs-buffer)
7088 (report-emacs-bug-parse-query-results)
7089 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7090
7091 * term.el (term-default-fg-color, term-default-bg-color):
7092 Make obsolete, rather than just saying "deprecated" in the doc.
7093
7094 * term.el (term): Rename from `term-face'.
7095 (term-current-face, ansi-term-color-vector)
7096 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7097 Update all users.
7098
7099 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7100
7101 * server.el (server-create-window-system-frame): Handle Nextstep
7102 specially (Bug#12780).
7103
7104 2012-11-10 Glenn Morris <rgm@gnu.org>
7105
7106 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7107 Unautoload, and make obsolete. (Bug#7449)
7108
7109 2012-11-10 Chong Yidong <cyd@gnu.org>
7110
7111 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7112 rename from diff-remove-trailing-whitespace (Bug#12831).
7113
7114 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7117 miscompilation of trace.el.
7118
7119 2012-11-10 Glenn Morris <rgm@gnu.org>
7120
7121 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7122
7123 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7126 (bug#12812).
7127
7128 2012-11-10 Chong Yidong <cyd@gnu.org>
7129
7130 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7131 a defcustom with an appropriate :set function.
7132 (minibuffer-default--in-prompt-regexps): New function.
7133
7134 2012-11-10 Glenn Morris <rgm@gnu.org>
7135
7136 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7137 (define-modify-macro): Doc fixes.
7138
7139 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7140 (gv-define-simple-setter): Update doc of `fix-return'.
7141
7142 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7145 twice when `fix-return' is set (bug#12813).
7146
7147 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7148 gv-define-simple-setter (bug#12812).
7149
7150 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7151 (bug#12756).
7152
7153 2012-11-10 Glenn Morris <rgm@gnu.org>
7154
7155 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7156
7157 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7158 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7159 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7160 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7161
7162 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7163
7164 2012-11-10 Leo Liu <sdl.web@gmail.com>
7165
7166 * ido.el (ido-set-matches-1): Improve flex matching performance by
7167 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7168
7169 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7172 (ad--defalias-fset): New function.
7173 (ad-safe-fset): Remove.
7174 (ad-make-freeze-definition): Use cl-letf*.
7175
7176 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * subr.el (dolist): Don't bind VAR in RESULT.
7179
7180 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7181 (fset, documentation): Don't save real def since we don't advise.
7182 (ad-do-advised-functions): Remove problematic `result-form'.
7183 (ad-safe-fset): `ad-real-fset' => `fset'.
7184 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7185 uses CL's dolist internally.
7186 (ad-arglist): Remove unused arg `name'.
7187 (ad-docstring, ad-make-advised-docstring):
7188 `ad-real-documentation' => `documentation'.
7189 (warning-suppress-types): Declare.
7190 (ad-set-arguments): Simple CSE.
7191 (ad-recover-normality): Sanity check.
7192
7193 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7194 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7195
7196 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7197
7198 * ses.el: symbol to coordinate mapping is made by symbol property
7199 `ses-cell'. This means that the same mapping is done for all SES
7200 sheets. That is good enough for cells with standard A1 names, but
7201 not for named cell. So a hash map is added for the latter.
7202 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7203 (ses-sym-rowcol): Use hashmap for named cell.
7204 (ses-is-cell-sym-p): New defun.
7205 (ses-decode-cell-symbol): New defun.
7206 (ses-create-cell-variable): Add cell to hashmap when name is not
7207 A1-like.
7208 (ses-rename-cell): Check that cell new name is not already in
7209 spreadsheet with the use of ses-is-cell-sym-p
7210 (ses-rename-cell): Use hash map for named cells, but accept also
7211 renaming back to A1-like.
7212
7213 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * emacs-lisp/advice.el: Use new dynamic docstrings.
7216 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7217 Use dynamic-docstring-function instead of ad-advice-info.
7218 (ad--make-advised-docstring): New function extracted from
7219 ad-make-advised-docstring.
7220 (ad-make-advised-docstring): Use it.
7221 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7222 from sql-help.
7223 (sql-help): Use it with dynamic-docstring-function.
7224
7225 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7226
7227 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * files.el (hack-one-local-variable--obsolete): New function.
7230 (hack-one-local-variable): Use it for obsolete settings.
7231
7232 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7233 the new name.
7234
7235 * progmodes/js.el (js--filling-paragraph): New var.
7236 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7237 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7238 less sneaky.
7239
7240 2012-11-08 Julien Danjou <julien@danjou.info>
7241
7242 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7243 `auto-mode-alist' (Bug#12835).
7244
7245 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7248 (perl--prettify-symbols-alist): New const.
7249 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7250 New functions.
7251 (perl-font-lock-keywords-2): Use them.
7252 (perl-electric-noindent-p): New function.
7253 (perl-mode): Use it to set up electric-indent-mode.
7254 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7255 (perl-mode-map): Remove bindings for them.
7256 (perl-imenu-generic-expression, perl-outline-level):
7257 Match functions&packages in column>0.
7258
7259 * env.el (env--substitute-vars-regexp): New const.
7260 (substitute-env-vars): Use it. Add `only-defined' arg.
7261 * net/tramp.el (tramp-replace-environment-variables): Use it.
7262
7263 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7264 Byte-compile *before* eval in eval-and-compile.
7265 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7266 (byte-compile-file-form-autoload): Don't hide actual definition.
7267 (byte-compile-maybe-guarded): Accept `functionp' as well.
7268
7269 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7270
7271 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7272
7273 * notifications.el (notifications-get-server-information-method):
7274 New defconst.
7275 (notifications-get-capabilities): Fix docstring.
7276 (notifications-get-server-information): New defun.
7277
7278 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7279
7280 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7281 readability.
7282
7283 * textmodes/ispell.el: Experimental support for support debugging.
7284 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7285 buffer for ispell.
7286 (ispell-print-if-debug): New function to print stuff to
7287 `ispell-debug-buffer' if debugging is enabled.
7288 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7289 show some debugging info.
7290 (ispell-buffer-with-debug): New function that creates a debugging
7291 buffer and calls `ispell-buffer' with debugging enabled.
7292
7293 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7294 comment in autoconf mode. (Bug#12768)
7295
7296 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7297
7298 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7299 frame-first-window, frame-root-window, frame-selected-window,
7300 minibuffer-selected-window, minibuffer-window,
7301 window-absolute-pixel-edges, window-at, window-body-height,
7302 window-body-width, window-display-table, window-combination-limit,
7303 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7304 window-inside-edges, window-inside-pixel-edges, window-left-child,
7305 window-left-column, window-margins, window-next-buffers,
7306 window-next-sibling, window-new-normal, window-new-total,
7307 window-normal-size, window-parameter, window-parameters, window-parent,
7308 window-pixel-edges, window-point, window-prev-buffers,
7309 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7310 window-start, window-text-height, window-top-child, window-top-line,
7311 window-total-height, window-total-width and window-use-time to the list
7312 of functions without side-effects.
7313 (toplevel): Add window-valid-p to the list of error-free functions
7314 without side-effects.
7315
7316 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7317
7318 * textmodes/ispell.el (ispell-program-name):
7319 Update spellchecker parameters when customized.
7320
7321 2012-11-04 Glenn Morris <rgm@gnu.org>
7322
7323 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7324
7325 2012-11-04 Chong Yidong <cyd@gnu.org>
7326
7327 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7328 same-window-* variables.
7329
7330 2012-11-04 Juri Linkov <juri@jurta.org>
7331
7332 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7333 (isearch-describe-key, isearch-describe-mode): Use a display
7334 action instead of binding same-window-* variables (Bug#10040).
7335
7336 2012-11-03 Glenn Morris <rgm@gnu.org>
7337
7338 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7339 Rename handler properties back from cl-- to cl-. (Bug#12788)
7340
7341 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7342
7343 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7344
7345 * term/pc-win.el: Don't load term/internal from here.
7346
7347 * loadup.el: Load term/internal from here.
7348
7349 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7350
7351 * progmodes/python.el (inferior-python-mode): Fix hang in
7352 jit-lock (Bug#12645).
7353
7354 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7355
7356 * window.el (switch-to-visible-buffer)
7357 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7358
7359 2012-11-03 Glenn Morris <rgm@gnu.org>
7360
7361 * emacs-lisp/cl-lib.el (cl--random-time):
7362 Rename from cl-random-time. (Bug#12773)
7363 (cl--gensym-counter, cl--random-state): Update callers.
7364 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7365
7366 2012-11-03 Chong Yidong <cyd@gnu.org>
7367
7368 * cus-start.el: Make cursor-type customizable (Bug#11633).
7369
7370 2012-11-02 Glenn Morris <rgm@gnu.org>
7371
7372 * filecache.el: No need to load find-lisp when compiling.
7373 (find-lisp-find-files): Autoload it.
7374 (file-cache-add-directory-recursively): Don't require find-lisp.
7375
7376 * image.el (image-type-from-file-name): Trivial simplification.
7377
7378 * emacs-lisp/bytecomp.el (byte-compile-eval):
7379 Decouple "noruntime" and "cl-functions" warnings.
7380
7381 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7382
7383 * play/gomoku.el (gomoku-display-statistics): Update mode line
7384 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7385
7386 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7387
7388 * window.el (quit-restore-window): If the window has been
7389 created on an existing frame and ended up as the sole window on
7390 that frame, do not delete it (Bug#12764).
7391
7392 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7395 Rename from sh--inside-arithmetic-expression, handle more cases
7396 (bug#11263).
7397
7398 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7399 (sh-font-lock-open-heredoc): Use it (bug#12770).
7400
7401 2012-10-30 Glenn Morris <rgm@gnu.org>
7402
7403 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7404
7405 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7406
7407 2012-10-29 Chong Yidong <cyd@gnu.org>
7408
7409 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7410 function key is stored in a keyboard macro (Bug#4894).
7411
7412 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7413
7414 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7417 header comments".
7418 (diff-unified->context, diff-context->unified)
7419 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7420
7421 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7422
7423 * files.el (find-alternate-file): Only ask one question (bug#12487).
7424
7425 2012-10-29 Chong Yidong <cyd@gnu.org>
7426
7427 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7428 Suggested by Dan Nicolaescu (Bug#6326).
7429
7430 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7431
7432 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7433
7434 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7435
7436 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7437
7438 * face-remap.el (face-remap-add-relative): Handle the case where a
7439 face-remapping-alist entry is a cons cell (Bug#12762).
7440
7441 2012-10-29 Kevin Ryde <user42@zip.com.au>
7442
7443 * woman.el (woman-parse-numeric-value): Handle picas correctly
7444 (Bug#12639).
7445
7446 2012-10-29 Glenn Morris <rgm@gnu.org>
7447
7448 * emacs-lisp/cl.el (defsetf): Doc fix.
7449
7450 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7451
7452 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7453 syntax to the matching opener, if any (bug#12547).
7454 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7455 matching open as a "case-(".
7456 (sh-smie-rc-grammar): Add a corresponding rule for it.
7457
7458 2012-10-28 Daniel Hackney <dan@haxney.org>
7459
7460 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7461 "PKGNAME-autoloads.el" in case we created it.
7462
7463 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7466 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7467 (completion--twq-all): Disable too-strict assertions.
7468
7469 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7470
7471 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7472
7473 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7474 text to match the real keybindings.
7475
7476 2012-10-27 Juri Linkov <juri@jurta.org>
7477
7478 * wdired.el (wdired-keep-marker-rename): New defcustom.
7479 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7480 (Bug#11795)
7481
7482 * dired.el (dired-keep-marker-rename): Add reference to
7483 `wdired-keep-marker-rename' in the docstring.
7484 Add default character value ?R to display initially in
7485 Customization UI instead of ?@.
7486
7487 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7488
7489 * window.el (display-buffer): In doc-string describe
7490 window-height and window-width alist entries.
7491
7492 * time.el (display-time-world): Restore fit-window-to-buffer
7493 behavior.
7494
7495 2012-10-27 Chong Yidong <cyd@gnu.org>
7496
7497 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7498
7499 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7500
7501 * minibuffer.el (completion-category-overrides): New completion
7502 category `bookmark' (bug#11131).
7503
7504 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7507 Silence bogus compiler warnings for ad-do-it.
7508
7509 * bookmark.el (bookmark-completing-read): Set the completion category
7510 to `bookmark' (bug#11131).
7511
7512 2012-10-26 Bastien <bzg@altern.org>
7513 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * face-remap.el: Use lexical-binding.
7516 (text-scale-adjust): Improve docstring. Use itself for the temporary
7517 overlay-map bindings, so as to repeat the "Use..." message each time.
7518
7519 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * emacs-lisp/macroexp.el (macroexp--expand-all):
7522 Obey byte-compile-warning-enabled-p (bug#12486).
7523
7524 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7525 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7526
7527 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7528
7529 * mouse.el (mouse-drag-line): Move last form into preceding when
7530 clause (Bug#12731).
7531
7532 * help.el (resize-temp-buffer-window): Fix doc-string.
7533
7534 2012-10-25 David Engster <deng@randomsample.de>
7535
7536 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7537 Remove. This feature is already integrated in imenu.
7538
7539 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7540 always loaded. Require `speedbar' unconditionally.
7541
7542 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7545
7546 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7547
7548 * net/ldap.el (ldap-search-internal): The official ldif format starts
7549 with a "version: 1" header (bug#12724).
7550
7551 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7552 (bug#12721).
7553
7554 2012-10-25 Glenn Morris <rgm@gnu.org>
7555
7556 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7557
7558 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * minibuffer.el (minibuffer-force-complete): Use one more marker
7561 for the temporary-overlay-map command (bug#12619).
7562
7563 2012-10-24 Chong Yidong <cyd@gnu.org>
7564
7565 * time.el (display-time-world-mode): Derive from special-mode.
7566 (display-time-world): Use display-buffer (Bug#12708).
7567 (display-time-world-mode-map): Variable deleted.
7568 (display-time-world-display): Wrap the final delete-char inside
7569 inhibit-read-only.
7570
7571 2012-10-24 Chong Yidong <cyd@gnu.org>
7572
7573 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7574 Doc fix.
7575
7576 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7577
7578 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * minibuffer.el (completion--all-sorted-completions-location): New var.
7581 (completion--cache-all-sorted-completions)
7582 (completion--flush-all-sorted-completions): Use it.
7583 (completion-in-region, completion-in-region--postch)
7584 (completion-at-point, completion-help-at-point): Use markers in
7585 completion-in-region--data (bug#12619).
7586
7587 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * progmodes/compile.el (compilation-start): Try to handle common
7590 quoting of `cd' argument (bug#12640).
7591
7592 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7593 (bug#12671).
7594
7595 2012-10-23 Glenn Morris <rgm@gnu.org>
7596
7597 * progmodes/gud.el (gud-menu-map):
7598 Check gdb-active-process is bound. (Bug#12358)
7599
7600 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * repeat.el (repeat): Set real-this-command (bug#12232).
7603
7604 * htmlfontify.el (hfy-post-html-hook):
7605 * filesets.el (filesets-cache-fill-content-hook):
7606 * arc-mode.el (archive-extract-hook):
7607 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7608 * net/rcirc.el (rcirc-sentinel-functions)
7609 (rcirc-receive-message-functions, rcirc-activity-functions)
7610 (rcirc-print-functions):
7611 * net/dbus.el (dbus-event-error-functions):
7612 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7613 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7614 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7615 * term/sun.el (sun-raw-prefix-hooks):
7616 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7617
7618 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7619
7620 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7621 Set `tramp-chunksize' to 1. This improves the performance.
7622 (tramp-smb-wait-for-output): Add timeout to
7623 `tramp-accept-process-output' calls.
7624
7625 2012-10-23 Chong Yidong <cyd@gnu.org>
7626
7627 * faces.el (font-list-limit): Define as an obsolete variable.
7628
7629 * startup.el (command-line):
7630 * cus-start.el: Don't refer to font-list-limit.
7631
7632 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7633
7634 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * subr.el (internal-temp-output-buffer-show): Rename from
7637 temp-output-buffer-show, since previously compiled files expect this name.
7638
7639 2012-10-23 Glenn Morris <rgm@gnu.org>
7640
7641 * image.el (image-type-from-file-name): If multiple types match,
7642 return the first one that is supported. (Bug#9045)
7643
7644 2012-10-22 Glenn Morris <rgm@gnu.org>
7645
7646 * image.el (imagemagick-enabled-types): Doc fix.
7647
7648 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7649
7650 * progmodes/which-func.el (which-func-current): The hash-table may have
7651 an explicit nil (bug#12338).
7652
7653 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * electric.el (electric-pair-delete-selection-self-insert-function):
7656 Rename to electric-pair-will-use-region, return a boolean.
7657 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7658
7659 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7660 (delete-selection-pre-hook): Use use-region-p.
7661 (delete-selection-self-insert-function): Remove.
7662 (self-insert-command): Obey self-insert-uses-region-functions.
7663 (self-insert-iso): Revert to previous setting, since we don't actually
7664 know what that command does.
7665 (delete-selection-self-insert-hooks): Remove.
7666
7667 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7668
7669 * delsel.el (delete-selection-helper): New function, extracted from
7670 delete-selection-pre-hook.
7671 (delete-selection-pre-hook): Use it.
7672 (delete-selection-self-insert-function): New function.
7673 (delete-selection-self-insert-hooks): New hook.
7674 (self-insert-command, self-insert-iso): Use it.
7675 * electric.el (electric-pair-syntax): New function, extracted from
7676 electric-pair-post-self-insert-function.
7677 (electric-pair-post-self-insert-function): Use it.
7678 (electric-pair-delete-selection-self-insert-function): New function.
7679 (electric-pair-mode): Require delsel and setup
7680 delete-selection-self-insert-hooks (bug#11520).
7681
7682 2012-10-20 Chong Yidong <cyd@gnu.org>
7683
7684 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7685 no changes to show (Bug#12586).
7686
7687 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7688 list explicitly (Bug#12571).
7689
7690 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7691
7692 * progmodes/flymake.el (flymake-create-temp-inplace):
7693 Use file-truename.
7694
7695 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7696
7697 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7698
7699 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7700
7701 * calc/calc-units.el (math-extract-units): Properly extract powers
7702 of units.
7703
7704 2012-10-20 Daniel Colascione <dancol@dancol.org>
7705
7706 * frame.el (make-frame): Set x-display-name as we used to in order
7707 to unbreak creating an X11 frame from an Emacs daemon started
7708 without a display.
7709
7710 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7711
7712 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7713 the same completion-field (bug#12221).
7714
7715 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7716
7717 * emacs-lisp/debug.el (debug): Record height of debugger window
7718 also when debugger will be back (Bug#8789).
7719
7720 2012-10-18 Chong Yidong <cyd@gnu.org>
7721
7722 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7723 Convert to defcustom.
7724 (gdb-get-source-file): Don't bind pop-up-windows.
7725
7726 * progmodes/gud.el (gud-display-line): Don't specially re-use
7727 other frames for the gdb-mi case (Bug#12648).
7728
7729 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * emacs-lisp/advice.el: Clean up commentary a bit.
7732 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7733 (byte-code-function-p): Never redefine.
7734
7735 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7736
7737 2012-10-18 Glenn Morris <rgm@gnu.org>
7738
7739 * dired.el (dired-sort-toggle): Some ls implementations only allow
7740 a single option string. (Bug#12666)
7741
7742 * minibuffer.el (completion-cycle-threshold): Doc fix.
7743
7744 2012-10-17 Kenichi Handa <handa@gnu.org>
7745
7746 * international/mule.el (set-keyboard-coding-system):
7747 Recover input meta mode when the new coding system doesn not use 8-bit.
7748 Supply TERMINAL arg to set-input-meta-mode.
7749
7750 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7751
7752 * wdired.el (wdired-old-marks): New variable.
7753 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7754 (wdired-do-renames): Move point with renamed file and don't lose
7755 mark status (Bug#11795).
7756
7757 2012-10-16 Juri Linkov <juri@jurta.org>
7758
7759 * replace.el (query-replace-help): Mention multi-buffer replacement
7760 keys in the Help message. (Bug#12655)
7761
7762 2012-10-15 Chong Yidong <cyd@gnu.org>
7763
7764 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7765
7766 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7767
7768 * window.el (display-buffer): Doc fix.
7769
7770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7771 Adjust the msft regexp to the output of Studio 2010, and move msft
7772 before edg-1. See the discussion on emacs-devel,
7773 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7774 for the details.
7775
7776 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7779 (oset): Move uses of object-class-fast macro after its definition.
7780
7781 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7782
7783 2012-10-13 Chong Yidong <cyd@gnu.org>
7784
7785 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7786 enabled, re-enable it (Bug#11963).
7787
7788 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7789
7790 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7791 non-nil, restore window configuration (Bug#12623).
7792
7793 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * help-fns.el (describe-variable, describe-function-1):
7796 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7797
7798 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7799
7800 2012-10-12 Glenn Morris <rgm@gnu.org>
7801
7802 * mail/rmailsum.el (rmail-header-summary):
7803 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7804
7805 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7806
7807 * progmodes/python.el (python-mode-map):
7808 Replace subtitute-key-definition with proper command remapping.
7809 (python-nav--up-list): Fix behavior for blocks on the same level.
7810
7811 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7814
7815 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7816 changes to the format of load-history.
7817
7818 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7819 completion-ignore-case in case that var is buffer-local (bug#12615).
7820
7821 2012-10-11 Kenichi Handa <handa@gnu.org>
7822
7823 * international/eucjp-ms.el: Re-generated.
7824
7825 2012-10-10 Kenichi Handa <handa@gnu.org>
7826
7827 * select.el (xselect--encode-string): If a coding is specified for
7828 selection, and that is compatible with COMPOUND_TEXT, use it.
7829
7830 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7831
7832 * window.el (switch-to-buffer-preserve-window-point): New option.
7833 (switch-to-buffer):
7834 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7835
7836 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7839 Don't document nil as a useful value (bug#12583).
7840
7841 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7842
7843 * net/tramp.el (tramp-debug-message):
7844 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7845 (with-tramp-progress-reporter): Rename from
7846 `tramp-with-progress-reporter'.
7847 (with-tramp-file-property, with-tramp-connection-property):
7848 Move from tramp-cache.el, rename from `with-file-property' and
7849 `with-connection-property', respectively.
7850
7851 * net/tramp-cache.el: Remove `with-file-property' and
7852 `with-connection-property'.
7853
7854 * net/tramp.el:
7855 * net/tramp-gvfs.el:
7856 * net/tramp-sh.el:
7857 * net/tramp-smb.el: Adapt callees.
7858
7859 * net/trampver.el: Update release number.
7860
7861 2012-10-09 Glenn Morris <rgm@gnu.org>
7862
7863 * w32-fns.el (set-message-beep):
7864 * term/w32-win.el (set-message-beep): Update declarations.
7865
7866 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7869 (mode-line-widen, mode-line-input-method-map)
7870 (mode-line-coding-system-map, mode-line-remote)
7871 (mode-line-unbury-buffer, mode-line-bury-buffer)
7872 (mode-line-next-buffer, mode-line-previous-buffer):
7873 Replace save-selected-window+select-window => with-selected-window.
7874
7875 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7876 * progmodes/cc-vars.el (bq-process): Remove, unused.
7877
7878 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7879
7880 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7881
7882 Implemented `backward-up-list'-like navigation.
7883 * progmodes/python.el (python-nav-up-list)
7884 (python-nav-backward-up-list): New functions.
7885 (python-mode-map): Define substitute key for backward-up-list to
7886 python-nav-backward-up-list.
7887
7888 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7889
7890 * progmodes/python.el (python-fill-paragraph): Rename from
7891 python-fill-paragraph-function. Fixed fill-paragraph for
7892 decorators (Bug#12605).
7893
7894 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7895
7896 * progmodes/python.el (python-shell-output-filter): Handle extra
7897 carriage return in OSX (Bug#12409).
7898
7899 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7900
7901 Fix shell handling of unbalanced quotes and parens in output.
7902 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7903 (python-syntax-propertize-function): Use it.
7904 (python-shell-output-syntax-table): New var.
7905 (inferior-python-mode): Prevent unbalanced parens/quotes from
7906 previous output mess with current input context.
7907
7908 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7909
7910 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7911 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7912
7913 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7914
7915 * ffap.el (ffap-replace-file-component): Support Tramp file name
7916 syntax, not only ange-ftp's one.
7917
7918 2012-10-08 Glenn Morris <rgm@gnu.org>
7919
7920 * cus-start.el (message-log-max): Set :version.
7921
7922 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7923
7924 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7925
7926 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7927 the minibuffer window (Bug#10851).
7928
7929 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7930
7931 Enhancements on forward-sexp movement.
7932 * progmodes/python.el (python-nav-beginning-of-statement)
7933 (python-nav-end-of-statement): Return point-marker.
7934 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7935 (python-info-current-symbol)
7936 (python-info-statement-starts-block-p): Rename from
7937 python-info-beginning-of-block-p.
7938 (python-info-statement-ends-block-p): Rename from
7939 python-info-end-of-block-p.
7940 (python-info-beginning-of-statement-p)
7941 (python-info-end-of-statement-p)
7942 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7943 New functions.
7944
7945 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7948 frame-selected-windows.
7949
7950 2012-10-08 Daniel Colascione <dancol@dancol.org>
7951
7952 * battery.el (battery-status-function): Check for
7953 w32-battery-status itself, not system-time windows-nt.
7954
7955 * frame.el: Require cl-lib.
7956 (display-format-alist): New variable mapping frame types to
7957 functions that initialize them.
7958 (window-system-for-display): New function: interprets
7959 display-format-alist.
7960 (make-frame-on-display): Remove existing display-selection logic
7961 and just forward to make-frame, which will now DTRT.
7962 (make-frame): Restructure to use window-system-for-display to
7963 figure out how to create a frame on a given display.
7964 (display-mouse-p): Look for frame-type w32, not a particular
7965 system-type.
7966
7967 * loadup.el: Load w32 lisp code when we have the w32 feature.
7968
7969 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7970 system-type windows-nt.
7971
7972 * server.el (server-create-window-system-frame): Look for window
7973 type.
7974 (server-proces-filter): Only force a window system when windows-nt
7975 _and_ w32. Explain why.
7976
7977 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7978 of window systems we configure for the mode.
7979
7980 * startup.el (command-line): Mark window system is initialized
7981 after we've done it.
7982
7983 * common-win.el (x-select-text): Look for w32, not windows-nt.
7984
7985 * ns-win.el: Require cl-lib. Add ourselves to
7986 display-format-alist.
7987 (ns-initialize-window-system): Assert we're not initialized twice.
7988
7989 * w32-win.el: Enable lexical binding; require cl-lib; add
7990 ourselves to display-format-alist.
7991 (w32-handle-dropped-file): Convert incoming dropped files from
7992 Windows paths to Cygwin ones before passing them on to the rest of
7993 Emacs.
7994 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7995 (w32-initialize-window-system): Assert we're not initialized twice.
7996
7997 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7998 (x-initialize-window-system): Assert we're not initialized twice.
7999
8000 * w32-common-fns.el: New File.
8001 (w32-version, w32-using-nt, w32-get-clipboard-data)
8002 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8003 (w32-charset-info-alist, x-last-selected, text)
8004 (x-get-selection-value, x-selection-value): Move here.
8005
8006 * w32-fns.el: Require w32-common-fns.
8007 (w32-version, w32-using-nt, w32-get-clipboard-data)
8008 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8009 (w32-charset-info-alist, x-last-selected, text)
8010 (x-get-selection-value, x-selection-value): Move to
8011 w32-common-fns.
8012
8013 * w32-vars.el:
8014 (w32-allow-system-shell, w32-system-shells): Define only in
8015 non-cygwin case.
8016
8017 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8020 (read-passwd): Remove a few more potential sources of leaks.
8021
8022 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8023
8024 * progmodes/python.el (inferior-python-mode)
8025 (python-shell-make-comint): Fix initialization of local
8026 variables copied from parent buffer.
8027
8028 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8029
8030 * term/ns-win.el (ns-read-file-name): Update declaration to match
8031 nsfns.m.
8032 (ns-respond-to-change-font): Change fontsize separately so we are sure
8033 it is set when font is acted upon.
8034
8035 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8036
8037 Enhancements to indentation.
8038 * progmodes/python.el (python-indent-context): Give priority to
8039 inside-string context. Make comments indentation markers.
8040 (python-indent-region): Do not mess with strings, unless it's the
8041 enclosing set of quotes.
8042
8043 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * window.el (internal--before-save-selected-window)
8046 (internal--after-save-selected-window): New functions extracted from
8047 save-selected-window. Make sure we return the `alist' we construct.
8048 (save-selected-window): Use them.
8049
8050 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8051 Use with-selected-window.
8052
8053 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8054 forms that define macros (bug#12593).
8055
8056 2012-10-07 Kenichi Handa <handa@gnu.org>
8057
8058 * international/mule-conf.el (compound-text-with-extensions):
8059 Add :mime-charset property as x-ctext.
8060
8061 2012-10-07 Stefan Merten <smerten@oekonux.de>
8062
8063 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8064 (rst-indent-literal-normal, rst-indent-literal-minimized)
8065 (rst-indent-comment): Correct :version tag.
8066 (rst-official-cvs-rev): Correct version string.
8067
8068 2012-10-07 Glenn Morris <rgm@gnu.org>
8069
8070 * mail/rmailmm.el (rmail-mime-process-multipart):
8071 Do not confuse a multipart message with an epilogue
8072 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8073
8074 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8075
8076 Fix shell output retrieval and comint-prompt-regexp init.
8077 * progmodes/python.el (inferior-python-mode):
8078 (python-shell-make-comint): Fix initialization of
8079 comint-prompt-regexp from copied file local variables.
8080 (python-shell-fetched-lines): Remove var.
8081 (python-shell-output-filter-in-progress): Rename from
8082 python-shell-fetch-lines-in-progress.
8083 (python-shell-output-filter-buffer): Rename from
8084 python-shell-fetch-lines-string.
8085 (python-shell-fetch-lines-filter): Delete function.
8086 (python-shell-output-filter): New function.
8087 (python-shell-send-string-no-output): Use them.
8088
8089 2012-10-07 Glenn Morris <rgm@gnu.org>
8090
8091 * hi-lock.el (hi-lock-process-phrase):
8092 Try to make it less fragile. (Bug#7161)
8093
8094 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8095
8096 2012-10-06 Glenn Morris <rgm@gnu.org>
8097
8098 * ehelp.el (electric-help-mode): Use help-mode rather than
8099 non-existent mode `help'.
8100 (electric-help-map): Use button-buffer-map. (Bug#10917)
8101
8102 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8103 (reftex-create-bibtex-footer): Fix custom types.
8104
8105 * progmodes/sh-script.el (sh-indent-after-continuation):
8106 Add explicit :group.
8107
8108 * textmodes/rst.el (rst-preferred-decorations)
8109 (rst-shift-basic-offset): Clarify obsolescence versions.
8110
8111 * profiler.el (profiler): Add missing group :version tag.
8112 * avoid.el (mouse-avoidance-banish-position):
8113 * proced.el (proced-renice-command):
8114 * calc/calc.el (calc-ensure-consistent-units):
8115 * calendar/icalendar.el (icalendar-import-format-uid):
8116 * net/tramp.el (tramp-save-ad-hoc-proxies):
8117 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8118 * progmodes/flymake.el (flymake-error-bitmap)
8119 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8120 * progmodes/sh-script.el (sh-indent-after-continuation):
8121 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8122 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8123 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8124 (vhdl-array-index-record-field-in-sensitivity-list)
8125 (vhdl-indent-comment-like-next-code-line):
8126 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8127 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8128 (reftex-cite-key-separator, reftex-create-bibtex-header)
8129 (reftex-create-bibtex-footer):
8130 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8131 (rst-indent-literal-normal, rst-indent-literal-minimized)
8132 (rst-indent-comment): Add missing custom :version tags.
8133
8134 * calendar/timeclock.el (timeclock-modeline-display):
8135 Add missing obsolete alias for renamed user option.
8136
8137 * strokes.el (strokes-modeline-string):
8138 * emulation/crisp.el (crisp-mode-modeline-string):
8139 * eshell/esh-mode.el (eshell-status-in-modeline):
8140 Aliases to defcustoms must come before the defcustom.
8141
8142 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8143 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8144 (cal-tex-cursor-week-monday): Doc fixes.
8145 (cal-tex-cursor-week2-summary): Doc fix.
8146 Rename from cal-tex-cursor-week-at-a-glance.
8147
8148 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8149 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8150
8151 * calendar/calendar.el (calendar-mode-map):
8152 Add cal-tex-cursor-week2-summary.
8153
8154 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8157
8158 * subr.el (read-passwd-map): New var.
8159 (read-passwd): Use `read-string' again.
8160 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8161
8162 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8163
8164 * register.el (append-to-register, prepend-to-register):
8165 Deactivate mark, as does `copy-to-register' (bug#12389).
8166
8167 2012-10-06 Chong Yidong <cyd@gnu.org>
8168
8169 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8170
8171 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8172
8173 * international/characters.el: Fix simple mistake ((car chars) ->
8174 elt), delete duplicated code.
8175
8176 2012-10-06 Glenn Morris <rgm@gnu.org>
8177
8178 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8179
8180 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8181
8182 * color.el (color-hsl-to-rgb): Fix incorrect results for
8183 small and large hue values. (Bug#12559)
8184
8185 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8186
8187 Enhancements to docstring formatting when filling paragraphs.
8188 * progmodes/python.el (python-fill-docstring-style): Rename from
8189 python-fill-string-style. Added new style.
8190 (python-fill-string): Use new style. Better checks for
8191 docstrings.
8192
8193 2012-10-05 Glenn Morris <rgm@gnu.org>
8194
8195 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8196
8197 * color.el (color-name-to-rgb, color-rgb-to-hex)
8198 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8199 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8200 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8201 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8202
8203 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8204
8205 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8206
8207 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8208 to get the correct size across symlinks.
8209
8210 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8211
8212 2012-10-04 Juri Linkov <juri@jurta.org>
8213
8214 * replace.el (query-replace-interactive): Declare obsolete.
8215 (query-replace-read-from): Add the last incremental search string
8216 to the list of default values accessible via M-n.
8217 (map-query-replace-regexp): Use `read-regexp'.
8218 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8219 (map-query-replace-regexp, replace-string, replace-regexp):
8220 Fix docstrings to replace mentions of `query-replace-interactive'
8221 with alternatives. (Bug#12526)
8222
8223 2012-10-04 Juri Linkov <juri@jurta.org>
8224
8225 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8226 (dired-pop-to-buffer): Declare obsolete.
8227 (dired-mark-pop-up): Doc fix.
8228
8229 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8230
8231 Allow user to set docstring style for fill-paragraph.
8232 * progmodes/python.el
8233 (python-fill-comment-function, python-fill-string-function)
8234 (python-fill-decorator-function, python-fill-paren-function):
8235 Remove :safe for defcustoms.
8236 (python-fill-string-style): New defcustom
8237 (python-fill-paragraph-function): Enhance context detection.
8238 (python-fill-string): Honor python-fill-string-style settings.
8239
8240 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8241
8242 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8243 after setting its buffer (Bug#10805).
8244
8245 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8246
8247 Fix cornercase for string syntax.
8248 * progmodes/python.el (python-syntax-propertize-function):
8249 Simplify and enhance the regexp for unescaped quotes. Now it also
8250 matches quotes in weird situations like the single quote in
8251 "something\"'".
8252 (python-syntax-stringify): Simplify num-quotes detecting code.
8253
8254 2012-10-03 Glenn Morris <rgm@gnu.org>
8255
8256 * help-macro.el (three-step-help):
8257 Revert 2012-09-29 change. (Bug#12567)
8258
8259 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8260
8261 * menu-bar.el (kill-this-buffer): Don't do anything when
8262 `menu-frame' is not alive or visible (Bug#8184).
8263
8264 * emacs-lisp/debug.el (debug): When quitting the debugger window
8265 restore current buffer (Bug#12502).
8266
8267 2012-10-02 Chong Yidong <cyd@gnu.org>
8268
8269 * progmodes/hideif.el (hif-lookup, hif-defined):
8270 Handle semantic-c-takeover-hideif.
8271
8272 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8273
8274 Change sampling interval units from ms to ns.
8275 * profiler.el (profiler-sampling-interval): Change units
8276 from ms to ns, multiplying the default by 1000000 so that
8277 it remains 1 ms.
8278 (profiler-report-cpu-line-format): Give enough room for
8279 the maximum counters on 64-bit hosts.
8280 (profiler-report-render-calltree-1): Call them "CPU samples",
8281 not "Time (ms)", since they are not milliseconds now (and
8282 never really were).
8283
8284 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8285
8286 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8287 Fix querying BBDB for entries without a last name (Bug#11580).
8288
8289 2012-10-02 Chong Yidong <cyd@gnu.org>
8290
8291 * emacs-lisp/eieio.el: Restore Version header.
8292
8293 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * vc/diff-mode.el (diff--auto-refine-data): New var.
8296 (diff-hunk): Use it to delay refinement.
8297 (diff-mode): Remove overlays when we turn off font-lock.
8298
8299 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8300 (table-initialize-table-fixed-width-mode)
8301 (table-set-table-fixed-width-mode): Remove functions.
8302 (table-command-list): Move initialization into declaration.
8303 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8304 (table-with-cache-buffer): Use `declare'.
8305 (table-span-cell): Simplify via CSE.
8306 (table-fixed-width-mode): Use define-minor-mode.
8307 (table-call-interactively, table-funcall, table-apply): Remove.
8308 (table-function): New function, to replace them.
8309
8310 * bookmark.el (bookmark-search-pattern): Remove var.
8311 (bookmark-read-search-input): Remove function.
8312 (bookmark-bmenu-search): Reimplement using a minibuffer.
8313
8314 * faces.el (modeline): Remove obsolete face name.
8315
8316 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8317 and give a non-nil default value.
8318 (add-change-log-entry): Simplify accordingly.
8319
8320 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8321
8322 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8323 (vc-git-log-edit-toggle-amend): New function.
8324 (vc-git-log-edit-toggle-signoff): New function.
8325 (vc-git-log-edit-mode): New major mode.
8326 (vc-git-log-edit-mode-map): Keymap for it.
8327 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8328
8329 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8330 header names.
8331 (log-edit-toggle-header): New function.
8332 (log-edit-extract-headers): Accept function values in HEADERS alist.
8333
8334 2012-10-01 David Engster <deng@randomsample.de>
8335
8336 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8337 from symbol property and change message to be more consistent with
8338 Emacs proper.
8339 (eieio-describe-generic): Add filename for each implementation.
8340 Fix indices for generic and normal methods.
8341 (eieio-method-def, eieio-class-def): New buttons.
8342 (eieio-help-find-method-definition)
8343 (eieio-help-find-class-definition): New functions.
8344 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8345 class, constructor and method definitions.
8346
8347 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8348 information in symbol property.
8349 (scoped-class): Remove.
8350 (eieio-slot-name-index, call-next-method): Check if it is bound.
8351
8352 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8353
8354 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8355 (eieio-custom-mode): New major mode.
8356 (eieio-customize-object): Use it.
8357
8358 2012-10-01 Eric Ludlam <zappo@gnu.org>
8359
8360 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8361 specifying the expected class, and whether subclassing is allowed.
8362 (eieio-persistent-convert-list-to-object):
8363 (eieio-persistent-validate/fix-slot-value)
8364 (eieio-persistent-slot-type-is-class-p): New functions.
8365 (eieio-named::slot-missing): Doc fix.
8366
8367 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8368 Stop using unused publd variable.
8369
8370 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8371 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8372 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8373 (eieio-speedbar-handle-click): Do not specify a class for the
8374 method. Fixes method invocation order problems with EDE.
8375
8376 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8379 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8380
8381 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8382
8383 * bookmark.el (bookmark-version-control): Give tags in the
8384 :type choices (Bug#12309), and improve doc string.
8385 (bookmark-write-file): Bind `print-circle' to `t' to allow
8386 circular custom bookmark types. (Bug#12503)
8387
8388 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8389
8390 Revert the FOLLOW-SYMLINKS change for file-attributes.
8391 * files.el (remote-file-name-inhibit-cache, after-find-file):
8392 * time.el (display-time-file-nonempty-p): Undo last change.
8393
8394 * profiler.el (profiler-sampling-interval): Change default back to 1.
8395 See Stefan Monnier in
8396 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8397
8398 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8399
8400 Shell output catching a la gud-gdb.
8401 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8402 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8403 New Vars.
8404 (python-shell-fetch-lines-filter): New function.
8405 (python-shell-send-string-no-output): Use them.
8406
8407 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8408
8409 * profiler.el (profiler-sampling-interval): Rename from
8410 profiler-sample-interval.
8411 (profiler-sampling-interval): Default to 10.
8412 (profiler-find-profile): New command (was profiler-find-log).
8413 (profiler-find-profile-other-window): New command.
8414 (profiler-find-profile-other-frame): New command.
8415 (profiler-profile): Introduce API-level data structure.
8416
8417 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8418
8419 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8420 * files.el (remote-file-name-inhibit-cache):
8421 * time.el (display-time-file-nonempty-p): Use it.
8422 * files.el (after-find-file): Don't chase links before calling
8423 file-exists-p, as file-exists-p already does the right thing.
8424
8425 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8426
8427 Merge from standalone RefTeX repository.
8428
8429 The following ChangeLog entries are shortened versions of the
8430 original ones with file paths adapted. A not so strongly edited
8431 version of the original ChangeLog can be found in the commit log.
8432
8433 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8434 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8435 Correctly handle new value type returned by `reftex-citation'.
8436
8437 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8438 that entries with whitespace at various places are found.
8439 Doc fix. Include entries that are cross-referenced from cited entries.
8440 Include @String definitions in the resulting bib file. Add header
8441 and footer defined in `reftex-create-bibtex-header' and
8442 `reftex-create-bibtex-footer'.
8443 (reftex-do-citation): Make it possible again to insert
8444 non-existent entries. Save match data when asking for optional
8445 arguments. Return all keys, not just the first one.
8446 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8447 all citations in the same line.
8448 (reftex-parse-bibtex-entry): Accept additional optional argument
8449 `raw' and keep quotes or braces if it is non-nil. Match fields
8450 containing hyphens besides word constituents.
8451 (reftex-get-string-refs): New function.
8452 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8453 and ask if it should be reread in case it did.
8454 (reftex-pop-to-bibtex-entry)
8455 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8456 entries with spaces or tabs in front of arguments.
8457 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8458 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8459 Match entries containing numbers and symbol constituents.
8460 (reftex-do-citation, reftex-figure-out-cite-format):
8461 Use `reftex-cite-key-separator'.
8462
8463 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8464 (reftex-mouse-view-crossref): Explain why point is set.
8465
8466 * textmodes/reftex-global.el: Whitespace changes.
8467
8468 * textmodes/reftex-index.el: Move provide statement to end of
8469 file.
8470 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8471 (reftex-index-visit-phrases-buffer): Set marker when visiting
8472 buffer. This allows for returning from the phrases file to the
8473 file one was just editing instead of the file where the last
8474 phrases was added from.
8475 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8476 punctuation syntax as it usually is not used as string quote in
8477 TeX-related modes and may occur unmatched. The change also
8478 prevents fontification of quoted content.
8479 (reftex-index-phrases-mode): Use it.
8480
8481 * textmodes/reftex-parse.el (reftex-parse-from-file):
8482 Move backward one char if a `\' was matched after a section macro.
8483 (reftex-parse-from-file): Use beginning of match instead of end as
8484 bound.
8485
8486 * textmodes/reftex-ref.el: Adapt creation of
8487 `reftex-<package>-<macro>' functions to new structure of
8488 `reftex-ref-style-alist'.
8489 (reftex-reference): Use `reftex-ref-style-list' function.
8490 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8491 reference macro if `reftex-ref-macro-prompt' is non-nil.
8492 (reftex-reference): Pass refstyle to `reftex-format-special'.
8493 Determine reference macro by looking at
8494 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8495 Use only one special format function.
8496 (reftex-varioref-vref, reftex-fancyref-fref)
8497 (reftex-fancyref-Fref): Remove definitions. The functions are now
8498 generated from `reftex-ref-style-alist'.
8499 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8500 Remove.
8501 (reftex-format-special): New function.
8502
8503 * textmodes/reftex-sel.el
8504 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8505 of `reftex-ref-style-alist'. Remove code for testing macro type.
8506 (reftex-select-toggle-varioref)
8507 (reftex-select-toggle-fancyref): Remove.
8508 (reftex-select-cycle-ref-style-internal)
8509 (reftex-select-cycle-ref-style-forward)
8510 (reftex-select-cycle-ref-style-backward): New functions.
8511 (reftex-select-label-map): Use `v' and `V' for general cycling
8512 through reference styles. Add `p' for switching between number
8513 and page reference types.
8514
8515 * textmodes/reftex-toc.el (reftex-re-enlarge):
8516 Call `enlarge-window' only if there is something to do because in Emacs
8517 the horizontal version throws an error even if the parameter is 0.
8518
8519 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8520 (reftex-plug-into-AUCTeX): Doc fix.
8521 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8522 string. Adapt to new name.
8523 (reftex-ref-style-alist): Change structure so that it is not
8524 possible to use multiple different package names within a style.
8525 Remove the symbols for symbols for macro type distinction.
8526 Add characters for macro selection.
8527 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8528 (reftex-create-bibtex-footer): New variables.
8529 (reftex-format-ref-function): Mention third argument of special
8530 format function.
8531 (reftex-ref-style-alist, reftex-ref-style-default-list):
8532 New variables.
8533 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8534 to new implementation. Mark as obsolete. Add compatibility code
8535 for honoring the variable values in case they are set.
8536 (reftex-cite-format-builtin, reftex-bibliography-commands):
8537 Add support for ConTeXt.
8538 (reftex-format-ref-function, reftex-format-cite-function):
8539 Fix custom type.
8540 (reftex-cite-key-separator): New variable.
8541
8542 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8543 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8544 `reftex-syntax-table' because parens have to retain their paren
8545 syntax in order for parsing of BibTeX entries like @book(...) to
8546 work.
8547 (reftex-in-comment): Do not error out if `comment-start-skip' is
8548 not set. Deal correctly with escaped comment characters.
8549 (reftex-tie-multifile-symbols): Add doc string.
8550 Initialize `reftex-ref-style-list'.
8551 (reftex-untie-multifile-symbols): Add doc string.
8552 (reftex-add-index-macros): Doc fix.
8553 (reftex-ref-style-activate, reftex-ref-style-toggle)
8554 (reftex-ref-style-list): New functions.
8555 (reftex-mode-menu): Use them. Adapt to new structure of
8556 `reftex-ref-style-alist'.
8557 (reftex-select-with-char): Kill the RefTeX Select buffer when
8558 done.
8559 (reftex-remove-if): New function.
8560 (reftex-erase-all-selection-and-index-buffers)
8561 (reftex-mode-menu): Reference styles are now computed from
8562 `reftex-ref-style-alist'. Fix typo.
8563 (reftex-report-bug): New function.
8564 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8565 algorithms with O(n log n). Introduce optional argument SORT (not
8566 yet used).
8567
8568 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8569
8570 Enhancements for triple-quote string syntax.
8571 * progmodes/python.el (python-syntax-propertize-function):
8572 Match both quote cases in one regexp.
8573 (python-syntax-stringify): Handle matches properly.
8574
8575 2012-09-30 Juri Linkov <juri@jurta.org>
8576
8577 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8578 to nil around the call to `insert' to prevent
8579 directory time modification by lock_file. (Bug#2295)
8580 * tar-mode.el (tar-summarize-buffer): Idem.
8581
8582 2012-09-30 Juri Linkov <juri@jurta.org>
8583
8584 * facemenu.el (list-colors-sort): Add option "Luminance".
8585 (list-colors-sort-key): Implement it.
8586
8587 * vc/diff-mode.el (diff-refine-removed):
8588 * vc/ediff-init.el (ediff-fine-diff-A):
8589 * vc/smerge-mode.el (smerge-refined-removed):
8590 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8591
8592 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8593
8594 * term/ns-win.el (x-file-dialog): New function.
8595
8596 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8597
8598 * ido.el (ido-max-directory-size): Default to nil; the current
8599 default is small for POSIX systems, and impractical on Windows 7
8600 now that lstat returns directory sizes for NTFS.
8601
8602 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8603
8604 In buffer display functions handle window-height/window-width
8605 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8606 * window.el (window--display-buffer): New argument ALIST.
8607 Obey window-height and window-width alist entries.
8608 (window--try-to-split-window): New argument ALIST.
8609 Bind window-combination-limit to t when the window's size shall be
8610 changed and window-combination-limit equals `window-size'.
8611 (display-buffer-in-atom-window)
8612 (display-buffer-in-major-side-window)
8613 (display-buffer-in-side-window, display-buffer-same-window)
8614 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8615 (display-buffer-pop-up-window, display-buffer-below-selected)
8616 (display-buffer-at-bottom, display-buffer-in-previous-window)
8617 (display-buffer-use-some-window): Adjust all callers of
8618 window--display-buffer and window--try-to-split-window.
8619 (fit-frame-to-buffer): New option.
8620 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8621 is non-nil.
8622 (display-buffer-in-major-side-window): Evaluate window-height /
8623 window-width alist entries.
8624
8625 * help.el (temp-buffer-resize-frames)
8626 (temp-buffer-resize-regexps): Remove options.
8627 (temp-buffer-resize-mode): Adjust doc-string.
8628 (resize-temp-buffer-window): Don't consult
8629 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8630 temp-buffer-resize-frames.
8631
8632 * dired.el (dired-mark-pop-up):
8633 Call display-buffer-below-selected with a fit-window-to-buffer alist
8634 entry.
8635
8636 2012-09-30 Chong Yidong <cyd@gnu.org>
8637
8638 * server.el (server-host): Document the security implications.
8639 (server-auth-key): Doc fix.
8640
8641 * startup.el (initial-buffer-choice): Doc fix.
8642
8643 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8644
8645 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8646 restriction change.
8647
8648 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8649
8650 * help-fns.el (help-fns--obsolete): Fix last change.
8651
8652 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8655 (minor-mode-map-alist): Remove redundant code.
8656
8657 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8658 visited in a buffer.
8659 (cvs-insert-visited-file): New function.
8660 (find-file-hook): Use it.
8661
8662 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8663
8664 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8665 chose face.
8666 (log-edit-empty-buffer-p): Don't require a space after a header.
8667
8668 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8669
8670 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8671
8672 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8673 a proper minor-mode.
8674
8675 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8676
8677 2012-09-29 Glenn Morris <rgm@gnu.org>
8678
8679 * winner.el (winner-mode): Remove variable (let define-minor-mode
8680 handle it).
8681 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8682 Doc fixes.
8683 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8684 (winner-mode): Use define-minor-mode.
8685
8686 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8687 the full definition in loaddefs, rather than duplicating it.
8688
8689 * help-macro.el (three-step-help): No need to autoload defcustom.
8690
8691 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8692 (inferior-lisp-program, inferior-lisp-load-command)
8693 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8694 No need to autoload defcustoms.
8695
8696 * hippie-exp.el (hippie-expand-try-functions-list)
8697 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8698 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8699 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8700 (hippie-expand-only-buffers): No need to autoload defcustoms.
8701 * progmodes/vhdl-mode.el (vhdl-line-expand):
8702 Explicitly load hippie-exp, so it does not get autoloaded
8703 while hippie-expand-try-functions-list is let-bound.
8704
8705 2012-09-28 Glenn Morris <rgm@gnu.org>
8706
8707 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8708
8709 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8710 Only "cl.el" counts as cl these days.
8711
8712 2012-09-28 Juri Linkov <juri@jurta.org>
8713
8714 Display archive errors in the echo area instead of inserting
8715 to the file buffer.
8716
8717 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8718 to STDERR-TEST that can be a regexp matching a successful output.
8719 Create a temporary file and redirect stderr to it. Search for
8720 STDERR-TEST in the stderr output and display it in the echo area
8721 if no match is found.
8722 (archive-extract-by-file): New function like
8723 `archive-extract-by-stdout' but extracting archives to files
8724 and looking for successful matches in stdout. Function body is
8725 mostly copied from `archive-rar-extract'.
8726 (archive-rar-extract): Use `archive-extract-by-file'.
8727 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8728
8729 2012-09-28 Leo Liu <sdl.web@gmail.com>
8730
8731 * pcomplete.el (pcomplete-show-completions):
8732 Use minibuffer-message to make pcomplete usable in minibuffer.
8733
8734 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8735
8736 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 * type-break.el: Use lexical-binding.
8739 (type-break-mode): Use define-minor-mode.
8740
8741 * emacs-lisp/pcase.el (pcase--mark-used): New.
8742 (pcase--u1): Use it (bug#12512).
8743
8744 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8745 in load-history with the right file name.
8746
8747 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8748
8749 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8750 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8751 (doc-view-get-bounding-box): Make bounding box slicing work for
8752 ODF and DVI documents.
8753
8754 2012-09-28 Glenn Morris <rgm@gnu.org>
8755
8756 * type-break.el (type-break-mode, type-break-interval)
8757 (type-break-good-rest-interval, type-break-keystroke-threshold):
8758 No need to autoload.
8759 (type-break-good-rest-interval, type-break-keystroke-threshold):
8760 Add :set-after.
8761
8762 2012-09-28 Chong Yidong <cyd@gnu.org>
8763
8764 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8765 Add :version tag.
8766
8767 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8770
8771 2012-09-27 Glenn Morris <rgm@gnu.org>
8772
8773 * faces.el (x-display-name): Declare (for without-x builds).
8774
8775 * linum.el (linum-format): Don't autoload it. Improve :type.
8776
8777 * progmodes/tcl.el: Don't require outline when compiling.
8778 (outline-regexp, outline-level): Declare.
8779 * textmodes/sgml-mode.el: Don't require outline when compiling.
8780 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8781
8782 * term.el (term-ansi-reset):
8783 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8784
8785 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8786 files for RCS and SCCS. (Bug#9781)
8787
8788 2012-09-27 Chong Yidong <cyd@gnu.org>
8789
8790 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8791 change; value should be t.
8792
8793 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 * image-mode.el: Use lexical-binding.
8796 (image-mode-winprops): Use t to stand for the window of
8797 a buffer that's not displayed.
8798 * doc-view.el (doc-view-new-window-function): Handle the new
8799 t in winprops.
8800 (doc-view-enlarge): Make it a real nop if the size is not changed.
8801 (doc-view-display): Handle the case where the buffer is not (yet?)
8802 displayed in any window.
8803 (doc-view-saved-settings): New var.
8804 (doc-view-mode): Use it.
8805 (doc-view-fallback-mode): Set it.
8806
8807 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8808 Set lexical-binding.
8809 (minibuffer-eldef-shorten-default): New var.
8810 (minibuffer-default-in-prompt-regexps): Use it for new default.
8811 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8812
8813 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8814
8815 * international/uni-bidi.el:
8816 * international/uni-category.el:
8817 * international/uni-name.el:
8818 * international/uni-numeric.el: Regenerate.
8819
8820 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8821 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * profiler.el: New file.
8824
8825 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8828 (testcover-reinstrument): Simplify with CSE.
8829
8830 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8831
8832 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8833
8834 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8835
8836 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8837 (verilog-auto-input, verilog-auto-insert-lisp)
8838 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8839 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8840 (verilog-auto-unused, verilog-auto-wire)
8841 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8842 newline. Reported by Andrew Jones.
8843 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8844 Reported by Brad Dobbie.
8845 (verilog-batch-delete-trailing-whitespace):
8846 Create verilog-batch-delete-trailing-whitespace.
8847 Reported by Brad Dobbie.
8848 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8849 parameters from another module. Reported by Dan Katz.
8850 (verilog-auto, verilog-auto-assign-modport)
8851 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8852 AUTOINOUTMODPORT for UVM interface module shell generation.
8853 Reported by Brad Dobbie.
8854 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8855 standard behavior.
8856 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8857 Reported by Matt Martin.
8858
8859 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8860
8861 * window.el (window--resize-child-windows): When resizing child
8862 windows proportionally, process them in reverse order to
8863 preserve the "when splitting a window the new one gets the odd
8864 line" behavior.
8865 (window--resize-root-window-vertically): When resizing the
8866 minibuffer window try to affect only windows at the bottom of the
8867 frame. (Bug#12419)
8868
8869 2012-09-25 Chong Yidong <cyd@gnu.org>
8870
8871 * subr.el (declare): Doc fix.
8872
8873 * help-fns.el (help-fns--obsolete): Handle macros properly.
8874
8875 2012-09-25 Chong Yidong <cyd@gnu.org>
8876
8877 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8878 this function obsolete.
8879
8880 * calendar/cal-x.el (calendar-two-frame-setup)
8881 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8882 * calendar/calendar.el (american-calendar, european-calendar)
8883 (calendar-for-loop):
8884 * comint.el (comint-dynamic-simple-complete)
8885 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8886 * desktop.el (desktop-load-default):
8887 * dired-x.el (dired-omit-here-always)
8888 (dired-hack-local-variables, dired-default-directory):
8889 * emacs-lisp/derived.el (derived-mode-class):
8890 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8891 * emacs-lock.el (toggle-emacs-lock):
8892 * epa.el (epa-display-verify-result):
8893 * epg.el (epg-sign-keys, epg-start-sign-keys)
8894 (epg-passphrase-callback-function):
8895 * eshell/esh-util.el (eshell-for):
8896 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8897 (eshell-add-to-window-buffer-names):
8898 * files.el (locate-file-completion):
8899 * imenu.el (imenu-example--create-c-index)
8900 (imenu-example--create-lisp-index)
8901 (imenu-example--lisp-extract-index-name)
8902 (imenu-example--name-and-position):
8903 * international/mule-cmds.el (princ-list):
8904 * international/mule-diag.el (decode-codepage-char):
8905 * international/mule-util.el (detect-coding-with-priority):
8906 * iswitchb.el (iswitchb-read-buffer):
8907 * mail/mailalias.el (mail-complete):
8908 * mail/sendmail.el (mail-sent-via):
8909 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8910 (mouse-major-mode-menu):
8911 * password-cache.el (password-read-and-add):
8912 * pcomplete.el (pcomplete-parse-comint-arguments):
8913 * progmodes/sh-script.el (sh-maybe-here-document):
8914 * replace.el (query-replace-regexp-eval):
8915 * savehist.el (savehist-load):
8916 * simple.el (choose-completion-delete-max-match):
8917 * term.el (term-dynamic-simple-complete):
8918 * vc/ediff-init.el (ediff-check-version):
8919 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8920 * vc/vc.el (vc-diff-switches-list):
8921 * view.el (view-return-to-alist-update): Likewise.
8922
8923 * subr.el (eval-next-after-load, makehash, insert-string)
8924 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8925 mark obsolete.
8926 (mode-line-inverse-video): Variable deleted.
8927
8928 * international/mule-util.el (string-to-sequence): Remove.
8929
8930 * calendar/calendar.el (calendar-version):
8931 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8932 (icalendar-convert-diary-to-ical):
8933 * cus-edit.el (custom-mode):
8934 * ansi-color.el (ansi-color-unfontify-region):
8935 * international/latin1-disp.el (latin1-char-displayable-p):
8936 * progmodes/cwarn.el (turn-on-cwarn-mode):
8937 * progmodes/which-func.el (which-func-update-1):
8938 Use define-obsolete-function-alias.
8939
8940 * net/newst-backend.el (newsticker-cache-filename):
8941 * net/newst-treeview.el (newsticker-groups-filename):
8942 Fix incorrect obsolescence declaration.
8943
8944 * allout.el (allout-passphrase-hint-string): Likewise.
8945 (allout-init): Use a declare form to mark obsolete.
8946
8947 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8948 this applies to functions.
8949
8950 * iswitchb.el (iswitchb-read-buffer): Move code of
8951 iswitchb-define-mode-map here, and delete that obsolete function.
8952
8953 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8954 font-lock-reference-face.
8955
8956 2012-09-25 Glenn Morris <rgm@gnu.org>
8957
8958 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8959 Doc fixes.
8960
8961 * eshell/em-term.el (eshell-term-name):
8962 Default to term-term-name. (Bug#12485)
8963
8964 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8965
8966 * progmodes/python.el (python-shell-send-buffer): Better handling
8967 of "if __name__ == '__main__':" conditionals when sending the buffer.
8968
8969 2012-09-24 Glenn Morris <rgm@gnu.org>
8970
8971 * eshell/esh-cmd.el (eshell-find-alias-function):
8972 Tighten up file-name regexp. (Bug#12499)
8973
8974 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8975
8976 Enhancements for triple-quote string syntax.
8977 * progmodes/python.el (python-quote-syntax): Remove.
8978 (python-syntax-propertize-function): New value.
8979 (python-syntax-count-quotes, python-syntax-stringify):
8980 New functions.
8981
8982 2012-09-24 Chong Yidong <cyd@gnu.org>
8983
8984 * mail/supercite.el (sc-version): Remove obsolete function.
8985 (sc-describe): Don't mark as obsolete, since it is bound.
8986 (sc-submit-bug-report): Remove.
8987
8988 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8989 (cvs-commit-buffer-require-final-newline): Remove.
8990 (log-edit-require-final-newline)
8991 (log-edit-changelog-full-paragraphs): Default to t.
8992
8993 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8994 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8995 * vc/vc.el (vc-checkout-carefully): Likewise.
8996
8997 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8998 (emerge-version): Remove.
8999
9000 * progmodes/compile.el (compile-internal): Remove.
9001 (compilation-parse-errors-function): Fix typo.
9002
9003 * international/mule.el (set-char-table-default): Remove.
9004 (set-coding-priority, make-coding-system, generic-char-p)
9005 (charset-list, charset-bytes, charset-id): Use declare to mark
9006 functions as obsolete.
9007
9008 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9009 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9010 * vc/vc-hooks.el (vc-default-registered): Don't use
9011 vc-master-templates.
9012
9013 * font-lock.el (font-lock-reference-face):
9014 Use define-obsolete-variable-alias.
9015
9016 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9017 * calendar/calendar.el (calendar-font-lock-keywords):
9018 * calendar/diary-lib.el (diary-font-lock-keywords)
9019 (diary-fancy-font-lock-keywords):
9020 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9021 * textmodes/reftex-index.el (reftex-insert-index):
9022 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9023 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9024 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9025 * progmodes/prolog.el (prolog-font-lock-keywords):
9026 * progmodes/idlwave.el (idlwave-idl-keywords):
9027 * progmodes/ada-mode.el (ada-font-lock-keywords):
9028 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9029
9030 2012-09-24 Glenn Morris <rgm@gnu.org>
9031
9032 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9033
9034 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
9035
9036 * progmodes/python.el (python-indent-line): More consistent cursor
9037 movement behavior.
9038
9039 2012-09-23 Stefan Merten <smerten@oekonux.de>
9040
9041 * textmodes/rst.el: Fix compiler warning.
9042
9043 2012-09-23 Roland Winkler <winkler@gnu.org>
9044
9045 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9046 Transcribe also LaTeX hyphenation.
9047 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9048 bibtex-reformat-previous-options.
9049
9050 2012-09-23 Roland Winkler <winkler@gnu.org>
9051
9052 * proced.el (proced-renice-command): New variable.
9053 (proced-marked-processes): New function.
9054 (proced-with-processes-buffer): New macro.
9055 (proced-send-signal): Use them.
9056 (proced-renice): New command bound to r.
9057
9058 2012-09-23 Roland Winkler <winkler@gnu.org>
9059
9060 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9061 ibuffer-saved-filter-groups has one element, shortcut the call of
9062 completing-read. (Bug#12331)
9063
9064 2012-09-23 Chong Yidong <cyd@gnu.org>
9065
9066 * bindings.el (mode-line-toggle-read-only):
9067 * bs.el (bs-toggle-readonly):
9068 * buff-menu.el (Buffer-menu-toggle-read-only):
9069 * dired.el (dired-toggle-read-only):
9070 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9071
9072 2012-09-23 Chong Yidong <cyd@gnu.org>
9073
9074 * image.el (image-type-available-p): Adapt to init-image-library
9075 argument changes.
9076
9077 2012-09-22 Juri Linkov <juri@jurta.org>
9078
9079 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9080 `dired-toggle-read-only'. (Bug#12462)
9081
9082 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9083
9084 * subr.el (temp-output-buffer-show): New function.
9085 (with-output-to-temp-buffer): Call temp-output-buffer-show
9086 instead of internal-temp-output-buffer-show.
9087
9088 2012-09-22 Chong Yidong <cyd@gnu.org>
9089
9090 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9091 (Bug#12462).
9092
9093 * repeat.el (repeat): Doc fix (Bug#12348).
9094
9095 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9096 (Bug#10909).
9097
9098 * simple.el (shell-command-on-region): Doc fix.
9099 (read-only-mode): Doc fix.
9100
9101 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9102
9103 * emacs-lisp/timer.el (run-with-idle-timer)
9104 (timer-activate-when-idle): Warn against reinvoking an idle timer
9105 from within its own timer action. (Bug#12447)
9106
9107 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9108
9109 * cus-start.el (window-combination-limit): Add new optional
9110 values.
9111 * window.el (temp-buffer-window-show)
9112 (window--try-to-split-window): Handle new values of
9113 window-combination-limit (Bug#1806).
9114 (split-window): Test window-combination-limit for t instead of
9115 non-nil.
9116 (display-buffer-at-bottom): New buffer display action function.
9117 * help.el (temp-buffer-resize-regexps): New option.
9118 (temp-buffer-resize-mode): Rewrite doc-string.
9119 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9120 Don't resize reused window. Suggested by Glenn Morris.
9121
9122 2012-09-22 Stefan Merten <smerten@oekonux.de>
9123
9124 * textmodes/rst.el: Revamp section title faces.
9125 (rst-official-version)
9126 (rst-package-emacs-version-alist): Sync with official version
9127 V1.4.0.
9128 (rst-faces-defaults, rst-set-level-default)
9129 (rst-level-face-max, rst-level-face-base-color)
9130 (rst-level-face-base-light, rst-level-face-format-light)
9131 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9132 (rst-adornment-faces-alist): Match new setup.
9133 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9134 (rst-level-5, rst-level-6): New faces.
9135
9136 2012-09-22 Chong Yidong <cyd@gnu.org>
9137
9138 * simple.el (undo): Handle indirect buffers (Bug#8207).
9139
9140 2012-09-21 Leo Liu <sdl.web@gmail.com>
9141
9142 IDO: Disable match re-ordering for buffer switching.
9143 * ido.el (ido-buffer-disable-smart-matches): New variable.
9144 (ido-set-matches-1): Use it. (Bug#2042)
9145
9146 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9147
9148 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9149 Fix 2011-05-17 change. (Bug#12418)
9150
9151 2012-09-21 Leo Liu <sdl.web@gmail.com>
9152
9153 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9154
9155 2012-09-21 Glenn Morris <rgm@gnu.org>
9156
9157 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9158 Be more robust about locating simple.el.
9159
9160 2012-09-21 Glenn Morris <rgm@gnu.org>
9161
9162 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9163
9164 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9165
9166 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9167
9168 2012-09-20 Juri Linkov <juri@jurta.org>
9169
9170 * replace.el (query-replace-read-from): Use `read-regexp' instead
9171 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9172 (occur-read-primary-args): Use `read-regexp' instead of
9173 `read-string'.
9174 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9175 `read-from-minibuffer'.
9176 * isearch.el (isearch-occur): Use `read-regexp' instead of
9177 `read-string'.
9178 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9179 `read-from-minibuffer'.
9180 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9181 of `read-string'. (Bug#7567)
9182
9183 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9184 and allow accepting a list of strings prepended to a list of
9185 standard default values. Doc fix. (Bug#12321)
9186
9187 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9188
9189 * replace.el (read-regexp): Don't add ": " when PROMPT already
9190 ends with a colon and space. (Bug#12321)
9191
9192 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9193
9194 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9195 error.
9196
9197 2012-09-20 Stefan Merten <smerten@oekonux.de>
9198
9199 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9200 Fixes feature request bug#11711.
9201 (rst-mode): Create `imenu-create-index-function'.
9202 (rst-get-stripped-line): Delete after refactoring.
9203 (rst-section-tree, rst-section-tree-rec)
9204 (rst-section-tree-point): Refactor and document properly.
9205 (rst-imenu-find-adornments-for-position)
9206 (rst-imenu-convert-cell, rst-imenu-create-index):
9207 New function.
9208
9209 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9212 (macroexp--expand-all): Use it.
9213 (macroexp--funcall-and-return): Remove by folding it into its sole
9214 caller (macroexp--warn-and-return).
9215 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9216 Use macroexp--obsolete-warning.
9217
9218 * calc/calc.el: Fix last change by removing the whole chunk, since it
9219 was only needed back when Calc was not bundled.
9220
9221 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9222
9223 * emacs-lisp/debug.el (debug): Restore assignment to
9224 debugger-old-buffer removed on 2012-09-08.
9225
9226 2012-09-20 Juri Linkov <juri@jurta.org>
9227
9228 * dired-aux.el (dired-diff): Remove (require 'diff) since
9229 `diff-latest-backup-file' is now autoloaded.
9230
9231 2012-09-20 Chong Yidong <cyd@gnu.org>
9232
9233 * vc/diff.el (diff-latest-backup-file): Autoload.
9234
9235 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * calc/calc.el: Remove redundant autoload shape check.
9238 (sel-mode): Don't defvar.
9239 (calc-get-stack-element): Add `sel-mode' arg instead.
9240 (calc-top, calc-top-list): Pass it this additional argument.
9241 * calc/calc-store.el (calc-store-map):
9242 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9243 (calc-map-equation, calc-outer-product, calc-inner-product):
9244 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9245
9246 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9247
9248 2012-09-19 Juri Linkov <juri@jurta.org>
9249
9250 * dired-aux.el (dired-diff): Add (require 'diff) because
9251 `diff-latest-backup-file' is not autoloaded.
9252 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9253 of `dired-get-filename' to t to not report error when there is
9254 no default file on the current line.
9255
9256 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9259 macroexp--eval-if-compile.
9260 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9261 (macroexp--expand-all): Use them (bug#12371).
9262
9263 * doc-view.el (doc-view-guess-paper-size)
9264 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9265
9266 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9267
9268 New feature: set optimal slice from BoundingBox information.
9269 * doc-view.el (doc-view-mode-map): Add keybinding.
9270 (doc-view-menu): Add menu entry.
9271 (doc-view-set-slice): Adapt docstring.
9272 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9273 (doc-view-scale-bounding-box)
9274 (doc-view-set-slice-from-bounding-box): New functions.
9275 (doc-view-paper-sizes): New defvar.
9276
9277 2012-09-19 Glenn Morris <rgm@gnu.org>
9278
9279 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9280 (byte-compile-log-warning): Autoload. (Bug#12371)
9281
9282 * calendar/calendar.el (calendar-american-month-header)
9283 (calendar-european-month-header, calendar-iso-month-header)
9284 (calendar-month-header): New options.
9285 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9286 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9287
9288 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9289
9290 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9291
9292 2012-09-18 Juri Linkov <juri@jurta.org>
9293
9294 * dired-aux.el (dired-diff): Restore original functionality of
9295 getting the default value, but keep new feature of using the
9296 latest existing backup file (`diff-latest-backup-file').
9297
9298 2012-09-18 Juri Linkov <juri@jurta.org>
9299
9300 * dired.el (dired-mark): If the region is active in Transient Mark
9301 mode, mark all files in the active region. Doc fix.
9302 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9303 Doc fix. (Bug#10624)
9304
9305 2012-09-18 Juri Linkov <juri@jurta.org>
9306
9307 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9308 attributes for M-n are pulled from the file at point.
9309 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9310 Suggested by Drew Adams. (Bug#10624)
9311
9312 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9313
9314 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9315 whitespace after "end".
9316 (ruby-do-end-to-brace): Collapse block to one line if it fits
9317 within fill-column.
9318
9319 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9320
9321 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9322 value.
9323 (debug): Don't remove debugger window when debugger is expected
9324 to be back.
9325
9326 2012-09-18 Chong Yidong <cyd@gnu.org>
9327
9328 * custom.el (defface): Doc fix.
9329
9330 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9331
9332 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9333
9334 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9335 to initialize query-on-exit; then test that instead (bug#12288).
9336
9337 2012-09-17 Stefan Merten <smerten@oekonux.de>
9338
9339 * textmodes/rst.el: Add support for `testcover'.
9340 (rst-defcustom-testcover, rst-testcover-add-compose)
9341 (rst-testcover-add-1value): New functions.
9342 (rst-portable-mark-active-p): Replace by `use-region-p'.
9343 (rst-update-section, rst-classify-adornment)
9344 (rst-find-title-line): Mark `1value' forms.
9345 (rst-classify-adornment): Remove superfluous form.
9346 (rst-update-section, rst-get-adornments-around)
9347 (rst-adornment-complete-p, rst-get-next-adornment)
9348 (rst-adjust, rst-promote-region)
9349 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9350 (rst-find-pfx-in-region, rst-section-tree-rec)
9351 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9352 (rst-toc-node, rst-toc, rst-forward-section)
9353 (rst-iterate-leftmost-paragraphs)
9354 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9355 (rst-bullet-list-region)
9356 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9357 (rst-compile-find-conf, rst-compile)
9358 (rst-repeat-last-character): Fix style.
9359
9360 2012-09-17 Chong Yidong <cyd@gnu.org>
9361
9362 * comint.el (comint--complete-file-name-data): Don't add a space
9363 if the status is `sole'; that adds a gratuitous space in the
9364 completion-cycling case (Bug#12092).
9365
9366 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9367
9368 2012-09-17 Richard Stallman <rms@gnu.org>
9369
9370 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9371 only in the mime-shown mode, not in raw mode.
9372 (rmail-mime): Toggle off mime by displaying the message without
9373 mime processing. (Bug#12305)
9374
9375 * mail/rmail.el (rmail-retry-failure):
9376 Turn off mime processing first. (Bug#12037)
9377
9378 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9379
9380 2012-09-17 Chong Yidong <cyd@gnu.org>
9381
9382 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9383 (shell-dynamic-complete-functions): Convert to defcustom.
9384 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9385
9386 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9387 * comint.el (comint-prompt-read-only):
9388 * custom.el (defcustom):
9389 * hi-lock.el (hi-lock-mode):
9390 * ibuffer.el (ibuffer-formats):
9391 * ielm.el (ielm-prompt-read-only):
9392 * novice.el (disable-command):
9393 * saveplace.el (toggle-save-place):
9394 * speedbar.el (speedbar-supported-extension-expressions):
9395 * startup.el (auto-save-list-file-prefix, init-file-user)
9396 (after-init-hook, inhibit-startup-echo-area-message):
9397 * strokes.el (strokes-help):
9398 * time-stamp.el (time-stamp):
9399 * calendar/calendar.el (calendar, diary-file):
9400 * calendar/diary-lib.el (diary-mail-entries, diary)
9401 (diary-list-entries-hook):
9402 * calendar/holidays.el (holidays, calendar-holidays):
9403 * calendar/lunar.el (lunar-phases):
9404 * calendar/solar.el (sunrise-sunset):
9405 * emulation/edt.el (edt-load-keys):
9406 * emulation/viper.el (viper-mode):
9407 * eshell/em-alias.el (eshell-command-aliases-list):
9408 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9409 * international/ogonek.el (ogonek-information):
9410 * net/tramp-cmds.el (tramp-bug):
9411 * net/quickurl.el (quickurl-reread-hook-postfix):
9412 * play/decipher.el (decipher-font-lock-keywords):
9413 * progmodes/cc-styles.el (c-set-style):
9414 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9415 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9416 * progmodes/octave-mod.el (octave-mode):
9417 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9418 * progmodes/verilog-mode.el (verilog-read-defines):
9419 * textmodes/two-column.el (2C-mode): Likewise.
9420
9421 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9422
9423 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9424 that holds many addresses.
9425
9426 2012-09-16 Chong Yidong <cyd@gnu.org>
9427
9428 * align.el (align-areas): Call the indication function with
9429 positions instead of markers for arguments (Bug#12343).
9430
9431 * files.el (parse-colon-path): Use split-string (Bug#12351).
9432
9433 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9434 (display-buffer-function): Mark as obsolete.
9435
9436 * progmodes/compile.el (compilation-parse-errors): Accept list
9437 values similar to font-lock-keywords (Bug#12136).
9438 Suggested by Oleksandr Manzyuk.
9439 (compilation-error-regexp-alist): Doc fix.
9440
9441 2012-09-15 Glenn Morris <rgm@gnu.org>
9442
9443 * version.el (emacs-bzr-version-bzr): New function.
9444 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9445
9446 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9447 checkouts, check the parent dirstate matches the branch.
9448 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9449 empty string.
9450
9451 * version.el (emacs-bzr-version): Doc fix.
9452 (emacs-bzr-version-dirstate): New function.
9453 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9454 is local try and check that it matches the branch. If not, just
9455 use dirstate information. (Bug#12441)
9456
9457 2012-09-14 Juri Linkov <juri@jurta.org>
9458
9459 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9460 (Bug#12399)
9461
9462 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9465
9466 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9467 Remove obsolete byte-compiler hack that tried to silence some warnings.
9468 (edebug-submit-bug-report): Remove.
9469 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9470 Remove aliases, use the un-prefixed name instead.
9471 (edebug-pop-to-buffer): Consider other frames.
9472 (edebug-original-read):: Make it more obvious that it's always defined.
9473 (edebug--make-form-data-entry, edebug--form-data-name)
9474 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9475 single-dashed name, and implement with cl-defstruct.
9476 (edebug-set-form-data-entry): Use the standard accessors.
9477 (edebug-make-top-form-data-entry): Use push.
9478 (edebug-no-match): Drop useless `funcall'.
9479 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9480 to functions.
9481 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9482 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9483 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9484 (easy-menu-define, with-custom-print): Remove redundant specs.
9485 (edebug-outside-overriding-local-map)
9486 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9487 (edebug--display): Bind unread-command-events directly to nil rather
9488 than binding it to unread-command-events and later setting it to nil.
9489 (edebug--display): Kill edebug-eval-buffer here...
9490 (edebug--recursive-edit): ...rather than here.
9491 Bind standard-output and standard-input.
9492 (edebug-eval): Check cl-macroexpand-all is fboundp.
9493 (edebug-temp-display-freq-count): Fix last change.
9494
9495 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9496 * subr.el (noreturn, 1value): Add `debug' spec.
9497 * emacs-lisp/advice.el: Require cl-lib.
9498 (ad-copy-tree): Remove, use copy-tree instead.
9499 (ad-dolist): Remove use dolist or cl-dolist instead.
9500 (ad-do-return): Remove, use cl-return instead.
9501 (defadvice): Add `debug' spec.
9502
9503 2012-09-13 Juri Linkov <juri@jurta.org>
9504
9505 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9506 (Bug#12399)
9507
9508 2012-09-13 Glenn Morris <rgm@gnu.org>
9509
9510 * calc/calc.el (math-compose-expr):
9511 * calc/calc-ext.el (math-compose-expr):
9512 * progmodes/cc-defs.el (cl-macroexpand-all):
9513 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9514 (cl-macroexpand-all): Update declarations.
9515
9516 * vc/vc.el: No need to require ediff.
9517 (ediff-load-version-control): Declare.
9518 (ediff-vc-internal): Fix declaration.
9519 (vc-version-ediff): Require ediff.
9520
9521 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9522
9523 Use a more backwards-compatible timer format (Bug#12430).
9524 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9525 being right after USECS, as that better supports old code that
9526 inadvisedly looked directly at the timer vector.
9527
9528 2012-09-13 Kenichi Handa <handa@gnu.org>
9529
9530 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9531 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9532 `coding-priority' property of these language environment.
9533
9534 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9535
9536 Fix glitches caused by addition of psec to timers (Bug#12430).
9537 * image.el (image-animate-timer):
9538 * time.el (display-time-world-timer):
9539 Use timer--function and timer--args rather than raw access to
9540 timer vector.
9541
9542 2012-09-13 Glenn Morris <rgm@gnu.org>
9543
9544 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9545 If not compiling a file, try using load-file-name.
9546
9547 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9550 Fix last change.
9551 (edebug-update-eval-list): Use `push'.
9552
9553 * emacs-lisp/edebug.el: Use lexical-binding.
9554 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9555 Mark unused args with underscore.
9556 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9557 (edebug-form-data): Use defvar-local.
9558 (edebug-make-before-and-after-form, edebug-make-after-form):
9559 Use backquote.
9560 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9561 Not dynamically scoped any more.
9562 (edebug--enter-trace): Add arguments `function' and `args'.
9563 Rename from edebug-enter-trace.
9564 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9565 (edebug--update-coverage): Add `after-index' and `value' args.
9566 Rename from edebug-update-coverage.
9567 (edebug-slow-after): Call it accordingly.
9568 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9569 edebug-recursive-edit.
9570 (edebug--display): Call it accordingly. Add args `value',
9571 `offset-index', and `arg-mode'. Rename from edebug-display.
9572 (edebug-debugger, edebug): Call it accordingly.
9573 (edebug-eval-display-list): Use dolist.
9574
9575 2012-09-12 Juri Linkov <juri@jurta.org>
9576
9577 * info.el (Info-search): Don't check for isearch-mode and
9578 isearch-regexp before let-binding search-spaces-regexp to
9579 Info-search-whitespace-regexp.
9580 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9581 search-whitespace-regexp if isearch-lax-whitespace or
9582 isearch-regexp-lax-whitespace is non-nil.
9583 (Info-mode): Don't set local variable search-whitespace-regexp.
9584 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9585
9586 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9589 (debugger-env-macro): Remove support for unread-command-char.
9590
9591 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9592 the temporary map re-appearing on emulation-mode-map-alists.
9593
9594 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9595 since 22.1.
9596
9597 * ehelp.el (with-electric-help): Accept functions in
9598 electric-help-form-to-execute.
9599 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9600 And replace unread-command-char -> unread-command-events.
9601
9602 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9603
9604 Sync with Tramp 2.2.6.
9605
9606 * net/tramp.el (tramp-accept-process-output): Don't use
9607 JUST-THIS-ONE in the XEmacs case.
9608
9609 * net/trampver.el: Update release number.
9610
9611 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9612
9613 * emacs-lisp/debug.el (debugger-previous-window-height):
9614 New variable.
9615 (debug): When debugger-jumping-flag is non-nil try to restore
9616 height of debugger window. (Bug#8789)
9617
9618 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9621 overriding-local-map and pre/post-command-hook here.
9622 (edebug-recursive-edit): Do it here instead (bug#12345).
9623 (edebug-outside-unread-command-char): Remove all uses of
9624 unread-command-char.
9625
9626 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9627 inhibit-debugger is bound instead.
9628
9629 2012-09-11 Bastien Guerry <bzg@gnu.org>
9630
9631 * subr.el (set-temporary-overlay-map): Add a docstring.
9632 (Bug#12346)
9633
9634 2012-09-11 Bastien Guerry <bzg@gnu.org>
9635
9636 * minibuffer.el (completion-table-subvert): Fix docstring.
9637 (Bug#12347)
9638
9639 2012-09-11 Bastien Guerry <bzg@gnu.org>
9640
9641 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9642
9643 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9644
9645 * progmodes/sql.el: Version 3.1
9646 (sql-db2-escape-newlines): New variable.
9647 (sql-escape-newlines-filter): Use it.
9648
9649 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9650
9651 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9652
9653 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9654
9655 * vc/diff-mode.el (diff-mode-menu):
9656 Bind diff-remove-trailing-whitespace.
9657
9658 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9661 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9662 (emacs-lisp-byte-code-mode): New functions.
9663 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9664 (eval-defun-2): Remove bogus interactive spec.
9665 (lisp-indent-line): Remove redundant whole-exp code, now done in
9666 indent-according-to-mode.
9667 (save-match-data): Remove redundant indent data.
9668
9669 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9670 Use `declare'.
9671
9672 2012-09-09 Juri Linkov <juri@jurta.org>
9673
9674 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9675 (replace-lax-whitespace, query-replace-regexp)
9676 (query-replace-regexp-eval, replace-regexp): Doc fix.
9677 (perform-replace, replace-highlight): Let-bind
9678 isearch-lax-whitespace to replace-lax-whitespace and
9679 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9680
9681 * isearch.el (isearch-query-replace): Let-bind
9682 replace-lax-whitespace to isearch-lax-whitespace and
9683 replace-regexp-lax-whitespace to
9684 isearch-regexp-lax-whitespace. (Bug#10885)
9685
9686 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9689
9690 2012-09-09 Alan Mackenzie <acm@muc.de>
9691
9692 * progmodes/cc-engine.el (c-state-cache-init):
9693 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9694 (c-record-parse-state-state):
9695 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9696
9697 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9698
9699 * register.el (register-separator): Rename from
9700 separator-register. All uses changed. Doc fix.
9701 (register): Fix version.
9702
9703 2012-09-09 Chong Yidong <cyd@gnu.org>
9704
9705 * replace.el (query-replace-map): Bind four new symbols for
9706 requesting window scrolling.
9707
9708 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9709 query-replace-map (Bug#8948).
9710
9711 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9712
9713 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9714 since they are now in query-replace-map.
9715
9716 * window.el (scroll-other-window-down): Make the arg optional.
9717
9718 2012-09-09 Chong Yidong <cyd@gnu.org>
9719
9720 * files.el (hack-local-variables-confirm): Use quit-window to kill
9721 the *Local Variables* buffer.
9722
9723 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9724
9725 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9726 not just expect to be at its beginning. Adjust callees.
9727 Succeed when do-end block has no space before the pipe character.
9728 (ruby-brace-to-do-end): When the original block is one-liner,
9729 convert to multiline. Reindent the result.
9730
9731 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9732
9733 * register.el (register): New group.
9734 (separator-register): New user option.
9735 (increment-register): Route it to `append-to-register', if
9736 register contains text. Implication is that `C-x r +' can now be
9737 used for appending to a text register (bug#12217).
9738 (append-to-register, prepend-to-register): Add separator based on
9739 `separator-register'.
9740
9741 2012-09-08 Alan Mackenzie <acm@muc.de>
9742
9743 AWK Mode: make auto-newline work when there's "==" in the pattern.
9744 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9745 correctly.
9746 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9747 Test more rigorously for "=" token.
9748
9749 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9750
9751 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9752 Only fail when reached LIMIT.
9753
9754 2012-09-08 Chong Yidong <cyd@gnu.org>
9755
9756 * dired.el (dired-mode-map): Don't bind M-=.
9757
9758 * dired-aux.el (dired-diff): Use backup file as default.
9759
9760 2012-09-08 Drew Adams <drew.adams@oracle.com>
9761
9762 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9763
9764 2012-09-08 Chong Yidong <cyd@gnu.org>
9765
9766 * subr.el (syntax-after, syntax-class): Doc fix.
9767
9768 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9769
9770 * window.el (display-buffer-in-previous-window): New buffer
9771 display action function.
9772
9773 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9774 (debugger-previous-window): New variable.
9775 (debug): Rewrite using display-buffer-in-previous-window,
9776 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9777
9778 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9781
9782 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9783
9784 * progmodes/python.el (python-shell-send-string):
9785 When default-directory is remote, create temp file on remote
9786 filesystem.
9787 (python-shell-send-file): When file is remote, pass local view of
9788 file paths to remote Python interpreter. (Bug#12340)
9789
9790 2012-09-07 Chong Yidong <cyd@gnu.org>
9791
9792 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9793
9794 * files.el (after-find-file): Don't fail on a read-only buffer if
9795 require-final-newline is `visit' or `visit-save' (Bug#11156).
9796
9797 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9798
9799 * userlock.el (ask-user-about-supersession-threat):
9800 Use read-char-choice (Bug#12093).
9801
9802 2012-09-07 Chong Yidong <cyd@gnu.org>
9803
9804 * subr.el (buffer-narrowed-p): New function.
9805
9806 * ses.el (ses-widen):
9807 * simple.el (count-words--buffer-message):
9808 * net/browse-url.el (browse-url-of-buffer): Use it.
9809
9810 * simple.el (count-words-region): Don't signal an error if there
9811 is a non-nil prefix arg and the mark is not set.
9812
9813 * help.el (describe-key-briefly): Allow the message to be seen
9814 when invoked from the minibuffer (Bug#7014).
9815
9816 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9817
9818 * progmodes/ruby-mode.el (ruby-end-of-defun)
9819 (ruby-beginning-of-defun): Simplify, allow indentation before
9820 block beginning and end keywords.
9821 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9822 (ruby-end-of-defun): Expect that the point is at the beginning of
9823 the defun.
9824
9825 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9826
9827 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9828 (bug#12367).
9829 (cl--make-usage-args): Strip _ from argument names.
9830
9831 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9832
9833 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9834 obsolete alias speedbar-key-map.
9835 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9836 (vhdl-index-menu-init): Don't use obsolete variable
9837 font-lock-maximum-size.
9838
9839 2012-09-06 Chong Yidong <cyd@gnu.org>
9840
9841 * frame.el (window-system-version): Mark as obsolete.
9842
9843 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9844 of obsolete variable speedbar-key-map.
9845
9846 2012-09-06 Juri Linkov <juri@jurta.org>
9847
9848 * replace.el (replace-lax-whitespace): New defcustom.
9849 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9850 (replace-string, replace-regexp): Mention it in docstrings.
9851 (perform-replace, replace-highlight): Let-bind
9852 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9853 to the values of replace-lax-whitespace and regexp-flag.
9854 Don't let-bind search-whitespace-regexp. (Bug#10885)
9855
9856 * isearch.el (isearch-query-replace): Let-bind
9857 replace-lax-whitespace instead of let-binding
9858 replace-search-function and replace-re-search-function.
9859 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9860 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9861 (isearch-toggle-symbol): Set isearch-regexp to nil
9862 in isearch-word mode (like in isearch-toggle-word).
9863
9864 2012-09-06 Juri Linkov <juri@jurta.org>
9865
9866 * replace.el (replace-search-function)
9867 (replace-re-search-function): Set default values to nil.
9868 (perform-replace): Let-bind isearch-related variables based on
9869 replace-related values, call `isearch-search-fun' and let-bind
9870 the result to `search-function'. Remove code that sets
9871 `search-function' and `search-string' separately for
9872 `delimited-flag'.
9873 (replace-highlight): Add new argument `delimited-flag' and
9874 rename other arguments to the names used in `perform-replace'.
9875 Let-bind `isearch-word' to the argument `delimited-flag'.
9876 (Bug#10885, bug#10887)
9877
9878 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9879
9880 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9881 ruby-beginning-of-indent, simplify, allow all keywords to have
9882 indentation before them.
9883 (ruby-beginning-of-indent): Adjust for above. Search until the
9884 found point is not inside a string or comment.
9885 (ruby-font-lock-keywords): Allow symbols to start with "@"
9886 character, give them higher priority than variables.
9887 (ruby-syntax-propertize-function)
9888 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9889 matchers. Expression expansions are not comments when inside a
9890 string, and there comment syntax status is irrelevant.
9891 (ruby-match-expression-expansion): New function. Check that
9892 expression expansion is inside a string, and it's not escaped.
9893 (ruby-font-lock-keywords): Use it.
9894
9895 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9896
9897 * help.el (temp-buffer-max-height): New default value.
9898 (temp-buffer-resize-frames): New option.
9899 (resize-temp-buffer-window): Optionally resize frame.
9900
9901 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9902 (fit-frame-to-buffer): New function.
9903
9904 2012-09-05 Glenn Morris <rgm@gnu.org>
9905
9906 * emulation/cua-rect.el (cua--init-rectangles):
9907 * textmodes/picture.el (picture-mode-map):
9908 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9909 like forward-char and backward-char. (Bug#12317)
9910
9911 2012-09-05 Leo Liu <sdl.web@gmail.com>
9912
9913 * progmodes/flymake.el (flymake-warning-re): New variable.
9914 (flymake-parse-line): Use it.
9915
9916 2012-09-05 Glenn Morris <rgm@gnu.org>
9917
9918 * calendar/holidays.el (holiday-christian-holidays):
9919 Rename an entry. (Bug#12289)
9920
9921 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9924 (bug#12222).
9925
9926 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * loadup.el: Load macroexp. Remove hack.
9929 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9930 (macroexp--expand-all): Use it to get better warnings.
9931 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9932 (internal-macroexpand-for-load): New functions.
9933 (macroexp--pending-eager-loads): New var.
9934 (emacs-startup-hook): New hack to replace one in loadup.el.
9935 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9936 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9937 (cl-psetf): Simplify.
9938 (cl-defstruct): Add indent rule.
9939
9940 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9941
9942 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9943 over `user-mail-address' for the SMTP MAIL FROM envelope.
9944 (smtpmail-via-smtp): Ditto.
9945
9946 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9947
9948 * progmodes/ruby-mode.el: Clean up keybindings.
9949 (ruby-mode-map): Don't bind ruby-electric-brace,
9950 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9951 backward-kill-word, reindent-then-newline-and-indent.
9952 (ruby-mark-defun): Remove.
9953 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9954 (ruby-mode): Set local beginning-of-defun-function and
9955 end-of-defun-function values.
9956
9957 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9958
9959 * window.el (temp-buffer-window-setup-hook)
9960 (temp-buffer-window-show-hook): New hooks.
9961 (temp-buffer-window-setup, temp-buffer-window-show)
9962 (with-temp-buffer-window): New functions.
9963 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9964 (special-display-popup-frame): Make sure the window used shows BUFFER.
9965
9966 * help.el (temp-buffer-resize-mode): Fix doc-string.
9967 (resize-temp-buffer-window): New optional argument WINDOW.
9968
9969 * files.el (recover-file, save-buffers-kill-emacs):
9970 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9971
9972 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9973
9974 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9975 remote definition of `default-directory', ensure we can connect.
9976
9977 2012-09-02 Juri Linkov <juri@jurta.org>
9978
9979 Toggle whitespace matching mode with M-s SPC.
9980 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9981
9982 * isearch.el (search-whitespace-regexp): Doc fix.
9983 Remove cons cell customization.
9984 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9985 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9986 New variables.
9987 (isearch-forward, isearch-forward-regexp): Doc fix.
9988 (isearch-toggle-lax-whitespace): New command.
9989 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9990 (re-search-forward-lax-whitespace)
9991 (re-search-backward-lax-whitespace): New functions.
9992 (isearch-whitespace-regexp): Remove function.
9993 (isearch-query-replace): Let-bind replace-search-function and
9994 replace-re-search-function.
9995 (isearch-occur): Let-bind search-spaces-regexp according to the
9996 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9997 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9998 condition for C-q SPC.
9999 (isearch-search-fun-default): Use new functions mentioned above.
10000 (isearch-search-forward, isearch-search-backward): Remove functions.
10001 (isearch-search): Don't let-bind search-spaces-regexp.
10002 (isearch-lazy-highlight-space-regexp): Remove variable.
10003 (isearch-lazy-highlight-lax-whitespace)
10004 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10005 (isearch-lazy-highlight-new-loop): Use them.
10006 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10007
10008 2012-09-02 Chong Yidong <cyd@gnu.org>
10009
10010 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10011
10012 2012-09-02 Glenn Morris <rgm@gnu.org>
10013
10014 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10015
10016 2012-09-01 Glenn Morris <rgm@gnu.org>
10017
10018 * term.el: Tidy up menu definitions.
10019 (term-mode-map): Use easymenu for In/Out, Complete menus.
10020 (term-pager-break-map): Initialize in the defvar.
10021 (term-terminal-menu, term-signals-menu): Define with easymenu.
10022 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10023 (term-pager-menu): New, extracted from term-process-pager.
10024 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10025 (term-update-mode-line): Propertize line/char and page items.
10026 (term-process-pager): Move keymap initialization elsewhere.
10027
10028 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10029
10030 * window.el (switch-to-prev-buffer): Handle additional values of
10031 BURY-OR-KILL argument. Don't switch in minibuffer window.
10032 (switch-to-next-buffer): Don't switch in minibuffer window.
10033 (quit-restore-window): New function based on quit-window.
10034 Handle additional values of former KILL argument.
10035 (quit-window): Call quit-restore-window with appropriate
10036 interpretation of KILL argument.
10037 (display-buffer-below-selected): New buffer display action
10038 function.
10039
10040 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * minibuffer.el (completion-at-point-functions): Complete docstring
10043 (bug#12254).
10044
10045 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10046
10047 Better seed support for (random).
10048 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10049 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10050 * play/mpuz.el, play/tetris.el, play/zone.el:
10051 * calc/calc-comb.el (math-init-random-base):
10052 * play/blackbox.el (bb-init-board):
10053 * play/life.el (life):
10054 * server.el (server-use-tcp):
10055 * type-break.el (type-break):
10056 Remove unnecessary call to (random t).
10057 * net/sasl.el (sasl-unique-id-function):
10058 Change (random t) to (random), now that the latter is more random.
10059 * play/life.el (life-initialized): Remove no-longer-needed var.
10060
10061 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10062
10063 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10064 Consider frame's buffer predicate when choosing the buffer.
10065 (Bug#12081)
10066
10067 2012-08-30 Richard Stallman <rms@gnu.org>
10068
10069 * simple.el (special-mode-map): Delete binding for `z'.
10070
10071 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10072
10073 * progmodes/compile.el (compilation-always-kill): Doc fix.
10074
10075 2012-08-30 Chong Yidong <cyd@gnu.org>
10076
10077 * window.el (display-buffer-reuse-frames): Make the obsolescence
10078 message more informative.
10079
10080 2012-08-30 Glenn Morris <rgm@gnu.org>
10081
10082 * paren.el (show-paren-delay):
10083 Add a :set function. Doc fix. (Bug#12297)
10084
10085 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10086
10087 * progmodes/compile.el (compilation-always-kill): New var.
10088 (compilation-start): Use it.
10089
10090 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10093 * files.el (read-only-mode): Move to simple.el.
10094
10095 * files.el (read-only-mode): New minor mode.
10096 (toggle-read-only): Use it and mark obsolete.
10097 (find-file--read-only):
10098 * vc/vc.el (vc-next-action, vc-checkout):
10099 * vc/vc-cvs.el (vc-cvs-checkout):
10100 * obsolete/vc-mcvs.el (vc-mcvs-update):
10101 * ffap.el (ffap--toggle-read-only): Update callers.
10102
10103 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10104
10105 * eshell/esh-ext.el (eshell-external-command): Do not examine
10106 remote shell scripts.
10107 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10108
10109 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10110 "/usr/local/sbin".
10111
10112 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10115
10116 2012-08-28 Leo Liu <sdl.web@gmail.com>
10117
10118 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10119 completion-at-point. (Bug#12220)
10120
10121 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10122
10123 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10124
10125 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10128 be buffer-local; add delete-trailing-whitespace (bug#12259).
10129
10130 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10131
10132 * progmodes/hideif.el (hif-compress-define-list):
10133 Fix typo. (Bug#11951)
10134
10135 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10136
10137 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10138 buffer local setting.
10139
10140 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10141 rcirc-encode-coding-system.
10142
10143 2012-08-28 Leo Liu <sdl.web@gmail.com>
10144
10145 * net/rcirc.el (rcirc-split-message): New function.
10146 (rcirc-send-message): Use it. (Bug#12051)
10147
10148 2012-08-28 Juri Linkov <juri@jurta.org>
10149
10150 * info.el (Info-fontify-node): Hide empty lines at the end of
10151 the node. (Bug#12272)
10152
10153 2012-08-27 Drew Adams <drew.adams@oracle.com>
10154
10155 * dired.el (dired-pop-to-buffer): Make window start at beginning
10156 of buffer (Bug#12281).
10157
10158 2012-08-26 Chong Yidong <cyd@gnu.org>
10159
10160 * window.el (special-display-regexps, special-display-frame-alist)
10161 (special-display-buffer-names, special-display-function)
10162 (display-buffer-reuse-frames): Mark as obsolete.
10163
10164 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10165
10166 * help.el (help-print-return-message): Don't treat
10167 display-buffer-reuse-frames specially.
10168
10169 2012-08-26 Chong Yidong <cyd@gnu.org>
10170
10171 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10172 New variable, replacing gdb-frame-parameters.
10173 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10174 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10175 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10176 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10177 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10178 the functions directly with gdb-display-buffer-other-frame-action.
10179 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10180 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10181 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10182 (gdb-display-registers-buffer): Define directly.
10183 (def-gdb-display-buffer): Macro deleted.
10184 (gdb-display-buffer): Remove second and third args, callers don't
10185 use them. Defer to the default display-buffer behavior, apart
10186 from making windows dedicated.
10187 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10188
10189 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10190
10191 * window.el (display-buffer-pop-up-frame): Handle a
10192 pop-up-frame-parameters alist entry.
10193 (display-buffer): Document it.
10194
10195 2012-08-26 Chong Yidong <cyd@gnu.org>
10196
10197 * isearch.el (search-whitespace-regexp): Make string and nil
10198 values apply to both ordinary and regexp search. Allow a cons
10199 cell value to distinguish between the two.
10200 (isearch-whitespace-regexp, isearch-search-forward)
10201 (isearch-search-backward): New functions.
10202 (isearch-occur, isearch-search-fun-default, isearch-search)
10203 (isearch-lazy-highlight-new-loop): Use them.
10204 (isearch-forward, isearch-forward-regexp): Doc fix.
10205
10206 2012-08-26 Chong Yidong <cyd@gnu.org>
10207
10208 * faces.el (help-argument-name): Always inherit from italic
10209 (Bug#12213).
10210
10211 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10212
10213 * window.el (window--even-window-heights): Even heights when
10214 WINDOW and the selected window form a vertical combination.
10215 (display-buffer-use-some-window): Provide that window used gets
10216 sized back by quit-window. (Bug#11880) and (Bug#12091)
10217
10218 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10219
10220 Fix file time stamp problem with bzr and CVS (Bug#12001).
10221 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10222 in the file's time stamp, since the version control system loses
10223 that information.
10224
10225 2012-08-22 Juri Linkov <juri@jurta.org>
10226
10227 * info.el (Info-fontify-node): Hide the suffix of the
10228 Info file name in the header line. (Bug#12187)
10229
10230 2012-08-22 Glenn Morris <rgm@gnu.org>
10231
10232 * calendar/cal-tex.el (cal-tex-weekly-common):
10233 Restore leading blank page.
10234
10235 2012-08-22 Le Wang <l26wang@gmail.com>
10236
10237 * misc.el (forward-to-word, backward-to-word): Activate or extend
10238 the region under `shift-select-mode'. (Bug#12231)
10239
10240 2012-08-22 Bastien Guerry <bzg@gnu.org>
10241
10242 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10243 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10244 gives details on why the space is never needed.
10245
10246 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10247
10248 * window.el (walk-window-tree, window-with-parameter):
10249 New optional argument MINIBUF to control whether these functions
10250 should run on the minibuffer window.
10251 (window-at-side-list): Don't operate on minibuffer window.
10252 (window-in-direction): Simplify and rewrite doc-string.
10253 (window--size-ignore): Rename to window--size-ignore-p.
10254 Update callers.
10255 (display-buffer-in-atom-window, window--major-non-side-window)
10256 (window--major-side-window, display-buffer-in-major-side-window)
10257 (delete-side-window, display-buffer-in-side-window):
10258 New functions.
10259 (window--side-check, window-deletable-p, delete-window)
10260 (delete-other-windows, split-window): Handle side windows and
10261 atomic windows appropriately.
10262 (window--display-buffer): Call display-buffer-record-window also
10263 when the window buffer did not change.
10264
10265 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10266
10267 * help-fns.el (help-fns--key-bindings):
10268 Abbreviate non-symbol remap targets. (Bug#12174)
10269
10270 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10271
10272 * dired.el (dired-mark-remembered): Don't clobber point.
10273 (Bug#11795)
10274
10275 2012-08-22 Glenn Morris <rgm@gnu.org>
10276
10277 * progmodes/bug-reference.el (bug-reference): New custom group.
10278 (bug-reference-bug-regexp): Make it a defcustom.
10279
10280 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10281
10282 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10283 (js-paren-indent-offset, js-square-indent-offset)
10284 (js-curly-indent-offset): Add :safe (Bug#12257).
10285
10286 2012-08-22 Edward O'Connor <hober0@gmail.com>
10287
10288 * json.el (json-key-format): Add error properties.
10289 (json-encode-key): New function.
10290 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10291 Use json-encode-key.
10292
10293 2012-08-22 Glenn Morris <rgm@gnu.org>
10294
10295 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10296 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10297 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10298 Update for above change.
10299
10300 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10301
10302 * cus-face.el (custom-face-attributes): Fix customize type for the
10303 :underline attribute. (Bug#11805)
10304
10305 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10306
10307 * window.el (window-point-1, set-window-point-1): Remove.
10308 (window-in-direction, record-window-buffer)
10309 (set-window-buffer-start-and-point, split-window-below)
10310 (window--state-get-1, display-buffer-record-window):
10311 Replace calls to window-point-1 and set-window-point-1 by calls to
10312 window-point and set-window-point respectively.
10313
10314 2012-08-21 Glenn Morris <rgm@gnu.org>
10315
10316 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10317 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10318 Use it.
10319
10320 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10321 (cal-tex-shortday): New function.
10322 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10323 (cal-tex-cursor-filofax-daily): Use the above.
10324
10325 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10326 New functions.
10327 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10328 (cal-tex-cursor-filofax-week): Use them.
10329
10330 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10331 New constants.
10332 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10333 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10334
10335 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10336 (cal-tex-end-document): Don't rely on buffer name.
10337
10338 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10339 Use cal-tex-vspace.
10340 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10341 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10342 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10343 Use cal-tex-arg.
10344
10345 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10346 (cal-tex-cursor-week, cal-tex-cursor-week2)
10347 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10348 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10349 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10350 (cal-tex-insert-preamble, cal-tex-b-document)
10351 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10352 Improve cal-tex-cmd usage.
10353
10354 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10355 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10356 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10357 (cal-tex-weekly-paper): New function.
10358 (cal-tex-cursor-week, cal-tex-cursor-week2)
10359 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10360 (cal-tex-cursor-day): Use it.
10361
10362 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10363 (cal-tex-cursor-filofax-week): Remove leading blank page.
10364
10365 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10366 Add autoload cookie. For now at least, don't use color, since
10367 no other cal-tex function does.
10368
10369 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10370 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10371 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10372
10373 2012-08-21 Juri Linkov <juri@jurta.org>
10374
10375 * info.el (Info-file-attributes): New variable.
10376 (info-insert-file-contents): Add file attributes to
10377 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10378 `Info-toc-nodes' when previous modtime of the Info file is less
10379 than new modtime.
10380 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10381 of info.el. (Bug#12230)
10382
10383 2012-08-20 Glenn Morris <rgm@gnu.org>
10384
10385 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10386 * calendar/holidays.el (calendar-holiday-list):
10387 Report errors with display-warning rather than beep'n'sleep.
10388
10389 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10390
10391 * net/tramp.el (tramp-accept-process-output): Accept only output
10392 from PROC. Otherwise, process filters and sentinels might be
10393 confused. (Bug#12145)
10394
10395 2012-08-20 Chong Yidong <cyd@gnu.org>
10396
10397 * descr-text.el (describe-text-properties-1): Use overlays-in to
10398 report on empty overlays (Bug#3322).
10399
10400 2012-08-20 Glenn Morris <rgm@gnu.org>
10401
10402 * mail/rmailout.el (rmail-output-read-file-name):
10403 Trap and report errors in rmail-output-file-alist elements.
10404
10405 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10406 since most non-font-lock faces are not also variables).
10407
10408 2012-08-20 Edward Reingold <reingold@iit.edu>
10409
10410 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10411 New function. (Bug12160)
10412
10413 2012-08-19 Glenn Morris <rgm@gnu.org>
10414
10415 * mail/rmailout.el (rmail-output-read-file-name):
10416 Fix previous change (when the alist is nil or does not match).
10417
10418 2012-08-19 Chong Yidong <cyd@gnu.org>
10419
10420 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10421 (Bug#12228).
10422
10423 2012-08-18 Chong Yidong <cyd@gnu.org>
10424
10425 * simple.el (yank-handled-properties): New defcustom.
10426 (yank-excluded-properties): Add font-lock-face and category.
10427 (yank): Doc fix.
10428
10429 * subr.el (remove-yank-excluded-properties):
10430 Obey yank-handled-properties. The special handling of font-lock-face
10431 and category is now done this way, instead of being hard-coded.
10432 (insert-for-yank-1): Remove font-lock-face handling.
10433 (yank-handle-font-lock-face-property)
10434 (yank-handle-category-property): New function.
10435
10436 2012-08-17 Glenn Morris <rgm@gnu.org>
10437
10438 * mail/rmailout.el (rmail-output-read-file-name):
10439 Check rmail-output-file-alist against the full message body
10440 in the correct rmail buffer. (Bug#12214)
10441
10442 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10443
10444 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10445 Eliminate superfluous prompt. (Bug#12203)
10446
10447 2012-08-17 Chong Yidong <cyd@gnu.org>
10448
10449 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10450 font spec, set the font directly (Bug#3228).
10451
10452 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10453
10454 * window.el (delete-window): Fix last fix.
10455
10456 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10457
10458 * window.el (window-valid-p): Move to window.c.
10459 (window-child, window-child-count, window-last-child)
10460 (window-normalize-window, window-combined-p)
10461 (window-combinations, window-atom-root, window-min-size)
10462 (window-sizable, window-sizable-p, window-size-fixed-p)
10463 (window-min-delta, window-max-delta, window--resizable)
10464 (window--resizable-p, window-resizable, window-total-size)
10465 (window-full-height-p, window-full-width-p, window-body-size)
10466 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10467 (minimize-window, window-deletable-p, delete-window)
10468 (delete-other-windows, set-window-buffer-start-and-point)
10469 (next-buffer, previous-buffer, split-window, balance-windows-2)
10470 (set-window-text-height, window-buffer-height)
10471 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10472 (truncated-partial-width-window-p): Minor code adjustments.
10473 In doc-strings state whether the argument window has to denote a
10474 live, valid or any window.
10475
10476 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10477
10478 * progmodes/subword.el (subword-forward-function)
10479 (subword-backward-function, subword-forward-regexp)
10480 (subword-backward-regexp): New variables.
10481 (subword-forward, subword-forward-internal, subword-backward-internal):
10482 Use new variables, eg so that different "word" definitions
10483 can be easily used. (Bug#11411)
10484
10485 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10488 for composite selectors.
10489 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10490 operation just because we can't find a previous revision.
10491
10492 2012-08-15 Chong Yidong <cyd@gnu.org>
10493
10494 * frame.el (set-frame-font): Accept font objects.
10495
10496 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10499
10500 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10501
10502 * man.el (Man-overstrike-face, Man-underline-face)
10503 (Man-reverse-face): Remove variables.
10504 (Man-overstrike, Man-underline, Man-reverse): New faces.
10505 (Man-fontify-manpage): Use them instead of the variables.
10506 (Man-cleanup-manpage): Comment change.
10507 (Man-ansi-color-map): New variable.
10508 (Man-fontify-manpage): Use it.
10509 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10510
10511 Implement ANSI SGR parameters 22-27 (bug#12146).
10512 * ansi-color.el (ansi-colors): Doc fix.
10513 (ansi-color-context, ansi-color-context-region): Doc fix.
10514 (ansi-color--find-face): New function.
10515 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10516 Rename the local variable `face' to `codes' since it is now a list of
10517 ansi codes. Doc fix.
10518 (ansi-color-get-face): Remove.
10519 (ansi-color-parse-sequence): New function, derived from
10520 ansi-color-get-face.
10521 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10522 codes 22-27.
10523
10524 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10525
10526 * subr.el (read-passwd): Allow use from a minibuffer.
10527
10528 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10529
10530 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10531 inside comments and strings as identifiers.
10532
10533 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10534 expression to evaluate. This allows to evaluate expressions with
10535 embedded whitespace.
10536 (gud-tooltip-tips): Add a blank before the newline in the
10537 message-box text, for the benefit of message-box emulation on
10538 MS-Windows.
10539
10540 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10541 messages from GDB, pop them up in a tooltip to give feedback to
10542 user.
10543 (gdb-tooltip-print-1): Quote the expression to evaluate.
10544 This allows to evaluate expressions with embedded whitespace.
10545 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10546 if the TTY name is nil or empty (which happens when communicating
10547 with the inferior via pipes, e.g. on MS-Windows).
10548 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10549 don't send that to the GUD buffer.
10550
10551 2012-08-14 Glenn Morris <rgm@gnu.org>
10552
10553 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10554 Optimize away setq-default with no args, as for setq. (Bug#12195)
10555
10556 2012-08-14 Chong Yidong <cyd@gnu.org>
10557
10558 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10559
10560 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10561 (Bug#12085).
10562
10563 2012-08-14 Glenn Morris <rgm@gnu.org>
10564
10565 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10566
10567 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10568
10569 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10570 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10571 Use cached shell name.
10572
10573 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10574
10575 * progmodes/python.el (python-shell-send-string):
10576 (python-shell-send-setup-code): Do not use `format' with `message'.
10577
10578 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10579
10580 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10581 (ruby-percent-literal-beg-re): New constant.
10582 (ruby-syntax-general-delimiters-goto-beg): Rename to
10583 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10584 (ruby-syntax-propertize-general-delimiters): Rename to
10585 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10586 popular term. Adjust comments everywhere.
10587 (ruby-syntax-propertize-percent-literal): Only propertize when not
10588 inside a simple string or comment. When the literal is unclosed,
10589 leave the text after it unpropertized.
10590 (ruby-syntax-methods-before-regexp): New constant.
10591 (ruby-syntax-propertize-function): Use it to recognize regexps.
10592 Don't look at the text after regexp, just use the whitelist.
10593
10594 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10595
10596 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10597 non-nil always load the compiled file if it exists. (Bug#12197)
10598
10599 2012-08-14 Chong Yidong <cyd@gnu.org>
10600
10601 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10602 (hi-lock-set-pattern): When deciding whether to use font lock or
10603 overlays, look at font-lock-mode instead of font-lock-fontified
10604 (Bug#12168).
10605 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10606 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10607
10608 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10609
10610 * subr.el (internal--after-with-selected-window): Fix typo
10611 (Bug#12193).
10612
10613 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10614
10615 Use `completion-table-dynamic' for completion functions.
10616 * progmodes/python.el
10617 (python-shell-completion--do-completion-at-point)
10618 (python-shell-completion--get-completions):
10619 Remove functions.
10620 (python-shell-completion-complete-at-point): New function.
10621 (python-completion-complete-at-point): Use it.
10622
10623 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10624
10625 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10626 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10627
10628 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * subr.el (function-get): Refine `autoload' arg so it can also
10631 autoload functions for gv.el (bug#12191).
10632 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10633 autoloads macros.
10634
10635 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10636 Prefer pcase-let over destructuring-bind.
10637 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10638 Also, remove whitespace as we go, rather than after accumulating the
10639 various places.
10640
10641 * subr.el (internal--before-with-selected-window)
10642 (internal--after-with-selected-window): Fix typo seleted->selected.
10643 (with-selected-window): Adjust callers.
10644 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10645
10646 2012-08-13 Bastien Guerry <bzg@gnu.org>
10647
10648 * window.el (special-display-popup-frame): Minor docstring
10649 enhancement. (Bug#12172)
10650
10651 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10652
10653 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10654 type 1-6.
10655 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10656 extended headers.
10657
10658 * files.el (hack-local-variables-filter): Remove useless eval.
10659
10660 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10661
10662 * subr.el (with-selected-window): Fix last change.
10663
10664 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * subr.el (internal--before-with-seleted-window)
10667 (internal--after-with-seleted-window): New functions.
10668 (with-selected-window): Use them, to replace dependency on
10669 tty-top-frame.
10670
10671 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10672
10673 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10674 binding for `newline'.
10675 (ruby-move-to-block): When moving backward, stop at block opening,
10676 not indentation.
10677 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10678 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10679 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10680 `ruby-toggle-block'.
10681
10682 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 * ibuffer.el (ibuffer-do-toggle-read-only):
10685 * dired.el (dired-toggle-read-only):
10686 * buff-menu.el (Buffer-menu-toggle-read-only):
10687 * bindings.el (mode-line-toggle-read-only):
10688 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10689
10690 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10691
10692 * descr-text.el (describe-char): Put the overlays over the
10693 "displayed as" character.
10694
10695 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10696
10697 * calc/calc-units.el (math-default-units-table): Give an
10698 initial value.
10699 (math-put-default-units): Add options to put composite units and
10700 unit systems in the default units table.
10701 (calc-convert-units): Send composite units to
10702 `math-put-default-units' when appropriate.
10703
10704 2012-08-11 Glenn Morris <rgm@gnu.org>
10705
10706 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10707
10708 * tutorial.el (help-with-tutorial):
10709 * emacs-lisp/copyright.el (copyright-update-directory):
10710 * emacs-lisp/autoload.el (autoload-find-generated-file)
10711 (autoload-find-file): Disable local eval: (for insurance).
10712
10713 * files.el (hack-local-variables-filter): If an eval: form is not
10714 known to be safe, and enable-local-variables is :safe, then ignore
10715 the form totally, as is done for non-eval forms. (Bug#12155)
10716 This is CVE-2012-3479.
10717
10718 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10721 (rx-form): Simplify.
10722
10723 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10724
10725 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10726 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10727 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10728 (ruby-syntax-propertize-function): Adjust for changes in
10729 `ruby-syntax-propertize-heredoc'.
10730
10731 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10732
10733 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10734 binding (use `M-;' instead).
10735 (ruby-singleton-class-p): New function.
10736 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10737
10738 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10741
10742 2012-08-10 Chong Yidong <cyd@gnu.org>
10743
10744 * progmodes/python.el (python-shell-get-process-name): Don't mess
10745 with same-window-buffer-names.
10746
10747 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10748 (eshell-remove-from-window-buffer-names): Make obsolete.
10749 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10750 (eshell): Just use pop-to-buffer-same-window instead.
10751
10752 2012-08-10 Chong Yidong <cyd@gnu.org>
10753
10754 * bindings.el: Bind M-= back to count-words-region.
10755
10756 * simple.el (count-words-region): Accept a prefix arg for acting
10757 on the entire buffer.
10758 (count-words--buffer-message): New helper function.
10759
10760 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10763 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10764 (event-start, event-end): Use posn-at-point to return a more
10765 informative posn.
10766 (posnp): New function.
10767 * mouse.el (popup-menu-normalize-position): Use it.
10768
10769 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10770
10771 * mouse.el (popup-menu-normalize-position): New function.
10772 (popup-menu): Use `popup-menu-normalize-position' to normalize
10773 the form for POSITION argument.
10774
10775 * term/x-win.el (x-menu-bar-open):
10776 Use the value returend from (posn-at-point) as position
10777 passed to `popup-menu'.
10778
10779 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10780
10781 * calc/calccomp.el (math-compose-expr): Add extra argument
10782 indicating that parentheses should be put around products in
10783 denominators. Give multiplication precedence over division during
10784 composition.
10785
10786 2012-08-09 Chong Yidong <cyd@gnu.org>
10787
10788 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10789 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10790 (Man-untabify-command, manual-program): Convert to defcustom
10791 (Bug#10429).
10792
10793 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10794
10795 * descr-text.el (describe-char): Don't insert extra newlines
10796 (Bug#10127).
10797
10798 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10799 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10800
10801 * align.el (align-region): Delete temporary markers (Bug#10047).
10802 Plus some code cleanups.
10803
10804 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10805
10806 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10807 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10808 (python-shell-internal-last-output): Use make-local-variable
10809 instead of make-variable-buffer-local.
10810
10811 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10812
10813 * progmodes/python.el: Enhancements to forward-sexp.
10814 (python-nav-forward-sexp): Rename from
10815 python-nav-forward-sexp-function.
10816 (python-nav--forward-sexp, python-nav--backward-sexp):
10817 New functions.
10818
10819 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10820
10821 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10822 modes and simplification modes.
10823
10824 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * delsel.el (delete-selection-pre-hook): Don't propagate the
10827 file-supersession signals (bug#12161).
10828
10829 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10832 (cl-map-extents): Add compatibility aliases (bug#12135).
10833
10834 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10835
10836 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10837 tests by `ignore-error'.
10838 (tramp-find-shell): Open also a new shell, when cache is already
10839 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10840
10841 2012-08-08 Juri Linkov <juri@jurta.org>
10842
10843 * bookmark.el: Add `defaults' property to the bookmark record.
10844 (bookmark-current-buffer): Doc fix.
10845 (bookmark-make-record): Add `defaults' property with default values
10846 to the bookmark record.
10847 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10848 with `bookmark-insert-current-bookmark'.
10849 (bookmark-set): Get `defaults' property from the bookmark record
10850 and use it in `read-from-minibuffer'.
10851 (bookmark-insert-current-bookmark): Remove function.
10852
10853 * info.el (Info-bookmark-make-record): Add `defaults' property
10854 with values of canonical Info node name, the current Info file
10855 name and the current Info node name. (Bug#12107)
10856
10857 2012-08-08 Juri Linkov <juri@jurta.org>
10858
10859 * files.el (basic-save-buffer): Use `buffer-name' as the default
10860 of `read-file-name' when buffer is not visiting a file (bug#12128).
10861
10862 2012-08-08 Juri Linkov <juri@jurta.org>
10863
10864 * info.el (Info-isearch-search): Doc fix.
10865 (Info-search): Change search-failed message from "initial node" to
10866 "end of node" (bug#12078).
10867 (Info-isearch-search): Change `isearch-string-state' to
10868 `isearch--state-string'.
10869
10870 2012-08-08 Glenn Morris <rgm@gnu.org>
10871
10872 * language/persian.el: Remove file.
10873 * language/misc-lang.el: Move unique part of persian.el here.
10874 * loadup.el: Remove language/persian.
10875
10876 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10877
10878 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10879
10880 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10881
10882 * progmodes/python.el: Fix defsubst warning.
10883 (python-syntax-context) Rename from python-info-ppss-context.
10884 (python-syntax-context-type): Rename from
10885 python-info-ppss-context-type.
10886 (python-syntax-comment-or-string-p): Rename from
10887 python-info-ppss-comment-or-string-p.
10888
10889 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10890
10891 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10892
10893 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10894
10895 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10896 a defcustom that is quoted with backquote.
10897
10898 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10899 Fix handling of interactive spec when the body uses return.
10900 (math-do-arg-check, math-define-function-body): Use backquote forms.
10901 * calc/calc-ext.el (math-defcache): Likewise.
10902 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10903 * allout.el (allout-new-exposure): Likewise.
10904 * calc/calcalg2.el (math-tracing-integral): Likewise.
10905 * info.el (Info-last-menu-item): Likewise.
10906 * emulation/vip.el (vip-loop): Likewise.
10907 * textmodes/artist.el (artist-funcall): Likewise.
10908 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10909 Construct menu-item directly.
10910
10911 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10912 Don't declare.
10913
10914 2012-08-07 Chong Yidong <cyd@gnu.org>
10915
10916 * simple.el (deactivate-mark): Preserve text properties when
10917 saving the primary selection (Bug#8384).
10918
10919 2012-08-07 Kevin Ryde <user42@zip.com.au>
10920
10921 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10922 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10923 and continue processing (Bug#12110).
10924
10925 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10928 syntax-propertize-function (bug#10095).
10929
10930 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10933 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10934 describe-function-1.
10935 (describe-function-1): Use them. Move compiler macro after sig.
10936 (help-fns--compiler-macro): Use function-get. Assume we're already in
10937 standard-output. Adjust layout to new call order.
10938
10939 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10940 re-binding a symbol that has a symbol-macro (bug#12119).
10941
10942 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10943
10944 * language/persian.el: New file. (Bug#11812)
10945 * loadup.el: Add language/persian.el.
10946
10947 2012-08-06 Chong Yidong <cyd@gnu.org>
10948
10949 * window.el (window--maybe-raise-frame): New function.
10950 (window--display-buffer): Split off from here.
10951 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10952 (display-buffer-pop-up-window, display-buffer-use-some-window):
10953 Obey an inhibit-switch-frame action alist entry.
10954 (display-buffer): Update doc.
10955
10956 * replace.el (occur-after-change-function): Avoid losing focus by
10957 using the inhibit-switch-frame display parameter (Bug#12139).
10958
10959 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10960
10961 Make internal shell process buffer names start with space.
10962 * progmodes/python.el (python-shell-make-comint): Add optional
10963 argument INTERNAL.
10964 (run-python-internal): Use it.
10965 (python-shell-internal-get-or-create-process): Check for new
10966 internal buffer names.
10967
10968 2012-08-06 Glenn Morris <rgm@gnu.org>
10969
10970 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10971 Do less getting and setting of environment variables.
10972
10973 2012-08-05 Chong Yidong <cyd@gnu.org>
10974
10975 * proced.el (proced): Add substitution string to docstring to
10976 trigger autoloading of the proced library on C-h f (Bug#1768).
10977
10978 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10979 Don't show defvars which have no second argument (Bug#8638).
10980
10981 * imenu.el (imenu-generic-expression): Move documentation here
10982 from imenu--generic-function.
10983 (imenu--generic-function): Refer to imenu-generic-expression.
10984
10985 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10986
10987 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10988 indentation declaration.
10989 (viper-loop): Add indentation declaration (Bug#7025).
10990
10991 2012-08-05 Chong Yidong <cyd@gnu.org>
10992
10993 * help-fns.el (describe-variable): Add hyperlink for
10994 directory-local variables files. Improve buffer-local and
10995 permanent-local reporting; suggested by MON KEY (Bug#6644).
10996
10997 * help-mode.el (help-dir-local-var-def): New button type.
10998
10999 * files.el (kill-buffer-hook): Provide a defvar.
11000
11001 2012-08-05 Glenn Morris <rgm@gnu.org>
11002
11003 * eshell/esh-ext.el (eshell/addpath):
11004 Also update eshell-path-env. (Bug#12013)
11005
11006 2012-08-05 Chong Yidong <cyd@gnu.org>
11007
11008 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11009
11010 * fringe.el (fringe-styles): Add docstring.
11011 (fringe--check-mode): New function.
11012 (set-fringe-mode, set-fringe-style): Use it.
11013 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11014
11015 * files.el (set-auto-mode): Fix invalid setq call.
11016
11017 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * isearch.el: Misc simplification; use defstruct.
11020 (isearch-mode-map): Dense maps now work like sparse ones.
11021 (isearch--state): New defstruct.
11022 (isearch-string-state, isearch-message-state, isearch-point-state)
11023 (isearch-success-state, isearch-forward-state)
11024 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11025 (isearch-wrapped-state, isearch-barrier-state)
11026 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11027 replaced by defstruct's accessors.
11028 (isearch--set-state): Rename from isearch-top-state and change
11029 calling convention.
11030 (isearch-push-state): Use new isearch--get-state.
11031 (isearch-toggle-word): Disable regexp when enabling word.
11032 (isearch-message-prefix): Remove unused arg _c-q-hack.
11033 (isearch-message-suffix): Remove unused arg _ellipsis.
11034
11035 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11036
11037 * simple.el (list-processes--refresh): For a server use :host or
11038 :local as the address.
11039 (list-processes): Doc fix.
11040
11041 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11042
11043 * lisp/mpc.el: Support password in host argument.
11044 (mpc--proc-connect): Parse and use new password element.
11045 Set mpc-proc variable instead of returning process.
11046 (mpc-proc): Adjust accordingly.
11047
11048 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11049
11050 * whitespace.el (whitespace-display-mappings): Use Unicode
11051 codepoints, instead of emacs-mule codepoints. See
11052 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11053 for the details.
11054
11055 * files.el (file-truename): Don't skip symlink-chasing part on
11056 windows-nt. Incorporate the resolution of 8+3 short aliases on
11057 Windows into the loop that recursively chases symlinks.
11058 Compare directory and its parent case-insensitively on MS-Windows and
11059 MS-DOS.
11060
11061 2012-08-03 Chong Yidong <cyd@gnu.org>
11062
11063 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11064
11065 * sort.el (sort-regexp-fields): Doc fix.
11066
11067 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11068
11069 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11070 labels regex position point at the expected place.
11071
11072 2012-08-03 MON KEY <monkey@sandpframing.com>
11073
11074 * net/imap.el (imap-interactive-login, imap-authenticate)
11075 (imap-mailbox-lsub, imap-mailbox-list)
11076 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11077 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11078 (imap-parse-response): Doc fix.
11079
11080 2012-08-03 João Távora <joaotavora@gmail.com>
11081
11082 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11083 if sexp scanning does not move point (Bug#5734).
11084
11085 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11086
11087 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11088 Add listings, minted, and ctable packages.
11089 (reftex-label-alist-builtin): Move listings, minted, and ctable
11090 entries before LaTeX.
11091 (reftex-label-alist): Docfix.
11092
11093 2012-08-02 Bastien Guerry <bzg@gnu.org>
11094
11095 * replace.el (occur): Fix docstring (bug#12122).
11096
11097 2012-08-02 Glenn Morris <rgm@gnu.org>
11098
11099 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11100
11101 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11102
11103 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11104 * international/mule-cmds.el: Create
11105 inactivate-current-input-method-function as an obsolete alias for
11106 deactivate-current-input-method-function. See Katsumi Yamaoka in
11107 <http://bugs.gnu.org/10150#46>.
11108
11109 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11110
11111 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11112 of nested `if's.
11113
11114 2012-08-01 Glenn Morris <rgm@gnu.org>
11115
11116 * progmodes/autoconf.el (autoconf-definition-regexp):
11117 Add AH_TEMPLATE, adjust submatch numbering.
11118 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11119 (autoconf-current-defun-function): Update for above change.
11120 (autoconf-current-defun-function): First skip to end of current word.
11121
11122 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11123
11124 * calendar/cal-html.el (cal-html-insert-agenda-days):
11125 Fix typo. (Bug#12018)
11126
11127 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11128
11129 Shell processes: enhancements to startup and CEDET compatibility.
11130 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11131 (python-shell-make-comint): accept-process-output at startup.
11132 (run-python-internal): Set inferior-python-mode-hook to nil.
11133 (python-shell-internal-get-or-create-process): call sit-for.
11134 (python-preoutput-result): Add obsolete alias.
11135 (python-shell-internal-send-string): Use it.
11136 (python-shell-send-setup-code): Remove call to
11137 accept-process-output.
11138
11139 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11140
11141 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11142 (Bug#12108)
11143
11144 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11145
11146 * calc-mode.el (calc-basic-simplification-mode): Rename from
11147 `calc-limited-simplification-mode'.
11148 (calc-alg-simplification-mode): New function.
11149 (calc-set-simplify-mode): Adjust message.
11150
11151 * calc.el (calc-set-mode-line): Adjust mode line display for
11152 basic simplification mode.
11153
11154 * calc-help.el (calc-m-prefix-help): Update help message.
11155
11156 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11157 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11158
11159 2012-07-31 Bastien Guerry <bzg@gnu.org>
11160
11161 * man.el (man): Fix comment. (bug#12101)
11162
11163 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11164
11165 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11166 Don't return a non-nil value when no suitable buffer was found.
11167
11168 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11169
11170 * progmodes/python.el (run-python-internal): Disable font lock for
11171 internal shells.
11172
11173 2012-07-30 Stefan Merten <smerten@oekonux.de>
11174
11175 * textmodes/rst.el: Silence `checkdoc-ispell'.
11176 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11177 (rst-official-version, rst-official-cvs-rev)
11178 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11179 (rst-mode-map): New key binding.
11180
11181 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11182
11183 Update .PHONY listings in makefiles.
11184 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11185 autoloads, update-subdirs, updates, bzr-update, update-authors,
11186 compile-onefile, compile-calc, backup-compiled-files,
11187 compile-after-backup, compile-one-process, mh-autoloads,
11188 bootstrap-clean, distclean, maintainer-clean.
11189
11190 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11191
11192 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11193 (calc-set-mode-line): Don't display "AlgSimp ".
11194
11195 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11196 (calc-lim-simplify-mode): New function.
11197 (calc-set-simplify-mode): Default to 'alg.
11198 (calc-default-simplify-mode): Make algebraic simplifications
11199 the default.
11200
11201 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11202 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11203
11204 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11205 indicate new simplification modes.
11206
11207 * calc/README: Mention new default simplification mode.
11208
11209 * calc/calc.el (math-normalize-error): New variable.
11210 (math-normalize): Set `math-normalize-error' to t
11211 when there's an error.
11212
11213 * calc/calc-alg.el (math-simplify): Don't simplify when
11214 `math-normalize' returns an error.
11215
11216 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11217
11218 * international/mule-cmds.el (set-locale-environment): Revert last
11219 change, since display-graphic-p returns nil when this function is
11220 called during startup. Instead...
11221
11222 * term/w32console.el (terminal-init-w32console): ...setup the
11223 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11224
11225 2012-07-29 Juri Linkov <juri@jurta.org>
11226
11227 * simple.el (goto-line): Don't display default line number in the
11228 prompt because it should be displayed by `read-number' (bug#9952).
11229 Add the current line number to the defaults of `goto-line' to
11230 allow its easier modification by users with `M-n' (bug#9201).
11231
11232 * subr.el (read-number): Support multiple default values like in
11233 other minibuffer reading functions. Replace `read' with
11234 `string-to-number' for consistency with `number-to-string'.
11235
11236 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11237
11238 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11239 * emulation/viper-init.el (viper-deactivate-input-method-action):
11240 Rename from viper-inactivate-input-method-action.
11241 (viper-deactivate-input-method):
11242 Rename from viper-inactivate-input-method.
11243 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11244 * international/mule-cmds.el (deactivate-input-method):
11245 Rename from inactivate-input-method.
11246 Also run input-method-deactivate-hook.
11247 (deactivate-current-input-method-function):
11248 Rename from inactivate-current-input-method-function.
11249 (input-method-deactivate-hook): New hook.
11250 (input-method-inactivate-hook): Mark obsolete.
11251 (inactivate-input-method): Mark obsolete.
11252
11253 * international/quail.el (quail-activate):
11254 Also run quail-deactivate-hook.
11255 (quail-deactivate): Rename from quail-inactivate.
11256 * international/robin.el (robin-activate):
11257 Also run robin-deactivate-hook.
11258 (robin-deactivate): Rename from robin-inactivate.
11259
11260 2012-07-29 Chong Yidong <cyd@gnu.org>
11261
11262 * simple.el (indicate-copied-region): New function.
11263 (kill-ring-save): Split off from here.
11264
11265 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11266 (kill-rectangle): Set deactivate-mark to t on read-only error.
11267
11268 * register.el (copy-to-register, copy-rectangle-to-register):
11269 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11270 (append-to-register, prepend-to-register): Call indicate-copied-region.
11271
11272 2012-07-29 Juri Linkov <juri@jurta.org>
11273
11274 * simple.el (async-shell-command-buffer): New defcustom.
11275 (shell-command): Use it. (Bug#4719)
11276
11277 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11278
11279 * international/mule-cmds.el (set-locale-environment): In a
11280 console session on MS-Windows, set up keyboard and terminal
11281 encoding from the OEM codepage, not the ANSI codepage.
11282 (Bug#12055)
11283
11284 2012-07-28 Chong Yidong <cyd@gnu.org>
11285
11286 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11287 gdb-get-location.
11288
11289 2012-07-28 Leo Liu <sdl.web@gmail.com>
11290
11291 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11292 the alist (bug#12029).
11293
11294 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11295
11296 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11297 (compile-always, compile-first)
11298 ($(lisp)/calendar/cal-loaddefs.el)
11299 ($(lisp)/calendar/diary-loaddefs.el)
11300 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11301 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11302 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11303 instead of on update-subdirs.
11304 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11305
11306 2012-07-28 Chong Yidong <cyd@gnu.org>
11307
11308 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11309 directory if vc-deduce-backend returns nil (Bug#7350).
11310
11311 * simple.el (delete-trailing-lines): New option.
11312 (delete-trailing-whitespace): Obey it (Bug#11879).
11313
11314 2012-07-28 David Engster <deng@randomsample.de>
11315
11316 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11317 Explanation of new 'symbol-qnames feature in doc-strings.
11318 (xml-maybe-do-ns): Return expanded names as plain symbols if
11319 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11320 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11321
11322 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11323
11324 Consistent completion in inferior python with emacs -nw.
11325 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11326 binding in inferior-python-mode-map with "\t".
11327 (python-shell-completion-complete-at-point)
11328 (python-completion-complete-at-point): Remove interactive spec.
11329
11330 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11331
11332 * calc/calccomp.el (math-compose-expr): Undo previous change.
11333
11334 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11335
11336 * progmodes/python.el (python-mode-map): Add keybinding for
11337 run-python.
11338 (python-shell-make-comint): Fix pop-to-buffer call.
11339 (run-python): Autoload. New arg SHOW.
11340 (python-shell-get-or-create-process): Do not pop python process
11341 buffer.
11342
11343 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11344
11345 * notifications.el (notifications-on-action-signal)
11346 (notifications-on-closed-signal): Use also the bus address for the map.
11347 (notifications-notify, notifications-close-notification)
11348 (notifications-get-capabilities): Add optional argument BUS.
11349
11350 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11351
11352 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11353 Add support for the lstlisting and minted environments, and for the
11354 ctable macro.
11355 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11356 labels written in keyvals syntax.
11357
11358 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11359
11360 * calc/calccomp.el (math-compose-expr): Use parentheses when
11361 there is a product in the denominator of a fraction.
11362
11363 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11364
11365 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11366 ($(lisp)/calendar/diary-loaddefs.el)
11367 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11368 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11369 Fixes failures in parallel bootstrap because subdirs.el is being
11370 rewritten while the autoload files are built at the same time,
11371 which needs to load subdirs.el.
11372
11373 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11374
11375 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11376 (mouse-drag-line): Don't exit tracking when a switch-frame or
11377 switch-window event occurs (Bug#12006).
11378
11379 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * mouse.el (popup-menu): Fix last change.
11382
11383 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 Autoload from Lisp with more care. Follow aliases when looking for
11386 function properties.
11387 * subr.el (autoloadp): New function.
11388 (symbol-file): Use it.
11389 (function-get): New function.
11390 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11391 autoload-do-load.
11392 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11393 (lisp-indent-function):
11394 * emacs-lisp/gv.el (gv-get):
11395 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11396 * emacs-lisp/byte-opt.el (byte-optimize-form):
11397 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11398 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11399 Use function-get.
11400 * emacs-lisp/cl.el: Don't propagate function properties any more.
11401
11402 * speedbar.el (speedbar-add-localized-speedbar-support):
11403 * emacs-lisp/disass.el (disassemble-internal):
11404 * desktop.el (desktop-load-file):
11405 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11406 (describe-function-1):
11407 * emacs-lisp/find-func.el (find-function-noselect):
11408 * emacs-lisp/elp.el (elp-instrument-function):
11409 * emacs-lisp/advice.el (ad-has-proper-definition):
11410 * apropos.el (apropos-safe-documentation, apropos-macrop):
11411 * emacs-lisp/debug.el (debug-on-entry):
11412 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11413 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11414 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11415
11416 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11417
11418 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11419 function, not an obsolete variable (Bug#12046).
11420
11421 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11422
11423 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11424
11425 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11426
11427 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11428 window only if it is still live (Bug#12034).
11429
11430 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11431
11432 * subr.el (redirect-frame-focus): Add advertised calling
11433 convention (Bug#12030).
11434
11435 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11436
11437 Prefer typical American spelling for "acknowledgment".
11438 * vc/add-log.el (change-log-acknowledgment): Rename from
11439 change-log-acknowledgement, with an alias for the old name.
11440
11441 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11442
11443 * calc-alg.el (math-simplify-divide): Don't cross multiply
11444 in an equation when the lhs is a variable.
11445
11446 2012-07-24 Julien Danjou <julien@danjou.info>
11447
11448 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11449 Remove, unused.
11450
11451 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11452
11453 * startup.el (command-line): Don't display an empty user name in
11454 the error message about non-existent home directory, when
11455 init-file-user was set to an empty string. See
11456 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11457 for the details and context.
11458
11459 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11460
11461 * ses.el (ses-cell-formula-aset): New macro.
11462 (ses-cell-references-aset): New macro.
11463 (ses-cell-p): New function.
11464 (ses-rename-cell): Do no longer rely on complex operations like
11465 ses-cell-set-formula or ses-set-cell to change the cell and handle
11466 the undo at the same time, but rather use lower level new macros
11467 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11468 the undo directly. Refresh the mode line.
11469
11470 2012-07-21 Leo Liu <sdl.web@gmail.com>
11471
11472 * progmodes/cc-cmds.el (c-defun-name):
11473 Use match-string-no-properties instead for consistency.
11474
11475 2012-07-20 Leo Liu <sdl.web@gmail.com>
11476
11477 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11478 (Bug#7879)
11479
11480 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11481
11482 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11483
11484 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11485 * progmodes/bug-reference.el, misearch.el: Provide themselves
11486 (bug#11915).
11487
11488 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11489 of narrowed buffer (bug#11966).
11490
11491 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11492
11493 * ses.el (ses-rename-cell): Set new name also in reference list of
11494 cells of which the renamed cell depends.
11495
11496 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11497
11498 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11499 to check whether menu-bar is shown or not. If not shown,
11500 show the menu-bar as a popup menu instead of using tmm.
11501 * mouse.el (popup-menu): Accept `point' as `position' argument.
11502
11503 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11504
11505 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11506 up inside string symbol literal (bug#11923).
11507
11508 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11509
11510 * startup.el (fancy-startup-text): Read the whole tutorial, not
11511 just its first 256 bytes. Prevents gibberish in display of the
11512 tutorial title.
11513
11514 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11515
11516 Drop idle buffer compaction due to an absence of the
11517 proved efficiency.
11518 * compact.el: Remove.
11519
11520 2012-07-19 Sam Steingold <sds@gnu.org>
11521
11522 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11523 vc-bzr-pull & vc-bzr-merge-branch.
11524 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11525 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11526 for consistency with compilation-error-regexp-alist.
11527 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11528 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11529 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11530 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11531
11532 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11533
11534 * emacs-lisp/chart.el: Use lexical-binding.
11535 (chart-emacs-storage): Don't hardcode the list of entries.
11536
11537 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11538
11539 Next round of tweaks caused by Fgarbage_collect changes.
11540 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11541
11542 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11543
11544 Compact buffers when idle.
11545 * compact.el: New file.
11546
11547 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11548
11549 * subr.el (eventp): Presume that if it looks vaguely like an event,
11550 it's an event (bug#10190).
11551
11552 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11553
11554 Enhancements to ppss related code (thanks Stefan).
11555 * progmodes/python.el (python-indent-context)
11556 (python-indent-calculate-indentation, python-indent-dedent-line)
11557 (python-indent-electric-colon, python-nav-forward-block)
11558 (python-mode-abbrev-table)
11559 (python-info-assignment-continuation-line-p): Simplify checks
11560 for ppss context.
11561 (python-info-continuation-line-p): Cleanup.
11562 (python-info-ppss-context): Do not catch 'quote.
11563 (python-info-ppss-context-type)
11564 (python-info-ppss-comment-or-string-p): Simplify.
11565
11566 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11567
11568 * progmodes/python.el: Enhancements to eldoc support.
11569 (python-info-current-symbol): New function.
11570 (python-eldoc-at-point): Use python-info-current-symbol.
11571 (python-info-current-defun): Fix cornercase on first defun scan.
11572 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11573 and signal error when no inferior python process is available.
11574
11575 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11576
11577 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11578 assume it's always t.
11579 (vc-git-registered): Remove caching, the function is only called
11580 once.
11581 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11582
11583 2012-07-18 Chong Yidong <cyd@gnu.org>
11584
11585 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11586
11587 * simple.el (count-words): Report on narrowing (Bug#9959).
11588
11589 * bindings.el: Bind M-= to count-words.
11590
11591 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11592
11593 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11594
11595 * progmodes/sh-script.el (sh-imenu-generic-expression):
11596 Capture a function with `function' keyword and without parentheses
11597 like "function FOO" (bug#11856).
11598
11599 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11600
11601 * window.el (split-window-sensibly): Make WINDOW argument
11602 optional.
11603
11604 2012-07-18 Chong Yidong <cyd@gnu.org>
11605
11606 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11607
11608 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11609 and make C-x 8 RET exit isearch (Bug#11439).
11610
11611 * international/iso-transl.el: Move isearch-mode-map key
11612 definitions to isearch.el.
11613
11614 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11615
11616 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11617 (eieio-defclass): Use gv-define-setter when possible.
11618
11619 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11620
11621 Reflect recent changes in Fgarbage_collect.
11622 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11623 reflect new format of data returned by Fgarbage_collect.
11624
11625 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11626
11627 New utility functions + python-info-ppss-context fix (Bug#11910).
11628 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11629 (python-info-ppss-comment-or-string-p): New functions.
11630 (python-info-ppss-context): Small fix for string check.
11631
11632 2012-07-17 Juri Linkov <juri@jurta.org>
11633
11634 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11635 (dired-do-async-shell-command): Don't add `*' at the end of the
11636 command (Bug#11815).
11637 (dired-do-shell-command): Doc fix.
11638 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11639 Join the individual commands using either "&" or ";" as the
11640 separator depending on the values of these trailing characters.
11641 At the end re-add the trailing "&". (Bug#10598)
11642
11643 * simple.el (async-shell-command): Sync the interactive spec with
11644 `shell-command'. Doc fix.
11645 (shell-command): Doc fix.
11646
11647 2012-07-17 Juri Linkov <juri@jurta.org>
11648
11649 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11650
11651 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11652
11653 Final renames and doc fixes for movement commands (bug#11899).
11654 * progmodes/python.el (python-nav-beginning-of-statement):
11655 Rename from python-nav-statement-start.
11656 (python-nav-end-of-statement): Rename from
11657 python-nav-statement-end.
11658 (python-nav-beginning-of-block): Rename from
11659 python-nav-block-start.
11660 (python-nav-end-of-block): Rename from python-nav-block-end.
11661
11662 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11663
11664 * progmodes/python.el (python-shell-send-string-no-output):
11665 Allow accept-process-output to quit, keeping shell process ready for
11666 future interactions (Bug#11868).
11667
11668 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11671
11672 * emacs-lisp/elint.el (elint-find-args-in-code):
11673 Use help-function-arglist, so as to handle lexical byte-code.
11674
11675 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11676 change (bug#11826).
11677
11678 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11681 Avoid spuriously marking the buffer as modified because of c-is-sws.
11682
11683 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11684 as not-a-comment (bug#11946).
11685
11686 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11687 for uninterned vars.
11688
11689 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11690 Use read-event since we don't really want to read chars but bytes.
11691
11692 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11693 $$..$$ but also $..$ using regexps (bug#11953).
11694 Use tex-verbatim for \url and \path.
11695 (tex-font-lock-keywords): Define as defconst like the others.
11696 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11697
11698 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11699
11700 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11701 alias for insert-char.
11702
11703 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11704
11705 * progmodes/python.el: Simplified imenu implementation.
11706 (python-nav-jump-to-defun): Remove command.
11707 (python-mode-map): Use `imenu' instead.
11708 (python-nav-list-defun-positions-cache)
11709 (python-imenu-include-defun-type, python-imenu-make-tree)
11710 (python-imenu-subtree-root-label, python-imenu-index-alist):
11711 Remove vars.
11712 (python-nav-list-defun-positions, python-nav-read-defun)
11713 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11714 (python-imenu-make-tree, python-imenu-create-index):
11715 Remove functions.
11716 (python-mode): Update to interact with imenu by setting
11717 `imenu-extract-index-name-function' only.
11718
11719 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11720
11721 * progmodes/python.el: Enhancements to navigation commands.
11722 (python-nav-backward-sentence)
11723 (python-nav-forward-sentence): Remove.
11724 (python-nav-backward-statement, python-nav-forward-statement)
11725 (python-nav-statement-start, python-nav-statement-end)
11726 (python-nav-backward-block, python-nav-forward-block)
11727 (python-nav-block-start, python-nav-block-end)
11728 (python-nav-forward-sexp-function)
11729 (python-info-current-line-comment-p)
11730 (python-info-current-line-empty-p): New functions.
11731 (python-indent-context): Use `python-nav-statement-start'.
11732
11733 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11734
11735 * eshell/em-ls.el (eshell/ls): Use `apply'.
11736
11737 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11738 multi-hops, instead of Tramp internals.
11739
11740 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11741
11742 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11743 when F1 and F2 are located on different hosts.
11744
11745 2012-07-14 Chong Yidong <cyd@gnu.org>
11746
11747 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11748 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11749 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11750 (xterm-mouse--read-event-sequence-1000)
11751 (xterm-mouse--read-event-sequence-1006): New functions. For old
11752 mouse protocol, handle M-mouse-X events correctly.
11753 (xterm-mouse-event): New arg specifying mouse protocol.
11754 (turn-on-xterm-mouse-tracking-on-terminal)
11755 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11756 sequence to toggle extended coordinates on newer XTerms.
11757 This appears to be harmless on terminals which do not support this.
11758
11759 2012-07-14 Leo Liu <sdl.web@gmail.com>
11760
11761 Add fringe bitmap indicators for flymake. (Bug#11253)
11762 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11763 (flymake-make-overlay): New arg BITMAP.
11764 (flymake-error-bitmap, flymake-warning-bitmap)
11765 (flymake-fringe-indicator-position): New user variables.
11766
11767 * fringe.el: New bitmap exclamation-mark.
11768
11769 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11770
11771 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11772 also (Bug#7879).
11773
11774 2012-07-14 Chong Yidong <cyd@gnu.org>
11775
11776 * electric.el (electric-pair-post-self-insert-function): Fix pair
11777 insertion in empty-region case (Bug#11520).
11778
11779 2012-07-14 Chong Yidong <cyd@gnu.org>
11780
11781 * bindings.el: Consolidate ctl-x-r-map bindings.
11782 Bind copy-rectangle-as-kill to C-x r w.
11783
11784 * rect.el, register.el: Move bindings to bindings.el.
11785
11786 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11787
11788 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11789
11790 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11791
11792 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11793
11794 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11795
11796 * bindings.el (top): Use `mapc' instead of `mapcar'.
11797
11798 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11799
11800 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11801
11802 * progmodes/sql.el (sql-comint): Suppress the check for program on
11803 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11804 (Bug#11908)
11805
11806 2012-07-13 Chong Yidong <cyd@gnu.org>
11807
11808 * bindings.el: Assign a non-nil permanent-local property to
11809 per-buffer variables which lack a default value (Bug#11930).
11810
11811 * help-fns.el (describe-variable): In the "automatically becomes
11812 local" notice, take note of permanent-local variables.
11813
11814 2012-07-13 Chong Yidong <cyd@gnu.org>
11815
11816 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11817 to allow printing the message when called from Lisp.
11818
11819 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11820 Remove toggle-read-only.
11821
11822 * bs.el (bs-toggle-readonly):
11823 * buff-menu.el (Buffer-menu-toggle-read-only):
11824 Remove with-no-warnings around toggle-read-only.
11825
11826 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11827 Remove with-no-warnings around toggle-read-only.
11828 (ffap-read-only, ffap-read-only-other-window)
11829 (ffap-read-only-other-frame): Callers changed.
11830
11831 * help-mode.el: Don't require view package.
11832 (help-mode-finish): Set buffer-read-only instead of calling
11833 toggle-read-only.
11834
11835 * bindings.el (mode-line-toggle-read-only):
11836 * dired.el (dired-toggle-read-only):
11837 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11838 with non-nil second arg.
11839
11840 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11841 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11842 directly.
11843
11844 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11845
11846 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11847 not incf.
11848
11849 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 More CL cleanups and reduction of use of cl.el.
11852 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11853 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11854 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11855 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11856 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11857 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11858 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11859 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11860 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11861 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11862 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11863 * eshell/em-cmpl.el, eshell/em-banner.el:
11864 * calendar/parse-time.el: Use cl-lib.
11865 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11866 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11867 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11868 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11869 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11870 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11871 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11872 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11873 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11874 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11875 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11876 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11877 `lambda' rather than with `quote'.
11878 (eshell-do-opt): Adjust accordingly.
11879 (eshell-process-option): Simplify.
11880 * eshell/esh-var.el:
11881 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11882 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11883 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11884 to `pcase--dontcare'.
11885 * emacs-lisp/cl.el (labels): Mark obsolete.
11886 (cl--letf, letf): Move to cl-lib.
11887 (cl--letf*, letf*): Remove.
11888 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11889 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11890 (cl-progv): Rewrite.
11891 (cl--letf, cl-letf): Move from cl.el.
11892 (cl-letf*): New macro.
11893 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11894
11895 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11896
11897 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11898
11899 2012-07-11 Chong Yidong <cyd@gnu.org>
11900
11901 * vc/log-edit.el (log-edit-vc-backend): New variable.
11902 (log-edit): Doc fix.
11903
11904 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11905 argument of log-edit to set up all local variables.
11906 (vc-start-logentry): New optional arg specifying VC backend.
11907
11908 * vc/vc.el (vc-checkin): Use it.
11909 (vc-deduce-fileset): Handle Log Edit buffers.
11910 (vc-diff): Make first argument optional too.
11911
11912 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11913
11914 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11915
11916 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11917 command, just in case. The function is not needed anymore.
11918 (eshell-external-command): Do not call `eshell-remote-command'.
11919
11920 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 Reduce use of (require 'cl).
11923 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11924 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11925 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11926 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11927 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11928 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11929 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11930 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11931 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11932 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11933 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11934 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11935 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11936 (byte-compile-unfold-bcf, byte-compile-check-variable):
11937 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11938 (byte-compile-nilconstp):
11939 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11940 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11941
11942 * emacs-lisp/gv.el (cond): Make it a valid place.
11943 (if): Simplify slightly.
11944
11945 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11946 (pcase--self-quoting-p): New function.
11947 (pcase--u1): Use it.
11948
11949 2012-07-10 Glenn Morris <rgm@gnu.org>
11950
11951 * emacs-lisp/authors.el (authors-fixed-entries):
11952 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11953
11954 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11955
11956 Rename configure.in to configure.ac (Bug#11603).
11957 * emacs-lisp/authors.el (authors-canonical-file-name):
11958 * progmodes/autoconf.el (autoconf-mode):
11959 Prefer configure.ac to configure.in.
11960
11961 2012-07-08 Chong Yidong <cyd@gnu.org>
11962
11963 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11964 Implement the mouse-1-click-follows-link handling properly.
11965
11966 * info.el (Info-link-keymap): Use follow-link mechanism for
11967 header-line links (Bug#374).
11968
11969 * simple.el (deactivate-mark): Do not set the primary selection
11970 if another program has acquired it (Bug#11772).
11971
11972 2012-07-07 Kevin Ryde <user42@zip.com.au>
11973
11974 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11975 (woman-decode-region): Replace escaped-escapes without destroying
11976 bold or underline (Bug#11552).
11977 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11978
11979 2012-07-07 Chong Yidong <cyd@gnu.org>
11980
11981 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11982 (interprogram-cut-function, interprogram-paste-function):
11983 Mention that we typically mean the clipboard.
11984
11985 2012-07-06 Glenn Morris <rgm@gnu.org>
11986
11987 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11988
11989 * files.el (toggle-read-only): Restrict message to interactive use.
11990
11991 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11992
11993 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11994
11995 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11996
11997 2012-07-06 Glenn Morris <rgm@gnu.org>
11998
11999 * Makefile.in (compile-one-process): Rename from "recompile".
12000
12001 * Makefile.in (bzr-update): "compile" is the same as "recompile
12002 autoloads", but parallelizable, so use that instead.
12003
12004 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12005
12006 * window.el (quit-window): Always restore window height when
12007 it's saved in quit-restore parameter (Bug#11810).
12008
12009 2012-07-06 Glenn Morris <rgm@gnu.org>
12010
12011 * simple.el (kill-whole-line): Doc tweak.
12012
12013 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12014
12015 * files.el (file-relative-name): Compare file names
12016 case-insensitively if on MS-Windows or MS-DOS, or if
12017 read-file-name-completion-ignore-case is non-nil. Don't use
12018 case-fold-search for this purpose. (Bug#11827)
12019
12020 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12021
12022 * calendar/cal-dst.el (calendar-current-time-zone):
12023 Return calendar-current-time-zone-cache if non-nil.
12024
12025 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12026 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12027
12028 * calendar/cal-dst.el (calendar-current-time-zone):
12029 Return calendar-current-time-zone-cache if non-nil.
12030
12031 2012-07-06 Glenn Morris <rgm@gnu.org>
12032
12033 * Makefile.in (cvs-update): Remove old alias.
12034
12035 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12036
12037 Sync with Tramp 2.2.6-pre.
12038
12039 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12040 compatible declaration.
12041
12042 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12043 Protect `list-load-path-shadows' call.
12044
12045 * net/tramp-compat.el (top): Require packages, which aren't
12046 autoloaded anymore for XEmacs. Protect call of
12047 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12048 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12049 it hurts at least for SXEmacs.
12050 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12051 standard-value for `temporary-file-directory'.
12052
12053 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12054 Redirect stderr to /dev/null.
12055 (tramp-sh-handle-write-region): uid and gid can be floats.
12056 Reported by Russell Sim <russell.sim@gmail.com>.
12057 (tramp-sh-handle-vc-registered): Hide errors.
12058 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12059 and `start-file-process'.
12060 (tramp-maybe-open-connection): Check also whether `non-essential'
12061 is bound.
12062
12063 2012-07-04 Chong Yidong <cyd@gnu.org>
12064
12065 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12066 (xml-parse-tag): Likewise, and avoid changing entity tables.
12067 (xml-syntax-table): Define from scratch, making sure not to give
12068 x2000 and other Unicode spaces whitespace syntax, since those are
12069 not spaces in XML.
12070 (xml-parse-fragment): Delete unused function.
12071 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12072 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12073 (xml-entity-ref, xml-pe-reference-re)
12074 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
12075 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12076 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12077 (xml-entity-value-re): Use syntax references in regexps where
12078 possible; no need to define inside a let-binding.
12079 (xml-parse-dtd): Use xml-pe-reference-re.
12080 (xml-entity-or-char-ref-re): New defconst.
12081 (xml-parse-string, xml-substitute-special): Use it.
12082
12083 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12086 (find-file--read-only): New function.
12087 (find-file-read-only, find-file-read-only-other-window)
12088 (find-file-read-only-other-frame): Use it.
12089 (insert-file-contents-literally): Don't `fset'.
12090 (get-free-disk-space): Use locate-dominating-file.
12091
12092 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12093 function is already compiled.
12094
12095 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12096
12097 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12098
12099 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12100 files on the same host.
12101
12102 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12103
12104 * help-fns.el (describe-function-1): Only call
12105 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12106
12107 2012-07-03 Chong Yidong <cyd@gnu.org>
12108
12109 * xml.el: Protect parser against XML bombs.
12110 (xml-entity-expansion-limit): New variable.
12111 (xml-parse-string, xml-substitute-special): Use it.
12112 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12113
12114 2012-07-03 Glenn Morris <rgm@gnu.org>
12115
12116 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12117 Allow linking to specific messages in debbugs reports (eg 123#5).
12118
12119 2012-07-02 Chong Yidong <cyd@gnu.org>
12120
12121 * xml.el: Fix entity and character reference expansion, allowing
12122 them to expand into markup as per XML spec.
12123 (xml-default-ns): New variable.
12124 (xml-entity-alist): Use XML spec definitions for lt and amp.
12125 (xml-parse-region): Make first two arguments optional.
12126 Discard text properties.
12127 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12128 All callers changed.
12129 (xml-parse-tag): Call xml-parse-tag-1. For backward
12130 compatibility, this function should not modify buffer contents.
12131 (xml-parse-tag-1): Fix opening-tag regexp.
12132 (xml-parse-string): Rewrite, handling entity and character
12133 references properly.
12134 (xml--entity-replacement-text): Signal an error if a parameter
12135 entity is undefined.
12136
12137 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12138
12139 * comint.el (comint-output-filter): Filter out repeated prompts.
12140
12141 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12142 and file-name-absolute-p.
12143 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12144 internal calls.
12145
12146 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12147
12148 Spelling fixes.
12149 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12150 Rename from byte-compile--refiy-function. All uses changed.
12151
12152 2012-07-01 Chong Yidong <cyd@gnu.org>
12153
12154 * xml.el (xml--parse-buffer): New function. Move most of
12155 xml-parse-region here.
12156 (xml-parse-region): Copy region into a temporary buffer, since
12157 parameter entity substitution requires changing buffer contents.
12158 Use xml--parse-buffer.
12159 (xml-parse-file): Use xml--parse-buffer.
12160 (xml-parse-dtd): Make parameter entity substitution work right.
12161 Use proper regexps for ELEMENT declarations (Bug#7172).
12162
12163 2012-06-30 Glenn Morris <rgm@gnu.org>
12164
12165 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12166
12167 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12168 Remove outdated and unnecessary dbus declarations.
12169
12170 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12171
12172 * emacs-lisp/timer.el (timer-until): Subtract results of
12173 float-time, instead of taking float-time of the result of
12174 time-subtract, since float-time signals an error for negative time
12175 arguments.
12176
12177 2012-06-30 Chong Yidong <cyd@gnu.org>
12178
12179 * xml.el (xml-*-re): Convert defvars into defconsts, and
12180 eval-and-compile them so eval-and-compile works on derivatives.
12181 (xml--entity-replacement-text): Use eval-and-comple.
12182
12183 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12184
12185 * vc/vc-git.el (vc-git-registered): Use cache property
12186 `git-registered'.
12187 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12188 `vc-git-working-revision' in order to benefit from the cache.
12189 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12190
12191 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12192
12193 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12194 removed (likely outside Emacs). (Bug#11757)
12195
12196 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12197
12198 * emacs-lisp/cl-lib.el: Require macroexp.
12199
12200 2012-06-30 Chong Yidong <cyd@gnu.org>
12201
12202 * xml.el: Implement XML parameter entities.
12203 (xml-parameter-entity-alist): New variable.
12204 (xml-parse-region, xml-parse-fragment): Preserve previous values
12205 of xml-entity-alist and xml-parameter-entity-alist, so that
12206 repeated calls on different documents do not change them.
12207 (xml-parse-tag): Fix doctype regexp.
12208 (xml--entity-replacement-text): New function.
12209 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12210 properly requires url retrieval which is unimplemented.
12211 (xml-escape-string): Doc fix.
12212
12213 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12216
12217 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12218
12219 * fringe.el (fringe-mode): Doc fix.
12220
12221 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12222
12223 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12224 is non-nil.
12225 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12226 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12227
12228 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12229
12230 * calendar/cal-dst.el (calendar-current-time-zone):
12231 Return calendar-current-time-zone-cache if non-nil.
12232
12233 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12234
12235 * progmodes/which-func.el (which-func-format):
12236 Add mouse-face. (Bug#11698)
12237
12238 2012-06-29 Leo Liu <sdl.web@gmail.com>
12239
12240 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12241
12242 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * minibuffer.el (minibuffer-confirm-exit-commands):
12245 Add completion-at-point (bug#11725).
12246
12247 2012-06-29 Glenn Morris <rgm@gnu.org>
12248
12249 * progmodes/f90.el (f90-font-lock-keywords-2):
12250 Add some preprocessor elements. (Bug#10499)
12251
12252 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12255 Use syntax-propertize (bug#11739).
12256
12257 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12258
12259 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12260
12261 2012-06-28 Julien Danjou <julien@danjou.info>
12262
12263 * term.el (term-handle-colors-array): Use a set of new faces to
12264 color the terminal. Also uses :inverse-video property.
12265 (term-default-fg-color): Set to nil by default, deprecate in favor
12266 of `term-face'.
12267 (term-default-bg-color): Set to nil by default, deprecate in favor
12268 of `term-face'.
12269 (term-current-face): Use `term-face' by default.
12270 (term-bold-attribute): Variable deleted.
12271
12272 2012-06-28 Glenn Morris <rgm@gnu.org>
12273
12274 * simple.el (completion-list-mode-finish):
12275 Don't use toggle-read-only. (Since completion-list-mode has
12276 a special mode-class, it wasn't doing anything extra anyway.)
12277
12278 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 Make inlining of other-mode interpreted functions work (bug#11799).
12281 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12282 (byte-compile): Use it to fix compilation of lexical-binding closures.
12283 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12284 function, if needed.
12285
12286 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 * help-mode.el (help-make-xrefs): Don't just withstand
12289 cyclic-variable-indirection but any error in documentation-property.
12290
12291 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12292 memory use.
12293 * bindings.el (bindings--define-key): New function.
12294 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12295 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12296 * bindings.el: Use it to purecopy define-key bindings.
12297
12298 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12299
12300 * emacs-lisp/cl.el (flet): Mark obsolete.
12301 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12302 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12303 * progmodes/js.el (js-c-fill-paragraph):
12304 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12305 (ebrowse-switch-member-buffer-to-derived-class):
12306 * play/5x5.el (5x5-solver): Use cl-flet.
12307
12308 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12309 (cl--symbol-function): New macro.
12310 (cl--letf, cl--letf*): Use it.
12311
12312 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12313 Strip "toggle-" if any.
12314
12315 2012-06-27 Glenn Morris <rgm@gnu.org>
12316
12317 * info.el (Info-default-directory-list): Move here from paths.el.
12318 * paths.el: Remove file, which is now empty.
12319 * loadup.el: No longer load "paths".
12320
12321 * custom.el (custom-initialize-delay): Doc fix.
12322
12323 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12324 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12325 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12326 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12327 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12328 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12329 * eshell/eshell.el (eshell-defgroup): Remove alias.
12330
12331 2012-06-27 Chong Yidong <cyd@gnu.org>
12332
12333 * help.el (help-enable-auto-load): New variable.
12334
12335 * help-fns.el (help-fns--autoloaded-p): New function.
12336 (describe-function-1): Refer to a function as "autoloaded" if it
12337 was autoloaded at any time in the past. Perform autoloading if
12338 help-enable-auto-load is non-nil.
12339
12340 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12341
12342 * makefile.w32-in (compile, compile-always): Depend on
12343 update-subdirs, not on subdirs.el. Otherwise, several different
12344 sub-targets of 'bootstrap' running in parallel could
12345 simultaneously write to subdirs.el, producing a garbled file.
12346
12347 2012-06-26 Sam Steingold <sds@gnu.org>
12348
12349 * files.el (file-name-base): New convenience function.
12350 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12351 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12352 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12353 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12354 * textmodes/ispell.el, textmodes/reftex-ref.el:
12355 * textmodes/tex-mode.el: Use it.
12356 Did not touch cedet and org because they are maintained elsewhere.
12357
12358 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12359
12360 * calendar/calendar.el (calendar-exit): Don't try to delete or
12361 iconify last frame. See:
12362 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12363
12364 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12365
12366 * server.el (server-process-filter): Remember dir in the
12367 process's `server-client-directory' properties.
12368
12369 2012-06-24 Chong Yidong <cyd@gnu.org>
12370
12371 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12372 non-tag text.
12373
12374 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12375
12376 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12377
12378 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * help-fns.el (describe-variable): Don't croak when doc is not found.
12381 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12382 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12383 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12384 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12385 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12386 ((lambda ..) ..).
12387 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12388
12389 2012-06-23 Chong Yidong <cyd@gnu.org>
12390
12391 * info.el (Info-mouse-follow-link): Accept symbol values of
12392 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12393 (Info-fontify-node): Use Info-link-keymap for all navigation
12394 buttons, with link-args property to perform the desired action.
12395 (Info-link-keymap): Doc fix.
12396 (Info-next-link-keymap, Info-prev-link-keymap)
12397 (Info-up-link-keymap): Delete now-unused keymaps.
12398
12399 2012-06-23 Chong Yidong <cyd@gnu.org>
12400
12401 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12402
12403 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12404 system abbrevs.
12405
12406 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12407
12408 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12411 (bug#11719).
12412
12413 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12414 the requote function doesn't work properly (bug#11714).
12415
12416 2012-06-23 Glenn Morris <rgm@gnu.org>
12417
12418 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12419
12420 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 Further GV/CL cleanups.
12423 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12424 gv-expander.
12425 (gv--defun-declaration): New function.
12426 (defun-declarations-alist): Use it.
12427 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12428 (gv-place): Autoload.
12429 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12430 original definition of dotimes and dolist.
12431 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12432 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12433 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12434 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12435 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12436 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12437 to the function's definition.
12438 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12439 * window.el:
12440 * files.el:
12441 * faces.el:
12442 * env.el: Don't use CL.
12443
12444 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12445
12446 Support higher-resolution time stamps (Bug#9000).
12447
12448 * calendar/time-date.el (with-decoded-time-value): New arg
12449 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12450 (encode-time-value): New optional arg PICO. New type 3.
12451 (time-to-seconds) [!float-time]: Support the new picoseconds
12452 component if it's used.
12453 (seconds-to-time, time-subtract, time-add):
12454 Support ps-resolution time stamps as well.
12455
12456 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12457 (timerp): Timer vectors now have length 9, not 8.
12458 (timer--time): Support new-style (4-part) time stamps.
12459 (timer-next-integral-multiple-of-time): Time stamps now have
12460 picosecond resolution, so take a bit more care about rounding.
12461 (timer-relative-time, timer-inc-time): New optional arg psecs.
12462 (timer-set-time-with-usecs): Set psecs to 0.
12463 (timer--activate): Check psecs component, too.
12464
12465 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12466
12467 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12470 Move the non-essential binding to the post/pre-command-hook where it is
12471 more obviously correct.
12472
12473 * subr.el (read-passwd): Don't use a history at all.
12474 * savehist.el (savehist-save): Remove password saved accidentally
12475 because of the above bug.
12476
12477 2012-06-22 Bastien Guerry <bzg@gnu.org>
12478
12479 * files.el (toggle-read-only): Display a message telling whether
12480 the buffer is read-only or not (bug#11726).
12481
12482 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * emacs-lisp/gv.el: New file.
12485 * subr.el (push, pop): Extend to generalized variables.
12486 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12487 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12488 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12489 gv-define-simple-setter, and gv-define-expander.
12490 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12491 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12492 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12493 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12494 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12495 gv-letplace.
12496 (cl-defstruct): Don't define setf-method any more.
12497 * emacs-lisp/cl.el (flet): Don't autoload.
12498 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12499 (define-setf-expander, defsetf, define-modify-macro)
12500 (cl-struct-setf-expander): Move from cl-lib.el.
12501 * emacs-lisp/syntax.el:
12502 * emacs-lisp/ewoc.el:
12503 * emacs-lisp/smie.el:
12504 * emacs-lisp/cconv.el:
12505 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12506 (timer--time): Use gv-define-simple-setter.
12507 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12508 to avoid coding-system problems in subr.el. Adjust all users.
12509 (macroexp--maxsize, macroexp-small-p): New functions.
12510 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12511 * scroll-bar.el (scroll-bar-mode):
12512 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12513 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12514 * winner.el (winner-configuration, winner-make-point-alist)
12515 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12516 * files.el (locate-file-completion-table): Avoid list*.
12517
12518 2012-06-22 Chong Yidong <cyd@gnu.org>
12519
12520 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12521 (dired-create-files): Doc fix (Bug#11329).
12522 (dired-do-copy): Doc fix (Bug#11334).
12523 (dired-mark-read-string): Doc fix (Bug#11553).
12524
12525 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12526 Doc fix (Bug#11326).
12527 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12528 (dired-dwim-target): Doc fix.
12529
12530 * wdired.el (wdired-mode): Doc fix.
12531
12532 2012-06-22 Glenn Morris <rgm@gnu.org>
12533
12534 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12535 (pcmpl-rpm-cache-stamp-file): New constant.
12536 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12537 (pcmpl-rpm-packages): Optionally cache list of packages.
12538
12539 * pcmpl-rpm.el (pcmpl-rpm): New group.
12540 (pcmpl-rpm-query-options): New option.
12541 (pcmpl-rpm-packages): No need to inline it.
12542 Use pcmpl-rpm-query-options.
12543
12544 * calendar/calendar.el (calendar-in-read-only-buffer):
12545 Avoid some needless mode changes.
12546
12547 2012-06-21 Chong Yidong <cyd@gnu.org>
12548
12549 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12550 (desktop-path): Remove . from the default value (Bug#10977).
12551 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12552
12553 2012-06-20 Chong Yidong <cyd@gnu.org>
12554
12555 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12556
12557 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12558
12559 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12560 (bug#11201).
12561
12562 2012-06-20 Chong Yidong <cyd@gnu.org>
12563
12564 * term.el (term-window-width): Handle the case of a missing right
12565 fringe (Bug#8837).
12566 (term-check-size): Use window-text-height (Bug#5445).
12567 (term-mode): Use define-derived-mode. Minor cleanups.
12568 Set font-lock-defaults (Bug#7692).
12569 (term-move-columns, term-insert-char, term-emulate-terminal)
12570 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12571
12572 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12573
12574 * net/ange-ftp.el (ange-ftp-get-passwd):
12575 Bind `enable-recursive-minibuffers'.
12576 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12577
12578 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12579
12580 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12581
12582 2012-06-19 Glenn Morris <rgm@gnu.org>
12583
12584 * progmodes/python.el (python-mode): Derive from prog-mode.
12585
12586 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12587
12588 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12589 (edt-user-menu-bar-update-buffers): New functions.
12590 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12591
12592 2012-06-19 Chong Yidong <cyd@gnu.org>
12593
12594 * subr.el (with-selected-window): Preserve the selected window's
12595 terminal's top-frame (Bug#4702).
12596
12597 * window.el (save-selected-window): Likewise.
12598
12599 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12600
12601 * progmodes/python.el (python-rx-constituents): Move backquote.
12602 (python-skeleton-define, python-define-auxiliary-skeleton):
12603 Use `declare'.
12604
12605 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12606
12607 * minibuffer.el (read-file-name-default): Revert the patch from
12608 2012-06-17.
12609
12610 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12611
12612 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12613 (pcase--u1, pcase--q1): Don't use apply-partially.
12614
12615 2012-06-18 Glenn Morris <rgm@gnu.org>
12616
12617 * progmodes/python.el (python-proc, python-buffer)
12618 (python-send-receive, python-send-string): Fix obsolete versions.
12619
12620 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12621
12622 * window.el (special-display-p): Completely remove stringp
12623 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12624
12625 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12626
12627 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12628
12629 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12630
12631 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12632 * net/tramp-sh.el (tramp-maybe-open-connection):
12633 Throw if `non-essential' is non-nil.
12634
12635 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12636
12637 * window.el (special-display-p): Signal an error if BUFFER-NAME
12638 is not a string (Bug#11713).
12639
12640 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12641
12642 * progmodes/python.el (python-info-beginning-of-backslash):
12643 Rename from python-info-beginning-of-backlash, as a spelling fix.
12644
12645 2012-06-17 Chong Yidong <cyd@gnu.org>
12646
12647 * term.el (term-emulate-terminal): If term-check-size is called,
12648 move point to the process mark without resetting point (Bug#4635).
12649
12650 2012-06-17 Glenn Morris <rgm@gnu.org>
12651
12652 * international/mule-cmds.el (mule-menu-keymap)
12653 (set-language-environment, set-locale-environment): Doc tweaks.
12654
12655 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12656
12657 * cus-face.el (custom-face-attributes): Add wave-style underline
12658 attribute.
12659 * faces.el (set-face-attribute): Update docstring to describe
12660 wave-style underline attribute.
12661
12662 2012-06-16 Chong Yidong <cyd@gnu.org>
12663
12664 * term/xterm.el (terminal-init-xterm): Discard input before
12665 querying background mode (Bug#10959).
12666
12667 2012-06-16 Stefan Merten <smerten@oekonux.de>
12668
12669 * textmodes/rst.el: Added and corrected some comments.
12670 (rst-re-alist-def): Improve symbol syntax.
12671 (rst-mode-syntax-table): Correct syntax entries.
12672 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12673 (rst-official-version, rst-official-cvs-rev): Update version
12674 information.
12675
12676 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12677
12678 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12679 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12680
12681 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12682
12683 * progmodes/python.el: New python.el merge.
12684 (python-guess-indent): Obsolete var.
12685 (python-indent-guess-indent-offset): New defcustom.
12686 (python-indent): Obsolete var.
12687 (python-indent-offset): New defcustom.
12688 (python-python-command, python-jython-command): Delete var.
12689 (python-shell-interpreter): New defcustom.
12690 (python-pdbtrack-do-tracking-p): Delete var.
12691 (python-pdbtrack-activate): New defcustom.
12692 (python-use-skeletons): Obsolete var.
12693 (python-skeleton-autoinsert): New defcustom.
12694 (inferior-python-filter-regexp, python-continuation-offset)
12695 (python-honour-comment-indentation, python-indent-string-contents)
12696 (python-jython-packages, python-mode-hook)
12697 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12698 (python-shell-prompt-alist)
12699 (python-source-modes): Delete defcustoms.
12700 (python-check-buffer-name, python-eldoc-setup-code)
12701 (python-eldoc-string-code, python-ffap-setup-code)
12702 (python-ffap-string-code, python-fill-comment-function)
12703 (python-fill-decorator-function, python-fill-paren-function)
12704 (python-fill-string-function, python-imenu-include-defun-type)
12705 (python-imenu-make-tree, python-imenu-subtree-root-label)
12706 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12707 (python-shell-compilation-regexp-alist)
12708 (python-shell-completion-module-string-code)
12709 (python-shell-completion-pdb-string-code)
12710 (python-shell-completion-setup-code)
12711 (python-shell-completion-string-code)
12712 (python-shell-enable-font-lock, python-shell-exec-path)
12713 (python-shell-extra-pythonpaths)
12714 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12715 (python-shell-process-environment)
12716 (python-shell-prompt-block-regexp)
12717 (python-shell-prompt-output-regexp)
12718 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12719 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12720 (python-shell-virtualenv-path): New defcustoms.
12721 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12722 (inferior-python-mode-syntax-table, python--prompt-regexp)
12723 (python-buffer, python-command python-python-command)
12724 (python-default-template, python-imports, python-indent-index)
12725 (python-indent-list, python-indent-list-length)
12726 (python-mode-running, python-pdbtrack-is-tracking-p)
12727 (python-preoutput-continuation, python-preoutput-leftover)
12728 (python-preoutput-result, python-preoutput-skip-next-prompt)
12729 (python-prev-dir/file, python-recursing)
12730 (python-saved-check-command, python-version-checked)
12731 (python-which-func-length-limit)
12732 (view-return-to-alist): Delete vars.
12733 (python-check-custom-command, python-dotty-syntax-table)
12734 (python-imenu-index-alist, python-indent-current-level)
12735 (python-indent-dedenters, python-indent-levels)
12736 (python-nav-beginning-of-defun-regexp)
12737 (python-nav-list-defun-positions-cache)
12738 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12739 (python-shell-internal-buffer)
12740 (python-skeleton-available): New vars.
12741 (def-python-skeleton): Delete macro.
12742 (python-skeleton-define): New macro.
12743 (python-define-auxiliary-skeleton, python-rx): New macros.
12744 (python-insert-class): Delete command.
12745 (python-skeleton-class): New command.
12746 (python-insert-def): Delete command.
12747 (python-skeleton-def): New command.
12748 (python-insert-for): Delete command.
12749 (python-skeleton-for): New command.
12750 (python-insert-if): Delete command.
12751 (python-skeleton-if): New command.
12752 (python-insert-try/except, python-insert-try/finally): Delete commands.
12753 (python-skeleton-try): New command.
12754 (python-insert-while): Delete command.
12755 (python-skeleton-while): New command.
12756 (python-backspace): Delete command.
12757 (python-indent-dedent-line-backspace): New command.
12758 (python-electric-colon): Delete command.
12759 (python-indent-electric-colon): New command.
12760 (python-guess-indent): Delete command.
12761 (python-indent-guess-indent-offset): New command.
12762 (python-shift-left): Delete command.
12763 (python-indent-shift-left): New command.
12764 (python-shift-right): Delete command.
12765 (python-indent-shift-right): New command.
12766 (python-find-function): Delete command.
12767 (python-nav-jump-to-defun): New command.
12768 (python-next-statement): Delete command.
12769 (python-nav-forward-sentence): New command.
12770 (python-previous-statement): Delete command.
12771 (python-nav-backward-sentence): New command.
12772 (python-fill-paragraph): Delete command.
12773 (python-fill-paragraph-function): New command.
12774 (python-send-buffer): Delete command.
12775 (python-shell-send-buffer): New command.
12776 (python-send-defun): Delete command.
12777 (python-shell-send-defun): New command.
12778 (python-send-region, python-send-region-and-go): Delete commands.
12779 (python-shell-send-region)
12780 (python-shell-switch-to-shell): New commands.
12781 (python-send-string): Delete command.
12782 (python-shell-send-string): New command.
12783 (python-switch-to-python): Delete command.
12784 (python-shell-switch-to-shell): New command.
12785 (python-describe-symbol): Delete command.
12786 (python-eldoc-at-point): New command.
12787 (python--set-prompt-regexp, python-args-to-list)
12788 (python-after-info-look, python-check-version)
12789 (python-check-comint-prompt, python-find-imports)
12790 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12791 (python-unload-function, python-expand-template)
12792 (python-maybe-jython, python-preoutput-filter)
12793 (python-pdbtrack-get-source-buffer)
12794 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12795 (python-pdbtrack-toggle-stack-tracking)
12796 (python-pdbtrack-track-stack-file, python-initial-text)
12797 (python-first-word, python-comment-line-p, python-send-command)
12798 (python-setup-brm, python-sentinel, python-set-proc)
12799 (python-skip-out, python-input-filter, python-outdent-p)
12800 (python-outline-level, python-backslash-continuation-line-p)
12801 (python-end-of-block, python-end-of-statement, python-mark-block)
12802 (python-beginning-of-block, python-beginning-of-statement)
12803 (python-blank-line-p, python-beginning-of-string)
12804 (python-open-block-statement-p): Delete functions.
12805 (python-indent-line, python-indent-line-1): Delete functions.
12806 (python-indent-line): New function.
12807 (python-indentation-levels): Delete function.
12808 (python-indent-calculate-levels): New function.
12809 (python-proc): Delete function.
12810 (python-shell-get-process): New function.
12811 (python-send-receive): Delete function.
12812 (python-shell-send-string-no-output): New function.
12813 (python-module-path): Delete function.
12814 (python-ffap-module-path): New function.
12815 (python-completion-at-point)
12816 (python-symbol-completions): Delete functions.
12817 (python-completion-complete-at-point): New function.
12818 (python-load-file): Delete function.
12819 (python-shell-send-file): New function.
12820 (python-calculate-indentation): Delete function.
12821 (python-indent-calculate-indentation): New function.
12822 (python-skip-comments/blanks): Delete function.
12823 (python-util-forward-comment): New function.
12824 (python-continuation-line-p): Delete function.
12825 (python-info-continuation-line-p): New function.
12826 (python-which-func, python-current-defun): Delete function.
12827 (python-info-current-defun): New function.
12828 (python-beginning-of-defun): Delete function.
12829 (python-nav-beginning-of-defun): New function.
12830 (python-close-block-statement-p)
12831 (python-block-end-p): Delete function.
12832 (python-info-closing-block): New function.
12833 (python-comint-output-filter-function)
12834 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12835 (python-fill-comment, python-fill-decorator, python-fill-paren)
12836 (python-fill-string, python-imenu-make-element-tree)
12837 (python-imenu-make-tree, python-imenu-tree-assoc)
12838 (python-indent-context, python-indent-dedent-line)
12839 (python-indent-line-function)
12840 (python-indent-post-self-insert-function)
12841 (python-indent-toggle-levels)
12842 (python-info-assignment-continuation-line-p)
12843 (python-info-beginning-of-backlash)
12844 (python-info-block-continuation-line-p)
12845 (python-info-closing-block-message)
12846 (python-info-line-ends-backslash-p)
12847 (python-info-looking-at-beginning-of-defun)
12848 (python-info-ppss-context, python-info-ppss-context-type)
12849 (python-nav-list-defun-positions, python-nav-read-defun)
12850 (python-nav-sentence-end, python-nav-sentence-start)
12851 (python-pdbtrack-comint-output-filter-function)
12852 (python-pdbtrack-set-tracked-buffer)
12853 (python-shell-calculate-exec-path)
12854 (python-shell-calculate-process-environment)
12855 (python-shell-completion--do-completion-at-point)
12856 (python-shell-completion--get-completions)
12857 (python-shell-completion-complete-at-point)
12858 (python-shell-completion-complete-or-indent)
12859 (python-shell-get-or-create-process)
12860 (python-shell-get-process-name)
12861 (python-shell-internal-get-or-create-process)
12862 (python-shell-internal-get-process-name)
12863 (python-shell-internal-send-string, python-shell-make-comint)
12864 (python-shell-parse-command, python-shell-send-setup-code)
12865 (python-skeleton-add-menu-items)
12866 (python-util-clone-local-variables, python-util-position)
12867 (run-python-internal, python-indentation-levels)
12868 (python-nav-beginning-of-defun)
12869 (python-completion-complete-at-point): New functions.
12870 (run-python): Change arguments. New API requirements.
12871
12872 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12875 (bug#11649).
12876
12877 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12878 (macroexp--expand-all): Use it.
12879
12880 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12881 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12882 Use `cl-function' instead.
12883
12884 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12885
12886 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12887 Suggested by Stefan Monnier while discussing bug#11657.
12888
12889 2012-06-14 Sam Steingold <sds@gnu.org>
12890
12891 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12892
12893 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12894
12895 * play/doctor.el (doctor-doc): Remove parameter and use
12896 doctor-sent instead of sent.
12897 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12898
12899 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * files.el: Require cl-lib.
12902 (file-name-non-special): Replace case -> cl-case.
12903
12904 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12905
12906 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12907 mapping from #' to function*.
12908
12909 2012-06-13 Chong Yidong <cyd@gnu.org>
12910
12911 * mouse.el (mouse-drag-track): Do not set the mark if the user
12912 releases the mouse without selecting anything (Bug#11588).
12913
12914 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12917 as well (bug#11646).
12918
12919 * loadup.el: Count byte-code functions as well.
12920
12921 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12922 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12923
12924 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12925 (bug#11649). Add cl-defun and cl-defmacro.
12926
12927 2012-06-13 Drew Adams <drew.adams@oracle.com>
12928
12929 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12930 Fix last change.
12931
12932 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12933
12934 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12935 Otherwise, it blocks in batch mode.
12936
12937 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12938
12939 * help-mode.el (bookmark-make-record-default): Declare.
12940
12941 2012-06-13 Chong Yidong <cyd@gnu.org>
12942
12943 * emacs-lisp/package.el (list-packages): Compute a list of
12944 packages that are newly-available since the last list-packages
12945 invocation.
12946 (package-menu--new-package-list): New var.
12947 (package-menu--generate, package-menu--print-info)
12948 (package-menu--status-predicate, package-menu-mark-install):
12949 Handle new status label "new".
12950
12951 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12954 conversion to backquotes.
12955
12956 2012-06-12 Chong Yidong <cyd@gnu.org>
12957
12958 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12959 Rename from gud-inhibit-global-bindings.
12960
12961 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12962
12963 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12964 hook from nxml-glyph-set-hook.
12965
12966 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12967 declaration.
12968
12969 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12970
12971 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12972 Convert to defcustom.
12973
12974 2012-06-12 Drew Adams <drew.adams@oracle.com>
12975
12976 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12977 New functions.
12978 (help-mode): Use them.
12979
12980 2012-06-11 Glenn Morris <rgm@gnu.org>
12981
12982 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12983 Use preprocessor face for directives.
12984 (fortran-directive-re): Doc fix.
12985
12986 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12989 conversion to backquotes (bug#11652).
12990
12991 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12992 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12993 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12994 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12995 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12996 (cl-ninth, cl-tenth): Mark them as inlinable.
12997 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12998 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12999 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13000 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13001 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13002 (cl-list*, cl-adjoin): Don't put an autoload manually.
13003 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13004 (cl--compiler-macro-list*): Add autoload cookie.
13005 (cl--compiler-macro-cXXr): New function.
13006
13007 * help-fns.el (help-fns--compiler-macro): New function extracted from
13008 describe-function-1; follow aliases and use `compiler-macro' property.
13009 (describe-function-1): Use it.
13010
13011 2012-06-11 Chong Yidong <cyd@gnu.org>
13012
13013 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13014 is uninstalled, if imagemagick is installed.
13015
13016 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13017
13018 * emacs-lisp/cl-lib.el: Use lexical-binding.
13019 (cl-map-extents, cl-maclisp-member): Remove.
13020 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13021 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13022 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13023 * emacs-lisp/cl-extra.el: Use lexical-binding.
13024 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13025 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13026 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13027 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13028 * emacs-lisp/cl-seq.el: Use lexical-binding.
13029 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13030 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13031 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13032 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13033 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13034 CL's internals.
13035
13036 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13037
13038 Sync with Tramp 2.2.6-pre.
13039
13040 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13041 `print-length' and `print-level' to nil, in order to avoid
13042 truncation. Reported by Christopher Schmidt
13043 <christopher@ristopher.com>.
13044
13045 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13046
13047 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13048 New defmacro.
13049 (tramp-compat-copy-directory): Add optional argument
13050 COPY-CONTENTS. It is not handled yet.
13051
13052 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13053 (tramp-ftp-file-name-p): Simplify.
13054
13055 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13056 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13057 connection vector.
13058
13059 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13060 (tramp-methods): Do not use `tramp-password-end-of-line'.
13061 (tramp-completion-function-alist-putty): Handle UNIX case.
13062 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13063 (tramp-do-file-attributes-with-stat)
13064 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13065 gid as real numbers. They could run out of integer range on cygwin.
13066 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13067 (tramp-sh-handle-expand-file-name): Handle hops.
13068 (tramp-open-connection-setup-interactive-shell):
13069 Use `tramp-cleanup'. Move check for busyboxes ...
13070 (tramp-find-shell): ... here. Simplify implementation.
13071 Set "remote-shell" property also for alternative shells.
13072 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13073 If failing, a regular file would be written otherwise.
13074 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13075 (tramp-find-inline-encoding): Cache the coding commands in the
13076 process cache. Apply test command on the remote side, if defined.
13077 (tramp-find-inline-compress): Cache the compress commands in the
13078 process cache.
13079 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13080 when requested. Handle hops.
13081 (tramp-current-connection): New defvar.
13082 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13083 Throw `suppress', if there was a failed connection shortly before.
13084 Handle user interrupt. (Bug#10187)
13085 (tramp-get-inline-compress, tramp-get-inline-coding):
13086 Read connection properties from the process cache.
13087
13088 * net/tramp-smb.el (tramp-smb-server-version)
13089 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13090 New defconsts.
13091 (tramp-smb-prompt): Extend for powershell prompt.
13092 (tramp-smb-file-name-handler-alist): Add handlers for
13093 `process-file', `shell-command' and `start-file-process'.
13094 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13095 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13096 (tramp-smb-file-name-p): Simplify.
13097 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13098 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13099 (tramp-smb-shell-quote-argument): New defuns.
13100 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13101 Implement using "tar". By this, time-stamps are preserved.
13102 (tramp-smb-handle-copy-file): Handle also the case of directories.
13103 (tramp-smb-do-file-attributes-with-stat)
13104 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13105 Use `tramp-get-connection-buffer').
13106 (tramp-smb-handle-rename-file): Use "rename", when source and
13107 target are on the same share.
13108 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13109 Use `tramp-smb-server-version'.
13110 (tramp-smb-wait-for-output): Remove prompt.
13111
13112 * net/tramp.el (top): Require 'cl.
13113 (tramp-methods, tramp-rsh-end-of-line):
13114 Remove `tramp-password-end-of-line' from docstring.
13115 (tramp-save-ad-hoc-proxies): New defcustom.
13116 (tramp-completion-function-alist): Adapt docstring.
13117 (tramp-default-password-end-of-line): Remove defcustom.
13118 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13119 (tramp-user-regexp, tramp-file-name-regexp-unified)
13120 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13121 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13122 (tramp-remote-file-name-spec-regexp): New defconst.
13123 (tramp-file-name-structure): Extend structure for hops.
13124 (tramp-get-method-parameter): Move up.
13125 (tramp-file-name-p, tramp-dissect-file-name)
13126 (with-parsed-tramp-file-name): Handle hops.
13127 (tramp-file-name-hop): New defun.
13128 (tramp-make-tramp-file-name): New optional arg HOP.
13129 (tramp-message-show-progress-reporter-message): New defvar.
13130 (tramp-with-progress-reporter): Use it. We cannot use
13131 `tramp-message-show-message' here, because this suppresses also
13132 error buffers.
13133 (tramp-error-with-buffer): Suppress buffer view, if
13134 `tramp-message-show-message' is nil.
13135 Use `tramp-get-connection-buffer'.
13136 (tramp-cleanup): New defun.
13137 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13138 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13139 an error unchanged.
13140 (tramp-completion-handle-file-name-all-completions): Handle hops.
13141 Fix an error when called from ido.
13142 (tramp-completion-dissect-file-name): Use better local variable
13143 name. Add hop to the vector.
13144 (tramp-handle-insert-file-contents): Use progress-reporter for the
13145 whole scenario.
13146 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13147 to `t'.
13148 (tramp-check-for-regexp): Simplify search.
13149 (tramp-enter-password): Remove it. Move implementation ...
13150 (tramp-action-password): ... here.
13151 (tramp-mode-string-to-int, tramp-local-host-p)
13152 (tramp-make-tramp-temp-file, tramp-read-passwd)
13153 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13154 Set tramp-autoload cookie.
13155
13156 * net/trampver.el: Update release number.
13157
13158 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13159 Michael Albinus <michael.albinus@gmx.de>
13160
13161 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13162 (tramp-parse-group, tramp-parse-file)
13163 (tramp-parse-shostkeys-sknownhosts): New defuns.
13164 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13165 (tramp-parse-shosts-group, tramp-parse-sconfig)
13166 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13167 (tramp-parse-sknownhosts, tramp-parse-hosts)
13168 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13169 Use them.
13170 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13171 (tramp-parse-putty-group): Don't narrow.
13172 (tramp-parse-putty): Make a loop.
13173 (tramp-file-name-handler): Catch the `suppress' signal.
13174
13175 2012-06-11 Chong Yidong <cyd@gnu.org>
13176
13177 * image.el (imagemagick-register-types): Put the ImageMagick entry
13178 at the end of image-type-file-name-regexps.
13179
13180 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13181
13182 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13183 (pcase, pcase-let*, pcase-dolist): Use them.
13184
13185 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * emacs-lisp/pcase.el (pcase--let*): New function.
13188 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13189 (pcase--expand): Use macroexp-let².
13190
13191 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13194 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13195 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13196 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13197 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13198 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13199
13200 2012-06-10 Glenn Morris <rgm@gnu.org>
13201
13202 * mail/rmail.el (rmail-yank-current-message): Leave point at
13203 correct position. (Bug#11660)
13204
13205 2012-06-10 Chong Yidong <cyd@gnu.org>
13206
13207 * allout-widgets.el: Fix code header.
13208
13209 2012-06-10 Chong Yidong <cyd@gnu.org>
13210
13211 * cus-edit.el (customize-changed-options-previous-release):
13212 Bump to 24.1.
13213
13214 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13215
13216 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13217
13218 2012-06-09 Chong Yidong <cyd@gnu.org>
13219
13220 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13221
13222 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13223
13224 * window.el (special-display-popup-frame): Don't use
13225 window--display-buffer (Bug#11651).
13226
13227 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13228
13229 Fix parallel builds: make sure loaddefs.el is not being written
13230 while Lisp files are compiled.
13231 (compile): Don't depend on 'mh-autoloads'.
13232 (compile-CMD, compile-SH): Depend on 'autoloads'.
13233 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13234
13235 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13236
13237 2012-06-09 Chong Yidong <cyd@gnu.org>
13238
13239 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13240 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13241 Doc fixes (Bug#11225).
13242
13243 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13244
13245 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13246 a function if there's a clear indication that it has a compiler-macro.
13247 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13248 (macro-declarations-alist): Add arglist to declaration functions.
13249 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13250 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13251 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13252 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13253 Also add autoload to find the compiler macro.
13254 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13255 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13256 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13257 (cl--compiler-macro-get): New functions, replacing calls to
13258 cl-define-compiler-macro.
13259 (cl-typep) [compiler-macro]: Use macroexp-let².
13260
13261 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13262
13263 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13264 string properly, fixes Bug#11473.
13265
13266 2012-06-08 Chong Yidong <cyd@gnu.org>
13267
13268 * faces.el (set-face-attribute): Doc fix.
13269 (modify-face): Don't use :bold and :italic.
13270 (error, warning, success): Tweak definitions.
13271
13272 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13273 (custom-modified, custom-set, custom-changed, custom-themed)
13274 (custom-saved, custom-button, custom-button-mouse)
13275 (custom-button-pressed, custom-state, custom-comment-tag)
13276 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13277 (custom-group-subtitle): Use new-style face specs.
13278 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13279 (custom-set-face, custom-changed-face, custom-saved-face)
13280 (custom-button-face, custom-button-pressed-face)
13281 (custom-documentation-face, custom-state-face)
13282 (custom-comment-face, custom-comment-tag-face)
13283 (custom-variable-tag-face, custom-variable-button-face)
13284 (custom-face-tag-face, custom-group-tag-face-1)
13285 (custom-group-tag-face): Remove obsolete face alias.
13286
13287 * epa.el (epa-validity-high, epa-validity-medium)
13288 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13289 (epa-field-name, epa-field-body):
13290 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13291 (font-lock-keyword-face, font-lock-builtin-face)
13292 (font-lock-function-name-face, font-lock-variable-name-face)
13293 (font-lock-type-face, font-lock-constant-face):
13294 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13295 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13296 * speedbar.el (speedbar-button-face, speedbar-file-face)
13297 (speedbar-directory-face, speedbar-tag-face)
13298 (speedbar-selected-face, speedbar-highlight-face)
13299 (speedbar-separator-face):
13300 * whitespace.el (whitespace-newline, whitespace-space)
13301 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13302 (whitespace-line, whitespace-space-before-tab)
13303 (whitespace-space-after-tab, whitespace-indentation)
13304 (whitespace-empty):
13305 * emulation/cua-base.el (cua-global-mark):
13306 * eshell/em-prompt.el (eshell-prompt):
13307 * net/newst-plainview.el (newsticker-new-item-face)
13308 (newsticker-old-item-face, newsticker-immortal-item-face)
13309 (newsticker-obsolete-item-face, newsticker-date-face)
13310 (newsticker-statistics-face, newsticker-default-face):
13311 * net/newst-reader.el (newsticker-feed-face)
13312 (newsticker-extra-face, newsticker-enclosure-face):
13313 * net/newst-treeview.el (newsticker-treeview-face)
13314 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13315 (newsticker-treeview-immortal-face)
13316 (newsticker-treeview-obsolete-face)
13317 (newsticker-treeview-selection-face):
13318 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13319 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13320 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13321 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13322 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13323 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13324 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13325 (mpuz-text):
13326 * progmodes/vera-mode.el (vera-font-lock-number)
13327 (vera-font-lock-function, vera-font-lock-interface):
13328 * textmodes/table.el (table-cell): Use new-style face specs, and
13329 don't use the old :bold and :italic attributes.
13330
13331 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13332 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13333 (ebrowse-member-class, ebrowse-progress): Likewise.
13334 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13335 (ebrowse-file-name-face, ebrowse-default-face)
13336 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13337 (ebrowse-progress-face): Remove obsolete faces.
13338
13339 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13340 Inherit from error and warning faces respectively.
13341
13342 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13343 Likewise.
13344 (flyspell-incorrect-face, flyspell-duplicate-face):
13345 Remove obsolete aliases.
13346
13347 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13350 Avoid infloop.
13351
13352 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * startup.el (argv, argi): Make lexically scoped.
13355 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13356 * emacs-lisp/cl-macs.el: Use lexical-binding.
13357 Rename cl-bind-* to cl--bind-*.
13358 * files.el: Don't require `cl' since it doesn't use it.
13359 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13360
13361 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13362
13363 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13364 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13365 instead of calling external sort utility.
13366 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13367
13368 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13369
13370 * descr-text.el (describe-char): Mention how to insert the
13371 character, if the current input method doesn't support it.
13372 See the discussion in this thread for the details:
13373 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13374
13375 2012-06-08 Sam Steingold <sds@gnu.org>
13376
13377 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13378 XF86Back to previous-buffer.
13379 (minibuffer-local-map): Bind them to next-history-element and
13380 previous-history-element respectively.
13381 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13382 help-go-back respectively.
13383 * info.el (Info-mode-map): Bind them to Info-history-forward and
13384 Info-history-back respectively.
13385 These are the keys next to Up on the ThinkPad keyboard.
13386
13387 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13388
13389 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13390 * emacs-lisp/cl-macs.el: Provide itself.
13391 (cl--labels-convert-cache): New var.
13392 (cl--labels-convert): New function.
13393 (cl-flet, cl-labels): New implementation with new semantics, relying on
13394 lexical-binding.
13395 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13396 (cl-closure-vars, cl--function-convert-cache)
13397 (cl--function-convert): Move from cl-macs.el.
13398 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13399 rename by removing the "cl-" prefix.
13400 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13401
13402 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13403
13404 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13405 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13406 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13407 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13408 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13409 (cl-hash-table-count): Add old compatibility aliases.
13410
13411 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13412 Use macroexpand-all-environment instead.
13413 (cl--old-macroexpand): New var.
13414 (cl--sm-macroexpand): New function.
13415 (cl-symbol-macrolet): Use it during macro expansion.
13416 (cl--function-convert-cache): New var.
13417 (cl--function-convert): New function, extracted from
13418 cl-macroexpand-all.
13419 (cl-lexical-let): Use it.
13420
13421 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13422 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13423 (cl-member): Remove old alias.
13424
13425 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13426 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13427 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13428 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13429 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13430 (cl-macroexpand-cmacs): Remove var.
13431 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13432 Use macroexpand-all instead.
13433
13434 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13435
13436 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13437 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13438 (macroexp-copyable-p): New functions and macros.
13439 * emacs-lisp/edebug.el (edebug-unwrap):
13440 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13441 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13442 (pcase--let*): Remove.
13443 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13444 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13445 macroexp-const-p instead.
13446 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13447
13448 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13449 instead of "cl-" for internal definitions. Use macroexp-const-p.
13450 (cl-old-bc-file-form): Remove var.
13451 (cl-const-exprs-p): Remove fun.
13452 (cl-labels, cl-macrolet): Use backquote.
13453 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13454 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13455 (cl-define-setf-expander): Rename from cl-define-setf-method.
13456 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13457
13458 * international/mule-cmds.el: Don't require CL.
13459 (view-hello-file): Don't use `letf'.
13460
13461 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13462
13463 * tmm.el (tmm-prompt): Use string-prefix-p.
13464 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13465 (tmm-add-prompt): Use minibuffer-completion-help.
13466 (tmm-delete-map): Remove.
13467
13468 * subr.el (kbd): Make it its own function.
13469
13470 2012-06-07 Stefan Merten <smerten@oekonux.de>
13471
13472 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13473 Silence compiler warnings. Fix versions.
13474 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13475 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13476 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13477 (rst-package-emacs-version-alist): Correct Emacs version to
13478 represent major merge with upstream.
13479 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13480
13481 2012-06-06 Glenn Morris <rgm@gnu.org>
13482
13483 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13484 Only print environment variables if set.
13485
13486 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13489 (macroexp--cons): Rename from maybe-cons.
13490 (macroexp--accumulate): Rename from macroexp-accumulate.
13491 (macroexp--all-forms): Rename from macroexpand-all-forms.
13492 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13493 (macroexp--expand-all): Rename from macroexpand-all-1.
13494
13495 2012-06-06 Sam Steingold <sds@gnu.org>
13496
13497 * calendar/calendar.el (calendar-in-read-only-buffer):
13498 Call `special-mode' to enable the standard read-only keybindings.
13499
13500 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13501
13502 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13503 with "loading" messages (bug#11635).
13504
13505 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13506
13507 * files.el (enable-remote-dir-locals): New option.
13508 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13509
13510 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13511 Ensure, that the temp directory is local.
13512
13513 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13514 `temporary-file-directory'.
13515
13516 * progmodes/python.el (python-send-region): Ensure, that the
13517 temporary file is created also in the remote case.
13518
13519 2012-06-06 Glenn Morris <rgm@gnu.org>
13520
13521 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13522 (vc-rcs-update-changelog): Use it.
13523
13524 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13525
13526 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13527 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13528 (vc-sccs-diff): Replace use of the external vcdiff script.
13529
13530 2012-06-05 Glenn Morris <rgm@gnu.org>
13531
13532 * ledit.el: Move to obsolete/.
13533
13534 2012-06-05 Sam Steingold <sds@gnu.org>
13535
13536 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13537 patch (Bug#11140).
13538
13539 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13540
13541 * emacs-lisp/cust-print.el: Move to obsolete.
13542
13543 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13544 compiler-macro expansion.
13545
13546 Add native compiler-macro support.
13547 * emacs-lisp/macroexp.el (macroexpand-all-1):
13548 Support compiler-macros directly. Properly follow aliases and apply
13549 the compiler macros more thoroughly.
13550 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13551 macroexpand now properly follows aliases.
13552 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13553 (cl-compiler-macroexpand): Use new prop.
13554 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13555
13556 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13557
13558 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13559
13560 * window.el (get-lru-window, get-mru-window, get-largest-window):
13561 New argument NOT-SELECTED to avoid picking the selected window.
13562 (window--display-buffer-1, window--display-buffer-2): Replace by
13563 new function window--display-buffer
13564 (display-buffer-same-window, display-buffer-reuse-window)
13565 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13566 Use window--display-buffer.
13567 (display-buffer-use-some-window): Remove temporary dedication
13568 hack by calling get-lru-window and get-largest-window with
13569 NOT-SELECTED argument non-nil. Call window--display-buffer.
13570
13571 2012-06-05 Glenn Morris <rgm@gnu.org>
13572
13573 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13574 Replace external vcdiff script.
13575
13576 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13579
13580 2012-06-04 Chong Yidong <cyd@gnu.org>
13581
13582 * image.el (imagemagick-types-inhibit): Revert last change.
13583 Add INFO and M.
13584 (imagemagick-enabled-types): Remove CIN and EPS*.
13585
13586 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * emacs-lisp/cl-lib.el: Rename from cl.el.
13589 * emacs-lisp/cl.el: New compatibility file.
13590 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13591 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13592 to obey the "cl-" prefix.
13593 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13594
13595 2012-06-03 Glenn Morris <rgm@gnu.org>
13596
13597 * emacs-lisp/authors.el (authors-aliases): Addition.
13598
13599 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13600 Fix :version.
13601
13602 2012-06-03 Stefan Merten <smerten@oekonux.de>
13603
13604 * textmodes/rst.el: Add comments.
13605 (rst-transition, rst-adornment): New faces.
13606 (rst-adornment-faces-alist): Make default safe to reevaluate.
13607 Fixes
13608 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13609 Improve customization tags.
13610 (rst-define-level-faces): Clarify meaning.
13611
13612 2012-06-03 Chong Yidong <cyd@gnu.org>
13613
13614 * progmodes/compile.el (compilation-mode-line-fail)
13615 (compilation-mode-line-run, compilation-mode-line-exit):
13616 New faces.
13617 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13618
13619 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13620
13621 * progmodes/which-func.el (which-func-update-ediff-windows):
13622 New function. Use it in ediff-select-hook (Bug#11478).
13623
13624 2012-06-03 Chong Yidong <cyd@gnu.org>
13625
13626 * bindings.el: Remove explicit help text from format-mode-line.
13627 It is now supplied by mode-line-default-help-echo.
13628 (mode-line-front-space, mode-line-end-spaces)
13629 (mode-line-misc-info): New variables.
13630 (mode-line-modes, mode-line-position): Move the default value to
13631 the variable definition.
13632 (mode-line-default-help-echo): New defcustom.
13633 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13634 (mode-line-modified-help-echo): New functions.
13635 (mode-line-mule-info, mode-line-modified): Use them.
13636 (mode-line-eol-desc, propertized-buffer-identification):
13637 Consistency fixes for help text.
13638 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13639 set-buffer-file-coding-system (Bug#289).
13640 (mode-line-mule-info-help-echo): Update help text.
13641
13642 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13643
13644 * simple.el (execute-extended-command): Set real-this-command
13645 (bug#11506).
13646
13647 2012-06-02 Chong Yidong <cyd@gnu.org>
13648
13649 Remove incorrect uses of "modeline" in comments, docstrings, and
13650 function/variable names (Bug#10329).
13651
13652 * cus-edit.el (mode-line):
13653 * dframe.el (dframe-mouse-hscroll):
13654 * emacs-lisp/re-builder.el:
13655 * emacs-lisp/easy-mmode.el (define-minor-mode):
13656 * frame.el (set-frame-name):
13657 * help.el (lookup-minor-mode-from-indicator):
13658 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13659 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13660 (c-toggle-hungry-state):
13661 * progmodes/antlr-mode.el (antlr-language-alist):
13662 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13663 * progmodes/vhdl-mode.el (vhdl-mode):
13664 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13665 * term/ns-win.el (ns-face-at-pos):
13666 * term/sup-mouse.el (sup-mouse-report):
13667 * textmodes/flyspell.el (flyspell-mode-line-string):
13668 * textmodes/ispell.el (ispell-highlight-face):
13669 * textmodes/reftex-global.el:
13670 * vc/vc-arch.el (vc-arch-mode-line-string):
13671 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13672 * vc/vc-git.el (vc-git-mode-line-string):
13673 * vc/vc-hooks.el (vc-display-status)
13674 (vc-default-mode-line-string):
13675 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13676
13677 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13678
13679 * dired.el (dired-sort-set-mode-line): Rename from
13680 dired-sort-set-modeline. All callers changed.
13681
13682 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13683 eshell-status-in-modeline.
13684
13685 * foldout.el (foldout-mode-line-string): Rename from
13686 foldout-modeline-string. All callers changed.
13687 (foldout-update-mode-line): Rename from foldout-update-modeline.
13688
13689 * subr.el (redraw-modeline): Make into obsolete alias.
13690
13691 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13692 timeclock-modeline-display. Make old name an alias.
13693 (timeclock-update-mode-line): Likewise. All callers changed.
13694 (timeclock-mode-line-display): No need to check before using
13695 add-hook.
13696 (timeclock-relative, timeclock-day-over-hook)
13697 (timeclock-use-elapsed, timeclock-mode-string)
13698 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13699
13700 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13701 crisp-mode-modeline-string.
13702
13703 * play/solitaire.el (solitaire-build-mode-line): Rename from
13704 solitaire-build-modeline. All callers changed.
13705
13706 * play/zone.el (zone-hiding-mode-line): Rename from
13707 zone-hiding-modeline. All callers changed.
13708 (zone): Remove unusued `modeline-hidden-level' property.
13709
13710 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13711 xscheme-modeline-initialize. All callers changed.
13712
13713 * strokes.el (strokes-lighter): Rename from
13714 strokes-modeline-string.
13715
13716 * textmodes/sgml-mode.el (html-face-tag-alist)
13717 (html-tag-face-alist): Use mode-line face instead of obsolete
13718 alias modeline.
13719
13720 2012-06-02 Stefan Merten <smerten@oekonux.de>
13721
13722 * textmodes/rst.el: Always require `cl'.
13723 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13724
13725 2012-06-02 Chong Yidong <cyd@gnu.org>
13726
13727 * image.el (imagemagick-enabled-types): Rename from
13728 imagemagick-types-enable. Add many more types.
13729 (imagemagick-types-inhibit): Change default to nil.
13730 (imagemagick-filter-types): Caller changed.
13731
13732 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * emacs-lisp/cl-macs.el: Use backquotes.
13735 (cl-transform-function-property): Use eval-and-compile rather than
13736 abusing `require'.
13737 (defstruct): Use declare-function instead of with-no-warnings.
13738
13739 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13740 (byte-compile-output-docform): Re-add the print-circle bindings.
13741 (byte-compile-fix-header): Use #$ just because it's shorter.
13742 (byte-compile-output-file-form): Remove defun/defmacro.
13743
13744 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13745
13746 * simple.el (choose-completion): Remove now obsolete binding for
13747 owindow.
13748
13749 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13750
13751 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13752 in order to avoid "Stack overflow in regexp matcher".
13753
13754 2012-05-31 Glenn Morris <rgm@gnu.org>
13755
13756 * image.el: For clarity, call imagemagick-register-types at
13757 top-level, rather than relying on a custom :initialize.
13758 (imagemagick-types-enable): New option. (Bug#11557)
13759 (imagemagick-filter-types): New function. (Bug#7406)
13760 (imagemagick-register-types): Use imagemagick-filter-types.
13761 If disabling support, remove elements altogether rather
13762 than using an impossible regexp.
13763 (imagemagick-types-inhibit): Give it the default init function.
13764
13765 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13768 Handle arbitrary file name lengths (Bug#11585).
13769
13770 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13771
13772 * desktop.el (desktop-read): Clear previous and next buffers for
13773 all windows and bury *Messages* buffer (bug#11556).
13774
13775 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 Add `declare' for `defun'. Align `defmacro's with it.
13778 * emacs-lisp/easy-mmode.el (define-minor-mode)
13779 (define-globalized-minor-mode): Don't autoload the var definitions.
13780 * emacs-lisp/byte-run.el: Use lexical-binding.
13781 (defun-declarations-alist, macro-declarations-alist): New vars.
13782 (defmacro, defun): Use them.
13783 (make-obsolete, define-obsolete-function-alias)
13784 (make-obsolete-variable, define-obsolete-variable-alias):
13785 Use `declare'.
13786 (macro-declaration-function): Mark obsolete.
13787 * emacs-lisp/autoload.el: Use lexical-binding.
13788 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13789
13790 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13791
13792 * textmodes/ispell.el (ispell-with-no-warnings):
13793 Define as a macro.
13794 (ispell-kill-ispell, ispell-change-dictionary):
13795 Use `called-interactively-p' for Emacs instead of obsolete
13796 `interactive-p'.
13797
13798 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13799
13800 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13801 (macro-declaration-function): Move var from C code.
13802 (macro-declaration-function): Define function with defalias.
13803 * emacs-lisp/macroexp.el (macroexpand-all-1):
13804 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13805 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13806 defun/defmacro any more.
13807 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13808 Provide fallback for unknown arglist.
13809 (byte-compile-arglist-warn): Change calling convention.
13810 (byte-compile-output-file-form): Move print-vars binding.
13811 (byte-compile-output-docform): Simplify accordingly.
13812 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13813 (byte-compile-defmacro-declaration): Remove.
13814 (byte-compile-file-form-defmumble): Generalize to defalias.
13815 (byte-compile-output-as-comment): Return byte-positions.
13816 Simplify callers accordingly.
13817 (byte-compile-lambda): Use `assert'.
13818 (byte-compile-defun, byte-compile-defmacro): Remove.
13819 (byte-compile-file-form-defalias):
13820 Use byte-compile-file-form-defmumble.
13821 (byte-compile-defalias-warn): Remove.
13822
13823 2012-05-29 Stefan Merten <smerten@oekonux.de>
13824
13825 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13826 possible. Fix authors. Improve comments. Improve loading of `cl'.
13827
13828 (rst-mode-abbrev-table): Merge definition.
13829 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13830 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13831
13832 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13833
13834 * calendar/icalendar.el
13835 (icalendar-export-region): Export UID properly.
13836
13837 2012-05-29 Leo Liu <sdl.web@gmail.com>
13838 * calendar/icalendar.el (icalendar-import-format):
13839 Add `icalendar-import-format-uid' (Bug#11525).
13840 (icalendar-import-format-uid): New.
13841 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13842 Export UID.
13843
13844 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13847 different alternative patterns.
13848 (pcase-codegen): Be more careful to preserve identity.
13849 (pcase--u1): Don't forget to mark vars as used.
13850
13851 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13852 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13853 (byte-compile-from-buffer): ...rather than here.
13854
13855 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13856 functions from byte-compile-function-environment.
13857
13858 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13859
13860 * window.el (window-deletable-p): Avoid deleting the root window
13861 of a frame with an active minibuffer.
13862
13863 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13864
13865 * simple.el (choose-completion): Use quit-window (Bug#11567).
13866
13867 2012-05-29 Chong Yidong <cyd@gnu.org>
13868
13869 * whitespace.el (whitespace-cleanup): Fix usage of
13870 whitespace-empty-at-bob-regexp (Bug#11492).
13871
13872 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13873
13874 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13875 revert (Bug#11488).
13876
13877 2012-05-29 Juri Linkov <juri@jurta.org>
13878
13879 * isearch.el (isearch-mode-map): Bind `M-s _' to
13880 `isearch-toggle-symbol'. Bind `M-s c' to
13881 `isearch-toggle-case-fold'.
13882 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13883 (isearch-forward): Add `M-s _' to the docstring.
13884 (isearch-forward-symbol, isearch-toggle-case-fold)
13885 (isearch-symbol-regexp): New functions. (Bug#11381)
13886
13887 2012-05-29 Juri Linkov <juri@jurta.org>
13888
13889 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13890 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13891 a function, call it to get the regexp.
13892 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13893 property `isearch-message-prefix' instead of the string "word ".
13894 (isearch-search-fun-default): For the case of `isearch-word',
13895 return a lambda that calls re-search-forward/re-search-backward
13896 with a regexp returned by `word-search-regexp' or by the function
13897 in `isearch-word'.
13898
13899 2012-05-29 Juri Linkov <juri@jurta.org>
13900
13901 * isearch.el (isearch-search-fun-default): New function.
13902 (isearch-search-fun): Move default part to the new function
13903 `isearch-search-fun-default'.
13904 (isearch-search-fun-function): Set the default value to
13905 `isearch-search-fun-default'. (Bug#11381)
13906
13907 * comint.el (comint-history-isearch-end):
13908 Use `isearch-search-fun-default'.
13909 (comint-history-isearch-search): Use `isearch-search-fun-default'
13910 and remove spacial case for `isearch-word'.
13911 (comint-history-isearch-wrap): Remove spacial case for
13912 `isearch-word'.
13913
13914 * hexl.el (hexl-isearch-search-function):
13915 Use `isearch-search-fun-default'.
13916
13917 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13918 Use `word-search-regexp' for `isearch-word'.
13919
13920 * misearch.el (multi-isearch-search-fun):
13921 Use `isearch-search-fun-default'.
13922
13923 * simple.el (minibuffer-history-isearch-search):
13924 Use `isearch-search-fun-default' and remove spacial case for
13925 `isearch-word'.
13926 (minibuffer-history-isearch-wrap): Remove spacial case for
13927 `isearch-word'.
13928
13929 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13930 Remove spacial case for `isearch-word'.
13931 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13932
13933 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13934
13935 Decrease XEmacs incompatibilities.
13936 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13937 Use `string-match'.
13938 (flyspell-delete-region-overlays): Use alternative definition for
13939 XEmacs.
13940 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13941 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13942 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13943 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13944 `define-obsolete-face-alias' under XEmacs, but old method.
13945
13946 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13947 `with-no-warnings' definition or Emacs alias.
13948 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13949 (ispell-word): Do not use `region-p' if XEmacs.
13950
13951 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13952
13953 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13954 Check for `ispell-dictionary-base-alist' instead of full
13955 `ispell-dictionary-alist'.
13956 (ispell-init-process): Show spellchecker when starting new Ispell
13957 process.
13958
13959 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13962 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13963
13964 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13965
13966 * version.el (motif-version-string, gtk-version-string)
13967 (ns-version-string): Declare.
13968
13969 2012-05-27 Juri Linkov <juri@jurta.org>
13970
13971 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13972 after the `eval-defun-1' specialcaseing
13973 like in `edebug-eval-defun' (bug#10181).
13974
13975 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13976 like in `eval-defun-1'.
13977
13978 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13979
13980 * mail/sendmail.el (mail-yank-region):
13981 Recognize rmail-yank-current-message in addition to insert-buffer.
13982 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13983 a *mail* buffer created through rmail-start-mail with sendmail as
13984 mail-user-agent.
13985
13986 2012-05-27 Chong Yidong <cyd@gnu.org>
13987
13988 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13989 Default to 256 (Bug#11267).
13990
13991 * help.el (describe-mode): Doc fix.
13992
13993 2012-05-26 Glenn Morris <rgm@gnu.org>
13994
13995 * w32-fns.el (w32-init-info): Remove.
13996 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13997
13998 * info.el (info-initialize): For self-contained NS builds, put the
13999 included info/ directory at the front. (Bug#2791)
14000
14001 * paths.el (Info-default-directory-list): Make it a defcustom,
14002 mainly so that we can use custom-initialize-delay.
14003
14004 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * subr.el (buffer-has-markers-at): Mark obsolete.
14007
14008 * subr.el (lambda): Use declare.
14009
14010 * emacs-lisp/lisp-mode.el (lambda):
14011 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14012
14013 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14014
14015 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14016
14017 2012-05-26 Glenn Morris <rgm@gnu.org>
14018
14019 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14020
14021 2012-05-25 Glenn Morris <rgm@gnu.org>
14022
14023 * paths.el: Remove no-byte-compile.
14024 * loadup.el: No need to load paths.el uncompiled.
14025
14026 * image.el (imagemagick-types-inhibit): Doc fix.
14027
14028 * version.el: Remove no-byte-compile and associated formatting.
14029 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14030 is ancient code from when there was an "inc-vers.el".
14031
14032 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14033
14034 * progmodes/gdb-mi.el: Minor style changes.
14035 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14036 Turn into minor modes.
14037 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14038 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14039 (gdb-shell): Remove unneeded let-binding.
14040 (gdb-get-many-fields): Eliminate O(n²) behavior.
14041
14042 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14043
14044 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14045 platforms that don't link in fontset.c.
14046
14047 2012-05-25 Juri Linkov <juri@jurta.org>
14048
14049 Use the same diff color scheme as in modern VCSes (bug#10181).
14050
14051 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14052 to avoid confusion with `diff-added' that now uses green colors.
14053 (diff-removed): Use shades of red.
14054 (diff-added): Use shades of green.
14055 (diff-changed): Leave just the yellow color.
14056 (diff-use-changed-face): New variable.
14057 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14058 how to highlight context diff changes.
14059 (diff-refine-change): Use shades of yellow.
14060 (diff-refine-removed): New face that uses shades of red.
14061 (diff-refine-added): New face that uses shades of green.
14062 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14063 `diff-refine-removed' in the call to `smerge-refine-subst'
14064 depending on the value of `diff-use-changed-face'.
14065
14066 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14067 (smerge-other): Use shades of green.
14068 (smerge-base): Use shades of yellow.
14069 (smerge-refined-change): Empty face.
14070 (smerge-refined-removed): New face that uses shades of red.
14071 (smerge-refined-added): New face that uses shades of green.
14072 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14073 args `props-r' and `props-a', and use them. Doc fix.
14074 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14075 on its value use different faces `smerge-refined-change',
14076 `smerge-refined-removed', `smerge-refined-added' in the call to
14077 `smerge-refine-subst'.
14078
14079 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14080 Add face condition `min-colors 88' with shades of red.
14081 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14082 `min-colors 88' with shades of green.
14083 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14084 `min-colors 88' with shades of yellow.
14085
14086 2012-05-24 Glenn Morris <rgm@gnu.org>
14087
14088 * paths.el (prune-directory-list, remote-shell-program): Move to...
14089 * files.el (prune-directory-list, remote-shell-program): ...here.
14090 For the latter, delay initialization, prefer ssh, just search PATH.
14091
14092 * paths.el (term-file-prefix): Move to faces.el (the only user).
14093 * faces.el (term-file-prefix): Move here, make it a defcustom.
14094
14095 * paths.el (news-directory, news-path, news-inews-program):
14096 Move to gnus/nnspool.el.
14097
14098 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14099
14100 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14101 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14102 Make the latter a defcustom, with a delayed initialization.
14103
14104 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14105 These were deleted from Gnus itself late 2010.
14106
14107 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14108
14109 * progmodes/which-func.el (which-func-ff-hook):
14110 Check against user-error, not error.
14111
14112 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14113 cl-specs.el, which no longer exists.
14114
14115 2012-05-22 Glenn Morris <rgm@gnu.org>
14116
14117 * info.el (info-emacs-bug): New command.
14118 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14119 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14120
14121 2012-05-21 Glenn Morris <rgm@gnu.org>
14122
14123 * makefile.w32-in (update-subdirs-SH):
14124 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14125
14126 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14129
14130 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14131 Simplify Maven regexp, and make sure the file can't start with a space
14132 (bug#11517).
14133
14134 2012-05-21 Glenn Morris <rgm@gnu.org>
14135
14136 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14137 Scrap superfluous subshells.
14138
14139 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14140
14141 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14142 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14143
14144 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14145
14146 * calc/calc.el (calc-ensure-consistent-units): New variable.
14147
14148 * calc/calc-units.el (math-consistent-units-p)
14149 (math-check-unit-consistency): New functions.
14150 (calc-quick-units, calc-convert-units):
14151 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14152 is non-nil.
14153 (calc-extract-units): Fix typo.
14154
14155 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14158
14159 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14160 (flyspell-default-deplacement-commands): Don't spell check after
14161 repeated window/frame switches (e.g. triggered by mouse-movement).
14162 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14163 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14164 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14165 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14166 Remove unused vars.
14167 (flyspell-get-casechars, flyspell-get-not-casechars):
14168 Simplify; Don't bother removing a ] just to add it back.
14169 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14170
14171 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14172
14173 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14174 New functions.
14175 (math-function-table): Add support for more C functions.
14176
14177 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14178
14179 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14180 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14181 Protect delay handling for otherchars against empty otherchars.
14182
14183 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14184
14185 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14186 their respective macro declarations.
14187 * skeleton.el (define-skeleton):
14188 * progmodes/compile.el (define-compilation-mode):
14189 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14190 (define-ibuffer-filter):
14191 * emacs-lisp/generic.el (define-generic-mode):
14192 * emacs-lisp/easy-mmode.el (define-minor-mode)
14193 (define-globalized-minor-mode):
14194 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14195 * emacs-lisp/byte-run.el (defsubst):
14196 * custom.el (deftheme): Add doc-string metadata.
14197
14198 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14199
14200 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14201
14202 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14205
14206 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14207 * emacs-lisp/cl-macs.el: Idem.
14208 * emacs-lisp/cl-specs.el: Remove.
14209
14210 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 Minor renaming of internal CL functions and variables.
14213 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14214 (cl--position): Rename from cl-position.
14215 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14216 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14217 (cl--random-state): Rename from *random-state*.
14218
14219 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14220
14221 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14222 parens around the arg list (bug#11499).
14223
14224 2012-05-17 Juri Linkov <juri@jurta.org>
14225
14226 * isearch.el (word-search-regexp, word-search-backward)
14227 (word-search-forward, word-search-backward-lax)
14228 (word-search-forward-lax): Move functions from search.c
14229 (bug#10145, bug#11381).
14230
14231 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14232
14233 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14234 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14235 Delay for otherchars as for normal word components.
14236
14237 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14238
14239 * minibuffer.el (completion--sifn-requote): Fix last change.
14240 (minibuffer-local-must-match-filename-map):
14241 Move define-obsolete-variable-alias before its var.
14242
14243 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14244
14245 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14246
14247 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14248 behavior.
14249 (completion--string-equal-p): New function.
14250 (completion--twq-all): Use it to get better assertion failure data.
14251
14252 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14253 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14254 (shell--requote-argument): New functions.
14255 (shell-completion-vars): Use them.
14256 (shell--parse-pcomplete-arguments): Rename from
14257 shell-parse-pcomplete-arguments.
14258 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14259 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14260 Obey comint-file-name-quote-list.
14261
14262 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14263 (smie-indent-keyword): Use it.
14264
14265 2012-05-14 Stefan Merten <smerten@oekonux.de>
14266
14267 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14268
14269 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14270
14271 * net/rlogin.el (rlogin-mode-map): Fix last change.
14272
14273 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14274
14275 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14276 the following \r\n using a single `process-send-string', since the
14277 Lotus SMTP server refuses to accept any commands if they are sent
14278 with two `process-send-string's (Bug#11444).
14279
14280 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 * shell.el (shell-parse-pcomplete-arguments):
14283 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14284
14285 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14286
14287 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14288 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14289 (image-transform-width, image-transform-fit-width): New functions.
14290 (image-transform-properties): Use them.
14291 (image-transform-check-size): New function.
14292 (image-toggle-display-image): Use it (for testing).
14293 (image-transform-set-rotation): Reduce angle mod 360.
14294 Delete obsolete comment.
14295
14296 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14297
14298 * image-mode.el: Fix scaling (bug#11399).
14299 (image-transform-resize): Doc fix.
14300 (image-transform-properties): Default scale is 1 and height should
14301 be an integer.
14302
14303 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14304
14305 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14306 than hard-coding `car', to fix misbehavior when moving forward.
14307
14308 2012-05-13 Chong Yidong <cyd@gnu.org>
14309
14310 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14311 (tabulated-list-entries, tabulated-list-padding)
14312 (tabulated-list-sort-key): Make permanent-local.
14313
14314 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14315 (electric-buffer-list): Put electric buffer menu
14316 command descriptions in this docstring, instead of the docstring
14317 of electric-buffer-menu-mode. Code cleanups.
14318 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14319 Electric-buffer-menu-mode.
14320 (electric-buffer-update-highlight): Minor code cleanup.
14321
14322 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14323
14324 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14325 (Bug#11447)
14326
14327 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 Move define-obsolete-variable-alias before the var's definition.
14330 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14331 * tooltip.el (tooltip-hook):
14332 * textmodes/reftex-toc.el (reftex-toc-map):
14333 * textmodes/reftex-sel.el (reftex-select-label-map)
14334 (reftex-select-bib-map):
14335 * textmodes/reftex-index.el (reftex-index-map)
14336 (reftex-index-phrases-map):
14337 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14338 * progmodes/meta-mode.el (meta-mode-map):
14339 * novice.el (disabled-command-hook):
14340 * loadhist.el (unload-hook-features-list):
14341 * frame.el (blink-cursor):
14342 * files.el (find-file-not-found-hooks, write-file-hooks)
14343 (write-contents-hooks):
14344 * emulation/tpu-edt.el (GOLD-map):
14345 * emacs-lock.el (emacs-lock-from-exiting):
14346 * emacs-lisp/generic.el (generic-font-lock-defaults):
14347 * emacs-lisp/chart.el (chart-map):
14348 * dos-fns.el (register-name-alist):
14349 * dired-x.el (dired-omit-files-p):
14350 * desktop.el (desktop-enable):
14351 * cus-edit.el (custom-mode-hook):
14352 * buff-menu.el (buffer-menu-mode-hook):
14353 * bookmark.el (bookmark-read-annotation-text-func)
14354 (bookmark-exit-hooks):
14355 * allout.el (allout-mode-deactivate-hook)
14356 (allout-exposure-change-hook, allout-structure-added-hook)
14357 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14358 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14359 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14360 comes before the corresponding variable's definition.
14361
14362 2012-05-12 Chong Yidong <cyd@gnu.org>
14363
14364 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14365 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14366 (Buffer-menu-mode-map): Bind it.
14367 (Buffer-menu--pretty-name): Add a mouse-face property.
14368
14369 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14370
14371 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14372 (prolog-upper-case-string, prolog-lower-case-string)
14373 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14374 (prolog-use-smie, prolog-smie-grammar): New vars.
14375 (prolog-smie-forward-token, prolog-smie-backward-token)
14376 (prolog-smie-rules): New funs.
14377 (prolog-comment-indent): Remove.
14378 (prolog-mode-variables): Use default comment indentation instead.
14379 Setup SMIE.
14380 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14381 (prolog-mode): Don't call them any more.
14382 (prolog-electric-colon, prolog-electric-dash)
14383 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14384
14385 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14386
14387 * minibuffer.el (completion--twq-all): Again, allow case differences.
14388
14389 * term.el: Move keymap initialization code to be more idiomatic.
14390 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14391 (term-terminal-menu): Move initialization into declaration.
14392 (term-escape-char): Let the user set it in her .emacs.
14393
14394 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14395 Provide SMIE-based indentation (not enabled by default yet).
14396 (sh-mode-map): Don't bind electric keys.
14397 Use electric-pair-mode instead of skeleton-pair.
14398 (sh-assignment-regexp): Fit within 80 columns.
14399 (sh-indent-supported): Specify actual shell name instead of boolean.
14400 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14401 (sh-maybe-here-document): Use it. Make obsolete.
14402 (sh-electric-here-document-mode) New minor mode.
14403 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14404 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14405 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14406 (sh-smie-rc-grammar, sh-use-smie): New vars.
14407 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14408 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14409 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14410 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14411 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14412 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14413 (sh-set-shell): Use smie-setup if requested.
14414
14415 * term.el (term-set-escape-char): Properly set term-escape-char.
14416 See http://stackoverflow.com/questions/10524656.
14417
14418 2012-05-10 Chong Yidong <cyd@gnu.org>
14419
14420 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14421 Use url-generic-parse-url, and handle host names and Windows
14422 filenames properly.
14423 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14424 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14425 URL schemes to work on.
14426 (ffap--toggle-read-only): New function.
14427 (ffap-read-only, ffap-read-only-other-window)
14428 (ffap-read-only-other-frame): Use it.
14429 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14430 necessary for ffap-url-unwrap-remote.
14431
14432 2012-05-10 Dave Abrahams <dave@boostpro.com>
14433
14434 * cus-start.el (create-lockfiles): Add it.
14435
14436 2012-05-09 Chong Yidong <cyd@gnu.org>
14437
14438 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14439 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14440
14441 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14442
14443 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14444
14445 2012-05-09 Chong Yidong <cyd@gnu.org>
14446
14447 * ansi-color.el (ansi-color-process-output): Check for validity of
14448 comint-last-output-start before using it. This avoids a bad
14449 interaction with gdb-mi's input/output buffer.
14450
14451 2012-05-09 Glenn Morris <rgm@gnu.org>
14452
14453 * files.el (dir-locals-read-from-file):
14454 Mention dir-locals in any error message.
14455
14456 2012-05-09 Chong Yidong <cyd@gnu.org>
14457
14458 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14459 package (Bug#11410).
14460
14461 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14462 variables into description.
14463
14464 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14465
14466 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14467 shell-delimiter-argument-list (bug#11348).
14468 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14469
14470 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14471
14472 * textmodes/rst.el: Silence byte-compiler warnings.
14473 (rst-re-alist, rst-reset-section-caches): Move around.
14474 (rst-re): Use `characterp', not `char-valid-p'.
14475 (font-lock-beg, font-lock-end): Declare.
14476
14477 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14478 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14479
14480 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14481
14482 2012-05-08 Glenn Morris <rgm@gnu.org>
14483
14484 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14485
14486 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14487
14488 * vc/log-edit.el: Add GNU coding standards highlighting.
14489 (log-edit-font-lock-gnu-style)
14490 (log-edit-font-lock-gnu-keywords): New vars.
14491 (log-edit-font-lock-keywords): New fun.
14492 (log-edit-mode): Don't fold case in font-lock.
14493 (log-edit-font-lock-keywords): Do not assume case-folding.
14494
14495 * imenu.el: Misc cleanup. Make docstrings out of comments.
14496 Use lexical-binding.
14497 (imenu--index-alist, imenu--last-menubar-index-alist)
14498 (imenu-menubar-modified-tick): Use defvar-local.
14499 (imenu--split-menu): Remove unused var.
14500 (imenu--cleanup-seen): Declare as global.
14501 (imenu--cleanup): Use dolist.
14502
14503 * subr.el (defvar-local): Add debug spec and doc-string position.
14504
14505 2012-05-08 Glenn Morris <rgm@gnu.org>
14506
14507 * language/burmese.el, language/cham.el, language/czech.el:
14508 * language/english.el, language/georgian.el, language/greek.el:
14509 * language/japanese.el, language/khmer.el, language/korean.el:
14510 * language/lao.el, language/misc-lang.el, language/romanian.el:
14511 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14512 * language/thai.el, language/utf-8-lang.el:
14513 Remove no-byte-compile setting.
14514
14515 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14516
14517 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14518
14519 * progmodes/make-mode.el (makefile-browse):
14520 Remove unnecessary interactive. (Bug#11324)
14521
14522 2012-05-07 Glenn Morris <rgm@gnu.org>
14523
14524 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14525
14526 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14527
14528 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * loadup.el: Preload newcomment.el.
14531 * newcomment.el: Move autoload-only code to toplevel.
14532
14533 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14534 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14535 Handle new :right-align column property.
14536 (tabulated-list-print-col): Idem, plus use `display' text-property to
14537 try and preserve alignment for variable pitch fonts.
14538
14539 2012-05-07 Chong Yidong <cyd@gnu.org>
14540
14541 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14542 (tabulated-list-use-header-line): New var.
14543 (tabulated-list-init-header): Use it.
14544 (tabulated-list-print-fake-header): New function.
14545 (tabulated-list-print): Use it.
14546 (tabulated-list-sort-button-map): Add non-header-line commands.
14547 (tabulated-list-init-header): Add column name property to basic
14548 labels as well.
14549 (tabulated-list-col-sort): Handle non-header-line button case.
14550 (tabulated-list--sort-by-column-name): Fix a corner case.
14551
14552 * buff-menu.el (list-buffers--refresh):
14553 Handle Buffer-menu-use-header-line.
14554
14555 2012-05-06 Chong Yidong <cyd@gnu.org>
14556
14557 * buff-menu.el: Convert to Tabulated List mode.
14558 (Buffer-menu-buffer+size-width): Make obsolete.
14559 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14560 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14561 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14562 documentation into docstring of buffer-menu.
14563 (Buffer-menu-toggle-files-only): Add an informative message.
14564 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14565 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14566 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14567 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14568 (Buffer-menu-execute, Buffer-menu-select)
14569 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14570 (Buffer-menu-bury): Use Tabulated List machinery.
14571 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14572 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14573 Delete.
14574 (list-buffers--refresh): New function.
14575 (list-buffers-noselect): Use it.
14576 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14577 (Buffer-menu--pretty-file-name): New helper functions.
14578
14579 * loadup.el: Preload tabulated-list.
14580
14581 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14582 tabulated-list-sort-column.
14583 (tabulated-list-init-header): Add the initial aligning space even
14584 if tabulated-list-padding is zero.
14585
14586 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14587
14588 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14589 whose cdr is not a cons cell correctly (bug#11038).
14590
14591 2012-05-06 Chong Yidong <cyd@gnu.org>
14592
14593 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14594 Accept additional plist in column descriptors.
14595 (tabulated-list-init-header): Obey it.
14596 (tabulated-list-get-entry): New function.
14597 (tabulated-list-put-tag): Use it. Use string-width instead of
14598 length.
14599 (tabulated-list--column-number): New function.
14600 (tabulated-list-print): Use it.
14601 (tabulated-list-print-col): New function.
14602 Set `tabulated-list-column-name' property on each column's text.
14603 (tabulated-list-print-entry): Use it.
14604 (tabulated-list-delete-entry, tabulated-list-set-col):
14605 New functions.
14606 (tabulated-list-sort-column): New command (Bug#11337).
14607
14608 * buff-menu.el (list-buffers): Move C-x C-b binding from
14609 buff-menu.el to bindings.el.
14610
14611 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14612 :advertised-binding feature.
14613
14614 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14615
14616 * progmodes/compile.el (compilation-internal-error-properties):
14617 Calculate start position correctly when end-col is set but
14618 end-line is not (Bug#11382).
14619
14620 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14621
14622 * man.el (Man-unindent): Use text-property-default-nonsticky to
14623 prevent untabify from inheriting face properties (Bug#11408).
14624
14625 2012-05-05 Stefan Merten <smerten@oekonux.de>
14626
14627 * textmodes/rst.el: Major merge with upstream development up to
14628 Docutils SVN r7399 / rst.el V1.2.1.
14629
14630 Clarify maintainership and authors.
14631
14632 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14633 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14634 (rst-official-version, rst-official-cvs-rev, rst-version)
14635 (rst-package-emacs-version-alist): New functions and variables
14636 for version information.
14637
14638 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14639 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14640 (rst-mode-syntax-table, rst-mode): New and corrected functions
14641 and variables representing reStructuredText features.
14642
14643 (rst-re): New function for reStructuredText regexes. Use in
14644 many places.
14645
14646 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14647 (rst-mode-map): Rebind keys.
14648
14649 (rst-mode-lazy, rst-font-lock-keywords)
14650 (rst-font-lock-extend-region)
14651 (rst-font-lock-extend-region-internal)
14652 (rst-font-lock-extend-region-extend)
14653 (rst-font-lock-find-unindented-line-limit)
14654 (rst-font-lock-find-unindented-line-match)
14655 (rst-adornment-level, rst-font-lock-adornment-level)
14656 (rst-font-lock-adornment-match)
14657 (rst-font-lock-handle-adornment-pre-match-form)
14658 (rst-font-lock-handle-adornment-matcher): Major revision of
14659 font-locking. Integrate with other code. Use `jit-lock-mode'.
14660
14661 (rst-preferred-adornments, rst-adjust-hook)
14662 (rst-new-adornment-down, rst-preferred-bullets)
14663 (rst-preferred-bullets, rst-indent, rst-indent-width)
14664 (rst-indent-field, rst-indent-literal-normal)
14665 (rst-indent-literal-minimized, rst-indent-comment): Change,
14666 extend and improve customization.
14667
14668 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14669 (rst-normalize-cursor-position, rst-get-decoration)
14670 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14671 (rst-rstrip, rst-toc-insert-find-delete-contents)
14672 (rst-shift-fill-region, rst-compute-bullet-tabs)
14673 (rst-debug-print-tabs, rst-debug-mark-found)
14674 (rst-shift-region-guts, rst-shift-region-right)
14675 (rst-shift-region-left, rst-use-char-classes)
14676 (rst-font-lock-keywords-function)
14677 (rst-font-lock-indentation-point)
14678 (rst-font-lock-find-unindented-line-begin)
14679 (rst-font-lock-find-unindented-line-end)
14680 (rst-font-lock-find-unindented-line)
14681 (rst-font-lock-adornment-point, rst-font-lock-level)
14682 (rst-adornment-level-alist): Remove functions and variables.
14683
14684 (rst-compare-adornments, rst-get-adornment-match)
14685 (rst-suggest-new-adornment, rst-get-adornments-around)
14686 (rst-adornment-complete-p, rst-get-next-adornment)
14687 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14688 (rst-straighten-adornments): Standardize function names to
14689 use "adornment" instead of "decoration". Correct callers.
14690 Similar standardizing in many places.
14691
14692 (rst-update-section, rst-adjust, rst-promote-region)
14693 (rst-enumerate-region, rst-bullet-list-region)
14694 (rst-repeat-last-character): Correct use of `interactive'.
14695
14696 (rst-classify-adornment, rst-find-all-adornments)
14697 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14698 (rst-find-leftmost-column, rst-repeat-last-character):
14699 Refactor functions.
14700
14701 (rst-find-title-line, rst-reset-section-caches)
14702 (rst-get-adornments-around, rst-adjust-adornment-work)
14703 (rst-arabic-to-roman, rst-roman-to-arabic)
14704 (rst-insert-list-pos, rst-insert-list-new-item)
14705 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14706 New functions.
14707
14708 (rst-all-sections, rst-section-hierarchy)
14709 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14710 New variables.
14711
14712 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14713 configuration instead of only buffer. Change where necessary.
14714
14715 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14716 (rst-shift-region, rst-adaptive-fill): New functions for
14717 indentation and filling.
14718
14719 (rst-comment-line-break, rst-comment-indent)
14720 (rst-comment-insert-comment, rst-comment-region)
14721 (rst-uncomment-region): New functions for handling comments.
14722
14723 (rst-compile): Quote shell arguments.
14724
14725 (rst-compile-pdf-preview, rst-compile-slides-preview):
14726 Delete temporary files after use.
14727
14728 2012-05-05 Glenn Morris <rgm@gnu.org>
14729
14730 * calendar/cal-html.el: Optionally include holidays in the output.
14731 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14732 (cal-html-holidays): New option.
14733 (cal-html-css-default): Add holiday entry.
14734 (holiday-in-range): Autoload it.
14735 (cal-html-htmlify-entry): Add optional class argument.
14736 (cal-html-htmlify-list): Add optional holidays argument.
14737 (cal-html-insert-agenda-days): Include holidays in the output.
14738 (cal-html-one-month): Maybe include holidays.
14739
14740 * calendar/holidays.el (holiday-in-range):
14741 Move here from cal-tex-list-holidays.
14742 * calendar/cal-tex.el (cal-tex-list-holidays):
14743 Make it an obsolete alias for holiday-in-range. Update all callers.
14744
14745 2012-05-05 Chong Yidong <cyd@gnu.org>
14746
14747 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14748 Nextstep.
14749
14750 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14751
14752 * files.el (file-auto-mode-skip): New var.
14753 (set-auto-mode-1): Use it.
14754
14755 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * repeat.el: Use lexical-binding.
14758 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14759 (repeat-undo-count): Remove.
14760 (repeat):
14761 * progmodes/octave-mod.el (octave-abbrev-start):
14762 * progmodes/f90.el (f90-abbrev-start):
14763 * face-remap.el (text-scale-adjust):
14764 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14765
14766 * emacs-lisp/pcase.el (pcase--let*): New function.
14767 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14768 a bit more.
14769 (pcase--split-pred): Be more clever about ruling out overlap between
14770 a predicate and some constant pattern.
14771 (pcase--q1): Use `null' instead of (eq foo nil).
14772
14773 * subr.el (setq-local, defvar-local): New macros.
14774 (kbd): Redefine as an alias.
14775 (with-selected-window): Leave unrelated frames alone.
14776 (set-temporary-overlay-map): New function.
14777
14778 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14779
14780 * subr.el (user-error): New function.
14781 * window.el (switch-to-buffer):
14782 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14783 (smerge-match-conflict):
14784 * simple.el (previous-matching-history-element)
14785 (next-matching-history-element, goto-history-element, undo-more)
14786 (undo-start):
14787 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14788 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14789 (next-file, tags-loop-scan, list-tags, complete-tag):
14790 * progmodes/compile.el (compilation-loop):
14791 * mouse.el (mouse-minibuffer-check):
14792 * man.el (Man-bgproc-sentinel, Man-goto-page):
14793 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14794 (Info-history-forward, Info-follow-reference, Info-menu)
14795 (Info-extract-menu-item, Info-extract-menu-counting)
14796 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14797 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14798 (Info-next-reference, Info-prev-reference, Info-index)
14799 (Info-index-next, Info-follow-nearest-node)
14800 (Info-copy-current-node-name):
14801 * imenu.el (imenu--make-index-alist)
14802 (imenu-default-create-index-function, imenu-add-to-menubar):
14803 * files.el (basic-save-buffer, recover-file):
14804 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14805 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14806 (checkdoc-message-text, checkdoc-defun):
14807 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14808 * cus-edit.el (customize-changed-options, customize-rogue)
14809 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14810 (custom-variable-mark-to-reset-standard)
14811 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14812 (custom-file):
14813 * completion.el (check-completion-length):
14814 * comint.el (comint-search-arg)
14815 (comint-previous-matching-input-string-position)
14816 (comint-previous-matching-input)
14817 (comint-replace-by-expanded-history-before-point, comint-send-input)
14818 (comint-copy-old-input, comint-backward-matching-input)
14819 (comint-goto-process-mark, comint-set-process-mark):
14820 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14821 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14822
14823 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14824
14825 * dabbrev.el (dabbrev--ignore-case-p): New function.
14826 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14827 Use it.
14828
14829 * files.el (automount-dir-prefix): Mark as obsolete.
14830
14831 2012-05-04 Glenn Morris <rgm@gnu.org>
14832
14833 * patcomp.el, play/bruce.el: Move to obsolete/.
14834
14835 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14836
14837 Fix minor Y10k bugs.
14838 * arc-mode.el (archive-unixdate):
14839 * autoinsert.el (auto-insert-alist):
14840 * calc/calc-forms.el (math-this-year):
14841 * emacs-lisp/copyright.el (copyright-current-year)
14842 (copyright-update-year, copyright):
14843 * tar-mode.el (tar-clip-time-string):
14844 * time.el (display-time-update):
14845 Don't assume years have 4 digits.
14846
14847 2012-05-04 Chong Yidong <cyd@gnu.org>
14848
14849 * dos-w32.el (file-name-buffer-file-type-alist)
14850 (direct-print-region-use-command-dot-com):
14851 * ffap.el (ffap-menu-regexp):
14852 * find-file.el (ff-special-constructs):
14853 * follow.el (follow-debug):
14854 * forms.el (forms--debug):
14855 * iswitchb.el (iswitchb-all-frames):
14856 * ido.el (ido-all-frames):
14857 * emacs-lisp/timer.el (timer-max-repeats):
14858 * mail/feedmail.el (feedmail-mail-send-hook)
14859 (feedmail-mail-send-hook-queued):
14860 * mail/footnote.el (footnote-signature-separator):
14861 * mail/mailabbrev.el (mail-alias-separator-string)
14862 (mail-abbrev-mode-regexp):
14863 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14864 * progmodes/idlwave.el (idlwave-libinfo-file)
14865 (idlwave-default-completion-case-is-down)
14866 (idlwave-library-routines): Convert defvars to defcustoms.
14867
14868 * mail/rmail.el (rmail-decode-mime-charset):
14869 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14870 (idlwave-shell-fix-inserted-breaks)
14871 (idlwave-shell-activate-alt-keybindings)
14872 (idlwave-shell-use-breakpoint-glyph):
14873 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14874
14875 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14876
14877 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14878
14879 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14880
14881 * progmodes/verilog-mode.el (font-lock-keywords):
14882 Fix mis-highligting auto. Reported by Craig Barner.
14883 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14884 defines from global name space. Reported by Dan Dever.
14885 (verilog-auto-reset, verilog-auto-reset-widths)
14886 (verilog-auto-tieoff): Support using unbased numbers for
14887 AUTORESET and AUTOTIEOFF.
14888 (verilog-submit-bug-report): Update variable list.
14889 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14890 parenthesis from not matching. Reported by Michael Rytting.
14891 (verilog-auto-template-lint): Fix hash error when linting modules
14892 with no used templates.
14893 (verilog-warn, verilog-warn-error)
14894 (verilog-warn-fatal): When non-interactive report multiple
14895 warnings before exiting. Suggested by Brad Dobbie.
14896 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14897 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14898 to report unused template errors. Reported by Brad Dobbie.
14899 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14900 nets, bug438. Reported by Vns Blore.
14901 (verilog-auto-inout-module, verilog-auto-reg)
14902 (verilog-read-decls, verilog-read-sub-decls-sig)
14903 (verilog-signals-edit-wire-reg, verilog-signals-with):
14904 Fix passing of Verilog data types in ANSI input/output ports
14905 such as "output logic" into the AUTOs. Special case "wire" and
14906 "reg" for backwards compatibility presuming Verilog 2001.
14907 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14908 (verilog-preprocess): Fix replication of preprocess output.
14909 Reported by Brad Dobbie.
14910 (verilog-auto-inst-interfaced-ports):
14911 Create verilog-auto-inst-interfaced-ports, bug429.
14912 Reported by Julian Gorfajn.
14913 (verilog-after-save-font-hook)
14914 (verilog-before-save-font-hook): New variable.
14915 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14916 (verilog-save-font-mods): Wrap disabling fontification, reported
14917 by David Rogoff.
14918 (verilog-do-indent, verilog-pretty-declarations-auto)
14919 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14920 Reported by Pierre-David Pfister.
14921 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14922 of class declarations, bug292. Reported by Kevin Heilman.
14923 (verilog-read-decls): Fix 'parameter type' not appearing in
14924 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14925 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14926 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14927 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14928 Reported by David Kravitz.
14929
14930 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14931
14932 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14933 assignment with tests in ifs and for loops.
14934 (verilog-extended-complete-re, verilog-complete-reg): Change so
14935 that DPI inport functions don't look like fuction declarations.
14936 (verilog-pretty-expr): Don't line up assignment
14937 operations to the test and increment in if and for loops
14938 (verilog-extended-complete-re, verilog-complete-reg): Change so
14939 that DPI inport functions don't look like fuction declarations.
14940
14941 2012-05-03 Kenichi Handa <handa@m17n.org>
14942
14943 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14944 decoding, and show a warning message without signaling an error
14945 (Bug#11282).
14946
14947 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 * emacs-lisp/bytecomp.el
14950 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14951 since cconv.el might have introduced :fun-body, internal-make-closure,
14952 and friends for bytecomp to handle (bug#11391).
14953 * custom.el (defcustom): Avoid ((λ ..) ..).
14954
14955 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14956
14957 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14958
14959 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14960
14961 * notifications.el (dbus-debug):
14962 * term/linux.el (gpm-mouse-enable):
14963 * term/screen.el (xterm-register-default-colors): Declare.
14964
14965 2012-05-02 Chong Yidong <cyd@gnu.org>
14966
14967 * cus-start.el (gc-cons-percentage, exec-suffixes)
14968 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14969 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14970 (make-cursor-line-fully-visible, void-text-area-pointer)
14971 (font-list-limit): Add customization data.
14972
14973 * allout.el (allout-exposure-change-functions)
14974 (allout-structure-added-functions)
14975 (allout-structure-deleted-functions)
14976 (allout-structure-shifted-functions): Rename abnormal hooks from
14977 *-hook, and convert to defcustoms.
14978 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14979 Convert to defcustoms.
14980 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14981
14982 * allout-widgets.el: Hook callers changed.
14983
14984 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14985
14986 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14987 the yanked message in preference to the default value of
14988 buffer-file-coding-system.
14989
14990 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14991
14992 * window.el (display-buffer--action-function-custom-type):
14993 Fix entry.
14994
14995 2012-05-02 Alan Mackenzie <acm@muc.de>
14996
14997 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14998
14999 2012-05-01 Glenn Morris <rgm@gnu.org>
15000
15001 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15002
15003 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15004
15005 * cus-edit.el (custom-variable-documentation): Simplify with format.
15006
15007 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15008 Stefan Monnier <monnier@iro.umontreal.ca>
15009
15010 * simple.el (suggest-key-bindings, execute-extended-command):
15011 Move from keyboard.c.
15012
15013 2012-05-01 Chong Yidong <cyd@gnu.org>
15014
15015 * follow.el: Eliminate advice.
15016 (set-process-filter, process-filter, sit-for): Advice deleted.
15017 (follow-mode-off-hook): Obsolete hook removed.
15018 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15019 Vars deleted.
15020 (follow-auto): Use a :set function.
15021 (follow-mode): Rewritten. Don't advise process filters.
15022 (follow-switch-to-current-buffer-all, follow-scroll-up)
15023 (follow-scroll-down): Assume follow-mode is bound.
15024 (follow-comint-scroll-to-bottom)
15025 (follow-align-compilation-windows): New functions.
15026 (follow--window-sorter): New function.
15027 (follow-all-followers): Use it to explicitly sort windows by their
15028 positions; don't make assumptions about next-window order.
15029 (follow-windows-start-end, follow-delete-other-windows-and-split)
15030 (follow-calc-win-start): Doc fix.
15031 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15032 vertical-motion unnecessarily.
15033 (follow-adjust-window): New function.
15034 (follow-post-command-hook): Use it.
15035 (follow-call-set-process-filter, follow-call-process-filter)
15036 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15037 (follow-stop-intercept-process-output, follow-generic-filter):
15038 Functions deleted.
15039 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15040 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15041 New functions, replacing advice on scroll-bar-* commands.
15042 (follow-mwheel-scroll): New function (Bug#4112).
15043
15044 * comint.el (comint-adjust-point): New function.
15045 (comint-postoutput-scroll-to-bottom): Use it.
15046 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15047
15048 2012-05-01 Glenn Morris <rgm@gnu.org>
15049
15050 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15051 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15052 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15053 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15054 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15055 Remove no-byte-compile setting.
15056
15057 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15058
15059 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15060 all-completions code to not return a number in the last cdr.
15061
15062 2012-04-30 Leo Liu <sdl.web@gmail.com>
15063
15064 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15065 read-only error.
15066
15067 2012-04-29 Chong Yidong <cyd@gnu.org>
15068
15069 * follow.el (follow-calc-win-end): Rewrite to handle partial
15070 screen lines correctly (Bug#8390).
15071 (follow-avoid-tail-recenter): Minor cleanup.
15072
15073 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 Avoid the obsolete `assoc' package.
15076 * speedbar.el (speedbar-refresh): Avoid adelete.
15077 (speedbar-file-lists): Simplify and avoid aput.
15078 * man.el (Man--sections, Man--refpages): New vars, replacing
15079 Man-sections-alist and Man-refpages-alist.
15080 (Man-build-section-alist, Man-build-references-alist):
15081 Use them; avoid aput.
15082 (Man--last-section, Man--last-refpage): New vars.
15083 (Man-follow-manual-reference): Use them.
15084 Use the `default' arg of completing-read.
15085 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15086
15087 2012-04-27 Chong Yidong <cyd@gnu.org>
15088
15089 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15090
15091 * startup.el (x-apply-session-resources): New function.
15092
15093 * term/ns-win.el (ns-initialize-window-system):
15094 * term/w32-win.el (w32-initialize-window-system):
15095 * term/x-win.el (x-initialize-window-system): Use it to properly
15096 set menu-bar-mode and other vars from X resources, even if the
15097 initial frame is not a window-system frame (Bug#2299).
15098
15099 * subr.el (read-key): Avoid running filter function when setting
15100 up temporary tool bar entries (Bug#9922).
15101
15102 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15103
15104 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15105 (Bug#11344)
15106
15107 2012-04-27 Chong Yidong <cyd@gnu.org>
15108
15109 * select.el (xselect--encode-string): New function, split from
15110 xselect-convert-to-string.
15111 (xselect-convert-to-string): Use it.
15112 (xselect-convert-to-filename, xselect-convert-to-os)
15113 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15114 returned strings are properly encoded (Bug#11315).
15115
15116 2012-04-27 Chong Yidong <cyd@gnu.org>
15117
15118 * simple.el (delete-active-region): Move to killing custom group.
15119
15120 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15121
15122 * progmodes/which-func.el (which-func-current): Quote %
15123 characters for mode-line processing.
15124
15125 2012-04-27 Chong Yidong <cyd@gnu.org>
15126
15127 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15128 reaching eob (Bug#11286).
15129
15130 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15131
15132 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15133 (gdb): Make it buffer-local and init to zero.
15134 (gdb-control-commands-regexp): New variable.
15135 (gdb-send): Don't wrap in "-interpreter-exec console" if
15136 gdb-control-level is positive. Increment gdb-control-level
15137 whenever the command matches gdb-control-commands-regexp, and
15138 decrement it each time the command is "end". (Bug#11279)
15139
15140 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15141
15142 * window.el (adjust-window-trailing-edge, enlarge-window)
15143 (shrink-window, window-resize):
15144 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15145 windows (Bug#11276).
15146
15147 2012-04-27 Chong Yidong <cyd@gnu.org>
15148
15149 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15150 fix "missing prefix" warning. All callers changed.
15151
15152 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15153
15154 * emacs-lisp/assoc.el: Move to obsolete/.
15155
15156 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15157
15158 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15159
15160 * term/ns-win.el (ns-define-service):
15161 * progmodes/pascal.el (pascal-goto-defun):
15162 * progmodes/js.el (js--read-tab):
15163 * progmodes/etags.el (tags-lazy-completion-table):
15164 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15165 * emacs-lisp/ewoc.el (ewoc--wrap):
15166 * emacs-lisp/assoc.el (aput, adelete, amake):
15167 * doc-view.el (doc-view-convert-current-doc):
15168 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15169
15170 2012-04-26 Chong Yidong <cyd@gnu.org>
15171
15172 * image.el (image-type-from-buffer): Only return supported image
15173 type (Bug#9045).
15174
15175 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15176 value, for symmetry with diff-end-of-hunk.
15177 (diff-split-hunk, diff-find-source-location)
15178 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15179 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15180 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15181 compute the relevant hunk or file properly (Bug#6005).
15182 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15183
15184 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15185
15186 * vc/vc-mtn.el:
15187 * vc/vc-hg.el:
15188 * vc/vc-git.el:
15189 * vc/vc-dir.el:
15190 * vc/vc-cvs.el:
15191 * vc/vc-bzr.el:
15192 * vc/vc-arch.el:
15193 * vc/vc.el: Replace lexical-let by lexical-binding.
15194 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15195 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15196 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15197
15198 2012-04-26 Chong Yidong <cyd@gnu.org>
15199
15200 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15201 (diff-mode-shared-map): Bind it to / and [remap undo].
15202
15203 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15204 (ediff-window-setup-function): Use it as the default, to set up
15205 windows based on whether the current frame is graphical (Bug#2138).
15206 (ediff-choose-window-setup-function-automatically): Make obsolete.
15207
15208 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15209
15210 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15211
15212 * ffap.el: Remove old code for obsolete package.
15213 (ffap-complete-as-file-p): Remove.
15214
15215 Use completion-table-with-quoting for comint and pcomplete.
15216 * comint.el (comint--unquote&requote-argument)
15217 (comint--unquote-argument, comint--requote-argument): New functions.
15218 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15219 (comint-quote-filename): Use regexp-opt-charset.
15220 (comint--common-suffix, comint--common-quoted-suffix)
15221 (comint--table-subvert): Remove.
15222 (comint-unquote-function, comint-requote-function): New vars.
15223 (comint--complete-file-name-data): Use them with
15224 completion-table-with-quoting.
15225 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15226 * pcomplete.el (pcomplete-arg-quote-list)
15227 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15228 (pcomplete-unquote-argument-function): Default to non-nil.
15229 (pcomplete-unquote-argument): Simplify.
15230 (pcomplete--common-quoted-suffix): Remove.
15231 (pcomplete-requote-argument-function): New var.
15232 (pcomplete--common-suffix): New function.
15233 (pcomplete-completions-at-point): Use completion-table-with-quoting
15234 and completion-table-subvert.
15235
15236 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15237 (minibuffer--double-dollars): Preserve properties.
15238 (completion--sifn-requote): New function.
15239 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15240
15241 * minibuffer.el: Add support for completion of quoted/escaped data.
15242 (completion-table-with-quoting, completion-table-subvert): New funs.
15243 (completion--twq-try, completion--twq-all): New functions.
15244 (completion--nth-completion): New function.
15245 (completion-try-completion, completion-all-completions): Use it.
15246
15247 2012-04-25 Leo Liu <sdl.web@gmail.com>
15248
15249 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15250 Use compilation-message if available to find real filename.
15251
15252 2012-04-25 Chong Yidong <cyd@gnu.org>
15253
15254 * vc/diff-mode.el (diff-setup-whitespace): New function.
15255 (diff-mode): Use it.
15256
15257 * vc/diff.el (diff-sentinel):
15258 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15259 Whitespace mode variables based on diff style (Bug#8612).
15260
15261 2012-04-25 Leo Liu <sdl.web@gmail.com>
15262
15263 * progmodes/python.el (python-send-region): Add suffix .py to the
15264 temp file.
15265
15266 * files.el (auto-mode-alist): Use javascript-mode instead.
15267
15268 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15269
15270 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15271
15272 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15273 (soap-resolve-references-for-array-type): Hack to prevent self
15274 references, see Bug#9.
15275 (soap-parse-envelope): Report the contents of the 'detail' node
15276 when receiving a fault reply.
15277 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15278
15279 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15280 (soap-inspect-simple-type): New function.
15281
15282 * net/soap-client.el (soap-simple-type): New struct.
15283 (soap-default-xsd-types, soap-default-soapenc-types)
15284 (soap-decode-basic-type, soap-encode-basic-type):
15285 support unsignedInt and double basic types.
15286 (soap-resolve-references-for-simple-type)
15287 (soap-parse-simple-type, soap-encode-simple-type): New function.
15288 (soap-parse-schema): Parse xsd:simpleType declarations.
15289
15290 * net/soap-client.el (soap-default-xsd-types)
15291 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15292 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15293 the local name of "soapenc:Array".
15294 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15295 decoding integer, byte and anyURI xsd types.
15296
15297 2012-04-25 Chong Yidong <cyd@gnu.org>
15298
15299 * cus-edit.el (custom-buffer-create-internal): Update header text.
15300
15301 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15302
15303 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15304 settings on 'system-type', not on 'window-system'. On MS-Windows,
15305 set interactive-mode on in GDB.
15306
15307 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15308
15309 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15310 (ruby-syntax-propertize-regexp): Remove.
15311 (ruby-syntax-propertize-function): Split regexp into chunks.
15312 Match following code directly.
15313
15314 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15315
15316 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15317 (ruby-syntax-propertize-regexp): New function.
15318 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15319 by a special keyword.
15320
15321 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15322 (ruby-syntax-general-delimiters-goto-beg)
15323 (ruby-syntax-propertize-general-delimiters): New functions.
15324 (ruby-syntax-propertize-function): Use them to handle GDL.
15325 (ruby-font-lock-keywords): Move old handling of GDL...
15326 (ruby-font-lock-syntactic-keywords): .. to here.
15327 (ruby-calculate-indent): Adjust indentation for GDL.
15328
15329 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15330
15331 * notifications.el (top): Remove unneeded declarations.
15332 (notifications-specification-version): Change to "1.2".
15333 (notifications-interface, notifications-notify-method)
15334 (notifications-close-notification-method): Fix docstring.
15335 (notifications-get-capabilities-method): New defconst.
15336 (notifications-notify): Add :action-items, :resident and
15337 :transient hints. Change "image_data" to "image-data" and
15338 "image_path" to "image-path".
15339 (notifications-get-capabilities): New defun.
15340
15341 2012-04-24 Leo Liu <sdl.web@gmail.com>
15342
15343 * progmodes/python.el: Move hideshow setup to the end.
15344
15345 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15346
15347 * window.el (handle-select-window): Clear echo area since this is
15348 no more done by read_char (Bug#11304).
15349
15350 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15351
15352 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15353 and `/ M' to filter-derived-mode.
15354 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15355 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15356 (ibuffer-mark-by-mode): Use default rather than initial-input.
15357 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15358
15359 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15360
15361 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15362 (ibuffer-filter-by-derived-mode): New filter.
15363 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15364
15365 2012-04-23 Andreas Politz <politza@fh-trier.de>
15366
15367 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15368
15369 2012-04-23 Chong Yidong <cyd@gnu.org>
15370
15371 * cus-edit.el (customize-apropos, customize-apropos-options):
15372 Disable matching of non-option variables (Bug#11176).
15373 (customize-option, customize-option-other-window)
15374 (customize-changed-options): Doc fix.
15375 (customize-apropos-options, customize-apropos-faces)
15376 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15377
15378 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15379 Fix word list splitting (Bug#11132).
15380 (apropos-symbol, apropos-keybinding, apropos-label)
15381 (apropos-property, apropos-function-button)
15382 (apropos-variable-button, apropos-misc-button): New faces.
15383 (apropos-symbol-face, apropos-keybinding-face)
15384 (apropos-label-face, apropos-property-face, apropos-match-face):
15385 Variables removed (Bug#8396).
15386 (apropos-library-button, apropos-format-plist, apropos-print)
15387 (apropos-print-doc, apropos-describe-plist): Callers changed.
15388
15389 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15390
15391 * net/xesam.el (xesam-mode-map): Use let-bound map in
15392 initialization. (Bug#11292)
15393
15394 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15395
15396 Preserve ispell session localwords when switching back to
15397 original buffer.
15398
15399 * textmodes/ispell.el (ispell-buffer-session-localwords):
15400 New buffer-local variable to hold buffer session localwords.
15401 (ispell-kill-ispell): Add option 'clear to delete session
15402 localwords.
15403 (ispell-command-loop, ispell-change-dictionary)
15404 (ispell-buffer-local-words): Preserve session localwords when
15405 needed.
15406
15407 * textmodes/flyspell.el (flyspell-process-localwords)
15408 (flyspell-do-correct): Preserve session localwords when needed.
15409
15410 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15411
15412 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15413 using obsolete `translation-table-for-input'.
15414 (ispell-word, ispell-process-line, ispell-complete-word):
15415 Use plain `insert' instead of removed `ispell-insert-word'.
15416
15417 2012-04-22 Chong Yidong <cyd@gnu.org>
15418
15419 * cus-edit.el (custom-variable-menu)
15420 (custom-variable-reset-saved, custom-face-menu)
15421 (custom-face-reset-saved): If there is no saved value, make the
15422 "reset-saved" operation bring back the default (Bug#9509).
15423 (custom-face-state): Properly detect themed faces.
15424
15425 * faces.el (face-spec-set): Stop supporting deprecated form of
15426 third arg.
15427
15428 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15429
15430 Move functions from C to Lisp. Make non-blocking method calls
15431 the default. Implement further D-Bus standard interfaces.
15432
15433 * net/dbus.el (dbus-message-internal): Declare function.
15434 Remove unneeded function declarations.
15435 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15436 (dbus-message-type-method-return, dbus-message-type-error)
15437 (dbus-message-type-signal): Declare variables. Remove local
15438 definitions.
15439 (dbus-interface-dbus, dbus-interface-peer)
15440 (dbus-interface-introspectable, dbus-interface-properties)
15441 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15442 Adapt docstring.
15443 (dbus-interface-objectmanager): New defconst.
15444 (dbus-call-method, dbus-call-method-asynchronously)
15445 (dbus-send-signal, dbus-method-return-internal)
15446 (dbus-method-error-internal, dbus-register-service)
15447 (dbus-register-signal, dbus-register-method): New defuns, moved
15448 from dbusbind.c
15449 (dbus-call-method-handler, dbus-setenv)
15450 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15451 New defuns.
15452 (dbus-call-method-non-blocking): Make it an obsolete function.
15453 (dbus-unregister-object, dbus-unregister-service)
15454 (dbus-handle-event, dbus-register-property)
15455 (dbus-property-handler): Obey the new structure of
15456 `bus-registered-objects'.
15457 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15458 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15459 Use `dbus-call-method'.
15460
15461 2012-04-22 Chong Yidong <cyd@gnu.org>
15462
15463 * cus-edit.el (custom-commands, custom-reset-menu)
15464 (Custom-reset-standard): Tweak labels.
15465 (custom-reset-button-menu): Change default to t.
15466 (custom-buffer-create-internal): For the custom-reset-button-menu
15467 case, put the revert button first.
15468 (custom-group-subtitle): New face.
15469 (custom-group-value-create): Align docstring to a specific column.
15470
15471 * wid-edit.el (widget-documentation-link-add): Don't handle
15472 indentation in this function.
15473 (widget-documentation-string-indent-to): New function.
15474 (widget-documentation-string-value-create): Use it.
15475
15476 * autorevert.el (auto-revert):
15477 * epg-config.el (epg):
15478 * ibuffer.el (ibuffer):
15479 * mpc.el (mpc):
15480 * ses.el (ses):
15481 * eshell/eshell.el (eshell):
15482 * net/ange-ftp.el (ange-ftp):
15483 * progmodes/ebnf2ps.el (postscript):
15484 * progmodes/flymake.el (flymake):
15485 * progmodes/prolog.el (prolog):
15486 * progmodes/verilog-mode.el (verilog-mode):
15487 * progmodes/which-func.el (which-func):
15488 * term/xterm.el (xterm):
15489 * textmodes/picture.el (picture):
15490 * textmodes/tildify.el (tildify):
15491 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15492 customization buffers.
15493
15494 2012-04-22 Alan Mackenzie <acm@muc.de>
15495
15496 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15497 Adding a ) can hide the resulting (..) from searches. Fix it.
15498 Bound the backward search to the position of the existing (.
15499
15500 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15501
15502 * progmodes/verilog-mode.el (verilog-mode): Check whether
15503 which-func-modes is t before adding verilog-mode.
15504 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15505
15506 2012-04-21 Leo Liu <sdl.web@gmail.com>
15507
15508 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15509
15510 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15511
15512 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15513 filling of the last column of a table (Bug#5635).
15514 (woman-find-next-control-line): New arg, specifying an additional
15515 regexp component for the control line.
15516 (woman2-roff-buffer): Use it.
15517 (woman-break-table): New function.
15518 (woman2-TS): Use it.
15519
15520 2012-04-21 Chong Yidong <cyd@gnu.org>
15521
15522 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15523 (woman-horizontal-escapes, woman-negative-vertical-space)
15524 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15525 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15526
15527 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15528
15529 * minibuffer.el (completion-file-name-table): Complete user names.
15530
15531 2012-04-20 Leo Liu <sdl.web@gmail.com>
15532
15533 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15534 and pcase-let*.
15535
15536 2012-04-20 Chong Yidong <cyd@gnu.org>
15537
15538 * server.el (server-execute): Respect initial-buffer-choice if it
15539 is a string and there are no files to open (Bug#2825).
15540 (server-create-window-system-frame, server-create-tty-frame):
15541 Don't switch buffers here.
15542 (server-process-filter): Only try to open a window system frame if
15543 compiled with graphical support (Bug#8314).
15544
15545 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15546
15547 * battery.el (battery-echo-area-format): Display remaining time
15548 for sysfs backend too (Bug#11269).
15549 (battery-linux-sysfs): Fix conditional for the charge.
15550
15551 2012-04-20 Chong Yidong <cyd@gnu.org>
15552
15553 * progmodes/gdb-mi.el (gdb): Revert previous change.
15554 (gdb-inferior-io--init-proc): New function.
15555 (gdb-init-1): Use it.
15556 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15557 responsible for allocating a new pty and hooking it to gdb when
15558 the old pty gets an EIO due to process exit.
15559 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15560 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15561 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15562
15563 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15564
15565 * window.el (window-min-size, window-sizable, window-min-delta)
15566 (window-max-delta, window--resizable, window-resizable)
15567 (window-total-size, window-full-height-p, window-full-width-p)
15568 (window-in-direction, window--resize-mini-window, window-resize)
15569 (window--resize-child-windows-normal)
15570 (window--resize-child-windows, window--resize-siblings)
15571 (window--resize-this-window, adjust-window-trailing-edge)
15572 (enlarge-window, shrink-window): Doc fixes.
15573
15574 2012-04-20 Chong Yidong <cyd@gnu.org>
15575
15576 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15577 New function to call delete-process on the gdb-inferior buffer's pty.
15578 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15579 pty process (Bug#11273).
15580 (gdb-update): New arg to suppress talking to the gdb process.
15581 (gdb-done-or-error): Use it.
15582 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15583 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15584 sentinel not being called.
15585
15586 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15587
15588 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15589
15590 2012-04-20 Glenn Morris <rgm@gnu.org>
15591
15592 * net/network-stream.el (open-network-stream): Doc fix.
15593
15594 2012-04-20 Chong Yidong <cyd@gnu.org>
15595
15596 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15597
15598 2012-04-20 Alan Mackenzie <acm@muc.de>
15599
15600 Ensure searching for keywords is case sensitive.
15601
15602 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15603 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15604 (c-defun-name, c-mark-function, c-cpp-define-name)
15605 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15606 (c-context-line-break): Bind case-fold-search to nil.
15607
15608 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15609 Bind case-fold-search to nil.
15610
15611 2012-04-20 Chong Yidong <cyd@gnu.org>
15612
15613 * mail/sendmail.el (mail-bury): Call return action with the right
15614 Rmail buffer (Bug#11242).
15615
15616 * server.el (server-process-filter): Handle corner case where both
15617 tty and nowait options are present (Bug#11102).
15618
15619 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15620
15621 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15622 (top level): Put into the executable the ident-style '$Id:' tag on
15623 windows-nt as well.
15624
15625 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15626
15627 * electric.el (electric-indent-post-self-insert-function): Check that
15628 electric-indent-mode is enabled in current buffer.
15629
15630 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15631
15632 * imenu.el (imenu-progress-message): Restore; it is "used" in
15633 erc/erc-imenu.el and net/snmp-mode.el.
15634
15635 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15636
15637 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15638 (mouse-avoidance-nudge-mouse): Remove unused binding.
15639
15640 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15641
15642 * descr-text.el (describe-char):
15643 * progmodes/python.el (python-describe-symbol):
15644 Don't call `toggle-read-only', set `buffer-read-only'.
15645
15646 * imenu.el (imenu-default-goto-function): Mark unused args.
15647 (imenu-progress-message): Remove obsolete macro; all callers changed.
15648
15649 * subr.el (keymap-canonicalize): Remove unused binding.
15650 (read-passwd): Mark unused arg.
15651
15652 * tutorial.el (tutorial--display-changes): Remove unused binding.
15653 (tutorial--save-tutorial-to): Remove unused variable.
15654
15655 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15656 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15657 (package-generate-autoloads, package-menu--generate)
15658 (package-menu--find-upgrades): Remove unused bindings.
15659
15660 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15661 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15662 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15663 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15664 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15665 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15666 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15667 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15668 (cua-delete-char-rectangle): Mark unused args.
15669 (cua-align-rectangle): Remove unused binding.
15670
15671 * mail/rmail.el (compilation--message->loc)
15672 (epa--find-coding-system-for-mime-charset): Declare.
15673
15674 * net/dbus.el (dbus-register-service): Declare.
15675 (dbus-name-owner-changed-handler): Remove unused binding.
15676
15677 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15678 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15679 (nxml-scan-backward-within): Mark unused arg.
15680 (nxml-dynamic-markup-word): Remove unused binding.
15681
15682 * mouse.el (mouse-menu-major-mode-map):
15683 * emacs-lisp/authors.el (authors-scan-change-log)
15684 (authors-add-to-author-list):
15685 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15686 * emacs-lisp/smie.el (smie-auto-fill):
15687 * mail/sendmail.el (mail-bury):
15688 * mail/unrmail.el (unrmail):
15689 * net/tls.el (open-tls-stream):
15690 * textmodes/picture.el (picture-mouse-set-point):
15691 Remove unused bindings.
15692
15693 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15694
15695 * net/tramp.el (tramp-action-password): Let-bind
15696 `enable-recursive-minibuffers' to t.
15697
15698 2012-04-18 Sam Steingold <sds@gnu.org>
15699
15700 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15701 instead of 'string to accommodate values like [f11].
15702 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15703 * progmodes/gdb-mi.el: Likewise.
15704
15705 2012-04-18 Leo Liu <sdl.web@gmail.com>
15706
15707 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15708 current buffer.
15709 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15710 LOCAL is nil.
15711
15712 2012-04-18 Chong Yidong <cyd@gnu.org>
15713
15714 * simple.el (line-move): Use forward-line if in batch mode
15715 (Bug#11053).
15716
15717 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15718
15719 * files.el (after-find-file): Do not try to add a final newline if
15720 the buffer is read-only (Bug#11156).
15721
15722 2012-04-17 Richard Stallman <rms@gnu.org>
15723
15724 * mail/rmail.el (rmail-start-mail):
15725 Pass (rmail-mail-return...) for the return-action.
15726 Pass (rmail-yank-current-message...) for the yank-action.
15727 (rmail-yank-current-message): New function.
15728 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15729 (rmail-reply): Likewise.
15730 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15731
15732 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15733 buffer, not the last. Reject temp buffers. Use the rmail-mode
15734 buffer, not newbuf.
15735
15736 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15737
15738 * server.el (server-ensure-safe-dir): Simplify.
15739
15740 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * emacs-lisp/smie.el: Provide smarter auto-filling.
15743 (smie-auto-fill): New function.
15744 (smie-setup): Use it.
15745
15746 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15747
15748 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15749
15750 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15751 (comment-indent): Use it.
15752
15753 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15754
15755 * ses.el: The overall change is to add cell renaming, that is
15756 setting fancy names for cell symbols other than name matching
15757 "\\`[A-Z]+[0-9]+\\'" regexp .
15758 (ses-localvars): Add ses--renamed-cell-symb-list.
15759 (ses-create-cell-variable): New defun.
15760 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15761 (ses-relocate-formula): Relocate formulas only for cells the
15762 symbols of which are not renamed, i.e. symbols whose names do not
15763 match regexp "\\`[A-Z]+[0-9]+\\'".
15764 (ses-relocate-all): Relocate values only for cells the symbols of
15765 which are not renamed.
15766 (ses-load): Create cells variables as the (ses-cell ...) are read,
15767 in order to check row col consistency with cell symbol name only
15768 for cells that are not renamed.
15769 (ses-replace-name-in-formula): New defun.
15770 (ses-rename-cell): New defun.
15771
15772 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15773
15774 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15775 New option (bug#11118).
15776 (perl-calculate-indent): Respect it.
15777
15778 2012-04-17 Glenn Morris <rgm@gnu.org>
15779
15780 * dired-aux.el (dired-mark-read-string): Doc fix.
15781
15782 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15783
15784 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15785 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15786
15787 2012-04-17 Glenn Morris <rgm@gnu.org>
15788
15789 * mouse.el (mouse-drag-track):
15790 * speedbar.el (speedbar-frame-mode):
15791 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15792
15793 2012-04-16 Leo Liu <sdl.web@gmail.com>
15794
15795 * progmodes/python.el: Trivial cleanup.
15796
15797 2012-04-16 Glenn Morris <rgm@gnu.org>
15798
15799 * vc/vc.el (vc-string-prefix-p):
15800 * vc/pcvs-util.el (cvs-string-prefix-p):
15801 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15802 * mpc.el (mpc-string-prefix-p):
15803 Make all of these into obsolete aliases for string-prefix-p.
15804 Update callers.
15805 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15806
15807 * textmodes/two-column.el: Move custom options to the start.
15808 (frame-width): Remove compat definition.
15809 (2C-associate-buffer, 2C-dissociate):
15810 Use with-current-buffer rather than save-excursion.
15811 (2C-dissociate): Force a mode-line update.
15812 (2C-autoscroll): Use ignore-errors.
15813
15814 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15815 Autoload trivia.
15816
15817 * emacs-lisp/cl-extra.el (*random-state*):
15818 Remove unnecessary declaration.
15819
15820 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15821
15822 * play/cookie1.el (cookie-snarf):
15823 Give an explicit error if input file cannot be read.
15824
15825 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15826
15827 * progmodes/perl-mode.el (c-macro-expand):
15828 Remove unnecessary autoload (it is in loaddefs.el).
15829
15830 * textmodes/picture.el (picture-desired-column)
15831 (picture-update-desired-column): Convert comments to doc-strings.
15832 (picture-substitute): Remove function.
15833 (picture-mode-map): Initialize in the defvar.
15834
15835 * woman.el: Remove eval-after-load for tar-mode.
15836 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15837 (woman-tar-extract-file): Autoload it.
15838
15839 * frame.el (automatic-hscrolling): Make this alias obsolete.
15840
15841 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15842
15843 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15844 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15845 (ispell-dictionary-base-alist): Revert to original XEmacs
15846 friendly version for default. [:alpha:] will be added in
15847 `ispell-set-spellchecker-params' if needed.
15848
15849 2012-04-16 Chong Yidong <cyd@gnu.org>
15850
15851 * image.el (imagemagick--file-regexp): New variable.
15852 (imagemagick-register-types): Use it.
15853 (imagemagick-types-inhibit): Add :set function. Allow new value
15854 of t to inhibit all types.
15855
15856 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15857 so we can preload it.
15858
15859 * loadup.el (fboundp): Preload regexp-opt, needed by
15860 imagemagick-register-types.
15861
15862 2012-04-15 Chong Yidong <cyd@gnu.org>
15863
15864 * frame.el (scrolling): Remove nearly unused customization group.
15865
15866 * scroll-all.el (scroll-all-mode): Move to windows group.
15867
15868 2012-04-15 Chong Yidong <cyd@gnu.org>
15869
15870 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15871
15872 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15873
15874 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15875 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15876
15877 2012-04-15 Glenn Morris <rgm@gnu.org>
15878
15879 * simple.el (process-file-side-effects): Doc fix.
15880
15881 2012-04-15 Glenn Morris <rgm@gnu.org>
15882
15883 * international/mule-cmds.el (set-language-environment): Doc fix.
15884
15885 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15886
15887 * server.el (server-auth-key, server-generate-key): Doc fixes.
15888 (server-get-auth-key): Doc fix. Use `string-match-p'.
15889 (server-start): Reflow docstring.
15890
15891 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15892
15893 * server.el (server-generate-key): `called-interactively-p'
15894 requires a parameter.
15895
15896 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15897
15898 * server.el (server-auth-key): New variable.
15899 (server-generate-key, server-get-auth-key): New function.
15900 (server-start): Use the new variable and functions to allow
15901 setting a permanent server key (bug#9423).
15902
15903 2012-04-14 Leo Liu <sdl.web@gmail.com>
15904
15905 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15906
15907 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15908
15909 Spelling fixes.
15910 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15911 Emacs uses American spelling.
15912
15913 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15914
15915 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15916 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15917 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15918 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15919
15920 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15921
15922 * progmodes/which-func.el (which-func-modes): Change default.
15923
15924 2012-04-14 Kim F. Storm <storm@cua.dk>
15925
15926 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15927 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15928
15929 2012-04-14 Chong Yidong <cyd@gnu.org>
15930
15931 * custom.el (custom-theme-set-variables): Doc fix.
15932
15933 2012-04-14 Glenn Morris <rgm@gnu.org>
15934
15935 * international/mule.el (set-auto-coding-for-load): Doc fix.
15936
15937 2012-04-14 Alan Mackenzie <acm@muc.de>
15938
15939 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15940 imenu work again for Objective C Mode. Correct the *-index values,
15941 these having been disturbed by a previous change in 2011-08.
15942
15943 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15944 Correct two search limits.
15945
15946 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15947
15948 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15949
15950 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15951
15952 * international/characters.el: Fix sorting.
15953
15954 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15955
15956 * international/characters.el: Add more missing Latin case pairs.
15957
15958 2012-04-14 Glenn Morris <rgm@gnu.org>
15959
15960 * files.el (dir-locals-set-class-variables): Doc fix.
15961
15962 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15963
15964 * international/characters.el: Add set-case-syntax-pair call for
15965 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15966 counterpart. (Bug#11209)
15967
15968 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15969
15970 2012-04-14 Glenn Morris <rgm@gnu.org>
15971
15972 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15973
15974 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15975
15976 * textmodes/ispell.el (ispell-dictionary-base-alist):
15977 Add data for Hebrew.
15978
15979 2012-04-14 Chong Yidong <cyd@gnu.org>
15980
15981 * net/rcirc.el (rcirc-cmd-quit):
15982 Revert 2012-03-18 change (Bug#11192).
15983
15984 2012-04-14 Glenn Morris <rgm@gnu.org>
15985
15986 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15987
15988 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15989
15990 * minibuffer.el (completion-in-region-mode-map):
15991 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15992
15993 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15994
15995 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15996
15997 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15998
15999 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16000 to allow `C-M-f' and `C-M-b' to move to the nearest path
16001 separator (bug#9511).
16002
16003 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16004
16005 * avoid.el: Require cl when compiling. And also move the
16006 `provide' to the end.
16007
16008 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16009
16010 * avoid.el (mouse-avoidance-banish-position): New variable.
16011 (mouse-avoidance-banish-destination): Use it (bug#10165).
16012
16013 2012-04-13 Leo Liu <sdl.web@gmail.com>
16014
16015 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16016
16017 2012-04-13 Ken Brown <kbrown@cornell.edu>
16018
16019 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16020 this is no longer needed now that cygstart understands file:// URLs.
16021 (browse-url-filename-alist): For the same reason, don't modify
16022 file:// URLs on Cygwin.
16023
16024 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16025
16026 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16027 the region on shift if the binding is already shifted (bug#11221).
16028
16029 2012-04-12 Glenn Morris <rgm@gnu.org>
16030
16031 * mail/mailpost.el: Move to obsolete/.
16032
16033 2012-04-12 Drew Adams <drew.adams@oracle.com>
16034
16035 * imenu.el (imenu--generic-function): Ignore invisible definitions
16036 (bug#10123).
16037
16038 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16039
16040 * hexl.el (hexl-bits): New variable.
16041 (hexl-options): Mention the variable in the doc string.
16042 (hexl-rulerise, hexl-line-displen): New functions.
16043 (hexl-mode): Mention the new variable.
16044 (hexl-mode, hexl-current-address, hexl-current-address):
16045 Use the displen.
16046 (hexl-ascii-start-column): New function.
16047 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16048 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16049
16050 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16051
16052 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16053 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16054 the encoding, as expected by hunspell.
16055
16056 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16057
16058 * battery.el (battery--linux-sysfs-regexp): New const.
16059 (battery-status-function): Use it. Remove yeeloong special case.
16060 (battery-yeeloong-sysfs): Remove.
16061 (battery-echo-area-format): Remove yeeloong special case.
16062
16063 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16064
16065 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16066 Reported by Noah Friedman.
16067
16068 * subr.el (read-passwd): Use read-string.
16069
16070 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16071
16072 * vcursor.el (vcursor-move): Increase the priority of the overlay
16073 (bug#9663).
16074
16075 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16076
16077 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16078 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16079
16080 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16081
16082 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16083 define-minor-mode (bug#10760).
16084
16085 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16086
16087 * progmodes/grep.el (rgrep): Tweak the find command line so
16088 that directories matching `grep-find-ignored-files' won't be
16089 pruned (bug#10351).
16090
16091 2012-04-11 Chong Yidong <cyd@gnu.org>
16092
16093 * startup.el (command-line): Remove support for long-obsolete
16094 variable font-lock-face-attributes.
16095
16096 2012-04-11 Glenn Morris <rgm@gnu.org>
16097
16098 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16099
16100 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * window.el (window--state-get-1): Obey window-point-insertion-type.
16103
16104 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16105
16106 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16107 to previous function when point is on the first character of a
16108 function. Take care of that in `narrow-to-defun' (bug#6157).
16109
16110 2012-04-11 Glenn Morris <rgm@gnu.org>
16111
16112 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16113 not just file-errors.
16114
16115 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16116 (vc-bzr-sha1): Use internal sha1.
16117
16118 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16121
16122 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16123
16124 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16125 that start in the middle of the line (bug#10496).
16126
16127 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16128
16129 * battery.el (battery-linux-proc-acpi): Only one battery is
16130 discharged at a time, but that seems to confuse battery.el when
16131 computing `rate-type' for the battery not being discharged
16132 (bug#10332).
16133
16134 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16135
16136 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16137
16138 * international/quail.el: Use dolist and simplify.
16139 (quail-define-package, quail-update-keyboard-layout)
16140 (quail-define-rules): Use dolist.
16141 (quail-insert-kbd-layout, quail-get-translation): CSE.
16142
16143 * tmm.el: Use dolist, remove left over hook.
16144 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16145 Use dolist.
16146 (calendar-load-hook): Don't mess with it.
16147
16148 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16149 Use derived-mode-p. Run the diff asynchronously.
16150
16151 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16152
16153 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16154
16155 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16156
16157 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16158 (list-dynamic-libraries--loaded): New function.
16159 (list-dynamic-libraries--refresh): Use it.
16160
16161 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16162
16163 * progmodes/python.el (python-fill-paragraph):
16164 Make python-fill-region in a multiline string work when font-lock is
16165 disabled (bug#7018).
16166
16167 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16168
16169 * language/european.el (cp775): Add oem/legacy (en)coding on
16170 DOS/MS Windows for the Baltic languages. There are still plenty
16171 of texts written in this encoding/codepage (bug#6519).
16172
16173 2012-04-10 Glenn Morris <rgm@gnu.org>
16174
16175 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16176 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16177
16178 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16179
16180 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16181 next-line "n" and previous-line "p" in order to make recentf more
16182 consistent with ibuffer, dired or org-mode (bug#9387).
16183
16184 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16185
16186 * image.el (put-image): Return the overlay created instead of the
16187 optional input string (bug#7834). Note that this may break code
16188 that is (for some reason or other) depending on `put-image'
16189 returning the string.
16190
16191 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16192
16193 * simple.el (zap-to-char): Allow zapping using input methods
16194 (bug#1580).
16195
16196 * textmodes/fill.el (fill-region): Leave point and mark where they
16197 were before filling (bug#5399).
16198
16199 2012-04-09 Glenn Morris <rgm@gnu.org>
16200
16201 * version.el (emacs-bzr-get-version):
16202 Handle lightweight checkouts of local branches.
16203
16204 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16205
16206 * international/characters.el: Recover lost case pairs. (Bug#11209)
16207
16208 2012-04-09 Chong Yidong <cyd@gnu.org>
16209
16210 * custom.el (custom-variable-p): Return nil for non-symbol
16211 arguments instead of signaling an error.
16212 (user-variable-p): Obsolete alias for custom-variable-p.
16213
16214 * apropos.el (apropos-variable):
16215 * files-x.el (read-file-local-variable):
16216 * simple.el (set-variable):
16217 * woman.el (woman-mini-help):
16218 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16219
16220 2012-04-09 Glenn Morris <rgm@gnu.org>
16221
16222 * startup.el (normal-top-level): Don't look for leim-list.el
16223 in places where it will not be found. (Bug#910)
16224
16225 * international/mule-cmds.el (set-default-coding-systems):
16226 * files.el (normal-mode):
16227 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16228 This function was removed with ucs-tables.el in 2008.
16229
16230 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16231
16232 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16233 ispell-encoding8-command to "-i", without a trailing space.
16234 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16235 separate command-line arguments, to specify the encoding, since
16236 that's how hunspell expects it.
16237
16238 2012-04-08 Glenn Morris <rgm@gnu.org>
16239
16240 * loadup.el: Load bindings before cus-start.
16241 This reduces somewhat the number of "rogue" settings in emacs -Q.
16242
16243 2012-04-07 Glenn Morris <rgm@gnu.org>
16244
16245 * version.el (emacs-bzr-get-version): New function.
16246 (emacs-bzr-version): New variable.
16247 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16248 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16249
16250 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16251
16252 * international/uni-bidi.el, international/uni-category.el:
16253 * international/uni-combining.el, international/uni-decimal.el:
16254 * international/uni-decomposition.el, international/uni-digit.el:
16255 * international/uni-lowercase.el, international/uni-mirrored.el:
16256 * international/uni-name.el, international/uni-numeric.el:
16257 * international/uni-titlecase.el, international/uni-uppercase.el:
16258 Update for Unicode 6.1.
16259
16260 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16261
16262 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16263
16264 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16265
16266 * window.el (shrink-window): Mention the `window-min-height'
16267 variable in the doc string.
16268
16269 2012-04-05 Bastien Guerry <bzg@altern.org>
16270
16271 * color.el (color-lighten-name): Fix typo.
16272
16273 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * server.el (server--on-display-p): New function.
16276 (server--on-display-p): Use it.
16277
16278 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16279
16280 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16281 (bug#11145).
16282
16283 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * comint.el (comint--common-quoted-suffix): Check string boundary
16286 before comparing (bug#11158).
16287 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16288
16289 2012-04-04 Chong Yidong <cyd@gnu.org>
16290
16291 * minibuffer.el (completion-extra-properties): Doc fix.
16292
16293 * subr.el (delayed-warnings-hook): Doc fix.
16294
16295 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16296
16297 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16298 selection (Bug#11159).
16299 (epa-insert-keys): Inform that the default public key will be
16300 exported if no key is selected.
16301
16302 2012-04-04 Richard Stallman <rms@gnu.org>
16303
16304 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16305
16306 2012-04-03 Chong Yidong <cyd@gnu.org>
16307
16308 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16309 mail-insert-file, not its obsolete alias mail-attach-file.
16310
16311 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16312
16313 * notifications.el (notifications-notify): Fix docstring.
16314
16315 2012-04-02 Glenn Morris <rgm@gnu.org>
16316
16317 * emacs-lisp/authors.el (authors-aliases): Another addition.
16318
16319 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16320
16321 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16322 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16323 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16324
16325 2012-04-01 Chong Yidong <cyd@gnu.org>
16326
16327 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16328 Handle root directory properly.
16329 (copy-directory): Caller changed.
16330
16331 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16332 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16333
16334 2012-03-31 Glenn Morris <rgm@gnu.org>
16335
16336 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16337
16338 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16339
16340 * calendar/calendar.el (calendar-window-list)
16341 (calendar-hide-window): Restore. (Bug#11140)
16342 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16343
16344 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16345
16346 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16347
16348 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16349 Check if file is a symlink (Bug#10489).
16350
16351 * files.el (copy-directory): Likewise.
16352
16353 2012-03-30 Chong Yidong <cyd@gnu.org>
16354
16355 * image.el (imagemagick-types-inhibit)
16356 (imagemagick-register-types): Doc fix.
16357
16358 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16359
16360 * textmodes/ispell.el (ispell-get-extended-character-mode):
16361 Disable extended-char-mode for hunspell. hunspell does not support it
16362 and treats ~word as ordinary words in pipe mode.
16363
16364 2012-03-30 Glenn Morris <rgm@gnu.org>
16365
16366 * tutorial.el (help-with-tutorial): Ensure local variables don't
16367 happen to make the buffer read-only. (Bug#11127)
16368
16369 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16370
16371 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16372 (perl-calculate-indent): Return `noindent' in strings.
16373
16374 2012-03-28 Sam Steingold <sds@gnu.org>
16375
16376 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16377 instead of the broken adhockery which does not prevent calendar
16378 buffers from being displayed at random after exit.
16379 (calendar-window-list, calendar-hide-window): Remove the broken
16380 adhockery.
16381
16382 2012-03-28 Glenn Morris <rgm@gnu.org>
16383
16384 * replace.el (query-replace-map): Doc fix.
16385
16386 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16387
16388 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16389 contents. (Bug#11109)
16390
16391 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16392
16393 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16394 (bug#11077).
16395 (avl-tree--check, avl-tree--check-node): New funs.
16396
16397 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16398
16399 * window.el (switch-to-visible-buffer): New option.
16400 (switch-to-prev-buffer, switch-to-next-buffer):
16401 Observe switch-to-visible-buffer. Make sure that checking for a window
16402 showing a buffer already is done on the same frame.
16403
16404 2012-03-27 Glenn Morris <rgm@gnu.org>
16405
16406 * startup.el (mail-host-address): Doc fix.
16407
16408 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16409
16410 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16411 than 197 variables.
16412
16413 2012-03-26 Ami Fischman <ami@fischman.org>
16414
16415 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16416
16417 2012-03-26 Glenn Morris <rgm@gnu.org>
16418
16419 * files.el (save-buffers-kill-emacs): Doc fix.
16420
16421 * startup.el (normal-top-level, command-line, command-line-1):
16422 Give them doc strings.
16423
16424 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16425
16426 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16427 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16428
16429 2012-03-25 Chong Yidong <cyd@gnu.org>
16430
16431 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16432 theme if it was previously enabled before (Bug#11031).
16433
16434 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16435 spec with custom-face-get-current-spec if its :shown-value is not
16436 determined yet (Bug#9337).
16437 (customize-create-theme, custom-theme-revert): Doc fixes.
16438
16439 * button.el (button-at): Minor addition to docstring.
16440
16441 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16442
16443 * vc/vc.el (vc-merge): Fix a prompt.
16444
16445 2012-03-24 Chong Yidong <cyd@gnu.org>
16446
16447 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16448 point (Bug#9623).
16449
16450 * button.el (button-at): Minor addition to docstring.
16451
16452 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16453
16454 * newcomment.el (comment-choose-indent): No space after BOL.
16455
16456 2012-03-22 Sam Steingold <sds@gnu.org>
16457
16458 * window.el (switch-to-prev-buffer): Revert last patch because the
16459 bug turned out to be an advertised feature (Elisp manual 28.14).
16460
16461 2012-03-22 Glenn Morris <rgm@gnu.org>
16462
16463 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16464 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16465
16466 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16467
16468 * net/network-stream.el (network-stream-open-starttls): Make error
16469 message under Windows be less misleading.
16470
16471 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16472
16473 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16474 understands (bug#9942).
16475
16476 2012-03-22 Chong Yidong <cyd@gnu.org>
16477
16478 * simple.el (end-of-visible-line): Handle return value of
16479 next-single-property-change properly (Bug#9371).
16480
16481 2012-03-22 Kenichi Handa <handa@m17n.org>
16482
16483 * international/quail.el (quail-insert-kbd-layout): Fix previous
16484 change. To avoid unwanted bidi reordering, use
16485 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16486
16487 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16488
16489 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16490 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16491 (ruby-beginning-of-indent): Be more careful with the difference
16492 between word-boundary and symbol boundary.
16493 (ruby-mode-syntax-table): Make : a symbol constituent.
16494
16495 2012-03-21 Andreas Politz <politza@fh-trier.de>
16496
16497 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16498
16499 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16500
16501 * progmodes/etags.el (tags-completion-at-point-function):
16502 Improve last fix.
16503
16504 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16505
16506 2012-03-21 Sam Steingold <sds@gnu.org>
16507
16508 * progmodes/etags.el (tags-completion-at-point-function):
16509 Avoid the error when point is inside the pattern.
16510
16511 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16512
16513 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16514 line (Bug#10855).
16515
16516 2012-03-21 Drew Adams <drew.adams@oracle.com>
16517
16518 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16519
16520 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16521
16522 * ido.el (ido-set-current-directory, ido-read-internal)
16523 (ido-choose-completion-string, ido-completion-help): Handle nil
16524 value of ido-completion-buffer (Bug#11008).
16525
16526 2012-03-21 Sam Steingold <sds@gnu.org>
16527
16528 * window.el (switch-to-prev-buffer): Do not switch to a visible
16529 window previous buffer, just like with the frame previous buffers.
16530
16531 2012-03-21 Chong Yidong <cyd@gnu.org>
16532
16533 * faces.el (make-face, make-empty-face, copy-face):
16534 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16535 Doc fixes.
16536
16537 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16538
16539 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16540 (widget-complete): Remove broken use of it.
16541
16542 2012-03-20 Chong Yidong <cyd@gnu.org>
16543
16544 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16545 Use string-width and truncate-string-width to handle arbitrary
16546 characters.
16547
16548 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16549
16550 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16551 to draw rectangles, not squares. (Regression introduced by revno
16552 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16553
16554 2012-03-18 Chong Yidong <cyd@gnu.org>
16555
16556 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16557 it is not yet defined (for temacs).
16558
16559 2012-03-18 Leo Liu <sdl.web@gmail.com>
16560
16561 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16562 prefix.
16563
16564 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16565
16566 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16567 (ispell-choices-win-default-height, ispell-silently-savep)
16568 (ispell-dictionary-alist, ispell-encoding8-command)
16569 (ispell-check-version, ispell-aspell-find-dictionary)
16570 (ispell-valid-dictionary-list, ispell-words-keyword)
16571 (ispell-get-word, ispell-internal-change-dictionary)
16572 (ispell-region, ispell-skip-region-list)
16573 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16574 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16575 (ispell-message-text-end, ispell-message)
16576 (ispell-buffer-local-parsing): Doc fix.
16577
16578 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16579
16580 * htmlfontify.el: Add support for code block fontification for ODT
16581 export (Bug #9914).
16582 (hfy-optimisations): Define new option
16583 `body-text-only'
16584 (hfy-fontify-buffer): Honor above setting.
16585 (hfy-begin-span, hfy-end-span): New routines factored out form
16586 `hfy-fontify-buffer'.
16587 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16588 that permit insertion of custom tags.
16589 (hfy-fontify-buffer): Use above handlers.
16590 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16591 (hfy-face-to-css): Re-defined to be a variable.
16592 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16593 over multiple runs. This is made possible by having the caller let
16594 bind a special variable `hfy-user-sheet-assoc'.
16595 (htmlfontify-string): New defun.
16596 (hfy-compile-face-map): Make sure that the last char in the
16597 buffer is correctly fontified.
16598 (hfy-face-resolve-face): Whitespace only change.
16599
16600 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16601
16602 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16603 message more clear.
16604
16605 2012-03-16 Leo Liu <sdl.web@gmail.com>
16606
16607 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16608
16609 2012-03-16 Alan Mackenzie <acm@muc.de>
16610
16611 Further optimize the handling of large macros.
16612
16613 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16614 limit to a call of `c-literal-limits'.
16615 (c-determine-+ve-limit): New function.
16616 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16617 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16618 In CASE 5B, restrict a search limit to 500.
16619 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16620
16621 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16622 Restrict macro bounds to +-500 from after-change's BEG END.
16623
16624 2012-03-16 Leo Liu <sdl.web@gmail.com>
16625
16626 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16627
16628 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16629
16630 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16631 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16632
16633 2012-03-16 Glenn Morris <rgm@gnu.org>
16634
16635 * view.el (view-buffer, view-buffer-other-window)
16636 (view-buffer-other-frame): Doc fixes re special mode-class.
16637
16638 * subr.el (eval-after-load): If named feature is provided not from
16639 a file, run after-load forms. (Bug#10946)
16640
16641 * calendar/calendar.el (calendar-insert-at-column):
16642 Handle non-unit-width characters a bit better. (Bug#10978)
16643
16644 2012-03-15 Chong Yidong <cyd@gnu.org>
16645
16646 * emacs-lisp/ring.el (ring-extend): New function.
16647 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16648
16649 * comint.el (comint-read-input-ring)
16650 (comint-add-to-input-history): Grow comint-input-ring lazily.
16651
16652 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16653
16654 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16655 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16656
16657 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16658 (imenu-add-to-menubar): Don't add a redundant index.
16659 (imenu-update-menubar): Handle a dynamically composed keymap.
16660
16661 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16662
16663 * mail/sendmail.el (mail-encode-header):
16664 Bind rfc2047-encode-encoded-words to nil.
16665
16666 2012-03-13 Glenn Morris <rgm@gnu.org>
16667
16668 * calendar/calendar.el (calendar-string-spread):
16669 Handle non-unit-width characters a bit better. (Bug#10978)
16670
16671 2012-03-13 Leo Liu <sdl.web@gmail.com>
16672
16673 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16674 directory and file as argument (Bug#10822).
16675
16676 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16677
16678 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16679 For dynamically generated code, follow $PC.
16680 (gdb-disassembly-handler-custom): Handle no function name case.
16681
16682 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16683
16684 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16685 * emulation/ws-mode.el (ws-query-replace):
16686 * sort.el (sort-regexp-fields):
16687 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16688
16689 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16690
16691 * dabbrev.el: Fix cycle completion order (bug#10963).
16692 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16693 (dabbrev-completion): Don't use an obarray; provide
16694 a cycle-sort-function.
16695
16696 2012-03-12 Leo Liu <sdl.web@gmail.com>
16697
16698 * simple.el (kill-new): Use equal-including-properties for comparison.
16699 (kill-do-not-save-duplicates): Doc fix.
16700
16701 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * dabbrev.el: Fix cycle completion (bug#10963).
16704 Use lexical binding and wrap to 80 columns.
16705 (dabbrev-completion): Delay computing the list of completions.
16706
16707 2012-03-12 Kenichi Handa <handa@m17n.org>
16708
16709 * international/quail.el (quail-insert-kbd-layout): Surround each
16710 row by LRO and PDF instead of inserting many LRMs. Pad the left
16711 and right of each non-spacing marks. Insert invisible space
16712 between lower and upper characters to prevent composition.
16713
16714 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16715
16716 * minibuffer.el (minibuffer-complete): Don't get confused when the
16717 function is run twice via different commands (bug#10958).
16718 (complete-with-action): Fix docstring.
16719
16720 2012-03-12 Chong Yidong <cyd@gnu.org>
16721
16722 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16723 (nxml-completion-at-point-function): New function.
16724 (nxml-mode): Use it.
16725 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16726
16727 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16728 Load generated autoloads file before byte compiling (Bug#10970).
16729 (package--make-autoloads-and-compile): New helper fun.
16730
16731 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16732
16733 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16734
16735 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16736
16737 * autorevert.el (auto-revert-handler): Ensure, that
16738 file-readable-p is applied only for local files or in
16739 auto-revert-tail-mode.
16740
16741 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16742
16743 * server.el (server-eval-at): Handle non-tcp connections.
16744 Decode result string.
16745
16746 * server.el (server-msg-size): New constant.
16747 (server-reply-print): New function.
16748 (server-eval-and-print): Use it.
16749 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16750 Handle -print-nonl.
16751
16752 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16753
16754 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16755 (Bug#10987).
16756
16757 2012-03-11 Chong Yidong <cyd@gnu.org>
16758
16759 * simple.el (goto-line): Doc fix (Bug#9938).
16760
16761 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16762
16763 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16764 when finished (Bug#10963).
16765
16766 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16767
16768 * window.el (split-window-below): Fix bug in case where
16769 split-window-keep-point is nil (Bug#10971).
16770
16771 2012-03-11 Juri Linkov <juri@jurta.org>
16772
16773 * replace.el (replace-highlight): Set isearch-word to nil
16774 unconditionally. (Bug#10887)
16775
16776 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16777
16778 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16779 mairix-replace-illegal-chars; all callers changed. Don't remove
16780 ^, ~, and = characters: they are meaningful in mairix search specs.
16781 (mairix-widget-create-query): Add usage information about mairix
16782 search forms: negating words, searching for substrings, etc.
16783
16784 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16785
16786 * international/fontset.el (font-encoding-alist): Add an entry for
16787 ksx1001 (Bug#5667).
16788
16789 2012-03-10 Richard Stallman <rms@gnu.org>
16790
16791 * mail/sendmail.el (mail-encode-header):
16792 Set rfc2047-encode-encoded-words.
16793
16794 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16795
16796 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16797 view buffer means not swapped.
16798 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16799 (rmail-write-region-annotate): Error if real text has disappeared.
16800
16801 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16802
16803 2012-03-10 Chong Yidong <cyd@gnu.org>
16804
16805 * emulation/cua-rect.el (cua--init-rectangles):
16806 * emulation/cua-base.el (cua--init-keymaps):
16807 Add delete-forward-char to remappings (Bug#9666).
16808
16809 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16810
16811 * speedbar.el (speedbar-unhighlight-one-tag-line):
16812 Avoid unhighlighting due to frame switching (Bug#10275).
16813
16814 2012-03-10 Chong Yidong <cyd@gnu.org>
16815
16816 * minibuffer.el (completion-in-region, completion-help-at-point):
16817 Give the completion field overlay a high priority (Bug#6830).
16818
16819 * dired.el (dired-goto-file): Recognize absolute file name
16820 listings (Bug#7126).
16821 (dired-goto-file-1): New helper function.
16822 (dired-toggle-read-only): Inhibit warnings.
16823
16824 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16825
16826 * net/dbus.el (dbus-property-handler): Return empty array if
16827 there are no properties.
16828
16829 2012-03-09 Leo Liu <sdl.web@gmail.com>
16830
16831 * savehist.el (savehist-printable): Stricter check for string
16832 value (Bug#10937).
16833
16834 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16835
16836 * mail/smtpmail.el (smtpmail-send-it):
16837 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16838 valid mbox format.
16839
16840 2012-03-09 Glenn Morris <rgm@gnu.org>
16841
16842 * files.el (dir-locals-find-file):
16843 Don't check result is regular, readable.
16844 (dir-locals-read-from-file): Demote errors.
16845
16846 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16847
16848 * international/quail.el (quail-insert-kbd-layout):
16849 Insert invisible LRM characters before each character in a keyboard
16850 layout cell, to prevent their reordering by bidi display engine.
16851 For details, see the discussion in
16852 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16853
16854 2012-03-08 Alan Mackenzie <acm@muc.de>
16855
16856 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16857 the starting position; make it extend the marked region when
16858 invoked repeatedly - all under appropriate circumstances.
16859 Fixes bugs #5525, #10906.
16860
16861 2012-03-08 Glenn Morris <rgm@gnu.org>
16862
16863 * files.el (locate-dominating-file, dir-locals-find-file):
16864 Undo 2012-03-06 change.
16865
16866 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16867
16868 * international/quail.el (quail-help):
16869 Force bidi-paragraph-direction be left-to-right. See discussion in
16870 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16871 for the reason.
16872
16873 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16874
16875 Avoid superfluous registering of signals. (Bug#10807)
16876
16877 * notifications.el (notifications-on-action-object)
16878 (notifications-on-close-object): New defvars.
16879 (notifications-on-action-signal, notifications-on-closed-signal):
16880 Unregister the signal if not needed any longer.
16881 (notifications-notify): Register `notifications-action-signal' or
16882 `notifications-closed-signal', if :on-action or :on-close has been
16883 passed as argument.
16884
16885 2012-03-07 Chong Yidong <cyd@gnu.org>
16886
16887 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16888 non-X platforms.
16889
16890 2012-03-06 Glenn Morris <rgm@gnu.org>
16891
16892 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16893 (x-disown-selection-internal, x-get-selection-internal):
16894 Doc fix (add arglist signatures). (Bug#10783)
16895
16896 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16897
16898 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16899 Handle breakpoints with no "type".
16900
16901 2012-03-06 Glenn Morris <rgm@gnu.org>
16902
16903 * files.el (locate-dominating-file): Add optional predicate argument.
16904 (dir-locals-find-file): Make use of above change.
16905
16906 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16907
16908 * info.el (Info-insert-dir): Also try "dir.gz".
16909
16910 2012-03-06 Glenn Morris <rgm@gnu.org>
16911
16912 * files.el (dir-locals-find-file):
16913 Ignore non-readable or non-regular files. (Bug#10928)
16914
16915 * files.el (locate-dominating-file): Doc fix.
16916
16917 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16918
16919 * calendar/calendar.el (calendar-set-mode-line):
16920 `getenv' returns a string. (Bug#10951)
16921
16922 2012-03-05 Leo Liu <sdl.web@gmail.com>
16923
16924 * simple.el (backward-delete-char-untabify): Constrain point to
16925 field (Bug#10939).
16926
16927 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16928
16929 2012-03-05 Chong Yidong <cyd@gnu.org>
16930
16931 * simple.el (count-words): If called from Lisp, return the word
16932 count, for symmetry with `count-lines'. Arglist changed.
16933 (count-words--message): Args changed. Consolidate counting code
16934 from count-words and count-words-region.
16935 (count-words-region): Caller changed.
16936 (count-lines-region): Make it an obsolete alias.
16937
16938 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16939
16940 * saveplace.el (save-place-to-alist)
16941 (save-place-ignore-files-regexp): Allow value nil to disable this
16942 feature.
16943
16944 2012-03-04 Chong Yidong <cyd@gnu.org>
16945
16946 * faces.el (face-spec-reset-face): For the default face, reset the
16947 attributes to default values (Bug#10748).
16948
16949 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16950
16951 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16952 previous patch: Check `message-send-mail-function', and not the
16953 default function (bug#10897).
16954
16955 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16956
16957 * notifications.el (notifications-on-action-signal)
16958 (notifications-on-closed-signal): Check for unique service name of
16959 incoming event. Fix error in removing entry.
16960 (top): Register for signals with wildcard service name.
16961 (notifications-notify): Use daemon unique service name for map entries.
16962
16963 2012-03-04 Chong Yidong <cyd@gnu.org>
16964
16965 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16966
16967 2012-03-04 Glenn Morris <rgm@gnu.org>
16968
16969 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16970 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16971 (expand-abbrev, define-abbrev-table): Doc fixes.
16972
16973 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16974
16975 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16976 `message-default-send-mail-function' and not `send-mail-function'
16977 when doing the prompting for `sendmail-query-once' before sending
16978 in Message buffers (bug#10897).
16979
16980 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16981 This is inconsistent with all the other stream functions, which leave
16982 the setting up to the higher levels (if so wanted) (bug#10931).
16983
16984 2012-03-02 Alan Mackenzie <acm@muc.de>
16985
16986 Depessimize the handling of very large macros.
16987
16988 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16989 (c-macro-cache-syntactic): New variables to implement a one
16990 element macro cache.
16991 (c-invalidate-macro-cache): New function.
16992 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16993 Adapt to use the new cache.
16994 (c-state-safe-place): Use better the cache of safe positions.
16995 (c-state-semi-nonlit-pos-cache)
16996 (c-state-semi-nonlit-pos-cache-limit):
16997 New variables for...
16998 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16999 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17000 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17001 Use c-state-semi-safe-place.
17002
17003 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17004 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17005
17006 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17007
17008 * jka-compr.el (jka-compr-call-process):
17009 Apply `file-accessible-directory-p' only when the default directory is
17010 not remote.
17011
17012 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17013
17014 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17015 access of FILE2, if FILE1 does not exist.
17016
17017 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17018 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17019
17020 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17021 Add "PAGER=" to `process-environment'.
17022
17023 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17024
17025 * progmodes/sql.el: Bug fix
17026 (sql-get-login-ext): Save login values in globals.
17027 (sql-get-login): Use new version of `sql-get-login-ext'.
17028 (sql-interactive-mode): Set global `sql-connection' to nil.
17029 (sql-connect): Set global values for connection.
17030 (sql-product-interactive): Save global values as buffer local.
17031
17032 2012-02-29 Leo Liu <sdl.web@gmail.com>
17033
17034 * abbrev.el (define-abbrevs): Reset sys to nil.
17035
17036 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17037
17038 * files.el (file-equal-p): Rename from `files-equal-p'.
17039 Return nil when one or both files don't exist.
17040 (file-subdir-of-p): Now only top directory must exists,
17041 return nil if it doesn't.
17042 (copy-directory): No need to test with `file-subdir-of-p' after
17043 creating dir.
17044 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17045 to `file-equal-p'.
17046
17047 2012-02-28 Glenn Morris <rgm@gnu.org>
17048
17049 * shell.el (shell-mode):
17050 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17051 * play/landmark.el (landmark-font-lock-face-O):
17052 * play/handwrite.el (handwrite):
17053 * play/gomoku.el (gomoku-O):
17054 * net/browse-url.el (browse-url-browser-display):
17055 * international/mule.el (define-charset):
17056 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17057 * filesets.el (filesets-find-file-delay):
17058 * eshell/em-xtra.el (eshell-xtra):
17059 * eshell/em-unix.el (eshell-grep):
17060 * emulation/viper.el (viper-mode):
17061 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17062 * emacs-lisp/easymenu.el (easy-menu-define):
17063 * calendar/timeclock.el (timeclock-use-display-time):
17064 * bs.el (bs-mode):
17065 * bookmark.el (bookmark-save-flag):
17066 Doc fix (standardize possessive apostrophe usage).
17067
17068 2012-02-27 Chong Yidong <cyd@gnu.org>
17069
17070 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17071 Fix key-binding lookup for ESC key (Bug#9146).
17072
17073 * font-lock.el (font-lock-specified-p): Rename from
17074 font-lock-spec-present. Callers changed.
17075
17076 2012-02-27 Daniel Hackney <dan@haxney.org>
17077
17078 * emacs-lisp/package.el (package-compute-transaction):
17079 Handle holding a package version to t in package-load-list.
17080
17081 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17082
17083 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17084 (tramp-get-inode, tramp-get-device): Use cached values.
17085
17086 2012-02-26 Alan Mackenzie <acm@muc.de>
17087
17088 Check there is a font-lock specification before doing initial
17089 fontification.
17090
17091 * font-core.el (font-lock-mode): Move the conditional from
17092 :after-hook to font-lock-initial-fontify.
17093 (font-lock-default-function): Move the check for a specification
17094 to font-lock-spec-present.
17095
17096 * font-lock.el (font-lock-initial-fontify): Call ...
17097 (font-lock-spec-present): New function.
17098
17099 2012-02-26 Jim Blandy <jimb@red-bean.com>
17100
17101 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17102 (gdb-send): Apply it to the operand of the '-interpreter-exec
17103 console' command, so that we can pass arguments with (say) quotes
17104 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17105
17106 2012-02-26 Chong Yidong <cyd@gnu.org>
17107
17108 * help-fns.el (describe-function-1): Clarify description of
17109 remapping (Bug#10844).
17110
17111 * files.el (files-equal-p): Doc fix.
17112 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17113 and quit the loop once a mismatch is found.
17114
17115 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17116
17117 * bs.el (bs--show-with-configuration): Don't throw an error
17118 if the window cannot be split; otherwise, subsequent calls to
17119 bs-show fail, restoring a stale window config. (Bug#10882)
17120
17121 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17122
17123 * term/ns-win.el (global-map): Bind ns-drag-file to
17124 ns-find-file (Bug#5855, Bug#10050).
17125
17126 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17127
17128 * calendar/parse-time.el (parse-time-string): Allow extractor to
17129 return nil.
17130
17131 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17132
17133 * net/tramp.el (tramp-file-name-for-operation):
17134 Add `files-equal-p' and `file-subdir-of-p'.
17135
17136 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17137 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17138 Add COPY-CONTENTS argument.
17139
17140 2012-02-25 Chong Yidong <cyd@gnu.org>
17141
17142 Add custom groups for VC backends, for consistency with vc-bzr.
17143
17144 * vc/vc-arch.el (vc-arch):
17145 * vc/vc-cvs.el (vc-cvs):
17146 * vc/vc-git.el (vc-git):
17147 * vc/vc-hg.el (vc-hg):
17148 * vc/vc-mtn.el (vc-mtn):
17149 * vc/vc-rcs.el (vc-rcs):
17150 * vc/vc-sccs.el (vc-sccs):
17151 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17152 All relevant defcustoms reassigned.
17153
17154 2012-02-25 Chong Yidong <cyd@gnu.org>
17155
17156 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17157
17158 * term/x-win.el (x-initialize-window-system): Reduce default for
17159 x-selection-timeout to 5 seconds (Bug#8869).
17160
17161 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17162
17163 * files.el (files-equal-p, file-subdir-of-p): New functions.
17164 (copy-directory): Error when trying to copy a directory on itself.
17165 Add missing copy-contents arg to tramp handler.
17166 * dired-aux.el (dired-copy-file-recursive): Same.
17167 (dired-create-files): Modify destination when source is equal to
17168 dest when copying files.
17169 Return also when dest is a subdir of source. (Bug#10489)
17170
17171 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17172
17173 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17174 (Bug#10874)
17175
17176 2012-02-23 Alan Mackenzie <acm@muc.de>
17177
17178 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17179 parameter "after-hook:" to allow the expansion to run code after
17180 the execution of the mode hooks.
17181
17182 * font-lock.el (font-lock-initial-fontify): New function extracted
17183 from font-lock-mode-internal.
17184
17185 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17186 :after-hook.
17187
17188 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17189
17190 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17191 (completion--cache-all-sorted-completions): New function.
17192 (completion-all-sorted-completions): Use it.
17193 (completion--do-completion, minibuffer-force-complete):
17194 Use it to re-instate the flush hook.
17195
17196 * icomplete.el (icomplete-completions): Replace last fix with a better
17197 one (bug#10850).
17198
17199 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17200
17201 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17202 when it might call us back infinitely (bug#10797).
17203
17204 2012-02-23 Glenn Morris <rgm@gnu.org>
17205
17206 * minibuffer.el (completion-category-overrides): Doc fix.
17207
17208 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17209
17210 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17211 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17212
17213 2012-02-23 Glenn Morris <rgm@gnu.org>
17214
17215 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17216 (authors-obsolete-files-regexps, authors-ignored-files)
17217 (authors-ambiguous-files, authors-renamed-files-alist):
17218 Add more entries.
17219
17220 2012-02-23 Juri Linkov <juri@jurta.org>
17221
17222 * isearch.el (isearch-occur): Sync interactive spec with occur's
17223 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17224
17225 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17226
17227 2012-02-22 Juri Linkov <juri@jurta.org>
17228
17229 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17230 (ucs-insert): Doc fix. Check for hex digits in the string.
17231 Don't display `nil' in the error message. (Bug#10857)
17232
17233 2012-02-22 Alan Mackenzie <acm@muc.de>
17234
17235 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17236
17237 2012-02-22 Glenn Morris <rgm@gnu.org>
17238
17239 * ffap.el (ffap-c-path):
17240 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17241
17242 2012-02-22 Chong Yidong <cyd@gnu.org>
17243
17244 * custom.el (load-theme): Doc fix.
17245
17246 2012-02-22 Glenn Morris <rgm@gnu.org>
17247
17248 * dired-x.el (dired-guess-shell-alist-default):
17249 Remove escape sequences from nroff output. (Bug#172)
17250
17251 2012-02-21 Glenn Morris <rgm@gnu.org>
17252
17253 * vc/emerge.el (emerge-defvar-local):
17254 Set `permanent-local' property rather than unused `preserved'.
17255
17256 * textmodes/picture.el (picture-delete-char): New alias.
17257 (picture-mode-map): Use it. (Bug#10860)
17258 (picture-mode): Doc fix.
17259
17260 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17261
17262 * newcomment.el (uncomment-region-default): Remove unused binding.
17263
17264 2012-02-21 Glenn Morris <rgm@gnu.org>
17265
17266 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17267 (picture-self-insert, picture-tab-chars): Doc fix.
17268 (picture-mode-map): Fix C-a, C-e.
17269
17270 2012-02-20 Glenn Morris <rgm@gnu.org>
17271
17272 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17273
17274 2012-02-20 Leo Liu <sdl.web@gmail.com>
17275
17276 * icomplete.el (icomplete-completions): Check FROM arg before
17277 passing to substring (Bug#10850).
17278
17279 2012-02-19 Chong Yidong <cyd@gnu.org>
17280
17281 * comint.el: Require ansi-color.
17282 (comint-output-filter-functions): Add ansi-color-process-output.
17283
17284 * ansi-color.el: Don't set comint-output-filter-functions; it is
17285 now in the initial value defined in comint.el.
17286 (ansi-color-apply-face-function): New variable.
17287 (ansi-color-apply-on-region): Use it.
17288 (ansi-color-apply-overlay-face): New function.
17289
17290 * shell.el (shell): No need to require ansi-color.
17291 (shell-mode): Use ansi-color-apply-face-function to highlight
17292 color escapes using font-lock-face property (Bug#10835).
17293
17294 2012-02-19 Chong Yidong <cyd@gnu.org>
17295
17296 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17297 mode-line formats (Bug#10839).
17298
17299 2012-02-18 Glenn Morris <rgm@gnu.org>
17300
17301 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17302
17303 * mail/undigest.el (unforward-rmail-message): Doc fix.
17304
17305 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17306
17307 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17308
17309 * international/characters.el (script-list): Sync with the latest
17310 Unicode Character Database.
17311
17312 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17313
17314 * international/titdic-cnv.el: Remove duplicate coding tag.
17315 * language/cham.el: Likewise.
17316 * language/tai-viet.el: Likewise.
17317
17318 2012-02-18 Glenn Morris <rgm@gnu.org>
17319
17320 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17321 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17322 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17323 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17324 * calendar/holidays.el (holiday-bahai-holidays)
17325 (calendar-holidays, list-holidays):
17326 Use utf-8 Bahá'í in doc-strings, menus, etc.
17327
17328 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17329
17330 * saveplace.el (save-place-ignore-files-regexp): New variable
17331 allowing for excluding files from saving their location of point.
17332 The default value matches the temporary commit message editing
17333 files from Git, SVN, Bazaar, and Mercurial.
17334 (save-place-to-alist): Use it.
17335
17336 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17337 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * newcomment.el (uncomment-region-default): Don't leave extra space
17340 when an arg is provided (bug#8150).
17341
17342 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17343
17344 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17345
17346 2012-02-17 Glenn Morris <rgm@gnu.org>
17347
17348 * net/socks.el: Require network-stream. (Bug#10599)
17349
17350 2012-02-17 Kenichi Handa <handa@m17n.org>
17351
17352 * international/charprop.el:
17353 * international/uni-name.el:
17354 * international/uni-old-name.el:
17355 * international/uni-comment.el: Regenerate.
17356
17357 2012-02-16 Glenn Morris <rgm@gnu.org>
17358
17359 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17360 Interactively in calendar buffer, give an error if not on a date.
17361
17362 2012-02-15 Glenn Morris <rgm@gnu.org>
17363
17364 * shell.el (shell-delimiter-argument-list):
17365 Revert 2011-02-17 change. (Bug#8027)
17366
17367 2012-02-15 Chong Yidong <cyd@gnu.org>
17368
17369 * minibuffer.el (completion-at-point-functions): Doc fix.
17370
17371 * custom.el (defcustom): Doc fix; note use of defvar.
17372
17373 2012-02-15 Glenn Morris <rgm@gnu.org>
17374
17375 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17376 Doc fixes.
17377
17378 2012-02-14 Glenn Morris <rgm@gnu.org>
17379
17380 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17381
17382 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17383
17384 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17385 way the ports list is computed.
17386 (smtpmail-query-smtp-server): Prompt the user for a port number if
17387 we can't connect to any of the standard ports (bug#10810).
17388
17389 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17390
17391 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17392
17393 2012-02-13 Glenn Morris <rgm@gnu.org>
17394
17395 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17396
17397 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17398
17399 * net/gnutls.el (gnutls-trustfiles): New variable.
17400 (gnutls-negotiate): Use it.
17401
17402 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17403
17404 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17405 does its stuff if Gnus is running.
17406
17407 2012-02-13 Alan Mackenzie <acm@muc.de>
17408
17409 Fix a loop in c-set-fl-decl-start.
17410
17411 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17412 c-backward-syntactic-ws actually moves backwards.
17413
17414 2012-02-13 Leo Liu <sdl.web@gmail.com>
17415
17416 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17417 beginning so that all \C-o chars are removed.
17418
17419 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17420
17421 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17422
17423 2012-02-12 Alan Mackenzie <acm@muc.de>
17424
17425 Fix infinite loop with long macros.
17426 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17427
17428 2012-02-12 Chong Yidong <cyd@gnu.org>
17429
17430 * window.el (display-buffer): Doc fix (Bug#10785).
17431
17432 2012-02-12 Glenn Morris <rgm@gnu.org>
17433
17434 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17435 (x-disown-selection-internal, x-get-selection-internal):
17436 Sync docs with the xselect.c versions.
17437
17438 * allout-widgets.el: Add missing license notice.
17439
17440 2012-02-11 Glenn Morris <rgm@gnu.org>
17441
17442 * select.el (x-get-selection-internal, x-own-selection-internal)
17443 (x-disown-selection-internal):
17444 * x-dnd.el (x-get-selection-internal): Update declarations.
17445
17446 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17447
17448 * window.el (window-sides-slots):
17449 * tool-bar.el (tool-bar-position):
17450 * term/xterm.el (xterm-extra-capabilities):
17451 * ses.el (ses-self-reference-early-detection):
17452 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17453 (verilog-auto-wire-type)
17454 (verilog-auto-delete-trailing-whitespace)
17455 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17456 (verilog-auto-tieoff-declaration):
17457 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17458 (sql-oracle-statement-starters, sql-oracle-scan-on):
17459 * progmodes/prolog.el (prolog-align-comments-flag)
17460 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17461 (prolog-left-indent-regexp, prolog-paren-indent-p)
17462 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17463 (prolog-types, prolog-mode-specificators)
17464 (prolog-determinism-specificators, prolog-directives)
17465 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17466 (prolog-electric-dot-flag)
17467 (prolog-electric-dot-full-predicate-template)
17468 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17469 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17470 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17471 (prolog-program-switches, prolog-prompt-regexp)
17472 (prolog-debug-on-string, prolog-debug-off-string)
17473 (prolog-trace-on-string, prolog-trace-off-string)
17474 (prolog-zip-on-string, prolog-zip-off-string)
17475 (prolog-use-standard-consult-compile-method-flag)
17476 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17477 (prolog-imenu-max-lines, prolog-info-predicate-index)
17478 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17479 (prolog-char-quote-workaround):
17480 * progmodes/cc-vars.el (c-defun-tactic):
17481 * net/tramp.el (tramp-encoding-command-interactive)
17482 (tramp-local-end-of-line):
17483 * net/soap-client.el (soap-client):
17484 * net/netrc.el (netrc-file):
17485 * net/gnutls.el (gnutls):
17486 * minibuffer.el (completion-category-overrides)
17487 (completion-cycle-threshold)
17488 (completion-pcm-complete-word-inserts-delimiters):
17489 * man.el (Man-name-local-regexp):
17490 * mail/feedmail.el (feedmail-display-full-frame):
17491 * international/characters.el (glyphless-char-display-control):
17492 * eshell/em-ls.el (eshell-ls-date-format):
17493 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17494 (lisp-lambda-list-keyword-parameter-indentation)
17495 (lisp-lambda-list-keyword-parameter-alignment):
17496 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17497 * dired-x.el (dired-omit-verbose):
17498 * cus-theme.el (custom-theme-allow-multiple-selections):
17499 * calc/calc.el (calc-highlight-selections-with-faces)
17500 (calc-lu-field-reference, calc-lu-power-reference)
17501 (calc-note-threshold):
17502 * battery.el (battery-mode-line-limit):
17503 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17504 (archive-7z-update):
17505 * allout.el (allout-prefixed-keybindings)
17506 (allout-unprefixed-keybindings)
17507 (allout-inhibit-auto-fill-on-headline)
17508 (allout-flattened-numbering-abbreviation):
17509 * allout-widgets.el (allout-widgets-auto-activation)
17510 (allout-widgets-icons-dark-subdir)
17511 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17512 (allout-widgets-theme-dark-background)
17513 (allout-widgets-theme-light-background)
17514 (allout-widgets-item-image-properties-emacs)
17515 (allout-widgets-item-image-properties-xemacs)
17516 (allout-widgets-run-unit-tests-on-load)
17517 (allout-widgets-time-decoration-activity)
17518 (allout-widgets-hook-error-post-time)
17519 (allout-widgets-track-decoration):
17520 Add missing :version tags to new defcustoms and defgroups.
17521
17522 * progmodes/sql.el (sql-ansi-statement-starters)
17523 (sql-oracle-statement-starters): Add custom type.
17524
17525 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17526 (prolog-system-version): Give it a type.
17527
17528 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17529
17530 * term/pc-win.el (x-select-text, x-selection-owner-p)
17531 (x-own-selection-internal, x-disown-selection-internal)
17532 (x-get-selection-internal): Sync doc strings and argument lists
17533 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17534
17535 2012-02-11 Leo Liu <sdl.web@gmail.com>
17536
17537 * progmodes/python.el (python-end-of-statement): Fix infinite
17538 loop. (Bug#10788)
17539
17540 2012-02-10 Glenn Morris <rgm@gnu.org>
17541
17542 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17543 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17544
17545 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17546
17547 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17548 about SMTP before checking the From header.
17549
17550 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17551 into own function for reuse by emacsbug.el.
17552
17553 2012-02-10 Leo Liu <sdl.web@gmail.com>
17554
17555 * subr.el (condition-case-unless-debug): Rename from
17556 condition-case-no-debug. All callers changed.
17557 (with-demoted-errors): Fix caller.
17558
17559 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17560 * nxml/rng-valid.el (rng-do-some-validation):
17561 * emacs-lisp/package.el (package-refresh-contents)
17562 (package-menu-execute):
17563 * desktop.el (desktop-create-buffer):
17564 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17565
17566 2012-02-10 Glenn Morris <rgm@gnu.org>
17567
17568 * textmodes/bibtex.el:
17569 Add missing :version tags for new/changed defcustoms.
17570
17571 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17572
17573 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17574
17575 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17576 (smtpmail-via-smtp): Use it, or fall back on the From address.
17577 (smtpmail-send-it): Ditto.
17578
17579 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17580
17581 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17582 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17583 (byte-compile-tmp-var): New const.
17584 (byte-compile-defvar): Use it to minimize .elc size.
17585 Just use `defvar' rather than simulate it (bug#10761).
17586
17587 2012-02-09 Glenn Morris <rgm@gnu.org>
17588
17589 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17590
17591 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17592 Add :version tags.
17593
17594 * progmodes/compile.el (compilation-error-screen-columns)
17595 (compilation-first-column, compilation-filter-start): Doc fixes.
17596
17597 * vc/log-view.el (log-view-toggle-entry-display):
17598 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17599
17600 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17601 (report-emacs-bug-can-use-xdg-email):
17602 (report-emacs-bug-insert-to-mailer): Doc fixes.
17603 (report-emacs-bug): Message fix.
17604
17605 * net/browse-url.el (browse-url-can-use-xdg-open)
17606 (browse-url-xdg-open): Doc fixes.
17607
17608 * electric.el (electric-indent-mode, electric-pair-mode)
17609 (electric-layout-rules, electric-layout-mode): Doc fixes.
17610 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17611
17612 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17613
17614 * server.el (server-unselect-display): Don't inadvertently kill
17615 the current buffer. (Bug#10729)
17616
17617 2012-02-08 Glenn Morris <rgm@gnu.org>
17618
17619 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17620 (sql-list-table): Doc fixes.
17621
17622 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17623 Comment out (does nothing).
17624
17625 * completion.el (dynamic-completion-mode):
17626 * dirtrack.el (dirtrack-debug-mode):
17627 * electric.el (electric-layout-mode):
17628 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17629 * face-remap.el (text-scale-mode, buffer-face-mode):
17630 * iimage.el (iimage-mode):
17631 * image-mode.el (image-transform-mode):
17632 * minibuffer.el (completion-in-region-mode):
17633 * scroll-lock.el (scroll-lock-mode):
17634 * simple.el (next-error-follow-minor-mode):
17635 * tar-mode.el (tar-subfile-mode):
17636 * tooltip.el (tooltip-mode):
17637 * vcursor.el (vcursor-use-vcursor-map):
17638 * wid-browse.el (widget-minor-mode):
17639 * emulation/tpu-edt.el (tpu-edt-mode):
17640 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17641 * international/iso-ascii.el (iso-ascii-mode):
17642 * language/thai-util.el (thai-word-mode):
17643 * mail/supercite.el (sc-minor-mode):
17644 * net/goto-addr.el (goto-address-mode):
17645 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17646 * progmodes/cwarn.el (cwarn-mode):
17647 * progmodes/flymake.el (flymake-mode):
17648 * progmodes/glasses.el (glasses-mode):
17649 * progmodes/hideshow.el (hs-minor-mode):
17650 * progmodes/pascal.el (pascal-outline-mode):
17651 * textmodes/enriched.el (enriched-mode):
17652 * vc/smerge-mode.el (smerge-mode):
17653 Doc fixes (minor mode argument).
17654
17655 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17656
17657 * ls-lisp.el (ls-lisp-sanitize): New function.
17658 (ls-lisp-insert-directory): Use it to fix or remove any elements
17659 in file-alist with missing attributes. (Bug#4673)
17660
17661 2012-02-07 Alan Mackenzie <acm@muc.de>
17662
17663 Fix spurious recognition of c-in-knr-argdecl.
17664
17665 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17666 putative K&R region.
17667
17668 2012-02-07 Alan Mackenzie <acm@muc.de>
17669
17670 * progmodes/cc-engine.el (c-forward-objc-directive):
17671 Prevent looping in "#pragma mark @implementation".
17672
17673 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17674
17675 * notifications.el (notifications-on-closed-signal): Make `reason'
17676 optional. (Bug#10744)
17677
17678 2012-02-07 Glenn Morris <rgm@gnu.org>
17679
17680 * emacs-lisp/easy-mmode.el (define-minor-mode):
17681 Doc fixes for the macro and the mode it defines.
17682
17683 * image.el (imagemagick-types-inhibit): Doc fix.
17684
17685 * cus-start.el (imagemagick-render-type): Add it.
17686
17687 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17688
17689 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17690 Set the default at load time, too, so that `font-lock-fontify-buffer'
17691 can be called without setting up the entire mode first. This fixes
17692 a bug in `mm-inline-text' with C MIME parts.
17693
17694 2012-02-06 Chong Yidong <cyd@gnu.org>
17695
17696 * simple.el (list-processes--refresh): Delete exited processes
17697 (Bug#8094).
17698
17699 * comint.el (comint-next-prompt): next-single-char-property-change
17700 and prev-single-char-property-change never return nil (Bug#8657).
17701
17702 * custom.el (defcustom): Doc fix (Bug#9711).
17703
17704 2012-02-05 Chong Yidong <cyd@gnu.org>
17705
17706 * cus-edit.el (custom-variable-reset-backup): Quote the value
17707 before storing it in the customized-value property (Bug#6712).
17708 (custom-display): Add a customization type tag.
17709 (custom-buffer-create-internal): Improve tooltip message.
17710
17711 * wid-edit.el (widget-field-value-get): New optional arg to
17712 suppress trailing whitespace truncation.
17713 (character): Use it (Bug#2689).
17714
17715 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17716
17717 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17718 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17719
17720 2012-02-05 Chong Yidong <cyd@gnu.org>
17721
17722 * cus-edit.el (custom-variable-value-create): For mismatched
17723 types, show the current value (Bug#7600).
17724
17725 * custom.el (defcustom): Doc fix.
17726
17727 2012-02-05 Glenn Morris <rgm@gnu.org>
17728
17729 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17730
17731 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17732
17733 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17734 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17735 (pp-last-sexp): Use `looking-at-p'.
17736
17737 2012-02-04 Glenn Morris <rgm@gnu.org>
17738
17739 * files.el (revert-buffer):
17740 Doc fix (mention revert-buffer-in-progress-p).
17741
17742 * emacs-lisp/ert-x.el (ert-simulate-command):
17743 Check deferred-action-list (which is obsolete) is bound.
17744
17745 * subr.el (with-wrapper-hook): Doc fixes.
17746
17747 * simple.el (filter-buffer-substring-functions)
17748 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17749
17750 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17751
17752 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17753 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17754
17755 2012-02-04 Leo Liu <sdl.web@gmail.com>
17756
17757 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17758
17759 2012-02-04 Glenn Morris <rgm@gnu.org>
17760
17761 * image.el (image-extension-data): Add obsolete alias.
17762
17763 * isearch.el (isearch-update): Doc fix.
17764
17765 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17766
17767 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17768
17769 2012-02-03 Glenn Morris <rgm@gnu.org>
17770
17771 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17772 (image-animate-timeout): Doc fix.
17773
17774 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17775
17776 2012-02-02 Glenn Morris <rgm@gnu.org>
17777
17778 * server.el (server-auth-dir): Doc fix.
17779 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17780
17781 * subr.el (run-mode-hooks): Doc fix.
17782
17783 2012-02-02 Juri Linkov <juri@jurta.org>
17784
17785 * image-mode.el (image-toggle-display-image): Remove tautological
17786 `major-mode' from the `derived-mode-p' test.
17787
17788 2012-02-02 Kenichi Handa <handa@m17n.org>
17789
17790 * composite.el (compose-region): Cancel previous change.
17791
17792 2012-02-02 Kenichi Handa <handa@m17n.org>
17793
17794 * composite.el (compose-region, compose-string): Signal error for
17795 a null string component (Bug#6988).
17796
17797 2012-02-01 Chong Yidong <cyd@gnu.org>
17798
17799 * view.el (view-buffer-other-window, view-buffer-other-frame):
17800 Handle special modes like view-buffer (Bug#10650).
17801 (view-buffer): Simplify.
17802
17803 * frame.el (set-frame-font): Tweak meaning of third argument.
17804
17805 * dynamic-setting.el (font-setting-change-default-font):
17806 Use set-frame-font (Bug#9982).
17807
17808 2012-02-01 Glenn Morris <rgm@gnu.org>
17809
17810 * progmodes/compile.el (compilation-internal-error-properties):
17811 Respect compilation-first-column in the "*compilation*" buffer.
17812
17813 * emacs-lisp/easy-mmode.el (define-minor-mode):
17814 Relax :variable's test for a named function.
17815
17816 2012-01-31 Alan Mackenzie <acm@muc.de>
17817
17818 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17819 off by one error.
17820
17821 2012-01-31 Chong Yidong <cyd@gnu.org>
17822
17823 * frame.el (set-frame-font): New arg ALL-FRAMES.
17824
17825 * menu-bar.el (menu-set-font): Use set-frame-font.
17826
17827 * faces.el (face-spec-reset-face): Don't apply unspecified
17828 attribute values to the default face.
17829
17830 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17831
17832 * progmodes/cwarn.el (cwarn): Remove dead link.
17833 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17834 Remove * from defcustom docstrings.
17835 (turn-on-cwarn-mode): Make obsolete.
17836 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17837 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17838
17839 2012-01-31 Glenn Morris <rgm@gnu.org>
17840
17841 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17842 Fix :variable handling of mode a symbol not equal to modefun.
17843 Allow named functions to be used as the cdr of :variable.
17844
17845 2012-01-30 Glenn Morris <rgm@gnu.org>
17846
17847 * emacs-lisp/authors.el (authors-fixed-entries):
17848 Remove reference to deleted file rnewspost.el.
17849
17850 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17851
17852 * window.el (window-with-parameter): Remove unused variable `windows'.
17853 (window--side-check): Remove unused variable `code'.
17854 (window--resize-siblings): Remove unused variable `first'.
17855 (adjust-window-trailing-edge): Remove unused variable `failed'.
17856 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17857 Use `let', not `let*'.
17858 (balance-windows-2): Remove unused variable `found'.
17859 (window--state-put-2): Remove unused variable `splits'.
17860 (window-state-put): Remove unused variable `selected'.
17861 (same-window-p): Use `string-match-p'.
17862 (display-buffer-assq-regexp): Remove unused variable `value'.
17863 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17864 Mark argument ALIST as ignored.
17865 (pop-to-buffer): Remove unused variable `old-window'.
17866
17867 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17868
17869 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17870 and .lzma compressed files.
17871
17872 2012-01-29 Chong Yidong <cyd@gnu.org>
17873
17874 * frame.el (window-system-default-frame-alist): Doc fix.
17875
17876 * dynamic-setting.el (font-setting-change-default-font): Don't
17877 change the default face if SET-FONT argument is non-nil (Bug#9982).
17878
17879 2012-01-29 Samuel Bronson <naesten@gmail.com>
17880
17881 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17882
17883 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17884
17885 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17886 breakpoints in files outside current directory (Bug#6098).
17887
17888 2012-01-29 Chong Yidong <cyd@gnu.org>
17889
17890 * progmodes/python.el: Require ansi-color at top-level.
17891
17892 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17893 Define and use in Emacs Lisp mode (Bug#9360).
17894 (lisp-mode-abbrev-table): Add doc.
17895 (lisp-mode-variables): Don't set local-abbrev-table.
17896 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17897
17898 2012-01-28 Roland Winkler <winkler@gnu.org>
17899
17900 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17901
17902 2012-01-28 Roland Winkler <winkler@gnu.org>
17903
17904 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17905 (bibtex-set-dialect): Use it. Either set global values of
17906 dialect-dependent variables or bind these variables buffer-locally
17907 (Bug#10254).
17908 (bibtex-mode): Call bibtex-set-dialect via
17909 hack-local-variables-hook.
17910 (bibtex-dialect): Update docstring.
17911 Add safe-local-variable predicate.
17912 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17913 bibtex-set-dialect.
17914 (bibtex-mode-map): Define menu for each dialect.
17915 (bibtex-entry): Fix docstring.
17916
17917 2012-01-28 Chong Yidong <cyd@gnu.org>
17918
17919 * eshell/esh-arg.el (eshell-quote-argument): New function.
17920
17921 * eshell/esh-ext.el (eshell-invoke-batch-file):
17922 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17923 first arg to eshell-parse-command (Bug#10523).
17924
17925 2012-01-28 Drew Adams <drew.adams@oracle.com>
17926
17927 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17928 `default-directory' is non-nil.
17929
17930 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17931
17932 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17933 line that displays system-configuration-options. (Bug#9924)
17934
17935 2012-01-28 Drew Adams <drew.adams@oracle.com>
17936
17937 * descr-text.el (describe-char): Show information about POS, in
17938 addition to information about the character at POS. Improve and
17939 update the doc string. Change "code point" to "code point in
17940 charset", to avoid confusion with the character's Unicode code
17941 point shown above that. (Bug#10129)
17942
17943 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17944
17945 * descr-text.el (describe-char): Show the raw character, not only
17946 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17947 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17948 for the reasons.
17949
17950 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17951
17952 * emacs-lisp/package.el (package-install):
17953 Run package-refresh-contents if there is no archive yet (Bug#9798).
17954
17955 2012-01-28 Chong Yidong <cyd@gnu.org>
17956
17957 * emacs-lisp/package.el (package-maybe-load-descriptor):
17958 New function, split from package-maybe-load-descriptor.
17959 (package-maybe-load-descriptor): Use it.
17960 (package-download-transaction): Fully load required packages
17961 inside the loop, so that `require' calls work (Bug#10593).
17962 (package-install): No need to call package-initialize now.
17963
17964 2012-01-28 Chong Yidong <cyd@gnu.org>
17965
17966 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17967
17968 * tooltip.el (tooltip-mode): Doc fix.
17969 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17970
17971 * frame.el (set-cursor-color): Doc fix (Bug#352).
17972
17973 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17974 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17975
17976 * cus-edit.el (custom-buffer-create-internal): Fix search button
17977 action (Bug#10542).
17978 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17979
17980 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17981
17982 * dired.el (dired-mark-files-regexp):
17983 Include any subdirectory components. (Bug#10445)
17984
17985 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17986
17987 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17988 Handle [host]:port syntax. (Bug#10533)
17989
17990 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17991
17992 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17993
17994 2012-01-26 Glenn Morris <rgm@gnu.org>
17995
17996 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17997 * term.el (term-raw-escape-map): Use Control-X-prefix.
17998 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17999
18000 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18001
18002 * window.el (window-state-get, window--state-get-1): Don't deal
18003 with fixed-sizeness of windows. Simplify code.
18004
18005 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18006
18007 * window.el (window--state-get-1, window--state-put-2):
18008 Don't save and restore the mark.
18009
18010 2012-01-25 Chong Yidong <cyd@gnu.org>
18011
18012 * custom.el (custom-variable-p): Doc fix.
18013
18014 2012-01-25 Glenn Morris <rgm@gnu.org>
18015
18016 * dired.el (dired-goto-file): Handle some of the more common
18017 characters that `ls -b' escapes. (Bug#10596)
18018
18019 * progmodes/compile.el (compilation-next-error-function):
18020 Respect compilation-first-column in the "*compilation*" buffer.
18021 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18022
18023 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18024
18025 2012-01-24 Glenn Morris <rgm@gnu.org>
18026
18027 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18028
18029 2012-01-24 Julien Danjou <julien@danjou.info>
18030
18031 * color.el (color-rgb-to-hsl): Fix value computing.
18032 (color-hue-to-rgb): New function.
18033 (color-hsl-to-rgb): New function.
18034 (color-clamp, color-saturate-hsl, color-saturate-name)
18035 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18036 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18037
18038 2012-01-24 Glenn Morris <rgm@gnu.org>
18039
18040 * vc/vc-rcs.el (vc-rcs-create-tag):
18041 * vc/vc-sccs.el (vc-sccs-create-tag):
18042 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18043
18044 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18045
18046 * eshell/esh-util.el (eshell-read-hosts-file):
18047 Skip comment lines. (Bug#10549)
18048
18049 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18050
18051 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18052
18053 * subr.el (display-delayed-warnings): Doc fix.
18054 (collapse-delayed-warnings): New function to collapse identical
18055 adjacent warnings.
18056 (delayed-warnings-hook): Add it.
18057
18058 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18059
18060 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18061
18062 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18063 (tramp-default-user-alist): Don't add "pscp".
18064 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18065 property "login-as", if set. (Bug#10530)
18066
18067 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18068
18069 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18070 "plink1" and "psftp". (Bug#10530)
18071
18072 2012-01-21 Kenichi Handa <handa@m17n.org>
18073
18074 * international/mule-cmds.el (prefer-coding-system): Show a
18075 warning message if the default value of file-name-coding-system
18076 was not changed.
18077
18078 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18079
18080 * windmove.el (windmove-reference-loc):
18081 Fix windmove-reference-loc miscalculation.
18082
18083 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18084
18085 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18086 default unit.
18087
18088 2012-01-21 Glenn Morris <rgm@gnu.org>
18089
18090 * international/mule.el (auto-coding-alist): Add .tbz.
18091
18092 * files.el (local-enable-local-variables): Doc fix.
18093 (inhibit-local-variables-regexps): Rename from
18094 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18095 Doc fix. Add some extensions from auto-coding-alist.
18096 (inhibit-local-variables-suffixes):
18097 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18098 (inhibit-local-variables-p):
18099 New function, extracted from set-auto-mode-1.
18100 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18101 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18102 (hack-local-variables): Doc fix. Make the mode-only case
18103 respect enable-local-variables and friends.
18104 Respect inhibit-local-variables-regexps for file-locals, but
18105 not for directory-locals.
18106 (set-visited-file-name):
18107 Take account of inhibit-local-variables-regexps.
18108 Whether it applies may change as the file name is changed.
18109 * jka-cmpr-hook.el (jka-compr-install):
18110 * jka-compr.el (jka-compr-uninstall):
18111 Update for inhibit-first-line-modes-suffixes name change.
18112
18113 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18114
18115 * help-macro.el (make-help-screen): Temporarily restore original
18116 binding for minor-mode-map-alist (Bug#10454).
18117
18118 2012-01-19 Julien Danjou <julien@danjou.info>
18119
18120 * color.el (color-name-to-rgb): Use the white color to find the max
18121 color component value and return correctly computed values.
18122 (color-name-to-rgb): Add missing float conversion for max value.
18123
18124 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18125
18126 * window.el (window--state-get-1, window-state-get): Do not use
18127 special state value for window-persistent-parameters.
18128 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18129 (window--state-put-2): Reset all window parameters to nil before
18130 assigning values of persistent parameters.
18131
18132 2012-01-18 Alan Mackenzie <acm@muc.de>
18133
18134 Eliminate sluggishness and hangs in fontification of "semicolon
18135 deserts".
18136
18137 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18138 Change value 10000 -> 3000.
18139 (c-state-safe-place): Reformulate so it doesn't stack up an
18140 infinite number of wrong entries in c-state-nonlit-pos-cache.
18141 (c-determine-limit-get-base, c-determine-limit): New functions to
18142 determine backward search limits disregarding literals.
18143 (c-find-decl-spots): Amend commenting.
18144 (c-cheap-inside-bracelist-p): New function which detects "={".
18145
18146 * progmodes/cc-fonts.el
18147 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18148 backward search.
18149 (c-font-lock-declarations): Fix an occurrence of point being
18150 undefined. Check additionally for point being in a bracelist or
18151 near a macro invocation without a semicolon so as to avoid a
18152 fruitless time consuming search for a declarator. Give a more
18153 precise search limit for declarators using the new
18154 c-determine-limit.
18155
18156 2012-01-18 Glenn Morris <rgm@gnu.org>
18157
18158 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18159 (set-auto-mode): Doc fixes.
18160
18161 2012-01-17 Glenn Morris <rgm@gnu.org>
18162
18163 * isearch.el (search-nonincremental-instead): Fix doc typo.
18164
18165 * dired.el (dired-insert-directory): Handle newlines in directory name.
18166 (dired-build-subdir-alist): Unescape newlines in directory name.
18167
18168 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18169
18170 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18171 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18172 (tramp-action-terminal): Use it. (Bug#10530)
18173
18174 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18175
18176 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18177
18178 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18179
18180 * window.el (window-state-ignored-parameters): Remove variable.
18181 (window--state-get-1): Rename argument MARKERS to IGNORE.
18182 Handle persistent window parameters. Make copy of clone-of
18183 parameter only if requested. (Bug#10348)
18184 (window--state-put-2): Install a window parameter only if it has
18185 a non-nil value or an existing parameter shall be overwritten.
18186
18187 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18188
18189 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18190
18191 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18192
18193 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18194 don't pass the (nil) value of `upnode' to string-match.
18195
18196 2012-01-14 Chong Yidong <cyd@gnu.org>
18197
18198 * startup.el (command-line): Fix X resource class for cursorColor.
18199 Fix values recognized by the cursorBlink resource.
18200
18201 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18202
18203 * epg.el (epg--make-temp-file): Avoid permission race condition
18204 when running on old Emacs versions (bug#10403).
18205
18206 2012-01-14 Glenn Morris <rgm@gnu.org>
18207
18208 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18209
18210 2012-01-13 Alan Mackenzie <acm@muc.de>
18211
18212 Fix filling for when filladapt mode is enabled.
18213
18214 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18215 c-mask-paragraph, pass in `fill-paragraph' rather than
18216 `fill-region-as-paragraph'. (This is a reversion of a previous
18217 change.)
18218 * progmodes/cc-mode.el (c-basic-common-init):
18219 Make fill-paragraph-handle-comment buffer local and set it to nil.
18220
18221 2012-01-13 Glenn Morris <rgm@gnu.org>
18222
18223 * dired.el (dired-switches-escape-p): New function.
18224 (dired-insert-directory): Use dired-switches-escape-p.
18225 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18226
18227 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18228
18229 2012-01-12 Glenn Morris <rgm@gnu.org>
18230
18231 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18232 changes in adaptive-fill-regexp. (Bug#10276)
18233
18234 2012-01-11 Alan Mackenzie <acm@muc.de>
18235
18236 Fix Emacs bug #10463 - put `widen's around the critical spots.
18237
18238 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18239 widen around each invocation of c-state-pp-to-literal. Remove an
18240 unused let variable.
18241
18242 2012-01-11 Glenn Morris <rgm@gnu.org>
18243
18244 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18245 Doc fix.
18246
18247 2012-01-10 Chong Yidong <cyd@gnu.org>
18248
18249 * net/network-stream.el (network-stream-open-starttls):
18250 Avoid emitting a confusing error message when the server gives a bad
18251 response to the capability command.
18252
18253 2012-01-10 Glenn Morris <rgm@gnu.org>
18254
18255 * mail/unrmail.el (unrmail): Tweak previous change.
18256
18257 2012-01-09 Chong Yidong <cyd@gnu.org>
18258
18259 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18260
18261 2012-01-08 Alan Mackenzie <acm@muc.de>
18262
18263 Optimize font locking in long enum definitions.
18264
18265 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18266 arm to a cond form to handle enums.
18267 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18268 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18269
18270 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18271
18272 * files.el (move-file-to-trash): Preserve default file modes on error.
18273 (Bug#10401)
18274
18275 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18276
18277 * faces.el (set-face-attribute): Clarify the meaning of the nil
18278 frame (bug#10294).
18279
18280 * subr.el (with-selected-frame): Mention that the selected frame
18281 is restored (bug#9980).
18282
18283 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18284 (bug#9759).
18285
18286 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18287 (password-read): Don't autoload unused function.
18288
18289 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18290
18291 * progmodes/which-func.el (which-func-mode): Turn into a
18292 non-interactive function and mark as obsolete (bug#10428).
18293
18294 2012-01-06 Chong Yidong <cyd@gnu.org>
18295
18296 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18297 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18298 functions, along with 1 and -1.
18299
18300 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18301
18302 * time.el (display-time-load-average)
18303 (display-time-default-load-average): Doc fixes. See the thread
18304 starting at
18305 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18306 for the details.
18307
18308 2012-01-06 Glenn Morris <rgm@gnu.org>
18309
18310 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18311 has no messages. (Bug#10377)
18312
18313 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18314 than Info-edit. (Bug#10385)
18315
18316 * time.el (display-time-load-average, display-time-next-load-average):
18317 Doc fixes.
18318
18319 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18320 local setting of buffer-read-only to the input buffer. (Bug#10419)
18321
18322 * calendar/calendar.el (calendar-mode):
18323 Locally set scroll-margin to 0. (Bug#10379)
18324
18325 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18326
18327 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18328
18329 2012-01-05 Glenn Morris <rgm@gnu.org>
18330
18331 * eshell/em-unix.el (diff-no-select): Autoload it.
18332 (eshell/diff): Use diff-no-select. (Bug#10420)
18333
18334 2012-01-05 Chong Yidong <cyd@gnu.org>
18335
18336 * shell.el (shell-dynamic-complete-functions): Revert last change.
18337 (shell-command-completion-function): New function.
18338 (shell-completion-vars): Use it to implement
18339 shell-completion-execonly (Bug#10417).
18340
18341 * custom.el (enable-theme): Don't set custom-safe-themes.
18342
18343 * cus-theme.el (custom-theme-merge-theme):
18344 Ignore custom-enabled-themes and custom-safe-themes.
18345
18346 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18347
18348 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18349 first prompt in `sql-interacive-mode'.
18350 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18351 keywords.
18352 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18353 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18354 context of original buffer. Invoke `sql-login-hook'.
18355
18356 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18357
18358 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18359 letters in cite-prefix.
18360
18361 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18362
18363 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18364
18365 2012-01-03 Chong Yidong <cyd@gnu.org>
18366
18367 * shell.el (shell-dynamic-complete-functions):
18368 Put pcomplete-completions-at-point, so as to try
18369 comint-filename-completion first (Bug#10417).
18370
18371 2012-01-02 Richard Stallman <rms@gnu.org>
18372
18373 * battery.el (battery-status-function):
18374 Detect when to use battery-yeeloong-sysfs.
18375 (battery-echo-area-format): Add string for Yeeloong.
18376 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18377 (battery-yeeloong-sysfs): New function.
18378
18379 2012-01-02 Chong Yidong <cyd@gnu.org>
18380
18381 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18382 (dirtrack): Merge code for handling relative filenames in prompt
18383 from shell-dir-cookie-watcher.
18384 (dirtrack-debug-message): New arg to avoid excess format calls.
18385
18386 * shell.el (shell-dir-cookie-re): Variable deleted.
18387 (shell-dir-cookie-watcher): Function deleted.
18388 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18389 with dirtrack-mode.
18390
18391 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18392
18393 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18394 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18395 libgnutls-26.dll.
18396
18397 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18398
18399 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18400
18401 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18402
18403 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18404 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18405
18406 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18407
18408 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18409 also for alternative shells.
18410 (tramp-open-connection-setup-interactive-shell): Check, whether
18411 the shell is a busybox.
18412 (tramp-send-command): Don't suppress multiple prompts for
18413 busyboxes, it hurts.
18414
18415 2011-12-28 Chong Yidong <cyd@gnu.org>
18416
18417 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18418 (gdb-get-source-file): Move mode line update to
18419 gdb-get-source-file (Bug#10087).
18420
18421 2011-12-25 Chong Yidong <cyd@gnu.org>
18422
18423 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18424 gud-gdb-marker-filter without taking it as an argument.
18425 (gud-gdb-run-command-fetch-lines): Caller changed.
18426 (gud-gdb-completion-function): New variable.
18427 (gud-gdb-completion-at-point): Use it.
18428 (gud-gdb-completions-1): Split from gud-gdb-completions.
18429
18430 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18431 function as separate arguments.
18432 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18433 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18434 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18435 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18436 (gdb-stopped, def-gdb-auto-update-trigger)
18437 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18438 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18439 Callers changed.
18440 (gud-gdbmi-completions): New function.
18441 (gdb): Use it for generating the completion table.
18442
18443 2011-12-24 Alan Mackenzie <acm@muc.de>
18444
18445 Introduce a mechanism to widen the region used in context font
18446 locking. Use this to protect declarations from losing their contexts.
18447
18448 * progmodes/cc-langs.el (c-before-font-lock-functions):
18449 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18450 (c-before-context-fontification-functions): New defvar, a list of
18451 functions to be run just before context (etc.) font locking.
18452
18453 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18454 New, functionality extracted from
18455 c-neutralize-syntax-in-and-mark-CPP.
18456 (c-in-after-change-fontification): New variable.
18457 (c-after-change): Set c-in-after-change-fontification.
18458 (c-set-fl-decl-start): Rejig its interface, so it can be called
18459 from both after-change and context fontifying.
18460 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18461 New functions.
18462 (c-standard-font-lock-fontify-region-function): New variable.
18463 (c-font-lock-fontify-region): New function.
18464
18465 2011-12-24 Juri Linkov <juri@jurta.org>
18466
18467 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18468 (Bug#10348)
18469
18470 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18471
18472 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18473 existence of source file. (Bug#10325)
18474
18475 2011-12-23 Alan Mackenzie <acm@muc.de>
18476
18477 Fix unstable fontification inside templates.
18478
18479 * progmodes/cc-langs.el (c-before-font-lock-functions):
18480 Newly created from the singular version. The (c c++ objc) entry now
18481 additionally has c-set-fl-decl-start. The other languages (apart
18482 from AWK) have that as a single entry.
18483
18484 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18485 The functionality for "local" declarations has been extracted to
18486 c-set-fl-decl-start.
18487
18488 * progmodes/cc-mode.el (c-common-init, c-after-change):
18489 Changes due to pluralisation of c-before-font-lock-functions.
18490 (c-set-fl-decl-start): New function, extracted from
18491 c-font-lock-enclosing-decls and enhanced.
18492
18493 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18494
18495 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18496
18497 2011-12-22 Juri Linkov <juri@jurta.org>
18498
18499 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18500
18501 2011-12-22 Chong Yidong <cyd@gnu.org>
18502
18503 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18504
18505 2011-12-21 Drew Adams <drew.adams@oracle.com>
18506
18507 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18508
18509 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18510
18511 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18512
18513 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18514
18515 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18516 highlighting and support. Fix up comments for capitalization.
18517 (cfengine-mode-debug): New var.
18518 (cfengine3-mode): Change the modeline indicator to "CFE3".
18519 (cfengine3-font-lock-keywords): Improve defun highlighting.
18520 (cfengine2-actions): Rename from `cfengine-actions'.
18521 (cfengine2-font-lock-keywords): Rename from
18522 `cfengine-font-lock-keywords'.
18523 (cfengine2-imenu-expression): Rename from
18524 `cfengine-imenu-expression'.
18525 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18526 (cfengine2-beginning-of-defun): Rename from
18527 `cfengine-beginning-of-defun'.
18528 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18529 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18530 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18531 modeline indicator to "CFE2".
18532 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18533 (cfengine-mode-abbrevs): Mark obsolete.
18534
18535 2011-12-21 Chong Yidong <cyd@gnu.org>
18536
18537 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18538 filename argument.
18539
18540 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18541
18542 * window.el (window-normalize-buffer-to-display): Remove.
18543 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18544
18545 2011-12-19 Chong Yidong <cyd@gnu.org>
18546
18547 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18548 Don't signal an error in a predicate function; return non-nil.
18549 (vc-dir-mark-file): Move the error here.
18550 (vc-dir-mark-unmark): If acting on the region, keep going if one
18551 of the entries cannot be marked/unmarked.
18552 (vc-dir-mark-all-files): If current entry is a directory, mark
18553 only child files, as documented.
18554
18555 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18556
18557 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18558 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18559 addition.
18560
18561 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18562
18563 * term/ns-win.el (ns-get-selection-internal)
18564 (ns-store-selection-internal): Declare.
18565 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18566 Declare as obsolete.
18567 (ns-get-pasteboard, ns-paste-secondary):
18568 Use ns-get-selection-internal.
18569 (ns-set-pasteboard, ns-copy-including-secondary):
18570 Use ns-store-selection-internal.
18571
18572 2011-12-17 Chong Yidong <cyd@gnu.org>
18573
18574 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18575 (vc-deduce-fileset): Doc fix.
18576
18577 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18578
18579 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18580
18581 2011-12-13 Sam Steingold <sds@gnu.org>
18582
18583 * man.el (Man-getpage-in-background): When running under a
18584 window-system, ignore $MANWIDTH and $COLUMNS.
18585
18586 2011-12-15 Kenichi Handa <handa@m17n.org>
18587
18588 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18589 (setup-ethiopic-environment-internal): Comment out key-binding for
18590 ethio-toggle-punctuation.
18591
18592 2011-12-13 Alan Mackenzie <acm@muc.de>
18593
18594 Add the switch statement to AWK Mode.
18595
18596 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18597 "default" to the keywords regexp.
18598
18599 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18600 expression as the rest.
18601 (c-nonlabel-token-key): Allow string literals for AWK.
18602 Refactor for the other modes.
18603
18604 Large brace-block initialisation makes CC Mode slow: Fix.
18605 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18606 routines. Limit backward searching in c-font-lock-enclosing.decl.
18607
18608 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18609 pp-state and literal type in addition to the limits.
18610 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18611 (c-state-literal-at): Use the above new defun.
18612 (c-slow-in-literal, c-fast-in-literal): Remove.
18613 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18614
18615 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18616 being in a literal. Add a limit for backward searching.
18617
18618 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18619 c-slow-in-literal.
18620
18621 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18622
18623 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18624
18625 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18626
18627 * window.el (delete-other-windows): Use correct frame in call to
18628 window-with-parameter.
18629
18630 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18631
18632 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18633 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18634 (makefile-gmake-statements, makefile-makepp-statements):
18635 Use it and add new makepp keywords.
18636 (makefile-makepp-font-lock-keywords): Add new patterns.
18637 (makefile-match-function-end): Match new [...] and [[...]].
18638
18639 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18640
18641 * ses.el (ses-call-printer-return, ses-cell-property-get)
18642 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18643 (ses-create-cell-variable, ses-reset-header-string)
18644 (ses-cell-set-formula, ses-repair-cell-reference-all)
18645 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18646 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18647 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18648 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18649 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18650 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18651 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18652 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18653 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18654 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18655 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18656 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18657
18658 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18659
18660 * ses.el: The overall change is to add cell renaming, that is
18661 setting fancy names for cell symbols other than name matching
18662 "\\`[A-Z]+[0-9]+\\'" regexp .
18663 (ses-create-cell-variable): New defun.
18664 (ses-relocate-formula): Relocate formulas only for cells the
18665 symbols of which are not renamed, i.e. symbols whose names do not
18666 match regexp "\\`[A-Z]+[0-9]+\\'".
18667 (ses-relocate-all): Relocate values only for cells the symbols of
18668 which are not renamed.
18669 (ses-load): Create cells variables as the (ses-cell ...) are read,
18670 in order to check row col consistency with cell symbol name only
18671 for cells that are not renamed.
18672 (ses-replace-name-in-formula): New defun.
18673 (ses-rename-cell): New defun.
18674
18675 2011-12-11 Chong Yidong <cyd@gnu.org>
18676
18677 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18678 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18679
18680 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18681
18682 * window.el (other-window): Fix docstring.
18683
18684 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18685
18686 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18687 `from' or `to' address before taking its substring.
18688 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18689 encoded name is chopped in the middle of the encoded string, and
18690 thus displayed encoded.
18691
18692 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18693
18694 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18695
18696 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18697
18698 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18699 to use texinfo-update-node and commands that call it if the
18700 Texinfo file uses @node lines without next/prev/up pointers.
18701 Correct outdated description about texinfo-master-menu.
18702 (texinfo-all-menus-update, texinfo-master-menu)
18703 (texinfo-update-node, texinfo-every-node-update)
18704 (texinfo-multiple-files-update): Doc fix. Warn against updating
18705 all the @node lines.
18706 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18707 argument is numeric. Explain better in the doc string what the
18708 function really does.
18709 (texinfo-insert-master-menu-list): Improve the error message
18710 displayed if there's no menu in the Top node.
18711 (Bug#2975) See also this thread:
18712 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18713
18714 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18715
18716 * speedbar.el (speedbar-supported-extension-expressions):
18717 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18718
18719 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18720
18721 * printing.el (pr-mode-alist):
18722 * simple.el (filter-buffer-substring-functions)
18723 (completion-list-insert-choice-function):
18724 * window.el (window-with-parameter, window-atom-root)
18725 (window-sides-slots, window-size-fixed, window-min-delta)
18726 (window-max-delta, window--resize-mini-window)
18727 (window--resize-child-windows-normal, window-tree)
18728 (delete-other-windows, quit-window, split-window)
18729 (display-buffer-record-window, special-display-buffer-names)
18730 (special-display-regexps, special-display-popup-frame)
18731 (same-window-p, split-window-sensibly)
18732 (display-buffer-overriding-action, display-buffer-alist)
18733 (display-buffer-base-action, display-buffer, switch-to-buffer)
18734 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18735 (fit-window-to-buffer, recenter-positions)
18736 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18737 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18738 and remove unneeded backslashes in docstrings.
18739
18740 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18741
18742 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18743
18744 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18745 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18746 end in ".mk".
18747 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18748 when reading the makefile (bug#10116).
18749
18750 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18751
18752 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18753 (bug#10116).
18754
18755 2011-12-06 Glenn Morris <rgm@gnu.org>
18756
18757 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18758
18759 2011-12-06 Chong Yidong <cyd@gnu.org>
18760
18761 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18762
18763 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18764
18765 * textmodes/table.el (table-shorten-cell): Fix typo.
18766
18767 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18768
18769 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18770
18771 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18772
18773 * descr-text.el (describe-char): Fix display of strong
18774 right-to-left characters and directional embeddings and overrides.
18775
18776 * simple.el (what-cursor-position): Fix display of codepoints of
18777 strong right-to-left characters.
18778
18779 2011-12-05 Chong Yidong <cyd@gnu.org>
18780
18781 * faces.el (read-color): Doc fix.
18782
18783 2011-12-05 Glenn Morris <rgm@gnu.org>
18784
18785 * align.el (align--set-marker): Add doc-string.
18786 Don't try to move something that is not a marker. (Bug#10216)
18787
18788 2011-12-04 Glenn Morris <rgm@gnu.org>
18789
18790 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18791 overly zealous deletion of trailing whitespace.
18792
18793 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18794
18795 * server.el (server-delete-client): On Windows, do not try to delete
18796 the only terminal.
18797 (server-process-filter): On Windows, treat requests for a tty frame as
18798 if they were for a GUI frame if the running server is in GUI mode.
18799
18800 2011-12-03 Glenn Morris <rgm@gnu.org>
18801
18802 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18803
18804 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18805
18806 * electric.el: Streamline electric-indent's hook.
18807 (electric-indent-chars): Revert to simple list.
18808 (electric-indent-functions): New var.
18809 (electric-indent-post-self-insert-function): Use it.
18810
18811 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18812 there's no inferior buffer (bug#10196).
18813 (prolog-consult-compile): Don't use toggle-read-only.
18814
18815 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18816
18817 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18818 interrupt. (Bug#10187)
18819
18820 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18821
18822 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18823 (bug#9160).
18824
18825 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18826 (bug#10191).
18827
18828 2011-12-02 Juri Linkov <juri@jurta.org>
18829
18830 * info.el (Info-search): Display "end of manual" when Isearch
18831 reaches the end of single-file Info manual. (Bug#9918)
18832
18833 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18834
18835 * isearch.el (isearch-message-prefix): Run the input method part
18836 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18837
18838 2011-12-02 Juri Linkov <juri@jurta.org>
18839
18840 * isearch.el (isearch-occur): Use `word-search-regexp' for
18841 `isearch-word'.
18842 (isearch-search-and-update): Add condition for `isearch-word' and
18843 call `word-search-regexp'. (Bug#10145)
18844
18845 2011-12-01 Glenn Morris <rgm@gnu.org>
18846
18847 * eshell/em-hist.el (eshell-hist-initialize):
18848 Handle eshell-history-size nil and HISTSIZE set or unset.
18849 (eshell-history-file-name, eshell-history-size): Fix custom type.
18850
18851 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18852
18853 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18854
18855 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18856
18857 * progmodes/verilog-mode.el (verilog-pretty-expr):
18858 Rework verilog-pretty-expr to handle new assignment operators in system
18859 verilog, such as += *= and the like.
18860 (verilog-assignment-operator-re): Regular expression to find the
18861 assigment operator in a verilog assignment.
18862 (verilog-assignment-operation-re): Regular expression to find an
18863 assignment statement for pretty-expr.
18864 (verilog-in-attribute-p): Query returns true if point is in an
18865 attribute context; used to skip these for expression line up from
18866 pretty-expr.
18867 (verilog-in-parameter-p): Query returns true if point is in an
18868 parameter definition context; used to skip these for expression
18869 line up from pretty-expr.
18870 (verilog-in-parenthesis-p): Query returns true if point is in a
18871 parenthetical expression, specifically ( ) but not [ ] or { };
18872 used by pretty-expr.
18873 (verilog-just-one-space): If there is no space, don't add one.
18874 (verilog-get-lineup-indent-2): Specifically skip just attribute
18875 contexts for expression lineup, rather than skipping all
18876 parenthetical expressions.
18877 (verilog-calculate-indent): Fix comment, and fix indent.
18878 (verilog-do-indent): Indent declarations in lists (suggested by
18879 Joachim Lechner).
18880 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18881 skeleton items.
18882 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18883 by Alain Mellan).
18884
18885 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18886
18887 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18888 parameters with embedded comments. Reported by Ray Stevens.
18889 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18890 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18891 Reported by Tim Holt.
18892 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18893 instantiated by upper module causing wrong expansion until AUTOed a
18894 second time. Reported by K C Buckenmaier.
18895 (verilog-diff-auto): Fix showing .* as a difference when
18896 `verilog-auto-star-save' off. Reported by Dan Dever.
18897 (verilog-auto-reset, verilog-read-always-signals)
18898 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18899 temporary signals in reset list if
18900 verilog-auto-reset-blocking-in-non is nil, and match assignment
18901 style to each signal's assignment type, bug381.
18902 Reported by Thomas Esposito.
18903 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18904 (verilog-uvm-statement-re): Support UVM indentation and
18905 highlighting, with old OVM keywords only.
18906 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18907 Support AUTOTIEOFF creating non-wire data types.
18908 Suggested by Jonathan Greenlaw.
18909 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18910 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18911 (verilog-inject-sense, verilog-read-inst-pins)
18912 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18913 Fix mismatching parenthesis inside commented out code when deleting
18914 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18915 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18916 non-numeric vector width. Reported by Alex Reed.
18917 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18918 detecting signals with parameter widths. Reported by Alex Reed.
18919 (verilog-auto-delete-trailing-whitespace):
18920 With `verilog-auto-delete-trailing-whitespace' remove trailing
18921 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18922 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18923 Fix verilog-scan-cache corruption when running user AUTO expansion
18924 hooks that call indentation routines.
18925 (verilog-simplify-range-expression): Fix typo ignoring lower case
18926 identifiers.
18927 (verilog-delete-auto): Fix delete-autos to also remove user created
18928 automatics, as long as they start with AUTO.
18929 (verilog-batch-diff-auto, verilog-diff-auto)
18930 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18931 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18932 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18933 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18934 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18935 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18936 is disabled and its cache will get corrupt, causing AUTOS not to
18937 expand. Instead use only -quick functions.
18938 (verilog-scan-region): Fix scanning over escaped quotes.
18939 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18940 (verilog-re-search-backward-quick)
18941 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18942 related functions now ignore strings, to fix misparsing of strings
18943 with magic comments embedded in them.
18944 (verilog-read-auto-template):
18945 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18946 Reported by Brad Dobbie.
18947 (verilog-read-auto-template):
18948 Fix 'verilog-auto-inst-template-numbers' with comments.
18949 Reported by Brad Dobbie.
18950 (verilog-auto-inst, verilog-auto-inst-param)
18951 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18952 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18953 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18954 debugging templates without merge conflicts, bug357.
18955 Reported by Brad Dobbie.
18956 (verilog-read-auto-template):
18957 Fix verilog-auto-inst-template-numbers with multiple templates.
18958 Reported by Brad Dobbie.
18959 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18960 abbrevs so user won't be asked to save.
18961 (verilog-read-auto-lisp-present): Fix to start at beginning of
18962 buffer in case called outside of verilog-auto.
18963 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18964 to "X-2". Reported by Matthew Myers.
18965 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18966 all inputs from module templates. Reported by Leith Johnson.
18967 (verilog-module-inside-filename-p): Fix locating programs as with
18968 modules.
18969 (verilog-auto-inst-port): Fix vl-width expressions when using
18970 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18971 (verilog-decls-get-regs, verilog-decls-get-signals,
18972 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18973 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18974 verilog-read-decls): Combine reg and wire structures into one var
18975 structure to represent SystemVerilog concepts.
18976 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18977 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18978 (verilog-auto-wire-type, verilog-insert-definition):
18979 Add verilog-auto-wire-type and AUTOLOGIC to support using
18980 SystemVerilog "logic" keyword instead of "wire"/"reg".
18981 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18982 to declares outputs that also have assignments (presumably in an
18983 ifdef or generate if so there's not a driver conflict).
18984 Reported by Matthew Myers.
18985 (verilog-auto-declare-nettype, verilog-insert-definition):
18986 Add verilog-auto-declare-nettype to fix declarations using
18987 `default_nettype none. Reported by Julian Gorfajn.
18988 (verilog-read-always-signals-recurse, verilog-read-decls)
18989 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18990 malformed end statement, bug325. Reported by Joshua Wise and
18991 Andrew Drake.
18992 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18993 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18994 when expanding .* in interfaces, bug320.
18995 Reported by Pierre-David Pfister.
18996 (verilog-read-module-name): Fix import statements between module
18997 name and open parenthesis, bug317.
18998 Reported by Pierre-David Pfister.
18999 (verilog-simplify-range-expression): Fix simplification of
19000 multiplications inside AUTOWIRE connections, bug303.
19001 (verilog-auto-inst-port): Support parameter expansion in
19002 multidimensional arrays.
19003 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19004 after "assert property". Reported by Julian Gorfajn.
19005 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19006 with multiplication, bug303.
19007 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19008 Reported by Jan Frode Lonnum.
19009
19010 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19011
19012 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19013 (hfy-shell-file-name, hfy-shell):
19014 * international/fontset.el (x-decompose-font-name): Fix typos.
19015
19016 2011-11-29 Ken Brown <kbrown@cornell.edu>
19017
19018 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19019 (gdb-version): Remove defvar.
19020 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19021 (gdb-gud-context-command, gdb-non-stop-handler)
19022 (gdb-current-context-command, gdb-stopped): Use it.
19023 (gdb-init-1): Enable pretty printing here.
19024 (gdb-non-stop-handler): Don't enable pretty-printing here.
19025 Check to see if the target supports non-stop mode; if not, turn off
19026 non-stop mode. Use the following.
19027 (gdb-check-target-async): New defun.
19028 (gud-watch, gdb-stopped): Fix whitespace.
19029 (gdb-get-source-file): Don't try to display the source file if
19030 `gdb-main-file' is nil.
19031
19032 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19033
19034 * align.el: Try to generate fewer markers (bug#10047).
19035 (align--set-marker): New macro.
19036 (align-region): Use it.
19037
19038 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19039
19040 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19041
19042 2011-11-29 Chong Yidong <cyd@gnu.org>
19043
19044 * indent.el (indent-for-tab-command, indent-according-to-mode):
19045 Doc fix.
19046 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19047
19048 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19049
19050 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19051 aware of remote file names. (Bug#10124)
19052
19053 2011-11-29 Chong Yidong <cyd@gnu.org>
19054
19055 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19056
19057 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19058
19059 * files.el (find-file): Don't use force-same-window (bug#10144).
19060 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19061 use pop-to-buffer if the selected window can't be used.
19062 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19063
19064 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19065
19066 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19067 special-mode-map.
19068
19069 2011-11-28 Chong Yidong <cyd@gnu.org>
19070
19071 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19072
19073 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19074
19075 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19076 gdb-get-source-file-list on gdb-create-source-file-list.
19077
19078 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19079
19080 * whitespace.el (whitespace-newline): Use a different foreground
19081 color for 16-color light-background displays.
19082
19083 2011-11-24 Chong Yidong <cyd@gnu.org>
19084
19085 * window.el (display-buffer--special-action): Doc fix.
19086
19087 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19088
19089 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19090 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19091 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19092 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19093 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19094 (avl-tree-stack-first):
19095 * emacs-lisp/cconv.el (cconv--analyse-use):
19096 * net/gnutls.el (gnutls-negotiate): Fix typos.
19097
19098 2011-11-24 Glenn Morris <rgm@gnu.org>
19099
19100 * lpr.el (lpr-windows-system, lpr-lp-system):
19101 * mail/binhex.el (binhex-begin-line):
19102 * progmodes/grep.el (grep-history, grep-find-history):
19103 * textmodes/flyspell.el:
19104 * vc/pcvs-defs.el (cvs-global-menu):
19105 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19106 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19107 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19108
19109 * net/tls.el: Fix case of "GnuTLS".
19110
19111 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19112
19113 * version.el (emacs-build-system): Give it a doc-string.
19114
19115 2011-11-24 Juri Linkov <juri@jurta.org>
19116
19117 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19118
19119 2011-11-24 Glenn Morris <rgm@gnu.org>
19120
19121 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19122 if called on a non-mime message just toggle the headers. (Bug#8006)
19123
19124 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19125
19126 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19127 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19128 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19129 (allout-rebullet-heading, allout-open-sibtopic)
19130 (allout-toggle-current-subtree-encryption)
19131 (allout-toggle-subtree-encryption, allout-encrypt-string)
19132 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19133 (allout-distinctive-bullets-string, allout-auto-activation):
19134 * window.el (window-normalize-buffer-to-display):
19135 * progmodes/verilog-mode.el (verilog-batch-indent):
19136 * textmodes/bibtex.el (bibtex-field-braces-opt)
19137 (bibtex-field-strings-opt):
19138 * vc/cvs-status.el (cvs-tree-merge):
19139 Fix typos.
19140
19141 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19142
19143 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19144 `non-essential' to t, in order to avoid remote connections.
19145
19146 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19147
19148 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19149 On MS-DOS and MS-Windows, compare with loaddefs.el
19150 case-insensitively.
19151
19152 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19153
19154 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19155
19156 2011-11-23 Glenn Morris <rgm@gnu.org>
19157
19158 * paths.el (rmail-file-name): Reformat the doc-string so that it
19159 is picked up.
19160
19161 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19162 (rmail-auto-file): Ignore case in the "special" field names,
19163 as mail-fetch-field does for all others.
19164
19165 * mail/rmail.el (rmail-forward):
19166 * mail/rmailkwd.el (rmail-set-label):
19167 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19168 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19169
19170 * mail/rmail.el (rmail-current-message): Doc fix.
19171
19172 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19173
19174 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19175
19176 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19177
19178 2011-11-22 Glenn Morris <rgm@gnu.org>
19179
19180 * mail/rmailmm.el (test-rmail-mime-handler)
19181 (test-rmail-mime-bulk-handler)
19182 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19183
19184 2011-11-21 Juri Linkov <juri@jurta.org>
19185
19186 * calc/calc.el (calc-read-key-sequence):
19187 Let-bind `input-method-function' to nil. (Bug#10018)
19188
19189 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19190
19191 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19192 Tell the caller that the next line needs recomputation, even
19193 though it doesn't start a sexp (bug#10094).
19194
19195 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19196
19197 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19198
19199 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19200
19201 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19202 Use force-same-window.
19203
19204 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19205
19206 * descr-text.el (describe-char-unicode-data):
19207 * json.el (json-string-escape):
19208 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19209 (Footnote-unicode, Footnote-style-p):
19210 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19211
19212 2011-11-20 Chong Yidong <cyd@gnu.org>
19213
19214 * window.el (replace-buffer-in-windows): Restore interactive spec.
19215
19216 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19217
19218 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19219
19220 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19221 (byte-compile-global-not-obsolete-vars): New var.
19222 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19223 Use it.
19224 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19225
19226 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19227
19228 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19229 * progmodes/pascal.el (electric-pascal-equal):
19230 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19231 * xml.el (xml-substitute-special): Fix typos.
19232
19233 2011-11-20 Glenn Morris <rgm@gnu.org>
19234
19235 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19236 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19237 Doc fixes.
19238 (rmail-decode-mime-charset): Mark as obsolete.
19239
19240 * mail/rmailsum.el (rmail-message-regexp-p-1):
19241 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19242 Before using mime functions, check they are set. (Bug#10077)
19243
19244 2011-11-19 Juri Linkov <juri@jurta.org>
19245
19246 * info.el (Info-finder-find-node): Use `package--builtins' instead
19247 of `package-alist'. Use node names formed by the pattern "Keyword "
19248 and the keyword name.
19249
19250 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19251
19252 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19253
19254 2011-11-19 Juri Linkov <juri@jurta.org>
19255
19256 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19257 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19258 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19259 `old-history', `old-history-forward'. Add let-binding
19260 `window-selected'. Remove calls to `kill-buffer',
19261 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19262 before calling `Info-find-node', so `Info-find-node-2' will reread
19263 the Info file. Restore window positions only when `window-selected'
19264 is non-nil.
19265
19266 2011-11-19 Juri Linkov <juri@jurta.org>
19267
19268 * isearch.el (isearch-lazy-highlight-new-loop):
19269 Remove condition `(not isearch-error)'. (Bug#9918)
19270
19271 * misearch.el (multi-isearch-search-fun): Add condition
19272 `(not bound)' to ignore lazy-highlighting search.
19273 Add the search-failed message "end of multi" when the end of
19274 multi-sequence is reached. Uncapitalize the search-failed
19275 message "Repeat for next buffer".
19276
19277 * info.el (Info-search): Add the search-failed message
19278 "end of the manual" when the end of the manual is reached
19279 in Isearch mode.
19280
19281 2011-11-19 Juri Linkov <juri@jurta.org>
19282
19283 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19284 Use non-destructive `remove' instead of `delete' because
19285 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19286 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19287
19288 2011-11-19 Juri Linkov <juri@jurta.org>
19289
19290 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19291 to nil instead of binding `search-ring' and `regexp-search-ring'.
19292 (Bug#9185)
19293
19294 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19295
19296 * simple.el (line-move): Force movement by logical lines for any
19297 hscrolled window, not only when auto-hscroll-mode is on.
19298 (line-move-visual): Update doc string to that effect. (Bug#10076)
19299
19300 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19301
19302 * language/european.el (macintosh): Define as alias for mac-roman.
19303
19304 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19305
19306 * mail/rmailmm.el (rmail-mime-display-header)
19307 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19308 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19309 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19310 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19311 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19312 of a raw aref.
19313 (rmail-mime-entity-segment): To get past the tagline, move forward
19314 2 more lines, to account for the 2 empty lines that precede and
19315 follow the line with the buttons.
19316 (rmail-mime-update-tagline): Move one more line, to get past the
19317 empty line that follows the buttons in the tagline. (Bug#9520)
19318
19319 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19320
19321 * window.el (window-max-delta-1, window-min-delta-1)
19322 (window-min-size-1, window-state-get-1, window-state-put-1)
19323 (window-state-put-2): Use "window--" prefix.
19324
19325 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19326
19327 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19328 (smie-warning-count): New var.
19329 (smie-set-prec2tab): Use it.
19330 (smie-bnf->prec2): Improve warnings. Add docstring.
19331 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19332 (smie-bnf--set-class): New function.
19333 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19334 corner case.
19335
19336 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19337 (compilation-error-properties, compilation-move-to-column):
19338 Handle compilation-first-column while in the target buffer.
19339
19340 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19341 Don't hardcode point-min==1.
19342
19343 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19344 (eshell-rewrite-for-command): Remove workaround.
19345 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19346 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19347 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19348
19349 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19350
19351 2011-11-17 Glenn Morris <rgm@gnu.org>
19352
19353 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19354 Ignore buffer-local generated-autoload-file if it is the same
19355 as the global value. (Bug#10049)
19356
19357 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19358
19359 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19360 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19361 (reftex-toc-previous-heading, reftex-toc-max-level)
19362 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19363 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19364 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19365 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19366 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19367 (reftex-toc-rename-label, reftex-toc-visit-location)
19368 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19369 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19370 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19371 leaving "*toc*" only for references to the buffer.
19372
19373 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19374
19375 * window.el (window-resize, delete-window, split-window):
19376 Replace window-splits by window-combination-resize.
19377 * cus-start.el (window-splits): Replace by window-combination-resize.
19378
19379 2011-11-17 Glenn Morris <rgm@gnu.org>
19380
19381 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19382 Make bash entry derive from sh entry, not shell entry.
19383
19384 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19385
19386 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19387 local file name.
19388
19389 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19390
19391 * menu-bar.el (menu-bar-file-menu):
19392 * printing.el (pr-ps-utility):
19393 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19394 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19395 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19396 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19397 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19398 (icalendar--convert-cyclic-to-ical)
19399 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19400 (icalendar--convert-ical-to-diary)
19401 (icalendar--convert-recurring-to-diary)
19402 (icalendar--convert-non-recurring-all-day-to-diary)
19403 (icalendar-import-format-sample):
19404 * progmodes/idlw-shell.el (idlwave-shell-mode):
19405 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19406 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19407 (vhdl-ps-print-init): Fix typos.
19408
19409 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19410
19411 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19412 FSF and collapse date sequence, obscure author/maintainer email address
19413 better, remove extra version line, track relocation of author's webpage.
19414
19415 * progmodes/python.el (python-pdbtrack-input-prompt)
19416 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19417 regular python pdb prompts. Adjustments shamelessly taken exactly as
19418 suggested in EmacsWiki page (tiny change):
19419 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19420
19421 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19422
19423 * expand.el (expand-pos, expand-index, expand-point):
19424 Remove redundant info from docstring.
19425 (expand-add-abbrevs): Doc fix.
19426 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19427 (expand-sample-perl-mode-expand-list): Fix typos.
19428
19429 * net/dbus.el (dbus-event-member-name):
19430 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19431 * term/pc-win.el (msdos-create-frame-with-faces):
19432 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19433
19434 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19435
19436 * window.el (split-window, window-state-get-1)
19437 (window-state-put-1, window-state-put-2): Rename occurrences of
19438 window-nest to window-combination-limit.
19439 * cus-start.el (window-nest): Rename to window-combination-limit.
19440
19441 2011-11-16 Chong Yidong <cyd@gnu.org>
19442
19443 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19444 regexp (Bug#10033).
19445
19446 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19447
19448 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19449 `completing-read' will remove *Completions* and will preserve
19450 current-buffer for us.
19451 (tmm-add-prompt): Users of *Completions* will always (re)set its
19452 major mode.
19453 (tmm-old-comp-map): Remove.
19454
19455 2011-11-16 Glenn Morris <rgm@gnu.org>
19456
19457 * mail/rmailedit.el: Require rmailmm when compiling.
19458 (rmail-old-mime-state): New declaration.
19459 (rmail-edit-current-message): If editing a mime message,
19460 edit the "raw" message from the mbox buffer.
19461 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19462
19463 2011-11-15 Glenn Morris <rgm@gnu.org>
19464
19465 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19466 which wasn't being used. Add optional arg to force given state.
19467 (rmail-mime): Add optional arg to force given state.
19468
19469 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19470
19471 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19472 * frame.el (display-mm-dimensions-alist):
19473 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19474 (outline-move-subtree-down):
19475 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19476 (newsticker--treeview-do-get-node):
19477 * net/quickurl.el (quickurl-list-buffer-name):
19478 * progmodes/dcl-mode.el (dcl-mode):
19479 * progmodes/gdb-mi.el (gdb-mapcar*):
19480 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19481
19482 2011-11-15 Glenn Morris <rgm@gnu.org>
19483
19484 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19485 in a boolean sense, so just make it a boolean, and fix the doc.
19486 (rmail-show-mime-function, rmail-mime-feature)
19487 (rmail-require-mime-maybe): Doc fixes.
19488 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19489
19490 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19491
19492 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19493
19494 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19495 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19496 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19497 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19498
19499 2011-11-15 Glenn Morris <rgm@gnu.org>
19500
19501 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19502 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19503 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19504 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19505 (rmail-mime, rmail-show-mime): Doc fixes.
19506
19507 * term/ns-win.el (mode-line-frame-identification):
19508 Leave it alone. (Bug#10051)
19509
19510 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19511
19512 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19513 Handle empty buffers. (Bug#9978)
19514
19515 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19516
19517 * international/mule.el (define-charset):
19518 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19519 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19520 * progmodes/verilog-mode.el (verilog-backward-token):
19521 * textmodes/ispell.el (lookup-words):
19522 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19523
19524 2011-11-14 Glenn Morris <rgm@gnu.org>
19525
19526 * progmodes/executable.el
19527 (executable-make-buffer-file-executable-if-script-p):
19528 Handle file-modes returning nil.
19529
19530 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19531 message - not necessary, and causes problems. (Bug#9831)
19532
19533 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19534
19535 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19536
19537 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19538 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19539 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19540
19541 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19542
19543 * window.el (window-resize, delete-window): Use window-splits
19544 variable instead of function.
19545 (window-state-get-1, window-state-put-2, window-state-put):
19546 Don't deal with windows' splits status.
19547
19548 2011-11-12 Glenn Morris <rgm@gnu.org>
19549
19550 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19551 (apropos-documentation): Doc fixes.
19552
19553 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19554
19555 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19556 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19557
19558 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19559
19560 * electric.el (electric-indent-post-self-insert-function): Make it
19561 possible for a char to only indent in some circumstances.
19562 (electric-indent-mode): Simplify.
19563
19564 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19565
19566 * window.el (windows-with-parameter): Remove unused function.
19567 (windows-at-side): Rename to window-at-side-list.
19568 (window-check, window-atom-check, window-atom-check-1)
19569 (window-side-check, window-size-ignore, window-size-fixed-1)
19570 (window-in-direction-2): Prefix with "window--".
19571 (window-tree-1): Rename to window--subtree, fix doc-string.
19572
19573 2011-11-11 Glenn Morris <rgm@gnu.org>
19574
19575 * subr.el (eval-after-load): If FILE is already loaded,
19576 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19577
19578 2011-11-10 Glenn Morris <rgm@gnu.org>
19579
19580 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19581 Call svn via vc-svn-command rather than vc-do-command.
19582 (vc-svn-command): Add --non-interactive. (Bug#9993)
19583 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19584
19585 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19586 Add toggle-read-only. (Bug#7292)
19587 * files.el (toggle-read-only): Mention that it should only
19588 be used interactively. (Bug#10006)
19589
19590 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19591
19592 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19593 Adjust regexp for OCaml warnings.
19594
19595 * electric.el (electric-pair-post-self-insert-function): Let user
19596 turn it off buffer-locally (bug#9932).
19597
19598 * progmodes/python.el (python-beginning-of-statement):
19599 Rewrite (bug#2703).
19600
19601 * progmodes/compile.el: Better handle TABs (bug#9749).
19602 (compilation-internal-error-properties)
19603 (compilation-next-error-function): Obey the target buffer's
19604 compilation-error-screen-columns.
19605
19606 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19607
19608 * progmodes/meta-mode.el: Remove obsolete comments.
19609 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19610 Fix typos in docstrings.
19611
19612 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19613
19614 * window.el (window-size-fixed-p): Rewrite doc-string.
19615 (window-resizable-p): Rename to window--resizable-p. Update callers.
19616 (window--resizable): New function. Make all callers of
19617 window-resizable call window--resizable instead.
19618 (window-resizable): Rewrite in terms of window--resizable.
19619
19620 2011-11-08 Glenn Morris <rgm@gnu.org>
19621
19622 * progmodes/delphi.el (delphi-mode-syntax-table):
19623 Let define-derived-mode define a proper syntax table. (Bug#9994)
19624
19625 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19626
19627 * window.el: Stay away from defsubst.
19628 (window-list-no-nils): Remove.
19629 (window-state-get-1, window-state-get): Use backquote instead.
19630
19631 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19632
19633 * emacs-lisp/find-func.el (find-function-read):
19634 Fix incorrect use of default argument in `completing-read'.
19635
19636 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19637
19638 * window.el (display-buffer-function, special-display-function):
19639 Mention display-buffer-record-window but do not mention
19640 help-setup parameter in doc-strings.
19641 (window-min-delta): Fix doc-string typo.
19642
19643 2011-11-08 Chong Yidong <cyd@gnu.org>
19644
19645 * window.el (window-total-height, window-total-width): Doc fix.
19646 (window-body-size): Move from C.
19647 (window-body-height, window-body-width): Move to C.
19648
19649 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19650
19651 * window.el: Make special-display like display-buffer-alist (bug#9532).
19652 (display-buffer--special-action): New function, morphed
19653 from display-buffer--special.
19654 (display-buffer): Use it to handle special-display-buffers at higher
19655 priority (just after display-buffer-alist).
19656 (display-buffer-fallback-action, display-buffer--other-frame-action)
19657 (pop-to-buffer-same-window): Remove display-buffer--special.
19658
19659 2011-11-07 Glenn Morris <rgm@gnu.org>
19660
19661 * calendar/cal-menu.el (cal-menu-set-date-title):
19662 Do nothing if not in a calendar. (Bug#9976)
19663
19664 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19665
19666 * files.el (find-file): Always use selected-window.
19667
19668 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19669
19670 * window.el (window-combinations): Make WINDOW argument
19671 mandatory. Rewrite doc-string.
19672 (walk-window-subtree, window-atom-check, window-min-delta)
19673 (window-max-delta, window--resize-this-window)
19674 (window--resize-root-window-vertically, window-tree)
19675 (balance-windows, window-state-put): Rewrite doc-strings as to
19676 not mention the term "subwindow".
19677 (window--resize-subwindows-skip-p): Rename to
19678 window--resize-child-windows-skip-p.
19679 (window--resize-subwindows-normal): Rename to
19680 window--resize-child-windows-normal.
19681 (window--resize-subwindows): Rename to
19682 window--resize-child-windows.
19683 (window-or-subwindow-p): Rename to window--in-subtree-p.
19684
19685 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19686
19687 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19688 Ensure that mbox format messages end in two newlines (Bug#9974).
19689
19690 2011-11-06 Chong Yidong <cyd@gnu.org>
19691
19692 * window.el (window-combination-p): Function deleted; its
19693 side-effect is not used in any existing code.
19694 (window-combinations, window-combined-p): Call window-*-child
19695 directly.
19696
19697 2011-11-05 Chong Yidong <cyd@gnu.org>
19698
19699 * window.el (window-valid-p): Rename from window-any-p.
19700 (window-size-ignore, window-state-get): Callers changed.
19701 (window-normalize-window): Rename from window-normalize-any-window.
19702 New arg LIVE-ONLY, replacing window-normalize-live-window.
19703 (window-normalize-live-window): Delete.
19704 (window-combination-p, window-combined-p, window-combinations)
19705 (walk-window-subtree, window-atom-root, window-min-size)
19706 (window-sizable, window-sizable-p, window-size-fixed-p)
19707 (window-min-delta, window-max-delta, window-resizable)
19708 (window-resizable-p, window-full-height-p, window-full-width-p)
19709 (window-current-scroll-bars, window-point-1, set-window-point-1)
19710 (window-at-side-p, window-in-direction, window-resize)
19711 (adjust-window-trailing-edge, maximize-window, minimize-window)
19712 (window-deletable-p, delete-window, delete-other-windows)
19713 (record-window-buffer, unrecord-window-buffer)
19714 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19715 (quit-window, split-window, window-state-put)
19716 (set-window-text-height, fit-window-to-buffer)
19717 (shrink-window-if-larger-than-buffer): Callers changed.
19718
19719 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19720
19721 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19722 rfc2047-decode-string.
19723 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19724 warnings.
19725
19726 * window.el (window-body-height, window-body-width): Mention in
19727 the doc string that the return values are in frame's canonical
19728 units. (Bug#9949)
19729
19730 2011-11-03 Alan Mackenzie <acm@muc.de>
19731
19732 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19733 change in cc-engine.el.
19734
19735 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19736
19737 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19738
19739 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19740
19741 * window.el (quit-window): Call unrecord-window-buffer after
19742 showing another buffer in the window. (Bug#9937)
19743 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19744
19745 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19746
19747 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19748 Accept status with more than 9 shelves. (Bug#9935)
19749 Reported by Colin D Bennett <colin@gibibit.com>.
19750
19751 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19752
19753 * help.el (with-help-window): Don't reference
19754 temp-buffer-show-specifiers in doc-string.
19755
19756 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19757
19758 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19759 menu-item.
19760
19761 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19762
19763 * whitespace.el: New version 13.2.2.
19764 (whitespace-newline-mode): Disable properly. Reported by Sarah
19765 <EmacsWiki>.
19766
19767 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19768
19769 * net/newst-treeview.el: Remove "Time-stamp".
19770 (newsticker--group-manage-orphan-feeds): Do not call
19771 newsticker--treeview-tree-update.
19772 (newsticker-treeview-update, newsticker-treeview):
19773 Call newsticker--treeview-tree-update if necessary.
19774
19775 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19776
19777 * window.el (window-iso-combination-p, window-iso-combined-p)
19778 (window-iso-combinations): Remove "iso-" infix.
19779 Suggested by Chong Yidong.
19780 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19781 (window-max-delta-1, window-resize, window--resize-siblings)
19782 (window--resize-this-window, adjust-window-trailing-edge)
19783 (split-window, balance-windows-1)
19784 (shrink-window-if-larger-than-buffer):
19785 * calendar/calendar.el (calendar-generate-window):
19786 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19787
19788 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19789
19790 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19791 in place (bug#9907).
19792 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19793 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19794 (eshell-structure-basic-command, eshell-rewrite-while-command)
19795 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19796 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19797 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19798 (eshell-do-pipelines-synchronously, eshell-eval-command):
19799 Use backquotes and prefer setq to set.
19800 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19801 (eshell-macrop): Use functionp.
19802 (eshell-do-eval): Handle multiple expressions in `while' body.
19803
19804 2011-10-30 Chong Yidong <cyd@gnu.org>
19805
19806 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19807 instead of set-mark (Bug#9810).
19808
19809 2011-10-30 Chong Yidong <cyd@gnu.org>
19810
19811 * window.el (split-window-below, split-window-right): Rename from
19812 split-window-above-each-other and split-window-side-by-side
19813 respectively. All callers changed.
19814 (split-window-sensibly, split-window-sensibly): Use them.
19815 (split-window-keep-point): Doc fix.
19816
19817 * isearch.el: Add isearch-scroll property to split-window-below
19818 and split-window-right.
19819
19820 * follow.el (follow-mode):
19821 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19822 * progmodes/ada-xref.el (ada-gdb-application):
19823 * emulation/vip.el (vip-buffer-in-two-windows):
19824 * image-dired.el (image-dired-dired-with-window-configuration):
19825 * dired-x.el (dired-do-find-marked-files):
19826 * dired.el (dired-pop-to-buffer):
19827 * bs.el (bs--show-with-configuration):
19828 * vc/emerge.el (emerge-setup-windows):
19829 * textmodes/two-column.el (2C-two-columns):
19830 * textmodes/reftex-toc.el (reftex-toc):
19831 * progmodes/gdb-mi.el (gdb-setup-windows):
19832 * progmodes/fortran.el (fortran-window-create):
19833 * net/newst-treeview.el (newsticker--treeview-window-init):
19834 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19835 * emulation/tpu-edt.el (tpu-gold-map):
19836 * emulation/crisp.el (crisp-mode-map):
19837 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19838
19839 2011-10-29 Chong Yidong <cyd@gnu.org>
19840
19841 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19842
19843 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19844
19845 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19846 forged Ispell output (Bug#7904).
19847
19848 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19849
19850 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19851
19852 * doc-view.el: Avoid ugly errors about not finding nil.
19853 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19854 (doc-view-dvipdf-program, doc-view-unoconv-program)
19855 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19856 Avoid nil or absolute file name as default value.
19857 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19858
19859 2011-10-28 Alan Mackenzie <acm@muc.de>
19860
19861 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19862
19863 2011-10-28 Alan Mackenzie <acm@muc.de>
19864
19865 Amend the handling of c-beginning/end-of-defun in nested declaration
19866 scopes.
19867
19868 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19869 cc-langs.el. Change it to a defcustom.
19870
19871 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19872 cc-vars.el.
19873
19874 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19875 Prevent "class foo : bar" being spuriously recognized as a label.
19876
19877 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19878 Add parameter `inclusive' (to include enclosing braces in the region).
19879 (c-widen-to-enclosing-decl-scope): New function.
19880 (c-while-widening-to-decl-block): New macro.
19881 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19882 outward for defun boundaries, and correspondingly change symbol
19883 `respect-enclosure' to `go-outward'.
19884 (c-declaration-limits): Change algorithm to report only the "innermost"
19885 defun's boundaries.
19886
19887 2011-10-28 Deniz Dogan <deniz@dogan.se>
19888
19889 * net/rcirc.el (rcirc-mode): Use hard newlines.
19890
19891 2011-10-28 Alan Mackenzie <acm@muc.de>
19892
19893 Amend to indent and fontify macros "which include their own semicolon"
19894 correctly, using the "virtual semicolon" mechanism.
19895
19896 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19897
19898 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19899 Recode to scan one line at a time rather than having \n and \r
19900 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19901 (c-forward-label): Amend for virtual semicolons.
19902 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19903
19904 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19905 of the new C macros.
19906
19907 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19908 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19909 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19910 (c-opt-cpp-macro-define): Make into a full language variable.
19911 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19912 AWK Mode (including \n, \r) removed, no longer needed.
19913
19914 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19915 Invoke c-make-macro-with-semi-re.
19916
19917 * progmodes/cc-vars.el (c-macro-with-semi-re):
19918 (c-macro-names-with-semicolon): New variables.
19919 (c-make-macro-with-semi-re): New function.
19920
19921 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19922
19923 * vc/log-edit.el: Fill empty field rather than adding new one.
19924 (log-edit-add-field): New function.
19925 (log-edit-insert-changelog): Use it.
19926
19927 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19928
19929 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19930
19931 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19932
19933 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19934 (gdb--check-interpreter): New function.
19935 (gdb): Use it.
19936
19937 2011-10-27 Glenn Morris <rgm@gnu.org>
19938
19939 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19940 (least-positive-float, least-negative-float)
19941 (least-positive-normalized-float, least-negative-normalized-float)
19942 (float-epsilon, float-negative-epsilon):
19943 Remove unnecessary declarations.
19944
19945 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19946 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19947 (least-positive-float, least-negative-float)
19948 (least-positive-normalized-float, least-negative-normalized-float)
19949 (float-epsilon, float-negative-epsilon): Add doc-strings,
19950 based on those in cl.texi.
19951
19952 * files.el (set-visited-file-name): If the major-mode changed,
19953 reload the local variables. (Bug#9796)
19954
19955 2011-10-27 Chong Yidong <cyd@gnu.org>
19956
19957 * subr.el (change-major-mode-after-body-hook): New hook.
19958 (run-mode-hooks): Run it.
19959
19960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19961 Use change-major-mode-before-body-hook.
19962
19963 * simple.el (fundamental-mode):
19964 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19965 change introducing fundamental-mode-hook.
19966
19967 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19968
19969 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19970
19971 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19972
19973 * ido.el (ido-file-name-all-completions-1): Do not require
19974 tramp.el explicitly. (Bug#7583)
19975
19976 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19977
19978 * progmodes/octave-mod.el:
19979 * progmodes/octave-inf.el: Update maintainer.
19980
19981 2011-10-26 Chong Yidong <cyd@gnu.org>
19982
19983 * subr.el (with-wrapper-hook): Rewrite doc.
19984
19985 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19986
19987 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19988 filenames "/method:foo:". (Bug#9793)
19989
19990 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19991
19992 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19993 (bug#9865).
19994
19995 2011-10-24 Glenn Morris <rgm@gnu.org>
19996
19997 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19998
19999 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20000
20001 * notifications.el: Add the requirement of a running D-Bus session
20002 bus to the Commentary.
20003
20004 2011-10-24 Juri Linkov <juri@jurta.org>
20005
20006 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20007 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20008 (Bug#9364)
20009
20010 2011-10-24 Juri Linkov <juri@jurta.org>
20011
20012 * info.el (Info-following-node-name-re): Add newline to the list
20013 of allowed characters for leading space. (Bug#9824)
20014
20015 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20016
20017 * progmodes/octave-inf.el (inferior-octave-mode-map):
20018 Fix C-c C-h binding.
20019 * progmodes/octave-mod.el (octave-help): Remove.
20020
20021 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20022
20023 Sync with Tramp 2.2.3.
20024
20025 * net/tramp-cache.el (top): Pacify byte-compiler using
20026 `init-file-user' and `site-run-file'.
20027
20028 * net/trampver.el: Update release number.
20029
20030 2011-10-23 Chong Yidong <cyd@gnu.org>
20031
20032 * files.el (toggle-read-only): Remove obsolete comment about
20033 version control.
20034
20035 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20036 for toggle-read-only. Note that this hasn't called vc-next-action
20037 since 2008-05-02, though it wasn't documented at the time.
20038
20039 * vc/ediff-init.el (ediff-toggle-read-only-function):
20040 Use toggle-read-only.
20041
20042 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20043
20044 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20045 of c-parse-state.
20046
20047 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20048 correct faulty logical expression.
20049 (c-parse-state-state, c-record-parse-state-state):
20050 (c-replay-parse-state-state): New defvar/defuns.
20051 (c-debug-parse-state): Use new functions.
20052
20053 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20054
20055 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20056 last fix. Use window-in-direction correctly.
20057
20058 2011-10-21 Chong Yidong <cyd@gnu.org>
20059
20060 * progmodes/idlwave.el (idlwave-mode):
20061 * progmodes/vera-mode.el (vera-mode): No need to set
20062 require-final-newline; that's done in prog-mode.
20063 Suggested by Stefan Monnier.
20064
20065 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20066
20067 * mouse.el (mouse-drag-window-above)
20068 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20069 (mouse-drag-mode-line-1, mouse-drag-header-line)
20070 (mouse-drag-vertical-line-rightward-window): Remove.
20071 (mouse-drag-line): New function.
20072 (mouse-drag-mode-line, mouse-drag-header-line)
20073 (mouse-drag-vertical-line): Call mouse-drag-line.
20074 * window.el (window-at-side-p, windows-at-side): New functions.
20075
20076 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20077
20078 * tar-mode.el (tar-grind-file-mode):
20079 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20080
20081 2011-10-21 Chong Yidong <cyd@gnu.org>
20082
20083 * progmodes/idlwave.el (idlwave-mode):
20084 * progmodes/vera-mode.el (vera-mode):
20085 Use mode-require-final-newline.
20086
20087 2011-10-20 Glenn Morris <rgm@gnu.org>
20088
20089 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20090
20091 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20092
20093 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20094
20095 2011-10-20 Chong Yidong <cyd@gnu.org>
20096
20097 * emulation/cua-base.el (cua-mode):
20098 * mail/footnote.el (footnote-mode):
20099 * mail/mailabbrev.el (mail-abbrevs-mode):
20100 * net/xesam.el (xesam-minor-mode):
20101 * progmodes/bug-reference.el (bug-reference-mode):
20102 * progmodes/cap-words.el (capitalized-words-mode):
20103 * progmodes/compile.el (compilation-minor-mode)
20104 (compilation-shell-minor-mode):
20105 * progmodes/gud.el (gud-tooltip-mode):
20106 * progmodes/hideif.el (hide-ifdef-mode):
20107 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20108 * progmodes/subword.el (subword-mode):
20109 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20110 * progmodes/which-func.el (which-function-mode):
20111 * term/tvi970.el (tvi970-set-keypad-mode):
20112 * term/vt100.el (vt100-wide-mode):
20113 * textmodes/flyspell.el (flyspell-mode):
20114 * textmodes/ispell.el (ispell-minor-mode):
20115 * textmodes/nroff-mode.el (nroff-electric-mode):
20116 * textmodes/paragraphs.el (use-hard-newlines):
20117 * textmodes/refill.el (refill-mode):
20118 * textmodes/reftex.el (reftex-mode):
20119 * textmodes/rst.el (rst-minor-mode):
20120 * textmodes/sgml-mode.el (html-autoview-mode)
20121 (sgml-electric-tag-pair-mode):
20122 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20123 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20124 * emulation/crisp.el (crisp-mode):
20125 * emacs-lisp/eldoc.el (eldoc-mode):
20126 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20127 minor mode behavior.
20128
20129 2011-10-19 Juri Linkov <juri@jurta.org>
20130
20131 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20132 the list of hard-coded chars with escape-glyph face.
20133
20134 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20135
20136 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20137
20138 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20139
20140 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20141 running process.
20142
20143 2011-10-19 Glenn Morris <rgm@gnu.org>
20144
20145 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20146 Ignore ignored files. (Bug#9726)
20147
20148 2011-10-19 Chong Yidong <cyd@gnu.org>
20149
20150 Doc fix for minor modes, stating that an omitted argument enables
20151 the mode unconditionally when called from Lisp.
20152
20153 * abbrev.el (abbrev-mode):
20154 * allout.el (allout-mode):
20155 * autoinsert.el (auto-insert-mode):
20156 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20157 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20158 (global-auto-revert-mode):
20159 * battery.el (display-battery-mode):
20160 * composite.el (global-auto-composition-mode)
20161 (auto-composition-mode):
20162 * delsel.el (delete-selection-mode):
20163 * desktop.el (desktop-save-mode):
20164 * dired-x.el (dired-omit-mode):
20165 * dirtrack.el (dirtrack-mode):
20166 * doc-view.el (doc-view-minor-mode):
20167 * double.el (double-mode):
20168 * electric.el (electric-indent-mode, electric-pair-mode):
20169 * emacs-lock.el (emacs-lock-mode):
20170 * epa-hook.el (auto-encryption-mode):
20171 * follow.el (follow-mode):
20172 * font-core.el (font-lock-mode):
20173 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20174 * help.el (temp-buffer-resize-mode):
20175 * hilit-chg.el (highlight-changes-mode)
20176 (highlight-changes-visible-mode):
20177 * hi-lock.el (hi-lock-mode):
20178 * hl-line.el (hl-line-mode, global-hl-line-mode):
20179 * icomplete.el (icomplete-mode):
20180 * ido.el (ido-everywhere):
20181 * image-file.el (auto-image-file-mode):
20182 * image-mode.el (image-minor-mode):
20183 * iswitchb.el (iswitchb-mode):
20184 * jka-cmpr-hook.el (auto-compression-mode):
20185 * linum.el (linum-mode):
20186 * longlines.el (longlines-mode):
20187 * master.el (master-mode):
20188 * mb-depth.el (minibuffer-depth-indicate-mode):
20189 * menu-bar.el (menu-bar-mode):
20190 * minibuf-eldef.el (minibuffer-electric-default-mode):
20191 * mouse-sel.el (mouse-sel-mode):
20192 * msb.el (msb-mode):
20193 * mwheel.el (mouse-wheel-mode):
20194 * outline.el (outline-minor-mode):
20195 * paren.el (show-paren-mode):
20196 * recentf.el (recentf-mode):
20197 * reveal.el (reveal-mode, global-reveal-mode):
20198 * rfn-eshadow.el (file-name-shadow-mode):
20199 * ruler-mode.el (ruler-mode):
20200 * savehist.el (savehist-mode):
20201 * scroll-all.el (scroll-all-mode):
20202 * scroll-bar.el (scroll-bar-mode):
20203 * server.el (server-mode):
20204 * shell.el (shell-dirtrack-mode):
20205 * simple.el (auto-fill-mode, transient-mark-mode)
20206 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20207 (line-number-mode, column-number-mode, size-indication-mode)
20208 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20209 * strokes.el (strokes-mode):
20210 * time.el (display-time-mode):
20211 * t-mouse.el (gpm-mouse-mode):
20212 * tool-bar.el (tool-bar-mode):
20213 * tooltip.el (tooltip-mode):
20214 * type-break.el (type-break-mode-line-message-mode)
20215 (type-break-query-mode):
20216 * view.el (view-mode):
20217 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20218 (global-whitespace-mode, global-whitespace-newline-mode):
20219 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20220
20221 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20222 Fix autogenerated docstring.
20223
20224 2011-10-19 Juri Linkov <juri@jurta.org>
20225
20226 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20227 by checking environment variables "DESKTOP_SESSION" and
20228 "XDG_CURRENT_DESKTOP". (Bug#9779)
20229
20230 2011-10-19 Juri Linkov <juri@jurta.org>
20231
20232 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20233 (browse-url-chromium-program, browse-url-chromium-arguments):
20234 New defcustoms.
20235 (browse-url-default-browser): Check for `browse-url-chromium' and
20236 call `browse-url-chromium-program'.
20237 (browse-url-chromium): New command. (Bug#9779)
20238
20239 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20240
20241 * facemenu.el (list-colors-duplicates): On Windows, detect more
20242 duplicates by assuming that only colors matching "^System" are
20243 special "system colors". (Bug#9722)
20244
20245 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20246
20247 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20248 to distinguish the author from the committer.
20249
20250 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20251
20252 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20253
20254 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20255
20256 * international/mule.el (sgml-html-meta-auto-coding-function):
20257 Add support for detecting encoding in HTML5 specified only as
20258 <meta charset="UTF-8">. Implementation just makes http-equiv and
20259 content-type parts from HTML4 encoding string optional. (Bug#9716)
20260
20261 2011-10-18 Glenn Morris <rgm@gnu.org>
20262
20263 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20264
20265 2011-10-18 Chong Yidong <cyd@gnu.org>
20266
20267 * faces.el (cursor): Doc fix.
20268
20269 2011-10-17 Chong Yidong <cyd@gnu.org>
20270
20271 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20272
20273 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20274
20275 * dirtrack.el (dirtrack): Support shell buffers with path
20276 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20277
20278 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20279
20280 * json.el: Bump version to 1.3 and note change in History.
20281 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20282
20283 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20284
20285 * comint.el (comint-insert-input, comint-send-input)
20286 (comint-get-old-input-default, comint-backward-matching-input)
20287 (comint-next-prompt): Use nil instead of `input' for field property of
20288 past user input (bug#114).
20289
20290 * minibuffer.el (completion--replace): Inherit surrounding properties
20291 (bug#114).
20292 (minibuffer-complete-and-exit): Use it.
20293
20294 * comint.el (comint--table-subvert): Quote the all-completions output
20295 (bug#9160).
20296
20297 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20298
20299 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20300
20301 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20302 window on right of selected. (Bug#9350) Reword other window
20303 entries and separate them from frame entries.
20304
20305 2011-10-15 Glenn Morris <rgm@gnu.org>
20306
20307 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20308 Doc fixes.
20309
20310 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20311
20312 * net/network-stream.el (network-stream-open-starttls):
20313 Improve detection of failure due to lack of TLS support.
20314
20315 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20316 putting the input text in front and in bold.
20317
20318 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20319
20320 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20321
20322 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20323 empty buffer.
20324
20325 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20326 unread-command-events rather than pushing yet-another event.
20327
20328 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20329
20330 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20331 the explanation of the possible choices. Make the options passed
20332 to completing-read shorter.
20333
20334 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20335
20336 * textmodes/flyspell.el (flyspell-large-region): Make sure
20337 extended character mode is used if defined (Bug#1339).
20338
20339 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20340
20341 * simple.el (what-cursor-position): Fix the display of the
20342 character info for LRE, LRO, RLE, and RLO characters by appending
20343 an invisible PDF.
20344
20345 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20346
20347 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20348 even in case of error; add debug spec; simplify data flow.
20349 (with-timeout-handler): Remove.
20350
20351 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20352
20353 Fix Bug#6019, Bug#9315.
20354
20355 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20356 complete `buffer-file-name', the local file name part could look
20357 remotely (for example on VMS).
20358
20359 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20360 `tramp-run-real-handler'.
20361 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20362 already quoted by '"'.
20363
20364 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20365 Let `file-name-handler-alist' be nil, the local file name part
20366 could look remotely (for example on VMS).
20367
20368 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20369
20370 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20371 from here...
20372 (flyspell-post-command-hook): ...to here.
20373
20374 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20375
20376 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20377 if not needed.
20378 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20379 using completion. Protect against "slow" callers.
20380 Remove the "message hack".
20381
20382 2011-10-11 Juri Linkov <juri@jurta.org>
20383
20384 * isearch.el (isearch-lazy-highlight-word): New variable.
20385 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20386 Use it. (Bug#9727)
20387
20388 2011-10-11 Glenn Morris <rgm@gnu.org>
20389
20390 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20391 like f90-previous-statement does.
20392
20393 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20394
20395 * eshell/eshell.el (eshell-command): History should be saved
20396 only in interactive use, to avoid error.
20397
20398 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * minibuffer.el (completion-file-name-table): Fix last change,
20401 i.e. ignore normal errors but not the other ones.
20402
20403 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20404
20405 * window.el (special-display-buffer-names)
20406 (special-display-regexps): Remove some remnants of earlier
20407 changes from doc-strings.
20408 (quit-windows-on): New function.
20409
20410 * vc/vc.el (vc-revert, vc-rollback):
20411 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20412 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20413 (Bug#6183) (Bug#7074) (Bug#7447)
20414
20415 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20416
20417 * window.el (frame-auto-hide-function): Add version tag.
20418 (Bug#9699)
20419
20420 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20421
20422 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20423 condition.
20424
20425 2011-10-09 Leo Liu <sdl.web@gmail.com>
20426
20427 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20428 (Bug#9701)
20429
20430 2011-10-08 Glenn Morris <rgm@gnu.org>
20431
20432 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20433 before the first code statement zero indent. (Bug#9690)
20434
20435 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20436
20437 * simple.el (count-words-region): Always count in the region.
20438 Report the number of lines and characters too.
20439 (count-words): New command, which counts in the buffer if the
20440 region is inactive, as count-words-region used to.
20441 (count-words--message): New function. Handle plurals.
20442 (count-lines-region): Make it an alias for count-words-region.
20443
20444 * bindings.el (esc-map): Replace count-lines-region with
20445 count-words-region.
20446
20447 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20448
20449 * window.el (window--delete): Delete dedicated frame
20450 unconditionally when argument KILL is non-nil. (Bug#9699)
20451 (switch-to-buffer): Fix doc-string typo.
20452
20453 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20454
20455 * eshell/eshell.el (eshell-command): Avoid using hooks.
20456
20457 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20458
20459 * bindings.el ([M-left],[M-right]): Bind to left-word and
20460 right-word respectively.
20461
20462 2011-10-07 Glenn Morris <rgm@gnu.org>
20463
20464 * cus-start.el (debug-on-quit): Fix custom type.
20465
20466 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20467
20468 * subr.el (define-key-after): Clarify that the function is not
20469 useful for non-menu keymaps.
20470
20471 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20472
20473 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20474
20475 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20476 in current minibuffer (Fix bug with recursive minibuffers).
20477
20478 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20479
20480 * progmodes/gdb-mi.el (gdb): Doc fix.
20481
20482 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20483
20484 * window.el (frame-auto-hide-function): New option replacing
20485 frame-auto-delete. Suggested by Stefan Monnier.
20486 (window--delete): Call frame-auto-hide-function instead of
20487 investigating frame-auto-delete.
20488 (window-point-1, set-window-point-1): New functions.
20489 (window-in-direction, record-window-buffer, window-state-get-1)
20490 (display-buffer-record-window): Use window-point-1 instead of
20491 window-point.
20492 (set-window-buffer-start-and-point): Use set-window-point-1.
20493
20494 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20495
20496 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20497
20498 2011-10-05 Glenn Morris <rgm@gnu.org>
20499
20500 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20501 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20502
20503 2011-10-05 Leo Liu <sdl.web@gmail.com>
20504
20505 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20506 works with buffer object.
20507
20508 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20509
20510 * mpc.el (mpc-tool-bar-map): Add labels.
20511
20512 2011-10-04 Glenn Morris <rgm@gnu.org>
20513
20514 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20515
20516 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20517
20518 * window.el (window--delete): New function.
20519 (frame-auto-delete): Resuscitate option.
20520 (bury-buffer, replace-buffer-in-windows)
20521 (quit-window): Rewrite using window--delete.
20522 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20523 Pass display-buffer-mark-dedicated to window--display-buffer-2
20524 (Bug#9639).
20525
20526 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20527
20528 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20529 returns a list (bug#9554). Add remote file name completion.
20530 * comint.el (comint--table-subvert): Curry and get quote&unquote
20531 functions as arguments.
20532 (comint--complete-file-name-data): Adjust call accordingly.
20533 * pcomplete.el (pcomplete--table-subvert): Remove.
20534 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20535
20536 * minibuffer.el (completion-table-case-fold): Use currying.
20537 (completion--styles-type, completion--cycling-threshold-type):
20538 New constants.
20539 (completion-styles, completion-category-overrides)
20540 (completion-cycle-threshold): Use them.
20541 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20542 completion-table-case-fold.
20543
20544 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20545
20546 * minibuffer.el (completion-category-overrides): Fix type of styles
20547 and add more user friendly tags (bug#9660).
20548
20549 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20550
20551 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20552 (mule-input-method-string): New widget.
20553 (default-input-method, language-info-custom-alist): Use it.
20554
20555 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20556
20557 * pcomplete.el: Require comint.
20558 (pcomplete--common-suffix): Remove.
20559 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20560 (pcomplete--table-subvert): Sync with comint--table-subvert.
20561 (pcomplete--entries): Use comint-completion-file-name-table.
20562 * comint.el (comint-unquote-filename): Simplify.
20563 (comint-completion-file-name-table): New function (bug#9616).
20564 (comint--complete-file-name-data): Use it.
20565
20566 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20567 (pcmpl-gnu-tar-buffer): Remove.
20568 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20569 around. Make sure pcomplete-suffix-list is only changed temporarily.
20570 Don't look inside the tar's file if it's too large.
20571
20572 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20573
20574 * cus-edit.el (custom-mode-map):
20575 * epa.el (epa-key-list-mode-map):
20576 * man.el (Man-mode-map):
20577 * startup.el (splash-screen-keymap):
20578 * simple.el (special-mode-map): Use scroll-up-command and
20579 scroll-down-command.
20580
20581 * progmodes/idlw-help.el (idlwave-help-mode-map):
20582 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20583 * net/newst-plainview.el (newsticker-mode-map):
20584 * emulation/ws-mode.el (wordstar-mode-map):
20585 * emulation/vi.el (vi-com-map):
20586 * calc/calc-graph.el (calc-graph-show-dumb):
20587 * term/sun.el (terminal-init-sun):
20588 * term/ns-win.el (global-map):
20589 * progmodes/grep.el (grep-mode-map):
20590 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20591 * mail/rmail.el (rmail-mode-map):
20592 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20593
20594 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20595 custom-safe-themes as special.
20596
20597 2011-10-01 Julien Danjou <julien@danjou.info>
20598
20599 * notifications.el (notifications-notify): Fix docstring.
20600
20601 2011-10-01 Per Starbäck <per@starback.se>
20602
20603 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20604
20605 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20606
20607 * startup.el (command-line-1): Fix last fix by inserting
20608 initial-scratch-message into *scratch* before displaying it.
20609 (Bug#9605) and (Bug#9636)
20610
20611 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20612
20613 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20614 window is hscrolled, move by logical lines. (Bug#9607)
20615 (line-move-visual): Update the doc string to the above effect.
20616
20617 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20618
20619 * window.el (display-buffer-record-window): When WINDOW is the
20620 selected window use `point' instead of `window-point'. (Bug#9626)
20621
20622 * startup.el (command-line-1): Use insert-before-markers when
20623 inserting initial-scratch-message. (Bug#9605)
20624
20625 * help.el (help-window): Remove variable.
20626
20627 2011-09-29 Glenn Morris <rgm@gnu.org>
20628
20629 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20630
20631 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20632
20633 * descr-text.el (describe-char-categories): Accept category
20634 descriptions more than one line long.
20635
20636 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20637
20638 * simple.el (delete-trailing-whitespace): Fix last change.
20639
20640 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20641 Don't confuse "y => 3" as the beginning of a `y' operation.
20642
20643 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20644 object has more than 4 slots (bug#9613).
20645
20646 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20647
20648 * subr.el (with-output-to-temp-buffer):
20649 * net/quickurl.el (quickurl, quickurl-browse-url):
20650 Fix typos in docstrings.
20651
20652 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20653
20654 * minibuffer.el (completion-styles)
20655 (completion-category-overrides): Cross reference each other in doc
20656 strings.
20657
20658 2011-09-27 Glenn Morris <rgm@gnu.org>
20659
20660 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20661 to split-string. (Bug#9606)
20662
20663 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20664
20665 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20666 (bug#9615).
20667
20668 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20669
20670 * emacs-lisp/package.el (list-packages): Fix echo area message.
20671
20672 2011-09-27 Leo Liu <sdl.web@gmail.com>
20673
20674 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20675
20676 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20677
20678 * net/dbus.el (dbus-unregister-object): Don't release services for
20679 registered signals. (Bug#9581)
20680
20681 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20682
20683 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20684 function that picks between cfengine 2 and 3 support
20685 automatically. Update docs accordingly.
20686
20687 2011-09-22 Kenichi Handa <handa@m17n.org>
20688
20689 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20690 ZERO.
20691 (indian-itrans-v5-table-for-tamil): New variable.
20692 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20693
20694 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20695
20696 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20697 that's true if the current command involved collapsing of text.
20698 It's reset to false at the beginning of the next command.
20699 (allout-post-command-business): Move the cursor to the beginning
20700 of entry if the cursor is hidden and collapsing activity just
20701 happened.
20702
20703 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20704
20705 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20706 tracking (Bug#9541).
20707
20708 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20709
20710 * net/newst-reader.el (newsticker-html-renderer)
20711 (newsticker-show-news): Automatically load html rendering package
20712 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20713 because w3m-fill-column is let-bound" and the error "Symbol's value
20714 as variable is void: w3m-fill-column".
20715
20716 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20717
20718 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20719 Release services only if they are defined. (Bug#9581)
20720
20721 2011-09-23 Richard Stallman <rms@gnu.org>
20722
20723 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20724 distinguish start of paragraph from start of its text.
20725
20726 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20727
20728 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20729 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20730 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20731
20732 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20733
20734 * international/mule-diag.el (mule-diag): Insert a newline after
20735 each fontset description.
20736
20737 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20738
20739 * simple.el (delete-trailing-whitespace):
20740 Document last change; simplify.
20741
20742 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20743
20744 * simple.el (delete-trailing-whitespace): Also delete
20745 extra newlines at the end of the buffer.
20746
20747 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20748 (picture-newline): Use forward-line so as to ignore fields.
20749
20750 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20751
20752 * subr.el (with-wrapper-hook): Fix edebug spec.
20753
20754 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20755
20756 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20757 (bug#4538).
20758
20759 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20760
20761 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20762 Fix nasty bug using wrong cached values.
20763
20764 2011-09-23 Alan Mackenzie <acm@muc.de>
20765
20766 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20767
20768 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20769
20770 * window.el (pop-to-buffer): Ensure right window is selected if we
20771 chose another frame.
20772
20773 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20774
20775 * simple.el (what-cursor-position): Use get-char-property-change
20776 and next-single-char-property-change, to be able to show display
20777 properties that come from overlays as well as text properties.
20778
20779 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20780
20781 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20782
20783 * cmuscheme.el (run-scheme, switch-to-scheme):
20784 * cus-edit.el (customize-group, custom-buffer-create)
20785 (customize-browse):
20786 * info.el (info):
20787 * shell.el (shell):
20788 * mail/sendmail.el (mail):
20789 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20790
20791 2011-09-22 Richard Stallman <rms@gnu.org>
20792
20793 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20794 move back only to line beg, don't move back over blank lines.
20795
20796 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20797
20798 * files.el (copy-directory): Set directory attributes only in case
20799 they could be retrieved from the source directory. (Bug#9565)
20800
20801 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20802
20803 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20804 (hs-find-block-beginning, hs-hide-level-recursive):
20805 Ignore strings as well as comments. (Bug#9502)
20806
20807 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20808
20809 * progmodes/sql.el (sql-comint-postgres):
20810 Convert port number to a string. (Bug#9566)
20811
20812 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20813
20814 * window.el (quit-window): Undedicate window when switching to
20815 previous buffer. Reported by Thierry Volpiatto
20816 <thierry.volpiatto@gmail.com>.
20817 (special-display-popup-frame): When popping up a new frame reset
20818 its previous buffers to nil. Simplify code.
20819
20820 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20821
20822 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20823 and process filter, as done also in `shell-command'.
20824
20825 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20826
20827 * window.el (set-window-buffer-start-and-point):
20828 Call set-window-start with NOFORCE argument t.
20829 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20830 (quit-window): Reword doc-string. Handle new format of
20831 quit-restore parameter. Don't delete window if it has a
20832 previous buffer we can show instead of the present one.
20833 (display-buffer-record-window): Rewrite using a new format for
20834 the quit-restore window parameter
20835 (special-display-popup-frame, display-buffer-same-window)
20836 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20837 (display-buffer-pop-up-window, display-buffer-use-some-window):
20838 Adapt symbol passed to display-buffer-record-window.
20839 * help.el (help-window-setup): Handle new format of quit-restore
20840 parameter.
20841
20842 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20843
20844 * faces.el (face-list): Fix docstring (bug#9564).
20845
20846 * window.el (display-buffer--action-function-custom-type):
20847 Don't include internal functions in the Custom interface.
20848
20849 2011-09-20 Juri Linkov <juri@jurta.org>
20850
20851 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20852 (Info-forward-node, Info-backward-node, Info-next-preorder)
20853 (Info-last-preorder): Use it. (Bug#9528)
20854
20855 2011-09-20 Juri Linkov <juri@jurta.org>
20856
20857 * info.el (Info-last-preorder): Visit last menu item only when
20858 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20859
20860 2011-09-20 Julien Danjou <julien@danjou.info>
20861
20862 * password-cache.el (password-cache-remove): Remove entries even if the
20863 value is nil, so that password with a nil value (negative caching) is
20864 possible to invalidate.
20865
20866 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20867
20868 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20869 all whitespace around breakpoint. (Bug#9553)
20870 (f90-find-breakpoint): Only break at whitespace inside a comment.
20871
20872 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20873
20874 * minibuffer.el (completion-file-name-table): Keep track of errors.
20875 (completion-table-with-predicate): Handle the case where pred1 is nil.
20876 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20877
20878 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20879
20880 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20881 (debugger-return-value): Signal an error if the debugging context does
20882 not await any return value.
20883
20884 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20885 * image-mode.el (image-toggle-display-text)
20886 (image-toggle-display-image): Stay away from evil `intangible'.
20887
20888 2011-09-19 Leo Liu <sdl.web@gmail.com>
20889
20890 * replace.el (occur-revert-arguments): Make it permanent-local.
20891 (occur-mode): Don't call font-lock-defontify.
20892
20893 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20894
20895 * net/ldap.el (ldap-search-internal): Don't push empty search
20896 result (Bug#9508).
20897
20898 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20899
20900 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20901
20902 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20903
20904 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20905 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20906
20907 2011-09-18 Juri Linkov <juri@jurta.org>
20908
20909 * buff-menu.el (Buffer-menu-mode-map):
20910 * dired.el (dired-mode-map):
20911 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20912 (lisp-interaction-mode-map):
20913 * emacs-lisp/package.el (package-menu-mode-map):
20914 * epa.el (epa-key-list-mode-map):
20915 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20916 (menu-bar-options-menu):
20917 * outline.el (outline-mode-menu-bar-map):
20918 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20919 * vc/vc-dir.el (vc-dir-menu-map):
20920 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20921 Capitalize non-function content words in menu item strings.
20922
20923 * dired.el (dired-mode-map): Add menu item for
20924 `image-dired-dired-toggle-marked-thumbs'.
20925
20926 2011-09-18 Juri Linkov <juri@jurta.org>
20927
20928 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20929 to `isearch-case-fold-search' and restore its original value
20930 after the `isearch-mode' call.
20931
20932 2011-09-18 Juri Linkov <juri@jurta.org>
20933
20934 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20935 because `zgrep' returns 1 for successful matches (bug#9226).
20936
20937 2011-09-18 Juri Linkov <juri@jurta.org>
20938
20939 * info.el (Info-extract-menu-node-name): Check the second match
20940 for empty string (second test-case of bug#9528).
20941 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20942 intermediate nodes to the history (first test-case of bug#9528).
20943
20944 2011-09-18 Juri Linkov <juri@jurta.org>
20945
20946 * info.el (Info-mode-syntax-table): New variable.
20947 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20948
20949 2011-09-18 Juri Linkov <juri@jurta.org>
20950
20951 * info.el (Info-file-supports-index-cookies):
20952 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20953 outputs one more line for long file names (bug#4142).
20954
20955 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20956
20957 * newcomment.el (comment-normalize-vars): If prompting for
20958 comment-start, set comment-start-skip too (Bug#8424).
20959
20960 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20961
20962 * icomplete.el: Fix previous fix of Bug#5849.
20963 (icomplete-mode): Don't set completion-show-inline-help.
20964 (icomplete-minibuffer-setup): Set completion-show-inline-help
20965 locally during icompletion.
20966
20967 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20968
20969 * woman.el (woman2-process-escapes): Don't delete unrecognized
20970 escapes (Bug#7843).
20971
20972 * files.el (inhibit-first-line-modes-regexps): Add image files.
20973 (hack-local-variables-prop-line): Return nil for malformed
20974 prop-lines (Bug#9044).
20975
20976 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20977
20978 * net/tramp.el (top): Don't require 'shell.
20979 (tramp-methods): Fix docstring.
20980 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20981 Return complete remote file name. Handle "smb" case.
20982 Use `tramp-tmpdir', if defined for the respective method.
20983 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20984
20985 * net/tramp-compat.el (top): Require 'shell.
20986
20987 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20988 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20989 `tramp-current-host'.
20990 (tramp-get-remote-tmpdir): Remove.
20991
20992 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20993 `tramp-tmpdir' entries.
20994 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20995 (tramp-smb-handle-file-attributes): Ignore errors.
20996 (tramp-smb-wait-for-output): Check also for process end.
20997
20998 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20999
21000 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21001 when sending QUIT (bug#9312).
21002
21003 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21004
21005 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21006 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21007 occur-mode-display-occurrence.
21008 (occur-edit-mode): Add usage message.
21009 (occur-cease-edit): New command.
21010 (occur-after-change-function): Use text properties to find the
21011 position of the prefix text.
21012 (occur-engine): Set stickiness of prefix text properties.
21013
21014 2011-09-17 Glenn Morris <rgm@gnu.org>
21015
21016 * progmodes/etags.el (complete-tag):
21017 Fix call to completion-in-region. (Bug#9526)
21018
21019 2011-09-17 Juri Linkov <juri@jurta.org>
21020
21021 * textmodes/ispell.el (ispell-word): Add to the error message
21022 the word, ispell program name and current dictionary (bug#9121).
21023 (ispell-tex-arg-end): Capitalize "error" in the error message.
21024
21025 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21026
21027 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21028 check. (Bug#4251)
21029
21030 2011-09-17 Juri Linkov <juri@jurta.org>
21031
21032 * window.el (window-safe-min-height, window-safe-min-width):
21033 Fix typos (followup to bug#9522).
21034
21035 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21036
21037 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21038
21039 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21040
21041 * simple.el (line-move): If goal-column is set, move by logical
21042 lines, not by display lines. (Bug#971)
21043 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21044 to reflect the above change.
21045
21046 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21047
21048 * image.el (imagemagick-register-types): Use regexp-opt.
21049
21050 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21051
21052 * window.el (display-buffer-base-action): Rename from
21053 display-buffer-default-action. Make default value empty.
21054 (display-buffer-overriding-action): Convert to defvar.
21055 (display-buffer-fallback-action): New var.
21056
21057 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21058
21059 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21060 declaration.
21061 (package--add-to-archive-contents): If there is a duplicate entry
21062 with an older version, remove it.
21063 (package-menu-mark-delete, package-menu-mark-install)
21064 (package-menu-mark-unmark): Make unused args optional.
21065 (package-menu-mark-obsolete-for-deletion):
21066 Use package-menu-get-status instead of a regexp search.
21067 (package-menu-get-status): Use tabulated-list-entry.
21068 (package-menu-mark-upgrades): New command.
21069 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21070 (package-menu-execute): Do installation before deletion.
21071 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21072 instead of checking major-mode.
21073 (package-menu--find-upgrades): New function.
21074
21075 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21076
21077 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21078 passwords in the log buffer.
21079 (smtpmail-process-filter): Update the process marker so that the
21080 "broken by peer" status message is inserted in the right place.
21081
21082 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21083
21084 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21085 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21086 bibtex-completion-at-point-function.
21087 (bibtex-completion-at-point-function): Use them.
21088
21089 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21090
21091 * mpc.el (mpc-constraints-tag-lookup): New function.
21092 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21093 also to browser "album|playlist".
21094
21095 2011-09-14 Juri Linkov <juri@jurta.org>
21096
21097 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21098 (isearch-edit-string): Use length of `isearch-string' when
21099 `isearch-fail-pos' returns nil.
21100 (isearch-message): Remove duplicate code and call
21101 `isearch-fail-pos' with arg `t'.
21102
21103 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21104
21105 * replace.el (occur-mode-goto-occurrence): Don't force using other
21106 window (Bug#9499).
21107
21108 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21109
21110 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21111
21112 * window.el (display-buffer-window): Remove.
21113 (display-buffer-record-window): Use help-setup window parameter
21114 instead of variable display-buffer-window.
21115 (display-buffer-function, special-display-buffer-names)
21116 (special-display-function): Mention help-setup parameter instead
21117 of display-buffer-window in doc-string.
21118 * help.el (help-window-setup): New argument help-window.
21119 Use help-window-setup parameter instead of display-buffer-window.
21120 Reword some messages.
21121 (with-help-window): Pass window used for displaying the buffer
21122 to help-window-setup. Don't set display-buffer-window.
21123
21124 2011-09-13 Glenn Morris <rgm@gnu.org>
21125
21126 * emacs-lisp/debug.el (debugger-make-xrefs):
21127 Preserve point. (Bug#9462)
21128
21129 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21130
21131 * window.el (window-deletable-p): Use next-frame.
21132
21133 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21134
21135 * window.el (window-auto-delete): Remove.
21136 (window-deletable-p): Remove argument FORCE. Don't deal with
21137 dedication and previous buffers.
21138 (switch-to-prev-buffer): Don't delete window.
21139 (delete-windows-on): Delete a window's frame if and only if the
21140 window is dedicated.
21141 (replace-buffer-in-windows): Delete buffer's window or frame if
21142 and only if window is dedicated.
21143 (quit-window): Handle quit-restore as before last change.
21144 (bury-buffer): Delete window only if window-deletable-p returns t.
21145
21146 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21147
21148 * window.el (window-deletable-p): Never delete the last frame on a
21149 given terminal.
21150
21151 2011-09-13 Glenn Morris <rgm@gnu.org>
21152
21153 * help.el (describe-key-briefly): Copy previous standard-output change.
21154
21155 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21156
21157 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21158
21159 2011-09-13 Glenn Morris <rgm@gnu.org>
21160
21161 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21162 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21163
21164 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21165
21166 * dired-aux.el (dired-mark-read-string): Don't return default
21167 value on empty input (Bug#9361).
21168 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21169 Omit initial minibuffer contents.
21170 (dired-do-chmod): Signal an error on empty input.
21171 (dired-mark-read-string): Don't return default on empty input.
21172
21173 * files.el (file-modes-symbolic-to-number): Doc fix.
21174
21175 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21176
21177 * international/mule-cmds.el (ucs-completions): Remove.
21178 (read-char-by-name): Use complete-with-action instead; add metadata.
21179
21180 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21181
21182 * window.el (display-buffer--action-function-custom-type)
21183 (display-buffer--action-custom-type): New vars.
21184 (display-buffer-alist, display-buffer-default-action)
21185 (display-buffer-overriding-action): Add defcustom types.
21186
21187 * frame.el (delete-other-frames): Doc fix (Bug#276).
21188
21189 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21190
21191 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21192
21193 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21194
21195 Change modes that used same-window-* vars to use switch-to-buffer.
21196
21197 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21198 Use switch-to-buffer.
21199
21200 * cus-edit.el (customize-group, custom-buffer-create)
21201 (customize-browse, custom-buffer-create-other-window):
21202 Use switch-to-buffer or switch-to-buffer-other-window.
21203
21204 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21205 (Info-prev, Info-up, Info-speedbar-goto-node)
21206 (info-display-manual): Use switch-to-buffer.
21207 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21208
21209 * mail/sendmail.el (mail): Use switch-to-buffer.
21210 (mail-recover): Use switch-to-buffer-other-window.
21211
21212 * cmuscheme.el (run-scheme, switch-to-scheme):
21213 * ielm.el (ielm):
21214 * shell.el (shell):
21215 * net/rlogin.el (rlogin):
21216 * net/telnet.el (telnet, rsh):
21217 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21218
21219 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21220
21221 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21222
21223 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21224
21225 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21226 so don't mention it (bug#9301).
21227 (dired-sort-toggle-or-edit): Clarify string further.
21228
21229 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21230 match `x', `w32' and `ns', like the manual says (bug#9029).
21231
21232 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21233 (process-kill-buffer-query-function): Mention the buffer name in
21234 the query.
21235
21236 * image-mode.el (image-next-line): The line parameter is mandatory
21237 (bug#9258).
21238
21239 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21240 which can be useful (bug#9301).
21241
21242 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21243
21244 * subr.el (match-string): Mention that the current buffer should
21245 be the same as the search was done in (bug#9282).
21246
21247 * facemenu.el: Disable the remove-* commands if the mark isn't
21248 active (bug#9162).
21249
21250 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21251
21252 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21253 of display-buffer.
21254 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21255
21256 * replace.el (occur-mode-goto-occurrence)
21257 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21258 and display-buffer.
21259
21260 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21261 display-buffer.
21262
21263 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21264 special-display and same-window variables.
21265 (mail-other-window): Use switch-to-buffer-other-window.
21266 (mail-other-frame): USe switch-to-buffer-other-frame.
21267
21268 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21269 Use display-buffer-other-frame.
21270 (gdb-display-gdb-buffer): Use pop-to-buffer.
21271
21272 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21273
21274 * progmodes/python.el: Don't set same-window-buffer-names.
21275
21276 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21277
21278 * window.el (display-buffer-alist): Add *Python*.
21279
21280 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21281
21282 * window.el (display-buffer-alist): Add entry for buffers
21283 previously handled same-window-*.
21284 (display-buffer-alist, display-buffer-default-action)
21285 (display-buffer-overriding-action): Mark as risky.
21286 (display-buffer-alist): Document action function changes.
21287 (display-buffer--same-window-action)
21288 (display-buffer--other-frame-action): New variables.
21289 (switch-to-buffer, display-buffer-other-frame): Use them.
21290 (display-buffer): Rename reuse-frame entry to reusable-frames.
21291 (display-buffer-reuse-selected-window): Function deleted.
21292 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21293 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21294 (display-buffer-special): New function.
21295 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21296 display-buffer-reuse-or-pop-window. Split off special-display
21297 part into display-buffer-special.
21298 (display-buffer-use-some-window): Don't perform any special
21299 pop-up-frames handling.
21300 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21301 (display-buffer--maybe-same-window): Rename from
21302 display-buffer-maybe-same-window.
21303
21304 * info.el: Don't set same-window-regexps.
21305 (info-setup): New function.
21306 (info-other-window, info): Call it.
21307
21308 * cus-edit.el: Don't set same-window-regexps.
21309 (customize-group): New argument.
21310 (customize-group-other-window): Use it.
21311 (customize-face, customize-face-other-window): Likewise.
21312 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21313
21314 * net/rlogin.el:
21315 * net/telnet.el:
21316 * progmodes/gud.el: Don't set same-window-regexps.
21317
21318 * cmuscheme.el:
21319 * ielm.el:
21320 * shell.el:
21321 * mail/sendmail.el:
21322 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21323
21324 2011-09-10 Juri Linkov <juri@jurta.org>
21325
21326 * isearch.el (isearch-edit-string): Remove obsolete mention of
21327 `C-w' (`isearch-yank-word-or-char') from docstring.
21328 (isearch-query-replace): Fix typo in docstring (bug#9466).
21329
21330 2011-09-10 Juri Linkov <juri@jurta.org>
21331
21332 * paren.el (show-paren-function): Don't show escaped parens.
21333 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21334
21335 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21336
21337 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21338 (mm-default-file-encoding): Remove autoload forms, they are
21339 replaced with autoload cookies in mml.el and mm-encode.el.
21340 (mail-add-attachment): New command.
21341 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21342 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21343 the doc string.
21344 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21345
21346 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21347
21348 * simple.el (count-words-region): Use buffer if there's no region
21349 (bug#9429).
21350
21351 2011-09-09 Juri Linkov <juri@jurta.org>
21352
21353 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21354 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21355 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21356
21357 2011-09-09 Alan Mackenzie <acm@muc.de>
21358
21359 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21360 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21361
21362 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21363
21364 Fix for Savannah bug#9392.
21365 * simple.el (mail-encode-mml): New defvar.
21366
21367 * mail/rmail.el (mail-encode-mml): Add a defvar.
21368 (rmail-enable-mime-composing): Default to t.
21369 (rmail-forward): Use MIME method of forwarding only if both
21370 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21371 Set mail-encode-mml non-nil if the MIME method was used.
21372
21373 * mail/sendmail.el (mml-to-mime): Add autoload form.
21374 (mail-encode-mml): Add a defvar.
21375 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21376 to nil.
21377 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21378 message through mml-to-mime, and reset mail-encode-mml to nil.
21379
21380 2011-09-09 Glenn Morris <rgm@gnu.org>
21381
21382 * woman.el (woman-if-body): When processing an .el block,
21383 do not delete the next .el block as well. (Bug#9447)
21384 (woman-special-characters): Add oq, cq, and hy characters.
21385
21386 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21387
21388 * window.el (window-deletable-p): Make sure window is live before
21389 invoking window-prev-buffers.
21390
21391 2011-09-08 Leo Liu <sdl.web@gmail.com>
21392
21393 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21394
21395 2011-09-08 Juri Linkov <juri@jurta.org>
21396
21397 * progmodes/compile.el (compilation-environment): Make it
21398 a defcustom (bug#8340).
21399
21400 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21401
21402 * window.el (frame-auto-delete): Rename to window-auto-delete.
21403 Make it control auto-deletion of windows and/or frames.
21404 (window-deletable-p): New argument FORCE. Rewrite conditions
21405 for deleting window/frame. (Bug#9419)
21406 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21407 Rewrite handling of case when window/frame can be deleted.
21408 (delete-windows-on): Call window-deletable-p with new FORCE
21409 argument t. (Bug#9456)
21410
21411 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21412
21413 * help-mode.el (help-mode): Restore autoload.
21414
21415 2011-09-07 Juri Linkov <juri@jurta.org>
21416
21417 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21418 `compilation-environment'. Set buffer-local
21419 `compilation-environment' to `thisenv' later after (funcall mode).
21420 (Bug#8340)
21421
21422 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21423 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21424 instead of replacing its value. (Bug#8340)
21425
21426 2011-09-07 Juri Linkov <juri@jurta.org>
21427
21428 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21429 based on text properties put by `grep-filter' instead of matching
21430 escape sequences.
21431 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21432 to the value of `grep-error-screen-columns' (bug#9438).
21433
21434 2011-09-07 Juri Linkov <juri@jurta.org>
21435
21436 * simple.el (next-error-highlight, next-error-highlight-no-select):
21437 Doc fix (bug#9432).
21438
21439 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21440
21441 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21442 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21443
21444 2011-09-07 Leo Liu <sdl.web@gmail.com>
21445
21446 * net/rcirc.el (rcirc-mode): Conditionally initialize
21447 rcirc-input-ring.
21448
21449 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21450
21451 * emacs-lisp/find-func.el (find-function-C-source): Only set
21452 find-function-C-source-directory after checking that we found a source
21453 file there (bug#9440).
21454
21455 2011-09-06 Alan Mackenzie <acm@muc.de>
21456
21457 * isearch.el (isearch-other-meta-char): Wherever a key list is
21458 unread, "unread" the prefix arg, too. This fixes bug #8901.
21459
21460 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21461
21462 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21463
21464 2011-09-05 Juri Linkov <juri@jurta.org>
21465
21466 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21467
21468 2011-09-05 Juri Linkov <juri@jurta.org>
21469
21470 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21471 keeping point where processing of grep matches begins, and
21472 continue to delete remaining escape sequences from the same point.
21473 (grep-filter): Make leading zero optional in "0?1;31m" because
21474 git-grep emits "\033[1;31m" escape sequences unlike expected
21475 "\033[01;31m" as GNU Grep does (bug#9408).
21476 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21477
21478 2011-09-05 Juri Linkov <juri@jurta.org>
21479
21480 * subr.el (y-or-n-p): Capitalize "yes".
21481
21482 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21483
21484 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21485 `tramp-cache-unload-hook' where appropriate.
21486 (tramp-methods): Rename `tramp-remote-sh' to
21487 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21488 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21489
21490 * net/tramp-sh.el (top): Don't require 'shell.
21491 (tramp-methods): Add `tramp-remote-shell' and
21492 `tramp-remote-shell-args' entries.
21493 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21494 (tramp-sh-handle-shell-command): Remove.
21495 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21496 Use `tramp-remote-shell'.
21497
21498 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21499
21500 * mail/sendmail.el (sendmail-query-once-function): Delete.
21501 (sendmail-query-once): Save directly to send-mail-function.
21502 Update message-send-mail-function too.
21503
21504 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21505
21506 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21507
21508 * progmodes/python.el (python-mode-map): Use correct function to
21509 start python interpreter from menu-bar (as reported by Geert
21510 Kloosterman).
21511 (inferior-python-mode-map): Fix typo.
21512 (python-shell-map): Remove.
21513
21514 2011-09-03 Deniz Dogan <deniz@dogan.se>
21515
21516 * net/rcirc.el (rcirc-print): Simplify code for
21517 rcirc-scroll-show-maximum-output. There is no need to walk
21518 through all windows to find the right one.
21519
21520 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21521
21522 * help.el (help-return-method): Doc fix.
21523
21524 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21525
21526 * window.el (window-deletable-p): Don't return a non-nil value
21527 when there's a buffer that was shown in the window before.
21528 (Bug#9419)
21529 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21530 Set window's previous buffers to nil.
21531
21532 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21533
21534 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21535 newline before and after the tag line, so it doesn't interfere
21536 with determining the paragraph direction of bidirectional text.
21537
21538 2011-09-03 Leo Liu <sdl.web@gmail.com>
21539
21540 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21541
21542 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21543
21544 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21545 (pop-to-buffer): Change interactive spec. Pass second argument
21546 directly to display-buffer.
21547 (display-buffer): Fix interactive spec. Use functionp to
21548 distinguish between a function and a list of functions.
21549
21550 * abbrev.el (edit-abbrevs):
21551 * arc-mode.el (archive-extract):
21552 * autoinsert.el (auto-insert):
21553 * bookmark.el (bookmark-bmenu-list):
21554 * files.el (find-file):
21555 * view.el (view-buffer):
21556 * progmodes/compile.el (compilation-goto-locus):
21557 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21558
21559 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21560
21561 * window.el (display-buffer-alist): Doc fix.
21562 (display-buffer): Add docstring. Don't treat
21563 display-buffer-default specially.
21564 (display-buffer-reuse-selected-window)
21565 (display-buffer-same-window, display-buffer-maybe-same-window)
21566 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21567 (display-buffer-pop-up-window)
21568 (display-buffer-reuse-or-pop-window)
21569 (display-buffer-use-some-window): New functions.
21570 (display-buffer-default-action): Use them.
21571 (display-buffer-default): Delete.
21572 (pop-to-buffer-1): Fix choice of actions.
21573
21574 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21575
21576 * minibuffer.el (completion--insert-strings): Don't get confused by
21577 completion entries that end with an LF char.
21578
21579 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21580
21581 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21582
21583 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21584
21585 * window.el (display-buffer): Restore interactive spec.
21586 (display-buffer-same-window, display-buffer-other-window):
21587 New functions.
21588 (pop-to-buffer-1): New function. Use the above.
21589 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21590 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21591
21592 * view.el (view-buffer-other-window, view-buffer-other-frame):
21593 Just use pop-to-buffer.
21594
21595 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21596
21597 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21598
21599 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21600
21601 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21602
21603 2011-08-31 Richard Stallman <rms@gnu.org>
21604
21605 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21606 of the separation of rmail-view-buffer from rmail-buffer.
21607 If you say no to "replace original", the decrypt is in the
21608 view buffer. If you say yes, the decrypt goes into the
21609 rmail buffer also.
21610
21611 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21612
21613 * window.el (display-buffer-window): Rewrite doc-string.
21614 (display-buffer-record-window): New function.
21615 (display-buffer-macro-specifiers)
21616 (display-buffer-even-window-sizes, display-buffer-set-height)
21617 (display-buffer-set-width, display-buffer-in-window)
21618 (display-buffer-reuse-window, display-buffer-split-specifiers)
21619 (display-buffer-side-specifiers, display-buffer-split-window-1)
21620 (display-buffer-split-window, display-buffer-split-atom-window)
21621 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21622 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21623 (display-buffer-other-window-means-other-frame)
21624 (display-buffer-normalize-special)
21625 (display-buffer-normalize-default)
21626 (display-buffer-normalize-argument)
21627 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21628 (display-buffer-normalize-specifiers, display-buffer-frame)
21629 (display-buffer-same-window, display-buffer-same-frame)
21630 (display-buffer-other-window)
21631 (display-buffer-same-frame-other-window)
21632 (display-buffer-other-frame, pop-to-buffer-same-window)
21633 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21634 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21635 (switch-to-buffer-same-frame)
21636 (switch-to-buffer-other-window-same-frame)
21637 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21638 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21639 (display-buffer-alist-set): Remove.
21640 (display-buffer-function, special-display-buffer-names)
21641 (special-display-regexps, special-display-function):
21642 In doc-string refer to display-buffer-window and quit-restore
21643 parameter.
21644 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21645 (special-display-frame-alist, special-display-popup-frame)
21646 (same-window-buffer-names, same-window-regexps, same-window-p)
21647 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21648 (split-window-preferred-function, split-height-threshold)
21649 (split-width-threshold, window-splittable-p)
21650 (split-window-sensibly, window--try-to-split-window)
21651 (window--frame-usable-p, even-window-heights)
21652 (window--even-window-heights, window--display-buffer-1)
21653 (window--display-buffer-2, display-buffer-other-frame):
21654 Restore old Emacs 23 code, order and doc-strings where applicable.
21655 (display-buffer-default, display-buffer-assq-regexp): New functions.
21656 (display-buffer-alist): Rewrite doc-string.
21657 (display-buffer-default-action)
21658 (display-buffer-overriding-action): New variables.
21659 (display-buffer, switch-to-buffer): Rewrite.
21660 (pop-to-buffer): Restore Emacs 23 behavior but use
21661 window-normalize-buffer-to-display.
21662 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21663 Restore Emacs 23 behavior but use
21664 window-normalize-buffer-to-switch-to.
21665 (pop-to-buffer-same-window): Rewrite.
21666 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21667 Rewrite using Emacs 23 options.
21668
21669 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21670
21671 * net/tramp.el (tramp-root-regexp): Remove.
21672 (tramp-completion-file-name-regexp-unified)
21673 (tramp-completion-file-name-regexp-separate)
21674 (tramp-completion-file-name-regexp-url): Don't use leading volume
21675 letter on w32 systems. (Bug#5303, Bug#9311)
21676 (tramp-drop-volume-letter): Simplify definition.
21677 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21678
21679 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21680
21681 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21682 (bug#9356).
21683
21684 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21685
21686 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21687
21688 2011-08-29 Juri Linkov <juri@jurta.org>
21689
21690 * isearch.el (isearch-done): Don't display message "Mark saved"
21691 when arg `edit' is non-nil to prevent its flicker in the echo area.
21692
21693 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21694
21695 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21696 obsolete packages for deletion.
21697
21698 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21699
21700 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21701 (help-mode): Derive help-mode from special-mode. Don't invoke
21702 view-mode from help-mode.
21703 (help-xref-override-view-map): Remove.
21704 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21705 view-mode is not used anymore.
21706
21707 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21708
21709 * server.el (server-port): Doc fix.
21710
21711 * cus-theme.el (custom-theme-choose-mode): Inherit from
21712 special-mode (Bug#9124).
21713 (custom-theme-choose-mode-map): Add special-mode to parent.
21714
21715 2011-08-28 Alan Mackenzie <acm@muc.de>
21716
21717 * progmodes/cc-fonts.el
21718 (c-make-font-lock-BO-decl-search-function): New function.
21719 (c-basic-matchers-after - "Fontify the clauses after various
21720 keywords"): Extract the three keyword lists for the 3 erroneous
21721 constructs from the list of four, and use the new function above
21722 in place of an old one.
21723
21724 2011-08-28 Deniz Dogan <deniz@dogan.se>
21725
21726 * net/rcirc.el (rcirc-insert-prev-input)
21727 (rcirc-insert-next-input): Remove unused argument.
21728
21729 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21730
21731 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21732
21733 2011-08-27 Alan Mackenzie <acm@muc.de>
21734
21735 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21736 handle function pointer parameters properly.
21737
21738 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21739
21740 * window.el (display-buffer-reuse-window): Fix case where
21741 selected window was reused with non-nil OTHER-WINDOW argument.
21742 (Bug#9381)
21743
21744 2011-08-27 Deniz Dogan <deniz@dogan.se>
21745
21746 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21747 oftc's NickServ messages.
21748
21749 2011-08-27 Glenn Morris <rgm@gnu.org>
21750
21751 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21752
21753 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21754
21755 * emacs-lisp/package.el (package-install): Call package-initialize
21756 if called interactively.
21757
21758 2011-08-26 Leo Liu <sdl.web@gmail.com>
21759
21760 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21761
21762 2011-08-25 Juri Linkov <juri@jurta.org>
21763
21764 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21765 `search-whitespace-regexp' (bug#9364).
21766
21767 2011-08-25 Juri Linkov <juri@jurta.org>
21768
21769 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21770 `regexp-search-ring' to their global values to protect from
21771 updating by `read-from-minibuffer' (bug#9185).
21772
21773 2011-08-25 Juri Linkov <juri@jurta.org>
21774
21775 * textmodes/ispell.el (ispell-command-loop): Add newline
21776 at the end of the "Use option `i'..." line.
21777
21778 2011-08-25 Juri Linkov <juri@jurta.org>
21779
21780 * battery.el (display-battery-mode): If `battery-status-function'
21781 or `battery-mode-line-format' is nil, display the message and set
21782 `display-battery-mode' to nil (bug#9363).
21783
21784 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21785
21786 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21787 bidi-string-mark-left-to-right; they are unnecessary now.
21788
21789 2011-08-25 Deniz Dogan <deniz@dogan.se>
21790
21791 * net/quickurl.el: Documentation typo fixes.
21792
21793 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21794
21795 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21796
21797 2011-08-25 Glenn Morris <rgm@gnu.org>
21798
21799 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21800
21801 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21802 (smtpmail-via-smtp): Handle nil response from smtp.
21803
21804 2011-08-24 Juri Linkov <juri@jurta.org>
21805
21806 * proced.el (proced-marked): Inherit from `error' instead of
21807 `font-lock-warning-face'.
21808
21809 * ibuffer.el (ibuffer-marked-face): Change default face from
21810 `font-lock-warning-face' to `warning'.
21811 (ibuffer-deletion-face): Change default face from
21812 `font-lock-type-face' to `error'.
21813
21814 * battery.el (battery-update): Use the face `error' instead of
21815 `font-lock-warning-face' (bug#6117).
21816
21817 2011-08-24 Juri Linkov <juri@jurta.org>
21818
21819 * faces.el (success): Change face color from "Green3" to
21820 "ForestGreen" on light background (bug#9353).
21821
21822 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21823
21824 * window.el (quit-window): Rename from quit-restore-window.
21825 Use same arglist as old quit-window.
21826 (frame-auto-delete): Doc fix.
21827
21828 * view.el (view-mode-exit): Use quit-window.
21829
21830 2011-08-24 Juri Linkov <juri@jurta.org>
21831
21832 * isearch.el (isearch-ring-adjust1): Start visiting previous
21833 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21834 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21835 for empty search string (when the last search string is reused
21836 automatically) to adjust the isearch ring to the last element and
21837 prepare the correct index for further M-p commands (bug#9185).
21838
21839 2011-08-24 Kenichi Handa <handa@m17n.org>
21840
21841 * international/ucs-normalize.el: If decomposition property of
21842 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21843 nil.
21844 (nfd, nfkd): Likewise.
21845
21846 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21847
21848 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21849 from process filters aren't reliably transmitted to the surrounding
21850 accept-process-output.
21851 (mpc-proc-check): New function.
21852 (mpc-proc-sync): Use it (bug#8293)
21853
21854 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21855
21856 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21857 Add compatibility functions (bug#9313).
21858
21859 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21860
21861 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21862
21863 * international/uni-bidi.el: Regenerate.
21864
21865 2011-08-23 Kenichi Handa <handa@m17n.org>
21866
21867 * international/charprop.el:
21868 * international/uni-bidi.el:
21869 * international/uni-category.el:
21870 * international/uni-combining.el:
21871 * international/uni-comment.el:
21872 * international/uni-decimal.el:
21873 * international/uni-decomposition.el:
21874 * international/uni-digit.el:
21875 * international/uni-lowercase.el:
21876 * international/uni-mirrored.el:
21877 * international/uni-name.el:
21878 * international/uni-numeric.el:
21879 * international/uni-old-name.el:
21880 * international/uni-titlecase.el:
21881 * international/uni-uppercase.el: Regenerate.
21882
21883 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21884
21885 * help.el (help-window-setup): Fix message displayed when other
21886 window is reused. (Bug#9341)
21887
21888 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21889
21890 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21891 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21892
21893 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21894 Mark obsolete.
21895 * shell.el (shell-parse-pcomplete-arguments): New function.
21896 (shell-completion-vars): Use it instead (bug#9160).
21897
21898 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21899
21900 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21901 strings and comments (bug#9333).
21902
21903 * emacs-lisp/debug.el (debug-arglist): New function.
21904 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21905 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21906
21907 2011-08-22 Juri Linkov <juri@jurta.org>
21908
21909 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21910 Revert regexp that highlights output switches to its old
21911 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21912
21913 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21914 to check for empty output (bug#9226).
21915
21916 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21917
21918 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21919 symbol-constituent as the default, as that stops font-lock from
21920 working properly (Bug#8843).
21921
21922 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21923
21924 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21925 `coding-system-for-*' around the process open call to avoid
21926 auth-source side effects.
21927 (smtpmail-try-auth-methods): Expand the secret password.
21928 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21929 probe hangs.
21930
21931 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21932
21933 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21934
21935 * emacs-lisp/find-func.el (find-function-noselect): New arg
21936 lisp-only.
21937
21938 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21939 signal an error for built-in functions (Bug#6664).
21940
21941 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21942
21943 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21944 (smtpmail-try-auth-methods): Use it.
21945
21946 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21947
21948 * font-lock.el (font-lock-fontify-region)
21949 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21950 (font-lock-default-unfontify-buffer)
21951 (font-lock-default-fontify-region)
21952 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21953
21954 * progmodes/compile.el (compilation-error-properties):
21955 Fix confusion between file struct and message struct (Bug#9319).
21956 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21957 `ant' regexp.
21958
21959 * net/browse-url.el (browse-url-firefox): Don't call
21960 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21961
21962 2011-08-20 Glenn Morris <rgm@gnu.org>
21963
21964 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21965
21966 * tutorial.el (tutorial--default-keys): Update some default bindings.
21967
21968 * files.el (hack-local-variables): Fully ignore case for "mode:".
21969
21970 2011-08-20 Alan Mackenzie <acm@muc.de>
21971
21972 Resolve invalid use of a regexp in regexp-opt.
21973
21974 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21975 detection for a java annotation.
21976
21977 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21978 detection for a java annotation.
21979
21980 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21981 handling for java.
21982 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21983
21984 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21985
21986 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21987 (Bug#9274).
21988
21989 2011-08-20 Alan Mackenzie <acm@muc.de>
21990
21991 Fontify CPP expressions correctly when starting in the middle of
21992 such a construct. Mainly for when jit-lock etc. starts a chunk
21993 here.
21994
21995 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21996 variable.
21997 (c-make-font-lock-search-form): New function, extracted from
21998 c-make-font-lock-search-function.
21999 (c-make-font-lock-search-function): Use the above function.
22000 (c-make-font-lock-context-search-function): New function.
22001 (c-cpp-matchers): Enhance the preprocessor expression case with
22002 the above function
22003 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22004 which takes an expression.
22005
22006 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22007
22008 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22009
22010 * window.el (display-buffer-reuse-window)
22011 (display-buffer-pop-up-window): Don't reuse or split a side
22012 window.
22013
22014 2011-08-19 Glenn Morris <rgm@gnu.org>
22015
22016 * files.el (hack-local-variables-prop-line, hack-local-variables):
22017 Downcase "Mode:". (Bug#9331)
22018
22019 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22020
22021 * international/characters.el: Add L and R categories.
22022
22023 * subr.el (bidi-string-mark-left-to-right): Rename from
22024 string-mark-left-to-right. Use category search.
22025
22026 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22027
22028 2011-08-18 Juri Linkov <juri@jurta.org>
22029
22030 * faces.el (error, warning, success): New faces with definitions
22031 copied from old default values of `font-lock-warning-face',
22032 `compilation-warning', `compilation-info' (bug#6117).
22033
22034 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22035
22036 * progmodes/compile.el (compilation-error): Inherit from `error'.
22037 (compilation-warning): Inherit from `warning'.
22038 (compilation-info): Inherit from `success'.
22039
22040 * dired.el (dired-marked): Inherit from `warning'.
22041 (dired-flagged): Inherit from `error'.
22042
22043 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22044
22045 * mail/smtpmail.el (auth-source): Require to avoid problems with
22046 binding variables (bug#9298). Also clean up some unused
22047 autoloads.
22048
22049 * net/network-stream.el (network-stream-open-starttls):
22050 Support using starttls.el without using gnutls-cli.
22051
22052 2011-08-17 Juri Linkov <juri@jurta.org>
22053
22054 * progmodes/grep.el (rgrep): Handle the case when
22055 `grep-find-command' is a cons cell (bug#9278).
22056
22057 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22058
22059 * window.el (display-buffer-pop-up-frame): Run frame creation
22060 function with BUFFER current (as special-display-popup-frame
22061 does). Reported by Drew Adams.
22062
22063 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22064
22065 * epa-mail.el: Simplify GnuPG group expansion using
22066 epg-expand-group.
22067 (epa-mail-group-alist, epa-mail-group-modtime)
22068 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22069 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22070 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22071 Remove.
22072
22073 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22074
22075 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22076
22077 2011-08-16 Alan Mackenzie <acm@muc.de>
22078
22079 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22080 Correct, to avoid the inside of macros.
22081
22082 2011-08-16 Richard Stallman <rms@gnu.org>
22083
22084 * epa-mail.el: Handle GnuPG group definitions.
22085 (epa-mail-group-alist, epa-mail-group-modtime)
22086 (epa-mail-gnupg-conf-file): New variables.
22087 (epa-mail-parse-groups, epa-mail-sync-groups)
22088 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22089 (epa-mail-expand-recipients): New functions.
22090 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22091
22092 * mail/rmail.el (rmail-epa-decrypt): New command.
22093
22094 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22095 Don't bind buffer-read-only, just inhibit-read-only.
22096 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22097 (epa-decrypt-armor-in-region): Make error message clearer.
22098
22099 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22100
22101 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22102 and "a2b" to "ab" for `prefix'.
22103
22104 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22105
22106 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22107 filter groups.
22108 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22109 Fourquet (Bug#8804).
22110
22111 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22112
22113 * startup.el (argi): Declare as global variable (bug#9275).
22114
22115 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22116
22117 * subr.el (string-mark-left-to-right): Search the entire string
22118 for RTL script, not just the terminating character. Doc fix.
22119
22120 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22121
22122 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22123 New function.
22124 (js--regexp-literal, js-syntax-propertize-function): Remove.
22125 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22126 (js-mode-map): Don't rebind electric keys.
22127 (js-insert-and-indent): Remove.
22128 (js-mode): Setup electric-layout and electric-indent instead.
22129
22130 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22131
22132 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22133
22134 * epa.el (epa-progress-callback-function): Fix the logic of
22135 displaying progress.
22136 * epa-file.el (epa-file-insert-file-contents): Make progress
22137 display more user-friendly.
22138 (epa-file-write-region): Ditto.
22139
22140 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22141
22142 * subr.el (string-mark-left-to-right): New function.
22143
22144 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22145 Use string-mark-left-to-right.
22146 (list-buffers-noselect): Caller changed.
22147
22148 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22149 Use string-mark-left-to-right.
22150 (tabulated-list-print): Recenter after moving point.
22151
22152 2011-08-10 Juri Linkov <juri@jurta.org>
22153
22154 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22155 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22156 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22157
22158 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22159
22160 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22161 (Bug#7554).
22162
22163 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22164
22165 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22166 character. (Bug#6594)
22167
22168 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22169
22170 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22171 (image-dired--with-db-file): New macro.
22172 (image-dired-write-tags, image-dired-remove-tag)
22173 (image-dired-create-gallery-lists, image-dired-write-comments)
22174 (image-dired-get-comment, image-dired-mark-tagged-files)
22175 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22176 (image-dired-gallery-generate): Use insert-file-contents.
22177
22178 * time.el (display-time-world-list, display-time-world-display):
22179 * time-stamp.el (time-stamp-string):
22180 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22181 set-time-zone-rule (Bug#7337).
22182
22183 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22184
22185 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22186 (epg-error-to-string, epg-errors-to-string): New function.
22187 (epg-wait-for-completion): Reverse errors list.
22188 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22189 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22190 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22191 (epg-sign-keys, epg-generate-key-from-file)
22192 (epg-generate-key-from-string): Format errors by using
22193 epg-errors-to-string (bug#9255).
22194 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22195
22196 2011-08-07 Juri Linkov <juri@jurta.org>
22197
22198 * faces.el (list-faces-display): Remove extra angle bracket
22199 from `help-mode-map'.
22200
22201 * info.el (Info-history-toc-nodes): Doc fix.
22202
22203 * longlines.el (longlines-mode): Doc fix.
22204
22205 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22206
22207 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22208 of statements and in a few more cases (bug#9183).
22209
22210 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22211 New functions.
22212 (cl-transform-lambda): Use them (bug#9239).
22213
22214 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22215
22216 * window.el (display-buffer-same-window)
22217 (display-buffer-same-frame, display-buffer-other-window)
22218 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22219 (pop-to-buffer-other-window)
22220 (pop-to-buffer-same-frame-other-window)
22221 (pop-to-buffer-other-frame): Make them defuns.
22222 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22223
22224 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22225
22226 * subr.el (make-composed-keymap): Move from C. Change calling
22227 convention, and improve docstring to bring attention to a subtle point.
22228 * minibuffer.el (completing-read-default): Adjust accordingly.
22229
22230 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22231
22232 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22233 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22234
22235 * net/trampver.el: Update release number.
22236
22237 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22238
22239 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22240 "in" (bug#9190).
22241
22242 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22243
22244 * mail/sendmail.el (sendmail-query-once): Restore the current
22245 buffer after querying (bug#9074).
22246
22247 * dired.el (dired-flagged): Use different faces for marked and
22248 flagged files (bug#6117).
22249
22250 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22251 (bug#4433).
22252
22253 * ido.el (ido-mode): Switch off the message if called
22254 non-interactively.
22255
22256 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22257 before 587, since it appears that that's more likely to work for
22258 more people.
22259
22260 * cus-edit.el (custom-file): When running under emacs -q, always
22261 refuse to save the customizations, even if the .emacs file doesn't
22262 exist.
22263
22264 * info.el: Remove the `Info-beginning-of-buffer' function
22265 (bug#8325).
22266
22267 * net/network-stream.el (network-stream-open-starttls):
22268 Use `starttls-available-p' to see whether starttls.el can be used.
22269
22270 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22271
22272 * window.el (display-buffer-in-window): Don't set dedicated status
22273 of window here (Bug#9215).
22274 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22275 (display-buffer-pop-up-side-window)
22276 (display-buffer-in-side-window): Set dedicated status of window here.
22277
22278 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22279
22280 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22281 before binding generated-autoload-file.
22282
22283 2011-08-01 Deniz Dogan <deniz@dogan.se>
22284
22285 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22286
22287 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22288
22289 Sync with Tramp 2.2.2.
22290
22291 * net/trampver.el: Update release number.
22292
22293 2011-07-30 Juri Linkov <juri@jurta.org>
22294
22295 * dired-aux.el (dired-touch-initial): Remove function.
22296 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22297 current time, and `default' to the last modification time of the
22298 current marked file (bug#6887).
22299
22300 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22301
22302 * simple.el (goto-line): Use string-to-number to provide a
22303 numeric argument to read-number (bug#9163).
22304
22305 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22306
22307 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22308 connection process, it could be nil.
22309
22310 2011-07-27 Leo Liu <sdl.web@gmail.com>
22311
22312 Simplify url handling in rcirc-mode.
22313
22314 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22315 (rcirc-browse-url-at-mouse): Remove.
22316 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22317
22318 2011-07-26 Alan Mackenzie <acm@muc.de>
22319
22320 Fontify bitfield declarations properly.
22321
22322 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22323 (c-symbol-chars): Now exported as a lang variable.
22324 (c-not-primitive-type-keywords): New lang variable.
22325
22326 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22327 QT keyword "more" to prevent "more slots: ...." being spuriously
22328 parsed as a bitfield declaration.
22329
22330 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22331 Refactor and enhance to handle bitfield declarations.
22332 (c-punctuation-in): New function.
22333 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22334 declarations properly.
22335
22336 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22337
22338 * calendar/icalendar.el (icalendar--all-events): Take care of
22339 multiple vcalendars in a single file.
22340 (icalendar--convert-float-to-ical): Checkdoc fixes.
22341
22342 2011-07-25 Deniz Dogan <deniz@dogan.se>
22343
22344 * image.el (insert-image): Clarifying docstring.
22345
22346 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22347
22348 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22349 `tramp-send-command-and-check' if there is no error.
22350 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22351
22352 2011-07-22 Alan Mackenzie <acm@muc.de>
22353
22354 Prevent cc-langs.elc being loaded at run time.
22355
22356 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22357 cc-langs.
22358
22359 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22360 "(require 'cc-langs)". Quote a form so it will evaluate at
22361 (cc-mode's) compilation time.
22362
22363 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22364
22365 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22366 loading. (Bug#9114)
22367
22368 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22369
22370 * window.el (display-buffer-pop-up-window)
22371 (display-buffer-pop-up-side-window)
22372 (display-buffer-in-side-window): Call display-buffer-set-height
22373 and display-buffer-set-width after setting the new window's
22374 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22375
22376 2011-07-20 Sam Steingold <sds@gnu.org>
22377
22378 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22379 (etags-tags-included-tables): Call `convert-standard-filename' on
22380 the file names contained in TAGS so that windows Emacs can handle
22381 TAGS files created by cygwin ctags.
22382
22383 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22384
22385 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22386 which apparently didn't work.
22387
22388 2011-07-19 Roland Winkler <winkler@gnu.org>
22389
22390 * proced.el (proced-send-signal): For *Marked Processes* buffer
22391 put point at beginning of buffer.
22392
22393 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22394
22395 * proced.el (proced-format): Make header lines align with the text
22396 (bug#1779).
22397
22398 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22399
22400 * view.el (view-buffer): Allow running in `special' modes if we're
22401 visiting a file (bug#8615).
22402
22403 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22404
22405 * window.el (display-buffer-alist-of-strings-p)
22406 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22407 New functions.
22408 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22409 more accurately.
22410
22411 2011-07-18 Alan Mackenzie <acm@muc.de>
22412
22413 Fontify declarators properly when, e.g., a jit-lock chunk begins
22414 inside a declaration.
22415
22416 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22417
22418 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22419 New function.
22420 (c-complex-decl-matchers): Insert reference to
22421 c-font-lock-enclosing-decls.
22422
22423 * progmodes/cc-engine.el (c-backward-single-comment):
22424 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22425 to nil around calls to (forward-comment -1).
22426
22427 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22428
22429 * image.el (put-image): Doc typo fix.
22430
22431 * progmodes/etags.el (tags-search): Doc typo fix.
22432
22433 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22434 password if we get errors 550 to 554.
22435
22436 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22437
22438 * net/gnutls.el (gnutls-log-level): Remove.
22439
22440 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22441 indentation character (bug#6380).
22442
22443 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22444
22445 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22446 to clarify what the problem is (bug#4291).
22447
22448 * simple.el (current-kill): Clarify what
22449 `interprogram-paste-function' does (bug#7500).
22450 (auto-fill-mode): Document `auto-fill-function' in relation to
22451 `auto-fill-mode' (bug#2470).
22452
22453 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22454
22455 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22456 method if slot is read-only (bug#9035).
22457
22458 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22459
22460 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22461 * window.el (pop-to-buffer): Select window used even if it was
22462 selected before, see discussion of (Bug#8615), (Bug#6954).
22463 Pass argument NORECORD on to select-frame-set-input-focus.
22464
22465 2011-07-15 Glenn Morris <rgm@gnu.org>
22466
22467 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22468 Respect help-form.
22469
22470 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22471
22472 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22473 (gnutls-negotiate): Use it.
22474
22475 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22476
22477 * net/gnutls.el (gnutls-negotiate):
22478 Upcase `gnutls-algorithm-priority'.
22479
22480 2011-07-15 Glenn Morris <rgm@gnu.org>
22481
22482 * jka-compr.el (jka-compr-verbose): Move from here...
22483 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22484 Add missing :version tag.
22485 * info.el: No need to require jka-compr when compiling.
22486
22487 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22488
22489 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22490 (gnutls-negotiate): Use it.
22491
22492 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22493
22494 * info.el (Info-beginning-of-buffer): New command.
22495 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22496 announcing `b' as the key (bug#8325).
22497 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22498
22499 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22500
22501 * international/mule-cmds.el
22502 (describe-specified-language-support): Make the error message
22503 clearer (bug#8905).
22504
22505 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22506
22507 * isearch.el (isearch-barrier): Add a doc string, since it's
22508 mentioned in a function doc string (bug#8678).
22509
22510 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22511
22512 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22513 buffer argument (Bug#9083) and self-identifying label argument.
22514
22515 2011-07-15 Glenn Morris <rgm@gnu.org>
22516
22517 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22518
22519 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22520
22521 * man.el (Man-fontify-manpage): Fix message when formatting the
22522 man page (bug#7929).
22523
22524 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22525
22526 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22527 argument LRM; if non-nil, append an invisible LRM character to the
22528 buffer name.
22529 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22530 last argument non-nil, when formatting buffer names.
22531 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22532 paragraph direction.
22533
22534 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22535
22536 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22537 the man page name (bug#7929).
22538
22539 * image.el (put-image): Mention the `put-image' overlay property
22540 (bug#7834).
22541
22542 * scroll-bar.el (set-scroll-bar-mode): Mention that
22543 `scroll-bar-mode' lists the values (bug#7772).
22544
22545 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22546 command (bug#7729).
22547
22548 * rect.el (apply-on-rectangle): Return the point after the last
22549 operation.
22550 (string-rectangle): Go to the point after the last operation
22551 (bug#7522).
22552
22553 * printing.el (pr-toggle-region): Clarify the documentation
22554 slightly (bug#7493).
22555
22556 * time.el (display-time-update):
22557 Allow `display-time-mail-function' to return nil (bug#7158).
22558 Fix suggested by Detlev Zundel.
22559
22560 * vc/diff.el (diff): Clarify the order the file names are read
22561 (bug#7111).
22562
22563 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22564 the doc string (bug#7015).
22565
22566 * font-lock.el (font-lock-maximum-decoration): Mention what
22567 numeric levels mean (bug#6935).
22568
22569 * startup.el (initial-buffer-choice): Don't mention the `none'
22570 selection, which is against policy.
22571
22572 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22573
22574 * window.el (display-buffer-normalize-special):
22575 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22576
22577 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22578
22579 * subr.el (version<, version<=, version=): Mention "-CVS" and
22580 "-12345" alpha version numbers.
22581
22582 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22583
22584 * bindings.el: Add advertised binding for set-mark-command
22585 (Bug#5772).
22586
22587 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22588
22589 * bindings.el (mode-line-other-buffer):
22590 * bookmark.el (bookmark-bmenu-2-window):
22591 * bs.el (bs-cycle-next, bs-cycle-previous):
22592 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22593 switch-to-buffer.
22594
22595 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22596 Delete.
22597
22598 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22599
22600 * follow.el (follow-debug-message, follow-redisplay):
22601 * jka-cmpr-hook.el (with-auto-compression-mode):
22602 Fix typos in docstrings.
22603
22604 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22605
22606 * subr.el (with-silent-modifications): Clarify somewhat what the
22607 macro inhibits (bug#6525).
22608
22609 * simple.el (eval-expression): Note what it does if called
22610 interactively (bug#6495).
22611
22612 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22613
22614 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22615 Use pop-to-buffer buffer-or-name if it is nil.
22616
22617 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22618 Remove switch-to-buffer.
22619
22620 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22621
22622 * files.el (make-directory): Clarify that an error will be raised
22623 if there's an error (bug#6397).
22624
22625 * startup.el (initial-buffer-choice): Add `none' as a choice
22626 (bug#6234).
22627
22628 * subr.el (add-hook): Clarify section about buffer-local hooks
22629 (bug#6218).
22630
22631 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22632
22633 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22634
22635 * tabify.el (untabify): Preserve the current column so that point
22636 doesn't move (bug#6032).
22637
22638 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22639
22640 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22641 Rewrite to avoid awkward possessive "s" (bug#5986).
22642
22643 2011-07-13 Glenn Morris <rgm@gnu.org>
22644
22645 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22646 (dired-insert-directory): Give a message the first time
22647 if ls is found not to support --dired.
22648
22649 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22650
22651 * simple.el (toggle-truncate-lines): Clarify what is toggled
22652 (bug#5580). Text by Drew Adams.
22653
22654 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22655
22656 * simple.el (blink-matching-open): Make the error message from the
22657 last change less verbose.
22658
22659 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22660
22661 * font-lock.el (font-lock-comment-face): Use the high contrast
22662 "yellow" color for font-lock-comment-face on low color terminals
22663 using a dark background color (bug#4221).
22664
22665 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22666
22667 * dired.el (dired-insert-set-properties): Make the doc string
22668 reflect what it does now (bug#5325).
22669
22670 * simple.el (blink-matching-open): Say that we were unable to find
22671 the match within the limit, if we're limited (bug#5122).
22672
22673 * international/mule-cmds.el (prefer-coding-system): Add an
22674 example (bug#4869).
22675
22676 * progmodes/etags.el (tags-search): Document `file-list-form'
22677 (bug#4731).
22678
22679 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22680
22681 * net/browse-url.el (browse-url-default-browser)
22682 (browse-url-browser-function): Make the default browser choice a
22683 bit more logical (bug#4300). Also clean up the doc string.
22684
22685 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22686
22687 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22688 binary endings (bug#4440).
22689
22690 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22691
22692 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22693 which can be pretty annoying (bug#8971).
22694
22695 * jka-compr.el (jka-compr-verbose): New variable, and use
22696 throughout (bug#8971).
22697
22698 * info.el (Info-find-file): Fall back on the installation
22699 directory if we can't find the info node anywhere else.
22700
22701 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22702
22703 * vc/vc.el (vc-revert-file):
22704 Don't set file time-stamp in the past. (Bug#5181)
22705
22706 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22707
22708 * files.el (after-find-file): Give a better error message when
22709 trying to find a symlink that points to a file that doesn't exist
22710 (bug#4398).
22711
22712 * progmodes/cc-vars.el: Remove (probably) misleading comment
22713 (bug#4396).
22714
22715 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22716
22717 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22718
22719 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22720
22721 * mouse-sel.el: Hack restoring functionality, while keeping
22722 compatibility with 2010-07-03 changes to mouse selection.
22723 (mouse-sel-primary-overlay): New var.
22724 (mouse-sel-selection-alist): Use it.
22725 (mouse-sel-mode): Doc fix; remove points that are default features
22726 of mouse.el.
22727
22728 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22729
22730 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22731 Fix previous fix (bug#2490).
22732
22733 2011-07-12 Roland Winkler <winkler@gnu.org>
22734
22735 * textmodes/bibtex.el (bibtex-initialize):
22736 Use pop-to-buffer-same-window.
22737 (bibtex-search-entries): Fix interactive call.
22738
22739 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22740
22741 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22742 Fontise bytecomp Error lines more correctly (bug#2490).
22743 Fix suggested by Johan Bockgård.
22744
22745 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22746
22747 * dired-x.el (dired-guess-default): Use `delete-dups'.
22748
22749 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22750
22751 * dired.el (dired-mark-prompt):
22752 * dired-aux.el (dired-read-shell-command): Doc fix.
22753
22754 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22755
22756 * mail/sendmail.el (sendmail-query-once):
22757 Use `customize-save-variable' unconditionally, now that it works under
22758 emacs -Q.
22759
22760 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22761
22762 * cus-edit.el (custom-file): Take an optional no-error variable.
22763 (customize-save-variable): Set the variable, and give a warning if
22764 running under "emacs -q".
22765
22766 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22767
22768 * loadhist.el (unload-feature-special-hooks):
22769 Add `auto-coding-functions', `fill-nobreak-predicate' and
22770 `find-directory-functions' (bug#5327).
22771
22772 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22773
22774 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22775
22776 * cus-edit.el (custom-guess-name-alist): -alist variables should
22777 use the `alist' type (bug#3120). Suggested by Drew Adams.
22778
22779 * printing.el: Add documentation to all the `pr-toggle-' commands.
22780
22781 2011-07-11 Leo Liu <sdl.web@gmail.com>
22782
22783 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22784 backends where it makes sense (bug#2623).
22785
22786 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22787
22788 * dired-x.el (dired-guess-default): Remove duplicate shell command
22789 entries (bug#2028).
22790 (dired-guess-default): Fix grammar in doc string (bug#2028).
22791 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22792
22793 * subr.el (remove-duplicates): New conveniency function.
22794
22795 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22796
22797 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22798 (bug#1526).
22799
22800 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22801
22802 * window.el (display-buffer-normalize-default): Don't invert
22803 meaning of even-window-heights. Reported by Eli Zaretskii
22804 <eliz@gnu.org>.
22805
22806 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22807
22808 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22809
22810 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22811
22812 * window.el (display-buffer): Fix arguments to
22813 display-buffer-reuse-window in last change.
22814
22815 * faces.el (link): Use a less saturated blue on light backgrounds.
22816
22817 * startup.el (fancy-startup-text, fancy-about-text)
22818 (fancy-startup-tail): Use font-lock faces, for background safety.
22819
22820 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22821
22822 * emulation/viper-cmd.el (viper-change-state-to-vi):
22823 Limit triggering of abbrev expansion (Bug#9038).
22824
22825 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22826
22827 * window.el (display-buffer-default-specifiers): Remove.
22828 (display-buffer-macro-specifiers): Remove default specifiers.
22829 (display-buffer-alist): Default to nil.
22830 (display-buffer-reuse-window): New optional argument other-window.
22831 (display-buffer-pop-up-window): Allow splitting internal
22832 windows. Check whether a live window was created.
22833 (display-buffer-other-window-means-other-frame)
22834 (display-buffer-normalize-arguments): Rename to
22835 display-buffer-normalize-argument and rewrite. Set the
22836 other-window specifier.
22837 (display-buffer-normalize-special): New function.
22838 (display-buffer-normalize-options): Rename to
22839 display-buffer-normalize-default and rewrite.
22840 (display-buffer-normalize-options-inhibit): Remove.
22841 (display-buffer-normalize-specifiers): Rewrite.
22842 (display-buffer): Process other-window specifier and call
22843 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22844 more faithfully.
22845 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22846 (display-buffer-alist-set): Don't handle 'unset default values.
22847 (display-buffer-in-window, display-buffer-alist-set):
22848 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22849 <tassilo@member.fsf.org>.
22850
22851 2011-07-09 Leo Liu <sdl.web@gmail.com>
22852
22853 * register.el (insert-register): Restore accidental change on
22854 2011-06-26. (Bug#9028)
22855
22856 2011-07-09 Glenn Morris <rgm@gnu.org>
22857
22858 * subr.el (remq): Handle the empty list. (Bug#9024)
22859
22860 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22861
22862 * mail/sendmail.el (send-mail-function): No longer delay custom
22863 initialization.
22864 * custom.el (custom-initialize-delay): Doc fix.
22865
22866 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22867
22868 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22869
22870 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22871
22872 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22873 human-friendly prompt.
22874
22875 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22876
22877 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22878 provided by a particular plugin.
22879
22880 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22881
22882 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22883 save customizations (with "emacs -Q"), just set the variable
22884 instead of erroring out.
22885
22886 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22887
22888 2011-07-08 Juri Linkov <juri@jurta.org>
22889
22890 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22891 (archive-zip-update-case): Use 7z if found by `executable-find'.
22892 The order of searching the available programs is the same as in
22893 `archive-zip-extract' (bug#8968).
22894
22895 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22896
22897 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22898 (menu-bar-options-menu): Tweak descriptions.
22899
22900 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22901
22902 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22903 menu items into verb phrases (bug#1421). Also refill to fit under
22904 80 columns.
22905
22906 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22907
22908 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22909 (Info-read-node-name): Doc fix (Bug#1084).
22910
22911 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22912 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22913 (end-of-sexp, beginning-of-sexp)
22914 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22915 (forward-symbol, forward-same-syntax, word-at-point)
22916 (sentence-at-point): Doc fix (Bug#1144).
22917
22918 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22919
22920 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22921 should cover it (bug#1281).
22922
22923 * cus-edit.el (custom-show): Mark as obsolete.
22924
22925 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22926 negotiation fails, then possibly try again with a non-encrypted
22927 connection (bug#9017).
22928
22929 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22930 be used.
22931
22932 2011-07-07 Richard Stallman <rms@gnu.org>
22933
22934 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22935 property, and handle its changed format.
22936 Look for the correct line number.
22937 Use file's line contents (but not past first =) to find
22938 correct line in message.
22939
22940 2011-07-07 Kenichi Handa <handa@m17n.org>
22941
22942 * international/characters.el (build-unicode-category-table):
22943 Delete it.
22944 (unicode-category-table): Set it by unicode-property-table-internal.
22945
22946 * international/mule-cmds.el (char-code-property-alist): Move to
22947 to src/chartab.c.
22948 (get-char-code-property): Call unicode-property-table-internal to
22949 load a file. Call get-unicode-property-internal where necessary.
22950 (put-char-code-property): Call unicode-property-table-internal to
22951 load a file. Call put-unicode-property-internal where necessary.
22952 put-unicode-property-internal where necessary.
22953 (char-code-property-description):
22954 Call unicode-property-table-internal to load a file.
22955
22956 * international/charprop.el:
22957 * international/uni-bidi.el:
22958 * international/uni-category.el:
22959 * international/uni-combining.el:
22960 * international/uni-comment.el:
22961 * international/uni-decimal.el:
22962 * international/uni-decomposition.el:
22963 * international/uni-digit.el:
22964 * international/uni-lowercase.el:
22965 * international/uni-mirrored.el:
22966 * international/uni-name.el:
22967 * international/uni-numeric.el:
22968 * international/uni-old-name.el:
22969 * international/uni-titlecase.el:
22970 * international/uni-uppercase.el: Regenerate.
22971
22972 * loadup.el: Load international/charprop.el before
22973 international/characters.
22974
22975 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22976
22977 * window.el (next-buffer, previous-buffer): Signal an error if
22978 called from a minibuffer window.
22979
22980 * bindings.el: Revert 2011-07-04 change.
22981
22982 2011-07-06 Richard Stallman <rms@gnu.org>
22983
22984 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22985 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22986 Treat markers like ints.
22987 (rmail-mime-entity): Doc fix.
22988
22989 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22990
22991 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22992 defcustom again for backwards compatibility.
22993
22994 * simple.el (shell-command-on-region): Fill.
22995
22996 * dired-aux.el (dired-kill-line): Add a doc string.
22997
22998 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22999 to "\\sw\\|\\s_" (bug#358).
23000
23001 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23002 (dired-unmark-backward): Ditto.
23003 (dired-flag-backup-files): Ditto.
23004
23005 * dired-x.el (dired-mark-sexp): Ditto.
23006
23007 2011-07-06 Richard Stallman <rms@gnu.org>
23008
23009 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23010 (rmail-mime-entity): New arg TRUNCATED.
23011 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23012 New functions.
23013 (rmail-mime-save): Warn if entity is truncated.
23014 (rmail-mime-toggle-hidden): Likewise, for showing.
23015 (rmail-mime-process-multipart): Record when an entity is truncated.
23016
23017 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23018 if ENTITY is a string.
23019
23020 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23021
23022 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23023 of faces when `M-C-x'-ing their definitions (bug#8378).
23024 Also clean up the code slightly.
23025
23026 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23027 because that makes the colors go away.
23028
23029 * mail/sendmail.el (send-mail-function): Change the default to
23030 `sendmail-query-once'.
23031 (sendmail-query-once): Add an autoload cookie.
23032
23033 * net/network-stream.el (network-stream-open-starttls): Try using
23034 a plain connection even if the server offered STARTTLS, and we
23035 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23036 capability. This should make smtpmail.el work in slightly more
23037 configurations.
23038
23039 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23040
23041 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23042 New defun.
23043 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23044
23045 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23046
23047 * progmodes/sql.el: Version 3.0
23048 (sql-product-alist): Add product :completion-object,
23049 :completion-column, and :statement attributes.
23050 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23051 (sql-mode-syntax-table): Mark all punctuation.
23052 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23053 ansi keywords.
23054 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23055 (sql-mode-oracle-font-lock-keywords): Improve.
23056 (sql-oracle-show-reserved-words): New function for development.
23057 (sql-product-font-lock): Simplify for source code buffers.
23058 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23059 New functions.
23060 (sql-highlight-product): Set product specific syntax table.
23061 (sql-mode-map): Add statement movement functions.
23062 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23063 New variable.
23064 (sql-statement-regexp, sql-beginning-of-statement)
23065 (sql-end-of-statement, sql-signum): New functions.
23066 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23067 (sql-show-sqli-buffer): Bug fix.
23068 (sql-interactive-mode): Store connection data as buffer local.
23069 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23070 with sql-interactive-mode.
23071 (sql-save-connection): Save buffer local settings.
23072 (sql-connection-menu-filter): Change menu entry name.
23073 (sql-product-interactive): Bug fix.
23074 (sql-preoutput-hold): New variable.
23075 (sql-interactive-remove-continuation-prompt): Bug fixes.
23076 (sql-debug-redirect): New variable.
23077 (sql-str-literal): New function.
23078 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23079 Redesign.
23080 (sql-oracle-save-settings, sql-oracle-restore-settings)
23081 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23082 (sql-completion-object, sql-completion-column)
23083 (sql-completion-sqlbuf): New variables.
23084 (sql-build-completions-1, sql-build-completions)
23085 (sql-try-completion): New functions.
23086 (sql-read-table-name): Use them.
23087 (sql-contains-names): New buffer local variable.
23088 (sql-list-all, sql-list-table): Use it.
23089 (sql-oracle-completion-types): New variable.
23090 (sql-oracle-completion-object, sql-sqlite-completion-object)
23091 (sql-postgres-completion-object): New functions.
23092
23093 2011-07-06 Glenn Morris <rgm@gnu.org>
23094
23095 * window.el (pop-to-buffer): Doc fix.
23096
23097 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23098
23099 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23100
23101 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23102
23103 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23104
23105 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23106
23107 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23108
23109 * button.el (button): Inherit from link face. Suggested by Dan
23110 Nicolaescu.
23111
23112 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23113
23114 * progmodes/gdb-mi.el: Fit in 80 columns.
23115 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23116 switch-to-buffer.
23117
23118 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23119 if imenu is simply not configured (bug#8941).
23120
23121 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23122
23123 * allout.el (allout-post-undo-hook): New allout outline-change
23124 event hook to signal undo activity.
23125 (allout-post-command-business): Run allout-post-undo-hook if an
23126 undo just occurred.
23127 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23128 * allout-widgets.el (allout-widgets-after-undo-function):
23129 Ensure the integrity of the current item's decoration after it has been
23130 in the vicinity of an undo.
23131 (allout-widgets-mode): Include allout-widgets-after-undo-function
23132 on the new allout-post-undo-hook.
23133
23134 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23135
23136 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23137 Let define-derived-mode define it.
23138 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23139 cycles of abbrev-table inheritance (bug#8998).
23140
23141 2011-07-05 Roland Winkler <winkler@gnu.org>
23142
23143 * textmodes/bibtex.el: Add support for biblatex.
23144 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23145 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23146 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23147 (bibtex-entry-alist, bibtex-field-alist): New variables.
23148 (bibtex-entry-field-alist): Obsolete alias for
23149 bibtex-BibTeX-entry-alist.
23150 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23151 (bibtex-set-dialect): New command.
23152 (bibtex-entry-type, bibtex-entry-head)
23153 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23154 Bind via bibtex-set-dialect.
23155 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23156 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23157 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23158 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23159 Define via bibtex-set-dialect.
23160 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23161 Obey bibtex-no-opt-remove-re.
23162 (bibtex-vec-push, bibtex-vec-incr): New functions.
23163 (bibtex-format-entry, bibtex-field-list)
23164 (bibtex-print-help-message, bibtex-validate)
23165 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23166
23167 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23168
23169 * progmodes/compile.el (compilation-goto-locus):
23170 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23171 * bs.el (bs-cycle-next, bs-cycle-previous):
23172 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23173 * bindings.el (mode-line-other-buffer):
23174 * autoinsert.el (auto-insert):
23175 * arc-mode.el (archive-extract):
23176 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23177
23178 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23179
23180 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23181 Fix check of `emacs-lock-unlockable-modes'.
23182 Coerce true values of `emacs-lock--try-unlocking' to t.
23183
23184 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23185
23186 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23187 * emacs-lock.el: New file.
23188
23189 2011-07-05 Julien Danjou <julien@danjou.info>
23190
23191 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23192 than `boundp' to check if face is set.
23193
23194 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23195
23196 * register.el (registerv-make):
23197 * window.el (window-min-height): Fix typos in docstrings.
23198
23199 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23200
23201 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23202 Update doc string.
23203
23204 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23205
23206 * server.el (server-execute): Catch quit and call
23207 `server-return-error' to pass the error back to emacsclient and
23208 close the connection (bug#8942).
23209
23210 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23211
23212 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23213 insecure exception for current topic. Also note that auto-saves
23214 are handled differently.
23215
23216 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23217 State variables for tracking auto-save inhibition situation.
23218
23219 (allout-write-contents-hook-handler): Rename from
23220 'allout-write-file-hook-handler', and describe how it depends on
23221 write-contents-functions sensitivity to non-nil value to prevent
23222 file write.
23223
23224 (allout-auto-save-hook-handler): Remove. auto-save does not check
23225 this in individual buffers, only in the starting buffer, so this
23226 is not the right way for us to inhibit auto-save in a buffer
23227 according to its condition.
23228
23229 (allout-mode): Use new allout-write-contents-hook-handler, and
23230 only with write-contents-functions. Remove auto-save provisions -
23231 they're implemented elsewhere.
23232
23233 (allout-before-change-handler): If undo is in progress, note that
23234 for attention of allout-post-command-business.
23235
23236 (allout-post-command-business): If the command we're following was
23237 an undo, check for change in the status of encrypted items and
23238 adjust auto-save inhibitions accordingly.
23239
23240 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23241 according to whether there are or aren't any plain-text topics
23242 pending encryption.
23243
23244 (allout-inhibit-auto-save-info-for-decryption):
23245 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23246 if there are plain-text topics pending encryption.
23247
23248 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23249 buffer-saved-size and some allout state to not inhibit auto-saves
23250 if there are no longer any plain-text topics pending encryption.
23251
23252 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23253 No longer provide for exemption of the current topic.
23254
23255 2011-07-04 Juri Linkov <juri@jurta.org>
23256
23257 Add 7z operations to delete and save changed members (bug#8968).
23258 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23259 New defcustoms.
23260 (archive-7z-write-file-member): New function.
23261 (archive-7z-summarize): Fix the number of dashes in the
23262 listing output.
23263
23264 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23265
23266 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23267 (bug#8958).
23268
23269 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23270
23271 * bindings.el: Ignore next-buffer and previous-buffer in
23272 minibuffer-local-map.
23273
23274 * font-lock.el (font-lock-builtin-face): Change light background
23275 color to dark slate blue (Bug#6693).
23276
23277 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23278
23279 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23280
23281 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23282
23283 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23284 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23285 Add switch-to-buffer.
23286
23287 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23288
23289 * isearch.el (isearch-search-fun-function): Clarify further the
23290 meaning of the function returned.
23291
23292 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23293
23294 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23295
23296 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23297 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23298 Use it.
23299 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23300 `tramp-default-remote-path' does not exist.
23301 (tramp-send-command-and-read): New optional argument NOERROR.
23302 (tramp-open-connection-setup-interactive-shell)
23303 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23304 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23305 (tramp-process-sentinel): Flush also process' connection property.
23306 (tramp-sh-handle-start-file-process): Do not set process
23307 sentinel. It is done now ...
23308 (tramp-maybe-open-connection): ... here. (Bug#8929)
23309
23310 2011-07-04 MON KEY <monkey@sandpframing.com>
23311
23312 * play/animate.el (animate-string): Doc fixes and allow changing
23313 the buffer name (bug#5417).
23314
23315 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23316
23317 * play/animate.el (animation-buffer-name): Rename from *animate*.
23318
23319 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23320
23321 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23322 This is simpler and helps future-proof the code.
23323 (timer-until): Use time-subtract and float-time.
23324 (timer--time-less-p): Use time-less-p.
23325
23326 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23327
23328 * type-break.el (timep): Use the value of `float-time' to avoid a
23329 byte-compiler warning.
23330
23331 * server.el (server-eval-and-print): Return any result, even nil.
23332
23333 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23334
23335 * type-break.el: Accept time formats that the builtins accept.
23336 (timep, type-break-time-difference): Accept any format that
23337 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23338 This is simpler and helps future-proof the code.
23339 (type-break-time-difference): Round rather than ignoring
23340 subseconds components.
23341
23342 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23343
23344 * info.el (Info-apropos-matches): Make non-interactive, since it
23345 doesn't seem to do anything useful as a command (bug#8829).
23346
23347 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23348
23349 * frame.el (frame-background-mode, frame-set-background-mode):
23350 Move from faces.el.
23351 (frame-default-terminal-background): New function.
23352
23353 * custom.el (custom-push-theme): Don't record faces in `changed'
23354 theme; this doesn't work correctly for per-frame face settings.
23355 (disable-theme): Use face-set-after-frame-default to reset faces.
23356 (custom--frame-color-default): New function.
23357
23358 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23359
23360 * dired.el (dired-flagging-regexp): Remove unused variable
23361 (bug#8769).
23362
23363 2011-03-29 Kevin Ryde <user42@zip.com.au>
23364
23365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23366 `perl-Test2' extend to match possible "fail #N" rep count
23367 (bug#8377).
23368
23369 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23370
23371 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23372 `smtpmail-via-smtp' now returns the error instead of nil.
23373
23374 * isearch.el (isearch-search-fun-function): Clarify the doc string
23375 (bug#8101).
23376
23377 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23378
23379 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23380 unnecessary spaces (bug#8987).
23381
23382 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23383
23384 * net/network-stream.el (open-network-stream): Use the
23385 :end-of-capability command thoughout.
23386
23387 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23388
23389 * net/network-stream.el (open-network-stream): Add the
23390 :end-of-capability command parameter, used by pop3.el.
23391
23392 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23393
23394 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23395
23396 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23397 for list)" (bug#6475).
23398
23399 * files.el (file-expand-wildcards): Ignore non-readable
23400 sub-directories while trying to find matches instead of signaling
23401 an error (bug#6297).
23402
23403 * man.el (Man-reference-regexp): Allow matching possible
23404 word-wrapped references (bug#6289).
23405
23406 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23407 for consistency with the other vc buffers (bug#6197).
23408 (vc-checkin): Ditto.
23409
23410 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23411
23412 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23413
23414 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23415
23416 * custom.el (defcustom): Clarify that :set is only used in the
23417 Customize user interface (bug#6089).
23418
23419 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23420 associated with a file, refuse to run instead of erroring out
23421 (bug#6084).
23422
23423 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23424 the doc string, since it appears that using `fill-column' always
23425 controls the width (bug#7845).
23426
23427 * simple.el (shell-command-on-region): Say where the error output
23428 went if `shell-command-default-error-buffer' is set (bug#6857).
23429
23430 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23431
23432 * allout.el (allout-yank-processing): Adjust cursor position for
23433 backwards-deleted space.
23434
23435 (allout-rebullet-heading): Register changes with
23436 allout-exposure-changed-hook, so the modified topic is properly
23437 decorated.
23438
23439 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23440
23441 * minibuffer.el (completion-in-region): Document PREDICATE
23442 (bug#7136).
23443
23444 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23445 of keyword/argument pairs (bug#6904).
23446
23447 * replace.el (multi-occur):
23448 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23449
23450 2011-07-02 Drew Adams <drew.adams@oracle.com>
23451
23452 * dired.el (dired-mark-if): Make the message about whether it's
23453 marking or unmarking clearer (bug#8523).
23454
23455 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23456
23457 * disp-table.el (display-table-print-array): New function.
23458 (describe-display-table): Use it to print the vectors more pretty
23459 (Bug#8859).
23460
23461 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23462
23463 * window.el (window-state-get-1): Don't assign clone numbers.
23464 Add clone-of item to list of window parameters.
23465 (window-state-put-2): Don't process clone numbers.
23466 (display-buffer-alist): Fix doc-string.
23467
23468 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23469
23470 * subr.el (remq): Don't allocate if it's not needed.
23471 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23472 (keymap--merge-bindings): New functions.
23473 (keymap-canonicalize): Use them to refine the canonicalization.
23474 * minibuffer.el (minibuffer-local-completion-map)
23475 (minibuffer-local-must-match-map): Move initialization from C.
23476 (minibuffer-local-filename-completion-map): Move initialization from C;
23477 don't inherit from anything here.
23478 (minibuffer-local-filename-must-match-map): Make obsolete.
23479 (completing-read-default): Use make-composed-keymap to combine
23480 minibuffer-local-filename-completion-map with either
23481 minibuffer-local-must-match-map or
23482 minibuffer-local-filename-completion-map.
23483
23484 2011-07-01 Glenn Morris <rgm@gnu.org>
23485
23486 * type-break.el (type-break-time-sum): Use dolist.
23487
23488 * textmodes/flyspell.el (flyspell-word-search-backward):
23489 Replace CL function.
23490
23491 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23492
23493 * mouse.el (mouse--strip-first-event): New function.
23494 (function-key-map): Use it to map fringe clicks to normal clicks
23495 by default.
23496
23497 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23498 (vc-bzr-revision-completion-table): Add support for annotate and date.
23499
23500 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23501 inherit from parent.
23502
23503 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23504
23505 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23506 (dired-show-file-type): Doc fixup (bug#8818).
23507
23508 * dired.el (dired-mode): Fix up the doc string as suggested by
23509 Drew Adams (bug#8817).
23510
23511 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23512 cookie, since the manual says that it should be possible to add
23513 this function to `find-file-hook' (bug#8709).
23514
23515 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23516
23517 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23518 here. Noted Ted Zlatanov as the maintainer.
23519 (cfengine-common-settings, cfengine-common-syntax): New functions
23520 to set up common things between `cfengine-mode' and
23521 `cfengine3-mode'.
23522 (cfengine3-mode): New mode.
23523 (cfengine3-defuns cfengine3-defuns-regex
23524 (cfengine3-class-selector-regex cfengine3-category-regex)
23525 (cfengine3-vartypes cfengine3-font-lock-keywords)
23526 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23527 (cfengine3-indent-line): Add from cfengine3.el.
23528
23529 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23530
23531 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23532
23533 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23534
23535 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23536
23537 * window.el (same-window-buffer-names, same-window-regexps)
23538 (same-window-p, special-display-frame-alist)
23539 (special-display-popup-frame, special-display-function)
23540 (special-display-buffer-names, special-display-regexps)
23541 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23542 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23543 (split-window-preferred-function, split-height-threshold)
23544 (split-width-threshold, even-window-heights)
23545 (display-buffer-mark-dedicated, window-splittable-p)
23546 (split-window-sensibly, window-safely-shrinkable-p):
23547 Un-obsolete.
23548 (display-buffer): Don't spread args with function specifier
23549 because special-display-popup-frame won't like it.
23550
23551 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23552
23553 Time-stamp simplifications and fixes.
23554 These improve accuracy slightly, and future-proof the code
23555 against some potential changes to current-time format.
23556
23557 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23558 by using time-since and float-time.
23559
23560 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23561 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23562 + NNN microseconds".
23563
23564 * type-break.el (type-break-time-sum): Rewrite using time-add.
23565
23566 * play/hanoi.el (hanoi-current-time-float): Remove.
23567 All uses replaced by float-time.
23568
23569 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23570 This yields a more-accurate answer.
23571 (rng-time-to-float): Remove; no longer needed.
23572
23573 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23574
23575 * calendar/timeclock.el (timeclock-seconds-to-time):
23576 Defalias to seconds-to-time, since they're the same thing.
23577
23578 * emacs-lisp/elp.el (elp-elapsed-time):
23579 * emacs-lisp/benchmark.el (benchmark-elapse):
23580 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23581
23582 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23583
23584 * window.el (bury-buffer): Don't iconify the only frame.
23585 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23586 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23587
23588 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23589
23590 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23591 Add mouse-yank-primary.
23592
23593 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23594
23595 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23596
23597 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23598
23599 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23600 (find-library-name): Use it to find relative load names when provided
23601 absolute file name (bug#8803).
23602
23603 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23604
23605 * textmodes/flyspell.el (flyspell-word): Consider words that
23606 differ only in case as potential doublons (bug#5687).
23607
23608 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23609 Remove two rather uninteresting debugging-like messages to make
23610 debbugs.el more silent.
23611
23612 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23613 a password-like phrase.
23614
23615 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23616
23617 * progmodes/cc-guess.el: New file.
23618
23619 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23620
23621 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23622 derived from `c-basic-common-init'.
23623
23624 * progmodes/cc-mode.el (top-level): Require cc-guess.
23625 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23626
23627 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23628
23629 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23630
23631 2011-06-30 Alan Mackenzie <acm@muc.de>
23632
23633 * progmodes/cc-engine.el (c-guess-continued-construct):
23634 Correct the handling of template-args-cont, particularly for when font
23635 lock is disabled. Name this case as "CASE G".
23636
23637 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23638
23639 * allout.el (allout-yank-processing): Fix injection of extra space
23640 between bullet and non-whitespace character in first topic when
23641 pasting, ensuring that the actual spacing in the pasted topic
23642 following the bullet char is preserved. This extra space was
23643 causing pasted encrypted topics to get a decrypted status even
23644 when the content was actually still encrypted. Now the decryption
23645 status from before the paste is preserved.
23646
23647 (allout-flag-region): Set all allout overlays so they evaporate
23648 when reduced to zero length (evanescent), to prevent overlay
23649 leakage.
23650
23651 2011-06-30 Glenn Morris <rgm@gnu.org>
23652
23653 * w32-fns.el (w32-charset-info-alist): Declare.
23654
23655 * find-dired.el (find-grep-options): Simplify.
23656
23657 * term/ns-win.el (ns-set-resource): Declare.
23658
23659 * ses.el (row, col): Declare dynamic variables honestly.
23660
23661 * textmodes/reftex-parse.el (index-tags): Declare.
23662
23663 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23664
23665 * cus-edit.el (customize-push-and-save): New function.
23666
23667 * files.el (hack-local-variables-confirm): Use it.
23668
23669 * custom.el (load-theme): New arg NO-CONFIRM.
23670 Use customize-push-and-save (Bug#8720).
23671 (custom-enabled-themes): Doc fix.
23672
23673 * cus-theme.el (customize-create-theme)
23674 (custom-theme-merge-theme): Callers to load-theme changed.
23675
23676 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23677
23678 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23679 short URLs have at least one dot in them (bug #7614).
23680
23681 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23682 nil, because using a pty is apparently too slow (bug #895).
23683
23684 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23685
23686 * mail/sendmail.el (sendmail-query-once): New function.
23687 (sendmail-query-once-function): New variable.
23688
23689 2011-06-29 Glenn Morris <rgm@gnu.org>
23690
23691 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23692
23693 * ses.el (top-level): Require cl when compiling.
23694 (ses-set-localvars): Fix error statement.
23695 Call it at compile time to silence a storm of warnings.
23696
23697 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23698
23699 * window.el (normalize-live-buffer): Rename to
23700 window-normalize-buffer.
23701 (normalize-live-frame): Rename to window-normalize-frame.
23702 (normalize-any-window): Rename to window-normalize-any-window.
23703 (normalize-live-window): Rename to window-normalize-live-window.
23704 (make-window-atom): Rename to window-make-atom.
23705 (window-resize-reset): Rename to window--resize-reset.
23706 (window-resize-reset-1): Rename to window--resize-reset-1.
23707 (resize-mini-window): Rename to window--resize-mini-window.
23708 (resize-subwindows-skip-p): Rename to
23709 window--resize-subwindows-skip-p.
23710 (resize-subwindows-normal): Rename to
23711 window--resize-subwindows-normal.
23712 (resize-subwindows): Rename to window--resize-subwindows.
23713 (resize-other-windows): Rename to window--resize-siblings.
23714 (resize-this-window): Rename to window--resize-this-window.
23715 (resize-root-window): Rename to window--resize-root-window.
23716 (resize-root-window-vertically): Rename to
23717 window--resize-root-window-vertically.
23718 (normalize-buffer-to-display): Rename to
23719 window-normalize-buffer-to-display.
23720 (normalize-buffer-to-switch-to): Rename to
23721 window-normalize-buffer-to-switch-to.
23722 Correspondingly update all callers of the functions listed
23723 above.
23724 (display-buffer-alist, display-buffer-normalize-arguments)
23725 (display-buffer-normalize-options, display-buffer)
23726 (display-buffer-alist-set): Use "function" instead of
23727 "fun-with-args".
23728
23729 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23730
23731 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23732 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23733 debbugs.gnu.org. Mention acknowledgment email.
23734
23735 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23736
23737 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23738 buffer multibyteness, since it shouldn't matter.
23739
23740 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23741
23742 * window.el (display-buffer-in-side-window): Handle dedicated
23743 windows as in display-buffer-reuse-window.
23744 (display-buffer-normalize-alist): Use value of override
23745 specifier.
23746 (display-buffer-normalize-specifiers): Use value of
23747 other-window-means-other-frame specifier.
23748 (display-buffer-alist): Rewrite some texts in widgets.
23749 (display-buffer): Spread arguments when calling function
23750 specified by fun-with-args.
23751
23752 2011-06-28 Deniz Dogan <deniz@dogan.se>
23753
23754 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23755 Unnest `let'.
23756
23757 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23758 selectors (Bug#5732).
23759 (css-proprietary-nmstart-re): Use `regexp-opt'.
23760
23761 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23762
23763 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23764 (eshell-ls-date-format): New defcustom.
23765 (eshell-ls-file): Use it.
23766
23767 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23768
23769 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23770
23771 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23772
23773 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23774 (ange-ftp-make-tmp-name): New arg.
23775 (ange-ftp-file-local-copy): Use it.
23776
23777 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23778
23779 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23780 no-conversion (Bug#8870).
23781
23782 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23783
23784 * window.el (window-right, window-left, window-child)
23785 (window-child-count, window-last-child)
23786 (window-iso-combination-p, walk-window-tree-1)
23787 (window-atom-check-1, window-tree-1, delete-window)
23788 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23789 new naming conventions - window-vchild, window-hchild,
23790 window-next and window-prev are now called window-top-child,
23791 window-left-child, window-next-sibling and window-prev-sibling
23792 respectively.
23793 (resize-window-reset): Rename to window-resize-reset.
23794 (resize-window-reset-1): Rename to window-resize-reset-1.
23795 (resize-window): Rename to window-resize.
23796 (window-min-height, window-min-width)
23797 (resize-mini-window, resize-this-window, resize-root-window)
23798 (resize-root-window-vertically, adjust-window-trailing-edge)
23799 (enlarge-window, shrink-window, maximize-window)
23800 (minimize-window, delete-window, quit-restore-window)
23801 (split-window, balance-windows, balance-windows-area-adjust)
23802 (balance-windows-area, window-state-put-2)
23803 (display-buffer-even-window-sizes, display-buffer-set-height)
23804 (display-buffer-set-width, set-window-text-height)
23805 (fit-window-to-buffer): Rename all "resize-window" prefixed
23806 calls to use the "window-resize" prefix convention.
23807 (display-buffer-alist): Fix symbol for label specifier.
23808 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23809 corresponding specifier.
23810 Reported by Juanma Barranquero <lekktu@gmail.com>.
23811
23812 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23813
23814 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23815 convention.
23816 (ses-call-printer): Does not pass an empty string to formatter when the
23817 cell is empty to keep from barking printer Calc math-format-value.
23818
23819 2011-06-27 Richard Stallman <rms@gnu.org>
23820
23821 * battery.el (battery-mode-line-limit): New variable.
23822 (battery-update): Handle it.
23823
23824 * mail/rmailmm.el (rmail-mime-process-multipart):
23825 Handle truncated messages.
23826
23827 2011-06-27 Glenn Morris <rgm@gnu.org>
23828
23829 * progmodes/flymake.el (flymake-err-line-patterns):
23830 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23831
23832 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23833
23834 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23835 (ses--clean-!, ses--clean-_): New functions.
23836 (ses-range): Add configurability of readout order, and conversion
23837 to Calc vector.
23838
23839 * ses.el (ses-repair-cell-reference-all): New function.
23840 (ses-cell-symbol): Set macro as safe, so that it can be used in
23841 formulas.
23842
23843 * ses.el: Update cycle detection algorithm.
23844 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23845 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23846 (ses-set-localvars): New function.
23847 (ses-make-cell): Add property-list as a cell element.
23848 (ses-cell-property-get-fun, ses-cell-property-get)
23849 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23850 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23851 New functions.
23852 (ses-cell-property-set, ses-cell-property-pop)
23853 (ses-cell-property-get-handle): New macro.
23854 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23855 New aliases, used for code readability.
23856 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23857 cycle detection.
23858 (ses-self-reference-early-detection): New defcustom.
23859 (ses-formula-references): Robustify against self-referring cells.
23860 (ses-mode): Use ses-set-localvars.
23861 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23862 before lauching the update processing.
23863 (ses-initialize-Dijkstra-attempt): New function.
23864 (ses-recalculate-cell): Update for cycle detection based on
23865 Dijkstra algorithm.
23866
23867 * ses.el: Fix commenting and indenting convention.
23868
23869 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23870
23871 * bs.el (bs-cycle-next): Complete last change.
23872
23873 2011-06-27 Drew Adams <drew.adams@oracle.com>
23874
23875 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23876
23877 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23878
23879 * net/network-stream.el (network-stream-open-starttls):
23880 Don't re-get capabilities unless we've reestablished connection.
23881 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23882
23883 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23884 to binary to possibly avoid line encoding issues on Windows (among
23885 other things).
23886
23887 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23888
23889 * net/network-stream.el (open-network-stream): Return an :error
23890 saying what the problem was, if possible.
23891
23892 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23893 server.
23894
23895 * net/network-stream.el (network-stream-open-starttls): If we
23896 wanted to use STARTTLS, and the server offered it, but we weren't
23897 able to because we had no STARTTLS support, then close the connection.
23898 (open-network-stream): Return an :error element, if present.
23899
23900 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23901
23902 * hl-line.el (hl-line-sticky-flag): Doc fix.
23903 (global-hl-line-sticky-flag): New option (Bug#8323).
23904 (global-hl-line-highlight): Obey it.
23905
23906 * vc/vc.el (vc-revert-show-diff): Default to t.
23907
23908 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23909
23910 * allout-widgets.el (allout-widgets-post-command-business):
23911 Stop decorating intermediate isearch matches. They're not being
23912 undecorated when an isearch is continued past, and isearch
23913 automatically collapses them. This leads to "widget leaks", where
23914 decorated items accumulate in collapsed areas. Lines with lots of
23915 hidden widgets can slow down cursor travel, substantially.
23916 Too much complicated machinery would be needed to ensure undecoration,
23917 so we're doing without this nicety.
23918
23919 (allout-widgets-tally-string): Don't try to do a hash-table-count
23920 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23921 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23922 *Messages* when allout-widgets-maintain-tally is t.
23923
23924 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23925
23926 * window.el (display-buffer-normalize-argument): Rename to
23927 display-buffer-normalize-arguments. Handle special meaning of
23928 LABEL argument. Respect special-display-function when popping up
23929 a new frame. Fix code searching for a window showing the buffer
23930 on another frame.
23931 (display-buffer-normalize-specifiers):
23932 Call display-buffer-normalize-arguments.
23933 (display-buffer-in-window): Don't undedicate the window if its
23934 buffer remains the same.
23935 Reported by Drew Adams <drew.adams@oracle.com>.
23936 (display-buffer-alist): Add choice for same-window macro
23937 specfier.
23938 (display-buffer): Mention special meaning of LABEL argument in
23939 doc-string. Fix quoting. Don't pop up a new frame even as
23940 fallback.
23941
23942 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23943
23944 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23945 avoid deleting the current window in some cases (bug#8911).
23946
23947 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23948
23949 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23950 (Bug#8934)
23951
23952 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23953
23954 * net/network-stream.el (network-stream-open-starttls):
23955 Use built-in TLS support if `gnutls-available-p' is true.
23956 (network-stream-open-tls): Ditto.
23957
23958 2011-06-26 Leo Liu <sdl.web@gmail.com>
23959
23960 * register.el (registerv): New struct.
23961 (registerv-make): New function.
23962 (jump-to-register, describe-register-1, insert-register):
23963 Support the jump-func, print-func and insert-func slot of a registerv
23964 struct. (Bug#8415)
23965
23966 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23967
23968 * vc/vc.el (vc-revert-show-diff): New defcustom.
23969 (vc-diff-internal): New arg specifying diff buffer.
23970 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23971 reuse an existing *vc-diff* buffer (Bug#8927).
23972
23973 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23974
23975 2011-06-26 Glenn Morris <rgm@gnu.org>
23976
23977 * progmodes/f90.el (f90-critical-indent): New option.
23978 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23979 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23980 (f90-mode): Doc fix.
23981 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23982 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23983 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23984 (f90-match-end): Handle block, critical.
23985
23986 2011-06-25 Glenn Morris <rgm@gnu.org>
23987
23988 * calendar/diary-lib.el (diary-included-files): Doc fix.
23989 (diary-include-files): New function, extracted from
23990 diary-include-other-diary-files and diary-mark-included-diary-files.
23991 (diary-include-other-diary-files, diary-mark-included-diary-files):
23992 Just call diary-include-files.
23993 (diary-mark-entries): Reset diary-included-files on first call.
23994
23995 * calendar/diary-lib.el (diary-mark-entries)
23996 (diary-mark-included-diary-files):
23997 Visit included diary-files in temp buffers.
23998
23999 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24000 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24001 (f90-start-block-re, f90-imenu-generic-expression)
24002 (f90-looking-at-program-block-start, f90-no-block-limit):
24003 Add support for submodules.
24004
24005 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24006 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24007
24008 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24009
24010 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24011 buffer-file-type before setting its value, to avoid disastrous
24012 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24013
24014 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24015
24016 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24017
24018 * ses.el (ses-unload-function):
24019 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24020
24021 * proced.el (proced-unload-function):
24022 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24023
24024 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24025
24026 * server.el (server-create-window-system-frame): Add parameters arg.
24027 (server-process-filter): Doc fix. Handle frame-parameters.
24028
24029 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24030
24031 Fix bug#8730, bug#8781.
24032
24033 * loadhist.el (unload--set-major-mode): New function.
24034 (unload-feature): Use it.
24035
24036 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24037 (python-unload-function): New function.
24038
24039 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24040
24041 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24042
24043 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24044
24045 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24046 the candidates list.
24047
24048 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24049
24050 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24051
24052 2011-06-23 Richard Stallman <rms@gnu.org>
24053
24054 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24055 (rmail-variables): Set next-error-move-function.
24056 (rmail-what-message): Take argument POS.
24057 (rmail-next-error-move): New function.
24058
24059 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24060
24061 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24062 messages for adjacent non-terminals.
24063
24064 2011-06-23 Richard Stallman <rms@gnu.org>
24065
24066 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24067 (rmail-show-message-1): Preserve buffer modified flag.
24068 (rmail-start-mail): Don't specify use of rmail-mail-return;
24069 that's done by mail-bury now.
24070 (rmail-mail-return): Handle arg NEWBUF.
24071
24072 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24073
24074 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24075 SIZE is a number.
24076
24077 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24078
24079 * window.el (get-lru-window, get-mru-window)
24080 (get-largest-window): Never return a minibuffer window.
24081 (display-buffer-pop-up-window): Fix a bug that could lead to
24082 reusing the minibuffer window.
24083 (display-buffer): Pass original specifier argument to
24084 display-buffer-function instead of the normalized one.
24085 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24086
24087 2011-06-22 Leo Liu <sdl.web@gmail.com>
24088
24089 * minibuffer.el (completing-read-function)
24090 (completing-read-default): Move from minibuf.c.
24091
24092 2011-06-22 Richard Stallman <rms@gnu.org>
24093
24094 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24095 to Rmail even if not started by a special Rmail command.
24096
24097 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24098 Copy the buffer currently showing just one message.
24099
24100 2011-06-22 Roland Winkler <winkler@gnu.org>
24101
24102 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24103 (bibtex-clean-entry): First delete the old key so that a
24104 customized algorithm for generating the new key does not get
24105 confused by the old key.
24106 (bibtex-url): Obey regexp of first step.
24107 (bibtex-search-entries): Do not use add-to-list with local
24108 list-var.
24109
24110 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24111
24112 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24113 stored a user name, then query for the password first, instead of
24114 waiting for SMTP to give an error message and the trying again.
24115
24116 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24117
24118 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24119 BUFFER in call-process.
24120
24121 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24122
24123 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24124 QUIT twice.
24125 (smtpmail-try-auth-methods): Require user name and password from
24126 auth-source.
24127
24128 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24129
24130 * window.el (display-buffer-default-specifiers)
24131 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24132 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24133 (split-window): Normalize SIDE argument (Bug#8916).
24134
24135 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24136 (special-display-frame-alist, special-display-popup-frame):
24137 Remove duplicate declarations. These are now in window.el.
24138
24139 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24140
24141 * mail/smtpmail.el (smtpmail-via-smtp):
24142 Set :use-starttls-if-possible so that we always use STARTTLS if the
24143 server supports it. SMTP servers that support STARTTLS commonly
24144 require it.
24145
24146 * net/network-stream.el (network-stream-open-starttls): Support
24147 upgrading to STARTTLS always, even if we don't have built-in support.
24148 (open-network-stream): Add the :always-query-capabilities keyword.
24149
24150 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24151 upgrades with `open-network-stream', and rely solely on
24152 auth-source for all credentials. Big changes throughout the file,
24153 but in particular:
24154 (smtpmail-auth-credentials): Remove.
24155 (smtpmail-starttls-credentials): Remove.
24156 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24157 MAIL FROM, too.
24158
24159 * net/network-stream.el (network-stream-open-starttls):
24160 Provide support for client certificates both for external and built-in
24161 STARTTLS.
24162 (auth-source): Require.
24163 (open-network-stream): Document the :client-certificate keyword.
24164 (network-stream-certificate): Change cert-cert to cert and
24165 cert-key to key.
24166
24167 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24168
24169 * net/tramp-cache.el (top): Don't load the persistency file when
24170 "emacs -Q" has been called.
24171
24172 2011-06-21 Tim Harper <timcharper@gmail.com>
24173
24174 * term/ns-win.el (ns-initialize-window-system):
24175 Set application-specific `ApplePressAndHoldEnabled' system
24176 resource to NO as it is not yet supported by the NS port.
24177
24178 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24179
24180 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24181 (list-dynamic-libraries): ...not here.
24182
24183 2011-06-21 Leo Liu <sdl.web@gmail.com>
24184
24185 * subr.el (sha1): Implement sha1 using secure-hash.
24186
24187 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24188
24189 * window.el (display-buffer-alist): In default value do not
24190 enforce searching a window on any but the selected frame.
24191 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24192 (display-buffer-select-window): Remove function.
24193 (display-buffer-in-window): When a window on another frame gets
24194 reused, do not select it any more but just raise its frame if
24195 necessary (Bug#8851) and (Bug#8856).
24196 (display-buffer-normalize-options): Handle pop-up-frames related
24197 options more faithfully.
24198 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24199 window if it is on another frame.
24200 (display-buffer-alist, display-buffer-default-specifiers):
24201 Don't make new frame unsplittable by default.
24202 (display-buffer-normalize-argument): Fix doc-string typo and use
24203 'same-frame-other-window instead of 'other-window when associating
24204 with display-buffer-macro-specifiers.
24205
24206 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24207
24208 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24209 New functions.
24210 (5x5-mode-map, 5x5-mode-menu): Bind them.
24211 (5x5-draw-grid): Tweak the solver's rendering.
24212
24213 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24214
24215 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24216 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24217
24218 2011-06-21 Drew Adams <drew.adams@oracle.com>
24219
24220 * menu-bar.el: Use function variable instead of switch-to-buffer.
24221 (menu-bar-select-buffer-function): New variable.
24222 (menu-bar-update-buffers): Use it (bug#8876).
24223
24224 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24225
24226 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24227 variable's status.
24228
24229 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24230
24231 * x-dnd.el (x-dnd-version-from-flags)
24232 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24233 and long as number (Bug#8899).
24234 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24235
24236 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24237
24238 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24239 (completion-try-completion, completion-all-completions): Compute the
24240 metadata argument if it's missing; make it optional (bug#8795).
24241
24242 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24243 (widget-complete): Use new :completion-function property.
24244 (widget-completions-at-point): New function.
24245 (default): Use :completion-function instead of :complete.
24246 (widget-default-completions): Rename from widget-default-complete;
24247 Rewrite.
24248 (widget-string-complete, widget-file-complete, widget-color-complete):
24249 Remove functions.
24250 (file, symbol, function, variable, coding-system, color):
24251 * international/mule-cmds.el (default-input-method, charset)
24252 (language-info-custom-alist):
24253 * cus-edit.el (face): Use new property :completions.
24254
24255 * progmodes/pascal.el (pascal-completions-at-point): New function.
24256 (pascal-mode): Use it.
24257 (pascal-mode-map): Use completion-at-point.
24258 (pascal-toggle-completions): Make obsolete.
24259 (pascal-complete-word, pascal-show-completions):
24260 * progmodes/octave-mod.el (octave-complete-symbol):
24261 Redefine as obsolete alias.
24262 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24263 Signal absence of completion info for old Octave,
24264 (inferior-octave-complete): Redefine as obsolete alias.
24265 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24266 (meta-completions-at-point): Rename from meta-complete-symbol and
24267 adapt it for use on completion-at-point-functions.
24268 (meta-common-mode): Use it.
24269 (meta-looking-at-backward, meta-match-buffer): Remove.
24270 (meta-complete-symbol): Redefine as obsolete alias.
24271 (meta-common-mode-map): Use completion-at-point.
24272 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24273 (makefile-mode-map): Use completion-at-point.
24274 (makefile-completions-at-point): Rename from makefile-complete and
24275 adapt it for use on completion-at-point-functions.
24276 (makefile-mode): Use it.
24277 (makefile-complete): Redefine as obsolete alias.
24278
24279 2011-06-20 Deniz Dogan <deniz@dogan.se>
24280
24281 * net/rcirc.el: Delete trailing whitespaces once and for all.
24282
24283 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24284
24285 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24286
24287 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24288
24289 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24290
24291 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24292
24293 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24294
24295 * window.el (display-buffer-other-window-means-other-frame):
24296 Call display-buffer-normalize-alist.
24297 (display-buffer-normalize-specifiers-1): Rename to
24298 display-buffer-normalize-argument. New argument other-frame.
24299 Rewrite.
24300 (display-buffer-normalize-specifiers-2): Rename to
24301 display-buffer-normalize-options.
24302 (display-buffer-normalize-alist-1): New function.
24303 (display-buffer-normalize-specifiers-3): Rename to
24304 display-buffer-normalize-alist.
24305 Call display-buffer-normalize-alist-1.
24306 (display-buffer-normalize-options-inhibit): New variable.
24307 (display-buffer-normalize-specifiers): Rewrite calling
24308 display-buffer-normalize-alist,
24309 display-buffer-normalize-argument, and
24310 display-buffer-normalize-options. Don't call the latter if
24311 display-buffer-normalize-options-inhibit is non-nil.
24312 (frame-auto-delete): New option.
24313 (window-deletable-p): Use frame-auto-delete.
24314 (window-list-no-nils, window-state-ignored-parameters)
24315 (window-state-get-1, window-state-get, window-state-put-list)
24316 (window-state-put-1, window-state-put-2, window-state-put):
24317 New functions.
24318 (display-buffer-normalize-options): Move special-display-p group
24319 after pop-up-frame group (Bug#8851) and (Bug#8856).
24320
24321 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24322
24323 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24324 groups (Bug#8776).
24325 (rx-submatch-n): New function.
24326 (rx): Document it.
24327
24328 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24329 (Bug#8768).
24330
24331 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24332
24333 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24334
24335 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24336 anytime existing face settings are present (Bug#8889).
24337
24338 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24339 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24340 Remove unused argument.
24341
24342 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24343
24344 * window.el (display-buffer-default-specifiers):
24345 Remove pop-up-frame. Add pop-up-window-min-height,
24346 pop-up-window-min-width, and another reuse-window specifier
24347 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24348 (display-buffer-normalize-specifiers-2):
24349 Handle split-height-threshold and split-width-threshold also when
24350 pop-up-windows is unset. Add a reuse-window specifier for the
24351 case popping up a new window fails.
24352 (special-display-popup-frame): Remove double quoting.
24353 (display-buffer-normalize-specifiers-1): Fix thinko.
24354
24355 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24356
24357 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24358 according to comint-completion-addsuffix.
24359
24360 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24361 (pcomplete-suffix-list): Mark as obsolete.
24362 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24363 pcomplete-seen in the closure.
24364 (pcomplete-comint-setup): Setup completion-at-point as well.
24365 (pcomplete--entries): New function.
24366 (pcomplete--env-regexp): New var.
24367 (pcomplete-entries): Rewrite to work with partial-completion and
24368 without relying on pcomplete-suffix-list.
24369 (pcomplete-pare-list): Remove, unused.
24370
24371 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24372
24373 * window.el (display-buffer-alist): Set pop-up-window-min-height
24374 and pop-up-window-min-width in default value. Reported by
24375 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24376 other-window-means-other-frame.
24377 (display-buffer-macro-specifiers): Comment out entry for
24378 other-window specifier.
24379 (display-buffer-other-window-means-other-frame): New function.
24380 (display-buffer-normalize-specifiers-1): New arguments
24381 buffer-name and label. Treat other-window case specially.
24382 (display-buffer-normalize-specifiers-2): Treat other-window case
24383 specially.
24384 (display-buffer-normalize-specifiers-3): New function.
24385 (display-buffer-normalize-specifiers):
24386 Call display-buffer-normalize-specifiers-3.
24387
24388 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24389
24390 * window.el (same-window-p): Fix two typos introduced when
24391 adding with-no-warnings.
24392 (display-buffer-normalize-specifiers-1): Don't check
24393 pop-up-frames for 'unset initialization.
24394 (display-buffer-normalize-specifiers-2): Major rewrite using
24395 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24396 (pop-up-frames, display-buffer-reuse-frames)
24397 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24398 Suggested by David Engster <deng@randomsample.de>.
24399 (even-window-heights): Initialize to 'unset.
24400 (display-buffer-alist-set): Handle new 'unset initializations.
24401 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24402 other window case.
24403
24404 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24405
24406 * window.el (display-buffer-normalize-specifiers-1):
24407 Respect current value of pop-up-frames for most reasonable values of
24408 second argument of display-buffer (Bug#8865).
24409 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24410 (switch-to-buffer-other-window-same-frame)
24411 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24412 Adams (Bug#8875).
24413 (display-buffer): Don't check noninteractive when calling
24414 display-buffer-pop-up-frame.
24415 (display-buffer-pop-up-frame): Never pop up a frame in
24416 noninteractive mode (Bug#8857).
24417 (enlarge-window, shrink-window): Don't report an error when the
24418 window can't be resized as requested (Bug#8862).
24419
24420 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24421
24422 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24423
24424 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24425
24426 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24427
24428 2011-06-15 Alan Mackenzie <acm@muc.de>
24429
24430 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24431 for declarators, disable knr checking to speed up for normal files.
24432 2: Refactor, replacing a sequence of nested if forms by a cond form.
24433
24434 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24435
24436 * net/network-stream.el (open-network-stream): Add the keyword
24437 :always-query-capabilities for the case where you want to force a
24438 `plain' network connection, but the protocol still requires the
24439 capabilitiy command (i.e., SMTP and EHLO).
24440
24441 * subr.el (process-live-p): Rename from `process-alive-p' for
24442 consistency with other `-live-p' functions.
24443
24444 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24445
24446 * window.el (same-window-buffer-names, same-window-regexps)
24447 (special-display-frame-alist, special-display-popup-frame)
24448 (special-display-function, special-display-buffer-names)
24449 (special-display-regexps, pop-up-frame-alist)
24450 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24451 (pop-up-windows, split-window-preferred-function)
24452 (split-height-threshold, split-width-threshold, even-window-heights)
24453 (display-buffer-mark-dedicated): Don't encourage the use of
24454 display-buffer-alist from Elisp code.
24455
24456 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24457
24458 * progmodes/python.el (python-mode): Derive from prog-mode.
24459 * progmodes/ps-mode.el (ps-mode):
24460 * progmodes/mixal-mode.el (mixal-mode):
24461 * progmodes/cfengine.el (cfengine-mode):
24462 * progmodes/ld-script.el (ld-script-mode): Likewise.
24463
24464 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24465
24466 * window.el (display-buffer-alist): Trim default value to avoid
24467 popping up a new frame (Bug#8857) or reusing an arbitrary window
24468 on another frame.
24469 (display-buffer): Do not fall back on popping up a new frame in
24470 batch mode (Bug#8857).
24471
24472 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24473
24474 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24475 (custom-theme-summary): New function.
24476 (customize-themes): Use it.
24477
24478 2011-06-13 Glenn Morris <rgm@gnu.org>
24479
24480 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24481
24482 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24483
24484 * help.el (help-window): Remove variable.
24485 (help-window-point-marker, temp-buffer-max-height)
24486 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24487 (help-print-return-message): Don't set help-window.
24488 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24489 (help-window-setup-finish): Remove.
24490 (help-window-display-message, help-window-setup)
24491 (with-help-window): Major rewrite based on new
24492 display-buffer-window variable.
24493
24494 * help-mode.el (help-mode-finish): Remove help-window related
24495 code.
24496
24497 * view.el (view-exits-all-viewing-windows): Remove reference to
24498 view-return-to-alist in doc-string.
24499 (view-return-to-alist): Make obsolete.
24500 (view-buffer): Call pop-to-buffer-same-window and remove
24501 undo-window code.
24502 (view-buffer-other-window): Call pop-to-buffer-other-window and
24503 simplify code. Ignore second argument.
24504 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24505 simplify code. Ignore second argument.
24506 (view-return-to-alist-update): Make obsolete.
24507 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24508 Rewrite using quit-restore window parameters.
24509 (view-mode-exit): Rename second argument to EXIT-ONLY.
24510 Rewrite using quit-restore-window.
24511 (View-exit, View-exit-and-edit, View-leave, View-quit)
24512 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24513 appropriate arguments.
24514 (view-end-message): Use quit-restore window parameter.
24515
24516 * window.el (display-buffer-function): Rewrite doc-string.
24517 (display-buffer-window, display-buffer-alist): New variables.
24518 (display-buffer-split-specifiers)
24519 (display-buffer-side-specifiers)
24520 (display-buffer-macro-specifiers): New constants.
24521 (display-buffer-even-window-sizes, display-buffer-set-height)
24522 (display-buffer-set-width, display-buffer-select-window)
24523 (display-buffer-in-window, display-buffer-reuse-window)
24524 (display-buffer-split-window-1, display-buffer-split-window)
24525 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24526 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24527 (display-buffer-in-side-window, normalize-buffer-to-display)
24528 (display-buffer-normalize-specifiers-1)
24529 (display-buffer-normalize-specifiers-2)
24530 (display-buffer-normalize-specifiers, display-buffer-frame):
24531 New functions.
24532 (display-buffer): Major rewrite.
24533 (display-buffer-other-window, display-buffer-other-frame)
24534 (pop-to-buffer, switch-to-buffer-other-window)
24535 (switch-to-buffer-other-frame): Rewrite.
24536 (display-buffer-same-window, display-buffer-same-frame)
24537 (display-buffer-same-frame-other-window)
24538 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24539 (pop-to-buffer-other-window)
24540 (pop-to-buffer-same-frame-other-window)
24541 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24542 (switch-to-buffer-other-window-same-frame): New functions.
24543 (same-window-p, special-display-p): Rewrite disabling warnings.
24544 Make obsolete.
24545 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24546 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24547 Make obsolete
24548 (same-window-buffer-names, same-window-regexps)
24549 (special-display-frame-alist, special-display-popup-frame)
24550 (special-display-function, special-display-buffer-names)
24551 (special-display-regexps, pop-up-frame-alist)
24552 (pop-up-frame-function, split-window-preferred-function)
24553 (split-height-threshold, split-width-threshold)
24554 (even-window-heights): Make obsolete.
24555
24556 2011-06-12 Glenn Morris <rgm@gnu.org>
24557
24558 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24559 Misc simplifications.
24560
24561 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24562
24563 * window.el (window-safely-shrinkable-p): Restore function which
24564 was inadvertently removed in change from 2011-06-11. Declare as
24565 obsolete.
24566
24567 * calendar/calendar.el (calendar-generate-window):
24568 Use window-iso-combined-p instead of combination of one-window-p and
24569 window-safely-shrinkable-p.
24570
24571 2011-06-12 Glenn Morris <rgm@gnu.org>
24572
24573 * progmodes/fortran.el (fortran-mode-syntax-table):
24574 * progmodes/f90.el (f90-mode-syntax-table):
24575 Set % to punctuation. (Bug#8820)
24576 (f90-find-tag-default): Remove, no longer needed.
24577
24578 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24579
24580 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24581
24582 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24583
24584 * image.el (image-animated-p): Return animation delay in seconds.
24585 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24586 (image-animate-timeout): Remove DELAY argument. Don't assume
24587 every subimage has the same delay; get it from image-animated-p.
24588 (image-animate): Caller changed.
24589
24590 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24591
24592 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24593 to ignored backtrace functions.
24594
24595 2011-06-11 Glenn Morris <rgm@gnu.org>
24596
24597 * calendar/appt.el (appt-disp-window-function): Doc fix.
24598 (appt-check): Handle overlapping appointments. (Bug#8337)
24599
24600 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24601
24602 * window.el (window-tree-1, window-tree): New functions, moving
24603 the latter to window.el.
24604 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24605 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24606 (bw-refresh-edges): Remove.
24607 (balance-windows-1, balance-windows-2): New functions.
24608 (balance-windows): Rewrite in terms of window tree functions,
24609 balance-windows-1 and balance-windows-2.
24610 (bw-adjust-window): Remove.
24611 (balance-windows-area-adjust): New function with functionality of
24612 bw-adjust-window but using resize-window.
24613 (set-window-text-height): Rewrite doc-string.
24614 Use normalize-live-window and resize-window.
24615 (enlarge-window-horizontally, shrink-window-horizontally):
24616 Rename argument to DELTA.
24617 (window-buffer-height): New function.
24618 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24619 Rewrite using new window resize routines.
24620 (kill-buffer-and-window, mouse-autoselect-window-select):
24621 Use ignore-errors instead of condition-case.
24622 (quit-window): Call delete-frame instead of delete-windows-on
24623 for the only buffer on frame.
24624
24625 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24626
24627 * loadup.el (top-level): Load window before files for the sake
24628 of replace-buffer-in-windows.
24629
24630 * files.el (read-buffer-to-switch)
24631 (switch-to-buffer-other-window)
24632 (switch-to-buffer-other-frame, display-buffer-other-frame):
24633 Move to window.el.
24634
24635 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24636 (previous-buffer): Move to window.el.
24637
24638 * bindings.el (unbury-buffer): Move to window.el.
24639
24640 * window.el (delete-other-windows-vertically): Move after
24641 definition of delete-other-windows.
24642 (other-window, delete-windows-on, replace-buffer-in-windows):
24643 Move here from window.c.
24644 (record-window-buffer, unrecord-window-buffer)
24645 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24646 (switch-to-next-buffer): New functions.
24647 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24648 from simple.el. Call switch-to-next-buffer.
24649 (previous-buffer): Move here from simple.el.
24650 Call switch-to-prev-buffer.
24651 (bury-buffer): Move here from buffer.c. Switch to previous
24652 buffer when window cannot be deleted.
24653 (unbury-buffer): Move here from bindings.el.
24654 (ctl-x-map): Move binding for other-window from window.c to
24655 here.
24656 (read-buffer-to-switch, switch-to-buffer-other-window)
24657 (switch-to-buffer-other-frame): Move here from files.el.
24658 (normalize-buffer-to-switch-to): New functions.
24659 (switch-to-buffer): Move here from buffer.c.
24660 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24661
24662 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24663
24664 * window.el (window-min-height, window-min-width): Move here
24665 from window.c. Add defcustoms and rewrite doc-strings.
24666 (resize-mini-window, resize-window): New functions.
24667 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24668 Move here from window.c.
24669 (maximize-window, minimize-window): New functions.
24670 (delete-window, delete-other-windows, split-window): Move here
24671 from window.c.
24672 (window-split-min-size): New function.
24673 (split-window-keep-point): Mention split-window-above-each-other
24674 instead of split-window-vertically.
24675 (split-window-above-each-other, split-window-vertically):
24676 Rename split-window-vertically to split-window-above-each-other
24677 and provide defalias for old definition.
24678 (split-window-side-by-side, split-window-horizontally):
24679 Rename split-window-horizontally to split-window-side-by-side
24680 and provide defalias for the old definition.
24681 (ctl-x-map): Move bindings for delete-window,
24682 delete-other-windows and enlarge-window here from window.c.
24683 Replace bindings for split-window-vertically and
24684 split-window-horizontally by bindings for
24685 split-window-above-each-other and split-window-side-by-side.
24686
24687 * cus-start.el (all): Remove entries for window-min-height and
24688 window-min-width. Add entries for window-splits and
24689 window-nest.
24690
24691 2011-06-09 Glenn Morris <rgm@gnu.org>
24692
24693 * calendar/appt.el (appt-mode-line): New function.
24694 (appt-check, appt-disp-window): Use it.
24695
24696 * files.el (hack-one-local-variable-eval-safep):
24697 Allow minor-modes with explicit +/-1 arguments.
24698
24699 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24700
24701 * term/xterm.el (xterm): Add defgroup.
24702 (xterm-extra-capabilities): Add defcustom to supply known xterm
24703 capabilities, skip querying them, or query them (default).
24704 (terminal-init-xterm): Use it.
24705 (terminal-init-xterm-modify-other-keys): New function to set up
24706 modifyOtherKeys support to simplify `terminal-init-xterm'.
24707
24708 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24709
24710 * window.el (resize-window-reset, resize-window-reset-1)
24711 (resize-subwindows-skip-p, resize-subwindows-normal)
24712 (resize-subwindows, resize-other-windows, resize-this-window)
24713 (resize-root-window, resize-root-window-vertically)
24714 (window-deletable-p, window-or-subwindow-p)
24715 (frame-root-window-p): New functions.
24716
24717 2011-06-09 Glenn Morris <rgm@gnu.org>
24718
24719 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24720 (ange-ftp-get-files): Use it.
24721
24722 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24723
24724 * mail/sendmail.el (mail-recover-1, mail-recover):
24725 * files.el (recover-file, recover-session):
24726 Handle dired-listing-switches not being just a single short option.
24727
24728 2011-06-09 Glenn Morris <rgm@gnu.org>
24729
24730 * calendar/appt.el (appt-display-message, appt-disp-window):
24731 Handle lists of appointments.
24732
24733 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24734
24735 * window.el (one-window-p): Move down in code.
24736 Rewrite doc-string.
24737 (window-current-scroll-bars): Rewrite doc-string.
24738 Normalize live window argument.
24739 (walk-windows, get-window-with-predicate, count-windows):
24740 Rewrite doc-string. Use window-list-1.
24741 (window-in-direction-2, window-in-direction, get-mru-window):
24742 New functions.
24743
24744 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24745
24746 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24747 Doc fix (Bug#8713).
24748
24749 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24750
24751 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24752
24753 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24754
24755 * loadhist.el (unload-feature-special-hooks):
24756 Add `comint-output-filter-functions'.
24757
24758 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24759
24760 * calendar/appt.el (appt-check): Move some initializations into the let.
24761
24762 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24763
24764 * window.el (window-height): Defalias to window-total-height.
24765 (window-width): Defalias to window-body-width.
24766
24767 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24768
24769 * image-mode.el (image-toggle-animation): New command.
24770 (image-mode-map): Bind it to RET.
24771 (image-mode): Update message.
24772 (image-toggle-display-image): Avoid a spurious cache flush.
24773 (image-transform-rotation): Doc fix.
24774 (image-transform-properties): Return quickly in the normal case.
24775 (image-animate-loop): Rename from image-animate-max-time.
24776
24777 * image.el (image-animate-max-time): Move to image-mode.el.
24778 (create-animated-image): Remove unnecessary function.
24779 (image-animate): Rename from image-animate-start. New arg.
24780 (image-animate-stop): Remove; just use image-animate-timer.
24781 (image-animate-timer): Use car-safe.
24782 (image-animate-timeout): Rename argument.
24783
24784 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24785
24786 * window.el (get-lru-window, get-largest-window): Move here from
24787 window.c. Rename first argument to ALL-FRAMES.
24788 Rephrase doc-strings.
24789 (get-buffer-window-list): Rewrite using window-list-1.
24790 Rephrase doc-string.
24791 (window-safe-min-height, window-safe-min-width): New constants.
24792 (window-size-ignore, window-min-size, window-min-size-1)
24793 (window-sizable, window-sizable-p, window-size-fixed-1)
24794 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24795 (window-max-delta-1, window-max-delta, window-resizable)
24796 (window-resizable-p, window-total-height, window-total-width)
24797 (window-body-width): New functions.
24798 (window-full-height-p, window-full-width-p): Rewrite using
24799 window-total-size.
24800 (window-body-height): Rewrite using window-body-size.
24801
24802 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24803
24804 * window.el (window-right, window-left, window-child)
24805 (window-child-count, window-last-child, window-any-p)
24806 (normalize-live-buffer, normalize-live-frame)
24807 (normalize-any-window, normalize-live-window)
24808 (window-iso-combination-p, window-iso-combined-p)
24809 (window-iso-combinations)
24810 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24811 (windows-with-parameter, window-with-parameter)
24812 (window-atom-root, make-window-atom, window-atom-check-1)
24813 (window-atom-check, window-side-check, window-check):
24814 New functions.
24815 (ignore-window-parameters, window-sides, window-sides-vertical)
24816 (window-sides-slots): New variables.
24817 (window-size-fixed): Move down in code. Minor doc-string fix.
24818
24819 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24820
24821 * comint.el (comint-dynamic-complete-as-filename)
24822 (comint-dynamic-complete-filename): Correctly call
24823 completion-in-region.
24824
24825 2011-06-05 Deniz Dogan <deniz@dogan.se>
24826
24827 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24828 in last change.
24829
24830 2011-06-05 Deniz Dogan <deniz@dogan.se>
24831
24832 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24833 (rcirc): Use it to prompt for encryption.
24834
24835 2011-06-05 Roland Winkler <winkler@gnu.org>
24836
24837 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24838 (bibtex-search-entries): New command bound to C-c C-a.
24839 (bibtex-display-entries): New function.
24840
24841 2011-06-05 Roland Winkler <winkler@gnu.org>
24842
24843 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24844 (bibtex-insert-kill): After yanking insert newline if necessary.
24845 (bibtex-initialize): Call bibtex-string-files-init only once.
24846 (bibtex-mode): Do not call easy-menu-add.
24847 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24848 (bibtex-yank): Set arg properly if nil.
24849
24850 2011-06-05 Roland Winkler <winkler@gnu.org>
24851
24852 * textmodes/bibtex.el (bibtex-search-entry-globally):
24853 New variable.
24854 (bibtex-search-entry): Use it.
24855
24856 2011-06-05 Roland Winkler <winkler@gnu.org>
24857
24858 * textmodes/bibtex.el (bibtex-entry-format): New option
24859 sort-fields.
24860 (bibtex-format-entry, bibtex-reformat): Honor this option.
24861 (bibtex-parse-entry): Return fields in proper order.
24862
24863 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24864
24865 * doc-view.el (doc-view-remove-if): Move computation of result out
24866 of `dolist' to silence misleading lexical-binding warning.
24867
24868 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24869
24870 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24871 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24872
24873 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24874
24875 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24876 "SunOS 5.10".
24877
24878 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24879
24880 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24881 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24882 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24883 (tramp-parse-putty):
24884 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24885 (tramp-completion-function-alist-ssh)
24886 (tramp-completion-function-alist-telnet)
24887 (tramp-completion-function-alist-su)
24888 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24889 cookie.
24890
24891 * net/tramp-ftp.el:
24892 * net/tramp-sh.el:
24893 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24894 load "tramp.el" `tramp-set-completion-function'.
24895
24896 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24897
24898 * shell.el: Require and use pcomplete.
24899 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24900 (shell-completion-vars): Set pcomplete-default-completion-function.
24901
24902 2011-06-04 Deniz Dogan <deniz@dogan.se>
24903
24904 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24905 `memq' (Bug#8799).
24906
24907 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24908
24909 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24910
24911 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24912
24913 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24914 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24915 * vc/log-view.el (log-view-beginning-of-defun):
24916 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24917 (smerge-refine-forward, smerge-refine-chopup-region):
24918 Silence warning for unused `dotimes' counter variables.
24919
24920 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24921
24922 * net/tramp.el (tramp-with-progress-reporter): Rename from
24923 with-progress-reporter. Use `declare'.
24924 * net/tramp-smb.el:
24925 * net/tramp-sh.el:
24926 * net/tramp-gvfs.el: Update all uses.
24927
24928 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24929
24930 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24931 buffer isn't killed before making it current.
24932
24933 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24934
24935 Silence various byte-compiler warnings.
24936 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24937 `access-type' and new obsolescence format.
24938 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24939 new format.
24940 (byte-compile-check-variable): New `access-type' argument.
24941 Only warn if the access-type is obsolete.
24942 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24943 (byte-compile-variable-set): Adjust callers.
24944 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24945 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24946 setting it as obsolete.
24947 * simple.el (minibuffer-completing-symbol):
24948 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24949 access as obsolete.
24950 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24951 obsolete yet.
24952 * international/quail.el (quail-mouse-choose-completion): Remove unused
24953 code referring to obsolete var.
24954 (quail-choose-completion-string): Remove.
24955 * server.el (server-clients-with, server-kill-buffer-query-function)
24956 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24957 * proced.el (proced-send-signal):
24958 * emacs-lisp/lisp.el (lisp-complete-symbol):
24959 Replace completion-annotate-function with completion-extra-properties.
24960
24961 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24962
24963 * simple.el (goto-line): Use read-number.
24964 (overriding-map-is-bound): Remove.
24965 (saved-overriding-map): Change default.
24966 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24967 Take the map as argument.
24968 (universal-argument, negative-argument, digit-argument): Use it.
24969 (restore-overriding-map): Adjust.
24970 (do-auto-fill): Use fill-forward-paragraph.
24971 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24972
24973 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24974 (minibuffer-inactive-mode): New major mode.
24975 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24976 the *Messages* buffer" hack.
24977 (mouse-popup-menubar): Don't burp if the event is a normal key.
24978
24979 Miscellaneous tweaks.
24980 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24981 lexical scoping as in subr.el's dolist and dotimes.
24982 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24983 Silence compiler warning.
24984 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24985 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24986 * international/ccl.el (ccl-compile): Trivial simplification.
24987 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24988 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24989 `printflag' argument.
24990 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24991 Purecopy the whole obsolescence data.
24992
24993 2011-06-01 Leo Liu <sdl.web@gmail.com>
24994
24995 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24996 improve doc-string as suggested by Marco Pessotto
24997 <melmothx@gmail.com>.
24998 (rcirc-print): Fix last change.
24999
25000 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25001
25002 * minibuffer.el (complete-with-action): Return nil for the metadata and
25003 boundaries of non-functional tables.
25004 (completion-table-dynamic): Return nil for the metadata.
25005 (completion-table-with-terminator): Add default case, using
25006 complete-with-action.
25007 (completion--metadata): New function.
25008 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25009 to try and avoid pathological performance problems.
25010 (completion--embedded-envvar-table): Return `category' metadata.
25011
25012 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25013
25014 * subr.el (process-alive-p): New tiny convenience function.
25015
25016 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25017
25018 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25019 content but also its previous major mode.
25020
25021 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25022
25023 * emacs-lisp/debug.el (debug): Restore the previous content of the
25024 *Backtrace* buffer when we exit with C-M-c.
25025
25026 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25027
25028 * minibuffer.el: Add metadata method to completion tables.
25029 (completion-category-overrides): New defcustom.
25030 (completion-metadata, completion--field-metadata)
25031 (completion-metadata-get, completion--styles)
25032 (completion--cycle-threshold): New functions.
25033 (completion-try-completion, completion-all-completions):
25034 Add `metadata' argument to choose completion-styles.
25035 (completion--do-completion): Use metadata to choose cycling.
25036 (completion-all-sorted-completions): Use metadata for sorting.
25037 Remove :completion-cycle-penalty which is not needed any more.
25038 (completion--try-word-completion): Add `metadata' argument.
25039 (minibuffer-completion-help): Check metadata for annotation function
25040 and sorting.
25041 (completion-file-name-table): Return `category' metadata.
25042 (minibuffer-completing-file-name): Make obsolete.
25043 * simple.el (minibuffer-completing-symbol): Make obsolete.
25044 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25045 completion-try-completion.
25046
25047 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25048
25049 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25050
25051 2011-05-30 Leo Liu <sdl.web@gmail.com>
25052
25053 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25054 (rcirc-print): Decode all incoming messages (bug#8744).
25055 (rcirc-decode-coding-system): Allow value nil for automatic coding
25056 system detection.
25057
25058 2011-06-01 Glenn Morris <rgm@gnu.org>
25059
25060 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25061
25062 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25063
25064 * image.el (image-animate-max-time): Allow nil and t values.
25065 Default to nil.
25066 (create-animated-image): Doc fix.
25067 (image-animate-start): Remove second arg; just use
25068 image-animate-max-time.
25069 (image-animate-timeout): Doc fix. Args changed.
25070
25071 * image-mode.el (image-toggle-display-image): Ensure that the
25072 image spec passed to the animate timer is the same object as in
25073 the buffer's display property (Bug#6981).
25074 (image-transform-properties): Doc fix.
25075
25076 * image.el (image-animate-max-time): Default to nil.
25077
25078 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25079
25080 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25081 entire buffer list (Bug#8184).
25082
25083 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25084
25085 * image.el (imagemagick-types-inhibit)
25086 (imagemagick-register-types): Doc fix.
25087
25088 2011-05-29 Deniz Dogan <deniz@dogan.se>
25089
25090 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25091 default.
25092
25093 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25094
25095 * select.el: Don't perform clipboard-manager saving in hooks;
25096 leave the hooks empty.
25097
25098 2011-05-28 Leo Liu <sdl.web@gmail.com>
25099
25100 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25101 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25102 (occur-edit-mode): New major mode (Bug#8463).
25103 (occur-after-change-function): New function.
25104 (occur-engine): Give Occur tags a read-only property.
25105
25106 2011-05-28 Kevin Ryde <user42@zip.com.au>
25107
25108 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25109
25110 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25111
25112 * bindings.el (help-echo): Make the initial non-indicator dash
25113 empty on graphical terminals (Bug#7295).
25114
25115 * files.el (auto-mode-alist): Move config rule after the
25116 in-stripping one (Bug#8547).
25117
25118 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25119
25120 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25121 setting (Bug#8740).
25122
25123 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25124
25125 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25126 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25127 (Bug#8539).
25128
25129 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25130
25131 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25132
25133 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25134
25135 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25136 (hs-hide-block-at-point, hs-find-block-beginning)
25137 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25138 (Bug#8279).
25139
25140 2011-05-28 Glenn Morris <rgm@gnu.org>
25141
25142 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25143
25144 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25145
25146 * help-fns.el (describe-function-1): If the function is a derived
25147 major mode, print the parent mode.
25148
25149 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25150 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25151
25152 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25153
25154 * minibuffer.el (completion--capf-wrapper): Check applicability before
25155 returning non-nil for non-exclusive completion data.
25156 * progmodes/etags.el (tags-completion-at-point-function):
25157 * info-look.el (info-lookup-completions-at-point): Mark as
25158 non-exclusive.
25159 (info-complete): Adjust accordingly.
25160
25161 * info-look.el: Convert to lexical-binding and completion-at-point.
25162 (info-lookup-completions-at-point): New function.
25163 (info-complete): Use it and completion-in-region.
25164
25165 2011-05-28 Drew Adams <drew.adams@oracle.com>
25166
25167 * isearch.el: Let M-e start with point at the first mismatched char.
25168 (isearch-fail-pos): New function.
25169 (isearch-edit-string): Use it.
25170
25171 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25172
25173 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25174
25175 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25176
25177 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25178 traversal functions for avl-trees.
25179 (avl-tree--stack): New struct.
25180 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25181 (avl-tree-enter): Add optional `updatefun' arg.
25182 (avl-tree--do-enter): Add optional `updatefun' arg.
25183 Change return value.
25184 (avl-tree-delete): Add optional `test' and `nilflag' args.
25185 (avl-tree--do-delete): Add `test' and `nilflag' args.
25186 Change return value.
25187 (avl-tree-member): Add optional `nilflag'
25188 (avl-tree-member-p): New function.
25189 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25190 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25191 (avl-tree-stack-empty-p): New functions.
25192
25193 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25194 avl-tree--del-balance1 and make it work both ways.
25195 (avl-tree--del-balance2): Remove.
25196 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25197 make it work both ways.
25198 (avl-tree--enter-balance2): Remove.
25199 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25200 New macros.
25201 (avl-tree--mapc, avl-tree-map): Add direction argument.
25202
25203 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25204
25205 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25206
25207 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25208
25209 * select.el: Support clipboard managers with built-in function
25210 x-clipboard-manager-save, via delete-frame-functions and
25211 kill-emacs-hook.
25212 (xselect-convert-to-targets): Add MULTIPLE target to list.
25213 (xselect-convert-to-save-targets): New function.
25214
25215 2011-05-27 Kenichi Handa <handa@m17n.org>
25216
25217 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25218 let-binding rfc2047-encode-encoded-words to nil.
25219
25220 2011-05-27 Glenn Morris <rgm@gnu.org>
25221
25222 * mail/emacsbug.el: Don't require url-util.
25223
25224 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25225
25226 * files.el (set-auto-mode):
25227 Also respect mode: entries at the end of the file. (Bug#8586)
25228
25229 2011-05-26 Glenn Morris <rgm@gnu.org>
25230
25231 * files.el (hack-local-variables-prop-line, hack-local-variables):
25232 Downcase mode names, as seems to be traditional.
25233 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25234
25235 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25236 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25237
25238 2011-05-25 Julien Danjou <julien@danjou.info>
25239
25240 * textmodes/rst.el (rst-define-level-faces): Do not define face
25241 symbol if it is already defined.
25242
25243 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25244
25245 * play/5x5.el (5x5-new-game, 5x5-randomize):
25246 Reset 5x5-solver-output to nil when a new grid is cast.
25247 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25248 these debugging traces, as defmacro breaks the compiled code.
25249
25250 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25251
25252 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25253
25254 2011-05-24 Leo Liu <sdl.web@gmail.com>
25255
25256 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25257 (vc-bzr-sha1): Adapt.
25258
25259 * sha1.el: Remove. Function `sha1' is now builtin.
25260
25261 * bindings.el: Provide sha1 feature.
25262
25263 2011-05-24 Kenichi Handa <handa@m17n.org>
25264
25265 * mail/sendmail.el: Require `rfc2047'.
25266 (mail-insert-from-field): Do not perform RFC2047 encoding.
25267 (mail-encode-header): New function.
25268 (sendmail-send-it): Set buffer-file-coding-system of the work
25269 buffer to the return value of select-message-coding-system.
25270 Call mail-encode-header.
25271
25272 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25273
25274 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25275
25276 * mail/supercite.el (sc-default-cite-frame):
25277 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25278
25279 2011-05-24 Glenn Morris <rgm@gnu.org>
25280
25281 * progmodes/python.el (brm-menu): Declare.
25282
25283 * emulation/viper.el (viper-set-hooks): Declare.
25284
25285 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25286 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25287 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25288 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25289 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25290 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25291
25292 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25293
25294 Add an :exit-function for completion-at-point.
25295
25296 * minibuffer.el (completion--done): New fun.
25297 (completion--do-completion): Use it. New arg `expect-exact'.
25298 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25299 since completion--do-completion does it for us now.
25300 (minibuffer-force-complete): Use completion--done and
25301 completion--replace. Handle sole-completion case with more care.
25302 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25303 (completion-extra-properties): New var.
25304 (completion-annotate-function): Make obsolete.
25305 (minibuffer-completion-help): Adjust accordingly.
25306 Use completion-list-insert-choice-function.
25307 (completion-at-point, completion-help-at-point):
25308 Bind completion-extra-properties.
25309 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25310 * simple.el (completion-list-insert-choice-function): New var.
25311 (completion-setup-function): Preserve it.
25312 (choose-completion): Pay attention to it, shuffle the code a bit.
25313 (choose-completion-string): New arg `insert-function'.
25314
25315 * textmodes/bibtex.el: Convert to lexical binding.
25316 (bibtex-mode-map): Use completion-at-point.
25317 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25318 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25319 (bibtex-complete): Define as obsolete alias.
25320 (bibtex-complete-internal): Remove.
25321 (bibtex-format-entry): Remove unused sub-group in regexp.
25322 * shell.el (shell--command-completion-data)
25323 (shell-environment-variable-completion):
25324 * pcomplete.el (pcomplete-completions-at-point):
25325 * comint.el (comint--complete-file-name-data): Use :exit-function
25326 instead of completion-table-with-terminator so it also works for
25327 choose-completion.
25328
25329 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25330
25331 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25332
25333 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25334 (bug#8710).
25335
25336 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25337
25338 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25339
25340 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25341 customization variable and implement: If non-nil, auto-fill will
25342 be inhibited while on topic's header line.
25343
25344 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25345
25346 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25347 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25348 always have a solution in grid size = 5 cases.
25349 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25350 (5x5-solver-output, 5x5-log-buffer): New vars.
25351 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25352 Make these variables buffer local to achieve 5x5 multi-session-ness.
25353 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25354 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25355 (5x5-solve-suggest): New funs.
25356 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25357 randomize a grid so that we ensure that there is always a solution.
25358 (5x5-make-random-grid): Allow other movement than flipping.
25359
25360 2011-05-23 Kevin Ryde <user42@zip.com.au>
25361
25362 * emacs-lisp/advice.el (ad-read-advised-function):
25363 Use `function-called-at-point' as the default, if it has
25364 advice and passes PREDICATE.
25365
25366 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25367
25368 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25369 byte-compile-lambda if it's actually a lambda.
25370
25371 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25372 Fix function quoting. Use backquote better.
25373
25374 2011-05-22 Yuanle Song <sylecn@gmail.com>
25375
25376 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25377 matching (Bug#8516).
25378
25379 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25380
25381 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25382 different face (Bug#8178).
25383
25384 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25385
25386 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25387 defface (Bug#8144).
25388
25389 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25390
25391 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25392 funcall as well (bug#8712). Warn when performing those conversions.
25393 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25394
25395 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25396
25397 2011-05-22 Glenn Morris <rgm@gnu.org>
25398
25399 * files.el (hack-local-variables-prop-line): Small simplifications.
25400 (hack-local-variables, hack-local-variables-prop-line):
25401 If MODE-ONLY, return the mode, rather than just `t'.
25402
25403 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25404
25405 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25406
25407 2011-05-21 Glenn Morris <rgm@gnu.org>
25408
25409 * files.el (hack-local-variables-prop-line, hack-local-variables):
25410 If only interested in the mode, don't bother doing the other stuff.
25411
25412 * image-mode.el (image-after-revert-hook):
25413 Redraw all frames on which the image is visible. (Bug#8567)
25414
25415 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25416
25417 * wid-edit.el (widget-checklist-match-inline):
25418 Fix 2011-04-19 change. (Bug#8649)
25419
25420 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25421
25422 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25423 Also allow singlespace after single-letter capitals followed by a dot.
25424
25425 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25426 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25427
25428 2011-05-20 Nix <nix@esperi.org.uk>
25429
25430 * files.el (basic-save-buffer-2):
25431 Fix handling of break-hardlink-on-save with non-existent files.
25432
25433 2011-05-19 Deniz Dogan <deniz@dogan.se>
25434
25435 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25436 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25437
25438 2011-05-19 Glenn Morris <rgm@gnu.org>
25439
25440 * progmodes/f90.el (f90-type-def-re):
25441 Handle "type, bind(c)". (Bug#8691)
25442
25443 * emacs-lisp/autoload.el (batch-update-autoloads):
25444 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25445
25446 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25447
25448 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25449 property for the correct connection in case of multihops.
25450
25451 2011-05-18 Glenn Morris <rgm@gnu.org>
25452
25453 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25454 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25455
25456 Rationalize calendar handling of day and month abbrev-arrays.
25457 * calendar/calendar.el (calendar-customized-p): New function.
25458 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25459 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25460 Add :set function.
25461 (calendar-abbrev-length, calendar-day-abbrev-array)
25462 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25463 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25464 Elements may no longer be nil.
25465 (calendar-day-name, calendar-month-name):
25466 Update for changed nature of abbrev arrays.
25467 * calendar/diary-lib.el (diary-name-pattern):
25468 Update for changed nature of abbrev arrays.
25469 (diary-mark-entries-1): Update calendar-make-alist calls.
25470 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25471 * calendar/cal-html.el (cal-html-day-abbrev-array):
25472 Simply inherit from calendar-day-abbrev-array.
25473
25474 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25475
25476 * progmodes/grep.el (grep-mode): Disable default
25477 compilation-directory-matcher setting (bug#8684).
25478
25479 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25480
25481 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25482 instead of "head" and "tail". There were problems with SunOS 5.9,
25483 and it performs better.
25484
25485 2011-05-17 Glenn Morris <rgm@gnu.org>
25486
25487 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25488
25489 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25490 Replace obsolete function.
25491
25492 * shell.el (pcomplete-parse-arguments-function): Declare.
25493
25494 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25495 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25496 (appt-check): Doc fixes.
25497 (appt-disp-window-function, appt-delete-window-function):
25498 Remove needless special case in custom :type.
25499 (appt-display-count): Default to 0, not nil.
25500 (appt-check): Reset appt-display-count to 0, not nil.
25501
25502 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25503
25504 * progmodes/python.el (python-font-lock-keywords):
25505 Add the Python 3.X keyword "nonlocal" (bug#8639).
25506
25507 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25508
25509 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25510
25511 2011-05-16 Kevin Ryde <user42@zip.com.au>
25512
25513 * info-look.el (makefile-automake-mode): New setups, looking in
25514 automake manual, then makefile-mode.
25515 (makefile-mode): Remove automake manual, have it just in
25516 makefile-automake-mode since there's various things different or
25517 not relevant to plain make.
25518 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25519 believe a hypothetical automake-mode would go to makefile-mode,
25520 not the other way around.
25521
25522 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25523
25524 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25525 hunk-end tags (Bug#8672).
25526
25527 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25528 vc-annotate-show-diff-revision-at-line (Bug#8671).
25529
25530 2011-05-14 Glenn Morris <rgm@gnu.org>
25531
25532 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25533 in the middle of an existing one with multiple authors. (Bug#8645)
25534 (change-log-font-lock-keywords): Also handle multiple author lines
25535 with leading tabs. (Bug#8644)
25536
25537 * calendar/appt.el (appt-check): Rename some local variables.
25538 Some simplification/reordering.
25539
25540 * mail/feedmail.el (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)
25544 (feedmail-queue-runner-message-sender): Set :version.
25545 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25546 (bbdb-dwim-net-address, vm-mail): Declare.
25547 (feedmail-binmail-gnulinuxish-template):
25548 Rename from feedmail-binmail-linuxish-template.
25549 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25550 Use insert-buffer-substring.
25551
25552 2011-05-14 Bill Carpenter <bill@carpenter.org>
25553
25554 * mail/feedmail.el (feedmail-patch-level): Increase.
25555 (feedmail-debug): New custom group.
25556 (feedmail-confirm-outgoing-timeout)
25557 (feedmail-sendmail-f-doesnt-sell-me-out)
25558 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25559 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25560 (feedmail-sender-line, feedmail-from-line)
25561 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25562 (feedmail-spray-this-address)
25563 (feedmail-spray-address-fiddle-plex-list)
25564 (feedmail-queue-use-send-time-for-date)
25565 (feedmail-queue-use-send-time-for-message-id)
25566 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25567 (feedmail-buffer-eating-function):
25568 Doc fixes.
25569 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25570 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25571 (feedmail-message-action-scroll-down): New functions.
25572 (feedmail-queue-directory, feedmail-queue-draft-directory):
25573 Use expand-file-name.
25574 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25575 Remove C-v help entry.
25576 (feedmail-queue-buffer-file-name): New variable.
25577 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25578 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25579 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25580 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25581 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25582 (feedmail-message-action-toggle-spray)
25583 (feedmail-run-the-queue-no-prompts)
25584 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25585 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25586 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25587 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25588 (feedmail-envelope-deducer, feedmail-fiddle-from)
25589 (feedmail-fiddle-sender, feedmail-default-date-generator)
25590 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25591 (feedmail-fiddle-spray-address)
25592 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25593 (feedmail-fiddle-list-of-fiddle-plexes)
25594 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25595 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25596 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25597 Change default. Doc fix.
25598 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25599 (feedmail-binmail-linuxish-template): New constant.
25600 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25601 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25602 (feedmail-send-it): Add debug call.
25603 Use feedmail-queue-buffer-file-name, and
25604 feedmail-send-it-immediately-wrapper.
25605 (feedmail-message-action-send): Add debug call.
25606 Use feedmail-send-it-immediately-wrapper.
25607 (feedmail-queue-express-to-queue): Add debug call.
25608 Run feedmail-queue-express-hook.
25609 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25610 (feedmail-message-action-help-blat):
25611 Rename from feedmail-queue-send-edit-prompt-help-first.
25612 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25613 Check line-endings. Handle errors better.
25614 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25615 Doc fix. Add debug call.
25616 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25617 Use feedmail-queue-send-edit-prompt-inner.
25618 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25619 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25620 from feedmail-queue-send-edit-prompt.
25621 (feedmail-queue-send-edit-prompt-help)
25622 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25623 (feedmail-tidy-up-slug): Add debug call.
25624 Respect feedmail-queue-slug-suspect-regexp.
25625 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25626 (feedmail-dump-message-to-queue): Add debug call.
25627 Expand queue-directory.
25628 (feedmail-dump-message-to-queue): Change message slightly.
25629 Use feedmail-say-chatter.
25630 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25631 (feedmail-send-it-immediately-wrapper): New function.
25632 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25633 Insert empty string rather than newline. Handle full-frame case.
25634 Use catch/throw. Use feedmail-say-chatter.
25635 (feedmail-fiddle-from): Try mail-host-address.
25636 (feedmail-default-message-id-generator): Doc fix.
25637 Bind system-time-locale. Handle missing end.
25638 (feedmail-fiddle-x-mailer): Add debug call.
25639 Handle feedmail-x-mailer-line being nil.
25640 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25641 Add debug call. Use buffer-substring-no-properties.
25642 (feedmail-say-debug, feedmail-say-chatter): New functions.
25643 (feedmail-find-eoh): Give an explicit error.
25644
25645 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25646
25647 * net/newst-treeview.el (newsticker-treeview-face): Change default
25648 family from helvetica to sans.
25649 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25650 etc/images/newsticker.
25651
25652 * net/newst-reader.el (newsticker-feed-face): Change default
25653 family from helvetica to sans.
25654
25655 * net/newst-plainview.el (newsticker-new-item-face)
25656 (newsticker-old-item-face, newsticker-immortal-item-face)
25657 (newsticker-obsolete-item-face, newsticker-date-face)
25658 (newsticker-statistics-face): Change default family from
25659 helvetica to sans.
25660 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25661 etc/images/newsticker.
25662
25663 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25664 (newsticker--process-auto-mark-filter-match): Tell user about
25665 auto-marking.
25666
25667 2011-05-13 Didier Verna <didier@xemacs.org>
25668
25669 Common Lisp indentation improvements on defmethod and lambda-lists.
25670 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25671 TODO entries.
25672 (lisp-lambda-list-keyword-parameter-indentation)
25673 (lisp-lambda-list-keyword-parameter-alignment)
25674 (lisp-lambda-list-keyword-alignment): New customizable user options.
25675 (lisp-indent-defun-method): Improve docstring.
25676 (extended-loop-p): Fix comment.
25677 (lisp-indent-lambda-list-keywords-regexp): New variable.
25678 (lisp-indent-lambda-list): New function.
25679 (lisp-indent-259): Use it.
25680 (lisp-indent-defmethod): Support for more than one
25681 method qualifier and properly indent methods lambda-lists.
25682 (defgeneric): Provide a missing common-lisp-indent-function property.
25683
25684 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25685
25686 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25687 bounds for the empty string (bug#8667).
25688
25689 2011-05-13 Glenn Morris <rgm@gnu.org>
25690
25691 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25692
25693 * mail/sendmail.el (sendmail-program): Try executable-find first.
25694 (sendmail-send-it): `sendmail-program' cannot be unbound.
25695
25696 * calendar/appt.el (appt-make-list): Simplify.
25697 (appt-time-msg-list): Doc fix.
25698 (appt-check): Change mode-line message at the time of the appointment.
25699
25700 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25701
25702 * progmodes/ld-script.el (ld-script-keywords)
25703 (ld-script-builtins): Update keywords list.
25704
25705 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25706
25707 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25708
25709 * shell.el (shell-completion-vars): New function.
25710 (shell-mode):
25711 * simple.el (read-shell-command): Use it.
25712 (blink-matching-open): No need for " [...]" in minibuffer-message.
25713
25714 2011-05-12 Glenn Morris <rgm@gnu.org>
25715
25716 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25717 (appt-check): Simplify.
25718
25719 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25720
25721 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25722 literal "/dev/null".
25723
25724 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25725
25726 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25727 Fix typo.
25728
25729 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25730
25731 * progmodes/which-func.el (which-function):
25732 Use add-log-current-defun instead of add-log-current-defun-function,
25733 which might not be defined (Bug#8260).
25734
25735 2011-05-12 Glenn Morris <rgm@gnu.org>
25736
25737 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25738 Let byte-compile-initial-macro-environment always take precedence.
25739
25740 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25741
25742 * net/rcirc.el: Add support for SSL/TLS connections.
25743 (rcirc-server-alist): New field `encryption'.
25744 (rcirc): Check `encryption' settings.
25745 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25746 Merge make-local-variable into `set'.
25747 (rcirc--connection-open-p): New function.
25748 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25749 the process is not a network process (e.g. running gnutls-cli).
25750 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25751 Make rcirc-(en|de)code-coding-system local here.
25752 (rcirc-mode): Merge make-local-variable into `set'.
25753 (rcirc-parent-buffer): Make permanent buffer-local.
25754 (rcirc-multiline-minor-mode): Don't do it here.
25755 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25756 there's no server buffer.
25757
25758 2011-05-11 Glenn Morris <rgm@gnu.org>
25759
25760 * newcomment.el (comment-kill): Prefix "unused" local.
25761
25762 * term/w32console.el (get-screen-color): Declare.
25763
25764 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25765 Handle symbol elements of byte-compile-initial-macro-environment.
25766
25767 2011-05-10 Leo Liu <sdl.web@gmail.com>
25768
25769 * bookmark.el (bookmark-bmenu-mode-map):
25770 Bind bookmark-bmenu-search to `/'.
25771
25772 * mail/footnote.el: Convert to utf-8 encoding.
25773 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25774 (Footnote-unicode): New function.
25775 (footnote-style-alist): Add unicode style to the list.
25776 (footnote-style): Doc fix.
25777
25778 2011-05-10 Jim Meyering <meyering@redhat.com>
25779
25780 Fix doubled-word typos.
25781 * international/quail.el (quail-insert-kbd-layout): and and -> and
25782 * kermit.el: and and -> and
25783 * net/ldap.el (ldap-search-internal): to to -> to
25784 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25785 * progmodes/js.el (js-mode): and and -> and
25786 * textmodes/artist.el (artist-move-to-xy): at at -> at
25787 (artist-draw-region-trim-line-endings): if if -> if
25788 And Safetyc -> Safety.
25789 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25790
25791 2011-05-10 Glenn Morris <rgm@gnu.org>
25792 Stefan Monnier <monnier@iro.umontreal.ca>
25793
25794 * files.el (hack-one-local-variable-eval-safep):
25795 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25796
25797 2011-05-10 Glenn Morris <rgm@gnu.org>
25798
25799 * calendar/diary-lib.el (diary-list-entries-hook)
25800 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25801 (diary-nongregorian-marking-hook, diary-list-entries)
25802 (diary-include-other-diary-files, diary-mark-entries)
25803 (diary-mark-included-diary-files): Doc fixes.
25804
25805 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25806
25807 * misc.el: Require tabulated-list.el during compilation.
25808
25809 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25810
25811 * progmodes/compile.el (compilation-start):
25812 Run compilation-filter-hook for the async case too.
25813 (compilation-filter-hook): Doc fix.
25814
25815 2011-05-09 Deniz Dogan <deniz@dogan.se>
25816
25817 * wdired.el: Remove outdated installation comment. Fix usage
25818 comment.
25819
25820 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25821
25822 * misc.el: Implement new command `list-dynamic-libraries'.
25823 (list-dynamic-libraries--loaded-only-p): New variable.
25824 (list-dynamic-libraries--refresh): New function.
25825 (list-dynamic-libraries): New command.
25826
25827 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25828
25829 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25830 Fix the ant regexp to handle end-line and end-column info from jikes.
25831 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25832 higher priority to avoid clobbering by gnu.
25833
25834 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25835
25836 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25837 if the face has existing theme settings (Bug#8454).
25838
25839 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25840
25841 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25842 Only match variables declared via `my' or `our' (Bug#8261).
25843
25844 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25845 special file names `.' and `..' (Bug#8259).
25846
25847 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25848
25849 * progmodes/grep.el (grep-mode-font-lock-keywords):
25850 Remove buffer-changing entries.
25851 (grep-filter): New function.
25852 (grep-mode): Add it to compilation-filter-hook.
25853
25854 * progmodes/compile.el (compilation-filter-hook)
25855 (compilation-filter-start): New defvars.
25856 (compilation-filter): Call compilation-filter-hook prior to
25857 updating the process mark.
25858
25859 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25860
25861 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25862
25863 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25864
25865 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25866 mailclient-send-it even if window-system is nil. (Bug#8595)
25867
25868 * term/w32console.el (terminal-init-w32console):
25869 Call get-screen-color and use its output to set the frame
25870 background-mode. (Bug#8597)
25871
25872 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25873
25874 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25875 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25876 New functions.
25877 (defgeneric, eieio--defmethod): Use them.
25878 (eieio-defgeneric): Remove.
25879 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25880
25881 2011-05-07 Glenn Morris <rgm@gnu.org>
25882
25883 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25884 Use let rather than let*.
25885 (timeclock-find-discrep): Remove unused local.
25886
25887 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25888
25889 * calendar/appt.el (appt-time-msg-list): Doc fix.
25890
25891 2011-05-06 Noah Friedman <friedman@splode.com>
25892
25893 * apropos.el (apropos-print-doc): Only use
25894 emacs-lisp-docstring-fill-column when it is bound to an integer,
25895 per that variable's documentation.
25896
25897 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25898
25899 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25900 and warnings are not silently discarded (e.g. use -d instead of -P).
25901
25902 2011-05-06 Glenn Morris <rgm@gnu.org>
25903
25904 * calendar/appt.el (appt-message-warning-time): Doc fix.
25905 (appt-warning-time-regexp): New option.
25906 (appt-make-list): Respect appt-message-warning-time.
25907
25908 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25909 New options.
25910 (diary-add-to-list): Strip comments from the displayed string.
25911 (diary-mode): Set comment-start and comment-end.
25912
25913 * vc/diff-mode.el (smerge-refine-subst): Declare.
25914 (diff-refine-hunk): Don't require smerge-mode when compiling.
25915
25916 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25917
25918 * simple.el (list-processes): Return nil as the docstring says.
25919
25920 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25921
25922 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25923 to "".
25924 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25925 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25926 determining of binary transfer. (Bug#7383)
25927
25928 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25929
25930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25931 Fix port computation bug. (Bug#8618)
25932
25933 2011-05-05 Glenn Morris <rgm@gnu.org>
25934
25935 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25936
25937 * simple.el (shell-dynamic-complete-functions)
25938 (comint-dynamic-complete-functions): Declare.
25939
25940 * net/network-stream.el (gnutls-negotiate):
25941 * simple.el (tabulated-list-print): Fix declarations.
25942
25943 * progmodes/gud.el (syntax-symbol, syntax-point):
25944 Remove unnecessary and incorrect declarations.
25945
25946 * emacs-lisp/check-declare.el (check-declare-scan):
25947 Handle byte-compile-initial-macro-environment in bytecomp.el.
25948
25949 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25950
25951 Fix earlier half-done eieio-defmethod change (bug#8338).
25952 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25953 Streamline and change calling convention.
25954 (defmethod): Adjust accordingly and simplify.
25955 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25956 new eieio--defmethod.
25957 (slot-boundp): Minor CSE simplification.
25958
25959 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25960
25961 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25962 (glasses-make-readable): Use glasses-separate-capital-groups.
25963
25964 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25965
25966 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25967 (warning-series): Doc fix.
25968 (display-warning): Don't try to create the buffer if we just found it.
25969
25970 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25971
25972 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25973 (autoload-find-generated-file): New function.
25974 (generate-file-autoloads): Bind generated-autoload-file to
25975 buffer-file-name.
25976 (update-file-autoloads, update-directory-autoloads):
25977 Use autoload-find-generated-file. If called interactively, prompt for
25978 output file (Bug#7989).
25979 (batch-update-autoloads): Doc fix.
25980
25981 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25982
25983 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25984
25985 2011-05-04 Glenn Morris <rgm@gnu.org>
25986
25987 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25988 function, so it follows changes in calendar-date-style.
25989 (diary-fancy-date-matcher): New function.
25990 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25991 (diary-fancy-font-lock-fontify-region-function):
25992 Use diary-fancy-date-pattern as a function.
25993
25994 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25995 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25996
25997 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25998
25999 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26000 instead of positional arguments. Allow :keylist and :crlfiles
26001 arguments.
26002 (open-gnutls-stream): Call it.
26003
26004 * net/network-stream.el (network-stream-open-starttls): Adjust to
26005 call `gnutls-negotiate' with :process and :hostname arguments.
26006
26007 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26008
26009 * minibuffer.el (completion--message): New function.
26010 (completion--do-completion, minibuffer-complete)
26011 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26012 (completion--do-completion): Don't ignore completion-auto-help when in
26013 icomplete-mode.
26014
26015 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26016 internal encoding (e.g. tibetan zero is not whitespace).
26017 (global-whitespace-mode): Prefer save-current-buffer.
26018 (whitespace-trailing-regexp): Remove useless save-match-data.
26019 (whitespace-empty-at-bob-regexp): Minor simplification.
26020
26021 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26022
26023 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26024
26025 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
26026
26027 * textmodes/ispell.el (ispell-add-per-file-word-list):
26028 Use `concat' to create string for insertion.
26029
26030 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26031
26032 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26033 Avoid open-line which runs post-self-insert-hook.
26034 (bibtex-fill-entry): Remove unused `end' var.
26035
26036 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26037
26038 * textmodes/ispell.el (ispell-add-per-file-word-list):
26039 Protect against `nil' value of `comment-start' (Bug#8579).
26040
26041 2011-05-03 Leo Liu <sdl.web@gmail.com>
26042
26043 * isearch.el (isearch-yank-pop): New command.
26044 (isearch-mode-map): Bind it to `M-y'.
26045 (isearch-forward): Mention it.
26046
26047 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26048
26049 * simple.el (minibuffer-complete-shell-command): Remove.
26050 (minibuffer-local-shell-command-map): Use completion-at-point.
26051 (read-shell-command): Setup completion vars here instead.
26052 (read-expression-map): Bind TAB to symbol completion.
26053
26054 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26055 error directly rather via storing it into `results'.
26056
26057 2011-05-02 Leo Liu <sdl.web@gmail.com>
26058
26059 * vc/diff.el: Fix description.
26060
26061 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26062
26063 * server.el (server-eval-at): New function.
26064
26065 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26066
26067 * net/network-stream.el (open-network-stream): Take a :nowait
26068 parameter and pass it on to `make-network-process'.
26069 (network-stream-open-plain): Ditto.
26070
26071 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26072
26073 * faces.el (face-spec-set-match-display): Don't match toolkit
26074 options on terminal frames.
26075
26076 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26077
26078 * progmodes/pascal.el: Use lexical binding.
26079 (pascal-mode-map): Remove author preferences.
26080
26081 * pcomplete.el (pcomplete-std-complete): Don't abuse
26082 completion-at-point.
26083
26084 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26085
26086 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26087 removing code that has been dead since 1991 or so.
26088
26089 * startup.el (command-line): When warning about "_emacs", use a
26090 delayed warning to allow the user to filter it out.
26091
26092 2011-04-28 Deniz Dogan <deniz@dogan.se>
26093
26094 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26095 user has not joined.
26096
26097 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26098
26099 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26100 aren't any completions at point.
26101
26102 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26103
26104 * subr.el (display-delayed-warnings): New function.
26105 (delayed-warnings-hook): New variable.
26106
26107 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26108
26109 * minibuffer.el (completion-at-point, completion-help-at-point):
26110 Don't presume that a given completion-at-point-function will always
26111 use the same calling convention.
26112
26113 * pcomplete.el (pcomplete-completions-at-point):
26114 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26115 pcomplete-seen is non-nil.
26116 (pcomplete-comint-setup): Also recognize the new comint/shell
26117 completion functions.
26118 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26119 pcomplete-seen is non-nil.
26120
26121 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26122
26123 * calendar/icalendar.el (diary-lib): Add require statement.
26124 (icalendar--create-uid): Read out a uid from a text-property on
26125 the first character in the entry. This allows for code to add its
26126 own uid to the entry.
26127 (icalendar--convert-float-to-ical): Add export of
26128 `diary-float'-entries save for those with the optional DAY
26129 argument.
26130
26131 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26132
26133 * subr.el (shell-quote-argument): Use alternate escaping strategy
26134 when we spot a variable reference in a string.
26135
26136 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26137
26138 * cus-start.el (all): Define customization for debug-on-event.
26139
26140 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26141
26142 * subr.el (shell-quote-argument): Escape correctly under Windows.
26143
26144 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26145
26146 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26147
26148 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26149
26150 * net/tramp.el (tramp-process-actions): Add POS argument.
26151 Delete region between POS and (pos).
26152
26153 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26154 Use `nil' position in `tramp-process-actions' call.
26155 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26156
26157 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26158 position in `tramp-process-actions' call.
26159
26160 * net/trampver.el: Update release number.
26161
26162 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26163
26164 * custom.el (defcustom): Obey lexical-binding.
26165
26166 Fix octave-inf completion problems reported by Alexander Klimov.
26167 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26168 Inherit from octave-mode-syntax-table.
26169 (inferior-octave-mode): Set info-lookup-mode.
26170 (inferior-octave-completion-at-point): New function.
26171 (inferior-octave-complete): Use it and completion-in-region.
26172 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26173 comint-filename-completion.
26174 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26175 symbol elements which shouldn't be word elements.
26176 (octave-font-lock-keywords, octave-beginning-of-defun)
26177 (octave-function-header-regexp): Adjust regexps accordingly.
26178 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26179
26180 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26181
26182 * net/gnutls.el (gnutls-errorp): Declare before first use.
26183
26184 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26185
26186 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26187 verify-error, and verify-hostname-error parameters. Check whether
26188 default trustfile exists before going to use it. Add missing
26189 argument to gnutls-message-maybe call. Return value.
26190 Reported by Claudio Bley <claudio.bley@gmail.com>.
26191 (open-gnutls-stream): Add usage example.
26192
26193 * net/network-stream.el (network-stream-open-starttls): Give host
26194 parameter to `gnutls-negotiate'.
26195 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26196 * subr.el (shell-quote-argument): Escape correctly under Windows.
26197
26198 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26199
26200 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26201 Use correct match group (bug#8438).
26202
26203 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26204
26205 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26206 (package-menu--generate): New arg specifying packages to show.
26207 (package-menu-refresh, package-menu-execute, list-packages):
26208 Callers changed.
26209 (package-show-package-list): New function, replacing deleted
26210 package--list-packages (renamed because it is non-internal).
26211
26212 * finder.el (finder-list-matches): Use package-show-package-list
26213 instead of deleted package--list-packages.
26214
26215 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26216 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26217 (vc-annotate-mode-map): Bind it to RET.
26218
26219 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26220
26221 * progmodes/etags.el (next-file): Don't use set-buffer to change
26222 buffers (Bug#8478).
26223
26224 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26225
26226 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26227
26228 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26229 (apropos-accumulator): Doc fix.
26230 (apropos-function, apropos-macro, apropos-command)
26231 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26232 (apropos-plist): Add face property.
26233 (apropos-symbols-internal): Fix indentation.
26234 (apropos-print): Simplify help, and recognize apropos-multi-type.
26235 (apropos-print-doc): Use button-type-get to extract the button's
26236 face property. Fill docstring (Bug#8352).
26237
26238 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26239
26240 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26241
26242 * play/mpuz.el (mpuz-silent): Doc fix.
26243 (mpuz-mode-map): Use mapc.
26244 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26245 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26246 Fix typos in docstrings.
26247
26248 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26249 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26250
26251 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26252
26253 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26254
26255 * minibuffer.el (completion--do-completion): Avoid the "Next char
26256 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26257
26258 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26259 mouse-2 into unread-command-events, it is interpreted correctly.
26260
26261 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26262 (image-toggle-display): Doc fix.
26263
26264 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26265
26266 * textmodes/page.el (what-page): Use line-number-at-pos to
26267 calculate line number (Bug#6825).
26268
26269 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26270
26271 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26272 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26273 Pass argument NO-DEFAULT to `find-tag-interactive'.
26274
26275 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26276
26277 Lexical-binding cleanup.
26278
26279 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26280 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26281 * progmodes/ada-prj.el (ada-prj-initialize-values)
26282 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26283 (ada-prj-show-value):
26284 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26285 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26286 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26287 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26288 * progmodes/bug-reference.el (bug-reference-push-button):
26289 * progmodes/fortran.el (fortran-line-length):
26290 * progmodes/glasses.el (glasses-change):
26291 * progmodes/octave-mod.el (octave-fill-paragraph):
26292 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26293 (python-pdbtrack-grub-for-buffer, python-sentinel):
26294 * progmodes/sql.el (sql-save-connection):
26295 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26296 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26297 Mark unused parameters.
26298
26299 * progmodes/compile.el (compilation--flush-directory-cache)
26300 (compilation--flush-parse, compile-internal): Mark unused parameters.
26301 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26302 (compilation-next-error-function): Remove unused variable `timestamp'.
26303
26304 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26305 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26306
26307 * progmodes/dcl-mode.el (dcl-end-of-command):
26308 Remove unused variable `start'.
26309 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26310 (dcl-option-value-basic, dcl-option-value-offset)
26311 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26312 Mark unused parameters.
26313 (dcl-save-local-variable): Remove unused variable `val'.
26314 (mode): Declare.
26315
26316 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26317 Mark unused parameters.
26318 (delphi-ignore-changes): Move before first use.
26319 (delphi-charset-token-at): Remove unused variable `start'.
26320 (delphi-else-start): Remove unused variable `if-count'.
26321 (delphi-comment-block-start, delphi-comment-block-end):
26322 Remove unused variable `kind'.
26323 (delphi-indent-line): Remove unused variable `new-point'.
26324
26325 * progmodes/ebrowse.el (ebrowse-files-list)
26326 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26327 Mark unused parameters. Don't quote `lambda'.
26328 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26329 Don't quote `lambda'.
26330 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26331 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26332 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26333 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26334 Use `ignore-errors'.
26335 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26336 (ebrowse-view/find-file-and-search-pattern)
26337 (ebrowse-view/find-member-declaration/definition):
26338 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26339 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26340 Rename parameter PREFIX-ARG to PREFIX.
26341 (ebrowse-tags-read-name): Remove unused variables `start' and
26342 `member-info'.
26343 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26344 to `tags-file'.
26345
26346 * progmodes/etags.el (local-find-tag-hook): Declare.
26347 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26348 Mark unused parameters.
26349
26350 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26351 (executable-interpret): Mark unused parameter.
26352
26353 * progmodes/flymake.el (flymake-process-sentinel)
26354 (flymake-after-change-function)
26355 (flymake-create-temp-with-folder-structure)
26356 (flymake-get-include-dirs-dot): Mark unused parameters.
26357 (flymake-safe-delete-directory): Remove unused variable `err'.
26358
26359 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26360 (speedbar-timer-fn, speedbar-line-text)
26361 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26362 (speedbar-center-buffer-smartly): Declare functions.
26363 (gdb-find-watch-expression): Remove unused variable `array'.
26364 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26365 (gdb-starting): Mark unused parameters.
26366 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26367 (gdb-table-string): Remove unused variable `res'.
26368 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26369 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26370 (gdb-display-buffer): Remove unused variable `cur-size'.
26371
26372 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26373 allow lexical-binding compilation.
26374 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26375 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26376 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26377 Mark unused parameters.
26378 (gud-gdb-marker-filter): Remove unused variable `match'.
26379 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26380 lambda expressions and funcall them, instead of using `fset'.
26381
26382 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26383 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26384
26385 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26386 variable `header-beg'; use `let'.
26387
26388 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26389 `restart', `last-sexp' and `at-do'.
26390
26391 * progmodes/js.el (js--debug): Mark unused parameter.
26392 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26393 (js--splice-into-items): Remove unused variable `item'.
26394 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26395
26396 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26397 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26398 (makefile-complete): Remove unused variable `try'.
26399 (makefile-fill-paragraph, makefile-match-function-end):
26400 Mark unused parameters.
26401
26402 * progmodes/octave-inf.el (inferior-octave-complete):
26403 Remove unused variable `proc'.
26404 (inferior-octave-output-digest): Mark unused parameter.
26405
26406 * progmodes/perl-mode.el (perl-calculate-indent):
26407 Remove unused variable `err'.
26408
26409 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26410 (prolog-indent-line): Mark unused parameters.
26411 (prolog-indent-line): Remove unused variable `beg'.
26412
26413 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26414 (reporter-dont-compact-list): Declare.
26415
26416 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26417 Remove unused variable `char'.
26418 (sh-debug): Mark unused parameter.
26419 (sh-get-indent-info): Remove unused variable `start'.
26420 (sh-calculate-indent): Remove unused variable `var'.
26421
26422 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26423 (simula-electric-keyword): Remove unused variable `null'.
26424 (simula-search-backward, simula-search-forward): Remove unused
26425 variables `begin' and `end'.
26426
26427 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26428 Remove unused variable `pos'.
26429 (vera-electric-tab, vera-comment-uncomment-region):
26430 Mark unused parameters.
26431 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26432
26433 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26434
26435 * emacs-lisp/package.el (package--builtins, package-alist)
26436 (package-load-descriptor, package-built-in-p, package-activate)
26437 (define-package, package-installed-p)
26438 (package-compute-transaction, package-buffer-info)
26439 (package--push): Doc fix. Distinguish more clearly between
26440 version strings and version lists.
26441
26442 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26443
26444 Lexical-binding cleanup.
26445
26446 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26447 (5x5-make-mutate-best):
26448 * play/fortune.el (fortune-in-buffer):
26449 * play/gomoku.el (gomoku-init-display):
26450 * play/solitaire.el (solitaire, solitaire-do-check):
26451 * play/tetris.el (tetris-default-update-speed-function):
26452 Mark unused parameters.
26453
26454 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26455 (bubbles--shift): Remove unused variable `char-org'.
26456 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26457 (bubbles--show-images): Remove unused variable `char'.
26458
26459 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26460 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26461 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26462 (decipher-analyze-buffer): Use ?\s.
26463 (decipher-make-checkpoint): Remove unused variable `mapping'.
26464
26465 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26466
26467 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26468 Remove unused variable `result'; use `let'.
26469
26470 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26471 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26472 (gametree-children-shown-p, gametree-compute-reduced-score):
26473 Use `ignore-errors'.
26474
26475 * play/handwrite.el (ps-lpr-switches): Declare.
26476 (handwrite): Remove unused variables `pmin' and `lastp'.
26477
26478 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26479
26480 * play/landmark.el (landmark-init-display)
26481 (landmark-update-naught-weights): Mark unused parameters.
26482 (landmark-y): Remove unused variable `noise'. Simplify.
26483 (landmark-human-plays): Remove unused variable `score'.
26484
26485 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26486 (mpuz-try-proposal): Remove unused variable `game'.
26487
26488 * play/zone.el (life-patterns): Declare.
26489
26490 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26491
26492 * vc/vc.el (ediff-vc-internal): Declare function.
26493
26494 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26495
26496 * shell.el: Use lexical-binding and std completion UI.
26497 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26498 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26499 comint-preoutput-filter-functions rather than on
26500 comint-output-filter-functions.
26501 (shell-command-completion, shell--command-completion-data)
26502 (shell-filename-completion, shell-environment-variable-completion)
26503 (shell-c-a-p-replace-by-expanded-directory): New functions.
26504 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26505 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26506 (shell-dynamic-complete-environment-variable): Use them.
26507 (shell-dynamic-complete-as-environment-variable)
26508 (shell-dynamic-complete-as-command): Remove.
26509 (shell-match-partial-variable): Match past point.
26510 * comint.el: Clean up use of completion-at-point-functions.
26511 (comint-completion-at-point): New function.
26512 (comint-mode): Use it completion-at-point-functions.
26513 (comint-dynamic-complete): Make it obsolete.
26514 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26515 (comint-c-a-p-replace-by-expanded-history): New function.
26516 (comint-dynamic-complete-functions)
26517 (comint-replace-by-expanded-history): Use it.
26518 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26519 termination strings. Try harder to avoid second try-completion.
26520 (completion-in-region-mode-map): Disable bindings that don't work yet.
26521
26522 * comint.el: Use lexical-binding. Require CL.
26523 (comint-dynamic-complete-functions): Use comint-filename-completion.
26524 (comint-completion-addsuffix): Tweak custom type.
26525 (comint-filename-completion, comint--common-suffix)
26526 (comint--common-quoted-suffix, comint--table-subvert)
26527 (comint--complete-file-name-data): New functions.
26528 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26529 (comint-dynamic-list-filename-completions): Use them.
26530 (comint-dynamic-simple-complete): Make obsolete.
26531
26532 * minibuffer.el (completion-in-region-mode):
26533 Keep completion-in-region-mode--predicate global.
26534 (completion-in-region--postch):
26535 Assume completion-in-region-mode--predicate is not null.
26536
26537 * progmodes/flymake.el (flymake-start-syntax-check-process):
26538 Obey `dir'. Simplify.
26539
26540 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26541 we're in VC after all.
26542
26543 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26544
26545 * vc/vc.el (vc-diff-build-argument-list-internal)
26546 (vc-version-ediff, vc-ediff): New commands.
26547 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26548
26549 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26550
26551 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26552 add sanity check.
26553
26554 * obsolete/erc-hecomplete.el: Make obsolete.
26555 * obsolete/: Standardize obsolescence info in the header.
26556
26557 2011-04-20 Glenn Morris <rgm@gnu.org>
26558
26559 * calendar/solar.el (solar-horizontal-coordinates):
26560 Use the longitude argument rather than `calendar-longitude'.
26561 (solar-date-next-longitude): Remove unused locals.
26562
26563 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26564
26565 * whitespace.el: New version 13.2.1.
26566
26567 2011-04-20 felix <EmacsWiki> (tiny change)
26568
26569 * whitespace.el (global-whitespace-mode): Keep highlight when
26570 switching between major modes on a file.
26571
26572 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26573
26574 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26575 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26576 multi-line comments as well.
26577
26578 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26579
26580 Lexical-binding cleanup.
26581
26582 * arc-mode.el (archive-mode-revert):
26583 * cmuscheme.el (scheme-interactively-start-process):
26584 * custom.el (custom-initialize-delay):
26585 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26586 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26587 * emacs-lock.el (emacs-lock-clear-sentinel):
26588 * ezimage.el (defezimage):
26589 * follow.el (follow-avoid-tail-recenter):
26590 * fringe.el (set-fringe-mode-1):
26591 * generic-x.el (bat-generic-mode-compile):
26592 * help-mode.el (help-info-variable, help-do-xref)
26593 (help-mode-revert-buffer):
26594 * help.el (view-emacs-todo):
26595 * iswitchb.el (iswitchb-completion-help):
26596 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26597 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26598 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26599 * locate.el (locate-update):
26600 * longlines.el (longlines-encode-region)
26601 (longlines-after-change-function):
26602 * outline.el (outline-isearch-open-invisible):
26603 * ps-def.el (declare-function, charset-dimension, char-width)
26604 (encode-char):
26605 * ps-mule.el (ps-mule-plot-string):
26606 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26607 (recentf-edit-list-select, recentf-edit-list-validate)
26608 (recentf-open-files-action):
26609 * rect.el (delete-whitespace-rectangle-line)
26610 (rectangle-number-line-callback):
26611 * register.el (window-configuration-to-register)
26612 (frame-configuration-to-register):
26613 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26614 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26615 (xselect-convert-to-targets, xselect-convert-to-delete)
26616 (xselect-convert-to-filename, xselect-convert-to-charpos)
26617 (xselect-convert-to-lineno, xselect-convert-to-colno)
26618 (xselect-convert-to-os, xselect-convert-to-host)
26619 (xselect-convert-to-user, xselect-convert-to-class)
26620 (xselect-convert-to-name, xselect-convert-to-integer)
26621 (xselect-convert-to-atom, xselect-convert-to-identity):
26622 * subr.el (declare, ignore, process-kill-without-query)
26623 (text-clone-maintain):
26624 * terminal.el (te-get-char, te-tic-sentinel):
26625 * tool-bar.el (tool-bar-make-keymap):
26626 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26627 * type-break.el (type-break-mode, type-break-noninteractive-query):
26628 * view.el (View-back-to-mark):
26629 * wid-browse.el (widget-browse-action, widget-browse-widget)
26630 (widget-browse-widgets, widget-browse-sexp):
26631 * widget.el (define-widget-keywords):
26632 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26633 Mark unused parameters.
26634
26635 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26636 (align-areas): Remove unused variable `look'.
26637 (align-region): Remove unused variables `real-end' and `pos-list'.
26638
26639 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26640
26641 * bindings.el (mode-line-modified, mode-line-remote):
26642 Mark unused parameters.
26643 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26644
26645 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26646 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26647
26648 * comint.el (comint-history-isearch-pop-state)
26649 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26650 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26651 (comint-substitute-in-file-name): Doc fix.
26652
26653 * completion.el (cmpl-statistics-block): Mark unused parameter.
26654 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26655 (save-completions-to-file, load-completions-from-file):
26656 Remove unused local variable `e'.
26657
26658 * composite.el (compose-chars): Remove unused variable `len'.
26659 (lgstring-insert-glyph): Remove unused variable `g'.
26660 (compose-glyph-string): Remove unused variables `ascent',
26661 `descent', `lbearing' and `rbearing'.
26662 (compose-glyph-string-relative): Remove unused variables
26663 `lbearing', `rbearing' and `wadjust'.
26664 (compose-gstring-for-graphic): Remove unused variables `header',
26665 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26666 (compose-gstring-for-terminal): Remove unused variables `header'
26667 and `nchars'. Use `let', not `let*'.
26668
26669 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26670 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26671 (Custom-buffer-done, custom-buffer-create-internal)
26672 (custom-browse-visibility-action, custom-browse-group-tag-action)
26673 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26674 (widget-magic-mouse-down-action, custom-toggle-parent)
26675 (custom-add-parent-links, custom-toggle-hide-variable)
26676 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26677 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26678 (custom-face-menu-create, custom-variable-menu-create, get)
26679 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26680 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26681 (customize-apropos): Remove unused variable `tests'.
26682 (custom-group-value-create): Remove unused variable `hidden-p'.
26683 (sort-fold-case): Declare.
26684
26685 * cus-theme.el (custom-reset-standard-faces-list)
26686 (custom-reset-standard-variables-list): Declare.
26687 (customize-create-theme, custom-theme-revert, custom-theme-write)
26688 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26689 Mark unused parameters.
26690
26691 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26692
26693 * delim-col.el (delimit-columns-max): Move defvar before first use.
26694
26695 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26696 (describe-char): Don't quote `lambda'. Mark unused parameter.
26697
26698 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26699 (auto-insert): Declare.
26700 (desktop-restore-file-buffer): Rename desktop-* parameters;
26701 mark unused ones.
26702 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26703 (desktop-buffer): Rename desktop-* parameters.
26704
26705 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26706 (dframe-reposition-frame-xemacs, dframe-help-echo)
26707 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26708 Mark unused parameters.
26709
26710 * dired-aux.el (backup-extract-version-start, overwrite-query)
26711 (overwrite-backup-query, rename-regexp-query)
26712 (rename-non-directory-query): Declare.
26713 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26714 (dired-add-entry): Remove unused variable `orig-file-name'.
26715 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26716 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26717 `dired-copy-preserve-time' directly.
26718 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26719 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26720
26721 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26722 (dired-virtual-revert, dired-make-relative-symlink):
26723 Mark unused parameters.
26724 (manual-program): Declare.
26725 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26726 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26727 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26728
26729 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26730
26731 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26732
26733 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26734 Declare.
26735
26736 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26737
26738 * electric.el (Electric-command-loop): Rename parameter
26739 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26740
26741 * expand.el (expand-in-literal): Remove unused variable `here'.
26742
26743 * facemenu.el (facemenu-add-new-color):
26744 Remove unused variable `docstring'.
26745
26746 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26747 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26748 (face-attr-construct): Mark unused parameter. Doc fix.
26749 (read-color): Remove unused variable `hex-string'.
26750
26751 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26752 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26753 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26754 (display-buffer-other-frame): Remove unused variable `old-window'.
26755 (kill-buffer-hook): Declare.
26756 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26757 Mark unused parameters.
26758 (after-find-file): Pass 1 to `auto-save-mode', not t.
26759
26760 * files-x.el (auto-insert): Declare.
26761 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26762
26763 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26764 variable `buf'. Mark unused parameter.
26765 (find-lisp-insert-directory): Mark unused parameter.
26766
26767 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26768 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26769 (format-common-tail): Remove, unused.
26770 (format-deannotate-region): Remove unused variable `loc'.
26771 (format-annotate-region): Remove unused variable `p'.
26772 (format-annotate-single-property-change): Remove unused variables
26773 `default' and `tail'.
26774
26775 * forms.el (read-file-filter): Declare.
26776 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26777
26778 * frame.el (frame-creation-function-alist): Mark unused parameter.
26779 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26780
26781 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26782 Remove unused parameters.
26783 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26784 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26785
26786 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26787 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26788 (hfy-prepare-tag-map): Mark unused parameters.
26789 (htmlfontify-buffer): Use `called-interactively-p'.
26790
26791 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26792 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26793 (ibuffer-do-occur): Mark unused parameters.
26794 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26795 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26796
26797 * ibuffer.el: Don't quote `lambda'.
26798 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26799 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26800 Mark unused parameters.
26801
26802 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26803 (ido-completing-read): Mark unused parameters.
26804 (ido-copy-current-word): Mark unused parameters;
26805 remove unused variable `name'.
26806 (ido-sort-merged-list): Remove unused parameter `dirs'.
26807
26808 * ielm.el (ielm-input-sender): Mark unused parameter.
26809 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26810 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26811 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26812 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26813 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26814
26815 * image-dired.el (image-dired-display-thumbs): Remove unused
26816 variables `curr-file' and `count'.
26817 (image-dired-remove-tag): Remove unused variable `start'.
26818 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26819 variable `curr-file'
26820 (image-dired-rotate-original): Remove unused variable `temp-file'.
26821 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26822 Remove unused variable `file'.
26823 (image-dired-gallery-generate): Remove unused variable `curr'.
26824 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26825
26826 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26827
26828 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26829
26830 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26831
26832 * isearch.el (minibuffer-history-symbol): Declare.
26833 (isearch-edit-string): Remove unused variable `err'.
26834 (isearch-message-prefix, isearch-message-suffix):
26835 Mark unused parameters.
26836
26837 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26838
26839 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26840
26841 * makesum.el (double-column): Remove unused variable `cnt'.
26842
26843 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26844 (ido-ignore-item-temp-list): Declare.
26845
26846 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26847 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26848 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26849 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26850 `mouse-col-delta'.
26851
26852 * mouse-sel.el (mouse-extend-internal):
26853 Remove unused variable `orig-window-frame'.
26854
26855 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26856 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26857 Move declarations before first use.
26858 (pcomplete-opt): Mark unused parameters; doc fix.
26859
26860 * proced.el (proced-revert): Mark unused parameter.
26861 (proced-send-signal): Remove unused variable `err'.
26862
26863 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26864 Rename parameter PREFIX-ARG to ARG.
26865 (ps-basic-plot-string, ps-basic-plot-whitespace):
26866 Mark unused parameters.
26867
26868 * replace.el (replace-count): Define.
26869 (occur-revert-function): Mark unused parameters.
26870 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26871 (isearch-case-fold-search, isearch-string): Declare.
26872 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26873 bind `case-fold-search'. Remove unused variables `beg' and `end',
26874 and simplify.
26875 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26876 COUNT and bind `replace-count'.
26877 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26878 to COUNT.
26879
26880 * savehist.el (print-readably, print-string-length): Declare.
26881
26882 * shadowfile.el (shadow-expand-cluster-in-file-name):
26883 Remove unused variable `cluster'.
26884 (shadow-copy-file): Remove unused variable `i'.
26885 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26886 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26887 (shadow-define-literal-group, shadow-define-regexp-group)
26888 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26889
26890 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26891 (shell): Use `called-interactively-p'.
26892 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26893
26894 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26895 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26896 (delete-backward-char): Remove unused variable `ocol'.
26897 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26898 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26899 (event-apply-hyper-modifier, event-apply-shift-modifier)
26900 (event-apply-control-modifier, event-apply-meta-modifier):
26901 Mark unused parameters.
26902 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26903 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26904
26905 * speedbar.el (speedbar-ignored-directory-expressions)
26906 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26907 (speedbar-find-file, speedbar-dir-follow)
26908 (speedbar-directory-buttons-follow, speedbar-tag-find)
26909 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26910 (speedbar-buffers-line-directory, speedbar-buffer-click):
26911 Mark unused parameters.
26912 (speedbar-tag-file): Remove unused variable `mode'.
26913 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26914
26915 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26916
26917 * talk.el (talk): Remove unused variable `display'.
26918
26919 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26920 (tar-write-region-annotate): Mark unused parameter.
26921
26922 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26923 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26924 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26925 warning by another.
26926
26927 * time-stamp.el (time-stamp-string-preprocess):
26928 Remove unused variable `require-padding'.
26929
26930 * tree-widget.el (widget-glyph-enable): Declare.
26931 (tree-widget-action): Mark unused parameter.
26932
26933 * w32-fns.el (x-get-selection): Mark unused parameter.
26934 (autoload-make-program, generated-autoload-file): Declare.
26935
26936 * wdired.el (wdired-revert): Mark unused parameters.
26937 (wdired-xcase-word): Remove unused variable `err'.
26938
26939 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26940 (whitespace-help-scroll): Remove unused variable `data-help'.
26941
26942 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26943 (widget-image-insert, widget-after-change, default)
26944 (widget-default-format-handler, widget-default-notify)
26945 (widget-default-prompt-value, widget-info-link-action)
26946 (widget-url-link-action, widget-function-link-action)
26947 (widget-variable-link-action, widget-file-link-action)
26948 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26949 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26950 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26951 (widget-insert-button-action, widget-delete-button-action, visibility)
26952 (widget-documentation-link-action, widget-documentation-string-action)
26953 (widget-const-prompt-value, widget-regexp-match, symbol)
26954 (widget-coding-system-prompt-value)
26955 (widget-key-sequence-value-to-external, sexp)
26956 (widget-sexp-value-to-internal, character, vector, cons)
26957 (widget-choice-prompt-value, widget-boolean-prompt-value)
26958 (widget-color--choose-action): Mark unused parameters.
26959 (widget-item-match-inline, widget-choice-match-inline)
26960 (widget-checklist-match, widget-checklist-match-inline)
26961 (widget-group-match): Rename parameter VALUES to VALS.
26962 (widget-field-value-set): Remove unused variable `size'.
26963 (widget-color-action): Remove unused variables `value' and `start'.
26964
26965 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26966 variable `dir'. Doc fix.
26967 (windmove-find-other-window): Don't pass it.
26968
26969 * window.el (count-windows): Mark unused parameter.
26970 (bw-adjust-window): Remove unused variable `err'.
26971
26972 * woman.el (woman-file-name): Remove unused variable `default'.
26973 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26974 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26975 (global-font-lock-mode): Declare.
26976 (woman-decode-region): Mark unused parameter.
26977 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26978
26979 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26980 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26981 (x-dnd-handle-moz-url): Remove unused variable `title'.
26982 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26983
26984 * xml.el (xml-parse-tag, xml-parse-attlist):
26985 Remove unused variable `pos'.
26986
26987 2011-04-19 Glenn Morris <rgm@gnu.org>
26988
26989 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26990 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26991 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26992 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26993 * calendar/cal-html.el (cal-html-insert-minical):
26994 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26995 (calendar-mark-date-pattern):
26996 Prefix "unused" locals.
26997
26998 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26999 optional argument `style'.
27000
27001 * calendar/appt.el (appt-make-list):
27002 * calendar/cal-china.el (calendar-chinese-date-string):
27003 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27004 (diary-hebrew-yahrzeit):
27005 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27006 * calendar/calendar.el (calendar-generate-window):
27007 * calendar/time-date.el (time-to-days):
27008 Remove unused local variables.
27009
27010 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27011
27012 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27013 glyphless-char-display table.
27014 (tabulated-list-glyphless-char-display): New var.
27015
27016 2011-04-18 Sam Steingold <sds@gnu.org>
27017
27018 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27019 to acknowledgments.
27020
27021 2011-04-17 Glenn Morris <rgm@gnu.org>
27022
27023 * calendar/diary-lib.el (diary-sexp-entry):
27024 * calendar/holidays.el (holiday-sexp):
27025 Set debug-on-error rather than the removed stack-trace-on-error.
27026
27027 2011-04-16 Glenn Morris <rgm@gnu.org>
27028
27029 * progmodes/f90.el: Use lexical-binding.
27030 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27031
27032 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27033
27034 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27035 (mail-mode): Setup mailalias completion here instead.
27036 * mail/mailalias.el: Use lexical-binding.
27037 (pattern, mailalias-done): Declare dynamic.
27038 (mail-completion-at-point-function): New function, from mail-complete.
27039 (mail-complete): Use it.
27040 (mail-completion-expand): New function.
27041 (mail-get-names): Use it.
27042 (mail-directory, mail-directory-process, mail-directory-stream):
27043 Don't use `pattern' for lexically bound arg.
27044
27045 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27046
27047 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27048 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27049 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27050
27051 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27052 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27053 (byte-interactive-p): Define them again, for use when inlining
27054 old code.
27055
27056 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27057
27058 * loadup.el: Use `string-to-number', not `string-to-int'.
27059
27060 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27061
27062 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27063 gud-gdb-complete-command.
27064 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27065 (gud-gdb-completion-at-point): New function.
27066 (gud-gdb-completions): Remove.
27067
27068 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27069
27070 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27071 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27072 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27073 whether `executable-find' is bound.
27074
27075 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27076
27077 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27078
27079 * minibuffer.el (completion-in-region-mode-predicate)
27080 (completion-in-region-mode--predicate): New vars.
27081 (completion-in-region, completion-in-region--postch)
27082 (completion-in-region-mode): Use them.
27083 (completion--capf-wrapper): Also return the hook function.
27084 (completion-at-point, completion-help-at-point):
27085 Adjust and provide a predicate.
27086
27087 Preserve arg names for advice of subr and lexical functions (bug#8457).
27088 * help-fns.el (help-function-arglist): Consolidate the subr and
27089 new-byte-code cases. Add argument `preserve-names' to extract names
27090 from the docstring when needed.
27091 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27092 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27093 (ad-arglist): Use help-function-arglist's new arg.
27094 (ad-definition-type): Use cond.
27095
27096 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27097
27098 * autorevert.el (auto-revert-handler):
27099 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27100 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27101 Don't quote lambda.
27102
27103 * image-mode.el (image-transform-set-scale):
27104 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27105
27106 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27107
27108 * net/network-stream.el (network-stream-open-starttls): Only do
27109 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27110 Upgrades via gnutls-cli are too slow to be done opportunistically.
27111
27112 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27113
27114 * dframe.el (dframe-current-frame): Remove spurious quote.
27115
27116 2011-04-12 Glenn Morris <rgm@gnu.org>
27117
27118 * calendar/cal-tex.el (cal-tex-end-document):
27119 Try to automatically use latin1 input if needed.
27120
27121 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27122 Don't try to cons a mark onto an empty element.
27123
27124 2011-04-11 Leo Liu <sdl.web@gmail.com>
27125
27126 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27127 buffers.
27128 (ido-kill-buffer-at-head): Support killing virtual buffers.
27129
27130 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27131
27132 * minibuffer.el (completion-show-inline-help): New var.
27133 (completion--do-completion, minibuffer-complete)
27134 (minibuffer-force-complete, minibuffer-complete-word):
27135 Inhibit minibuffer messages if completion-show-inline-help is nil.
27136
27137 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27138 to avoid interference from inline help (Bug#5849).
27139
27140 2011-04-10 Leo Liu <sdl.web@gmail.com>
27141
27142 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27143 Fix typo.
27144
27145 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27146
27147 * image-mode.el (image-toggle-display-image): Signal an error if
27148 not in Image mode.
27149 (image-transform-mode, image-transform-resize)
27150 (image-transform-set-rotation): Doc fix.
27151 (image-transform-set-resize): Delete.
27152 (image-transform-set-scale, image-transform-fit-to-height)
27153 (image-transform-fit-to-width): Handle image-toggle-display-image
27154 and image-transform-resize directly.
27155
27156 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27157
27158 * doc-view.el (doc-view-fit-width-to-window)
27159 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27160 New functions for fitting the shown image to the Emacs window size.
27161 (doc-view-mode-map): Add bindings for the new functions.
27162
27163 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27164
27165 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27166 Fix typo in docstring.
27167
27168 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27169
27170 * files.el (file-size-human-readable): Produce one digit after
27171 decimal, like "ls -lh" does.
27172
27173 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27174 the file size representation.
27175
27176 * simple.el (list-processes): If async subprocesses are not
27177 available, error out with a clear error message.
27178
27179 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27180
27181 * help.el (help-form-show): New function, to be called from C.
27182 Put help-form output in a buffer named differently than *Help*.
27183
27184 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27185
27186 * files.el (file-size-human-readable): New function.
27187
27188 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27189 computing the representation inline. Don't require `cl'.
27190
27191 2011-04-08 Glenn Morris <rgm@gnu.org>
27192
27193 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27194
27195 * net/browse-url.el (browse-url-firefox):
27196 Test system-type, not system-configuration.
27197
27198 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27199 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27200 Use log-edit-empty-buffer-p. (Bug#7598)
27201
27202 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27203 (rlogin-mode-map): Initialize in the defvar.
27204 (rlogin): Use ignore-errors.
27205
27206 * replace.el (occur-mode-map): Some fixes for menu items.
27207
27208 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27209
27210 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27211
27212 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27213
27214 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27215 issuing unused warnings.
27216
27217 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27218 macro directly.
27219
27220 * simple.el: Lisp reimplement of list-processes. Based on an
27221 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27222 (process-menu-mode): New major mode.
27223 (list-processes--refresh, list-processes):
27224 (process-menu-visit-buffer): New functions.
27225
27226 * files.el (save-buffers-kill-emacs): Don't assume any return
27227 value of list-processes, which is undocumented anyway.
27228
27229 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27230
27231 * emacs-lisp/tabulated-list.el: New file.
27232
27233 * emacs-lisp/package.el: Use Tabulated List mode.
27234 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27235 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27236 table format using Tabulated List mode variables.
27237 (package--push): New macro, replacing package-list-maybe-add.
27238 (package-menu--generate): Use package--push. Renamed from
27239 package--generate-package-list.
27240 (package-menu-refresh, list-packages): Use it.
27241 (package-menu--print-info): Rename from package-print-package.
27242 Return insertion data instead of inserting it directly.
27243 (package-menu-describe-package, package-menu-execute):
27244 Use tabulated-list-get-id.
27245 (package-menu-mark-delete, package-menu-mark-install)
27246 (package-menu-mark-unmark, package-menu-backup-unmark)
27247 (package-menu-mark-obsolete-for-deletion):
27248 Use tabulated-list-put-tag.
27249 (package--list-packages, package-menu-revert)
27250 (package-menu-get-package, package-menu-get-version)
27251 (package-menu-sort-by-column): Functions deleted.
27252 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27253 (package-menu--status-predicate, package-menu--version-predicate)
27254 (package-menu--name-predicate)
27255 (package-menu--description-predicate): Handle arguments in the
27256 Tabulated List format.
27257 (package-list-packages-no-fetch): Call list-packages.
27258
27259 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27260
27261 * files.el (after-find-file-from-revert-buffer): Remove variable.
27262 (after-find-file): Don't bind it.
27263 (revert-buffer-in-progress-p): New variable.
27264 (revert-buffer): Bind it.
27265 Pass nil for `after-find-file-from-revert-buffer'.
27266
27267 * saveplace.el (save-place-find-file-hook): Use new variable
27268 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27269
27270 2011-04-06 Glenn Morris <rgm@gnu.org>
27271
27272 * Makefile.in (AUTOGEN_VCS): New variable.
27273 (autoloads): Use $AUTOGEN_VCS.
27274
27275 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27276 * calendar/calendar.el (calendar-mode-map):
27277 Check for toolkit scroll bars. (Bug#8305)
27278
27279 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27280
27281 * minibuffer.el (completion-in-region--postch)
27282 (completion-in-region-mode): Remove unnecessary messages.
27283
27284 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27285
27286 * font-lock.el (font-lock-refresh-defaults):
27287 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27288 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27289
27290 * info.el (Info-directory-list, Info-read-node-name-2)
27291 (Info-split-parameter-string): Doc fixes.
27292 (Info-virtual-nodes): Reflow docstring.
27293 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27294 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27295 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27296 Fix typos in docstrings.
27297 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27298 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27299 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27300 (Info-restore-desktop-buffer): Mark unused parameters.
27301 (Info-directory-find-file, Info-directory-find-node)
27302 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27303 (Info-virtual-index-find-node, Info-apropos-find-file)
27304 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27305 Mark unused parameters; fix typos in docstrings.
27306 (Info-virtual-index): Remove unused local variable `nodename'.
27307
27308 2011-04-05 Deniz Dogan <deniz@dogan.se>
27309
27310 * net/rcirc.el: Update my e-mail address.
27311 (rcirc-mode-map): Remove M-o binding.
27312
27313 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27314
27315 * startup.el (command-line): Save the cursor's theme-face
27316 directly, instead of using face-override-spec.
27317
27318 * custom.el (load-theme): Minor optimization in assigning faces.
27319
27320 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27321
27322 * help-fns.el (describe-variable): Complete all variables having
27323 documentation, including keywords.
27324 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27325
27326 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27327
27328 Convert to lexical-binding.
27329
27330 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27331 (bs--get-marked-string, bs--get-modified-string)
27332 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27333 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27334 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27335
27336 * ehelp.el (electric-help-execute-extended)
27337 (electric-help-ctrl-x-prefix):
27338 * hexl.el (hexl-revert-buffer-function):
27339 * linum.el (linum-after-change, linum-after-scroll):
27340 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27341
27342 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27343
27344 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27345
27346 * epa-dired.el:
27347 * epa-mail.el:
27348 * epa-hook.el:
27349 * epa-file.el:
27350 * epa.el:
27351 * epg.el: Use lexical binding.
27352
27353 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27354
27355 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27356
27357 * textmodes/flyspell.el (flyspell-word): Recognize default
27358 dictionary case for flyspell-mark-duplications-exceptions.
27359 Use regexp matching for languages.
27360 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27361 default dictionary (Bug#7926).
27362
27363 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27364
27365 * emacs-lisp/package.el (package--with-work-buffer):
27366 Recognize https URLs.
27367
27368 * net/network-stream.el: Move from gnus/proto-stream.el.
27369 Change prefix to network-stream throughout.
27370 (open-protocol-stream): Merge into open-network-stream, leaving
27371 open-protocol-stream as an alias. Handle nil BUFFER args.
27372
27373 * subr.el (open-network-stream): Move to net/network-stream.el.
27374
27375 2011-04-02 Glenn Morris <rgm@gnu.org>
27376
27377 * find-dired.el (find-exec-terminator): New option.
27378 (find-ls-option): Test for -ls support.
27379 (find-ls-subdir-switches): Test for -b in find-ls-option.
27380 (find-dired, find-grep-dired): Doc fixes.
27381 (find-dired): Use find-exec-terminator.
27382
27383 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27384 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27385 (find-name-arg): Remove purecopy.
27386
27387 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27388 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27389 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27390 accordingly. Don't add the null-device if not needed.
27391
27392 * files.el (save-some-buffers): Doc fix.
27393
27394 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27395
27396 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27397
27398 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27399
27400 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27401 Use `dolist' rather than `mapcar'.
27402
27403 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27404
27405 Add lexical binding.
27406
27407 * subr.el (apply-partially): Use new closures rather than CL.
27408 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27409 (dolist, dotimes): Use slightly different expansion for lexical code.
27410 (functionp): Move to C.
27411 (letrec): New macro.
27412 (with-wrapper-hook): Use it and apply-partially instead of CL.
27413 (eval-after-load): Preserve lexical-binding.
27414 (save-window-excursion, with-output-to-temp-buffer): Turn them
27415 into macros.
27416
27417 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27418
27419 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27420 than the arglist.
27421 (help-add-fundoc-usage): Don't add `Not documented'.
27422 (help-function-arglist): Handle closures, subroutines, and new
27423 byte-code-functions.
27424 (help-make-usage): Remove leading underscores.
27425 (describe-function-1): Handle closures.
27426 (describe-variable): Use special-variable-p for completion.
27427
27428 * files.el (lexical-binding): Declare safe.
27429
27430 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27431 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27432 (pcase): Add `let' pattern.
27433 Change memoization so it actually works.
27434 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27435 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27436 <let>: New case.
27437
27438 * emacs-lisp/macroexp.el: Use lexical binding.
27439 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27440 Don't convert ' to #' without checking that it's indeed quoting
27441 a lambda.
27442
27443 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27444 Use eval-sexp-add-defvars.
27445 (eval-sexp-add-defvars): New fun.
27446
27447 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27448
27449 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27450 Don't autoload.
27451 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27452 than the internal `byte-compile-lambda'.
27453 (defmethod): Don't hide code under quotes.
27454 (eieio-defmethod): New `code' argument.
27455
27456 * emacs-lisp/eieio-comp.el: Remove.
27457
27458 * emacs-lisp/edebug.el (edebug-eval-defun)
27459 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27460 (edebug-toggle): Avoid `eval'.
27461
27462 * emacs-lisp/disass.el (disassemble-internal): Handle new
27463 `closure' objects.
27464 (disassemble-1): Handle new byte codes.
27465
27466 * emacs-lisp/cl.el (pushnew): Silence warning.
27467
27468 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27469 (cl-byte-compile-throw): Remove.
27470 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27471
27472 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27473 closures.
27474
27475 * emacs-lisp/cconv.el: New file.
27476
27477 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27478 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27479 (byte-compile-initial-macro-environment):
27480 Handle declare-function here.
27481 (byte-compile--lexical-environment): New var.
27482 (byte-stack-ref, byte-stack-set, byte-discardN)
27483 (byte-discardN-preserve-tos): New lap codes.
27484 (byte-interactive-p): Don't use any more.
27485 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27486 New macros.
27487 (byte-compile-lapcode): Use them and handle new lap codes.
27488 (byte-compile-obsolete): Remove.
27489 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27490 (byte-compile-arglist-warn): Check late def of inlinable funs.
27491 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27492 since they should have been expanded by now.
27493 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27494 (byte-compile-from-buffer): Remove unused second arg.
27495 (byte-compile-preprocess): New function.
27496 (byte-compile-toplevel-file-form): New function to distinguish
27497 file-form calls from outside from file-form calls from hunk-handlers.
27498 (byte-compile-file-form): Simplify.
27499 (byte-compile-file-form-defsubst): Remove.
27500 (byte-compile-file-form-defmumble): Simplify now that
27501 byte-compile-lambda always returns a byte-code-function.
27502 (byte-compile): Preprocess.
27503 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27504 Remove, not used any more.
27505 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27506 (byte-compile-make-args-desc): New funs.
27507 (byte-compile-lambda): Handle lexical functions. Always return
27508 a byte-code-function.
27509 (byte-compile-reserved-constants): New var, to make up room for
27510 closed-over variables.
27511 (byte-compile-constants-vector): Obey it.
27512 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27513 (byte-compile-macroexpand-declare-function): New function.
27514 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27515 byte-code-functions.
27516 (byte-compile-form): Check obsolescence here.
27517 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27518 (byte-compile-variable-ref): Remove.
27519 (byte-compile-dynamic-variable-op): New fun.
27520 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27521 (byte-compile-variable-set): New funs.
27522 (byte-compile-discard): Add 2 args.
27523 (byte-compile-stack-ref, byte-compile-stack-set)
27524 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27525 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27526 macroexpand-all instead.
27527 (byte-compile-quote-form): Remove.
27528 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27529 (byte-compile-bind, byte-compile-unbind): New funs.
27530 (byte-compile-let): Handle let* and lexical binding.
27531 (byte-compile-let*): Remove.
27532 (byte-compile-catch, byte-compile-unwind-protect)
27533 (byte-compile-track-mouse, byte-compile-condition-case):
27534 Handle a new :fun-body form, used for lexical scoping.
27535 (byte-compile-save-window-excursion)
27536 (byte-compile-with-output-to-temp-buffer): Remove.
27537 (byte-compile-defun): Simplify.
27538 (byte-compile-stack-adjustment): New fun.
27539 (byte-compile-out): Use it.
27540 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27541
27542 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27543 handler any more.
27544
27545 * emacs-lisp/byte-opt.el: Use lexical binding.
27546 (byte-inline-lapcode): Remove (to bytecomp).
27547 (byte-compile-inline-expand): Pay attention to inlining to/from
27548 lexically bound code.
27549 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27550 any more.
27551 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27552 any more and don't call compiler-macros.
27553 (byte-compile-splice-in-already-compiled-code): Remove.
27554 (byte-code): Don't inline any more.
27555 (disassemble-offset): Receive `bytes' as argument rather than via
27556 dynamic scoping.
27557 (byte-compile-tag-number): Declare before first use.
27558 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27559 `return' even if make-spliceable.
27560 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27561 obsolete interactive-p.
27562 (byte-optimize-lapcode): Optimize new lap-codes.
27563 Don't trip up on new form of `byte-constant' lap code.
27564
27565 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27566
27567 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27568
27569 * custom.el (custom-initialize-default, custom-declare-variable):
27570 Use `defvar'.
27571
27572 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27573 New variables.
27574 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27575 (COMPILE_FIRST): Add macroexp and cconv.
27576 * makefile.w32-in: Mirror changes in Makefile.in.
27577
27578 * vc/cvs-status.el:
27579 * vc/diff-mode.el:
27580 * vc/log-edit.el:
27581 * vc/log-view.el:
27582 * vc/smerge-mode.el:
27583 * textmodes/bibtex-style.el:
27584 * textmodes/css-mode.el:
27585 * startup.el:
27586 * uniquify.el:
27587 * minibuffer.el:
27588 * newcomment.el:
27589 * reveal.el:
27590 * server.el:
27591 * mpc.el:
27592 * emacs-lisp/smie.el:
27593 * doc-view.el:
27594 * dired.el:
27595 * abbrev.el: Use lexical binding.
27596
27597 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27598
27599 * info.el (info-display-manual): New function.
27600
27601 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27602
27603 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27604
27605 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27606
27607 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27608 an entry for that server in rcirc-authinfo. (Bug#8385)
27609
27610 2011-03-31 Glenn Morris <rgm@gnu.org>
27611
27612 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27613
27614 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27615
27616 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27617
27618 * progmodes/python.el (python-default-interpreter)
27619 (python-python-command-args, python-jython-command-args)
27620 (python-which-shell, python-which-args, python-which-bufname)
27621 (python-file-queue, python-comint-output-filter-function)
27622 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27623 variables and functions.
27624
27625 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27626
27627 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27628 (completion-in-region-mode): New minor mode.
27629 (completion-in-region): Use it.
27630 (completion-in-region--data, completion-in-region-mode-map): New vars.
27631 (completion-in-region--postch): New function.
27632 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27633 New vars.
27634 (completion--capf-wrapper): New function.
27635 (completion-at-point): Use it to track well-behavedness of
27636 hook functions.
27637 (completion-help-at-point): New command.
27638
27639 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27640
27641 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27642 syntax class to search for whitespace on a single line
27643 (Message-ID: <4D938140.4030905@redhat.com>).
27644
27645 2011-03-30 Leo Liu <sdl.web@gmail.com>
27646
27647 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27648 New commands.
27649 (edit-abbrevs-map): Bind them here.
27650 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27651
27652 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27653
27654 * allout.el (allout-hide-by-annotation, allout-flag-region):
27655 Reduce possibility of overlay leakage by making them volatile.
27656
27657 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27658 hash is not shared between buffers. Mode initialization is
27659 responsible for giving it a useful starting value.
27660 (allout-item-span): Reduce possibility of overlay leakage by
27661 making them volatile.
27662 (allout-widgets-count-buttons-in-region): Add diagnostic function
27663 for tracking down button overlay leaks.
27664
27665 2011-03-29 Leo Liu <sdl.web@gmail.com>
27666
27667 * ido.el (ido-read-internal): Use the default history var
27668 minibuffer-history if no HISTORY is specified.
27669
27670 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27671
27672 * net/imap.el (imap-shell-open, imap-process-connection-type):
27673 Use imap-process-connection-type for 'shell' streams as well as
27674 Kerberos, SSL, other subprocesses.
27675
27676 2011-03-28 Leo Liu <sdl.web@gmail.com>
27677
27678 * abbrev.el (abbrev-table-empty-p): New function.
27679 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27680 nonempty ones. (Bug#5937)
27681
27682 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27683
27684 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27685
27686 2011-03-27 Leo Liu <sdl.web@gmail.com>
27687
27688 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27689 for foreground and background colors.
27690 (ansi-color-make-color-map): Adapt.
27691
27692 2011-03-25 Leo Liu <sdl.web@gmail.com>
27693
27694 * midnight.el (midnight-time-float): Remove. Note it calculates
27695 the microsecond component incorrectly and seconds-to-time does the
27696 same job.
27697 Remove redundant (require 'timer).
27698
27699 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27700 (ido-completions): Remove unused arguments. (Bug#8329)
27701
27702 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27703
27704 * minibuffer.el (completion--flush-all-sorted-completions):
27705 Remove itself from hook.
27706 (completion-at-point): Let the functions perform the completion
27707 immediately and return nil or t.
27708 * comint.el (comint-dynamic-complete-functions): Now identical to
27709 completion-at-point-functions.
27710 (comint-dynamic-list-input-ring): Remove unused var `index'.
27711 (comint--match-partial-filename, comint--unquote&expand-filename):
27712 New funs, split from comint-match-partial-filename.
27713 (comint-dynamic-complete): Use completion-at-point.
27714 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27715
27716 2011-03-24 Drew Adams <drew.adams@oracle.com>
27717
27718 * thingatpt.el: Support `defun'.
27719
27720 2011-03-23 Leo Liu <sdl.web@gmail.com>
27721
27722 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27723
27724 * help-mode.el (help-mode-finish): Tweak regexp.
27725
27726 2011-03-23 Glenn Morris <rgm@gnu.org>
27727
27728 * eshell/esh-opt.el (eshell-eval-using-options):
27729 Do not bind unused local variable `eshell-option-stub'.
27730
27731 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27732
27733 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27734
27735 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27736 keymap variable in `with-no-warnings' to avoid a warning when the
27737 keymap has been already `defconst'ed.
27738
27739 2011-03-22 Leo Liu <sdl.web@gmail.com>
27740
27741 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27742 encode all chars in abbrevs; otherwise use emacs-mule or
27743 utf-8-emacs. (Bug#8308)
27744
27745 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27746
27747 * simple.el (backward-delete-char-untabify):
27748 Avoid warning about using `delete-backward-char'.
27749
27750 * image.el (image-type-file-name-regexps): Make it variable.
27751 `imagemagick-register-types' modifies it, and the user may want
27752 to add new extensions for known image types.
27753 (imagemagick-register-types): Throw error if not using ImageMagick.
27754
27755 2011-03-22 Leo Liu <sdl.web@gmail.com>
27756
27757 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27758 located before rcirc-prompt-end-marker.
27759 (rcirc-complete): Error if point is not after rcirc prompt.
27760 Handle the case when table is nil.
27761 (rcirc-user-authenticated): Define to fix compiler warning.
27762
27763 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27764
27765 * custom.el (custom--inhibit-theme-enable): Make it affect only
27766 custom-theme-set-variables and custom-theme-set-faces.
27767 (provide-theme): Ignore custom--inhibit-theme-enable.
27768 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27769 (custom-enabling-themes): Delete variable.
27770 (enable-theme): Accept only loaded themes as arguments.
27771 Ignore the special custom-enabled-themes variable.
27772 (custom-enabled-themes): Forbid themes from setting this.
27773 Eliminate use of custom-enabling-themes.
27774 (custom-push-theme): Quote "changed" custom var entry.
27775
27776 2011-03-21 Leo Liu <sdl.web@gmail.com>
27777
27778 * ido.el (ido-read-internal): Add ido-selected to history instead
27779 of user input.
27780
27781 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27782
27783 * subr.el (deferred-action-list, deferred-action-function):
27784 Mark obsolete.
27785
27786 2011-03-21 Leo Liu <sdl.web@gmail.com>
27787
27788 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27789 change on 2011-02-13 (bug#8309).
27790
27791 * minibuffer.el (read-file-name-function): Change default value.
27792 (read-file-name--defaults): Rename from read-file-name-defaults.
27793 (read-file-name-default): Rename from read-file-name.
27794 (read-file-name): Call read-file-name-function.
27795
27796 2011-03-21 Glenn Morris <rgm@gnu.org>
27797
27798 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27799 Doc fixes.
27800
27801 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27802
27803 * cus-theme.el: Add missing provide statement.
27804 (customize-create-theme): Extract theme value correctly.
27805 (custom-theme-visit-theme): Autoload.
27806 (customize-create-theme): Prompt before inserting default faces.
27807
27808 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27809
27810 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27811 units and musical notes.
27812
27813 2011-03-20 Leo Liu <sdl.web@gmail.com>
27814
27815 * ido.el (ido-read-internal): Use completing-read-default.
27816 (ido-completing-read): Fix compatibility with completing-read.
27817
27818 2011-03-20 Christian Ohler <ohler@gnu.org>
27819
27820 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27821 (ert-delete-all-tests): Use `called-interactively-p' rather than
27822 `interactive-p'.
27823 (ert--make-xrefs-region): Respect END.
27824
27825 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27826
27827 * dired-aux.el (dired-create-directory): Signal an error if the
27828 directory already exists (Bug#8246).
27829
27830 * facemenu.el (list-colors-display): Call list-faces-display
27831 inside with-help-window.
27832 (list-colors-print): Use display property to align the final
27833 column, instead of checking window-width.
27834
27835 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27836
27837 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27838 windows-nt systems.
27839 (emerge-protect-metachars): Quote correctly for ms-dos and
27840 windows-nt systems.
27841
27842 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27843
27844 * info.el (info-initialize): Replace all uses of `:' with
27845 path-separator for compatibility with non-Unix systems.
27846 Cache quoting of path-separator. (Bug#8258)
27847
27848 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27849
27850 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27851 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27852 (mouse-avoidance-mode): Fix typos in docstrings.
27853
27854 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27855
27856 * startup.el (package-subdirectory-regexp): Move from package.el.
27857 Omit \\` and \\', and let callers add them.
27858
27859 * emacs-lisp/package.el (package-strip-version)
27860 (package-load-all-descriptors): Add \\` and \\' to
27861 package-subdirectory-regexp before using it.
27862 (package-untar-buffer): New arg DIR; ensure that file untars only
27863 into this expected directory. Remove superfluous delete-region.
27864 (package-unpack): Caller changed.
27865 (package-tar-file-info): Use package-subdirectory-regexp.
27866
27867 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27868
27869 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27870 diff-mode-shared-map (bug#8284).
27871 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27872
27873 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27874
27875 * calendar/time-date.el (format-seconds): Use assoc instead of
27876 assoc-string, since assoc-string doesn't exist in XEmacs.
27877
27878 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27879
27880 * custom.el (custom-known-themes): Reflow docstring.
27881 (custom-theme-load-path): Fix typo in docstring.
27882 (load-theme): Fix typo in error message.
27883 (custom-available-themes, custom-variable-theme-value):
27884 Use `let', not `let*'.
27885
27886 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27887
27888 * calc/README: Mention inclusion of musical notes.
27889
27890 * calc/calc-units.el (calc-lu-quant): Rename from
27891 `calc-logunits-quantity'.
27892 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27893 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27894 (calc-db): Rename from `calc-dblevel'.
27895 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27896 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27897 (calc-np): Rename from `calc-nplevel'.
27898 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27899 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27900 (calc-lu-plus): Rename from `calc-logunits-add'.
27901 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27902 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27903 (calc-lu-minus): Rename from `calc-logunits-sub'.
27904 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27905 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27906 (calc-lu-times): Rename from `calc-logunits-mul'.
27907 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27908 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27909 (calc-lu-divide): Rename from `calc-logunits-div'.
27910 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27911 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27912
27913 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27914 functions being autoloaded.
27915
27916 * calc/calc.el (calc-lu-power-reference): Rename from
27917 `calc-logunits-power-reference'.
27918 (calc-lu-field-reference): Rename from
27919 `calc-logunits-field-reference'.
27920
27921 * calc/calc-help.el (calc-l-prefix-help):
27922 Mention musical note functions.
27923
27924 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27925
27926 * minibuffer.el (completion-all-sorted-completions):
27927 Use :completion-cycle-penalty text property if present.
27928
27929 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27930
27931 * allout.el (allout-yank-processing): Adjust for new rebulleting
27932 regime so bullet being yanked is used without prompting the user
27933 for a choice.
27934
27935 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27936
27937 * startup.el (command-line): Warn the user that _emacs is deprecated.
27938
27939 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27940
27941 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27942 (delphi-verbose, delphi-comment-face, delphi-string-face)
27943 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27944 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27945 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27946 (delphi-new-comment-line, delphi-font-lock-defaults)
27947 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27948 Fix typos in docstrings.
27949
27950 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27951
27952 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27953 Invert the roles of character and string values for INSTEAD, so a
27954 string is used for the more common case of a defaulting prompt.
27955
27956 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27957
27958 * progmodes/ruby-mode.el (ruby-backward-sexp):
27959 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27960 * play/gamegrid.el (gamegrid-make-face):
27961 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27962 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27963 * notifications.el (notifications-notify):
27964 * net/xesam.el (xesam-search-engines):
27965 * net/quickurl.el (quickurl-list-insert):
27966 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27967
27968 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27969
27970 * startup.el (command-line): Update package subdirectory regexp.
27971
27972 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27973
27974 * allout.el (allout-abbreviate-flattened-numbering)
27975 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27976
27977 * subr.el (read-char-choice): Only show the cursor after the prompt,
27978 not after the answer.
27979
27980 2011-03-15 Kevin Ryde <user42@zip.com.au>
27981
27982 * help-fns.el (variable-at-point): Skip leading quotes, if any
27983 (bug#8253).
27984
27985 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27986
27987 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27988 warning message.
27989
27990 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27991
27992 * shell.el (shell): When called interactively, offer to change the
27993 shell file name on remote hosts.
27994
27995 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27996
27997 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27998 integration for LDAP parameters. The host, base, user or binddn,
27999 and secret tokens can be specified in a netrc file, for instance.
28000 This is optional because an `auth-source' parameter must be
28001 specified in the search attributes.
28002
28003 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28004
28005 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28006
28007 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28008
28009 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28010 into declaration. Remove redundant and harmful binding.
28011
28012 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28013
28014 * files.el (file-ownership-preserved-p): Pass `integer' as an
28015 explicit 2nd argument to `file-attributes'. If the file's owner
28016 is the Administrators group on Windows, and the current user is
28017 Administrator, consider that a match.
28018
28019 * server.el (server-ensure-safe-dir): Consider server directory
28020 safe on MS-Windows if its owner is the Administrators group while
28021 the current Emacs user is Administrator. Use `=' to compare
28022 numerical UIDs, since they could be integers or floats.
28023
28024 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28025
28026 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28027
28028 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28029
28030 Sync with Tramp 2.2.1.
28031
28032 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28033
28034 * net/trampver.el: Update release number.
28035
28036 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28037
28038 * progmodes/compile.el (compilation--previous-directory): Fix up
28039 various nil/dead-marker mismatches (bug#8014).
28040 (compilation-directory-properties, compilation-error-properties):
28041 Don't call it at a position past the one we're about to change.
28042
28043 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28044 Disable obsolescence warnings in the file that declares it.
28045
28046 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28047
28048 * allout-widgets.el (allout-widgets-tally):
28049 Initialize allout-widgets-tally as a hash table rather than nil to
28050 prevent mode-line redisplay warnings. Also, clarify the module
28051 description and fix a comment typo.
28052
28053 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28054
28055 * help-fns.el (describe-variable): Don't complete keywords.
28056 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28057
28058 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28059
28060 * emacs-lisp/package.el (package-version-join): Impose a standard
28061 string representation for pre/alpha/beta version lists.
28062 (package-unpack-single): Standardize the directory name by passing
28063 it through package-version-join.
28064 (package-strip-rcs-id): Accept any version string that does not
28065 signal an error in version-to-list.
28066
28067 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28068
28069 * simple.el (delete-trailing-whitespace): Return nil for the
28070 benefit of `write-file-functions'.
28071
28072 2011-03-10 Glenn Morris <rgm@gnu.org>
28073
28074 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28075
28076 * vc/vc-git.el (vc-git-program): New option.
28077 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28078 (vc-git--call): Use it.
28079
28080 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28081
28082 * cus-edit.el (Custom-newline): If no button at point, look
28083 for a subgroup button at start-of-line. (Bug#2298)
28084
28085 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28086
28087 2011-03-10 Julien Danjou <julien@danjou.info>
28088
28089 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28090 `cursor-type' is nil.
28091
28092 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28093
28094 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28095
28096 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28097
28098 * allout.el: Change so yank of distinctive-bullet items
28099 preserves the existing header prefix, rebulleting it if necessary,
28100 rather than replacing it. This is necessary for proper operation
28101 of cooperative addons like allout-widgets.
28102 (allout-make-topic-prefix, allout-rebullet-heading):
28103 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28104 value as alternate bullet to be used, instead of prompting the user
28105 for a bullet character.
28106
28107 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28108
28109 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28110 Do not use `tramp-file-name-port', because this returns also
28111 `tramp-default-port'.
28112
28113 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28114
28115 * net/rcirc.el (rcirc-handler-001): Remove useless
28116 with-rcirc-process-buffer.
28117 (rcirc-check-auth-status): Swap arguments to string-match.
28118
28119 2011-03-09 Glenn Morris <rgm@gnu.org>
28120
28121 * shell.el (shell-mode):
28122 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28123
28124 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28125 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28126
28127 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28128
28129 * emacs-lisp/package.el (package-refresh-contents)
28130 (package-menu-execute): Use condition-case-no-debug.
28131
28132 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28133
28134 * simple.el (shell-command-to-string): Use `process-file'.
28135
28136 * emacs-lisp/package.el (package-tar-file-info): Handle also
28137 remote files.
28138
28139 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28140 Use `equal' for upload base check.
28141
28142 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28143
28144 * textmodes/texinfo.el (texinfo-environments):
28145 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28146
28147 2011-03-08 Glenn Morris <rgm@gnu.org>
28148
28149 * cus-start.el (cursor-in-non-selected-windows):
28150 Fix :set quoting oddness. (Bug#8192)
28151
28152 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28153 in some setf expressions. (Bug#2159)
28154
28155 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28156
28157 * custom.el (custom-available-themes): Return themes in
28158 alphabetical order.
28159
28160 See ChangeLog.15 for earlier changes.
28161
28162 ;; Local Variables:
28163 ;; coding: utf-8
28164 ;; End:
28165
28166 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28167
28168 This file is part of GNU Emacs.
28169
28170 GNU Emacs is free software: you can redistribute it and/or modify
28171 it under the terms of the GNU General Public License as published by
28172 the Free Software Foundation, either version 3 of the License, or
28173 (at your option) any later version.
28174
28175 GNU Emacs is distributed in the hope that it will be useful,
28176 but WITHOUT ANY WARRANTY; without even the implied warranty of
28177 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28178 GNU General Public License for more details.
28179
28180 You should have received a copy of the GNU General Public License
28181 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.