1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

92796 Commits

Author SHA1 Message Date
Jan Djärv
872870b29a Use a select wrapper around the GLib event loop, thus taking into account GLib
timeouts and event sources.  This simplifies Gtk+-code a lot, and is needed
for handling GConf death/restart.

* xterm.c: #include xgselect.h.
(x_initialize): Call xgselect_initialize.

* xsettings.c (something_changedCB): C++ comments => C comments.
(init_gconf): Do not deal with any GLib file descriptors, xg_select
does that now.

* gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
(xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
(scroll_bar_button_cb): Remove.
(create_menus): C++ comments => C comments. Don't bind grab-notify
event.
(xg_create_scroll_bar): Don't bind button-press-event and
button-release-event.

* process.c: Include xgselect.h if defined (USE_GTK) ||
defined (HAVE_GCONF).
(wait_reading_process_output): Call xg_select for the same condition.

* xgselect.c (xg_select): New function to better integrate with
GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.

* xgselect.h: New file, declare xg_select, xgselect_initialize.

* Makefile.in (XOBJ): Add xgselect.o.
2009-11-21 15:28:59 +00:00
Andreas Schwab
62a6e103dd * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
ignored second argument.  All callers changed.
* regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
(RE_STRING_CHAR_AND_LENGTH): Likewise.
* xdisp.c (string_char_and_length): Likewise.
2009-11-21 11:52:23 +00:00
Alan Mackenzie
c3b616a940 (cc-imenu-java-generic-expression): A corrected version of the patch from
2009-11-18.
2009-11-21 10:32:20 +00:00
Alan Mackenzie
4121db479a *** empty log message *** 2009-11-21 10:31:01 +00:00
Tassilo Horn
d71f5e0cb8 * progmodes/subword.el: Rename from lisp/subword.el.
* subword.el: Rename to progmodes/subword.el.

	* Makefile.in (ELCFILES): Adapt to subword.el move.
2009-11-21 07:50:48 +00:00
Stefan Monnier
fc9d6ad645 (bookmark-bmenu-bookmark-column): Remove var.
(bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
(bookmark-bmenu-show-filenames): Use push.
(bookmark-bmenu-hide-filenames): Use local var instead of
bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
(bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
(bookmark-bmenu-execute-deletions): Don't bother adding/removing the
filenames now that the bookmark names are always available.
2009-11-21 06:43:45 +00:00
Chong Yidong
eb7fdcd950 Fix last change. 2009-11-21 04:50:36 +00:00
Stefan Monnier
26d9285f32 (bookmark-search-prompt, bookmark-search-timer): Remove.
(bookmark-search-pattern): Move and leave unbound.
(bookmark-bmenu-mode-map): Change binding.
(bookmark-read-search-input): Simplify.
Don't use text-char-description.  Don't error on non-char events.
(bookmark-filtered-alist-by-regexp-only): Remove by folding into the
only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
(bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
Use a local var for the timer.
(bookmark-bmenu-cancel-search): Remove by folding into the only caller
(i.e. bookmark-bmenu-search).
2009-11-21 04:43:10 +00:00
Glenn Morris
d73a0317a0 (rmail-mime): Decode in fundamental-mode. (Bug#4993) 2009-11-21 02:36:54 +00:00
Dan Nicolaescu
b0ca0f33f7 * xterm.c (x_new_font):
* print.c (print_object):
* cmds.c (Fself_insert_command): Move declarations before statements.
2009-11-21 02:33:45 +00:00
Chong Yidong
e572025ff1 * net/browse-url.el (browse-url-default-windows-browser): Use
cygstart for cygwin.
2009-11-20 21:49:46 +00:00
Chong Yidong
5c3ef352f1 * PROBLEMS: Remove fixed rebasing problem. 2009-11-20 21:46:28 +00:00
Chong Yidong
dd5a6279bc * s/cygwin.h: Remove unneeded linker flags. 2009-11-20 21:44:58 +00:00
Chong Yidong
abbdc6a07b * PROBLEMS (http): Add workaround for Cygwin crash. 2009-11-20 21:40:00 +00:00
Karl Fogel
6aeaa3dcde * lisp/bookmark.el: Formatting and doc fixes only:
(bookmark-search-delay): Shorten doc string to fit in 80 columns.
  (bookmark-bmenu-search): Wrap to fit within 80 columns.  Minor
    grammar and punctuation fixes in doc string.
  (bookmark-read-search-input): Adjust to fit within 80 columns.
2009-11-20 21:12:54 +00:00
Carsten Dominik
cc7748fbc7 Change version number to 6.33x 2009-11-20 20:55:31 +00:00
Carsten Dominik
72d803ade7 2009-11-20 Carsten Dominik <dominik@u016822.science.uva.nl>
* org.texi: (Column attributes): Fix documentaion of new operators.
2009-11-20 20:54:22 +00:00
Carsten Dominik
5dec95551d 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
	agenda after adding new entry.

	* org-datetree.el (org-datetree-find-day-create): Fix regular
	expression.

	* org.el (org-display-outline-path): Use a format specifier for
	message, to avoid problems with heading containing `%'.

	* org-agenda.el (org-agenda-hide-tags-regexp): New option.
	(org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
	(org-agenda-fix-displayed-tags): New function.
	(org-agenda-do-context-action): Just call
	`org-display-outline-path', without piping the result through
	`message'.

	* org-latex.el (org-export-latex-preprocess): Protect secondary
	footnote references.

	* org-indent.el (org-indent-initialize): Avoid empty strings as
	line prefixes.

	* org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
	hat checking for the mark does not throw an error.
	(org-agenda-diary-entry-in-org-file): Catch the case that there is
	not `day' text property in the cursor line.

	* org.el (org-sort-entries-or-items): Make sure that the final
	entry has a newline before doing the sorting.

	* org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
	property at the beginning of the line.

	* org.el (org-make-link-string): Don't allow a description with
	only white space.

	* org-agenda.el (org-agenda-insert-diary-strategy): New variable.
	(org-agenda-insert-diary-as-top-level): New function.
	(org-agenda-add-entry-to-org-agenda-diary-file): Call
	`org-agenda-insert-diary-as-top-level'.

	* org.el (org-occur-in-agenda-files): Make sure none of the
	buffers is narrowed.
	(org-activate-plain-links): Add the face property here.
	(org-set-font-lock-defaults): Do not add the face to plain links,
	the activator function does this.

	* org-habit.el (org-is-habit-p): Add doc string.

	* org-archive.el (org-archive-subtree-default-with-confirmation):
	Autoload.

	* org-latex.el (org-export-latex-fontify): Fix regexp to make char
	after match optional (happens at the end of a line...).

	* org.el (org-fontify-meta-lines-and-blocks): Apply special faces
	for special blocks.

	* org-faces.el (org-copy-face): Set lisp indentation.
	(org-quote, org-verse): New faces.

	* org-agenda.el (org-agenda-remove-date): Remove variable.

	* org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.

	* org-html.el (org-export-as-html): Move the home/up link into
	the content div.

	* org.el (org-export-latex-packages-alist): Option definition
	moved here from org-latex.el.

	* org-html.el (org-export-html-home/up-format): Add an ID to the
	up/home div.

	* org-wl.el (org-wl-store-link): Handle the case that
	`wl-use-petname' is set.

	* org.el (org-set-effort): Improve prompt.
	(org-get-outline-path): Widen to get full path.
	(org-compact-display-after-subtree-move): Function removed.

2009-11-20  Eric Schulte  <schulte.eric@gmail.com>

	* org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
	hash keys to cache and re-use images generated by the
	org-exp-blocks interface to ditaa and dot.

	* org.el (org-format-latex): Latex images are now saved to files
	named by the sha1 hash of the latex source text avoiding
	regeneration of identical images.
2009-11-20 20:54:05 +00:00
Tassilo Horn
a9b76eec39 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
(c-backward-into-nomenclature): Adapt to subword renaming.

	* subword.el (subword-forward, subword-backward, subword-mark)
	(subword-kill, subword-backward-kill, subword-transpose)
	(subword-downcase, subword-upcase, subword-capitalize)
	(subword-forward-internal, subword-backward-internal): Renamed
	from forward-subword, backward-subword, mark-subword kill-subword,
	backward-kill-subword, transpose-subwords, downcase-subword,
	upcase-subword, capitalize-subword forward-subword-internal,
	backward-subword-internal.
2009-11-20 18:09:29 +00:00
Stefan Monnier
1e7d447511 * bookmark.el (bookmark-search-delay, bookmark-search-prompt): New options.
(bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag): New vars.
(bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
(bookmark-bmenu-filter-alist-by-regexp)
(bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
(bookmark-bmenu-search): New command.
(bookmark-bmenu-mode-map): Bind it.
2009-11-20 15:47:26 +00:00
Chong Yidong
acfad775d2 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc
fix.

* cedet/semantic/idle.el (define-semantic-idle-service)
(semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2009-11-20 15:11:16 +00:00
Tassilo Horn
ab84bfa00e * progmodes/cc-cmds.el: declare-functioned forward-subword and
backward-subword to quit the byte-compiler.
2009-11-20 14:28:54 +00:00
Tassilo Horn
1f35fda94f * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
* Makefile.in: Don't refer cc-subword.elc but subword.elc.
2009-11-20 14:05:18 +00:00
Jan Djärv
0d1d0d26a9 Always suggest system font because .emacs may not have been read yet.
* xfns.c (x_default_font_parameter): Call xsettings_get_system_font.

* xsettings.h: Declare xsettings_get_system_font.

* xsettings.c (xsettings_get_system_font): New function.
(init_gconf): No use initiating gconf unless we have Xft also.
(syms_of_xsettings): Only provide system-font-setting if HAVE_XFT and
HAVE_GCONF.
2009-11-20 09:44:42 +00:00
Jan Djärv
4a8e097d4e gtkutil.c (xg_modify_menubar_widgets): If menubar is totally empty
add a blank entry so it doesn't collapse into nothing.
2009-11-20 08:54:18 +00:00
Tassilo Horn
653d15547a 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
* progmodes/cc-cmds.el (c-update-modeline)
	(c-forward-into-nomenclature, c-backward-into-nomenclature): Refer
	to subword.el functions instead of cc-subword.el.

	* progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
	subword.el functions instead of cc-subword.el.

	* progmodes/cc-subword.el: Renamed to subword.el.
	* subword.el: Renamed from progmodes/cc-subword.el.
	(subword-mode-map): Renamed from c-subword-mode-map.
	(subword-mode): Renamed from c-subword-mode.
	(global-subword-mode): New global minor mode.
	(forward-subword): Renamed from c-forward-subword.
	(backward-subword): Renamed from c-backward-subword.
	(mark-subword): Renamed from c-mark-subword.
	(kill-subword): Renamed from c-kill-subword.
	(backward-kill-subword): Renamed from c-backward-kill-subword.
	(transpose-subwords): Renamed from c-tranpose-subword.
	(downcase-subword): Renamed from c-downcase-subword.
	(capitalize-subword): Renamed from c-capitalize-subword.
	(forward-subword-internal): Renamed from
	c-forward-subword-internal.
	(backward-subword-internal): Renamed from
	c-backward-subword-internal.
2009-11-20 08:22:32 +00:00
Dan Nicolaescu
8de724f3d1 (vc-deduce-fileset): Allow non-state changing operations
from a dired buffer.
(vc-dired-deduce-fileset): New function.
(vc-root-diff, vc-print-root-log): Use it.
2009-11-20 06:56:16 +00:00
Dan Nicolaescu
7a2efa6f08 Use -Wdeclaration-after-statement if available. 2009-11-20 06:05:10 +00:00
Dan Nicolaescu
9717f1199f (vc-annotate-show-log-revision-at-line): Pass a
nil LIMIT argument to vc-print-log-internal.
2009-11-20 05:44:49 +00:00
Chong Yidong
673286f5f9 * sem-user.texi (Idle Completions Mode): More copyedits. 2009-11-20 05:02:46 +00:00
Stefan Monnier
02e1b4886f Add missing entry. 2009-11-20 03:19:27 +00:00
Glenn Morris
83d60c79cf (Acknowledgments): Add htmlfontify. 2009-11-20 02:30:55 +00:00
Glenn Morris
af4999b85b (ELCFILES): Regenerate. 2009-11-20 02:29:32 +00:00
Chong Yidong
b4d472c95e * message.el (message-send-mail-with-sendmail): Revert last change. 2009-11-20 02:26:07 +00:00
Chong Yidong
bd6f683352 * sem-user.texi (Semanticdb Search Configuration): Rearrange nodes.
(Search Throttle, Semanticdb Roots, Include paths, Idle Scheduler):
Numerous copyedits.
2009-11-20 01:52:41 +00:00
Chong Yidong
725bff063e * cedet/cedet.el (cedet-menu-map): Re-order menu items.
* cedet/semantic.el: Enable idle-mode menu items only if
global-semantic-idle-scheduler-mode is enabled.
(semantic-default-submodes): Doc fix.

* cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
When turning off, disable other idle modes.
2009-11-20 01:35:49 +00:00
Jay Belanger
b58edcb60f *** empty log message *** 2009-11-20 01:17:15 +00:00
Jay Belanger
d772f28bc8 (calc-octal-radix, calc-hex-radix): Add spec. 2009-11-20 01:09:03 +00:00
Jay Belanger
2d1c8c66dc (math-format-date): Fix typo. 2009-11-20 01:08:03 +00:00
Jay Belanger
e6e9cfbdc4 (calcFunc-vunpack): Let `calc-twos-complement-mode' be nil. 2009-11-20 01:00:27 +00:00
Jay Belanger
7b999abb57 (math-build-units-table-buffer): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:59:50 +00:00
Jay Belanger
f3550dacbc (calc-modes-menu): Clean up two's complement entries. 2009-11-20 00:59:24 +00:00
Jay Belanger
d2e63e7573 (math-use-emacs-fn): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:58:54 +00:00
Jay Belanger
22521c7040 (calc-graph-plot): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:58:28 +00:00
Jay Belanger
d389fbcb3f (math-format-date): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:58:00 +00:00
Jay Belanger
9e6a33ac87 (calc-init-extentions): Rename `calc-complement-signed-mode' to
`calc-twos-complement-mode'.
(math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
2009-11-20 00:57:32 +00:00
Jay Belanger
ed80ebb623 (calc-embedded-mode-vars): Rename `calc-complement-signed-mode' to
`calc-twos-complement-mode'.
2009-11-20 00:56:59 +00:00
Jay Belanger
064cb7e6e4 (math-compose-expr): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:56:28 +00:00
Jay Belanger
50a982d673 (math-format-twos-complement): Renamed from math-format-complement-signed.
(calc-radix): Rename `calc-complement-signed-mode' to
`calc-twos-complement-mode'.
(calc-octal-radix, calc-hex-radix): Add an argument for two's complement.
2009-11-20 00:55:53 +00:00
Jay Belanger
8768b1328e (calc-do-calc-eval): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:55:13 +00:00