1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00
Commit Graph

101305 Commits

Author SHA1 Message Date
Vincent Belaïche
cedc73f2fd (ses-relocate-range): Keep rest of arguments for ses-range.
(ses--clean-!, ses--clean-_): New functions.
(ses-range): Add configurability of readout order, and conversion to Calc vector.
2011-06-27 08:18:45 +02:00
Vincent Belaïche
5e5d49b6d4 (ses-repair-cell-reference-all): New function.
(ses-cell-symbol): Set macro as safe, so that it can be used in
formulas.
2011-06-27 08:11:36 +02:00
Vincent Belaïche
90ca8b4908 Update cycle detection algorithm.
(ses-localvars): Add ses--Dijkstra-attempt-nb and
ses--Dijkstra-weight-bound, and initial values thereof when
applicable.
(ses-set-localvars): New function.
(ses-make-cell): Add property-list as a cell element.
(ses-cell-property-get-fun, ses-cell-property-get)
(ses-cell-property-delq-fun, ses-cell-property-set-fun)
(ses-cell-property-pop-fun, ses-cell-property-get-handle-fun): New
functions.
(ses-cell-property-set, ses-cell-property-pop)
(ses-cell-property-get-handle): New macro.
(ses-cell-property-handle-car, ses-cell-property-handle-setcar):
New aliases, used for code readability.
(ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
cycle detection.
(ses-self-reference-early-detection): New defcustom.
(ses-formula-references): Robustify against self-refering cells.
(ses-mode): Use ses-set-localvars.
(ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
before lauching the update processing.
(ses-initialize-Dijkstra-attempt): New function.
(ses-recalculate-cell): Update for cycle detection based on
Dijkstra algorithm.
2011-06-27 08:02:27 +02:00
Vincent Belaïche
2bb63e814f Fix commenting and indenting convention. 2011-06-27 07:41:58 +02:00
Bill Wohler
1f773f32c6 * .bzrignore: Add lisp/mh-e/mh-autoloads.el and lisp/mh-e/mh-cus-load.el. 2011-06-26 21:31:43 -07:00
YAMAMOTO Mitsuharu
bc11a3942b lwlib/Makefile.in (ALL_CFLAGS): Add -I../lib for generated header files in out-of-tree build. 2011-06-27 12:00:16 +09:00
Stefan Monnier
c9d29fb8b5 * lisp/bs.el (bs-cycle-next): Complete last change. 2011-06-26 21:52:37 -04:00
Juanma Barranquero
d8e4b68b08 Fix typos in lisp/ChangeLog. 2011-06-27 02:37:54 +02:00
Drew Adams
7c823eab82 lisp/faces.el (list-faces-display): Add help-mode-map to output.
Fixes: debbugs:8939
2011-06-27 02:29:55 +02:00
Lars Magne Ingebrigtsen
f6ab314e6e Fix stupid typo with gnutls-clii.
Don't re-get capabilities unless we're reconnecting.
2011-06-27 02:11:22 +02:00
Lars Magne Ingebrigtsen
40098786b5 Bind coding-system-for-* to binary to possibly avoid line encoding
issues on Windows (among other things).
2011-06-27 02:02:15 +02:00
Lars Magne Ingebrigtsen
c146ad8505 Merge changes made in Gnus trunk.
gnus-art.el (gnus-article-stop-animations): New function to stop any animations going on at article exit time.
gnus-registry.el (gnus-registry-user-format-function-M): Reinstate, since removing it breaks people upgrading.
shr.el (shr-put-image): Use the new interface for animating images.
 (shr-put-image): Animate for 60 seconds.
2011-06-26 22:21:48 +00:00
Lars Magne Ingebrigtsen
468d09d44e If the SMTP server supports STARTTLS, but Emacs has no built-in or
external STARTTLS support, then report this in a sensible fashion to
the user.
2011-06-26 23:05:06 +02:00
Chong Yidong
88821ca052 Add global-hl-line-sticky-flag (Bug#8323).
* lisp/hl-line.el (hl-line-sticky-flag): Doc fix.
(global-hl-line-sticky-flag): New option.
(global-hl-line-highlight): Obey it.
2011-06-26 16:25:53 -04:00
Chong Yidong
16f07dd791 * lisp/vc/vc.el (vc-revert-show-diff): Default to t. 2011-06-26 15:34:17 -04:00
Jan Djärv
c7e73be5f7 Fix wm_size-hints race between KDE/KWin and Gtk+ 3.
* emacsgtkfixed.c: State that this is only used with Gtk+3.
(_EmacsFixedPrivate): Remove minwidth/height.
Add struct frame *f.
(emacs_fixed_init): Initialize priv->f.
(get_parent_class, emacs_fixed_set_min_size): Remove.
(emacs_fixed_new): Set priv->f to argument.
(emacs_fixed_get_preferred_width)
(emacs_fixed_get_preferred_height): Use min_width/height from
frames size_hint to set minimum and natural.
(XSetWMSizeHints, XSetWMNormalHints): Override these functions
and use min_width/height from frames size_hint to set
min_width/height (Bug#8919).

* emacsgtkfixed.h: State that this is only used with Gtk+3.
(emacs_fixed_set_min_size): Remove.
(emacs_fixed_new): Take frame as argument.

* gtkutil.c (xg_create_frame_widgets): Pass f to emacs_fixed_new.
(x_wm_set_size_hint): Remove call to emacs_fixed_set_min_size. Fix
indentation.
2011-06-26 20:47:07 +02:00
Glenn Morris
247f696e50 ChangeLog fix. 2011-06-26 11:10:51 -07:00
Eli Zaretskii
cf99dcf81a Avoid bidi-related crashes in Cperl Mode.
src/bidi.c (bidi_paragraph_init): Test for ZV_BYTE before calling
 bidi_at_paragraph_end, since fast_looking_at doesn't like to be
 called at ZV.
2011-06-26 20:23:40 +03:00
Ken Manheimer
6b5ccddf1c * allout-widgets.el (allout-widgets-post-command-business): Stop decorating
intermediate isearch matches.  They're not being undecorated when an
isearch is continued past, and isearch automatically collapses them.  This
leads to "widget leaks", where decorated items accumulate in collapsed
areas.  Lines with lots of hidden widgets can slow down cursor travel,
substantially.  Too much complicated machinery would be needed to ensure
undecoration, so we're doing without this nicety.

(allout-widgets-tally-string): Don't try to do a hash-table-count of
allout-widgets-tally when it's nil.  This eliminates spurious "Error during
redisplay: (wrong-type-argument hash-table-p nil)" warnings in *Messages*
when allout-widgets-maintain-tally is t.
2011-06-26 12:47:39 -04:00
Martin Rudalics
355f2e0708 Fix some more display-buffer related bugs.
* window.el (display-buffer-normalize-argument): Rename to
display-buffer-normalize-arguments.  Handle special meaning of
LABEL argument.  Respect special-display-function when popping
up a new frame.  Fix code searching for a window showing the
buffer on another frame.
(display-buffer-normalize-specifiers): Call
display-buffer-normalize-arguments.
(display-buffer-in-window): Don't undedicate the window if its
buffer remains the same.
Reported by Drew Adams <drew.adams@oracle.com>.
(display-buffer-alist): Add choice for same-window macro
specfier.
(display-buffer): Mention special meaning of LABEL argument in
doc-string.  Fix quoting.  Don't pop up a new frame even as
fallback.
2011-06-26 18:17:30 +02:00
Gnus developers
60a0884e78 Merge changes made in Gnus trunk.
gnus.texi (Summary Mail Commands): Document `gnus-summary-reply-to-list-with-original'.
auth-source.el (with-auth-source-epa-overrides): Fix compilation error with `find-file-hooks' on Emacs 22.
 (with-auth-source-epa-overrides): Ugly hack to Wrap the `find-file-hook' things in `symbol-value' to avoid compilation warnings on all architectures.
spam.el (spam-stat): Require in a normal fashion without binding `spam-stat-install-hooks' to avoid compilation warnings.
spam-stat.el (spam-stat-install-hooks): Removed.
 (spam-stat-install-hooks): Don't run automatically.
gnus-msg.el (gnus-summary-reply-to-list-with-original): New command and keystroke.
2011-06-26 12:41:14 +00:00
Juanma Barranquero
7ca8fc42ba lisp/bs.el (bs-cycle-next): Pass current buffer to `bury-buffer'.
Fixes: debbugs:8911
2011-06-26 13:23:23 +02:00
Glenn Morris
7d2a1c5ef5 Auto-commit of generated files. 2011-06-26 06:21:22 -04:00
Andreas Schwab
bc3122541b * lisp/emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
(Bug#8934)
2011-06-26 10:43:52 +02:00
Lars Magne Ingebrigtsen
2db18f3ffa Use built-in TLS support if `gnutls-available-p' is true. 2011-06-26 10:13:07 +02:00
Leo Liu
6302e0d3ce Extend emacs register to accept value from registerv-make
A value object returned by `registerv-make' has slots to control
jump-to-register, describe-register-1 and insert-register.
2011-06-26 14:37:04 +08:00
Chong Yidong
2afef60a03 New option for showing a diff in vc-revert (Bug#8927).
* vc/vc.el (vc-revert-show-diff): New defcustom.
(vc-diff-internal): New arg specifying diff buffer.
(vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
reuse an existing *vc-diff* buffer.
2011-06-26 00:05:39 -04:00
Chong Yidong
5fdd4046b9 * lisp/progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode. 2011-06-25 23:42:22 -04:00
Chong Yidong
029529ac6f Fix handling of pending signals in wait_reading_process_output (Bug#8869).
* process.c (wait_reading_process_output): Bypass select if
waiting for a cell while ignoring keyboard input, and input is
pending.  Suggested by Jan Djärv.
2011-06-25 23:40:40 -04:00
Glenn Morris
ee584d02dd * lisp/progmodes/f90.el (f90-looking-at-critical): Doc fix. 2011-06-25 18:37:36 -07:00
Glenn Morris
9f678528d8 * doc/emacs/fortran-xtra.texi (Fortran): F90 mode is also for F2008.
* etc/NEWS: Mention this.
2011-06-25 18:25:53 -07:00
Glenn Morris
e93db24a10 Add support for block and critical blocks to f90.el.
* lisp/progmodes/f90.el (f90-critical-indent): New option.
(f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
(f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
(f90-mode): Doc fix.
(f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
(f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
(f90-beginning-of-block, f90-next-block, f90-indent-region)
(f90-match-end): Handle block, critical.
2011-06-25 18:22:45 -07:00
Glenn Morris
d4f259f785 Add some co-array stuff to f90.el.
* lisp/progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
(f90-procedures-re, f90-constants-re): Add some co-array stuff.
2011-06-25 17:23:44 -07:00
Glenn Morris
ccf7a5d5c8 Add some more F2008 font-locking for f90.el.
* lisp/progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
Add some F2008 stuff.
2011-06-25 17:01:36 -07:00
Glenn Morris
e9246b20af * lisp/calendar/diary-lib.el: Comment fix. 2011-06-25 15:33:29 -07:00
Glenn Morris
f6ba4cc9d8 Avoid some code duplication in diary-lib.el.
* lisp/calendar/diary-lib.el (diary-included-files): Doc fix.
(diary-include-files): New function, extracted from
diary-include-other-diary-files and diary-mark-included-diary-files.
(diary-include-other-diary-files, diary-mark-included-diary-files):
Just call diary-include-files.
(diary-mark-entries): Reset diary-included-files on first call.
2011-06-25 15:22:47 -07:00
Glenn Morris
1671230453 When marking, visit included diary-files in temp buffers.
Ref: bug#8920, but not a bug.

* lisp/calendar/diary-lib.el (diary-mark-entries)
(diary-mark-included-diary-files):
Visit included diary-files in temp buffers.
2011-06-25 15:10:21 -07:00
Glenn Morris
1a5db1f412 * lisp/progmodes/f90.el (f90-procedures-re): Add F2008 "is_contiguous". 2011-06-25 14:28:24 -07:00
Glenn Morris
5d8e0d43b0 Add submodule support to f90.el.
* lisp/progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
(f90-blocks-re, f90-program-block-re, f90-end-block-re)
(f90-start-block-re, f90-imenu-generic-expression)
(f90-looking-at-program-block-start, f90-no-block-limit):
Add support for submodules.
2011-06-25 14:21:45 -07:00
Glenn Morris
5b66d427c0 ChangeLog fix. 2011-06-25 13:53:24 -07:00
Glenn Morris
eefff499d7 Add missing ChangeLog for previous commit. 2011-06-25 13:51:40 -07:00
Glenn Morris
898265597c Add some F2008 keywords to f90.el font-locking.
* lisp/progmodes/f90.el (f90-keywords-re, f90-procedures-re)
(f90-constants-re): Add some F2008 stuff.
2011-06-25 13:49:56 -07:00
Glenn Morris
a150502ad8 * lib-src/emacsclient.c (print_help_and_exit): More fixing of previous. 2011-06-25 12:52:34 -07:00
Glenn Morris
5f9388d04e * lib-src/emacsclient.c (print_help_and_exit): Fix previous change. 2011-06-25 12:33:07 -07:00
Paul Eggert
948b98fd3c Merge from trunk. 2011-06-25 11:31:36 -07:00
Glenn Morris
11fdef7d0c Merge from emacs-23; up to 2010-06-15T03:34:12Z!rgm@gnu.org. 2011-06-25 11:21:00 -07:00
Glenn Morris
3794a2d3a4 Minor additions for previous emacsclient change.
* lib-src/emacsclient.c (decode_options) <opt>: Add `F:'.
(print_help_and_exit): Mention --frame-parameters.
2011-06-25 11:13:14 -07:00
Juanma Barranquero
74f5369749 Simplify unloading functions after 2011-06-25T17:42:18Z!lekktu@gmail.com.
* allout.el (allout-unload-function): Pass -1 to `allout-mode'.

* proced.el (proced-unload-function):
* progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.

* ses.el (ses-unload-function):
* emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2011-06-25 20:08:41 +02:00
Andreas Rottmann
18a4ce5ea1 Allow emacsclient to set parameters of new graphical frames (bug#5864)
* lib-src/emacsclient.c (longopts, decode_options, main): Add frame-parameters.

* lisp/server.el (server-create-window-system-frame): Add parameters arg.
(server-process-filter): Doc fix.  Handle frame-parameters.

* doc/emacs/misc.texi (emacsclient Options): Mention --frame-parameters.
* doc/man/emacsclient.1: Mention --frame-parameters.

* etc/NEWS: Mention this.
2011-06-25 11:05:48 -07:00
Glenn Morris
919bbce05b emacs-buildstatus means reports of build failures are unlikely to be needed. 2011-06-25 10:51:03 -07:00