John Wiegley [Fri, 26 Oct 2007 08:07:17 +0000 (08:07 +0000)]
2007-10-26 John Wiegley <johnw@newartisans.com>
* eshell/em-unix.el (eshell/diff): Before calling the `diff'
function, ensure that the third argument is turned into a NIL if
the string is otherwise completely empty (either no characters, or
all tabs/spaces). This fixes a bug from a user who found himself
unable to customize `diff-switches' and still use Eshell's diff
command.
Dan Nicolaescu [Thu, 25 Oct 2007 23:25:08 +0000 (23:25 +0000)]
* emulation/edt-mapper.el (edt-emacs-variant): Replace the only
use with the definition. Remove.
* add-log.el (change-log-start-entry-re): New defconst.
(change-log-sortable-date-at): Use it.
(change-log-beginning-of-defun, change-log-end-of-defun): New
functions.
(change-log-mode): Use them for beginning-of-defun-function and
end-of-defun-function.
Jonathan Yavner [Thu, 25 Oct 2007 20:13:19 +0000 (20:13 +0000)]
ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
new three-letter column identifiers.
(More on cell printing): Calculate-cell and truncate-cell are now `c' and
`t' rather than `C-c C-c' and `C-c C-t'. Mention the stupid error message
when using `c' on an empty default with default printer.
(Buffer-local variables in spreadsheets): `symbolic-formulas' was
renamed to `ses--symbolic-formulas' some time ago.
Jonathan Yavner [Thu, 25 Oct 2007 20:12:26 +0000 (20:12 +0000)]
Make `ses--symbolic-formulas' a safe local variable.
(ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
(ses-recalculate-cell): Deal with point being just beyond end of data area (why does this happen?)
(ses-set-curcell): Ditto.
(ses-column-letter): Handle columns beyond 702. Code written by Gareth Rees.
Carsten Dominik [Thu, 25 Oct 2007 09:28:34 +0000 (09:28 +0000)]
* textmodes/org.el: (org-agenda-get-restriction-and-command): Use
`mapc' instead of `mapcar'.
(org-agenda-list): Numeric prefix argument can specify the number
of days.
(remember-register, remember-buffer): Prevent byte compiler from
complaining.
Stefan Monnier [Thu, 25 Oct 2007 02:38:41 +0000 (02:38 +0000)]
Make `window-system' into a keyboard-local variable (rather than
frame-local as done originally by multi-tty).
* startup.el (window-system): Remove. Don't make it frame-local.
* keyboard.h (struct kboard): Add Vwindow_system.
* keyboard.c (init_kboard): Set a default for Vwindow_system.
(mark_kboards): Mark Vwindow_system.
* dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
(init_display): Don't set the obsolete `window-system' frame-param.
* xterm.c (x_term_init):
* w32term.c (w32_create_terminal):
* term.c (init_tty): Set Vwindow_system.
* macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system.
* xfns.c (Fx_create_frame, x_create_tip_frame):
* w32fns.c (Fx_create_frame, x_create_tip_frame):
* macfns.c (Fx_create_frame):
Don't set the obsolete `window-system' frame-param.
* frame.h (Qwindow_system): Remove.
* frame.c (Qwindow_system): Remove. In `syms_of_frame' as well.
(Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
Carsten Dominik [Wed, 24 Oct 2007 05:37:11 +0000 (05:37 +0000)]
* textmodes/org.el (org-version): Changed to 5.13e.
(org-agenda-file-regexp): Fixed typo in docstring.
(org-add-planning-info): Fixed bug in parenthesis settings.
(org-scan-tags): Catch the case of indirect buffers with no
filename.
(org-fast-tag-selection, org-export-as-ascii, org-export-as-html):
Re-installed switch to mapc, had been removed by accident.
(org-columns-map): New binding `C-c C-o'.
(org-columns-menu): Changed menu text and added new entry.
(org-columns-eval): Documented the use of `next-line'.
(org-columns-open-link): New function.
(org-columns-follow-link): Function removed.
(org-open-link-from-string): New function.
(org-read-date-get-relative): Fixed typo in docstring.
(org-read-date-get-relative): Leading +/- is not optional.
(org-agenda-get-restriction-and-command): Always resize window on
first loop cycle.
(org-agenda-open-link): Make sure the link abbreviations are
present in the agenda buffer.
(org-agenda-copy-local-variable): New function.
Stefan Monnier [Tue, 23 Oct 2007 21:17:06 +0000 (21:17 +0000)]
* lisp.h (Fget_text_property): Declare.
(have_menus_p): Declare it here rather than in sys-dep header files.
* macterm.h (have_menus_p):
* msdos.h (have_menus_p):
* xterm.h (have_menus_p): Remove.
Juri Linkov [Mon, 22 Oct 2007 23:45:05 +0000 (23:45 +0000)]
(change-log-mode): Make and set buffer-local variable
isearch-buffers-next-buffer-function to change-log-next-buffer.
Call isearch-buffers-minor-mode.
(change-log-next-buffer): New function.
Juri Linkov [Mon, 22 Oct 2007 23:44:29 +0000 (23:44 +0000)]
(isearch-search-string): After finding the next
occurrence switch to buffer isearch-buffers-current-buffer when
isearch-buffers-next-buffer-function is non-nil and
isearch-buffers-current-buffer is live.
Stefan Monnier [Mon, 22 Oct 2007 15:20:35 +0000 (15:20 +0000)]
(tvi970-terminal-map): New var.
(terminal-init-tvi970): Use it and input-decode-map.
(tvi970-keypad-numeric): Remove.
(tvi970-set-keypad-mode): Use a terminal-parameter rather than var.