lisp/frameset.el: Revert to built-in frameset-p; document slot accessors.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
76c5e5ab
JB
12013-08-08 Juanma Barranquero <lekktu@gmail.com>
2
3 * frameset.el (frameset): Do not disable creation of the default
4 frameset-p predicate. Doc fix.
5 (frameset-valid-p): New function, copied from the old predicate-p.
6 Add additional checks.
7 (frameset-restore): Check with frameset-valid-p.
8 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9 (frameset-name, frameset-description, frameset-properties)
10 (frameset-states): Add docstring.
11
bd0c3c0b
JB
122013-08-08 Juanma Barranquero <lekktu@gmail.com>
13
14 * frameset.el (frameset-p, frameset-prop): Doc fixes.
15
c735544c
SM
162013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
20 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
21 (byte-compile-normal-call): Remove obsolescence check.
22
2805a651
JB
232013-08-08 Juanma Barranquero <lekktu@gmail.com>
24
3677ffeb
JB
25 * frameset.el (frameset-restore): Doc fix.
26
2805a651
JB
27 * register.el (frameset-frame-id, frameset-frame-with-id)
28 (frameset-p, frameset-restore, frameset-save): Declare.
29 (register-alist): Document framesets.
30 (frameset-session-filter-alist): Declare.
31 (frameset-to-register): New function.
32 (jump-to-register): Implement jumping to framesets. Doc fix.
33 (describe-register-1): Describe framesets.
34
35 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
36
a912c016
JB
372013-08-07 Juanma Barranquero <lekktu@gmail.com>
38
39 * desktop.el (desktop-save-frameset): Use new frameset-save args.
40 Use lexical-binding.
41
42 * frameset.el (frameset): Use type vector, not list (incompatible
43 change). Do not declare a new constructor, use the default one.
44 Upgrade suggested properties `app', `name' and `desc' to slots `app',
45 `name' and `description', respectively, and add read-only slot
46 `timestamp'. Doc fixes.
47 (frameset-copy, frameset-persistent-filter-alist)
48 (frameset-filter-alist, frameset-switch-to-gui-p)
49 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
50 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
51 (frameset-filter-iconified, frameset-keep-original-display-p):
52 Doc fixes.
53 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
54 Rename from frameset-filter-(save|restore)-param. All callers changed.
55 Doc fix.
56 (frameset-p): Adapt to change to vector and be more thorough.
57 Change arg name to OBJECT. Doc fix.
58 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
59 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
60 All callers changed.
61 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
62 All callers changed.
63 (frameset--record-minibuffer-relationships): Rename from
64 frameset--process-minibuffer-frames. All callers changed.
65 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
66 Use new default constructor (again). Doc fix.
67 (frameset--find-frame-if): Rename from `frameset--find-frame.
68 All callers changed.
69 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
70 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
71 Doc fix.
72 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
73 PARAMETERS and WINDOW-STATE, respectively.
74 (frameset-restore): Add new keyword argument PREDICATE.
75 Reset frameset--target-display to nil. Doc fix.
76
bb41480a
SM
772013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
78
f001e98e
SM
79 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
80 (bat-mode): Use it.
81 (bat-mode-syntax-table): Mark \n as end-of-comment.
82 (bat-font-lock-keywords): Remove comment rule.
83
7679edb1
SM
84 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
85 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
86
bb41480a
SM
87 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
88 (byte-compile-callargs-warn): Use `push'.
89 (byte-compile-arglist-warn): Ignore higher-order "calls".
90 (byte-compile-file-form-autoload): Use `pcase'.
91 (byte-compile-function-form): If quoting a symbol, check that it exists.
92
cdc1ebb9
EZ
932013-08-07 Eli Zaretskii <eliz@gnu.org>
94
95 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
96 and add a few popular commands found in batch files.
97 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
98 (dos-mode): Doc fixes.
99
312b1740
SM
1002013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
103 (dos-mode): Use setq-local. Add space after "rem".
104 (dos-mode-syntax-table): Don't use "w" for symbol chars.
105 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
106
400a3178
AM
1072013-08-07 Arni Magnusson <arnima@hafro.is>
108
109 * progmodes/dos.el: New file.
110 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
111 dos-mode.
112
3b5c03d3
GM
1132013-08-06 Glenn Morris <rgm@gnu.org>
114
115 * calendar/calendar.el: Add new faces, and day-header-array.
116 (calendar-weekday-header, calendar-weekend-header)
117 (calendar-month-header): New faces.
118 (calendar-day-header-construct): New function.
119 (calendar-day-header-width): Also :set calendar-day-header-array.
120 (calendar-american-month-header, calendar-european-month-header)
121 (calendar-iso-month-header): Use calendar- faces.
122 (calendar-generate-month):
123 Use calendar-day-header-array for day headers; apply faces to them.
124 (calendar-mode): Check calendar-font-lock-keywords non-nil.
125 (calendar-abbrev-construct): Add optional maxlen argument.
126 (calendar-day-name-array): Doc fix.
127 (calendar-day-name-array, calendar-abbrev-length)
128 (calendar-day-abbrev-array):
129 Also :set calendar-day-header-array, and maybe redraw.
130 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 131 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
132 (calendar-day-name): Add option to use header array.
133
ec6a2d7a
LMI
1342013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
135
136 * net/shr.el (shr-render-td): Remove debugging.
137 (shr-render-td): Make width computation consistent by defaulting
138 all zero-width columns to 10 characters. This may not be optimal,
139 but it's at least consistent.
2122cb6d
LMI
140 (shr-make-table-1): Redo last change to fix the real problem in
141 colspan handling.
ec6a2d7a 142
ed4fd9c5
DA
1432013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
144
145 * files.el (cache-long-line-scans): Make
146 obsolete alias to `cache-long-scans'.
147
64e22afe
JB
1482013-08-06 Juanma Barranquero <lekktu@gmail.com>
149
024b38fc
JB
150 * frameset.el (frameset, frameset-filter-alist)
151 (frameset-filter-params, frameset-save, frameset--reuse-frame)
152 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
153 (frameset-compute-pos): Rename from frameset--compute-pos,
154 and add docstring.
155 (frameset-move-onscreen): Use frameset-compute-pos.
156 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
157
64e22afe
JB
158 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
159 Fix typos in docstrings.
160
c8c2aca8
DA
1612013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
162
163 * frame.el (get-other-frame): Tiny cleanup.
164
1d237bba
JB
1652013-08-06 Juanma Barranquero <lekktu@gmail.com>
166
8951efef
JB
167 * vc/vc.el (vc-default-ignore-completion-table):
168 Silence byte-compiler warning.
169
307764cc
JB
170 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
171 slot , which can indeed be nil.
172 (frameset-live-filter-alist, frameset-persistent-filter-alist):
173 Move entry for `left' from persistent to live filter alist.
174 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
175 Doc fixes.
176 (frameset-filter-params): When restoring a frame, copy items added to
177 `filtered', to avoid unwittingly modifying the original parameters.
178 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
179 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
180
1d237bba
JB
181 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
182 to use looking-at-p instead of looking-at. (Bug#15028)
183
dc6c0eda
SM
1842013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 Revert introduction of isearch-filter-predicates (bug#14714).
187 Rely on add-function instead.
188 * isearch.el (isearch-filter-predicates): Rename it back to
189 isearch-filter-predicate.
190 (isearch-message-prefix): Use advice-function-mapc and advice
191 properties to get the isearch-message-prefix.
192 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
193 instead of run-hook-with-args-until-failure.
194 (isearch-filter-visible): Not obsolete any more.
195 * loadup.el: Preload nadvice.
196 * replace.el (perform-replace): Revert to funcall
197 instead of run-hook-with-args-until-failure.
198 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
199 * dired-aux.el (dired-isearch-filenames-mode): Rename from
200 dired-isearch-filenames-toggle; make it into a proper minor mode.
201 Use add/remove-function.
202 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
203 Call the minor-mode rather than add/remove-hook.
204 (dired-isearch-filter-filenames):
205 Remove isearch-message-prefix property.
206 * info.el (Info--search-loop): New function, extracted from Info-search.
207 Funcall isearch-filter-predicate instead of
208 run-hook-with-args-until-failure isearch-filter-predicates.
209 (Info-search): Use it.
210 (Info-mode): Use isearch-filter-predicate instead of
211 isearch-filter-predicates.
212
290d5b58
DA
2132013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
214
215 Do not call to `selected-window' where it is assumed by default.
216 Affected functions are `window-minibuffer-p', `window-dedicated-p',
217 `window-hscroll', `window-width', `window-height', `window-buffer',
218 `window-frame', `window-start', `window-point', `next-window'
219 and `window-display-table'.
220 * abbrev.el (abbrev--default-expand):
221 * bs.el (bs--show-with-configuration):
222 * buff-menu.el (Buffer-menu-mouse-select):
223 * calc/calc.el (calc):
224 * calendar/calendar.el (calendar-generate-window):
225 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
226 (diary-make-entry):
227 * comint.el (send-invisible, comint-dynamic-complete-filename)
228 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
229 * completion.el (complete):
230 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
231 * disp-table.el (describe-current-display-table):
232 * doc-view.el (doc-view-insert-image):
233 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
234 * ehelp.el (with-electric-help):
235 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
236 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
237 * emacs-lisp/helper.el (Helper-help-scroller):
238 * emulation/cua-base.el (cua--post-command-handler-1):
239 * eshell/esh-mode.el (eshell-output-filter):
240 * ffap.el (ffap-gnus-wrapper):
241 * help-macro.el (make-help-screen):
242 * hilit-chg.el (highlight-compare-buffers):
243 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
244 * hl-line.el (global-hl-line-highlight):
245 * icomplete.el (icomplete-simple-completing-p):
246 * isearch.el (isearch-done):
247 * jit-lock.el (jit-lock-stealth-fontify):
248 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
249 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
250 * mpc.el (mpc-tagbrowser, mpc):
251 * net/rcirc.el (rcirc-any-buffer):
252 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
253 * play/landmark.el (landmark-max-width, landmark-max-height):
254 * play/zone.el (zone):
255 * progmodes/compile.el (compilation-goto-locus):
256 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
257 * progmodes/etags.el (find-tag-other-window):
258 * progmodes/fortran.el (fortran-column-ruler):
259 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
260 * progmodes/verilog-mode.el (verilog-point-text):
261 * reposition.el (reposition-window):
262 * rot13.el (toggle-rot13-mode):
263 * server.el (server-switch-buffer):
264 * shell.el (shell-dynamic-complete-command)
265 (shell-dynamic-complete-environment-variable):
266 * simple.el (insert-buffer, set-selective-display)
267 (delete-completion-window):
268 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
269 (speedbar-recenter):
270 * startup.el (fancy-splash-head):
271 * textmodes/ispell.el (ispell-command-loop):
272 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
273 * tutorial.el (help-with-tutorial):
274 * vc/add-log.el (add-change-log-entry):
275 * vc/compare-w.el (compare-windows):
276 * vc/ediff-help.el (ediff-indent-help-message):
277 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
278 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
279 (ediff-setup-control-frame):
280 * vc/emerge.el (emerge-position-region):
281 * vc/pcvs-util.el (cvs-bury-buffer):
282 * window.el (walk-windows, mouse-autoselect-window-select):
283 * winner.el (winner-set-conf, winner-undo): Related users changed.
284
38276e01
JB
2852013-08-05 Juanma Barranquero <lekktu@gmail.com>
286
287 * frameset.el (frameset--set-id): Doc fix.
288 (frameset-frame-id, frameset-frame-id-equal-p)
289 (frameset-locate-frame-id): New functions.
290 (frameset--process-minibuffer-frames, frameset--reuse-frame)
291 (frameset-restore): Use them.
292
12b4c0ea
DA
2932013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
294
295 Do not call to `selected-frame' where it is assumed by default.
296 Affected functions are `raise-frame', `redraw-frame',
297 `frame-first-window', `frame-terminal' and `delete-frame'.
298 * calendar/appt.el (appt-disp-window):
299 * epg.el (epg-wait-for-completion):
300 * follow.el (follow-delete-other-windows-and-split)
301 (follow-avoid-tail-recenter):
302 * international/mule.el (set-terminal-coding-system):
303 * mail/rmail.el (rmail-mail-return):
304 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
305 * progmodes/f90.el (f90-add-imenu-menu):
306 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
307 * server.el (server-switch-buffer):
308 * simple.el (delete-completion-window):
309 * talk.el (talk):
310 * term/xterm.el (terminal-init-xterm-modify-other-keys)
311 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
312 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
313 * vc/ediff.el (ediff-documentation): Related users changed.
314 * frame.el (selected-terminal): Remove the leftover.
315
17f25e76
GM
3162013-08-05 Glenn Morris <rgm@gnu.org>
317
318 * calendar/calendar.el (calendar-generate-month):
319 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
320 (calendar-generate-month, calendar-font-lock-keywords):
321 Fix for calendar-day-header-width > length of any day name.
17f25e76 322
063233c3
JB
3232013-08-05 Juanma Barranquero <lekktu@gmail.com>
324
325 * desktop.el (desktop-clear): Use new name of sort predicate.
326
327 * frameset.el (frameset): Add docstring. Move :version property to its
328 own `version' slot.
329 (frameset-copy): Rename from copy-frameset.
330 (frameset-p): Check more thoroughly.
331 (frameset-prop): Do not check for :version, which is no longer a prop.
332 (frameset-live-filter-alist, frameset-persistent-filter-alist):
333 Use new :never value instead of t.
334 (frameset-filter-alist): Expand and clarify docstring.
335 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
336 (frameset-filter-minibuffer, frameset-filter-save-param)
337 (frameset-filter-restore-param, frameset-filter-iconified):
338 Add pointer to docstring of frameset-filter-alist.
339 (frameset-filter-params): Rename filter values to be more meaningful:
340 :never instead of t, and reverse the meanings of :save and :restore.
341 (frameset--process-minibuffer-frames): Clarify error message.
342 (frameset-save): Avoid unnecessary and confusing call to framep.
343 Use new BOA constructor for framesets.
344 (frameset--reuse-list): Doc fix.
345 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
346 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
347 (frameset-minibufferless-first-p): Doc fix.
348 Rename from frameset-sort-frames-for-deletion.
349 (frameset-restore): Doc fixes. Use new function names.
350 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
351
d5671a82
JB
3522013-08-04 Juanma Barranquero <lekktu@gmail.com>
353
354 * desktop.el (desktop-restore-forces-onscreen)
355 (desktop-restore-reuses-frames): Document :keyword constant values.
356 (desktop-filter-parameters-alist): Remove, now identical to
357 frameset-filter-alist.
358 (desktop--filter-tty*): Remove, moved to frameset.el.
359 (desktop-save-frameset, desktop-restore-frameset):
360 Do not pass :filters argument.
361
362 * frameset.el (frameset-live-filter-alist)
363 (frameset-persistent-filter-alist): New variables.
364 (frameset-filter-alist): Use them. Add autoload cookie.
365 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
366 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
367 `frameset--id' (it's supposed to be internal to frameset.el).
368 (frameset--process-minibuffer-frames): Ditto. Doc fix.
369 (frameset--initial-params): New function.
370 (frameset--get-frame): Use it. Doc fix.
371 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
372 Accept :all, not 'all.
373 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
374 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
375 with fbound symbols. Fix frame id matching, and remove matching ids if
376 the frame being restored is deleted. Obey :delete.
377
671d5c16
SM
3782013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * subr.el (macrop): New function.
381 (text-clone--maintaining): New var.
382 (text-clone--maintain): Rename from text-clone-maintain. Use it
383 instead of inhibit-modification-hooks.
384
385 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
386 a proxy, so as handle autoloads and redefinitions of the target.
387 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
388
389 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
390 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
391 (pcase--mutually-exclusive-p): New function.
392 (pcase--split-consp): Use it.
393 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
394 mutually exclusive with the current predicate.
395
396 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
397 (edebug-macrop): Remove. Use `macrop' instead.
398 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
399 (ad-macro-p):
400 * eshell/esh-cmd.el (eshell-macrop):
401 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
402
1d44e9dc
SM
4032013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
406 (advice-mapc): New function, using it.
407 (advice-function-member-p): New function.
408 (advice--normalize): Store the cdr in advice--saved-rewrite since
409 that's the part that will be changed.
410 (advice--symbol-function): New function.
411 (advice-remove): Handle removal before the function is defined.
412 Adjust to new advice--saved-rewrite.
413 (advice-member-p): Use advice-function-member-p and
414 advice--symbol-function.
415
5414a283
JB
4162013-08-04 Juanma Barranquero <lekktu@gmail.com>
417
51d30f2c
JB
418 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
419 (frameset-filter-minibuffer): Doc fix.
420 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
421 (frameset--set-id, frameset--process-minibuffer-frames)
422 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
423 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 424
5414a283
JB
425 * desktop.el (desktop-clear): Only delete frames when called
426 interactively and desktop-restore-frames is non-nil. Doc fix.
427 (desktop-read): Set desktop-saved-frameset to nil.
428
ab419665
XF
4292013-08-04 Xue Fuqiao <xfq.free@gmail.com>
430
431 * vc/vc.el (vc-ignore): Rewrite.
432 (vc-default-ignore-completion-table):
433 (vc--read-lines):
434 (vc--add-line, vc--remove-regexp): New functions.
435
436 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
437 (vc-svn-ignore-completion-table): New function.
438
439 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
440 (vc-hg-ignore-completion-table):
441 (vc-hg-find-ignore-file): New functions.
442
443 * vc/vc-git.el (vc-git-ignore): Rewrite.
444 (vc-git-ignore-completion-table):
445 (vc-git-find-ignore-file): New functions.
446
447 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
448
449 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
450 (vc-bzr-ignore-completion-table):
451 (vc-bzr-find-ignore-file): New functions.
452
2613dea2
JB
4532013-08-03 Juanma Barranquero <lekktu@gmail.com>
454
455 * frameset.el (frameset-prop): New function and setter.
456 (frameset-save): Do not modify frame list passed by the caller.
457
9c959872
SM
4582013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
461
a104f656
SM
4622013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
463
70122acf
SM
464 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
465 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
466
a104f656
SM
467 * custom.el (custom-initialize-default, custom-initialize-set)
468 (custom-initialize-reset, custom-initialize-changed): Affect the
469 toplevel-default-value (bug#6275, bug#14586).
470 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
471 for bug#6275.
472
f078d570
JB
4732013-08-02 Juanma Barranquero <lekktu@gmail.com>
474
185e3b5a
JB
475 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
476 Add cl-def* expressions.
477
f078d570
JB
478 * frameset.el (frameset-filter-params): Fix order of arguments.
479
9421876d
JB
4802013-08-02 Juanma Barranquero <lekktu@gmail.com>
481
482 Move code related to saving frames to frameset.el.
483 * desktop.el: Require frameset.
484 (desktop-restore-frames): Doc fix.
485 (desktop-restore-reuses-frames): Rename from
486 desktop-restoring-reuses-frames.
487 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
488 (desktop-clear): Clear frames too.
489 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
490 (desktop--filter-tty*, desktop-save, desktop-read):
491 Use frameset functions.
492 (desktop-before-saving-frames-functions, desktop--filter-*-color)
493 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
494 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
495 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
496 (desktop--process-minibuffer-frames, desktop-save-frames)
497 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
498 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
499 (desktop--sort-states, desktop-restoring-frames-p)
500 (desktop-restore-frames): Remove. Most code moved to frameset.el.
501 (desktop-restoring-frameset-p, desktop-restore-frameset)
502 (desktop--check-dont-save, desktop-save-frameset): New functions.
503 (desktop--app-id): New constant.
504 (desktop-first-buffer, desktop-buffer-ok-count)
505 (desktop-buffer-fail-count): Move before first use.
506 * frameset.el: New file.
507
76dc5996
SM
5082013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * files.el: Use lexical-binding.
511 (dir-locals-read-from-file): Remove unused `err' variable.
512 (hack-dir-local-variables--warned-coding): New var.
513 (hack-dir-local-variables): Use it to avoid repeated warnings.
514 (make-backup-file-name--default-function): New function.
515 (make-backup-file-name-function): Use it as default.
516 (buffer-stale--default-function): New function.
517 (buffer-stale-function): Use it as default.
518 (revert-buffer-insert-file-contents--default-function): New function.
519 (revert-buffer-insert-file-contents-function): Use it as default.
520 (insert-directory): Avoid add-to-list.
521
522 * autorevert.el (auto-revert-handler): Simplify.
523 Use buffer-stale--default-function.
524
06d36e2b
TH
5252013-08-01 Tassilo Horn <tsdh@gnu.org>
526
5f648ab4
TH
527 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
528
06d36e2b
TH
529 * whitespace.el (whitespace-ensure-local-variables): New function.
530 (whitespace-cleanup-region): Call it.
531 (whitespace-turn-on): Call it.
532
a43dc424
MA
5332013-08-01 Michael Albinus <michael.albinus@gmx.de>
534
535 Complete file name handlers.
536
537 * net/tramp.el (tramp-handle-set-visited-file-modtime)
538 (tramp-handle-verify-visited-file-modtime)
539 (tramp-handle-file-notify-rm-watch): New functions.
540 (tramp-call-process): Do not bind `default-directory'.
541
44e18199
JB
542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
543 Order alphabetically.
a43dc424
MA
544 [access-file, add-name-to-file, dired-call-process]:
545 [dired-compress-file, file-acl, file-notify-rm-watch]:
546 [file-ownership-preserved-p, file-selinux-context]:
547 [make-directory-internal, make-symbolic-link, set-file-acl]:
548 [set-file-selinux-context, set-visited-file-modtime]:
549 [verify-visited-file-modtime]: Add handler.
550 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
551
552 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
553 [file-notify-add-watch, file-notify-rm-watch]:
554 [set-file-times, set-visited-file-modtime]:
555 [verify-visited-file-modtime]: Add handler.
556 (with-tramp-gvfs-error-message)
557 (tramp-gvfs-handle-set-visited-file-modtime)
558 (tramp-gvfs-fuse-file-name): Remove.
559 (tramp-gvfs-handle-file-notify-add-watch)
560 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
561 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
562
44e18199
JB
563 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
564 Order alphabetically.
a43dc424
MA
565 [file-notify-rm-watch ]: Use default Tramp handler.
566 [executable-find]: Remove private handler.
567 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
568 `default-directory'.
569 (tramp-sh-handle-executable-find)
570 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
571 (tramp-sh-file-gvfs-monitor-dir-process-filter)
572 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
573 Do not use `format' in `tramp-message'.
574
575 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
576 [file-notify-rm-watch, set-visited-file-modtime]:
577 [verify-visited-file-modtime]: Add handler.
578 (tramp-smb-call-winexe): Do not bind `default-directory'.
579
7188b515
XF
5802013-08-01 Xue Fuqiao <xfq.free@gmail.com>
581
582 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
583
2412ee1a
DG
5842013-07-31 Dmitry Gutov <dgutov@yandex.ru>
585
586 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
587 use it.
588 (log-view-diff-changeset): Same.
589 (log-view-diff-common): Call backend command `previous-revision'
590 to find out the previous revision, in both cases. Swap the
591 variables `to' and `fr', so that `fr' usually refers to the
592 earlier revision (Bug#14989).
593
5002a754
KRC
5942013-07-31 Kan-Ru Chen <kanru@kanru.info>
595
596 * ibuf-ext.el (ibuffer-filter-by-filename):
597 Make it work with dired buffers too.
598
44e18199 5992013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
600
601 * emacs-lisp/re-builder.el (reb-color-display-p):
602 * files.el (save-buffers-kill-terminal):
603 * net/browse-url.el (browse-url):
604 * server.el (server-save-buffers-kill-terminal):
605 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
606 Prefer nil to selected-frame for the first arg of frame-parameter.
607
aeca3fbb
XF
6082013-07-31 Xue Fuqiao <xfq.free@gmail.com>
609
610 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
611
158bc55c
SB
6122013-07-30 Stephen Berman <stephen.berman@gmx.net>
613
614 * minibuffer.el (completion--twq-all): Try and preserve each
615 completion's case choice (bug#14907).
616
d50fceab
LMI
6172013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
618
ac38e731
LMI
619 * net/network-stream.el (open-network-stream): Mention the new
620 :nogreeting parameter.
621 (network-stream-open-starttls): Use the :nogreeting parameter
622 (bug#14938).
623
1211de50
LMI
624 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
625
997798bf
LMI
626 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
627 more natural than popping.
628
d50fceab 629 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 630 (shr-urlify): Highlight under mouse.
d50fceab 631
5c09de04
XF
6322013-07-30 Xue Fuqiao <xfq.free@gmail.com>
633
207d1d04
XF
634 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
635
636 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
637
5c09de04
XF
638 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
639 buffer for output.
640
3cd51eaa
XF
641 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
642 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 643
44e18199 644 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 645 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
646
647 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
648
649 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
650 buffer for output.
651
35a89bdd
EZ
6522013-07-29 Eli Zaretskii <eliz@gnu.org>
653
654 * frame.el (frame-notice-user-settings): Avoid inflooping when the
655 initial frame is minibuffer-less. (Bug#14841)
656
78822e94
MA
6572013-07-29 Michael Albinus <michael.albinus@gmx.de>
658
659 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
660 option.
661
662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
663 (tramp-maybe-open-connection): Use it.
664
9503c190
JB
6652013-07-28 Juanma Barranquero <lekktu@gmail.com>
666
667 * desktop.el (desktop--make-frame): Include `minibuffer' in the
668 minimal set of parameters passed when creating a frame, because
669 the minibuffer status of a frame cannot be changed later.
670
d5a845b4
SB
6712013-07-28 Stephen Berman <stephen.berman@gmx.net>
672
673 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
674 replace-regexp-in-string and inadvertent omissions in previous change.
675 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 676 name of filtered items buffer.
d5a845b4 677
ddeffb17
JB
6782013-07-28 Juanma Barranquero <lekktu@gmail.com>
679
680 * desktop.el: Optionally force offscreen frames back onscreen.
681 (desktop-restoring-reuses-frames): New option.
682 (desktop--compute-pos, desktop--move-onscreen): New functions.
683 (desktop--make-frame): Use desktop--move-onscreen.
684
f5950f7a
AM
6852013-07-27 Alan Mackenzie <acm@muc.de>
686
687 Fontify a Java generic method as a function.
688 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
689 value to t.
690
ae43b66a
SB
6912013-07-27 Stephen Berman <stephen.berman@gmx.net>
692
693 * calendar/todo-mode.el: Add command to rename todo files.
694 (todo-rename-file): New command.
695 (todo-key-bindings-t): Add key binding for it. Change the
696 bindings of todo-filter-regexp-items(-multifile) to use `x'
697 instead of `r', since the latter is better suited to the new
698 renaming command.
699
5ab78d3d
AM
7002013-07-27 Alan Mackenzie <acm@muc.de>
701
702 Make Java try-with-resources statement parse properly.
703 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
704 (c-block-stmt-1-2-key): New language constants/variables.
705 * progmodes/cc-engine.el (c-beginning-of-statement-1)
706 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
707 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 708 with c-block-stmt-1-2-key.
5ab78d3d 709
d85c4d50
JB
7102013-07-27 Juanma Barranquero <lekktu@gmail.com>
711
712 * desktop.el (desktop--make-frame): Apply most frame parameters after
713 creating the frame to force (partially or totally) offscreen frames to
714 be restored as such.
715
e4c467f9
XF
7162013-07-26 Xue Fuqiao <xfq.free@gmail.com>
717
718 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 719 (Bug#14948)
e4c467f9 720
7ced0d04
SM
7212013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
724 `base' arg of backtrace-frame.
725
fec92060
EZ
7262013-07-26 Eli Zaretskii <eliz@gnu.org>
727
728 * simple.el (list-processes): Doc fix.
729
d58d31fb
JB
7302013-07-26 Juanma Barranquero <lekktu@gmail.com>
731
732 * desktop.el (desktop--select-frame):
d85c4d50 733 Try harder to reuse existing frames.
d58d31fb 734
53ff3e77
SM
7352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
738 (edebug-eval): Use backtrace-eval.
739 (edebug--display, edebug--recursive-edit): Don't let-bind the
740 edebug-outer-* vars that keep track of variables we locally let-bind.
741 (edebug-outside-excursion): Don't restore outside values of locally
742 let-bound vars.
743 (edebug--display): Use user-error.
744 (cl-lexical-debug, cl-debug-env): Remove.
745
045f7a53
JB
7462013-07-26 Juanma Barranquero <lekktu@gmail.com>
747
748 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
749 are restored to be sure that they are visible before deleting any
750 remaining ones.
751
59070b32
MM
7522013-07-26 Matthias Meulien <orontee@gmail.com>
753
742a3501
XF
754 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
755 vc-print-root-log. (Bug#14948)
59070b32 756
b1fb3596
RS
7572013-07-26 Richard Stallman <rms@gnu.org>
758
759 Add aliases for encrypting mail.
760 * epa.el (epa-mail-aliases): New option.
761 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
762 Bind inhibit-read-only so read-only text doesn't ruin everything.
763 (epa-mail-default-recipients): New subroutine broken out.
764 Handle epa-mail-aliases.
765
56ea7291
SM
7662013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 Add support for lexical variables to the debugger's `e' command.
769 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
770 vars, except for debugger-outer-match-data.
771 (debugger-frame-number): Move check for "on a function call" from
772 callers into it. Add `skip-base' argument.
773 (debugger-frame, debugger-frame-clear): Simplify accordingly.
774 (debugger-env-macro): Only reset the state stored in non-variables,
775 i.e. current-buffer and match-data.
776 (debugger-eval-expression): Rewrite using backtrace-eval.
777 * subr.el (internal--called-interactively-p--get-frame): Remove.
778 (called-interactively-p):
779 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
780 `base' arg of backtrace-frame instead.
781
15ac32d5
GM
7822013-07-26 Glenn Morris <rgm@gnu.org>
783
8358a09d
GM
784 * align.el (align-regexp): Doc fix. (Bug#14857)
785 (align-region): Explicit error if subexpression missing/does not match.
786
15ac32d5
GM
787 * simple.el (global-visual-line-mode):
788 Do not duplicate the mode lighter. (Bug#14858)
789
f47ad11b
MR
7902013-07-25 Martin Rudalics <rudalics@gmx.at>
791
792 * window.el (display-buffer): In display-buffer bind
793 split-window-keep-point to t, bug#14829.
794
02530987
JB
7952013-07-25 Juanma Barranquero <lekktu@gmail.com>
796
797 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
798 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
799 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
800 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
801 Change accordingly.
f63ebeb5
JB
802 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
803 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 804
6ccb9cab 8052013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 806
6ccb9cab 807 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 808
cb3a56d2
JB
8092013-07-25 Juanma Barranquero <lekktu@gmail.com>
810
811 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
812 parameter to modify-frame-parameters if the value has not changed;
813 this is a workaround for bug#14949.
814 (desktop--make-frame): On cl-delete-if call, check parameter name,
815 not full parameter.
816
7aa7fff0
XF
8172013-07-30 Xue Fuqiao <xfq.free@gmail.com>
818
819 * vc/vc.el (vc-ignore): New function.
820
821 * vc/vc-svn.el (vc-svn-ignore): New function.
822
823 * vc/vc-hg.el (vc-hg-ignore): New function.
824
825 * vc/vc-git.el (vc-git-ignore): New function.
826
827 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
828 (vc-dir-ignore): New function.
829
830 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 831 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
832
833 * vc/vc-bzr.el (vc-bzr-ignore): New function.
834
835 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
836
889acc5c
JB
8372013-07-24 Juanma Barranquero <lekktu@gmail.com>
838
839 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
840 (desktop-restore-frames): Warn when deleting an existing frame failed.
841
86c40970
GM
8422013-07-24 Glenn Morris <rgm@gnu.org>
843
844 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
845
d5d3c58a
MA
8462013-07-24 Michael Albinus <michael.albinus@gmx.de>
847
848 * filenotify.el (file-notify-supported-p):
849 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
850 Remove functions.
851
852 * autorevert.el (auto-revert-use-notify):
853 (auto-revert-notify-add-watch):
854 * net/tramp.el (tramp-file-name-for-operation):
855 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
856 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
857 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
858 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
859 Remove `file-notify-supported-p' entry.
860
d100084b
GM
8612013-07-24 Glenn Morris <rgm@gnu.org>
862
863 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 864 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 865
ac93e56b
SM
8662013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
867
249eea30
SM
868 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
869 checked with memq (bug#14935).
870
ac93e56b
SM
871 * files.el (revert-buffer-function): Use a non-nil default.
872 (revert-buffer-preserve-modes): Declare var to
873 provide access to the `preserve-modes' argument.
874 (revert-buffer): Let-bind it.
875 (revert-buffer--default): New function, extracted from revert-buffer.
876
2cdeb903
SM
8772013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * lpr.el: Signal print errors more prominently.
880 (print-region-function): Don't default to nil.
881 (lpr-print-region): New function, extracted from print-region-1.
882 Check lpr's return value and signal an error in case of problem.
883 (print-region-1): Use it.
884 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
885 versions instead.
886 (ps-printer-name): Default to nil.
887 (ps-printer-name-option): Default to lpr-printer-switch.
888 (ps-print-region-function): Don't default to nil.
889 (ps-postscript-code-directory): Simplify default.
890 (ps-do-despool): Use lpr-print-region to properly check the outcome.
891 (ps-string-list, ps-eval-switch, ps-flatten-list)
892 (ps-flatten-list-1): Remove.
893 (ps-multibyte-buffer): Avoid setq.
894 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
895 (print-region-function, ps-print-region-function): Don't set them here.
896
73600831
XF
8972013-07-24 Xue Fuqiao <xfq.free@gmail.com>
898
0e55c076
XF
899 * ido.el (ido-fractionp):
900 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
901 (ido-max-file-prompt-width, ido-unc-hosts-cache)
902 (ido-max-directory-size, ido-max-dir-file-cache)
903 (ido-decorations): Doc fix.
904
73600831
XF
905 * ansi-color.el: Fix old URL.
906
3d012865
MM
9072013-07-23 Michael R. Mauger <michael@mauger.com>
908
909 * progmodes/sql.el Version 3.3
910 (sql-product-alist): Improve oracle :prompt-cont-regexp.
911 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
912 (sql-interactive-remove-continuation-prompt): Rewrite, use
913 functions above. Fix continuation prompt and complete output line
914 handling.
915 (sql-redirect-one, sql-execute): Use `read-only-mode' on
916 redirected output buffer.
917 (sql-mode): Restore deleted code (Bug#13591).
918
da77a2e2
JB
9192013-07-23 Juanma Barranquero <lekktu@gmail.com>
920
921 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
922
80ff0c71
MA
9232013-07-23 Michael Albinus <michael.albinus@gmx.de>
924
925 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
926
927 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
928 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
929 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
930
b61d71e4
JB
9312013-07-23 Juanma Barranquero <lekktu@gmail.com>
932
933 * desktop.el (desktop-clear): Simplify; remove useless checks
934 against invalid buffer names.
935 (desktop-list*): Use cl-list*.
936 (desktop-buffer-info, desktop-create-buffer): Simplify.
937
c3512092
LL
9382013-07-23 Leo Liu <sdl.web@gmail.com>
939
940 * bookmark.el (bookmark-make-record): Restore NAME as a default
941 value. (Bug#14933)
942
0ac26976
SM
9432013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
944
7d22ce18
SM
945 * emacs-lisp/autoload.el (autoload--setup-output): New function,
946 extracted from autoload--insert-text.
947 (autoload--insert-text): Remove.
948 (autoload--print-cookie-text): New function, extracted from
949 autoload--insert-cookie-text.
950 (autoload--insert-cookie-text): Remove.
951 (autoload-generate-file-autoloads): Adjust calls accordingly.
952
9b2607e8
SM
953 * winner.el (winner-hook-installed-p): Remove.
954 (winner-mode): Simplify accordingly.
955
c43a8618
SM
956 * subr.el (add-to-list): Fix compiler-macro when `append' is
957 not constant. Don't use `cl-member' for the base case.
958
0ac26976
SM
959 * progmodes/subword.el: Fix boundary case (bug#13758).
960 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
961 own group.
962 (subword-backward-regexp): Make it a constant.
963 (subword-forward-internal): Don't treat a trailing capital as the
964 beginning of a word.
965
6874724a
AR
9662013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
967
968 * emacs-lisp/package.el (package-menu-mode): Don't modify the
969 global value of tabulated-list-revert-hook (bug#14930).
970
70f1b5e8
JB
9712013-07-22 Juanma Barranquero <lekktu@gmail.com>
972
a1c80d9d
JB
973 * desktop.el: Require 'cl-lib.
974 (desktop-before-saving-frames-functions): New hook.
975 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
976 for frames being saved. Rename from desktop--save-minibuffer-frames.
977 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
978 Do not save frames with non-nil `desktop-dont-save' parameter.
979 Filter out deleted frames.
a1c80d9d
JB
980 (desktop--find-frame): Use cl-find-if.
981 (desktop--select-frame): Use cl-(first|second|third) to access values
982 of desktop-mini.
983 (desktop--make-frame): Use cl-delete-if.
984 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
985 (desktop-restore-frames): Use cl-(first|second|third) to access values
986 of desktop-mini. Look for visible frame at the end, not while
987 restoring frames.
988
70f1b5e8
JB
989 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
990 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
991 Use string-match-p, looking-at-p (bug#14927).
992
728dc3cc
JB
9932013-07-21 Juanma Barranquero <lekktu@gmail.com>
994
56bc453c
JB
995 * desktop.el (desktop-saved-frame-states):
996 Rename from desktop--saved-states; all users changed.
997 (desktop-save-frames): Rename from desktop--save-frames.
998 Do not save state to desktop file.
999 (desktop-save): Save desktop-saved-frame-states to desktop file
1000 and reset to nil.
1001 (desktop-restoring-frames-p): New function.
1002 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1003 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1004 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1005
728dc3cc
JB
1006 * desktop.el: Correctly restore iconified frames.
1007 (desktop--filter-iconified-position): New function.
1008 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1009
862f1c9c
GM
10102013-07-20 Glenn Morris <rgm@gnu.org>
1011
c4074c9f
GM
1012 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1013 Let `message' do the formatting.
1014 (def-gdb-preempt-display-buffer): Add explicit format.
1015
d828e5f9
GM
1016 * image-dired.el (image-dired-track-original-file):
1017 Use with-current-buffer.
1018 (image-dired-track-thumbnail): Use with-current-buffer.
1019 Avoid changing point of wrong window.
1020
862f1c9c
GM
1021 * image-dired.el (image-dired-track-original-file):
1022 Avoid changing point of wrong window. (Bug#14909)
1023
f0398ec1 10242013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
1025
1026 * progmodes/gdb-mi.el (gdb-done-or-error):
1027 Guard against "%" in gdb output. (Bug#14127)
1028
1451928f
AS
10292013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1030
763a086d
JB
1031 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1032 (Bug#14826)
f7a03897 1033
1451928f
AS
1034 * international/mule.el (coding-system-iso-2022-flags): Fix last
1035 change.
1036
99107004
KH
10372013-07-20 Kenichi Handa <handa@gnu.org>
1038
763a086d
JB
1039 * international/mule.el (coding-system-iso-2022-flags):
1040 Add `8-bit-level-4'. (Bug#8522)
99107004 1041
48494e06
LMI
10422013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1043
8ba8eec5
LMI
1044 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1045 (bug#14815).
1046
dfbc66e3
LMI
1047 * net/eww.el (eww-process-text-input): Allow inputting when the
1048 point is at the start of the line, as the properties aren't
1049 front-sticky.
1050
48494e06
LMI
1051 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1052 degenerate widths.
1053
77c92cb9
RS
10542013-07-19 Richard Stallman <rms@gnu.org>
1055
aec7da77
RS
1056 * epa.el (epa-popup-info-window): Doc fix.
1057
77c92cb9
RS
1058 * subr.el (split-string): New arg TRIM.
1059
945c5bb1
JB
10602013-07-18 Juanma Barranquero <lekktu@gmail.com>
1061
1062 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1063 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1064
e06ec67f
MA
10652013-07-18 Michael Albinus <michael.albinus@gmx.de>
1066
c7064f05 1067 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
1068 `file-notify-support'. Do not autoload. Adapt all uses.
1069 (file-notify-supported-p): New defun.
1070
c7064f05
JB
1071 * autorevert.el (auto-revert-use-notify):
1072 Use `file-notify-supported-p' instead of `file-notify-support'.
1073 Adapt docstring.
e06ec67f
MA
1074 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1075
1076 * net/tramp.el (tramp-file-name-for-operation):
1077 Add `file-notify-supported-p'.
1078
1079 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1080 New defun.
1081 (tramp-sh-file-name-handler-alist): Add it as handler for
1082 `file-notify-supported-p '.
1083
1084 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1085 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1086 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1087 Add `ignore' as handler for `file-notify-*' functions.
1088
5dc8a629
EZ
10892013-07-17 Eli Zaretskii <eliz@gnu.org>
1090
1091 * simple.el (line-move-partial, line-move): Don't start vscroll or
1092 scroll-up if the current line is not taller than the window.
1093 (Bug#14881)
1094
77aea2fb
DG
10952013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1096
1097 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1098 highlight question marks in the method names as strings.
ac72c08d
DG
1099 (ruby-block-beg-keywords): Inline.
1100 (ruby-font-lock-keyword-beg-re): Extract from
1101 `ruby-font-lock-keywords'.
77aea2fb 1102
18c26d81
JD
11032013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1104
1105 * frame.el (blink-cursor-blinks): New defcustom.
1106 (blink-cursor-blinks-done): New defvar.
1107 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1108 (blink-cursor-timer-function): Check if number of blinks has been
1109 done on X and NS.
1110 (blink-cursor-suspend, blink-cursor-check): New defuns.
1111
da48522e
GM
11122013-07-15 Glenn Morris <rgm@gnu.org>
1113
1114 * edmacro.el (edmacro-format-keys): Fix previous change.
1115
0463c1ef
PE
11162013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1117
1118 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1119 The hack didn't work outside English locales anyway.
1120
b43f6451
JB
11212013-07-15 Juanma Barranquero <lekktu@gmail.com>
1122
1123 * simple.el (define-alternatives): Rename from alternatives-define,
1124 per RMS' suggestion.
1125
b958c0ad
JB
11262013-07-14 Juanma Barranquero <lekktu@gmail.com>
1127
1128 * desktop.el (desktop-restore-frames): Change default to t.
1129 (desktop-restore-in-current-display): Now offer more options.
1130 (desktop-restoring-reuses-frames): New customization option.
1131 (desktop--saved-states): Doc fix.
1132 (desktop-filter-parameters-alist): New variable, renamed and expanded
1133 from desktop--excluded-frame-parameters.
1134 (desktop--target-display): New variable.
1135 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1136 (desktop--filter-tty*, desktop--filter-*-color)
1137 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1138 (desktop--filter-save-desktop-parm)
1139 (desktop-restore-in-original-display-p): New functions.
1140 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1141 (desktop--save-minibuffer-frames): New function, inspired by a similar
1142 function from Martin Rudalics.
1143 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1144 (desktop--restore-in-this-display-p): Remove.
1145 (desktop--find-frame): Rename from desktop--find-frame-in-display
1146 and add predicate argument.
1147 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1148 (desktop--reuse-list): New variable.
1149 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1150 New functions.
1151 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1152
f6dd8b36
MA
11532013-07-14 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1156
2ce3c565
DG
11572013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1158
763a086d
JB
1159 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1160 Highlight conversion methods on Kernel.
2ce3c565 1161
2cdb7698
AM
11622013-07-13 Alan Mackenzie <acm@muc.de>
1163
1164 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1165 and comment it out. This out-commenting enables certain C++
1166 declarations to be parsed correctly.
1167
1a67b811
EZ
11682013-07-13 Eli Zaretskii <eliz@gnu.org>
1169
1b796d6b
EZ
1170 * international/mule.el (define-coding-system): Doc fix.
1171
1a67b811
EZ
1172 * simple.el (default-font-height): Don't call font-info if the
1173 frame's default font didn't change since the frame was created.
1174 (Bug#14838)
1175
58fbe886
LL
11762013-07-13 Leo Liu <sdl.web@gmail.com>
1177
1178 * ido.el (ido-read-file-name): Guard against non-symbol value.
1179
1f0480d4
FEG
11802013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1181
1182 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1183 in nested defuns.
1184
97ead0e5
LL
11852013-07-13 Leo Liu <sdl.web@gmail.com>
1186
1187 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1188 ido-set-matches call. (Bug#6852)
1189
0880a952
DG
11902013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1191
1192 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1193 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1194 Ruby 2.0.
1195 (ruby-font-lock-keywords): Distinguish calls to functions with
1196 module-like names from module references. Highlight character
1197 literals.
1198
a7d8babb
SDJ
11992013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1200
1201 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 1202 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 1203
acfcc8c5
JB
12042013-07-12 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * desktop.el (desktop--v2s): Remove unused local variable.
1207 (desktop-save-buffer): Make defvar-local; adjust docstring.
1208 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1209 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1210
051f2775
AS
12112013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1212
1213 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1214
f24e7572
GM
12152013-07-12 Eli Zaretskii <eliz@gnu.org>
1216
1217 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1218 (Bug#14842)
1219
539a920c
GM
12202013-07-12 Glenn Morris <rgm@gnu.org>
1221
1222 * doc-view.el: Require cl-lib at runtime too.
1223 (doc-view-remove-if): Remove.
1224 (doc-view-search-next-match, doc-view-search-previous-match):
1225 Use cl-remove-if.
1226
1227 * edmacro.el: Require cl-lib at runtime too.
1228 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1229 (edmacro-mismatch, edmacro-subseq): Remove.
1230
1231 * shadowfile.el: Require cl-lib.
1232 (shadow-remove-if): Remove.
1233 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1234 Use cl-remove-if.
1235
1236 * wid-edit.el: Require cl-lib.
1237 (widget-choose): Use cl-remove-if.
1238 (widget-remove-if): Remove.
1239
1240 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1241 (ebrowse-delete-if-not): Remove.
1242 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1243 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1244 Use cl-delete-if-not.
1245
1048af7c
JB
12462013-07-12 Juanma Barranquero <lekktu@gmail.com>
1247
1248 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1249 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1250
6c0674ee
LL
12512013-07-12 Leo Liu <sdl.web@gmail.com>
1252
1253 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1254
a19b3c2d
GM
12552013-07-11 Glenn Morris <rgm@gnu.org>
1256
4582a01c
GM
1257 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1258 (edebug-gensym-index, edebug-gensym):
1259 Remove reimplementation of cl-gensym.
1260 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1261
1262 * thumbs.el: Require cl-lib at run-time too.
1263 (thumbs-gensym-counter, thumbs-gensym):
1264 Remove reimplementation of cl-gensym.
1265 (thumbs-temp-file): Use cl-gensym.
1266
a19b3c2d
GM
1267 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1268 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1269 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1270 (ert--union, ert--gensym-counter, ert--gensym-counter)
1271 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1272 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1273 (ert-make-test-unbound, ert--expand-should-1)
1274 (ert--expand-should, ert--should-error-handle-error)
1275 (should-error, ert--explain-equal-rec)
1276 (ert--plist-difference-explanation, ert-select-tests)
1277 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1278 Use cl-lib functions rather than reimplementations.
1279
88f6a933
MA
12802013-07-11 Michael Albinus <michael.albinus@gmx.de>
1281
1282 * net/tramp.el (tramp-methods): Extend docstring.
1283 (tramp-connection-timeout): New defcustom.
1284 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1285 (with-tramp-progress-reporter): Simplify.
1286 (tramp-process-actions): Improve messages.
1287
1288 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1289 * net/tramp-sh.el (tramp-maybe-open-connection):
1290 Use `tramp-connection-timeout'.
1291 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1292 (Bug#14808)
1293
a43d577e
LL
12942013-07-11 Leo Liu <sdl.web@gmail.com>
1295
1296 * ido.el (ido-read-file-name): Conform to the requirements of
1297 read-file-name. (Bug#11861)
1298 (ido-read-directory-name): Conform to the requirements of
1299 read-directory-name.
1300
d77974bf
JB
13012013-07-11 Juanma Barranquero <lekktu@gmail.com>
1302
1303 * subr.el (delay-warning): New function.
1304
35cb8a3e
EZ
13052013-07-10 Eli Zaretskii <eliz@gnu.org>
1306
1307 * simple.el (default-line-height): New function.
1308 (line-move-partial, line-move): Use it instead of computing the
1309 line height inline.
1310 (line-move-partial): Always compute ROWH. If the last line is
1311 partially-visible, but its text is completely visible, allow
1312 cursor to enter such a partially-visible line.
1313
525c5c77
MA
13142013-07-10 Michael Albinus <michael.albinus@gmx.de>
1315
1316 Improve error messages. (Bug#14808)
1317
1318 * net/tramp.el (tramp-current-connection): New defvar, moved from
1319 tramp-sh.el.
0ac26976 1320 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 1321 needed anymore.
0ac26976
SM
1322 (tramp-error-with-buffer): Show message in minibuffer.
1323 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
1324 (with-tramp-progress-reporter): Improve messages.
1325 (tramp-process-actions): Use progress reporter. Delete process in
1326 case of error. Improve messages.
1327
763a086d
JB
1328 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1329 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 1330 (tramp-current-connection): Remove.
525c5c77
MA
1331 (tramp-maybe-open-connection): The car of
1332 `tramp-current-connection' are the first 3 slots of the vector.
1333
c7a4d368
TZ
13342013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1335
1336 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1337 inside continued strings.
1338
954b166e
PE
13392013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1340
1341 Timestamp fixes for undo (Bug#14824).
1342 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1343
56973319
LL
13442013-07-10 Leo Liu <sdl.web@gmail.com>
1345
1346 * files.el (require-final-newline): Allow safe local value.
1347 (Bug#14834)
1348
5550a72c
LL
13492013-07-09 Leo Liu <sdl.web@gmail.com>
1350
1351 * ido.el (ido-read-directory-name): Handle fallback.
1352 (ido-read-file-name): Update DIR to ido-current-directory.
1353 (Bug#1516)
c28b9050 1354 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 1355
70c46b28
DG
13562013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1357
1358 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1359 "autoload". Remove "warn lower camel case" section, previously
1360 commented out. Highlight negation char. Do not highlight the
1361 target in singleton method definitions.
1362
0b64b838
SM
13632013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1364
7fd72e2c
SM
1365 * faces.el (tty-setup-hook): Declare the hook.
1366
0b64b838
SM
1367 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1368 and detect when a guard/pred depends on local vars (bug#14773).
1369 (pcase--u1): Adjust caller.
1370
ab49d60b
EZ
13712013-07-08 Eli Zaretskii <eliz@gnu.org>
1372
1373 * simple.el (line-move-partial, line-move): Account for
1374 line-spacing.
701d79aa
EZ
1375 (line-move-partial): Avoid setting vscroll when the last
1376 partially-visible line in window is of default height.
ab49d60b 1377
2d756ae0
LMI
13782013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1379
1380 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1381 been used a while.
1382
ed095bd7
JB
13832013-07-07 Juanma Barranquero <lekktu@gmail.com>
1384
1385 * subr.el (read-quoted-char): Remove unused local variable `char'.
1386
f1e6674b
MK
13872013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1388
584ee3fc
GM
1389 * ediff.el (ediff-version): Version update.
1390 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1391 (ediff-merge-with-ancestor-command, ediff-directories-command)
1392 (ediff-directories3-command, ediff-merge-directories-command)
1393 (ediff-merge-directories-with-ancestor-command): New functions.
1394 All are command-line interfaces to ediff: to facilitate calling
1395 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
1396
1397 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1398 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 1399
584ee3fc
GM
1400 * viper.el (viper-version): Version update.
1401 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 1402
584ee3fc
GM
14032013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1406 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1407 (viper-intercept-ESC-key): Simplify.
1408 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1409 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1410 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1411 (viper-setup-ESC-to-escape): New functions.
1412 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1413 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 1414
9aff9b38
EZ
14152013-07-07 Eli Zaretskii <eliz@gnu.org>
1416
5165d44a
JB
1417 * simple.el (default-font-height, window-screen-lines):
1418 New functions.
9aff9b38
EZ
1419 (line-move, line-move-partial): Use them instead of
1420 frame-char-height and window-text-height. This makes scrolling
1421 text smoother when the buffer's default face uses a font that is
1422 different from the frame's default font.
1423
1afb1d07
JD
14242013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1425
1426 * files.el (write-file): Do not display confirm dialog for NS,
1427 it does its own dialog, which can't be cancelled (Bug#14578).
1428
23de972a
EZ
14292013-07-06 Eli Zaretskii <eliz@gnu.org>
1430
1431 * simple.el (line-move-partial): Adjust the row returned by
1432 posn-at-point for the current window-vscroll. (Bug#14567)
1433
54a42486
MA
14342013-07-06 Michael Albinus <michael.albinus@gmx.de>
1435
1436 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1437 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1438 spaces.
1439
34ada5f4
MR
14402013-07-06 Martin Rudalics <rudalics@gmx.at>
1441
1442 * window.el (window-state-put-stale-windows): New variable.
1443 (window--state-put-2): Save list of windows without matching buffer.
1444 (window-state-put): Remove "bufferless" windows if possible.
1445
11e03d89
JB
14462013-07-06 Juanma Barranquero <lekktu@gmail.com>
1447
1448 * simple.el (alternatives-define): Remove leftover :group keyword.
1449 Tweak docstring.
1450
3504a4be
LL
14512013-07-06 Leo Liu <sdl.web@gmail.com>
1452
1453 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1454 (ido-enable-virtual-buffers): New variable.
1455 (ido-buffer-internal, ido-toggle-virtual-buffers)
1456 (ido-make-buffer-list): Use it.
1457 (ido-exhibit): Support turning on and off virtual buffers
1458 automatically.
1459
61e56e2c
JB
14602013-07-06 Juanma Barranquero <lekktu@gmail.com>
1461
1462 * simple.el (alternatives-define): New macro.
1463
321e1a9c
SM
14642013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * subr.el (read-quoted-char): Use read-key.
1467 (sit-for): Let read-event decode tty input (bug#14782).
1468
d610f6dd
SB
14692013-07-05 Stephen Berman <stephen.berman@gmx.net>
1470
1471 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
1472 mode command and externally. Fix various related bugs.
1473 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
1474 (todo-delete-file): New command.
1475 (todo-check-file): New function.
1476 (todo-show): Handle external deletion of the file we're trying to
1477 show (bug#14688). Replace called-interactively-p by an optional
1478 prefix argument to avoid problematic interaction with catch form
1479 when byte compiled (bug#14702).
1480 (todo-quit): Handle external deletion of the archive's todo file.
1481 Make sure the buffer that was visiting the archive file is still
1482 live before trying to bury it.
1483 (todo-category-completions): Handle external deletion of any
1484 category completion files.
1485 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1486 of todo files, in case of external deletion.
1487 (todo-add-file): Replace unnecessary setq by let-binding.
1488 (todo-find-archive): Check whether there are any archives.
1489 Replace unnecessary setq by let-binding.
1490 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
1491 archive buffer whether or not the archive already exists.
1492 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
1493 check if the archive is new; if it is, update list of archives.
1494 (todo-default-todo-file): Allow nil to be a valid value for when
1495 there are no todo files.
1496 (todo-reevaluate-default-file-defcustom): Use corrected definition
1497 of todo-default-todo-file.
1498 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1499 (todo-delete-category, todo-show-categories-table)
1500 (todo-category-number): Clarify comment.
1501 (todo-filter-items): Clarify documentation string.
1502 (todo-show-current-file, todo-display-as-todo-file)
1503 (todo-reset-and-enable-done-separator): Tweak documentation string.
1504 (todo-done-separator): Make separator length window-width, since
1505 bug#2749 is now fixed.
1506
ddbdfd6f
MA
15072013-07-05 Michael Albinus <michael.albinus@gmx.de>
1508
321e1a9c
SM
1509 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1510 Support both "gvfs-monitor-dir" and "inotifywait".
1511 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
1512 `tramp-sh-file-notify-process-filter'.
1513 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1514 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1515
96eb829a
LL
15162013-07-05 Leo Liu <sdl.web@gmail.com>
1517
1518 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1519
cf13177e
YM
15202013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1521
1522 * frame.el (display-pixel-height, display-pixel-width)
1523 (display-mm-height, display-mm-width): Mention behavior on
1524 multi-monitor setups in docstrings.
1525 (w32-display-monitor-attributes-list): Declare function.
1526 (display-monitor-attributes-list): Use it.
1527
864c58ca
MA
15282013-07-04 Michael Albinus <michael.albinus@gmx.de>
1529
1530 * filenotify.el: New package.
1531
1532 * autorevert.el (top): Require filenotify.el.
1533 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1534 instead.
1535 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1536 (auto-revert-notify-handler): Use `file-notify-*' functions.
1537
1538 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1539
321e1a9c
SM
1540 * net/tramp.el (tramp-file-name-for-operation):
1541 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
1542
1543 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1544 for `file-notify-add-watch' and `file-notify-rm-watch'.
1545 (tramp-process-sentinel): Improve trace.
1546 (tramp-sh-handle-file-notify-add-watch)
1547 (tramp-sh-file-notify-process-filter)
1548 (tramp-sh-handle-file-notify-rm-watch)
1549 (tramp-get-remote-inotifywait): New defuns.
1550
96673afe
JL
15512013-07-03 Juri Linkov <juri@jurta.org>
1552
1553 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1554 call of `occur-read-primary-args' to interactive spec.
1555
1556 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1557 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1558
924494f4
MM
15592013-07-03 Matthias Meulien <orontee@gmail.com>
1560
1561 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1562 `Buffer-menu-multi-occur'. Add it to the menu.
1563 (Buffer-menu-mode): Document it in docstring.
1564 (Buffer-menu-multi-occur): New command. (Bug#14673)
1565
56f75efc
DG
15662013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1567
1568 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1569 keywords and built-ins.
1570
9b057d61
GM
15712013-07-03 Glenn Morris <rgm@gnu.org>
1572
208dee4d
GM
1573 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1574
9b057d61
GM
1575 Make info-xref checks case-sensitive by default
1576 * info.el (Info-find-node, Info-find-in-tag-table)
1577 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1578 Add option for exact case matching of nodes.
1579 * info-xref.el (info-xref): New custom group.
1580 (info-xref-case-fold): New option.
1581 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1582
e01aa29c
LL
15832013-07-03 Leo Liu <sdl.web@gmail.com>
1584
1585 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1586
3086ca2e
DG
15872013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1590 middle of block statement initially, lower the depth. Remove
1591 FIXME comment, not longer valid. Remove middle of block statement
1592 detection, no need to do that anymore since we've been using
1593 `ruby-parse-region' here.
1594
a3b49114
JD
15952013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1596
1597 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1598
08e5c823 15992013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
1600
1601 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1602
2addf922
JB
16032013-07-01 Juanma Barranquero <lekktu@gmail.com>
1604
1605 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1606 (desktop-restore-in-current-display): New customization option.
1607 (desktop--excluded-frame-parameters): Add `font'.
1608 (desktop--save-frames): Rename from desktop--save-windows.
1609 (desktop--restore-in-this-display-p): New function.
1610 (desktop--make-full-frame): Remove unwanted width/height from
1611 full(width|height) frames.
1612 (desktop--restore-frames): Rename from desktop--restore-windows.
1613 Obey desktop-restore-current-display. Do not delete old frames or
1614 select a new frame unless we were able to restore at least one frame.
1615
ef099a94
MN
16162013-06-30 Michal Nazarewicz <mina86@mina86.com>
1617
1618 * files.el (find-file-noselect): Simplify conditional expression.
1619
1620 * remember.el (remember-append-to-file):
1621 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1622
1623 Add `remember-notes' function to store random notes across Emacs
1624 restarts.
1625 * remember.el (remember-data-file): Add :set callback to affect
1626 notes buffer (if any).
1627 (remember-notes): New command.
1628 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1629 New defcustoms for the `remember-notes' function.
1630 (remember-notes-save-and-bury-buffer): New command.
1631 (remember-notes-mode-map): New variable.
1632 (remember-mode): New minor mode.
1633 (remember-notes--kill-buffer-query): New function.
1634 * startup.el (initial-buffer-choice): Add notes to custom type.
1635
0865d506
EZ
16362013-06-30 Eli Zaretskii <eliz@gnu.org>
1637
0ba54312
EZ
1638 * bindings.el (right-char, left-char): Don't call sit-for, this is
1639 no longer needed. Use arithmetic comparison only for numerical
1640 arguments.
1641
ef099a94
MN
1642 * international/mule-cmds.el (select-safe-coding-system):
1643 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 1644
2fae38e5
LMI
16452013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1646
1647 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1648 progression on degenerate tables.
ef099a94 1649 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 1650
a47cbd64
JB
16512013-06-30 Juanma Barranquero <lekktu@gmail.com>
1652
1653 Some fixes and improvements for desktop frame restoration.
1654 It is still experimental and disabled by default.
1655 * desktop.el (desktop--save-windows): Put the selected frame at
1656 the head of the list.
1657 (desktop--make-full-frame): New function.
1658 (desktop--restore-windows): Try to re-select the frame that was
1659 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
1660 just show an error message and continue. Set up maximized frames
1661 so they have default non-maximized dimensions.
a47cbd64 1662
6dbafa30
DG
16632013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1664
ef099a94
MN
1665 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1666 Don't start heredoc inside a string or comment.
6dbafa30 1667
4c672a0f
EZ
16682013-06-29 Eli Zaretskii <eliz@gnu.org>
1669
1670 * bindings.el (visual-order-cursor-movement): New defcustom.
1671 (right-char, left-char): Provide visual-order cursor motion by
1672 calling move-point-visually. Update the doc strings.
1673
50960f36
KH
16742013-06-28 Kenichi Handa <handa@gnu.org>
1675
1676 * international/mule.el (define-coding-system): New coding system
1677 properties :inhibit-null-byte-detection,
1678 :inhibit-iso-escape-detection, and :prefer-utf-8.
1679 (set-buffer-file-coding-system): If :charset-list property of
1680 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1681 appropriate for setting.
1682
c1ea3abf
JB
1683 * international/mule-cmds.el (select-safe-coding-system):
1684 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1685 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
1686
1687 * international/mule-conf.el (prefer-utf-8): New coding system.
1688 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1689 files.
1690
75dbaf9d
IK
16912013-06-28 Ivan Kanis <ivan@kanis.fr>
1692
eadb6068
IK
1693 * net/shr.el (shr-render-region): New function.
1694
75dbaf9d
IK
1695 * net/eww.el: Autoload `eww-browse-url'.
1696
9ea5cf9f
DG
16972013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1698
c1ea3abf
JB
1699 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1700 Adapt to `package-desc-version' being a list.
1701 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
1702 archive element.
1703
39c0e36f
JB
17042013-06-27 Juanma Barranquero <lekktu@gmail.com>
1705
1706 New experimental feature to save&restore window and frame setup.
1707 * desktop.el (desktop-save-windows): New defcustom.
1708 (desktop--saved-states): New var.
1709 (desktop--excluded-frame-parameters): New defconst.
1710 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1711 (desktop--restore-windows, desktop--save-windows): New functions.
1712 (desktop-save): Call `desktop--save-windows'.
1713 (desktop-read): Call `desktop--restore-windows'.
1714
7f13406b
LMI
17152013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1716
ef099a94 1717 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 1718
1e072639
SB
17192013-06-27 Stephen Berman <stephen.berman@gmx.net>
1720
1721 * info.el (Info-try-follow-nearest-node): Move search for footnote
1722 above search for node name to prevent missing a footnote (bug#14717).
1723
f3e2cbde
SB
17242013-06-27 Stephen Berman <stephen.berman@gmx.net>
1725
1726 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1727
99906aa0
LL
17282013-06-27 Leo Liu <sdl.web@gmail.com>
1729
1730 * net/eww.el (eww-read-bookmarks): Check file size.
1731
539f75f4
SM
17322013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1735 advice--pending if newdef is nil or an autoload (bug#13820).
1736 (advice-mapc): New function.
1737
843571cb
LMI
17382013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1739
1740 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1741 probably.
23a75d7f 1742 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
1743 (eww-add-bookmark): New command.
1744 (eww-bookmark-mode): New mode and commands.
a285ce99 1745 (eww-add-bookmark): Remove newlines from the title.
47fd571b 1746 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 1747
f2136e1e
GM
17482013-06-26 Glenn Morris <rgm@gnu.org>
1749
eab35f39
GM
1750 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1751 (hfy-size): Handle ttys. (Bug#14668)
1752
f2136e1e
GM
1753 * info-xref.el: Update for Texinfo 5 change in *note format.
1754 (info-xref-node-re, info-xref-note-re): New constants.
1755 (info-xref-check-buffer): Use info-xref-note-re.
1756
a49ff80c
SM
17572013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1758
a343d218
SM
1759 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1760
a49ff80c
SM
1761 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1762 nil terminate the loop (bug#14718).
1763
8308f184
LMI
17642013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1765
1766 * net/eww.el: Rework history traversal. When going forward/back,
1767 put these actions into the history, too, so that they can be
1768 replayed.
26bf2b82 1769 (eww-render): Move the history reset to the correct buffer.
8308f184 1770
ec64c273
JL
17712013-06-25 Juri Linkov <juri@jurta.org>
1772
1773 * files-x.el (modify-dir-local-variable): Change the header comment
1774 in the file with directory local variables. (Bug#14692)
1775
e080a9d7
JL
1776 * files-x.el (read-file-local-variable-value): Add `default'.
1777 (Bug#14710)
1778
bfbc93a1
IK
17792013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1780
1781 * net/eww.el (eww-make-unique-file-name): Create a unique file
1782 name before saving to entering `y' accidentally asynchronously.
1783
17842013-06-25 Ivan Kanis <ivan@kanis.fr>
1785
1786 * net/eww.el (eww-download): New command and keystroke.
1787
16f74f10
LMI
17882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1789
a49ff80c 1790 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
1791
1792 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1793 be more consistent with Info and dired.
1794
1795 * net/eww.el (eww-mode-map): Ditto.
1796
12059709
SM
17972013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1800 packages from archives.
1801 (package-archive-contents): Change format; include obsolete packages.
1802 (package-desc): Use `dir' to mark builtin packages.
1803 (package--from-builtin): Set the `dir' field to `builtin'.
1804 (generated-autoload-file, version-control): Declare.
1805 (package-compute-transaction): Change first arg and return value to be
1806 lists of package-descs. Adjust to new package-archive-contents format.
1807 (package--add-to-archive-contents): Adjust to new
1808 package-archive-contents format.
1809 (package-download-transaction): Arg is now a list of package-descs.
1810 (package-install): If `pkg' is a package name, pass it as
1811 a requirement, so it is subject to the usual (e.g. disabled) checks.
1812 (describe-package): Accept package-desc as well.
1813 (describe-package-1): Describe a specific package-desc. Add links to
1814 other package-descs for the same package name.
1815 (package-menu-describe-package): Pass the actual package-desc.
1816 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1817 works correctly.
1818 (package-desc-status): New function.
1819 (package-menu--refresh): New function, extracted
1820 from package-menu--generate.
1821 (package-menu--generate): Use it.
1822 (package-delete): Update package-alist.
1823 (package-menu-execute): Don't call package-initialize.
1824
1825 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1826 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1827 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1828 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1829 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1830 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1831
8bbdea0f
MR
18322013-06-25 Martin Rudalics <rudalics@gmx.at>
1833
1834 * window.el (window--state-get-1): Workaround for bug#14527.
1835 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1836
e82b0991
LMI
18372013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1838
1839 * net/eww.el (eww-back-url): Implement the history by stashing all
1840 the data into a list.
d3f0f918 1841 (eww-forward-url): Allow going forward in the history, too.
e82b0991 1842
c763842b
SM
18432013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1846 for values and use read--expression for expressions (bug#14710).
1847 (read-file-local-variable): Avoid setq.
1848 (read-file-local-variable-mode): Use minor-mode-list.
1849
bceff189
RW
18502013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1851
864c58ca 1852 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
1853 for DOI URLs.
1854
45f431c6
RW
18552013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1856
864c58ca 1857 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
1858 Update imenu-support when dialect changes.
1859
f42d8237
LL
18602013-06-25 Leo Liu <sdl.web@gmail.com>
1861
1862 * ido.el (ido-read-internal): Allow forward slash on windows.
1863
be549ce6
LMI
18642013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1865
1866 * net/eww.el (eww): Start of strings is \\`, not ^.
1867
71d4c19d
IK
18682013-06-24 Ivan Kanis <ivan@kanis.fr>
1869
5196f88a
IK
1870 * net/shr.el (shr-browse-url): Fix interactive spec.
1871
71d4c19d
IK
1872 * net/eww.el (eww): Add a trailing slash to domain names.
1873
ae36ca55
JB
18742013-06-24 Juanma Barranquero <lekktu@gmail.com>
1875
1876 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1877
0ebd92a3
LMI
18782013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1879
bdaa086b
LMI
1880 * net/shr.el (shr-browse-url): Use an external browser if given a
1881 prefix.
1882
c763842b 1883 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 1884
b89fc156
IK
18852013-06-24 Ivan Kanis <ivan@kanis.fr>
1886
1887 * net/eww.el (eww): Work more correctly for file: URLs.
1888 (eww-detect-charset): Allow quoted charsets.
1889 (eww-yank-page-url): New command and keystroke.
1890
18eb4bca
DU
18912013-06-24 Daiki Ueno <ueno@gnu.org>
1892
1893 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1894 file name of gpg executable.
1895 (epg-context-program): New function.
1896 (epg-context-home-directory): New function.
1897 (epg-context-set-program): New function.
1898 (epg-context-set-home-directory): New function.
1899 (epg--start): Use `epg-context-program' instead of
1900 'epg-gpg-program'.
1901 (epg--list-keys-1): Likewise.
1902
6c6268c8
LL
19032013-06-24 Leo Liu <sdl.web@gmail.com>
1904
1905 * ido.el (ido-read-internal): Fix bug#14620.
1906
5e400cb3
JB
19072013-06-23 Juanma Barranquero <lekktu@gmail.com>
1908
1909 * faces.el (face-documentation): Simplify.
1910 (read-face-attribute, tty-find-type, x-resolve-font-name):
1911 Use `string-match-p'.
1912 (list-faces-display): Use `string-match-p'. Simplify.
1913 (face-spec-recalc): Check face to avoid face alias loops.
1914 (read-color): Use `string-match-p' and non-capturing parenthesis.
1915
f3f9606c
LMI
19162013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1917
1918 * net/shr.el (shr-rescale-image): Use the new
1919 :max-width/:max-height functionality.
1920
a3ca09b9
IK
19212013-06-23 Ivan Kanis <ivan@kanis.fr>
1922
1923 * net/eww.el (eww-search-prefix): New variable.
1924 (eww): Use it.
f865b474
IK
1925 (eww-external-browser): New variable.
1926 (eww-mode-map): New keystroke.
1927 (eww-browse-with-external-browser): New command.
a3ca09b9 1928
e854cfc7
IK
1929 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1930
18bb9e21
JB
19312013-06-23 Juanma Barranquero <lekktu@gmail.com>
1932
1933 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1934 Don't skip aligning the next header field when padding is 0;
1935 otherwise, field width is not respected unless the title is as
1936 wide as the field.
1937
5b165ade
SM
19382013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * emacs-lisp/package.el (package-el-version): Remove.
1941 (package-process-define-package): Fix inf-loop.
1942 (package-install): Allow symbols as arguments again.
1943
12adebe9
DG
19442013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1945
1946 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1947 add some more keyword-like methods.
1948 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1949
388573ee
JB
19502013-06-22 Juanma Barranquero <lekktu@gmail.com>
1951
1952 * bs.el (bs-buffer-show-mark): Make defvar-local.
1953 (bs-mode): Use setq-local.
1954
1955 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1956 (emacs-lock--try-unlocking): Make defvar-local.
1957
4582a01c 19582013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 1959
2663dd23
GM
1960 * play/cookie1.el (cookie-apropos): Minor simplification.
1961
3d94f3ad
GM
1962 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1963
f72e2fdb
DG
19642013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1965
1966 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1967 `regexp-opt', it breaks the build during dumping.
1968
73eab938
DG
19692013-06-21 Dmitry Gutov <dgutov@yandex.ru>
1970
c763842b
SM
1971 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1972 Highlight keyword-like methods on Kernel and Module with
73eab938 1973 font-lock-builtin-face.
5cf8176d
DG
1974 (auto-mode-alist): Consolidate different entries into one regexp
1975 and add more *file-s.
73eab938 1976
d26255f6
SB
19772013-06-21 Stephen Berman <stephen.berman@gmx.net>
1978
1979 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1980
1981 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1982 (diary-entry): Use it in the action of this button type instead of
1983 diary-goto-entry.
1984
1985 * calendar/todo-mode.el: New version.
1986 (todo-add-category): Append new category to end of file and give
1987 it the highest number, instead of putting it at the beginning and
1988 giving it 0. Incorporate noninteractive functionality.
1989 (todo-forward-category): Adapt to 1-based category numbering.
1990 Allow skipping over archived categories.
1991 (todo-backward-category): Derive from todo-forward-category.
1992 (todo-backward-item, todo-forward-item): Make noninteractive and
1993 delegate interactive part to new commands. Make sensitive to done items.
1994 (todo-categories): Make value an alist of category names and
1995 vectors of item counts.
1996 (todo-category-beg): Make a defconst.
1997 (todo-category-number): Use 1 instead of 0 as initial value.
1998 (todo-category-select): Make sensitive to overlays, optional item
1999 highlighting and done items.
2000 (todo-delete-item): Make sensitive to overlays and marked and done items.
2001 (todo-edit-item): Make sensitive to overlays and editing of
2002 date/time header optional. Add format checks.
2003 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2004 no-op if point is not on an item. Advertise using todo-edit-quit.
2005 (todo-edit-mode): Make sensitive to new format, font-locking, and
2006 multiple todo files.
2007 (todo-insert-item, todo-insert-item-here): Derive from
2008 todo-basic-insert-item and extend functionality.
2009 (todo-item-end, todo-item-start): Make sensitive to done items.
2010 (todo-item-string): Don't return text properties. Restore point.
2011 (todo-jump-to-category): Make sensitive to multiple todo files and
2012 todo archives. Use extended category completion.
2013 (todo-lower-item, todo-raise-item): Rename to *-priority and
2014 derive from todo-set-item-priority.
2015 (todo-mode): Derive from special-mode. Make sensitive to new
2016 format, font-locking and multiple todo files. Make read-only.
2017 (todo-mode-map): Don't suppress digit keys, so they can supply
2018 prefix arguments. Add many new key bindings.
2019 (todo-prefix): Insert as an overlay instead of file text.
2020 Change semantics from diary date expression to purely visual mark.
2021 (todo-print): Rename to todo-print-buffer. Make buffer display
2022 features printable. Remove option to restrict number of items
2023 printed. Add option to print to file.
2024 (todo-print-function): Rename to todo-print-buffer-function.
2025 (todo-quit): Extend to handle exiting new todo modes.
2026 (todo-remove-item): Make sensitive to overlays.
2027 (todo-save): Extend to buffers of filtered items.
2028 (todo-show): Make sensitive to done items, multiple todo files and
2029 new todo modes. Offer to convert legacy todo file before creating
2030 first new todo file.
2031 (todo-show-priorities): Rename to todo-top-priorities.
2032 Change semantics of value 0.
2033 (todo-top-priorities): Rename to todo-filter-top-priorities,
2034 derive from todo-filter-items and extend functionality.
2035 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2036 and extend functionality to other types of filtered items.
2037 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2038 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2039 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2040 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2041 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2042 (todo-edit-mode-hook, todo-entry-prefix-function)
2043 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2044 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2045 (todo-initials, todo-insert-threshold, todo-item-string-start)
2046 (todo-line-string, todo-menu, todo-mode-hook)
2047 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2048 (todo-print-priorities, todo-remove-separator)
2049 (todo-save-top-priorities-too, todo-string-count-lines)
2050 (todo-string-multiline-p, todo-time-string-format)
2051 (todo-tmp-buffer-name): Remove.
2052 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2053 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2054 (todo-edit-category-diary-inclusion)
2055 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2056 (todo-edit-file, todo-edit-item-date-day)
2057 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2058 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2059 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2060 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2061 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2062 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2063 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2064 (todo-filter-top-priorities-multifile, todo-find-archive)
2065 (todo-find-filtered-items-file, todo-go-to-source-item)
2066 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2067 (todo-jump-to-archive-category, todo-lower-category)
2068 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2069 (todo-move-category, todo-move-item, todo-next-button)
2070 (todo-next-item, todo-padded-string, todo-powerset)
2071 (todo-previous-button, todo-previous-item)
2072 (todo-print-buffer-to-file, todo-raise-category)
2073 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2074 (todo-set-category-number, todo-set-item-priority)
2075 (todo-set-top-priorities-in-category)
2076 (todo-set-top-priorities-in-file, todo-show-categories-table)
2077 (todo-sort-categories-alphabetically-or-numerically)
2078 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2079 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2080 (todo-toggle-item-header, todo-toggle-item-highlighting)
2081 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2082 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2083 (todo-unarchive-items, todo-unmark-category): New commands.
2084 (todo-absolute-file-name, todo-add-to-buffer-list)
2085 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2086 (todo-basic-insert-item, todo-category-completions)
2087 (todo-category-number, todo-category-string-matcher-1)
2088 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2089 (todo-check-format, todo-clear-matches)
2090 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2091 (todo-current-category, todo-date-string-matcher)
2092 (todo-define-insertion-command, todo-diary-expired-matcher)
2093 (todo-diary-goto-entry, todo-diary-item-p)
2094 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2095 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2096 (todo-done-item-section-p, todo-done-separator)
2097 (todo-done-string-matcher, todo-files, todo-filter-items)
2098 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2099 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2100 (todo-insert-category-line, todo-insert-item-from-calendar)
2101 (todo-insert-sort-button, todo-insert-with-overlays)
2102 (todo-insertion-command-name, todo-insertion-key-bindings)
2103 (todo-label-to-key, todo-longest-category-name-length)
2104 (todo-make-categories-list, todo-mode-external-set)
2105 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2106 (todo-modes-set-3, todo-multiple-filter-files)
2107 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2108 (todo-read-category, todo-read-date, todo-read-dayname)
2109 (todo-read-file-name, todo-read-time)
2110 (todo-reevaluate-category-completions-files-defcustom)
2111 (todo-reevaluate-default-file-defcustom)
2112 (todo-reevaluate-filelist-defcustoms)
2113 (todo-reevaluate-filter-files-defcustom)
2114 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2115 (todo-reset-done-separator, todo-reset-done-separator-string)
2116 (todo-reset-done-string, todo-reset-global-current-todo-file)
2117 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2118 (todo-reset-prefix, todo-set-categories)
2119 (todo-set-date-from-calendar, todo-set-show-current-file)
2120 (todo-set-top-priorities, todo-short-file-name)
2121 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2122 (todo-total-item-counts, todo-update-buffer-list)
2123 (todo-update-categories-display, todo-update-categories-sexp)
2124 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2125 New functions.
2126 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2127 New major modes.
2128 (todo-categories, todo-display, todo-edit, todo-faces)
2129 (todo-filtered): New defgroups.
2130 (todo-archived-only, todo-button, todo-category-string, todo-date)
2131 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2132 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2133 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2134 (todo-add-item-if-new-category, todo-always-add-time-string)
2135 (todo-categories-align, todo-categories-archived-label)
2136 (todo-categories-category-label, todo-categories-diary-label)
2137 (todo-categories-done-label, todo-categories-number-separator)
2138 (todo-categories-todo-label, todo-categories-totals-label)
2139 (todo-category-completions-files, todo-completion-ignore-case)
2140 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2141 (todo-done-separator-string, todo-done-string)
2142 (todo-files-function, todo-filter-done-items, todo-filter-files)
2143 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2144 (todo-initial-category, todo-initial-file, todo-item-mark)
2145 (todo-legacy-date-time-regexp, todo-mode-line-function)
2146 (todo-nondiary-marker, todo-number-prefix)
2147 (todo-print-buffer-function, todo-show-current-file)
2148 (todo-show-done-only, todo-show-first, todo-show-with-done)
2149 (todo-skip-archived-categories, todo-top-priorities-overrides)
2150 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2151 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2152 New defcustoms.
2153 (todo-category-done, todo-date-pattern, todo-date-string-start)
2154 (todo-diary-items-buffer, todo-done-string-start)
2155 (todo-filtered-items-buffer, todo-item-start)
2156 (todo-month-abbrev-array, todo-month-name-array)
2157 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2158 (todo-top-priorities-buffer): New defconsts.
2159 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2160 (todo-categories-with-marks, todo-category-string-face)
2161 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2162 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2163 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2164 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2165 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2166 (todo-font-lock-keywords, todo-global-current-todo-file)
2167 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2168 (todo-insertion-commands-args)
2169 (todo-insertion-commands-args-genlist)
2170 (todo-insertion-commands-names, todo-insertion-map)
2171 (todo-key-bindings-t, todo-key-bindings-t+a)
2172 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2173 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2174 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2175 (todo-visited): New variables.
2176
cad5d1cb
GM
21772013-06-21 Glenn Morris <rgm@gnu.org>
2178
2179 * play/cookie1.el (cookie-apropos): Add optional display argument.
2180 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2181 (psychoanalyze-pinhead): Use cookie-doctor.
2182
9e277302
JB
21832013-06-21 Juanma Barranquero <lekktu@gmail.com>
2184
2185 * emacs-lisp/package.el (tar-get-file-descriptor)
2186 (tar--extract): Declare.
2187
c5b0993e
EW
21882013-06-21 Eduard Wiebe <usenet@pusto.de>
2189
2190 Extend flymake's warning predicate to be a function (bug#14217).
2191 * progmodes/flymake.el (flymake-warning-predicate): New.
2192 (flymake-parse-line): Use it.
2193 (flymake-warning-re): Make obsolete alias to
2194 `flymake-warning-predicate'.
2195
a7d2d465
SM
21962013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2199 (package-obsolete-list): Remove.
2200 (package-activate): Remove min-version argument. Add `force' argument.
2201 Adjust to new package-alist format.
2202 (package-mark-obsolete): Remove.
2203 (package-unpack): Force reload of the package's autoloads.
2204 (package-installed-p): Check builtins if the installed package is not
2205 recent enough.
2206 (package-initialize): Don't reset package-obsolete-list.
2207 Don't specify which package version to activate.
2208 (package-process-define-package, describe-package-1)
2209 (package-menu--generate): Adjust to new package-alist format.
2210
cedf5c9d
JB
22112013-06-21 Juanma Barranquero <lekktu@gmail.com>
2212
2213 * allout-widgets.el (allout-widgets-mode-off)
2214 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2215 (allout-widgets-post-command-business)
2216 (allout-widgets-after-copy-or-kill-function)
2217 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2218 (allout-decorate-item-and-context)
2219 (allout-graphics-modification-handler): Fix typos in docstrings.
2220 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2221
2222 * cmuscheme.el (scheme-start-file): Doc fix.
2223 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2224 (scheme-input-filter): Use `string-match-p'.
2225
2226 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2227
2228 * dired-x.el: Use Dired consistently in docstrings.
2229
2230 * dired.el: Use Dired consistently in docstrings.
2231 (dired-readin, dired-mode): Use `setq-local'.
2232 (dired-switches-alist): Make defvar-local.
2233 (dired-buffers-for-dir): Use `zerop'.
2234 (dired-safe-switches-p, dired-switches-escape-p)
2235 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2236 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2237 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2238 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2239 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2240 (dired-toggle-marks, dired-mark-files-containing-regexp)
2241 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2242 (dired-flag-auto-save-files, dired-flag-backup-files):
2243 Use `looking-at-p'.
2244 (dired-mark-files-regexp, dired-build-subdir-alist):
2245 Use `string-match-p', `looking-at-p'.
2246
2247 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2248 (direct-print-region-helper): Use `string-match-p'.
2249
aed838b5
LL
22502013-06-21 Leo Liu <sdl.web@gmail.com>
2251
cedf5c9d
JB
2252 * comint.el (comint-redirect-results-list-from-process):
2253 Fix infinite loop.
aed838b5 2254
d80a808f
LMI
22552013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2256
2257 * net/eww.el (eww-update-header-line-format): Quote % characters.
2258
e7a526e3
GM
22592013-06-21 Glenn Morris <rgm@gnu.org>
2260
2261 * play/cookie1.el (cookie): New custom group.
2262 (cookie-file): New option.
2263 (cookie-check-file): New function.
2264 (cookie): Make it interactive. Make start and end messages optional.
2265 Interactively, display the result. Default to cookie-file.
2266 (cookie-insert): Default to cookie-file.
2267 (cookie-snarf): Make start and end messages optional.
2268 Default to cookie-file. Use with-temp-buffer.
2269 (cookie-read): Rename from read-cookie.
2270 Make start and end messages optional. Default to cookie-file.
2271 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 2272 Do not autoload it.
e7a526e3
GM
2273 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2274 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2275
62efb35e
LL
22762013-06-21 Leo Liu <sdl.web@gmail.com>
2277
2278 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2279
21e3f963
GM
22802013-06-21 Glenn Morris <rgm@gnu.org>
2281
2282 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2283
fd846ab4
SM
22842013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2285 Daniel Hackney <dan@haxney.org>
2286
2287 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2288 Consolidate the single-file vs tarball code.
2289 (package-desc-suffix): New function.
2290 (package-desc-full-name): Don't bother inlining it.
2291 (package-load-descriptor): Return the new package-desc.
2292 (package-mark-obsolete): Remove unused arg `package'.
2293 (package-unpack): Make it work for single files as well.
2294 Make it update package-alist.
2295 (package--make-autoloads-and-stuff): Rename from
2296 package--make-autoloads-and-compile. Don't compile any more.
2297 (package--compile): New function.
2298 (package-generate-description-file): New function, extracted from
2299 package-unpack-single.
2300 (package-unpack-single): Remove.
2301 (package--with-work-buffer): Add indentation and debugging info.
2302 (package-download-single): Remove.
2303 (package-install-from-archive): Rename from package-download-tar, make
2304 it take a pkg-desc, and make it work for single files as well.
2305 (package-download-transaction): Simplify.
2306 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2307 external tar program.
2308 (package-install-from-buffer): Remove `pkg-desc' argument.
2309 Use package-tar-file-info for tar-mode buffers.
2310 (package-install-file): Simplify accordingly.
2311 (package-archive-base): Change to take a pkg-desc.
2312 * tar-mode.el (tar--check-descriptor): New function, extracted from
2313 tar-get-descriptor.
2314 (tar-get-descriptor): Use it.
2315 (tar-get-file-descriptor): New function.
2316 (tar--extract): New function, extracted from tar-extract.
2317 (tar--extract): Use it.
2318 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2319 case the summary uses non-ascii. Adjust to new calling convention of
2320 package-tar-file-info.
2321
b7deae5e
LL
23222013-06-21 Leo Liu <sdl.web@gmail.com>
2323
fd846ab4
SM
2324 * comint.el (comint-redirect-results-list-from-process):
2325 Fix random delay. (Bug#14681)
b7deae5e 2326
7a65a0b2
JB
23272013-06-21 Juanma Barranquero <lekktu@gmail.com>
2328
2329 * profiler.el (profiler-format-number): Use log, not log10.
2330
1493c2af
JB
23312013-06-20 Juanma Barranquero <lekktu@gmail.com>
2332
2333 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2334
aff6371e
SM
23352013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2338 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2339 yet available.
2340 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2341 (AUTOGENEL): ... here.
2342 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2343 (cl--defsubst-expand): Use it.
2344
89561f72
PE
23452013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2346
2347 * subr.el (log10): Move here from C code, and declare as obsolete.
2348 All uses of (log10 X) replaced with (log X 10).
2349
47199123
JB
23502013-06-20 Juanma Barranquero <lekktu@gmail.com>
2351
2352 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2353 Declare with `defvar-local'.
2354 (tabulated-list-use-header-line, tabulated-list-entries)
2355 (tabulated-list-padding, tabulated-list-printer)
2356 (tabulated-list-sort-key): Declare with `defvar-local'.
2357 (tabulated-list-init-header, tabulated-list-print-fake-header):
2358 Use `setq-local'.
2359
4a172eab
MA
23602013-06-20 Michael Albinus <michael.albinus@gmx.de>
2361
47199123
JB
2362 * arc-mode.el (archive-mode): Add `archive-write-file' to
2363 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 2364
5fc0acc0
JB
23652013-06-20 Juanma Barranquero <lekktu@gmail.com>
2366
d5b27848
JB
2367 * cus-edit.el (custom-commands): Fix typos.
2368 (custom-display): Fix tooltip text.
2369 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2370 Fix typos in docstrings.
2371 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2372 (custom-unlispify-menu-entry, custom-magic-value-create)
2373 (custom-add-see-also, custom-group-value-create): Use ?\s.
2374 (custom-guess-type, customize-apropos, editable-field)
2375 (custom-face-value-create): Use `string-match-p'.
2376 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2377
2378 * custom.el (custom-load-symbol): Use `string-match-p'.
2379
a5c581d8
JB
2380 * ansi-color.el: Convert to lexical binding.
2381 (ansi-colors): Fix URL.
2382 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2383 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2384 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2385
970ad972
G
23862013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2387
2388 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2389
2390 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2391
23922013-06-19 Tom Tromey <tromey@redhat.com>
2393
2394 * net/eww.el (eww-top-url): Remove.
2395 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2396 (eww-render): Set new variables. Don't set eww-top-url.
2397 (eww-handle-link): Handle "prev", "home", and "contents".
2398 Downcase the rel text.
2399 (eww-top-url): Choose best top URL.
2400
24012013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2402
2403 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2404 relying in widget.el. Using widget.el leads to too many
2405 user interface inconsistencies.
2406 (eww-self-insert): Implement entering commands in text fields.
2407 (eww-process-text-input): New function to make text input field editing
2408 work.
2409 (eww-submit): Rewrite to use the new-style form methods.
2410 (eww-select-display): Display the correct selected item.
2411 (eww-change-select): Implement changing the select value.
2412 (eww-toggle-checkbox): Implement radio/checkboxes.
2413 (eww-update-field): Fix compilation error.
2414 (eww-tag-textarea): Implement <textarea>.
2415
2416 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2417 we don't shadow mode-specific bindings.
2418
2419 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2420 nothing to push.
2421
2422 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2423
4582a01c 24242013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
2425
2426 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2427
15b263dc
MA
24282013-06-19 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2431 not needed.
2432
2433 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2434
8f5297f7
LMI
24352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2436
2437 * net/browse-url.el (browse-url-browser-function):
2438 `eww-browse-url' has the right calling signature, `eww' does not.
2439
011c4552
GM
24402013-06-19 Glenn Morris <rgm@gnu.org>
2441
2285bd27
GM
2442 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2443 Only eval autoloaded macros.
2444 (byte-compile-autoload): Only give the macro warning for macros.
2445
1d653303
GM
2446 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2447 (ps-underlined-faces): Declare.
2448
bdd779ec
GM
2449 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2450 (speedbar-add-supported-extension): Declare.
2451
011c4552
GM
2452 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2453 Don't include a date stamp in the header of the generated file;
2454 it leads to needless differences between output files.
2455
e59dfb0e
MA
24562013-06-19 Michael Albinus <michael.albinus@gmx.de>
2457
c763842b
SM
2458 * net/secrets.el (secrets-struct-secret-content-type):
2459 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 2460 Some servers do not offer introspection.
e59dfb0e 2461
102626e2
SM
24622013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * electric.el (electric-pair-mode): Improve interaction with
2465 electric-layout-mode.
2466 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2467 (electric-pair-syntax): Use text-mode-syntax-table in comments
2468 and strings.
2469 (electric-pair--insert): New function.
2470 (electric-pair-post-self-insert-function): Use it and
2471 electric--after-char-pos.
2472
ad528125
LL
24732013-06-19 Leo Liu <sdl.web@gmail.com>
2474
2475 * progmodes/octave.el (octave-help): Fix regexp.
2476
924d6997
G
24772013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2478
2479 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2480 (shr-table-horizontal-line): Allow nil as a value, and change the
2481 default.
2482 (shr-insert-table-ruler): Respect the nil value.
2483
24842013-06-18 Tom Tromey <tromey@barimba>
2485
2486 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2487 New defvars.
2488 (eww-open-file): New defun.
2489 (eww-render): Initialize new variables.
2490 (eww-display-html): Handle "link" and "a".
2491 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2492 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2493 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
2494 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2495 New defuns.
924d6997 2496
d1bbba4f
DG
24972013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2498
2499 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2500 Distinguish ternary operator tokens from slash symbol and slash
2501 char literal.
2502
14dd22d2
JB
25032013-06-18 Juanma Barranquero <lekktu@gmail.com>
2504
2505 Convert symbol prettification into minor mode and global minor mode.
2506
2507 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2508 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2509 (prettify-symbols--keywords): Rename from
2510 `prog-prettify-symbols-alist' and make a local defvar.
2511 (prettify-symbols--compose-symbol): Rename from
2512 `prog--prettify-font-lock-compose-symbol'.
2513 (prettify-symbols--make-keywords): Rename from
2514 `prog-prettify-font-lock-symbols-keywords' and simplify.
2515 (prog-prettify-install): Remove.
2516 (prettify-symbols-mode): New minor mode, based on
2517 `prog-prettify-install'.
2518 (turn-on-prettify-symbols-mode): New function.
2519 (global-prettify-symbols-mode): New globalized minor mode.
2520
2521 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2522 * progmodes/cfengine.el (cfengine3-mode):
2523 * progmodes/perl-mode.el (perl-mode): Don't call
2524 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2525
292c880c
JL
25262013-06-18 Juri Linkov <juri@jurta.org>
2527
2528 * files-x.el (modify-file-local-variable-message): New function.
2529 (modify-file-local-variable)
2530 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2531 and call `modify-file-local-variable-message' when it's non-nil.
2532 (add-file-local-variable, delete-file-local-variable)
2533 (add-file-local-variable-prop-line)
2534 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2535 and use it. (Bug#9820)
2536
0950aa27
JL
25372013-06-18 Juri Linkov <juri@jurta.org>
2538
2539 * emulation/vi.el (vi-shell-op):
2540 * emulation/vip.el (vip-execute-com, ex-command):
2541 * emulation/viper-cmd.el (viper-exec-bang):
2542 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2543 the call of `shell-command-on-region'. (Bug#14637)
2544
2545 * simple.el (shell-command-on-region): Doc fix.
2546
8fbcca16
SM
25472013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2550 (bug#14633).
2551
dd7426ea
GM
25522013-06-18 Glenn Morris <rgm@gnu.org>
2553
4ba54f7d
GM
2554 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2555
dd7426ea
GM
2556 * newcomment.el (comment-search-forward, comment-search-backward):
2557 Doc fix. (Bug#14376)
2558
58aa805b
JB
25592013-06-18 Juanma Barranquero <lekktu@gmail.com>
2560
2561 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2562 (buffer-face-mode-invoke): Doc fix.
2563
9a08a617
MM
25642013-06-18 Matthias Meulien <orontee@gmail.com>
2565
2566 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 2567 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 2568
f2f426ca
GM
25692013-06-18 Glenn Morris <rgm@gnu.org>
2570
9445f99b
GM
2571 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2572 Replace obsolete function generic-make-keywords with its expansion.
2573
e0df2d14
GM
2574 * progmodes/python.el (ffap-alist): Declare.
2575
f2f426ca
GM
2576 * textmodes/reftex.el (bibtex-mode-map): Declare.
2577
f7f9a720
SM
25782013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2581 (package-unpack, package-unpack-single): Return the pkg-dir.
2582 (package-download-transaction): Use it to update package-alist.
2583
57ff04e0
LMI
25842013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2585
2586 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2587 possible choice.
2588
c048c022
JL
25892013-06-17 Juri Linkov <juri@jurta.org>
2590
2591 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2592
b5bcaee5
DG
25932013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2594
a020afb9
JB
2595 * emacs-lisp/package.el (package-load-descriptor):
2596 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
2597 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2598
551e07e5
JB
25992013-06-17 Juanma Barranquero <lekktu@gmail.com>
2600
2601 * startup.el (command-line): Expand package name returned by
2602 `package--description-file' (bug#14639).
2603
d363bffb
DG
26042013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2605
2606 * emacs-lisp/package.el (package-load-descriptor): Do not call
2607 `emacs-lisp-mode', just use its syntax table.
2608
f612933b
JB
26092013-06-17 Juanma Barranquero <lekktu@gmail.com>
2610
2611 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2612 `font-lock-extra-managed-props' if any prettifying keyword is added.
2613 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2614 (prog-mode): Use `setq-local'.
2615
db3b7db5
SM
26162013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * international/characters.el (standard-case-table): Set syntax of ?»
2619 and ?« to punctuation.
2620
f3d674df
JB
26212013-06-16 Juanma Barranquero <lekktu@gmail.com>
2622
2623 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2624 Save relevant match data before calling `syntax-ppss' (bug#14595).
2625
31489a32
JL
26262013-06-15 Juri Linkov <juri@jurta.org>
2627
2628 * files-x.el (modify-file-local-variable-prop-line): Add local
2629 variables to the end of the existing comment on the first line.
2630 Use `file-auto-mode-skip' to skip interpreter magic line,
2631 and also skip XML declaration.
2632
66bd25ab
SM
26332013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * startup.el (package--builtin-versions): New var.
2636 (package-subdirectory-regexp): Remove.
2637 (package--description-file): Hard code its value instead.
2638
2639 * emacs-lisp/package.el: Don't activate packages older than builtin.
2640 (package-obsolete-list): Rename from package-obsolete-alist, and make
2641 it into a simple list of package-desc.
2642 (package-strip-version): Remove.
2643 (package-built-in-p): Use package--builtin-versions.
2644 (package-mark-obsolete): Simplify.
2645 (package-process-define-package): Mark it obsolete if older than the
2646 builtin version.
2647 (package-handle-response): Use line-end-position.
2648 (package-read-archive-contents, package--download-one-archive):
2649 Simplify.
2650 (package--add-to-archive-contents): Skip if older than the builtin or
2651 installed version.
2652 (package-menu-describe-package): Fix last change.
2653 (package-list-unversioned): New var.
2654 (package-menu--generate): Use it.
2655
2656 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2657 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2658 (autoload-builtin-package-versions): New variable.
2659 (autoload-generate-file-autoloads): Use them.
2660 Remove the list of autoloaded functions/macros from the
2661 (autoload...) comments.
2662
2663 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2664
9583ec36
EZ
26652013-06-15 Eli Zaretskii <eliz@gnu.org>
2666
2667 * simple.el (line-move-partial): Don't jump to the next screen
2668 line as soon as it becomes visible. Instead, continue enlarging
2669 the vscroll until the portion of a tall screen line that's left on
2670 display is about the height of the frame's default font.
2671 (Bug#14567)
2672
f0100d8a
GM
26732013-06-15 Glenn Morris <rgm@gnu.org>
2674
b86a85ca
GM
2675 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2676 compilation-error-regexp-alist void, or local while let-bound.
2677
f0100d8a
GM
2678 * progmodes/make-mode.el (makefile-mode-syntax-table):
2679 Treat "=" as punctuation. (Bug#14614)
2680
05e7ce90
JB
26812013-06-15 Juanma Barranquero <lekktu@gmail.com>
2682
2683 * help-fns.el (describe-variable):
2684 Add extra line for permanent-local variables.
2685
12e5e86e
SH
26862013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2687
2688 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2689 Add export, import, library. (Bug#9164)
2690 (library): Set indent function.
2691
230dcbaf
GM
26922013-06-14 Glenn Morris <rgm@gnu.org>
2693
2694 * term/xterm.el (xterm--query):
2695 Stop after first matching handler. (Bug#14615)
2696
a020afb9 26972013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
2698
2699 Add support for dired in saveplace.
2700 * dired.el (dired-initial-position-hook): New variable.
2701 (dired-initial-position): Call hook to place cursor position.
2702 * saveplace.el (save-place-to-alist): Add dired position.
2703 (save-place-dired-hook): New function.
2704
0b31660d
SM
27052013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2706
bf1e6ae8
SM
2707 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2708 through a symbol rather than letrec.
2709
1b8dff23
SM
2710 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2711 (package-desc): Add `dir' field.
2712 (package-desc-full-name): New function.
2713 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2714 (package-maybe-load-descriptor): Remove.
2715 (package-load-all-descriptors): Just call package-load-descriptor.
2716 (package--disabled-p): New function.
2717 (package-desc-vers, package-desc-doc): Remove aliases.
2718 (package--dir): Remove function.
2719 (package-activate): Check if a package is disabled.
2720 (package-process-define-package): New function, extracted from
2721 define-package.
2722 (define-package): Turn into a place holder.
2723 (package-unpack-single, package-tar-file-info):
2724 Use package--description-file.
2725 (package-compute-transaction): Use package--disabled-p.
2726 (package-download-transaction): Don't call
2727 package-maybe-load-descriptor since they're all loaded anyway.
2728 (package-install): Change argument to be a pkg-desc.
2729 (package-delete): Use a single pkg-desc argument.
2730 (describe-package-1): Use package-desc-dir instead of package--dir.
2731 Use package-desc property instead of package-symbol.
2732 (package-install-button-action): Adjust accordingly.
2733 (package--push): Rewrite.
2734 (package-menu--print-info): Adjust accordingly. Change the ID format
2735 to be a pkg-desc.
2736 (package-menu-describe-package, package-menu-get-status)
2737 (package-menu--find-upgrades, package-menu-mark-upgrades)
2738 (package-menu-execute, package-menu--name-predicate):
2739 Adjust accordingly.
2740 * startup.el (package--description-file): New function.
2741 (command-line): Use it.
2742 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2743 Use package-desc-version.
2744
0b31660d
SM
2745 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2746 (byte-compile-preprocess): Use it.
2747 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2748 can't quite recognize.
2749 (byte-compile-add-to-list): Remove.
2750 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2751 (cconv-closure-convert): Add assertion.
2752
2753 * emacs-lisp/map-ynp.el: Use lexical-binding.
2754 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2755 Factor out some repeated code.
2756
de0503df
SM
27572013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * subr.el (with-eval-after-load): New macro.
2760 (eval-after-load): Allow form to be a function.
2761 take advantage of lexical-binding.
2762 (do-after-load-evaluation): Use dolist and adjust to new format.
2763 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2764
bc5c8c5a
JL
27652013-06-13 Juri Linkov <juri@jurta.org>
2766
2767 * replace.el (perform-replace): Display "symbol " and other search
2768 modes from `isearch-message-prefix' in the *Help* buffer.
2769
2770 * isearch.el (isearch-query-replace): Add " symbol" and other
2771 possible search modes from `isearch-message-prefix' to the prompt.
2772 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2773 when reading a regexp to collect.
2774
a22289f7
JL
27752013-06-13 Juri Linkov <juri@jurta.org>
2776
2777 * isearch.el (word-search-regexp): Match whitespace if the search
2778 string begins or ends in whitespace. The LAX arg is applied to
2779 both ends of the search string. Use `regexp-quote' and explicit
2780 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2781 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2782 boundaries are replaced with symbol boundaries, and characters
2783 between symbols match non-word non-symbol syntax. (Bug#14602)
2784
cb89acab
JL
27852013-06-13 Juri Linkov <juri@jurta.org>
2786
2787 * isearch.el (isearch-del-char): Don't exceed the length of
2788 `isearch-string' by the prefix arg. (Bug#14563)
2789
6e8cfc81
JL
27902013-06-13 Juri Linkov <juri@jurta.org>
2791
2792 * isearch.el (isearch-yank-word, isearch-yank-line)
2793 (isearch-char-by-name, isearch-quote-char)
2794 (isearch-printing-char, isearch-process-search-char):
2795 Add optional count prefix arg. (Bug#14563)
2796
2797 * international/isearch-x.el
2798 (isearch-process-search-multibyte-characters):
2799 Add optional count prefix arg.
2800
c23d55f4
VS
28012013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2804 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2805 lexical-binding.
2806
28072013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2808
2809 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2810
ba947bc4
GM
28112013-06-13 Glenn Morris <rgm@gnu.org>
2812
8baeb37a
GM
2813 * startup.el (tty-handle-args):
2814 Don't just discard "--" and anything after. (Bug#14608)
2815
ba947bc4
GM
2816 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2817
9abefce4
MA
28182013-06-13 Michael Albinus <michael.albinus@gmx.de>
2819
2820 Implement changes in Secret Service API. Make it backward compatible.
2821 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2822 (secrets-create-item): Use it. Prefix properties with interface.
2823
5755011f
MH
28242013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2825
2826 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2827 (term-emulate-terminal): Respect term-suppress-hard-newline.
2828
1261d2da
S
28292013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2830
2831 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2832 Only remove a `thumb-file' overlay. (Bug#14548)
2833
868490bb
GJ
28342013-06-12 Grégoire Jadi <daimrod@gmail.com>
2835
2836 * mail/reporter.el (reporter-submit-bug-report):
2837 Handle missing package-name. (Bug#14600)
2838
79d7167f
TH
28392013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2840
2841 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2842 (reftex-citation-prompt, reftex-default-bibliography)
2843 (reftex-bib-or-thebib, reftex-get-bibfile-list)
2844 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2845 (reftex-bib-sort-author, reftex-bib-sort-year)
2846 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2847 (reftex-extract-bib-entries-from-thebibliography)
2848 (reftex-get-bibkey-default, reftex-get-bib-names)
2849 (reftex-parse-bibtex-entry, reftex-get-bib-field)
2850 (reftex-format-bib-entry, reftex-parse-bibitem)
2851 (reftex-format-bibitem, reftex-do-citation)
2852 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2853 (reftex-restrict-bib-matches, reftex-extract-bib-file)
2854 (reftex-insert-bib-matches, reftex-format-citation)
2855 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2856 (reftex-create-bibtex-file): Add docstrings, mostly by converting
2857 existing comments into docstrings.
2858
5f9dbd7a
XF
28592013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2860
2861 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2862
94df41ab
AS
28632013-06-12 Andreas Schwab <schwab@suse.de>
2864
2865 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2866 for auto-save files.
2867
a7f3fecc
GM
28682013-06-12 Glenn Morris <rgm@gnu.org>
2869
001809f6
GM
2870 * ido.el (ido-delete-ignored-files): Remove.
2871 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2872 Go back to calling ido-ignore-item-p directly.
a7f3fecc 2873
834b5ded
EL
28742013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
2875
08c73ed2
EL
2876 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2877
834b5ded
EL
2878 * ido.el (ido-delete-ignored-files): New function,
2879 split from ido-make-file-list-1.
2880 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
2881 (ido-make-file-list-1): Use ido-delete-ignored-files.
2882
daabf15a
LL
28832013-06-12 Leo Liu <sdl.web@gmail.com>
2884
2885 * progmodes/octave.el (inferior-octave-startup)
2886 (inferior-octave-completion-table)
2887 (inferior-octave-track-window-width-change)
2888 (octave-eldoc-function-signatures, octave-help)
2889 (octave-find-definition): Use single quoted strings.
2890 (inferior-octave-startup-args): Change default value.
2891 (inferior-octave-startup): Do not hard code "-i" and
2892 "--no-line-editing".
2893 (inferior-octave-resync-dirs): Add optional arg NOERROR.
2894 (inferior-octave-directory-tracker): Use it.
2895 (octave-goto-function-definition): Robustify.
2896 (octave-help): Support highlighting operators in 'See also'.
2897 (octave-find-definition): Find subfunctions only in Octave mode.
2898
cf4e5178
SM
28992013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * help-fns.el (help-fns--compiler-macro): If the handler function is
2902 named, then put a link to it.
2903 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2904 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2905 (cl-typep): Use it.
2906 (cl-eval-when): Simplify debug spec.
2907 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
2908 compiler-macro function instead of setting `compiler-macro-file'.
2909
99c81280 29102013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
2911
2912 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2913 * vc/vc-hooks.el (vc-stay-local): Doc fix.
2914
f56be016
SM
29152013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2916 Daniel Hackney <dan@haxney.org>
2917
2918 First part of Daniel Hackney's patch to package.el.
2919 * emacs-lisp/package.el: Use defstruct.
2920 (package-desc): New, main struct.
2921 (package--bi-desc, package--ac-desc): New structs, used to describe the
2922 format in external files.
2923 (package-desc-vers): Replace with package-desc-version accessor.
2924 (package-desc-doc): Replace with package-desc-summary accessor.
2925 (package-activate-1): Remove `package' arg since the pkg-vec now
2926 includes the name.
2927 (define-package): Use package-desc-from-define.
2928 (package-unpack-single): Change file-name arg to be a symbol.
2929 (package--add-to-archive-contents): Use package-desc-create and new
2930 accessor functions to package--ac-desc.
2931 (package-buffer-info, package-tar-file-info): Return a package-desc.
2932 (package-install-from-buffer): Remove `type' argument. Change pkg-info
2933 arg to be a package-desc.
2934 (package-install-file): Adjust accordingly. Use \' to match EOS.
2935 (package--from-builtin): New function.
2936 (describe-package-1, package-menu--generate): Use it.
2937 (package--make-autoloads-and-compile): Change name arg to be a symbol.
2938 (package-generate-autoloads): Idem and return the name of the file.
2939 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2940 Change pkg-info arg to be a package-desc.
2941 Use package-make-ac-desc.
2942 (package-upload-file): Use \' to match EOS.
2943 * finder.el (finder-compile-keywords): Use package-make-builtin.
2944
31119d63
SM
29452013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2946
931a2762
SM
2947 * vc/vc.el (vc-deduce-fileset): Change error message.
2948 (vc-read-backend): New function.
2949 (vc-next-action): Use it.
2950
5a3eb0c6
SM
2951 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2952
e3eb1bb7
SM
2953 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2954 (prolog-font-lock-keywords): Use regexp-opt instead.
2955 Don't manually highlight strings.
2956 (prolog-mode-variables): Simplify comment-start-skip.
2957 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
2958
31119d63
SM
2959 * emacs-lisp/generic.el (generic--normalise-comments)
2960 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2961 (generic-mode-set-comments): Use them.
2962 (generic-bracket-support): Use setq-local.
2963 (generic-make-keywords-list): Declare obsolete.
2964
7de135d0
GM
29652013-06-11 Glenn Morris <rgm@gnu.org>
2966
2967 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2968 Prettify after setting font-lock-defaults. (Bug#14574)
2969
fa6bc6fd
JB
29702013-06-11 Juanma Barranquero <lekktu@gmail.com>
2971
2972 * replace.el (query-replace, occur-read-regexp-defaults-function)
2973 (replace-search):
2974 * subr.el (declare-function, number-sequence, local-set-key)
2975 (substitute-key-definition, locate-user-emacs-file)
2976 (with-silent-modifications, split-string, eval-after-load):
2977 Fix typos, remove unneeded backslashes and reflow some docstrings.
2978
cf1f9b9a
SM
29792013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2982 default for Elisp files.
2983
56602a4b
GM
29842013-06-11 Glenn Morris <rgm@gnu.org>
2985
2986 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2987 although define-derived-mode was doing this anyway. (Bug#14583)
2988
30ae0b2c
JB
29892013-06-10 Juanma Barranquero <lekktu@gmail.com>
2990
2991 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2992 Fix make-variable-buffer-local call to refer to the correct variable.
2993
fa472906
AG
29942013-06-10 Aidan Gauland <aidalgol@amuri.net>
2995
2996 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
2997 (eshell-visual-subcommands, eshell-visual-options):
2998 Add summary line to docstrings. Add cross-references.
fa472906 2999
ff4871b9
GM
30002013-06-10 Glenn Morris <rgm@gnu.org>
3001
3002 * epa.el (epa-read-file-name): New function. (Bug#14510)
3003 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3004
04fcf1b0
AG
30052013-06-09 Aidan Gauland <aidalgol@amuri.net>
3006
3007 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3008 output redirection to be ignored with visual commands.
3009
88b00caa
AG
30102013-06-09 Aidan Gauland <aidalgol@amuri.net>
3011
3012 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
3013 (eshell-term-initialize): Move long lambda to separate function
3014 eshell-visual-command-p.
e7b41c4c
JB
3015 * eshell/em-dirs.el (eshell-dirs-initialise):
3016 * eshell/em-script.el (eshell-script-initialize):
3017 Add missing #' to lambda.
88b00caa 3018
fda74125
LL
30192013-06-08 Leo Liu <sdl.web@gmail.com>
3020
3021 * progmodes/octave.el (octave-add-log-current-defun): New function.
3022 (octave-mode): Set add-log-current-defun-function.
3023 (octave-goto-function-definition): Do not move point if not found.
3024 (octave-find-definition): Enhance to try subfunctions first.
3025
467f3b33
GM
30262013-06-08 Glenn Morris <rgm@gnu.org>
3027
3028 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3029 (byte-compile-backward-char, byte-compile-backward-word):
3030 Improve previous change, to handle non-explicit nil.
3031
544badc3
SM
30322013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3035 (smie--opener/closer-at-point): New function.
3036 (smie--matching-block-data): Use it. Don't match from right after an
3037 opener or right before a closer. Obey smie-blink-matching-inners.
3038 Don't signal a mismatch for repeated inners like "switch..case..case".
3039
a175bf33
LL
30402013-06-07 Leo Liu <sdl.web@gmail.com>
3041
3042 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3043 to t. (Bug#14303)
ce8209d4
LL
3044 (octave-function-header-regexp): Fix. (Bug#14570)
3045 (octave-help-mode-finish-hook, octave-help-mode-finish):
3046 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
3047
3048 * newcomment.el (comment-search-backward): Revert last change.
3049 (Bug#14434)
3050
3051 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3052
a822acff
EZ
30532013-06-07 Eli Zaretskii <eliz@gnu.org>
3054
3055 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3056 through xargs, to avoid failure due to MS-Windows limitations on
3057 command-line length.
3058
961166f5
GM
30592013-06-06 Glenn Morris <rgm@gnu.org>
3060
d0341459
GM
3061 * font-lock.el (lisp-font-lock-keywords-2):
3062 Treat user-error like error.
3063
961166f5
GM
3064 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3065 (byte-compile-backward-char, byte-compile-backward-word):
3066 Handle explicit nil arguments. (Bug#14565)
3067
80fa505f
AM
30682013-06-05 Alan Mackenzie <acm@muc.de>
3069
3070 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 3071 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 3072 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 3073 (Bug#9706)
80fa505f 3074
fccdc796
SM
30752013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * autorevert.el (auto-revert-notify-handler): Use memq.
3078 Hide assertion failure.
3079
3080 * skeleton.el: Use cl-lib.
3081 (skeleton-further-elements): Use defvar-local.
3082 (skeleton-insert): Use cl-progv.
3083
9bfff84b
TZ
30842013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3085
3086 * progmodes/prog-mode.el (prog-prettify-symbols)
3087 (prog-prettify-install): Update docstrings.
3088
55577e7c
SM
30892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * simple.el: Move all the prog-mode code to prog-mode.el.
3092 * progmodes/prog-mode.el: New file.
3093 * loadup.el: Add prog-mode.el.
3094
8fc57765
TZ
30952013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3096
3097 * simple.el (prog-prettify-symbols): Add version.
3098 (prog-prettify-install): Add convenience function to prettify symbols.
3099
3100 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3101 (perl--augmented-font-lock-keywords-1)
3102 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3103 variables and use it.
3104
3105 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3106 (cfengine3-mode): Remove unneeded variable and use it.
3107
3108 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3109 (lisp--augmented-font-lock-keywords-1)
3110 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3111 Remove unneeded variables and use it.
3112
650645d5 31132013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
3114
3115 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 3116 to point when opening the connection. (Bug#14380)
28f5da6d 3117
781b4af6
SM
31182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 * subr.el (load-history-regexp, load-history-filename-element)
3121 (eval-after-load, after-load-functions, do-after-load-evaluation)
3122 (eval-next-after-load, display-delayed-warnings)
3123 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3124 definition of save-match-data.
3125 (overriding-local-map): Remove accidental obsolescence declaration.
3126
3127 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3128
3ca0d0b4
TZ
31292013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3130
3131 Generalize symbol prettify support to prog-mode and implement it
3132 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3133 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3134 (prog--prettify-font-lock-compose-symbol)
3135 (prog-prettify-font-lock-symbols-keywords): New variables and
3136 functions to support symbol prettification.
3137 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3138 (lisp--augmented-font-lock-keywords-1)
3139 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3140 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3141 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
3142 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3143 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
3144 * progmodes/perl-mode.el (perl-prettify-symbols)
3145 (perl--font-lock-compose-symbol)
3146 (perl--font-lock-symbols-keywords): Move to prog-mode.
3147 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3148 (perl-font-lock-keywords-1)
3149 (perl-font-lock-keywords-2): Remove explicit prettify support.
3150 (perl--augmented-font-lock-keywords)
3151 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
3152 (perl--augmented-font-lock-keywords-2, perl-mode):
3153 Implement prettify support.
3ca0d0b4 3154
976cb066
LL
31552013-06-05 Leo Liu <sdl.web@gmail.com>
3156
3157 Re-implement smie matching block highlight using
3158 show-paren-data-function. (Bug#14395)
3159 * emacs-lisp/smie.el (smie-matching-block-highlight)
3160 (smie--highlight-matching-block-overlay)
3161 (smie--highlight-matching-block-lastpos)
3162 (smie-highlight-matching-block)
3163 (smie-highlight-matching-block-mode): Remove.
3164 (smie--matching-block-data-cache): New variable.
3165 (smie--matching-block-data): New function.
3166 (smie-setup): Use smie--matching-block-data for
3167 show-paren-data-function.
3168
3169 * progmodes/octave.el (octave-mode-menu): Fix.
3170 (octave-find-definition): Skip garbage lines.
3171
208d0342
SM
31722013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 Fix compilation error with simultaneous dynamic+lexical scoping.
3175 Add warning when a defvar appears after the first let-binding.
3176 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3177 (byte-compile-close-variables): Initialize it.
3178 (byte-compile--declare-var): New function.
3179 (byte-compile-file-form-defvar)
3180 (byte-compile-file-form-define-abbrev-table)
3181 (byte-compile-file-form-custom-declare-variable): Use it.
3182 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3183 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3184 (byte-compile-bind): Handle dynamic bindings that shadow
3185 lexical bindings.
3186 (byte-compile-unbind): Make arg non-optional.
3187 (byte-compile-let): Simplify.
3188 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3189 (cconv--analyse-function, cconv-analyse-form): Populate it.
3190 Protect byte-compile-bound-variables to limit the scope of defvars.
3191 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3192 Remove unneeded rule for `declare'.
3193
3194 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3195 so as to avoid depending on cl-adjoin at run-time.
3196 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3197
3198 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3199 (macroexp--warn-and-return): Use it.
3200
2587b005
LL
32012013-06-05 Leo Liu <sdl.web@gmail.com>
3202
3203 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3204
f1da3c88
LL
32052013-06-04 Leo Liu <sdl.web@gmail.com>
3206
3207 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3208 (compilation-auto-jump): Suppress the "Mark set" message to give
3209 way to exit message.
3210
3caa391f
AM
32112013-06-04 Alan Mackenzie <acm@muc.de>
3212
3213 Remove faulty optimisation from indentation calculation.
3214 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3215 search limit based on 2000 characters back from indent-point.
3216
068922a2
TH
32172013-06-03 Tassilo Horn <tsdh@gnu.org>
3218
3219 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3220
1f8fdd53
SM
32212013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3222
bbcc4d97
SM
3223 * emacs-lisp/lisp.el: Use lexical-binding.
3224 (lisp--local-variables-1, lisp--local-variables): New functions.
3225 (lisp--local-variables-completion-table): New var.
208d0342 3226 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 3227
1f8fdd53
SM
3228 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3229 eagerly (bug#14422).
3230
c9628c79
MA
32312013-06-03 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * autorevert.el (auto-revert-notify-enabled)
3234 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3235 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3236 (auto-revert-notify-handler): Handle also gfilenotify.
3237
e7b41c4c 3238 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 3239 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 3240 Remove.
c9628c79 3241
e5e4a942
JL
32422013-06-03 Juri Linkov <juri@jurta.org>
3243
3244 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3245 `M-s h .'. (Bug#14427)
3246
3247 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3248 command `hi-lock-face-symbol-at-point'.
3249 (hi-lock-face-symbol-at-point): New command.
3250 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3251 (hi-lock-menu): Add `highlight-symbol-at-point'.
3252 (hi-lock-mode): Doc fix.
3253
3254 * isearch.el (isearch-forward-symbol-at-point): New command.
3255 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3256 (isearch-highlight-regexp): Add a regexp which matches
3257 words/symbols for word/symbol mode.
3258
3259 * subr.el (find-tag-default-bounds): New function with the body
3260 mostly moved from `find-tag-default'.
3261 (find-tag-default): Move most code to `find-tag-default-bounds',
3262 call it and apply `buffer-substring-no-properties' afterwards.
3263
26b3353a
TH
32642013-06-03 Tassilo Horn <tsdh@gnu.org>
3265
781b4af6
SM
3266 * eshell/em-term.el (eshell-term-initialize):
3267 Use `cl-intersection' rather than `intersection'.
26b3353a 3268
51b60f53
XF
32692013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3270
fe054b63 3271 * vc/log-view.el: Doc fix.
d3ffe17c 3272 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 3273
a0eb10b3 32742013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
3275
3276 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3277 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3278 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3279 (eieio-unbound, eieio-default-superclass)
3280 (eieio--define-field-accessors, method-static, method-before)
3281 (method-primary, method-after, method-num-lists)
3282 (method-generic-before, method-generic-primary)
3283 (method-generic-after, method-num-slots)
3284 (eieio-specialized-key-to-generic-key)
3285 (eieio--check-type, class-v, class-p)
3286 (eieio-class-name, define-obsolete-function-alias)
3287 (eieio-class-parents-fast, eieio-class-children-fast)
3288 (same-class-fast-p, class-constructor, generic-p)
3289 (generic-primary-only-p, generic-primary-only-one-p)
3290 (class-option-assoc, class-option, eieio-object-p)
3291 (class-abstract-p, class-method-invocation-order)
3292 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3293 (eieio-class-un-autoload, eieio-defclass)
3294 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3295 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3296 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3297 (eieio-defgeneric-reset-generic-form)
3298 (eieio-defgeneric-form-primary-only)
3299 (eieio-defgeneric-reset-generic-form-primary-only)
3300 (eieio-defgeneric-form-primary-only-one)
3301 (eieio-defgeneric-reset-generic-form-primary-only-one)
3302 (eieio-unbind-method-implementations)
3303 (eieio--defmethod, eieio--typep)
3304 (eieio-perform-slot-validation, eieio-validate-slot-value)
3305 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3306 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3307 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3308 (eieio-slot-name-index, eieio-class-slot-name-index)
3309 (eieio-set-defaults, eieio-initarg-to-attribute)
3310 (eieio-attribute-to-initarg, eieio-c3-candidate)
3311 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3312 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3313 (eieio-class-precedence-list, eieio-generic-call-methodname)
3314 (eieio-generic-call-arglst, eieio-generic-call-key)
3315 (eieio-generic-call-next-method-list)
3316 (eieio-pre-method-execution-functions, eieio-generic-call)
3317 (eieio-generic-call-primary-only, eieiomt-method-list)
3318 (eieiomt-optimizing-obarray, eieiomt-install)
3319 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3320 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 3321 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
3322 (defclass): Remove `eval-and-compile' from macro.
3323 (call-next-method, shared-initialize): Instead of using
3324 `scoped-class' variable, use new eieio--scoped-class, and
3325 eieio--with-scoped-class.
3326 (initialize-instance): Rename local variable 'scoped-class' to
3327 'this-class' to remove ambiguitity from old global.
3328
3329 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3330 eieio.el.
4f405069
JB
3331 (eieio--scoped-class-stack): New variable.
3332 (eieio--scoped-class): New fcn.
890f7890
DE
3333 (eieio--with-scoped-class): New scoping macro.
3334 (eieio-defclass): Use pushnew instead of add-to-list.
3335 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3336 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3337 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3338 `scoped-class' variable, use new eieio--scoped-class, and
3339 eieio--with-scoped-class.
3340
3341 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3342
d105b0e2
TH
33432013-06-02 Tassilo Horn <tsdh@gnu.org>
3344
3345 * eshell/esh-ext.el (eshell-external-command): Pass args to
3346 `eshell-find-interpreter'.
3347 (eshell-find-interpreter): Add new second parameter ARGS.
3348
3349 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 3350 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
3351
3352 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 3353 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
3354
3355 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3356 (eshell-visual-options): New defcustom.
3357 (eshell-escape-control-x): Adapt docstring.
3358 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3359 `eshell-visual-options' in addition to `eshell-visual-commands'.
3360 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3361
f46305c8 33622013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
3363
3364 * progmodes/python.el (python-indent-block-enders): Add break,
3365 continue and raise keywords.
3366
d870df21
GM
33672013-06-01 Glenn Morris <rgm@gnu.org>
3368
9133b82e
GM
3369 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3370
02c992ec 3371 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
3372 * progmodes/cc-cmds.el (delete-forward-p):
3373 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3374 * progmodes/cc-engine.el (buffer-syntactic-context):
3375 * progmodes/cc-fonts.el (face-property-instance):
3376 * progmodes/cc-mode.el (set-keymap-parents):
3377 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3378 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3379 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
3380 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3381 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 3382
31e7b090
GM
3383 * progmodes/cc-vars.el (other): Emacs has this widget since
3384 at least 21.1, so don't (re)define it.
3385
d870df21
GM
3386 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3387 Replace the obsolete alias pcomplete-arg-quote-list.
3388
c75c93c7
LL
33892013-06-01 Leo Liu <sdl.web@gmail.com>
3390
3391 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3392 punctuation syntax.
3393 (inferior-octave-minimal-columns)
3394 (inferior-octave-last-column-width): New variables.
3395 (inferior-octave-track-window-width-change): New function.
3396 (inferior-octave-mode): Adjust column width so that Octave output,
3397 for example from 'ls', can fit into the window nicely.
3398
973d1e12
DG
33992013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3400
3401 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3402 Highlight expansions inside regexp literals.
3403
0888c286
GM
34042013-05-31 Glenn Morris <rgm@gnu.org>
3405
e26aac1f
GM
3406 * obsolete/sym-comp.el (symbol-complete):
3407 Replace obsolete completion-annotate-function.
3408
0888c286
GM
3409 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3410
19bb8e62
DG
34112013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3412
781b4af6
SM
3413 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3414 New function, checks if point is inside a literal that allows
19bb8e62
DG
3415 expression expansion.
3416 (ruby-syntax-propertize-expansion): Use it.
3417 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3418 around the body.
3419
01dea85f
JL
34202013-05-30 Juri Linkov <juri@jurta.org>
3421
3422 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3423 to "\M-si".
3424 (isearch-invisible): New variable.
3425 (isearch-forward): Doc fix.
3426 (isearch-mode): Set `isearch-invisible'
3427 to the value of `search-invisible'.
3428 (isearch-toggle-case-fold): Doc fix.
3429 (isearch-toggle-invisible): New command.
3430 (isearch-query-replace): Let-bind `search-invisible'
3431 to the value of `isearch-invisible'.
3432 (isearch-search): Use `isearch-invisible' instead of
3433 `search-invisible'. Let-bind `search-invisible'
3434 to the value of `isearch-invisible'. (Bug#11378)
3435
ab1bdce5
JL
34362013-05-30 Juri Linkov <juri@jurta.org>
3437
3438 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3439 call when `query-flag' is nil and `search-invisible' is non-nil.
3440 (Bug#11746)
3441
d6d236e2
GM
34422013-05-30 Glenn Morris <rgm@gnu.org>
3443
8accd027
GM
3444 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3445
2a8bed1c
GM
3446 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3447 (cc-require): Suppress spurious "noruntime" warnings.
3448 (cc-require-when-compile): Use fboundp, for sake of compiler.
3449
d6d236e2
GM
3450 * progmodes/cc-mode.el: Move load of cc-vars before that of
3451 cc-langs (which in turn loads cc-vars), to quieten compiler.
3452
9190b35b
SM
34532013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * paren.el: Simplify the code.
3456 (show-paren-mode): Always start the timer.
3457 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3458 (show-paren--overlay, show-paren--overlay-1): Rename from
3459 show-paren-overlay and show-paren-overlay-1, and initialize to an
3460 overlay rather than to nil.
3461 (show-paren-function): Misc cleanup and simplifications.
3462
4f8d1cf6
SM
34632013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * paren.el (show-paren-data-function): New hook.
3466 (show-paren--default): New function, extracted from show-paren-function.
3467 (show-paren-function): Use show-paren-data-function.
3468
02d844b5
GM
34692013-05-30 Glenn Morris <rgm@gnu.org>
3470
d209d4a9
GM
3471 * ielm.el (ielm-map, ielm-complete-symbol):
3472 Use completion-at-point rather than obsolete functions.
3473 (inferior-emacs-lisp-mode): Doc fix.
3474 Set completion-at-point-functions, rather than
3475 comint-dynamic-complete-functions.
3476
2082faa6
GM
3477 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3478 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3479 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3480
dd8620de
GM
3481 * image.el (image-animated-p): Tweak definition.
3482
ceca95b1
GM
3483 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3484 (rlogin-process-connection-type): Tweak default. Add set-after.
3485 (rlogin-host): Doc fix.
3486 (rlogin): Tweak prompt.
3487 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3488
ee9f1acc
GM
3489 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3490 * progmodes/tcl.el (inferior-tcl-mode-map):
3491 Use completion-at-point rather than obsolete alias.
3492
45ce222e
GM
3493 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3494
02d844b5
GM
3495 * minibuffer.el (read-file-name-completion-ignore-case):
3496 Move before completion--in-region, for eager macro expansion.
3497
ac44d6c1
JL
34982013-05-29 Juri Linkov <juri@jurta.org>
3499
3500 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3501 for total count of matching lines. Add `global-matches' for total
3502 count of matches. Rename `matches' to `lines' for count of
3503 matching lines. Add `matches' for count of matches.
3504 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3505 to `prev-line' for line number of prev match endpt.
3506 Increment `matches' for every match. Print the number of
3507 matching lines in the header.
3508 (occur-context-lines): Rename `lines' to `curr-line'.
3509 Rename `prev-lines' to `prev-line'. (Bug#14017)
3510
3c9c9d38
JL
35112013-05-29 Juri Linkov <juri@jurta.org>
3512
3513 * replace.el (perform-replace): Add `skip-read-only-count',
3514 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3515 Increment them for corresponding conditions and report the number
3516 of skipped occurrences in the final message. (Bug#11746)
3517 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3518 (replace-string, replace-regexp): Doc fix.
3519
33e249a2
SM
35202013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3521
8e399682
SM
3522 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3523
33e249a2 3524 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 3525 prog-mode-map (bug#14504).
33e249a2 3526
f236dd84
LL
35272013-05-29 Leo Liu <sdl.web@gmail.com>
3528
3529 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3530 (octave-help): Small simplification.
3531
3532 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3533 off the highlight first.
3534
3694d13f
GM
35352013-05-29 Glenn Morris <rgm@gnu.org>
3536
03983bdc
GM
3537 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3538 Handle idlwave-last-system-routine-info-cons-cell being nil.
3539
bc74a74a
GM
3540 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3541 (idlwave-write-paths): Simplify via with-temp-buffer.
3542
8b394200
GM
3543 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3544 * emulation/cua-rect.el: Also load cua-base at run time.
3545
3694d13f
GM
3546 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3547 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3548 (cperl-imenu-on-info): Require imenu.
3549
336d7284
AM
35502013-05-28 Alan Mackenzie <acm@muc.de>
3551
3552 Handle "capitalised keywords" correctly.
33e249a2 3553 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 3554
cb29c582
AG
35552013-05-28 Aidan Gauland <aidalgol@amuri.net>
3556
781b4af6 3557 * eshell/em-unix.el: Add -r option to cp.
cb29c582 3558
690e44b2
GM
35592013-05-28 Glenn Morris <rgm@gnu.org>
3560
e658d75c
GM
3561 * vc/vc-arch.el (vc-exec-after): Declare.
3562 (vc-switches): Autoload.
3563 * vc/vc-bzr.el: No need to require vc when compiling.
3564 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3565 (vc-resynch-buffer, vc-dir-refresh): Declare.
3566 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
3567 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3568 (vc-resynch-buffer): Declare.
3569 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 3570 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
3571 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3572 (grep-read-regexp, grep-read-files, grep-expand-template)
3573 (vc-dir-refresh): Declare.
3574 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3575 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3576 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
3577 * vc/vc-mtn.el (vc-exec-after): Declare.
3578 (vc-switches): Autoload.
3579 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3580 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3581 (vc-file-tree-walk): Declare.
712b9732
GM
3582 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3583 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3584 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
3585 * vc/vc-svn.el (vc-exec-after): Declare.
3586 (vc-switches, vc-setup-buffer): Autoload.
3587 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3588 Autoload.
3589 (vc-resynch-buffer): Declare.
3590
98e87fb3
GM
3591 * obsolete/fast-lock.el (byte-compile-warnings):
3592 Don't warn about obsolete features in this obsolete file.
3593
f5379553
GM
3594 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3595 Move definition before use.
3596
7a20ef83
GM
3597 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3598 (dun-unix-verbs): Remove dun-zippy.
3599 (dun-zippy): Remove function.
3600
690e44b2
GM
3601 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3602
3a52ccf7
JL
36032013-05-27 Juri Linkov <juri@jurta.org>
3604
3605 * replace.el (replace-search): New function with code moved out
3606 from `perform-replace'.
3607 (replace-highlight, replace-dehighlight): Move function definitions
3608 up closer to `replace-search'. (Bug#11746)
3609
d289938a
JL
36102013-05-27 Juri Linkov <juri@jurta.org>
3611
3612 * replace.el (perform-replace): Ignore invisible matches.
3613 In addition to checking `query-replace-skip-read-only', also
3614 filter out matches by calling `run-hook-with-args-until-failure'
3615 on `isearch-filter-predicates', and also check `search-invisible'
3616 for t or call `isearch-range-invisible'.
3617 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3618
66fc57e3
JL
36192013-05-27 Juri Linkov <juri@jurta.org>
3620
3621 * isearch.el (isearch-filter-predicates): Rename from
3622 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3623 (isearch-message-prefix): Display text from the property
3624 `isearch-message-prefix' of the currently active filters.
3625 (isearch-search): Don't compare `isearch-filter-predicate' with
3626 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3627 on `isearch-filter-predicates'. Also check `search-invisible' for t
3628 or call `isearch-range-invisible'.
3629 (isearch-filter-visible): Make obsolete.
3630 (isearch-lazy-highlight-search):
3631 Call `run-hook-with-args-until-failure' on
3632 `isearch-filter-predicates' and use `isearch-range-invisible'.
3633
3634 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3635 `isearch-filter-predicates' instead of `funcall'ing
3636 `isearch-filter-predicate'.
3637 (Info-mode): Set `Info-isearch-filter' to
3638 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3639
3640 * dired-aux.el (dired-isearch-filter-predicate-orig):
3641 Remove variable.
3642 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3643 (dired-isearch-filenames-end): Add and remove
3644 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3645 instead of changing the value of `isearch-filter-predicate'.
3646 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3647 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3648 Put property `isearch-message-prefix' to "filename " on
3649 `dired-isearch-filter-filenames'.
3650
3651 * wdired.el (wdired-change-to-wdired-mode):
3652 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3653 locally instead of changing `isearch-filter-predicate'.
3654 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3655
f1a60a0f
DG
36562013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3657
3658 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3659 return the commit hash (Bug#14459). Also set the
3660 `vc-git-detached' property.
3661 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3662 (vc-git-mode-line-string): Use the same help-echo format whether
3663 in detached mode or not, because we know the actual revision now.
3664 When in detached mode, shorten the revision to 7 chars.
3665
7f17cc40
SM
36662013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/easy-mmode.el (define-minor-mode):
3669 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3670 mode hook and provide a docstring.
3671
25c8401c
AM
36722013-05-27 Alan Mackenzie <acm@muc.de>
3673
3674 Remove spurious syntax-table text properties inserted by C-y.
3675 * progmodes/cc-mode.el (c-after-change): Also clear hard
3676 syntax-table property with value nil.
3677
dde84790
MA
36782013-05-27 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3681 when reading the events; the buffer layout shall not be changed.
3682
837fd9af
LL
36832013-05-27 Leo Liu <sdl.web@gmail.com>
3684
3685 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3686 New variable.
3687 (inferior-octave-directory-tracker): Automatically re-sync
3688 default-directory.
3689 (octave-help): Improve handling of 'See also'.
3690
4fd996b3
SM
36912013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3692
416f1802
SM
3693 * doc-view.el: Minor naming convention tweaks.
3694 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3695
4fd996b3
SM
3696 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3697 even if there's no `display' property yet (bug#14435).
3698
a052ef3b
EZ
36992013-05-25 Eli Zaretskii <eliz@gnu.org>
3700
4fd996b3 3701 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
3702
3703 * Makefile.in (custom-deps, finder-data, autoloads)
3704 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3705 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3706 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3707
c9023370
SM
37082013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3711 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 3712 Don't burp at EOB.
c9023370 3713
24d699fa
LL
37142013-05-25 Leo Liu <sdl.web@gmail.com>
3715
3716 * comint.el (comint-previous-matching-input): Do not flood the
3717 *Messages* buffer with trivial messages.
3718
17e5c0cc
SM
37192013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * progmodes/flymake.el (flymake-nop): Don't return a string.
3722 (flymake-set-at): Fix typo.
3723
3724 * simple.el (read--expression): New function, extracted from
3725 eval-expression. Set completion-at-point-functions (bug#14465).
3726 (eval-expression, eval-minibuffer): Use it.
3727
5d028165
XF
37282013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3729
3730 * progmodes/flymake.el (flymake-save-buffer-in-file)
3731 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3732 (flymake-selected-frame, flymake-log, flymake-ins-after)
3733 (flymake-set-at, flymake-get-buildfile-from-cache)
3734 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3735 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3736 Refine the doc string.
3737 (flymake-get-file-name-mode-and-masks): Reformat.
3738 (flymake-get-real-file-name-function): Fix a minor bug.
3739
7a1d7ba7
JL
37402013-05-24 Juri Linkov <juri@jurta.org>
3741
3742 * progmodes/grep.el (grep-mode-font-lock-keywords):
3743 Support =linenumber= format used by git-grep for lines with
3744 function names. (Bug#13549)
3745
650cff3d
SM
37462013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3749 0 after a semi-colon; it works better for smie-auto-fill.
3750 (octave--indent-new-comment-line): New function.
3751 (octave-indent-new-comment-line): Use it (indirectly).
3752 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3753 modify comment-line-break-function.
3754
3755 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3756 (smie-setup): Use add-function to set it.
3757
9631677d
SS
37582013-05-24 Sam Steingold <sds@gnu.org>
3759
3760 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3761 argument (before the `interactive' argument).
3762
50105835
SM
37632013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * image-mode.el (image-mode-winprops): Add winprops to
3766 image-mode-winprops-alist before running
3767 image-mode-new-window-functions.
3768 * doc-view.el (doc-view-new-window-function): Don't delay
3769 doc-view-goto-page via timers (bug#14435).
3770
57b9823e
TH
37712013-05-24 Tassilo Horn <tsdh@gnu.org>
3772
3773 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3774 (doc-view-desktop-save-buffer): New function.
3775 (doc-view-restore-desktop-buffer): New function.
50105835
SM
3776 (desktop-buffer-mode-handlers):
3777 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
3778 handler.
3779 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3780 `desktop-save-buffer' function.
3781
91aafa16
MA
37822013-05-24 Michael Albinus <michael.albinus@gmx.de>
3783
3784 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3785 (tramp-gvfs-file-name-handler): Raise a user error when
3786 `tramp-gvfs-enabled' is nil.
3787 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3788 Do not raise a user error when loading package. (Bug#14447)
3789
ec076379
MA
3790 * net/xesam.el: Move to obsolete/.
3791
db785726
GM
37922013-05-24 Glenn Morris <rgm@gnu.org>
3793
af5c7606
GM
3794 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3795
e5d1916a
GM
3796 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3797
ded62b08
GM
3798 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3799 (Info-find-node, Man-getpage-in-background): Declare.
3800
9e614a3f
GM
3801 * mail/unrmail.el (unrmail):
3802 Replace obsolete detect-coding-with-priority.
3803
892f8ca3
GM
3804 * net/socks.el (socks-split-string): Use this rather than split-string.
3805 (socks-nslookup-host): Update for above change.
3806 (dynamic-choice, s5-dynamic-choice-match)
3807 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3808 Comment out unused code.
3809
3c291973
GM
3810 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3811 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3812 (gud-tooltip-echo-area): Make obsolete.
3813 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3814
43cc956b
GM
3815 * progmodes/js.el (js--optimize-arglist): Declare.
3816
dab49a3b
GM
3817 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3818
36b9d085
GM
3819 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3820 (ediff-window-C): Declare.
3821
e354ae76
GM
3822 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3823 Tweak requires to silence compiler.
3824
b8e57bf4
GM
3825 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3826 (he-search-string, he-tried-table, he-expand-list)
3827 (he-init-string, he-string-member, he-substitute-string)
3828 (he-reset-string): Declare.
3829
db785726
GM
3830 * obsolete/options.el (list-options): Use custom-variable-p,
3831 rather than obsolete alias.
3832
b3531901
SS
38332013-05-23 Sam Steingold <sds@gnu.org>
3834
3835 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 3836 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
3837 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3838
bdda4c66
SM
38392013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * emacs-lisp/smie.el (smie-indent-forward-token)
3842 (smie-indent-backward-token): Handle string tokens (bug#14381).
3843
c43d45f9
TH
38442013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3845
fe1eb856
RS
3846 * ielm.el (ielm-menu): New menu.
3847 (inferior-emacs-lisp-mode): Set comment-start.
96172128 3848
fe1eb856
RS
38492013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3850
3851 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3852 Fix deactivate action.
3853
3854 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3855 Add cleveref macros.
074dd971 3856
c43d45f9
TH
3857 * lisp/textmodes/reftex-parse.el
3858 (reftex-locate-bibliography-files): Accept options for
3859 bibliography commands.
3860 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3861 Add addbibresource. Basic Biblatex support.
3862
7764286e
MA
38632013-05-23 Michael Albinus <michael.albinus@gmx.de>
3864
3865 * net/tramp-gvfs.el (top):
3866 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3867 when loading package. (Bug#14447)
3868
d361bc10
GM
38692013-05-23 Glenn Morris <rgm@gnu.org>
3870
8fa23984
GM
3871 * progmodes/js.el: No need to load comint when compiling.
3872 (ring-insert, comint-send-string, comint-send-input)
3873 (comint-last-input-end, ido-chop): Declare.
3874
a5c7df1a
GM
3875 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3876 * vc/ediff-mult.el: Adjust requires.
3877 (ediff-directories-internal, ediff-directory-revisions-internal)
3878 (ediff-patch-file-internal): Declare.
3879 * vc/ediff-ptch.el: Adjust requires.
3880 (ediff-use-last-dir, ediff-buffers-internal): Declare.
3881 (ediff-find-file): Autoload.
3882 * vc/ediff-util.el: No need to load ediff when compiling.
3883 (ediff-regions-internal): Declare.
3884 * vc/ediff-wind.el: Adjust requires.
3885 (ediff-compute-toolbar-width): Define when compiling.
3886 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3887 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3888 (dired-get-filename, dired-get-marked-files)
3889 (ediff-last-dir-patch, ediff-patch-default-directory)
3890 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3891 (ediff-patch-buffer-internal): Declare.
3892
e2aec513
GM
3893 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3894 (ispell-process, ispell-buffer-local-words, lm-summary)
3895 (lm-section-start, lm-section-end): Declare.
3896 (checkdoc-ispell-init): Simplify.
3897
e68bbd7c
GM
3898 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3899 (he-string-member, he-reset-string, he-substitute-string): Declare.
3900
7efe0991
GM
3901 * eshell/em-ls.el: Adjust requires.
3902 (eshell-glob-regexp): Declare.
f87b1284
GM
3903 * eshell/em-tramp.el: Adjust requires.
3904 (eshell-parse-command): Autoload.
3905 * eshell/em-xtra.el: Adjust requires.
3906 (eshell-parse-command): Autoload.
3907 * eshell/esh-ext.el: Adjust requires.
3908 (eshell-parse-command, eshell-close-handles): Autoload.
3909 * eshell/esh-io.el: Adjust requires.
3910 (eshell-output-filter): Autoload.
3911 * eshell/esh-util.el: No need to load tramp when compiling.
3912 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3913 Declare.
3914 (eshell-parse-ange-ls): Require ange-ftp and tramp.
3915 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3916 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3917 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3918 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3919 * eshell/esh-opt.el, eshell/esh-proc.el:
3920 * eshell/esh-var.el: Adjust requires.
3921 * eshell/eshell.el: Do not require esh-util twice.
3922 (eshell-add-input-to-history): Declare.
3923 (eshell-command): Check history module is active before using it.
3924
d361bc10
GM
3925 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3926
85d090a9
LL
39272013-05-22 Leo Liu <sdl.web@gmail.com>
3928
3929 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3930
5d0acd9d
MA
39312013-05-22 Michael Albinus <michael.albinus@gmx.de>
3932
3933 * autorevert.el (auto-revert-notify-add-watch)
3934 (auto-revert-notify-handler): Add `attrib' for the inotify case,
3935 it indicates changes in file modification time.
3936
0cdffd7d
GM
39372013-05-22 Glenn Morris <rgm@gnu.org>
3938
ca5995ec
GM
3939 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3940 Always delete the autoloaded function from the noruntime and
3941 unresolved functions lists.
3942
6450907e
GM
3943 * allout.el: No need to load epa, epg, overlay when compiling.
3944 (epg-context-set-passphrase-callback, epg-list-keys)
3945 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3946 (epg-key-user-id-list): Declare.
3947
9c6906f6
GM
3948 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3949 (viper-set-parsing-style-toggling-macro)
3950 (viper-set-emacs-state-searchstyle-macros):
3951 Use called-interactively-p on Emacs.
3952 (viper-looking-back): Make it an obsolete alias. Update callers.
3953 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3954 Use looking-back rather than viper-looking-back.
3955 (viper-tmp-insert-at-eob, viper-enlarge-region)
3956 (viper-read-string-with-history, viper-register-to-point)
3957 (viper-append-to-register, viper-change-state-to-vi)
3958 (viper-backward-char-carefully, viper-forward-char-carefully)
3959 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3960 (viper-change-state-to-emacs): Declare.
3961 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3962 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3963 * emulation/viper-mous.el: Do not load viper-cmd.
3964 (viper-backward-char-carefully, viper-forward-char-carefully)
3965 (viper-forward-word, viper-adjust-window): Declare.
3966
5f70c169
GM
3967 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3968
b1b7f300
GM
3969 * progmodes/idlw-help.el (idlwave-help-fontify):
3970 Use called-interactively-p.
3971
f6ebbb46
GM
3972 * term/w32console.el (w32-get-console-codepage)
3973 (w32-get-console-output-codepage): Declare.
3974
0cdffd7d
GM
3975 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3976 Remove unnecessary declarations.
3977 (dframe-message): Doc fix.
3978
3979 * info.el (dframe-select-attached-frame, dframe-current-frame):
3980 Declare.
3981
3982 * speedbar.el (speedbar-message): Make it an obsolete alias.
3983 Update all callers.
3984 (speedbar-with-attached-buffer)
3985 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3986 (speedbar-with-writable): Use backquote.
3987 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3988 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3989 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
3990 rather than speedbar- aliases.
3991 * mail/rmail.el: Load dframe rather than speedbar when compiling.
3992 (speedbar-make-specialized-keymap, speedbar-insert-button)
3993 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
3994 (speedbar-do-function-pointer): Declare.
3995 (rmail-speedbar-button, rmail-speedbar-find-file)
3996 (rmail-speedbar-move-message):
3997 Use dframe-with-attached-buffer rather than speedbar- alias.
3998 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
3999 (dframe-message, speedbar-make-specialized-keymap)
4000 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4001 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4002 (speedbar-insert-button, dframe-select-attached-frame)
4003 (dframe-maybee-jump-to-attached-frame)
4004 (speedbar-change-initial-expansion-list)
4005 (speedbar-previously-used-expansion-list-name): Declare.
4006 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4007 Use dframe-message, dframe-with-attached-buffer rather than
4008 speedbar- aliases.
4009 (gud-sentinel): Silence compiler.
4010 * progmodes/vhdl-mode.el (speedbar-refresh)
4011 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4012 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4013 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4014 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4015 (speedbar-file-lists, speedbar-make-tag-line)
4016 (speedbar-line-directory, speedbar-goto-this-file)
4017 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4018 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4019 (speedbar-make-button, speedbar-reset-scanners)
4020 (speedbar-files-item-info, speedbar-line-text)
4021 (speedbar-find-file-in-frame, speedbar-set-timer)
4022 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4023 (speedbar-with-writable): Do not (re)define it.
4024 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4025 rather than speedbar- alias.
4026
ee44b62a
LL
40272013-05-21 Leo Liu <sdl.web@gmail.com>
4028
4029 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4030 menu items.
4031 (octave-mode): Tweak fill-nobreak-predicate.
4032 (inferior-octave-startup): Check process to avoid infinite loop.
4033 (inferior-octave): Pop to buffer first to show abornmal process
4034 exit information.
4035
640f050f
GM
40362013-05-21 Glenn Morris <rgm@gnu.org>
4037
79458038
GM
4038 * printing.el (pr-menu-bar): Define when compiling.
4039
9cc3e83f
LL
40402013-05-21 Leo Liu <sdl.web@gmail.com>
4041
4042 * progmodes/octave.el (octave-auto-fill): Remove.
4043 (octave-indent-new-comment-line): Improve.
4044 (octave-mode): Use auto fill mode through
4f405069 4045 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 4046 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 4047 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
4048 (octave-help): Show parent directory.
4049
f440830d
GM
40502013-05-21 Glenn Morris <rgm@gnu.org>
4051
4052 * files.el (dired-unmark):
4053 * progmodes/gud.el (gdb-input): Update declarations.
4054
4055 * calculator.el (electric, ehelp): No need to load when compiling.
4056 (Electric-command-loop, electric-describe-mode): Declare.
4057
4058 * doc-view.el (doc-view-current-converter-processes): Move before use.
4059
4060 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4061 Move MODE-set-explicitly definition before use.
4062
4063 * international/mule-diag.el (mule-diag):
4064 Don't use obsolete window-system-version.
4065
4066 * mail/feedmail.el (smtpmail): No need to load when compiling.
4067 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4068
4069 * mail/mail-utils.el (rfc822): No need to load when compiling.
4070 (rfc822-addresses): Autoload it.
4071 (mail-strip-quoted-names): Trivial simplification.
4072
4073 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4074 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4075
4076 * net/snmp-mode.el (tempo): Don't duplicate requires.
4077
4078 * progmodes/prolog.el (info): No need to load when compiling.
4079 (comint): Require before shell requires it.
4080 (Info-goto-node): Autoload it.
4081 (Info-follow-nearest-node): Declare.
4082 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4083
4084 * textmodes/artist.el (picture-mode-exit): Declare.
4085
4086 * textmodes/reftex-parse.el (reftex-parse-from-file):
4087 Trivial rewrite so the compiler can parse it better.
4088
b4da2cbb
LL
40892013-05-20 Leo Liu <sdl.web@gmail.com>
4090
4091 * progmodes/octave.el (octave-help-mode-map)
4092 (octave-help-mode-finish-hook): New variables.
4093 (octave-help-mode, octave-help-mode-finish): New functions.
4094 (octave-help): Use octave-help-mode.
4095
33c0f65b
GM
40962013-05-20 Glenn Morris <rgm@gnu.org>
4097
4098 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4099
1a0a0a8a
DG
41002013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4101
4102 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4103 start at point, so that expansion starting right after opening
4104 slash in a regexp is recognized.
4105 (ruby-syntax-before-regexp-re): New defvar, extracted from
4106 ruby-syntax-propertize-function. Since the value of this regexp
4107 is looked up at runtime now, we should be able to turn
4108 `ruby-syntax-methods-before-regexp' into a defcustom later.
4109 (ruby-syntax-propertize-function): Split regexp matching into two
4110 parts, for opening and closing slashes. That allows us to skip
4111 over string interpolations and support multiline regexps.
4112 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4113 for them, which calls `ruby-syntax-propertize-expansion'.
4114 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4115 call to `ruby-syntax-propertize-function'.
4116 (ruby-syntax-propertize-expansion): Extracted from
4117 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
4118 (ruby-syntax-propertize-percent-literal): Leave point right after
4119 the percent symbol, so that the expression expansion rule can
4120 propertize the contents.
462388b6
DG
4121 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4122 heredoc openers.
4123 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 4124
c1a6c0a4
JL
41252013-05-18 Juri Linkov <juri@jurta.org>
4126
4127 * man.el (Man-default-man-entry): Remove `-' from the end
4128 of the default value. (Bug#14400)
4129
8051fccd
GM
41302013-05-18 Glenn Morris <rgm@gnu.org>
4131
4132 * comint.el (comint-password-prompt-regexp):
4133 Allow "password for XXX" where XXX contains colons (eg https://...).
4134
5e80b74f
LL
41352013-05-18 Leo Liu <sdl.web@gmail.com>
4136
4137 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 4138 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
4139 (octave-source-directories): Don't check process.
4140 (octave-source-directories, octave-find-definition): Doc fix.
4141
521a54c5
GM
41422013-05-18 Glenn Morris <rgm@gnu.org>
4143
86a94b05
GM
4144 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4145 Remove backspace/delete bindings. (Bug#14392)
4146
521a54c5
GM
4147 * cus-dep.el (custom-make-dependencies): Sort the output.
4148 (custom-versions-load-alist): Convert comment to doc.
4149
42caeb89
LL
41502013-05-17 Leo Liu <sdl.web@gmail.com>
4151
4152 * newcomment.el (comment-search-backward): Stricter in finding
4153 comment start. (Bug#14303)
4154
4155 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4156 (octave-comment-start-skip): Properly anchored.
4157
e219dd97
LL
41582013-05-17 Leo Liu <sdl.web@gmail.com>
4159
fe1eb856
RS
4160 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4161 Clean up when turned off. (Bug#14395)
e219dd97
LL
4162 (smie--highlight-matching-block-overlay): No longer buffer-local.
4163 (smie-highlight-matching-block): Adjust.
4164
dc5dcb4b
PE
41652013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4166
4167 Doc string fix for "nanoseconds" (Bug#14406).
4168 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4169 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4170
1db165f0
JB
41712013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4172
4173 * calc/calc-units.el (math-extract-units): Preserve powers
4174 of units.
4175
c7a8fcac
LL
41762013-05-17 Leo Liu <sdl.web@gmail.com>
4177
4178 * subr.el (delete-consecutive-dups): New function.
4179 * ido.el (ido-set-matches-1): Use it.
4180 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4181 * ido.el (ido-remove-consecutive-dups): Remove.
4182
f678b18a
SM
41832013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4186 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4187 regexp-opt's `words'.
4188
ebfe68e8
LL
41892013-05-16 Leo Liu <sdl.web@gmail.com>
4190
4191 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4192 (smie--highlight-matching-block-overlay)
4193 (smie--highlight-matching-block-lastpos)
4194 (smie--highlight-matching-block-timer): New variables.
4195 (smie-highlight-matching-block): New function.
4196 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4197 (smie-setup): Conditionally enable smie-blink-matching-open.
4198
bc8bc17d
WS
41992013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4200
4201 Sync with upstream verilog-mode r840.
4202 * progmodes/verilog-mode.el (verilog-mode-version)
4203 (verilog-mode-release-date): Update.
4204 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4205 (verilog-sig-tieoff): Fix string error on
4206 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4207 (verilog-read-decls): Fix parameters confusing
4208 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4209
df065a0b
EZ
42102013-05-16 Eli Zaretskii <eliz@gnu.org>
4211
4212 * subr.el (reveal-filename): New function.
4213
4214 * loadup.el: Compute Emacs executable versions on MS-Windows,
4215 where executables have the .exe extension. Add a hard link
4216 emacs-XX.YY.ZZ.exe on MS-Windows.
4217
4218 * Makefile.in (XARGS_LIMIT): New variable.
4219 (custom-deps, finder-data, autoloads)
4220 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4221 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4222 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4223 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4224
2d4bf34b
LL
42252013-05-16 Leo Liu <sdl.web@gmail.com>
4226
4227 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4228 (octave-mode-menu, octave-mode-map): Remove its uses.
4229
6b9c2d85
RZ
42302013-05-16 Reto Zimmermann <reto@gnu.org>
4231
4232 Sync with upstream vhdl mode v3.34.2.
4233 * progmodes/vhdl-mode.el: Use `push' throughout.
4234 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4235 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4236 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4237 (vhdl-actual-generic-name): New option to derive actual generic name.
4238 (vhdl-port-paste-signals): Replace formal by actual generics.
4239 (vhdl-beautify): New name for old group vhdl-align. Update users.
4240 (vhdl-beautify-options): New option.
4241 (vhdl-last-input-event): New compat alias. Use throughout.
4242 (vhdl-goto-line): Replace user level function `goto-line'.
4243 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4244 vhdl-fix-statement-buffer.
4245 (vhdl-create-mode-menu): Add some entries.
4246 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4247 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4248 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4249 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4250 to force statements on one line.
4251 (vhdl-remove-trailing-spaces-region):
4252 New, split from vhdl-remove-trailing-spaces.
4253 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4254 Respect vhdl-beautify-options.
4255 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4256 (vhdl-update-sensitivity-list): Not add with index if exists without.
4257 Not include array index with signal. Ignore keywords in comments.
4258 (vhdl-get-visible-signals): Regexp tweaks.
4259 (vhdl-template-component-inst): Handle empty library.
4260 (vhdl-template-type): Add template for 'enum' type.
4261 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4262 Use vhdl-replace-string.
4263 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4264 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4265 (vhdl-speedbar-initialize): Update for above name change.
4266 (vhdl-compose-wire-components): Fix in handling of constants.
4267 (vhdl-error-regexp-emacs-alist): New variable.
4268 (vhdl-error-regexp-add-emacs): New function;
4269 adds support for new compile.el (Emacs 22+)
4270 (vhdl-generate-makefile-1): Change target order for single lib. units.
4271 Allow use of absolute file names.
4272
9df4ec5e
LL
42732013-05-16 Leo Liu <sdl.web@gmail.com>
4274
4275 * simple.el (prog-indent-sexp): Indent enclosing defun.
4276
f5ba00a6
GM
42772013-05-15 Glenn Morris <rgm@gnu.org>
4278
ed8be7ff
GM
4279 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4280 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4281 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4282 (whitespace-highlight): Move to whitespace group.
4283
4284 * comint.el (comint-source):
4285 * pcmpl-linux.el (pcmpl-linux):
4286 * shell.el (shell-faces):
4287 * eshell/esh-opt.el (eshell-opt):
4288 * international/ccl.el (ccl): Remove empty custom groups.
4289
4290 * completion.el (dynamic-completion-mode):
4291 * jit-lock.el (jit-lock-debug-mode):
4292 * minibuffer.el (completion-in-region-mode):
4293 * type-break.el (type-break-mode-line-message-mode)
4294 (type-break-query-mode):
4295 * emulation/tpu-edt.el (tpu-edt-mode):
4296 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4297 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4298 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4299
4300 * term/xterm.el (xterm): Change parent group to terminals.
4301
4302 * master.el (master): Remove empty custom group.
4303 (master-mode): Remove unused :group argument.
4304 * textmodes/refill.el (refill): Remove empty custom group.
4305 (refill-mode): Remove unused :group argument.
4306
4307 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4308
82a7c41b
GM
4309 * cus-dep.el: Provide a feature.
4310 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
4311 Don't mistakenly ignore files whose basenames match a basename
4312 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 4313 Add a fallback method for getting :group.
f5ba00a6 4314
6d65486d
JL
43152013-05-15 Juri Linkov <juri@jurta.org>
4316
da547b32
JL
4317 * isearch.el (isearch-char-by-name): Rename from
4318 `isearch-insert-char-by-name'. Doc fix.
4319 (isearch-forward): Mention `isearch-char-by-name' in
4320 the docstring. (Bug#13348)
4321
6d65486d
JL
4322 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4323 `exit-minibuffer' instead of
4324 `isearch-nonincremental-exit-minibuffer'.
4325 (isearch-edit-string): Remove mention of
4326 `isearch-nonincremental-exit-minibuffer' from docstring.
4327 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4328 (isearch-forward-exit-minibuffer)
4329 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4330
c9990474
SM
43312013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4332
6e911150
SM
4333 * loadup.el: Just use unversioned DOC.
4334
c9990474
SM
4335 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4336 literals as extending to EOB.
4337 (nxml-last-fontify-end): Remove unused variable.
4338 (nxml-after-change1): Use with-silent-modifications.
4339 (nxml-extend-after-change-region): Simplify.
4340 (nxml-extend-after-change-region1): Remove function.
4341 (nxml-after-change1): Don't adjust for dependent regions.
4342 (nxml-fontify-matcher): Simplify.
4343 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4344 (xmltok-add-dependent): Remove function.
4345 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4346 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4347 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4348 unclosed <[[, <?, comment, and other literals as extending to EOB.
4349 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4350 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4351 Remove functions.
4352 (rng-do-some-validation-1): Don't mark dependent regions.
4353 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4354 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4355 (nxml-clear-dependent-regions): Remove functions.
4356 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4357 (nxml-ensure-scan-up-to-date):
4358 Don't clear&mark dependent regions.
4359
e3772e98
LL
43602013-05-15 Leo Liu <sdl.web@gmail.com>
4361
c9990474
SM
4362 * progmodes/octave.el (octave-goto-function-definition):
4363 Improve and fix callers.
e3772e98 4364
5ac2eb34
SM
43652013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4366
c46c57b0
SM
4367 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4368 the setter (bug#14387).
4369
5ac2eb34
SM
4370 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4371 surrounding group (bug#14402).
4372
180ed218
JL
43732013-05-14 Juri Linkov <juri@jurta.org>
4374
4375 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4376 (Bug#14390)
4377
0ac0fecb
GM
43782013-05-14 Glenn Morris <rgm@gnu.org>
4379
4380 * progmodes/f90.el (f90-imenu-generic-expression):
4381 Fix typo in 2013-05-08 change. (Bug#14402)
4382
2e78e6a7
JPG
43832013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4384
5ac2eb34
SM
4385 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4386 Remove signals for which replies are never received.
2e78e6a7 4387
53267cca
JPG
43882013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4389
4390 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4391 (gdb-handler-alist, gdb-handler-number): Remove variables.
4392 (gdb-handler-list): New variable.
4393 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4394 (gdb-pending-handler-p, gdb-handle-reply)
4395 (gdb-remove-all-pending-triggers): New functions.
4396 (gdb-discard-unordered-replies): New defcustom.
4397 (gdb-handler): New defstruct.
4398 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4399 instead of gdb-pending-triggers. Update docstring.
4400 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4401 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4402 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4403 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4404 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4405 (gdb-frame-handler): Pending triggers are now automatically managed.
4406 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4407 Remove argument.
4408 (gdb-input): Automatically handles pending triggers. Update docstring.
4409 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4410 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4411 Update comments.
4412 (gdb-done-or-error): Now use gdb-handle-reply.
4413
d04ce803
JPG
44142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4415
4416 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4417 gdb-debug-log.
4418
0114073a
GM
44192013-05-14 Glenn Morris <rgm@gnu.org>
4420
4421 * subr.el (user-emacs-directory-warning): New option.
4422 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4423
4d25fd7e
LL
44242013-05-14 Leo Liu <sdl.web@gmail.com>
4425
4426 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4427 during redisplay.
4428 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
4429 (octave-font-lock-texinfo-comment): Fix invalid search bound
4430 error: wrong side of point.
4d25fd7e 4431
27c8b6eb
GM
44322013-05-14 Glenn Morris <rgm@gnu.org>
4433
61aaeb01
GM
4434 * progmodes/flymake.el (flymake-xml-program): New option.
4435 (flymake-xml-init): Use it.
4436
5bf90bc5
GM
4437 * term/xterm.el: Provide a feature.
4438
4439 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 4440
f4c7dfd2
GM
44412013-05-13 Glenn Morris <rgm@gnu.org>
4442
4443 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4444 Add compat aliases as a hack workaround. (Bug#14384)
4445
2aeb3a1d
LL
44462013-05-13 Leo Liu <sdl.web@gmail.com>
4447
b0e069c2
LL
4448 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4449 ###, and %!.
f5a9432f
LL
4450 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4451 C-M-q.
b0e069c2
LL
4452 (octave-comment-start-skip): Include %!.
4453 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 4454
30ea8374
LL
44552013-05-12 Leo Liu <sdl.web@gmail.com>
4456
4457 * progmodes/octave.el (inferior-octave-startup): Store the value
4458 of __octave_srcdir__ for octave-source-directories.
4459 (inferior-octave-check-process): New function refactored out of
4460 inferior-octave-send-list-and-digest.
4461 (octave-source-directories)
4462 (octave-find-definition-filename-function): New variables.
4463 (octave-source-directories)
4464 (octave-find-definition-default-filename): New functions.
4465 (octave-find-definition): Improve to find functions implemented in C++.
4466
472a3834
GM
44672013-05-12 Glenn Morris <rgm@gnu.org>
4468
4469 * calendar/diary-lib.el (diary-outlook-format-1):
4470 Don't include dayname in the output. (Bug#14349)
4471
3191b52f
GM
44722013-05-11 Glenn Morris <rgm@gnu.org>
4473
0060ac73
GM
4474 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4475
3191b52f
GM
4476 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4477 Treat cc-provide like provide.
4478
e065ba74
KR
44792013-05-11 Kevin Ryde <user42@zip.com.au>
4480
4481 * cus-dep.el (custom-make-dependencies):
4482 Use generated-autoload-load-name for the sake of files such
4483 such cedet/semantic/bovine/c.el, where the base file name
4484 is not in load-path. (Bug#5277)
4485
36f84c37
GM
44862013-05-11 Glenn Morris <rgm@gnu.org>
4487
4488 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4489 Provide features.
4490
c8730c3a
LL
44912013-05-11 Leo Liu <sdl.web@gmail.com>
4492
4493 * progmodes/octave.el (octave-indent-comment): Improve.
4494 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
4495 (octave-eldoc-function-signatures, octave-eldoc-function):
4496 New functions.
c8730c3a
LL
4497 (octave-mode, inferior-octave-mode): Add eldoc support.
4498
212e29f2
RS
44992013-05-11 Richard Stallman <rms@gnu.org>
4500
4501 * epa.el (epa-decrypt-file): Take output file name as argument
4502 and read it using `interactive'.
4503
083fe0d7
LL
45042013-05-11 Leo Liu <sdl.web@gmail.com>
4505
4506 * progmodes/octave.el (octave-beginning-of-line)
4507 (octave-end-of-line): Check before using up-list because it jumps
4508 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
4509 (octave-indent-comment): New function.
4510 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
4511 (octave-begin-keywords, octave-end-keywords)
4512 (octave-reserved-words, octave-smie-bnf-table)
4513 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 4514
8582e4c4
GM
45152013-05-11 Glenn Morris <rgm@gnu.org>
4516
f20def1f
GM
4517 * faces.el (internal-face-x-get-resource):
4518 * frame.el (ns-display-monitor-attributes-list):
d78abe37 4519 * calc/calc-aent.el (math-to-radians-2):
f20def1f 4520 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 4521 Fix declarations.
f20def1f 4522
445f95e2
GM
4523 * calc/calc-menu.el: Make it loadable in isolation.
4524
4525 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4526 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4527 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4528 (eudc-bbdb-query-internal): Require 'bbdb.
4529
99fb2756
GM
4530 * lpr.el (lpr-headers-switches):
4531 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4532
4533 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4534
0da7ad96
GM
4535 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4536
8582e4c4
GM
4537 * term.el (term-set-escape-char): Make it idempotent.
4538
f71c50d0
LL
45392013-05-10 Leo Liu <sdl.web@gmail.com>
4540
5ac2eb34
SM
4541 * progmodes/octave.el (inferior-octave-completion-table):
4542 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
4543 completion due to bug#11906.
4544 (octave-beginning-of-defun): Re-write to be more general.
4545
d5837773
GM
45462013-05-10 Glenn Morris <rgm@gnu.org>
4547
4548 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4549
027c0f75
SM
45502013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * comint.el (comint-redirect-send-command-to-process): Use :around
4553 rather than :override for comint-redirect-filter.
4554 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4555 Call it instead of comint-redirect-original-filter-function (which
4556 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4557
4465bfb4
JD
45582013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4559
4560 * frame.el (display-monitor-attributes-list): Add NS case.
4561 (ns-display-monitor-attributes-list): Declare.
4562
2d809ffa 45632013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
4564
4565 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4566
e54eeb9b
GM
45672013-05-09 Glenn Morris <rgm@gnu.org>
4568
56cd351d
GM
4569 * international/fontset.el (vertical-centering-font-regexp):
4570 Set standard-value.
4571
d84b6108
GM
4572 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4573
a931698a
GM
4574 * bookmark.el (bookmark-search-delay):
4575 * cus-start.el (vertical-centering-font-regexp):
4576 * ps-mule.el (ps-mule-font-info-database-default):
4577 * ps-print.el (ps-default-fg, ps-default-bg):
4578 * type-break.el (type-break-good-break-interval):
4579 * whitespace.el (whitespace-indentation-regexp)
4580 (whitespace-space-after-tab-regexp):
4581 * emacs-lisp/testcover.el (testcover-1value-functions)
4582 (testcover-noreturn-functions, testcover-progn-functions)
4583 (testcover-prog1-functions):
4584 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4585 * eshell/em-glob.el (eshell-glob-translate-alist):
4586 * play/tetris.el (tetris-tty-colors):
4587 * progmodes/cpp.el (cpp-face-default-list):
4588 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4589 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4590 (idlwave-help-browser-generic-args):
4591 * progmodes/make-mode.el (makefile-special-targets-list):
4592 * progmodes/python.el (python-shell-virtualenv-path):
4593 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4594 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4595 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4596 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4597 * textmodes/reftex-vars.el (reftex-format-label-function):
4598 * textmodes/remember.el (remember-diary-file): Fix custom types.
4599
e54eeb9b
GM
4600 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4601 Add :version.
4602
455851dd
LL
46032013-05-09 Leo Liu <sdl.web@gmail.com>
4604
4605 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 4606 Restore file completion. (Bug#14300)
455851dd
LL
4607 (inferior-octave-startup): Fix incorrect highlighting for the
4608 first prompt.
4609
a9e4425b
SM
46102013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * progmodes/ruby-mode.el: First cut at SMIE support.
4613 (ruby-use-smie): New var.
4614 (ruby-smie-grammar): New constant.
4615 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4616 (ruby-smie--forward-token, ruby-smie--backward-token)
4617 (ruby-smie-rules): New functions.
4618 (ruby-mode-variables): Setup SMIE if applicable.
4619
060ca408
EZ
46202013-05-08 Eli Zaretskii <eliz@gnu.org>
4621
4622 * simple.el (line-move-visual): Signal beginning/end of buffer
4623 only if vertical-motion moved less than it was requested. Avoids
4624 silly incorrect error messages when there are display strings with
4625 multiple newlines at EOL.
4626
1d5963cc
SM
46272013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4630 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4631 (prolog-char-quote-workaround):
4632 * progmodes/cperl-mode.el (cperl-under-as-char):
4633 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
4634 Mark as obsolete.
4635 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
4636 their declaration.
4637 (vhdl-mode-syntax-table-init): Remove.
4638
c9990474
SM
4639 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4640 last change.
1d5963cc
SM
4641
4642 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4643 syntax for "_".
4644 (ld-script-font-lock-keywords):
4645 Change regexps to use things like \_< and \_>.
4646
4647 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4648 Change all regexps to use things like \_< and \_>.
4649
4650 * progmodes/autoconf.el (autoconf-definition-regexp)
4651 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4652 Handle a _ with symbol syntax.
4653 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4654
c9990474
SM
4655 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4656 Consolidate declaration.
1d5963cc
SM
4657 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4658 the declaration.
4659 (ada-create-syntax-table): Remove.
4660 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4661 already has the right syntax nowadays.
4662 (ada-goto-next-word): Don't change the syntax of "_".
4663
4664 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4665 with-wrapper-hook.
4666
72d3cfca
SS
46672013-05-08 Sam Steingold <sds@gnu.org>
4668
4669 * thingatpt.el (thing-at-point): Accept optional second argument
4670 NO-PROPERTIES to strip the text properties from the return value.
4671 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4672 to `thing-at-point' instead of stripping the properties ourselves.
4673 Also, when `thing-at-point' fails to find a url, prepend "http://"
4674 to the filename at point on the assumption that the user is
4675 pointing at something like gnu.org/gnu.
4676
5cb15713
JB
46772013-05-08 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4680 * faces.el (crm-separator):
4681 Silence byte-compiler.
4682
4683 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4684 (tool-bar-map): Remove unneeded defvars.
4685
ea78b95b
LL
46862013-05-08 Leo Liu <sdl.web@gmail.com>
4687
4688 Re-work a fix for bug#10994 based on Le Wang's patch.
4689 * ido.el (ido-remove-consecutive-dups): New helper.
4690 (ido-completing-read): Use it.
4691 (ido-chop): Revert fix for bug#10994.
4692
dc7466df
AS
46932013-05-08 Adam Spiers <emacs@adamspiers.org>
4694
4695 * cus-edit.el (custom-save-variables):
4696 Pretty-print long values. (Bug#14187)
4697
9ecf672a
GM
46982013-05-08 Glenn Morris <rgm@gnu.org>
4699
4700 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4701 (m4-mode-syntax-table): Init in the defvar.
4702 (m4-mode-abbrev-table): Let define-derived-mode define it.
4703
3f555be8
TT
47042013-05-08 Tom Tromey <tromey@redhat.com>
4705
4706 * progmodes/m4-mode.el (m4-mode-syntax-table):
4707 Do not treat "_" as word constituent. (Bug#14167)
4708
7cc8ae06
GM
47092013-05-07 Glenn Morris <rgm@gnu.org>
4710
4f58bc06
GM
4711 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4712 Remove explicit eshell-isearch-cancel-map.
4713
7cc8ae06
GM
4714 * progmodes/f90.el (f90-smart-end-names): New option.
4715 (f90-smart-end): Doc fix.
4716 (f90-end-block-optional-name): New constant.
4717 (f90-block-match): Respect f90-smart-end-names.
4718
ceb57e59
SM
47192013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4722 about implicit semi-colons (bug#14218).
4723
4e3f9230
YM
47242013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4725
4726 * frame.el (display-monitor-attributes-list)
4727 (frame-monitor-attributes): New functions.
4728
203a5572
LL
47292013-05-06 Leo Liu <sdl.web@gmail.com>
4730
4731 * progmodes/octave.el (octave-syntax-propertize-function): Change
4732 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4733 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 4734 (octave-completion-at-point): Rename from
203a5572
LL
4735 octave-completion-at-point-function.
4736 (inferior-octave-directory-tracker): Robustify.
4737 (octave-text-functions): Remove and fix its uses. No such things
4738 any more.
4739
ee6cff99
SM
47402013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * emacs-lisp/trace.el (trace--display-buffer): New function.
4743 (trace-make-advice): Use it.
4744
32985194
JL
47452013-05-06 Juri Linkov <juri@jurta.org>
4746
4747 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4748 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4749 Doc fix.
4750 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4751 in the help string. (Bug#12985)
4752
a1c700de
KD
47532013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4754
4755 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4756
c67c0839
SM
47572013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4758
323885fd
SM
4759 * progmodes/perl-mode.el: Add support for here documents.
4760 (perl-syntax-propertize-function): Match here-doc markers.
4761 (perl-syntax-propertize-special-constructs): Find their end.
4762 (perl-imenu-generic-expression): Use [:alnum:].
4763
c67c0839
SM
4764 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4765 (advice--add-function): Refresh the advice if already present
4766 (bug#14317).
4767
d491e7a8
IA
47682013-05-06 Ivan Andrus <darthandrus@gmail.com>
4769
4770 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4771
ddf9925e
GM
47722013-05-06 Glenn Morris <rgm@gnu.org>
4773
7cc3af27
GM
4774 * w32-fns.el (w32-charset-info-alist): Declare.
4775
16e343d6
GM
4776 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4777 of its defcustom properties.
4778 (eshell-cmpl-initialize): No need to load pcomplete.
4779
7d889a47
GM
4780 * generic-x.el: No need to require comint when compiling.
4781
ddf9925e
GM
4782 * net/eudc-export.el: Make it loadable without bbdb.
4783 (top-level): Use require rather than load-library.
4784 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4785 (eudc-batch-export-records-to-bbdb)
4786 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4787 Require bbdb.
4788
1e2c18df
SM
47892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4790
4791 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4792 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4793 some tweaks, instead.
4794
02502a5f
LL
47952013-05-05 Leo Liu <sdl.web@gmail.com>
4796
4797 * progmodes/octave.el (octave-font-lock-keywords)
4798 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4799 (inferior-octave-send-list-and-digest): Improve error message.
4800 (octave-mode, inferior-octave-mode): Use setq-local.
4801 (octave-help): Set info-lookup-mode.
4802
0dc04f42
RS
48032013-05-05 Richard Stallman <rms@gnu.org>
4804
6c54491c
RS
4805 * vc/compare-w.el (compare-windows-whitespace):
4806 Treat no-break space as whitespace.
4807
0dc04f42
RS
4808 * mail/rmailsum.el (rmail-summary-rmail-update):
4809 Detect empty summary and don't change selected message.
4810 (rmail-summary-goto-msg): Likewise.
4811
df8f35df
RS
4812 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4813 Doc fixes, rename args.
4814
5356e1a3
AM
48152013-05-05 Alan Mackenzie <acm@muc.de>
4816
4817 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4818
d44014cb
JL
48192013-05-05 Juri Linkov <juri@jurta.org>
4820
4821 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4822 to not add the length of the summary segment to the return value.
4823 (Bug#14125)
4824
c129b51f
LL
48252013-05-05 Leo Liu <sdl.web@gmail.com>
4826
4827 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4828 (inferior-octave-output-filter): Remove.
4829 (octave-send-region, inferior-octave-startup): Fix callers.
4830 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4831 (octave-binary-file-extensions): New user variable.
4832 (octave-find-definition): Confirm if opening binary files.
4833 (octave-help-file): Use octave-find-definition to get the binary
4834 confirmation.
4835 (octave-help): Adjust for octave-help-file change.
4836
aa7dab97
SM
48372013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4840 Merge the two entries that handle function definitions.
4841 (pascal--syntax-propertize): New const.
4842 (pascal-mode): Use it. Use setq-local.
4843
fd3a9a6b
GM
48442013-05-04 Glenn Morris <rgm@gnu.org>
4845
4846 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4847 (diary-from-outlook): Respect diary-from-outlook-function.
4848
30c7e542
SM
48492013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4852 Move the declaration from C.
4853 (read-minibuffer, eval-minibuffer): Move from C.
4854 (completion-setup-function): Avoid minibuffer-completion-contents.
4855
b54f978b
LL
48562013-05-03 Leo Liu <sdl.web@gmail.com>
4857
4858 * progmodes/octave.el (octave-font-lock-keywords): Do not
4859 dehighlight 'end' in comments or strings.
30c7e542
SM
4860 (octave-completing-read, octave-goto-function-definition):
4861 New helpers.
d4d0f9b3
LL
4862 (octave-help-buffer): New user variable.
4863 (octave-help-file, octave-help-function): New button types.
4864 (octave-help): New command and bind it to C-h ;.
4865 (octave-find-definition): New command and bind it to M-.
d74a1581 4866 (user-error): Alias to error if not defined.
b54f978b 4867
27135018
LL
48682013-05-02 Leo Liu <sdl.web@gmail.com>
4869
4870 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4871 for \. (bug#14332)
4872 (octave-font-lock-keywords): Include [ and {.
4873
0d634d3a
LL
48742013-05-02 Leo Liu <sdl.web@gmail.com>
4875
4876 * progmodes/octave.el (inferior-octave-startup-file): Change default.
4877 (inferior-octave): Remove calling comint-mode and return the buffer.
4878 (inferior-octave-startup): Cosmetic changes.
4879
b4c8295e
LL
48802013-05-02 Leo Liu <sdl.web@gmail.com>
4881
30c7e542
SM
4882 * progmodes/octave.el (octave-syntax-propertize-function):
4883 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 4884
f12ad6ec
GM
48852013-05-02 Glenn Morris <rgm@gnu.org>
4886
4887 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4888 * desktop.el (vc-dir-mode): Just autoload it here.
4889
30cac1e0
AM
48902013-05-02 Alan Mackenzie <acm@muc.de>
4891
4892 Eliminate variable c-standard-font-lock-fontify-region-function.
4893 * progmodes/cc-mode.el
4894 (c-standard-font-lock-fontify-region-function): Remove.
4895 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4896
d8ef28b1
LL
48972013-05-01 Leo Liu <sdl.web@gmail.com>
4898
2640d52e 4899 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 4900 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 4901 variables were removed from Octave in 2007.
d8ef28b1
LL
4902 (inferior-octave-startup): Fix uses.
4903 (comint-line-beginning-position): Remove compatibility code for
4904 emacs 21.
4905
ac63ec89
JL
49062013-05-01 Juri Linkov <juri@jurta.org>
4907
4908 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
4909
9e9be37c
JL
49102013-05-01 Juri Linkov <juri@jurta.org>
4911
4912 * comint.el (comint-previous-matching-input): Don't print message
4913 "History item: %d" when `isearch-mode' is active.
4914 (comint-history-isearch-message): Print message "History item: %d"
4915 when `comint-input-ring-index' is not empty and this function is
4916 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
4917
9b92c13b
LL
49182013-05-01 Leo Liu <sdl.web@gmail.com>
4919
4920 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4921 definitions. Use completion-at-point to insert keywords.
4922 (octave-abbrev-start): Remove.
4923 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4924
b12d33d7
LL
49252013-04-30 Leo Liu <sdl.web@gmail.com>
4926
4927 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4928 change.
4929
3d1c39fa
AM
49302013-04-30 Alan Mackenzie <acm@muc.de>
4931
4932 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
4933 * progmodes/cc-engine.el (c-back-over-member-initializers):
4934 new function.
3d1c39fa
AM
4935 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4936 (most) member init lists.
4937
5147fc17
RS
49382013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4939
4940 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4941 variable.
4942
5b78d7fc
LL
49432013-04-30 Leo Liu <sdl.web@gmail.com>
4944
4945 * progmodes/octave.el (octave-variables): Remove. No builtin
4946 variables any more. All converted to functions.
4947 (octave-font-lock-keywords, octave-completion-at-point-function):
4948 Fix uses.
4949 (octave-font-lock-texinfo-comment): New user variable.
4950 (octave-texinfo-font-lock-keywords): New variable for texinfo
4951 comment block.
4952 (octave-function-comment-block): New face.
4953 (octave-font-lock-texinfo-comment): New function.
4954 (octave-mode): Font lock texinfo comment block.
4955
38d8527b
LL
49562013-04-29 Leo Liu <sdl.web@gmail.com>
4957
4958 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4959 indexing expression.
4960 (octave-continuation-string): Do not use \.
4961 (inferior-octave-complete-impossible): Remove.
4962 (inferior-octave-completion-table)
4963 (inferior-octave-completion-at-point): Remove its uses.
4964 (inferior-octave-startup): completion_matches was introduced to
4965 Octave in 1996 so safe to assume it.
4966 (octave-function-file-comment): Improve to follow how Octave does it.
4967 (octave-update-function-file-comment): Tweak.
4968
2ec12cb0
LL
49692013-04-29 Leo Liu <sdl.web@gmail.com>
4970
4971 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4972 (inferior-octave-startup): Remove inferior-octave-startup-hook.
4973 (octave-function-file-comment): Fix typo.
4974 (octave-sync-function-file-names): Use read-char-choice.
4975
6eaed048
JB
49762013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
4977
4978 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4979 to t for the less important warnings.
4980
3ffa2d4f
DH
49812013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
4982
4983 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
4984
685c9501
GM
49852013-04-27 Glenn Morris <rgm@gnu.org>
4986
4987 * vc/log-view.el (log-view-current-entry):
4988 Treat "---" separator lines as part of the following rev. (Bug#14169)
4989
0208ede7
JL
49902013-04-27 Juri Linkov <juri@jurta.org>
4991
4992 * subr.el (read-number): Doc fix about using it by interactive
4993 code letter `n'. (Bug#14254)
4994
5db9dace
JL
49952013-04-27 Juri Linkov <juri@jurta.org>
4996
4997 * desktop.el (desktop-auto-save-timeout): New option.
4998 (desktop-file-checksum): New variable.
4999 (desktop-save): Add optional arg `auto-save' and don't auto-save
5000 if nothing changed.
5001 (desktop-auto-save-timer): New variable.
5002 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5003 (after-init-hook): Call `desktop-auto-save-set-timer'.
5004 Suggested by Reuben Thomas <rrt@sc3d.org> in
5005 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5006
b7260dd4
LL
50072013-04-27 Leo Liu <sdl.web@gmail.com>
5008
5009 * progmodes/octave.el (octave-function-file-p)
5010 (octave-skip-comment-forward, octave-function-file-comment)
5011 (octave-update-function-file-comment): New functions.
5012 (octave-mode-map): Bind C-c ; to
5013 octave-update-function-file-comment.
5014 (octave-mode-menu): Add octave-update-function-file-comment.
5015 (octave-mode, inferior-octave-mode): Fix doc-string.
5016 (octave-insert-defun): Conform to Octave's coding convention.
5017 (Bug#14285)
5018
5019 * files.el (basic-save-buffer): Don't let errors in
5020 before-save-hook prevent saving buffer.
5021
c46da669
RW
50222013-04-20 Roland Winkler <winkler@gnu.org>
5023
5024 * faces.el (read-face-name): Use completing-read if arg multiple
5025 is nil.
5026
a81ee1eb
IL
50272013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5028
5029 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
5030 displayed, move point to after the totals line.
5031 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
5032 for the details.
5033
4fac34ce
SM
50342013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5037 Add current dir to the load-path.
5038 (package-generate-autoloads): Don't rely on
5039 autoload-ensure-default-file.
5040
f6bfc063
RT
50412013-04-26 Reuben Thomas <rrt@sc3d.org>
5042
d40ab5cf
BG
5043 * textmodes/remember.el (remember-store-in-files): Document that
5044 the file name format is passed to `format-time-string'.
f6bfc063 5045
e55d3b04
LL
50462013-04-26 Leo Liu <sdl.web@gmail.com>
5047
5048 * progmodes/octave.el (octave-sync-function-file-names): New function.
5049 (octave-mode): Use it in before-save-hook.
5050
e53052d3
SM
50512013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5052
140ef50c
SM
5053 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5054 (bug#14274).
5055
e53052d3
SM
5056 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5057 \n and comment, even if it's not an implicit ; (bug#14218).
5058
af80458d 50592013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
5060
5061 * subr.el (read-number): Once more use `read' rather than
5062 `string-to-number', to trap non-numeric input. (Bug#14254)
5063
af80458d 50642013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
5065
5066 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5067 Use `syntax-multiline' text property consistently instead of
8a621d53 5068 `font-lock-multiline'. (Bug#14237)
70203c2e 5069
e6ea1f6c
GM
50702013-04-26 Glenn Morris <rgm@gnu.org>
5071
5072 * emacs-lisp/shadow.el (list-load-path-shadows):
5073 No longer necessary to check for duplicate simple.el, since
5074 2012-07-07 change to init_lread to not include installation lisp
5075 directories in load-path when running uninstalled. (Bug#14270)
5076
070ccca4
LL
50772013-04-26 Leo Liu <sdl.web@gmail.com>
5078
5079 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5080 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 5081 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
5082 octave-in-string-or-comment-p.
5083 (octave-in-comment-p, octave-in-string-p)
5084 (octave-in-string-or-comment-p): Replace defsubst with defun.
5085
9d1c5fb6
PE
50862013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5087
5088 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5089
c034abda
BG
50902013-04-25 Bastien Guerry <bzg@gnu.org>
5091
5092 * textmodes/remember.el (remember-data-directory)
5093 (remember-directory-file-name-format): Fix custom types.
5094
584ea277
LL
50952013-04-25 Leo Liu <sdl.web@gmail.com>
5096
e53052d3
SM
5097 * progmodes/octave.el (octave-completion-at-point-function):
5098 Make use of inferior octave process.
584ea277
LL
5099 (octave-initialize-completions): Remove.
5100 (inferior-octave-completion-table): New function.
5101 (inferior-octave-completion-at-point): Use it.
5102 (octave-completion-alist): Remove.
5103
1693b06a
SM
51042013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5105
5106 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5107 (opascal-mode-syntax-table): New var.
5108 (opascal-literal-kind, opascal-is-literal-end)
5109 (opascal-literal-token-at): Rewrite.
5110 (opascal--literal-start-re, opascal-font-lock-keywords)
5111 (opascal--syntax-propertize): New constants.
5112 (opascal-font-lock-defaults): Adjust.
5113 (opascal-mode): Use them. Set comment-<foo> variables as well.
5114 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5115 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5116 (delphi-other-face, opascal-other-face): Remove face variables.
5117 (opascal-save-state): Remove macro.
5118 (opascal-fontifying-progress-step): Remove constant.
5119 (opascal--ignore-changes): Remove var.
5120 (opascal-set-token-property, opascal-parse-next-literal)
5121 (opascal-is-stable-literal, opascal-complete-literal)
5122 (opascal-is-literal-start, opascal-face-of)
5123 (opascal-parse-region, opascal-parse-region-until-stable)
5124 (opascal-fontify-region, opascal-after-change)
5125 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5126 (opascal-debug-parse-region, opascal-debug-parse-window)
5127 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5128 (opascal-debug-fontify-buffer): Remove.
5129 (opascal-debug-mode-map): Adjust accordingly.
5130
be64c05d
LL
51312013-04-25 Leo Liu <sdl.web@gmail.com>
5132
5133 Merge octave-mod.el and octave-inf.el into octave.el with some
5134 cleanups.
5135 * progmodes/octave.el: New file renamed from octave-mod.el.
5136 * progmodes/octave-inf.el: Merged into octave.el.
5137 * progmodes/octave-mod.el: Renamed to octave.el.
5138
d79d37bd
TH
51392013-04-25 Tassilo Horn <tsdh@gnu.org>
5140
5141 * textmodes/reftex-vars.el
5142 (reftex-label-ignored-macros-and-environments): New defcustom.
5143
5144 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5145
ced3fc5d
SM
51462013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5147
5148 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5149 (smie-indent-keyword): Improve the check to ensure that the next
5150 comment is really on the same line.
5151 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5152
5153 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5154 semi-colons if the line is not otherwise empty (bug#14218).
5155
1c141dad
GM
51562013-04-25 Glenn Morris <rgm@gnu.org>
5157
5158 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5159
5058062a
SM
51602013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * progmodes/opascal.el (opascal-set-token-property): Rename from
5163 opascal-set-text-properties and only set `token' (bug#14134).
5164 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5165 (opascal-literal-text-properties): Remove.
5166 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5167 Adjust callers.
5168
5db9dace 51692013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
5170
5171 * textmodes/remember.el (remember-handler-functions): Add an
5172 option for a new handler `remember-store-in-files'.
5173 (remember-data-directory, remember-directory-file-name-format):
5174 New options.
5175 (remember-store-in-files): New function to store remember notes
5176 as separate files within a directory.
5177
4391916c
MH
51782013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5179
5180 * progmodes/compile.el (compilation-next-error-function):
5181 Pass "formats" to compilation-find-file (bug#11777).
5182
bb7cdf58
GM
51832013-04-24 Glenn Morris <rgm@gnu.org>
5184
3b8fe752 5185 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
5186 * vc/vc-hg.el (vc-hg-print-log):
5187 * vc/vc-svn.el (vc-svn-print-log):
5188 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5189
bb7cdf58
GM
5190 * vc/vc-bzr.el (vc-bzr-print-log):
5191 * vc/vc-cvs.el (vc-cvs-print-log):
5192 * vc/vc-git.el (vc-git-print-log):
5193 * vc/vc-hg.el (vc-hg-print-log):
5194 * vc/vc-mtn.el (vc-mtn-print-log):
5195 * vc/vc-rcs.el (vc-rcs-print-log):
5196 * vc/vc-sccs.el (vc-sccs-print-log):
5197 * vc/vc-svn.el (vc-svn-print-log):
5198 * vc/vc.el (vc-print-log-internal): Doc fixes.
5199
b46a056e
GM
52002013-04-23 Glenn Morris <rgm@gnu.org>
5201
5202 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5203 Remove venerable code attempting to avoid substitute-command-keys.
5204
0aecf718
TH
52052013-04-23 Tassilo Horn <tsdh@gnu.org>
5206
4391916c
MH
5207 * textmodes/reftex-vars.el (reftex-label-regexps):
5208 Call `reftex-compile-variables' after changes to this variable.
0aecf718 5209
117f94cf
SM
52102013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5211
4391916c 5212 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
5213 Use lexical-binding.
5214 (jit-lock-force-redisplay): Use markers, check buffer's continued
5215 existence and beware narrowed buffers.
5216 (jit-lock-fontify-now): Adjust call accordingly.
5217
1d829c64
SM
52182013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5221 to avoid misleading the user.
5222
72d548a9
LL
52232013-04-22 Leo Liu <sdl.web@gmail.com>
5224
5225 * info-look.el: Prefer latex2e.info. (Bug#14240)
5226
d0853629
MA
52272013-04-22 Michael Albinus <michael.albinus@gmx.de>
5228
5229 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5230
5231 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 5232 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
5233 (tramp-set-completion-function, tramp-parse-putty):
5234 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5235 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5236 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5237 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5238 (tramp-call-local-coding-command): Use `tramp-call-process'
5239 instead of `tramp-compat-call-process'.
5240
5241 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5242 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5243 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 5244 (tramp-find-inline-compress): Improve traces.
d0853629
MA
5245 (tramp-maybe-send-script): Check for Perl binary.
5246 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5247
38cc0210
DU
52482013-04-22 Daiki Ueno <ueno@gnu.org>
5249
5250 * epg.el (epg-context-pinentry-mode): New function.
5251 (epg-context-set-pinentry-mode): New function.
5252 (epg--start): Pass --pinentry-mode option to gpg command.
5253
cc641ee1
XF
52542013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5255
02d844b5 5256 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 5257 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 5258 `completion-at-point'. (Bug#13774)
5d4e5c31 5259
cc641ee1
XF
5260 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5261 default key binding for `describe-distribution' has been moved to
5262 `C-h C-o'. (Bug#13970)
5263
1b42ee43
GM
52642013-04-21 Glenn Morris <rgm@gnu.org>
5265
5266 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5267 Add doc strings.
5268 (vc-print-log): Clarify interactive prompt.
5269
a6d63d97
GM
52702013-04-20 Glenn Morris <rgm@gnu.org>
5271
5272 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5273 No longer include timestamp etc information.
5274
d7f5c16f
RW
52752013-04-20 Roland Winkler <winkler@gnu.org>
5276
5277 * faces.el (read-face-name): Bug fix, return just one face if arg
5278 multiple is nil. (Bug#14209)
5279
bcd7a0a4
SM
52802013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5283 (remove-function): Autoload.
5284
5285 * comint.el (comint-redirect-original-filter-function): Remove.
5286 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
5287 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5288 (vc-cvs-annotate-command):
bcd7a0a4
SM
5289 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5290 * progmodes/prolog.el (prolog-consult-compile):
5291 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5292 Use add/remove-function instead.
5293 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5294 (gud-tooltip-process-output, gud-tooltip-tips):
5295 Use add/remove-function instead.
5296 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5297 (scheme-interaction-mode, exit-scheme-interaction-mode):
5298 Use add/remove-function instead.
5299
5300 * vc/vc-dispatcher.el: Use lexical-binding.
5301 (vc--process-sentinel): Rename from vc-process-sentinel.
5302 Change last arg to be the code to run. Don't use vc-previous-sentinel
5303 and vc-sentinel-commands any more.
5304 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5305 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5306
4d3268ba
MY
53072013-04-19 Masatake YAMATO <yamato@redhat.com>
5308
bcd7a0a4 5309 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 5310 Handle function names with a single character. (Bug#14111)
4d3268ba 5311
781b4af6 53122013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
5313
5314 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5315 for subroutines defined in an eval (bug#14182).
5316
7d688336
TV
53172013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5318
5319 * bookmark.el (bookmark-completing-read): Improve handling of empty
5320 string (bug#14176).
5321
31dcede0
SM
53222013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5325
adc31213
FEG
53262013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5327
5328 New faster Imenu implementation (bug#14058).
5329 * progmodes/python.el:
5330 (python-imenu-prev-index-position):
5331 (python-imenu-format-item-label-function)
5332 (python-imenu-format-parent-item-label-function)
5333 (python-imenu-format-parent-item-jump-label-function):
5334 New vars.
5335 (python-imenu-format-item-label)
5336 (python-imenu-format-parent-item-label)
5337 (python-imenu-format-parent-item-jump-label)
5338 (python-imenu--put-parent, python-imenu--build-tree)
5339 (python-imenu-create-index, python-imenu-create-flat-index)
5340 (python-util-popn): New functions.
5341 (python-mode): Set imenu-create-index-function to
5342 python-imenu-create-index.
5343
cdca8255
SM
53442013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * winner.el (winner-active-region): Use region-active-p, activate-mark
5347 and deactivate-mark (bug#14225).
5348
5349 * simple.el (deactivate-mark): Don't inline it.
5350
beb42340
MA
53512013-04-18 Michael Albinus <michael.albinus@gmx.de>
5352
5353 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5354
fc7f4d7e
TH
53552013-04-18 Tassilo Horn <tsdh@gnu.org>
5356
5357 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5358 file extensions from the archive-mode entry in order to prefer
5359 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5360
29f47822
LL
53612013-04-18 Leo Liu <sdl.web@gmail.com>
5362
5363 * bindings.el (help-event-list): Add ?\?.
5364
d36ed1c8
SM
53652013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * subr.el (with-wrapper-hook): Declare obsolete.
5368 * simple.el (filter-buffer-substring-function): New hook.
5369 (filter-buffer-substring): Use it.
5370 (filter-buffer-substring-functions): Mark obsolete.
5371 * minibuffer.el (completion-in-region-function): New hook.
5372 (completion-in-region): Use it.
5373 (completion-in-region-functions): Mark obsolete.
5374 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5375 * abbrev.el (abbrev-expand-function): New hook.
5376 (expand-abbrev): Use it.
5377 (abbrev-expand-functions): Mark obsolete.
5378 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5379 and :filter-return.
5380
04754d36
FEG
53812013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5382
5383 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5384 and do not care about match data.
5385
dd8791e9
SM
53862013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5389 completion tables when completing error conditions and
5390 `declare' arguments.
5391 (lisp-complete-symbol, field-complete): Mark as obsolete.
5392 (check-parens): Unmatched parens are user errors.
5393 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5394
ffe54a13
AM
53952013-04-17 Michal Nazarewicz <mina86@mina86.com>
5396
dd8791e9
SM
5397 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5398 command changed buffer (ie. `flyspell-pre-buffer' is not current
5399 buffer), which prevents making decisions based on invalid value of
5400 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5401 cause an error when `flyspell-pre-point' was nil after switching
5402 buffers.
5403 (flyspell-post-command-hook): No longer needs to change buffers when
5404 checking pre-word. While at it remove unnecessary progn.
ffe54a13 5405
ec7e39f2
AM
54062013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5407
5408 * textmodes/ispell.el (ispell-add-per-file-word-list):
5409 Fix `flyspell-correct-word-before-point' error when accepting
5410 words and `coment-padding' is an integer by using
5411 `comment-normalize-vars' (Bug #14214).
5412
083850a6
FEG
54132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5414
5415 New defun movement commands.
5416 * progmodes/python.el (python-nav--syntactically)
5417 (python-nav--forward-defun, python-nav-backward-defun)
5418 (python-nav-forward-defun): New functions.
5419
619ed6e1
FEG
54202013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5421
5422 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5423 (python-syntax-context): Use named compiler-macro for backwards
5424 compatibility with Emacs 24.x.
5425
7a1beb6c
LL
54262013-04-17 Leo Liu <sdl.web@gmail.com>
5427
5428 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5429 octave-hide-process-buffer.
5430
2d3fa3e5
SM
54312013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5434 (bug#14216).
5435
7ce5be54
JPG
54362013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5437
5438 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5439 Fix adjustment of offset when receiving incomplete responses from GDB
5440 (bug#14129).
5441
351edece
SM
54422013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5445 python-mode-abbrev-table.
5446 (python-skeleton-define): Adjust accordingly.
5447 (python-mode-abbrev-table): New table that inherits from it so that
5448 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5449
5450 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5451 (abbrev-symbol): Use it.
5452 (abbrev--before-point): Use it since we already handle inheritance.
5453
613f9481
LL
54542013-04-16 Leo Liu <sdl.web@gmail.com>
5455
5456 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5457 binding to info-lookup-symbol.
5458
51646b62
JB
54592013-04-16 Juanma Barranquero <lekktu@gmail.com>
5460
5461 * minibuffer.el (completion--twq-all):
5462 * term/ns-win.el (ns-initialize-window-system):
5463 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5464
efb3f01d
SM
54652013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5466
36c0a301
SM
5467 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5468 global bindings.
5469
efb3f01d
SM
5470 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5471
fb549d64
DG
54722013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5473
5474 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5475 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5476 to nil.
5477 (ruby-end-of-defun): Remove the unused arg, change the docstring
5478 to reflect that this function is only used as the value of
5479 `end-of-defun-function'.
5480 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5481 to reflect an earlier change that beginning/end-of-defun functions
5482 jump between methods in a class definition, as well as top-level
5483 functions.
5484
21e8fe2f
SM
54852013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * minibuffer.el (minibuffer-complete): Don't just scroll
5488 a *Completions* that's been iconified.
5489 (minibuffer-force-complete): Make sure repetitions do cycle when going
5490 through completion-in-region -> minibuffer-complete.
5491
20e527d0
AM
54922013-04-15 Alan Mackenzie <acm@muc.de>
5493
5494 Correct the placement of c-cpp-delimiters when there're #s not at
5495 col 0.
5496
5497 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5498 place a submatch around the #.
21e8fe2f
SM
5499 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5500 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
5501 on the #, not BOL.
5502
dabefae5
SM
55032013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5504
5505 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5506 (advice--member-p): New arg `name'.
5507 (advice--add-function, advice-member-p): Use it (bug#14202).
5508
85c9ab64
AM
55092013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5510
5511 Reformulate java imenu-generic-expression.
5512 The old expression contained ill formed regexps.
5513
5514 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5515 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5516 (cc-imenu-java-method-arg-regexp): New defconsts.
5517 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 5518 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
5519 handling of spaces in the regexp.
5520
0f821d99
AM
55212013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5522
5523 * textmodes/ispell.el (ispell-command-loop): Remove
5524 flyspell highlight of a word when ispell accepts it (bug #14178).
5525
eb922adf
MA
55262013-04-15 Michael Albinus <michael.albinus@gmx.de>
5527
5528 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5529 uses code from the previous `ange-ftp-run-real-handler'.
5530 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5531 only in case that function exist. This is needed for proper
5532 unloading of Tramp.
5533
4d9a0979
TH
55342013-04-15 Tassilo Horn <tsdh@gnu.org>
5535
5536 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5537
5538 * textmodes/reftex.el (reftex-compile-variables): Use it.
5539
a829b0dc
SM
55402013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5541
91e8293c
SM
5542 * files.el (normal-mode): Only use default major-mode if no other mode
5543 was specified.
5544
830aed4d
SM
5545 * emacs-lisp/trace.el (trace-values): New function.
5546
a829b0dc
SM
5547 * files.el: Allow : in local variables (bug#14089).
5548 (hack-local-variable-regexp): New var.
5549 (hack-local-variables-prop-line, hack-local-variables): Use it.
5550
7ae9f0fb
RW
55512013-04-13 Roland Winkler <winkler@gnu.org>
5552
5553 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5554 data before it gets modified by bibtex-beginning-of-entry.
5555
6646e848
RW
55562013-04-13 Roland Winkler <winkler@gnu.org>
5557
5558 * textmodes/bibtex.el (bibtex-url): Doc fix.
5559
55602013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
5561
5562 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5563 does not visit a BibTeX file, exclude it from the list of buffers
5564 returned by bibtex-initialize.
5565
0aa3616e
SB
55662013-04-13 Stephen Berman <stephen.berman@gmx.net>
5567
5568 * window.el (split-window): Remove interactive form, since as a
5569 command this function is a special case of split-window-below.
5570 Correct doc string.
5571
011cddd6
RW
55722013-04-12 Roland Winkler <winkler@gnu.org>
5573
5574 * faces.el (read-face-name): Do not override value of arg default.
5575 Allow single faces and strings as default values. Remove those
5576 elements from return value that are not faces.
5577 (describe-face): Simplify.
5578 (face-at-point): New optional args thing and multiple so that this
5579 function can provide the same functionality previously provided by
5580 read-face-name.
5581 (make-face-bold, make-face-unbold, make-face-italic)
5582 (make-face-unitalic, make-face-bold-italic, invert-face)
5583 (modify-face, read-face-and-attribute): Use face-at-point.
5584
5585 * cus-edit.el (customize-face, customize-face-other-window)
5586 * cus-theme.el (custom-theme-add-face)
5587 * face-remap.el (buffer-face-set)
5588 * facemenu.el (facemenu-set-face): Use face-at-point.
5589
f24e0036
MA
55902013-04-12 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5593
da3cda2d
TH
55942013-04-10 Tassilo Horn <tsdh@gnu.org>
5595
5596 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5597 off leading { and trailing } from field values.
5598
15e54145
SM
55992013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5600
78ce603d
SM
5601 * emacs-lisp/timer.el (timer--check): New function.
5602 (timer--time, timer-set-function, timer-event-handler): Use it.
5603 (timer-set-idle-time): Simplify.
5604 (timer--activate): CSE.
5605 (timer-event-handler): Give more info in error message.
5606 (internal-timer-start-idle): New function, moved from C.
5607
15e54145
SM
5608 * mpc.el (mpc-proc): Add `restart' argument.
5609 (mpc-proc-cmd): Use it.
5610 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5611 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5612 less often.
5613
7144c627
MY
56142013-04-10 Masatake YAMATO <yamato@redhat.com>
5615
5616 * progmodes/sh-script.el: Implement `sh-mode' own
5617 `add-log-current-defun-function' (bug#14112).
5618 (sh-current-defun-name): New function.
5619 (sh-mode): Use the function.
5620
b39792eb
BG
56212013-04-09 Bastien Guerry <bzg@gnu.org>
5622
5623 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5624
8acdeb71
SM
56252013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5626
6fcdab68
SM
5627 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5628
8acdeb71
SM
5629 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5630 timer (bug#14156).
5631
e3e7b504
NF
56322013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5633
5634 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5635 declaration.
5636
201bb296
LL
56372013-04-07 Leo Liu <sdl.web@gmail.com>
5638
5639 * pcmpl-x.el: New file.
5640
ebb19708
DA
56412013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5642
5643 Do not set x-display-name until X connection is established.
5644 This is needed to prevent from weird situation described at
5645 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5646 * frame.el (make-frame): Set x-display-name after call to
5647 window system initialization function, not before.
5648 * term/x-win.el (x-initialize-window-system): Add optional
5649 display argument and use it.
5650 * term/w32-win.el (w32-initialize-window-system):
5651 * term/ns-win.el (ns-initialize-window-system):
5652 * term/pc-win.el (msdos-initialize-window-system):
5653 Add compatible optional display argument.
5654
33bb237a
EZ
56552013-04-06 Eli Zaretskii <eliz@gnu.org>
5656
5657 * files.el (normal-backup-enable-predicate): On MS-Windows and
5658 MS-DOS compare truenames of temporary-file-directory and of the
5659 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5660 don't fail comparison by compare-strings. Also, compare file
5661 names case-insensitively on MS-Windows and MS-DOS.
5662
134abf1f
SM
56632013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5666 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5667
d695cb94
DG
56682013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5669
e3e7b504
NF
5670 * whitespace.el (whitespace-color-on, whitespace-color-off):
5671 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 5672
f4ad7ea1 56732013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
5674
5675 * ispell.el (ispell-set-spellchecker-params):
5676 Really set `ispell-args' for all equivs.
5677
632556e4
SM
56782013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * ido.el (ido-completions): Use extra elements of ido-decorations
5681 (bug#14143).
5682 (ido-decorations): Update docstring.
5683
2a417372
MA
56842013-04-05 Michael Albinus <michael.albinus@gmx.de>
5685
5686 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5687 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5688 nil during initialization, in order not to miss changes since the
5689 file was opened. (Bug#14140)
5690
fc164b0c
LL
56912013-04-05 Leo Liu <sdl.web@gmail.com>
5692
5693 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5694
0ccecc08
JB
56952013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5696
5697 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5698
51af1aa2
GM
56992013-04-04 Glenn Morris <rgm@gnu.org>
5700
5701 * electric.el (electric-pair-inhibit-predicate): Add :version.
5702
b208ebc6
SM
57032013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5706 when a package is required several times (bug#14082).
5707
f3d3eaf0
RW
57082013-04-04 Roland Winkler <winkler@gnu.org>
5709
5710 * faces.el (read-face-name): Behave as promised by the docstring.
5711 Assume that arg default is a list of faces.
5712 (describe-face): Call read-face-name with list of default faces.
5713
2575da50
TV
57142013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5715
5716 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5717 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5718 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5719 the header.
5720 (bookmark-exit-hook-internal): Save even if list is empty.
5721
397703b4
YH
57222013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5723
5724 * emacs-lisp/package.el (package-pinned-packages): New var.
5725 (package--add-to-archive-contents): Obey it (bug#14118).
5726
691e26ae
AM
57272013-04-03 Alan Mackenzie <acm@muc.de>
5728
8a621d53
JB
5729 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5730 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
5731
5732 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5733 parameter `not-in-delimiter'. Handle being inside comment opener.
5734 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5735 character in case we're typing a '*' after a '/'.
5736 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5737 instead by passing the parameter to c-state-pp-to-literal.
5738
5739 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5740 for elt. 7 of a parse state.
5741
4b725a70
PE
57422013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5743
5744 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5745 * international/latin1-disp.el, international/mule-util.el:
5746 * language/cyril-util.el, language/european.el, language/ind-util.el:
5747 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5748 * language/tibetan.el, language/viet-util.el:
5749 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5750
15c579f0
SM
57512013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5754 (electric-pair-post-self-insert-function): Use it.
5755 (electric-pair-default-inhibit): New function, extracted from
5756 electric-pair-post-self-insert-function.
5757
a77e2924
RW
57582013-03-31 Roland Winkler <winkler@gnu.org>
5759
5760 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5761
2bd8a4a8
SM
57622013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5765
8d3655be 57662013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
5767
5768 Un-indent after "pass" and "return" statements (Bug#13888)
5769 * progmodes/python.el (python-indent-block-enders): New var.
5770 (python-indent-calculate-indentation): Use it.
5771
8d3655be 57722013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
5773
5774 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5775 defun. Defining it as defalias could introduce too eager
5776 byte-compiler optimization. (Bug#14030)
5777
8d3655be 57782013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
5779
5780 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5781
0b1619da
LL
57822013-03-30 Leo Liu <sdl.web@gmail.com>
5783
5784 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5785 (kmacro-execute-from-register): Pass the keyboard macro to
5786 kmacro-call-macro or repeating won't work correctly.
5787
0b938190
TZ
57882013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5789
5790 * progmodes/subword.el: Back to using `forward-symbol'.
5791
5792 * subr.el (forward-whitespace, forward-symbol)
5793 (forward-same-syntax): Move from thingatpt.el.
5794
35710234
LL
57952013-03-29 Leo Liu <sdl.web@gmail.com>
5796
5797 * kmacro.el (kmacro-to-register): New command.
5798 (kmacro-execute-from-register): New function.
5799 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5800
efc0bb73
SM
58012013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * mpc.el: Use defvar-local and setq-local.
5804 (mpc--proc-connect): Connection failures are not bugs.
5805 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5806 (mpc-volume-map): Bind to the up-events.
5807
75a2f981
TZ
58082013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5809
5810 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5811 instead of `forward-symbol'.
5812
17c781d1
SM
58132013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5816 (edebug--recursive-edit): Use it.
5817 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5818 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5819
f67bfbcf
LL
58202013-03-28 Leo Liu <sdl.web@gmail.com>
5821
5822 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5823
b59f639d
EZ
58242013-03-27 Eli Zaretskii <eliz@gnu.org>
5825
5826 * facemenu.el (list-colors-callback): New defvar.
5827 (list-colors-redisplay): New function.
5828 (list-colors-display): Install list-colors-redisplay as the
5829 revert-buffer-function. (Bug#14063)
5830
f557c1b1
SM
58312013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5832
b1da2957
SM
5833 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5834 and suffixes don't overlap (bug#14061).
5835
f557c1b1
SM
5836 * case-table.el: Use lexical-binding.
5837 (case-table-get-table): New function.
5838 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
5839
002668e1
TZ
58402013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5841
5842 * progmodes/subword.el: Add `superword-mode' to do word motion
5843 over symbol_words (parallels and leverages `subword-mode' which
5844 does word motion inside MixedCaseWords).
5845
73572c72
AG
58462013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
5847
78b8f320 5848 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 5849 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 5850
69b2c07e
SM
58512013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5854 Change return value to be a sexp. Delay `get-buffer' to after
5855 restoring the desktop (bug#13951).
5856
08bb5ee2
LL
58572013-03-26 Leo Liu <sdl.web@gmail.com>
5858
5859 * register.el: Move semantic tag handling back to
5860 cedet/semantic/senator.el. (Bug#14052)
5861
8d4c974e
SM
58622013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5865 into the prompt either (bug#13963).
5866
b234d92c
SM
58672013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5870 part of "(error-foo)".
5871
ddfa3cb4
JL
58722013-03-24 Juri Linkov <juri@jurta.org>
5873
5874 * replace.el (list-matching-lines-prefix-face): New defcustom.
5875 (occur-1): Pass `list-matching-lines-prefix-face' to the function
5876 `occur-engine' if `face-differs-from-default-p' returns t.
5877 (occur-engine): Add `,' inside backquote construct to evaluate
5878 `prefix-face'. Propertize the prefix with the `prefix-face' face.
5879 Pass `prefix-face' to the functions `occur-context-lines' and
5880 `occur-engine-add-prefix'.
5881 (occur-engine-add-prefix, occur-context-lines): Add optional arg
5882 `prefix-face' and propertize the prefix with `prefix-face'.
5883 (Bug#14017)
5884
7b0e2f85
LL
58852013-03-24 Leo Liu <sdl.web@gmail.com>
5886
5887 * nxml/rng-valid.el (rng-validate-while-idle)
5888 (rng-validate-quick-while-idle): Guard against deleted buffer.
5889 (Bug#13999)
5890
5891 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5892 is the last entry in kill-buffer-hook.
5893
5894 * files.el (kill-buffer-hook): Doc fix.
5895
b3082f49
DG
58962013-03-23 Dmitry Gutov <dgutov@yandex.ru>
5897
b234d92c
SM
5898 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5899 Make it safe-local.
bde73d27 5900
b3082f49
DG
5901 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5902
a320a2db
LL
59032013-03-23 Leo Liu <sdl.web@gmail.com>
5904
7e74b0fb
LL
5905 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5906 Remove.
5907
5908 * nxml/rng-valid.el (rng-validate-mode)
5909 (rng-after-change-function, rng-do-some-validation):
5910 * nxml/rng-maint.el (rng-validate-buffer):
5911 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5912 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5913 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5914 (nxml-extend-after-change-region): Use with-silent-modifications.
5915
a320a2db
LL
5916 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5917 timer-idle-list.
5918
5919 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5920 (rng-next-error-1, rng-previous-error-1): Do not let-bind
5921 timer-idle-list. (Bug#13999)
5922
e38e6780
JL
59232013-03-23 Juri Linkov <juri@jurta.org>
5924
5925 * info.el (info-index-match): New face.
5926 (Info-index, Info-apropos-matches): Add a nested subgroup to the
5927 main pattern and add text properties with the new face to matches
5928 in index entries relative to the beginning of the index entry.
5929 (Bug#14015)
5930
e8cc7880
DE
59312013-03-21 Eric Ludlam <zappo@gnu.org>
5932
5933 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5934 Inhibit read only while inserting objects.
5935
9bb0d822
TZ
59362013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
5937
5938 * progmodes/cfengine.el: Update docs to mention
5939 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
5940 symbol motion. Remove "_" from the word syntax.
5941
aa703640
TZ
59422013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
5943
5944 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5945 syntax for both `cfengine2-mode' and `cfengine3-mode'.
5946
afff09d0
JL
59472013-03-20 Juri Linkov <juri@jurta.org>
5948
5949 * info.el (Info-next-reference-or-link)
5950 (Info-prev-reference-or-link): New functions.
5951 (Info-next-reference, Info-prev-reference): Use them.
5952 (Info-try-follow-nearest-node): Handle footnote navigation.
5953 (Info-fontify-node): Fontify footnotes. (Bug#13989)
5954
9a1ff164
SM
59552013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5958 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5959
2667d15d
PE
59602013-03-20 Paul Eggert <eggert@cs.ucla.edu>
5961
5962 Suppress unnecessary non-ASCII chatter during build process.
5963 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5964 (batch-skkdic-convert): Suppress most of the chatter.
5965 It's not needed so much now that machines are faster,
5966 and its non-ASCII component was confusing; see Dmitry Gutov in
5967 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5968
438b0579
LL
59692013-03-20 Leo Liu <sdl.web@gmail.com>
5970
5971 * ido.el (ido-chop): Fix bug#10994.
5972
c128ab07
DG
59732013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5974
5975 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5976 Remove vars.
9a1ff164
SM
5977 (whitespace-color-on, whitespace-color-off):
5978 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 5979
0e6008c5
SM
59802013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5981
5982 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5983 remapping in mode-line.
5984 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5985
627b52b0
DG
59862013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5987
5988 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
5989 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
5990 (whitespace-font-lock-keywords): Change description.
5991 (whitespace-color-on): Don't save `font-lock-keywords' value, save
5992 the constructed keywords instead.
5993 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 5994
50c3a20b
LL
59952013-03-19 Leo Liu <sdl.web@gmail.com>
5996
5997 * progmodes/compile.el (compilation-display-error): New command.
5998 (compilation-mode-map, compilation-minor-mode-map): Bind it to
5999 C-o. (Bug#13992)
6000
2aa2157b
PE
60012013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6002
6003 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6004
e477dbfa
JD
60052013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6006
6007 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6008
64ab82d1
MA
60092013-03-18 Michael Albinus <michael.albinus@gmx.de>
6010
6011 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6012
6013 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6014 * net/tramp-gvfs.el (top):
6015 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6016 (tramp-handle-shell-command): Use it.
6017 (tramp-dissect-file-name): Raise an error when hostname is a
6018 method name, and neither method nor user is specified.
6019
6020 * net/trampver.el: Update release number.
6021
33cef733
LL
60222013-03-18 Leo Liu <sdl.web@gmail.com>
6023
6024 Make sure eldoc can be turned off properly.
6025 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6026 eldoc-mode.
6027 (eldoc-display-message-p): Revert last change.
6028 (eldoc-display-message-no-interference-p)
6029 (eldoc-print-current-symbol-info): Tweak.
6030
2167b7b2
TH
60312013-03-18 Tassilo Horn <tsdh@gnu.org>
6032
6033 * doc-view.el (doc-view-new-window-function): Check the new window
6034 overlay's display property instead the char property of the
6035 buffer's first char. Use `with-selected-window' instead of
6036 `save-window-excursion' with `select-window'.
6037 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 6038 display property instead the char property of the buffer's first char.
2167b7b2 6039
982efbcd
PE
60402013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6041
6042 Automate the build of ja-dic.el (Bug#13984).
6043 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6044 from the input, rather than assume that it's been done for us by the
6045 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6046 the current date into a ja-dic.el comment, as that complicates
6047 regression testing.
6048
2fcc7665
SM
60492013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * whitespace.el: Fix double evaluation.
6052 (whitespace-space, whitespace-hspace, whitespace-tab)
6053 (whitespace-newline, whitespace-trailing, whitespace-line)
6054 (whitespace-space-before-tab, whitespace-indentation)
6055 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6056 obsolete defvars.
6057 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6058 (whitespace-color-on): Use a single font-lock-add-keywords call.
6059 Fix double-evaluation of face variables.
6060
67c0a6e6
MA
60612013-03-17 Michael Albinus <michael.albinus@gmx.de>
6062
2fcc7665
SM
6063 * net/tramp-adb.el (tramp-adb-parse-device-names):
6064 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 6065 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 6066
69489f1d
LL
60672013-03-17 Leo Liu <sdl.web@gmail.com>
6068
6069 Extend eldoc to display info in the mode-line. (Bug#13978)
6070 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6071 (eldoc-mode-line-string): New variable.
6072 (eldoc-minibuffer-message): New function.
6073 (eldoc-message-function): New variable.
6074 (eldoc-message): Use it.
6075 (eldoc-display-message-p)
2fcc7665
SM
6076 (eldoc-display-message-no-interference-p):
6077 Support eldoc-post-insert-mode.
69489f1d
LL
6078
6079 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6080 (eval-expression): Run it.
6081
9c44569e
RW
60822013-03-17 Roland Winkler <winkler@gnu.org>
6083
6084 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6085 strings in the list of return values.
6086
327f1f6f
JB
60872013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6088
6089 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6090 radix before checking for HMS forms.
6091
67ed8fcd
LL
60922013-03-16 Leo Liu <sdl.web@gmail.com>
6093
6094 * progmodes/scheme.el: Add indentation and font-locking for λ.
6095 (Bug#13975)
6096
78be8b64 60972013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
6098
6099 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6100 token before point (bug#13942).
6101
78be8b64 61022013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 6103
95b43468 6104 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 6105
98e775e6
EZ
61062013-03-16 Eli Zaretskii <eliz@gnu.org>
6107
6108 * startup.el (command-line-normalize-file-name): Fix handling of
6109 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6110 <xfq.free@gmail.com> in
6111 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6112
2edd6029
MA
61132013-03-15 Michael Albinus <michael.albinus@gmx.de>
6114
6115 Sync with Tramp 2.2.7.
6116
6117 * net/trampver.el: Update release number.
6118
d35f5864
TH
61192013-03-14 Tassilo Horn <tsdh@gnu.org>
6120
f35ffe5e
TH
6121 * doc-view.el Fix bug#13887.
6122 (doc-view-insert-image): Don't modify overlay associated to
6123 non-live windows, and implement horizontal centering of image in
6124 case it's smaller than the window.
6125 (doc-view-new-window-function): Force redisplay of new windows on
6126 doc-view buffers.
d35f5864 6127
1c4a85ed
KF
61282013-03-13 Karl Fogel <kfogel@red-bean.com>
6129
6130 * saveplace.el (save-place-alist-to-file): Don't sort
6131 `save-place-alist', just pretty-print it (bug#13882).
6132
85b66a21
MA
61332013-03-13 Michael Albinus <michael.albinus@gmx.de>
6134
a020afb9
JB
6135 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6136 Check whether `default-file-name-coding-system' is bound.
6137 It isn't in XEmacs.
85b66a21 6138
175600da
SM
61392013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6140
e7f7cb1a
SM
6141 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6142 backquotes for `obsolete' (bug#13929).
6143
175600da
SM
6144 * international/mule.el (find-auto-coding): Include file name in
6145 obsolescence warning (bug#13922).
6146
ca68a22e
TZ
61472013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6148
6149 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6150 for CFEngine 3-specific indentation.
6151 (cfengine3-indent-line): Use it. Fix up category regex.
6152 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6153
940e5099
SM
61542013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * type-break.el (type-break-file-name):
6157 * textmodes/remember.el (remember-data-file):
6158 * strokes.el (strokes-file):
6159 * shadowfile.el (shadow-initialize):
6160 * saveplace.el (save-place-file):
6161 * ps-bdf.el (bdf-cache-file):
6162 * progmodes/idlwave.el (idlwave-config-directory):
6163 * net/quickurl.el (quickurl-url-file):
6164 * international/kkc.el (kkc-init-file-name):
6165 * ido.el (ido-save-directory-list-file):
6166 * emulation/viper.el (viper-custom-file-name):
6167 * emulation/vip.el (vip-startup-file):
6168 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6169 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6170
cc725808
PE
61712013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6172
6173 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6174 * language/thai-word.el: Switch to UTF-8.
6175
a020afb9 6176See ChangeLog.16 for earlier changes.
e3d51b27
MR
6177
6178;; Local Variables:
6179;; coding: utf-8
e3d51b27
MR
6180;; End:
6181
ab422c4d 6182 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
6183
6184 This file is part of GNU Emacs.
6185
6186 GNU Emacs is free software: you can redistribute it and/or modify
6187 it under the terms of the GNU General Public License as published by
6188 the Free Software Foundation, either version 3 of the License, or
6189 (at your option) any later version.
6190
6191 GNU Emacs is distributed in the hope that it will be useful,
6192 but WITHOUT ANY WARRANTY; without even the implied warranty of
6193 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6194 GNU General Public License for more details.
6195
6196 You should have received a copy of the GNU General Public License
6197 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.