]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoFix dedicatedness check in display-buffer
Martin Rudalics [Fri, 12 Nov 2010 07:26:09 +0000 (08:26 +0100)]
Fix dedicatedness check in display-buffer

14 years agoFix a bug in and rewrite resize_frame_windows.
Martin Rudalics [Thu, 11 Nov 2010 18:13:43 +0000 (19:13 +0100)]
Fix a bug in and rewrite resize_frame_windows.

* window.c (syms_of_window): Add Qsafe and intern it.
(resize_frame_windows): Check whether the actual new size of the
root window matches the requested size.  Also try one more round
with safe minimum sizes.  Simplify code.

14 years agoMerge from trunk
Martin Rudalics [Wed, 10 Nov 2010 17:28:36 +0000 (18:28 +0100)]
Merge from trunk

14 years agoAdd temp-buffer-show-specifiers and replace with-output-to-temp-buffer
Martin Rudalics [Wed, 10 Nov 2010 09:53:22 +0000 (10:53 +0100)]
Add temp-buffer-show-specifiers and replace with-output-to-temp-buffer
with with-help-window.

* window.c (syms_of_window): New variable
temp-buffer-show-specifiers.
(temp_output_buffer_show): Call display-buffer with second
argument set to temp-buffer-show-specifiers and reset the latter
after the call.

* print.c (Fwith_output_to_temp_buffer): In doc-string explain how
to set up temp-buffer-show-specifiers.

* help.el (with-help-window): In doc-string say how to set up
temp-buffer-show-specifiers.

* isearch.el (isearch-help-for-help, isearch-describe-bindings)
(isearch-describe-key, isearch-describe-mode): Replace bindings
for same-window-buffer-names and same-window-regexps by binding
temp-buffer-show-specifiers instead.

* international/mule-diag.el (mule-diag):
* calc/calc-help.el (calc-describe-key, calc-full-help):
* printing.el (pr-show-setup):
* progmodes/python.el (python-describe-symbol):
* textmodes/table.el (*table--cell-describe-mode)
(*table--cell-describe-bindings):
* tutorial.el (tutorial--describe-nonstandard-key)
(tutorial--detailed-help):
* progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
* play/yow.el (apropos-zippy): Use with-help-window.

* apropos.el (apropos-command): Remove the message calculation part.
(apropos-print): Use with-help-window

* woman.el (woman-mini-help): Remove the message calculation part.
(woman-display-extended-fonts): Use with-help-window.

* display.texi (Temporary Displays): Describe
temp-buffer-show-specifiers.

14 years agoFix syntax error in previous commit.
Michael Albinus [Wed, 10 Nov 2010 09:08:05 +0000 (10:08 +0100)]
Fix syntax error in previous commit.

14 years agoAdd const to array elements of font filter properties.
YAMAMOTO Mitsuharu [Wed, 10 Nov 2010 09:02:54 +0000 (18:02 +0900)]
Add const to array elements of font filter properties.

* font.c (font_filter_properties): Add const to array elements of properties args.
* font.h (font_filter_properties): Likewise.
* ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array elements.
* w32font.c (w32font_booleans, w32font_non_booleans): Likewise.

14 years ago* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
Michael Albinus [Wed, 10 Nov 2010 08:48:18 +0000 (09:48 +0100)]
* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
(XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
(xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
(Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
(syms_of_dbusbind): Initialize QCdbus_type_unix_fd).

14 years ago* dbus.texi (Type Conversion): Introduce `:unix-fd' type mapping.
Michael Albinus [Wed, 10 Nov 2010 08:41:53 +0000 (09:41 +0100)]
* dbus.texi (Type Conversion): Introduce `:unix-fd' type mapping.

14 years ago* lisp/progmodes/octave-mod.el (octave-mark-block): Update for smie change.
Glenn Morris [Wed, 10 Nov 2010 08:21:06 +0000 (00:21 -0800)]
* lisp/progmodes/octave-mod.el (octave-mark-block): Update for smie change.

14 years ago* lisp/textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
Glenn Morris [Wed, 10 Nov 2010 07:59:00 +0000 (23:59 -0800)]
* lisp/textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.

14 years agorfc2047.el (rfc2047-syntax-table): Simplify.
Katsumi Yamaoka [Wed, 10 Nov 2010 07:55:25 +0000 (07:55 +0000)]
rfc2047.el (rfc2047-syntax-table): Simplify.

14 years agognus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table...
Katsumi Yamaoka [Wed, 10 Nov 2010 06:23:53 +0000 (06:23 +0000)]
gnus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table-range for XEmacs.

14 years agoMinor edt.el simplification.
Glenn Morris [Wed, 10 Nov 2010 05:24:48 +0000 (21:24 -0800)]
Minor edt.el simplification.

* lisp/emulation/edt.el (edt-with-position): New macro.
(edt-find-forward, edt-find-backward, edt-find-next-forward)
(edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
(edt-paragraph-forward, edt-paragraph-backward): Use it.

14 years agotpu-extras.el simplifiation.
Glenn Morris [Wed, 10 Nov 2010 05:16:34 +0000 (21:16 -0800)]
tpu-extras.el simplifiation.

* lisp/emulation/tpu-extras.el (tpu-with-position): New macro.
(tpu-paragraph, tpu-page, tpu-search-internal): Use it.

14 years agoUse line-beginning-position in some texinfo.el files.
Glenn Morris [Wed, 10 Nov 2010 04:35:18 +0000 (20:35 -0800)]
Use line-beginning-position in some texinfo.el files.

* lisp/textmodes/texnfo-upd.el (texinfo-all-menus-update)
(texinfo-menu-copy-old-description, texinfo-start-menu-description)
(texinfo-master-menu, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* lisp/textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
Use line-beginning-position.

14 years agoSilence skeleton.el compilation.
Glenn Morris [Wed, 10 Nov 2010 04:30:21 +0000 (20:30 -0800)]
Silence skeleton.el compilation.

* lisp/skeleton.el (skeleton-internal-list, skeleton-internal-1):
Prefix dynamic local variable `skeleton'.

14 years agoRemove ls-lisp time-related functions that duplicate standard functions.
Glenn Morris [Wed, 10 Nov 2010 04:28:16 +0000 (20:28 -0800)]
Remove ls-lisp time-related functions that duplicate standard functions.

* lisp/ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
(ls-lisp-handle-switches): Use time-less-p.
(ls-lisp-format-time): Use float-time.

14 years agosystem-type related trivia.
Glenn Morris [Wed, 10 Nov 2010 04:24:47 +0000 (20:24 -0800)]
system-type related trivia.

* lisp/cedet/semantic/bovine/c.el: Test system-type with memq.

* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
No recent Emacs supports system-type `emx'.

* lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
(ada-command-separator, ada-default-prj-properties)
(ada-find-any-references): Update for above name change.

* lisp/dirtrack.el (dirtrack-directory-function)
(dirtrack-canonicalize-function):
* lisp/filecache.el (file-cache-completion-ignore-case)
(file-cache-case-fold-search, file-cache-ignore-case):
* lisp/term.el (serial-port-is-file-p): Cosmetic change.

* lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
Remove non-existent `windows-95' system-type.
* lisp/dired.el (dired-chown-program): Remove non-existent `linux'
system-type.

* lisp/locate.el: Comment.

14 years agonet-utils system-type trivia.
Glenn Morris [Wed, 10 Nov 2010 04:13:21 +0000 (20:13 -0800)]
net-utils system-type trivia.

* lisp/net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
(ping-program-options): Remove non-existent `linux' system-type.

14 years ago* lisp/startup.el (package-initialize): Update declaration.
Glenn Morris [Wed, 10 Nov 2010 04:11:08 +0000 (20:11 -0800)]
* lisp/startup.el (package-initialize): Update declaration.

14 years ago* lisp/gnus/smime.el (from): Remove unused declaration.
Glenn Morris [Wed, 10 Nov 2010 04:09:49 +0000 (20:09 -0800)]
* lisp/gnus/smime.el (from): Remove unused declaration.

14 years agotime-to-seconds related simplifications.
Glenn Morris [Wed, 10 Nov 2010 04:08:15 +0000 (20:08 -0800)]
time-to-seconds related simplifications.

* lisp/gnus/gnus-util.el (with-no-warnings): Remove compat stub, now unused.
(gnus-float-time): On Emacs, always an alias.

* lisp/gnus/ecomplete.el (with-no-warnings): Remove compat stub, now unused.
(ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.

* lisp/textmodes/remember.el (remember-time-to-seconds): Remove.
(remember-store-in-mailbox): Use float-time.

* lisp/calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.

* lisp/calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
never a real function.
(with-no-warnings): Remove compat stub, now unused.
(time-less-p): Doc fix.
(time-to-number-of-days): Simplify.

14 years agoReplace some eshell functions that duplicate standard functions.
Glenn Morris [Wed, 10 Nov 2010 03:57:32 +0000 (19:57 -0800)]
Replace some eshell functions that duplicate standard functions.

* lisp/eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds): Remove.
(eshell-read-passwd, eshell-read-hosts): Use time-less-p.
* lisp/eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
* lisp/eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
* lisp/eshell/em-pred.el (eshell-pred-file-time): Use float-time.
* lisp/eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.

14 years agoSilence compilation of some shell files.
Glenn Morris [Wed, 10 Nov 2010 03:53:03 +0000 (19:53 -0800)]
Silence compilation of some shell files.

* lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
(eshell-shuffle-files, eshell-shorthand-tar-command)
(eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
* lisp/eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
Prefix dynamic local variable `matches'.

14 years ago* src/emacs.c (syms_of_emacs) <system-type>: Doc fix.
Glenn Morris [Wed, 10 Nov 2010 03:45:29 +0000 (19:45 -0800)]
* src/emacs.c (syms_of_emacs) <system-type>: Doc fix.

14 years agoChangeLog fix.
Glenn Morris [Wed, 10 Nov 2010 03:43:44 +0000 (19:43 -0800)]
ChangeLog fix.

14 years agognus-art.el (org-entities): Bind it.
Katsumi Yamaoka [Wed, 10 Nov 2010 01:25:17 +0000 (01:25 +0000)]
gnus-art.el (org-entities): Bind it.

14 years agonet/browse-url.el (browse-url-mail): Insert body part of mailto url in mail buffer...
Katsumi Yamaoka [Wed, 10 Nov 2010 00:02:44 +0000 (00:02 +0000)]
net/browse-url.el (browse-url-mail): Insert body part of mailto url in mail buffer; make yank-action always a command that yanks original buffer.

14 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Tue, 9 Nov 2010 22:17:36 +0000 (22:17 +0000)]
Merge changes made in Gnus trunk.

message.el (message-mailto): New function.
message.el (message-mailto): Should accept other parameters.
message.el (message-mailto): Remove since it duplicates browse-url-mailto functionality.
shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
message.el (message-subject-trailing-was-ask-regexp): A ] in a [] regexp doesn't need quoting.
gnus-art.el (article-treat-non-ascii): New command and keystroke.
shr.el (browse-url-mailto): Autoload.
gnus.texi (Article Washing): Document gnus-article-treat-non-ascii.

14 years agoMerge from emacs-23
Stefan Monnier [Tue, 9 Nov 2010 20:07:10 +0000 (15:07 -0500)]
Merge from emacs-23

14 years agoxfns.c (x_real_positions): Fix declaration-after-statement problem.
Eli Zaretskii [Tue, 9 Nov 2010 13:55:52 +0000 (15:55 +0200)]
xfns.c (x_real_positions): Fix declaration-after-statement problem.

14 years agomessage.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was...
Sven Joachim [Tue, 9 Nov 2010 10:29:37 +0000 (10:29 +0000)]
message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was.

14 years ago* lisp/progmodes/meta-mode.el: (meta-indent-line): Simplify.
Glenn Morris [Tue, 9 Nov 2010 08:00:46 +0000 (00:00 -0800)]
* lisp/progmodes/meta-mode.el: (meta-indent-line): Simplify.

14 years ago* lisp/progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
Glenn Morris [Tue, 9 Nov 2010 07:47:01 +0000 (23:47 -0800)]
* lisp/progmodes/meta-mode.el: Remove leading `*' from defcustom docs.

14 years ago* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
Glenn Morris [Tue, 9 Nov 2010 07:41:57 +0000 (23:41 -0800)]
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.

14 years agoReplace still more end-of-line etc with line-end-position, etc.
Glenn Morris [Tue, 9 Nov 2010 05:33:07 +0000 (21:33 -0800)]
Replace still more end-of-line etc with line-end-position, etc.

* lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
(nnbabyl-check-mbox): Use point-at-bol.

* lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
* lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
* lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
Use point-at-bol and point-at-eol.

* lisp/vc/emerge.el (emerge-line-number-in-buf):
* lisp/textmodes/ispell.el (ispell-region):
* lisp/textmodes/fill.el (current-fill-column):
* lisp/progmodes/xscheme.el (xscheme-send-current-line):
* lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
* lisp/progmodes/sh-script.el (sh-handle-prev-do):
* lisp/progmodes/meta-mode.el (meta-indent-line):
* lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
(idlwave-in-quote):
* lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
(idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
* lisp/progmodes/fortran.el (fortran-looking-at-if-then):
* lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
* lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
(cperl-find-pods-heres):
* lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/net/ldap.el (ldap-search-internal):
* lisp/net/eudc.el (eudc-expand-inline):
* lisp/mail/sendmail.el (sendmail-send-it):
* lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
* lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
(viper-brac-function):
* lisp/calc/calc-yank.el (calc-do-grab-region):
* lisp/calc/calc-keypd.el (calc-keypad-press):
* lisp/term.el (term-move-columns, term-insert-spaces):
* lisp/speedbar.el (speedbar-highlight-one-tag-line):
* lisp/simple.el (current-word):
* lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
* lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
(Info-scroll-down):
* lisp/hippie-exp.el (he-line-beg):
* lisp/epa.el (epa--marked-keys):
* lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
(dired-update-file-line, dired-add-entry, dired-remove-entry)
(dired-relist-entry):
* lisp/buff-menu.el (Buffer-menu-buffer):
* lisp/array.el (current-line):
* lisp/allout.el (allout-resolve-xref)
(allout-latex-verbatim-quote-curr-line):
Replace yet more uses of end-of-line etc with line-end-position.

14 years agoChangeLog fix.
Glenn Morris [Tue, 9 Nov 2010 04:39:11 +0000 (20:39 -0800)]
ChangeLog fix.

14 years agoBump version to 23.2.90. emacs-pretest-23.2.90
Chong Yidong [Tue, 9 Nov 2010 02:53:18 +0000 (21:53 -0500)]
Bump version to 23.2.90.
Regenerate AUTHORS, configure, and ldefs-boot.el.

14 years agomessage.el (message-subject-trailing-was-regexp): Fix default value.
Katsumi Yamaoka [Tue, 9 Nov 2010 02:00:56 +0000 (02:00 +0000)]
message.el (message-subject-trailing-was-regexp): Fix default value.

14 years ago* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.
Stefan Monnier [Mon, 8 Nov 2010 21:07:41 +0000 (16:07 -0500)]
* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.

14 years ago* lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
Stefan Monnier [Mon, 8 Nov 2010 20:53:42 +0000 (15:53 -0500)]
* lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
completion field.

Fixes: debbugs:7211
14 years ago* lisp/emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
Stefan Monnier [Mon, 8 Nov 2010 20:01:01 +0000 (15:01 -0500)]
* lisp/emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
(checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
(checkdoc-syntax-table): Initialize in the declaration.
(emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
the mode on unconditionally.

14 years ago* lisp/emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
Stefan Monnier [Mon, 8 Nov 2010 19:09:21 +0000 (14:09 -0500)]
* lisp/emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
(extent-end-position, extent-start-position): Remove setf method for
non-existing functions.

Fixes: debbugs:7319
14 years ago* lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Stefan Monnier [Mon, 8 Nov 2010 18:56:10 +0000 (13:56 -0500)]
* lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.

Fixes: debbugs:7322
14 years ago* lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
Richard Levitte [Mon, 8 Nov 2010 18:42:24 +0000 (13:42 -0500)]
* lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
(vc-mtn-workfile-branch): Adjust to new output format.

14 years ago* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.
Stefan Monnier [Mon, 8 Nov 2010 15:45:49 +0000 (10:45 -0500)]
* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.

14 years agoMerge from window-pub
Martin Rudalics [Mon, 8 Nov 2010 09:54:23 +0000 (10:54 +0100)]
Merge from window-pub

14 years agoMerge from trunk
Martin Rudalics [Mon, 8 Nov 2010 07:45:57 +0000 (08:45 +0100)]
Merge from trunk

14 years agognus-group.el (gnus-group-read-ephemeral-group, gnus-group-make-group): Remove superf...
Lars Magne Ingebrigtsen [Mon, 8 Nov 2010 01:38:47 +0000 (01:38 +0000)]
gnus-group.el (gnus-group-read-ephemeral-group, gnus-group-make-group): Remove superfluous ": " from the prompt.
gnus-start.el (gnus-get-unread-articles, gnus-read-active-file): Ignore totally non-existent methods.

14 years agoRewrite more functions with buffer display specifiers
Martin Rudalics [Sun, 7 Nov 2010 19:47:18 +0000 (20:47 +0100)]
Rewrite more functions with buffer display specifiers

* printing.el (pr-file-list): Comment out bindings of
pop-up-windows and pop-up-frames.

* mail/reporter.el (reporter-submit-bug-report): Use
pop-to-buffer-other-window and display specifiers.

* mail/sendmail.el (mail-bury): Do something similar to
quit-restore-window.
(top-level): Don't change same-window-buffer-names via add-hook
any more.
(mail): Use pop-to-buffer-same-window.
(mail-other-window): Use pop-to-buffer-other-window.
(mail-other-frame): Use pop-to-buffer-other-frame.

* simple.el (display-message-or-buffer): Rename argument FRAME
to IGNORE because it's ignored.  Change call to display-buffer
accordingly.
(sendmail-user-agent-compose): Remove let bindings around call
to switch-function; the latter should have been bound to an
appropriate function already.
(clone-buffer): Call pop-to-buffer-other-window.
(clone-indirect-buffer): New semantices of display-flag
argument.
(clone-indirect-buffer-other-window): Interactively set
display-flag to 'other-window.

* calendar/solar.el (sunrise-sunset): Use with-help-window instead
of with-output-to-temp-buffer.

* textmodes/bibtex.el (bibtex-search-entry): Use
pop-to-buffer-same-window.

* cmuscheme.el (run-scheme): Use pop-to-buffer-same-window.
(top-level): Remove autoloaded add-hook for
same-window-buffer-names.

* eshell/eshell.el (eshell-add-to-window-buffer-names)
(eshell-remove-from-window-buffer-names): Remove.
(eshell-unload-hook): Don't call
eshell-remove-from-window-buffer-names.
(eshell-buffer-name): Don't call
eshell-remove-from-window-buffer-names and
eshell-add-to-window-buffer-names.
(top-level): Remove eshell-deftest call to check for
same-window-buffer-names.
(eshell): Call pop-to-buffer-same-window.

* files.el (display-buffer-other-frame): Remove.

* ielm.el (top-level): Remove autoloaded add-hook for
same-window-buffer-names.
(ielm): Use pop-to-buffer-same-window.

* progmodes/inf-lisp.el (inferior-lisp): Use
pop-to-buffer-same-window.
(top-level): Remove autoloaded add-hook for
same-window-buffer-names.
(switch-to-lisp): Use pop-to-buffer with tailored specifiers.

* replace.el (occur-mode-goto-occurrence): Use
pop-to-buffer-other-window.
(occur-mode-display-occurrence): Use
display-buffer-other-window.

* shell.el (shell): Use pop-to-buffer-same-window.
(top-level): Remove autoloaded add-hook for
same-window-buffer-names.

* net/rlogin.el: (top-level): Remove autoloaded add-hook for
same-window-regexps.
(rlogin): Use pop-to-buffer-same-window.

* net/telnet.el (top-level): Remove two autoloaded add-hooks for
same-window-regexps.
(telnet, rsh): Use pop-to-buffer-same-window.

14 years ago* lisp/emacs-lisp/smie.el: New package.
Stefan Monnier [Sun, 7 Nov 2010 15:52:33 +0000 (10:52 -0500)]
* lisp/emacs-lisp/smie.el: New package.

14 years ago* lisp/emacs-lisp/smie.el: Simplify the smie-rules-function return values.
Stefan Monnier [Sun, 7 Nov 2010 15:45:45 +0000 (10:45 -0500)]
* lisp/emacs-lisp/smie.el: Simplify the smie-rules-function return values.
(smie-precs->prec2): Rename from smie-precs-precedence-table.
(smie-bnf->prec2): Rename from smie-bnf-precedence-table.
(smie-prec2->grammar): Rename from smie-prec2-levels.
(smie-grammar): Rename from smie-op-levels.
(smie-indent--hanging-p): Rename from smie-hanging-p.
(smie-rule-hanging-p): New alias.
(smie-indent--bolp): Rename from smie-bolp.
(smie-indent--hanging-p): New alias.
(smie--token): New dynamically bound variable.
(smie-indent--parent): New function.
(smie-rule-parent-p): Use it; rename from smie-parent-p.
(smie-rule-next-p): Rename from smie-next-p.
(smie-rule-prev-p): Rename from smie-prev-p.
(smie-rule-sibling-p, smie-rule-parent)
(smie-indent--separator-outdent, smie-rule-separator): New functions.
(smie-rule-separator-outdent): New var.
(smie-indent--rule): Merge with smie-indent--column.
(smie-indent-forward-token, smie-indent-backward-token):
Also recognize close parens.
(smie-indent-keyword): Don't use smie-indent--column any more.
(smie-indent-after-keyword): Ignore closers by default.
(smie-indent-line): Use with-demoted-errors.
* lisp/progmodes/octave-mod.el (octave-smie-grammar):
Rename from octave-smie-op-levels.
(octave-smie-rules): Adjust to new behavior.
* lisp/progmodes/prolog.el (prolog-smie-grammar):
Rename from prolog-smie-op-levels.

14 years ago* src/xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.
Jan D [Sun, 7 Nov 2010 11:25:55 +0000 (12:25 +0100)]
* src/xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.

14 years ago* src/xdisp.c (note_mode_line_or_margin_highlight): Initialize
Jan D [Sun, 7 Nov 2010 11:16:54 +0000 (12:16 +0100)]
* src/xdisp.c (note_mode_line_or_margin_highlight): Initialize
Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.

14 years agoFix misleading Changelog entry.
Michael Albinus [Sun, 7 Nov 2010 07:02:15 +0000 (08:02 +0100)]
Fix misleading Changelog entry.

14 years agoFix typo in previos flymake change.
Glenn Morris [Sun, 7 Nov 2010 02:02:54 +0000 (19:02 -0700)]
Fix typo in previos flymake change.

14 years agoMinor esh-util changes.
Glenn Morris [Sun, 7 Nov 2010 01:56:09 +0000 (18:56 -0700)]
Minor esh-util changes.
* lisp/eshell/esh-util.el (subst-char-in-string)
(directory-files-and-attributes): These compatibility definitions are
not needed on any version of Emacs since at least 21.4.

14 years agoReplace unneeded compatibility definitions with point-at-bol, point-at-eol.
Glenn Morris [Sun, 7 Nov 2010 01:50:52 +0000 (18:50 -0700)]
Replace unneeded compatibility definitions with point-at-bol, point-at-eol.

* lisp/progmodes/verilog-mode.el (verilog-get-beg-of-line)
(verilog-get-end-of-line): Remove.
(verilog-within-string, verilog-re-search-forward-substr)
(verilog-re-search-backward-substr, verilog-set-auto-endcomments)
(verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
Use point-at-bol, point-at-eol.
* lisp/progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
Remove.
(pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
(electric-pascal-terminate-line, pascal-set-auto-comments)
(pascal-indent-paramlist, pascal-indent-declaration)
(pascal-get-lineup-indent, pascal-func-completion)
(pascal-get-completion-decl, pascal-var-completion, pascal-completion):
Use point-at-bol, point-at-eol.
* lisp/progmodes/flymake.el (flymake-line-beginning-position)
(flymake-line-end-position): Remove.
(flymake-highlight-line): Use point-at-bol, point-at-eol.
* lisp/eshell/esh-util.el (line-end-position, line-beginning-position):
Remove compat definitions.

* net/tramp/tramp-compat.el: Comment.

14 years agoMinor checkdoc simplifications.
Glenn Morris [Sun, 7 Nov 2010 01:44:13 +0000 (18:44 -0700)]
Minor checkdoc simplifications.
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Use end-of-line N.
(checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
Use line-end-position.

14 years agoReplace end-of-line, save-excursion etc with point-at-eol, point-at-bol.
Glenn Morris [Sun, 7 Nov 2010 01:36:33 +0000 (18:36 -0700)]
Replace end-of-line, save-excursion etc with point-at-eol, point-at-bol.

* lisp/mh-e/mh-seq.el (mh-read-msg-list): Use point-at-eol.

* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
(gnus-bookmark-kill-line): Use point-at-eol.

* lisp/cedet/ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.

* lisp/emacs-lisp/chart.el (chart-zap-chars):
* lisp/play/decipher.el (decipher-set-map):
* lisp/progmodes/ada-mode.el (ada-get-current-indent)
(ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
* lisp/progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
* lisp/progmodes/ada-xref.el (ada-initialize-runtime-library)
(ada-get-all-references):
* lisp/progmodes/cperl-mode.el (cperl-electric-paren)
(cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
(cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
(cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
(cperl-word-at-point-hard):
* lisp/progmodes/idlw-shell.el (idlwave-shell-move-or-history)
(idlwave-shell-filename-string, idlwave-shell-batch-command)
(idlwave-shell-display-line):
* lisp/progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
(idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
* lisp/progmodes/js.el (js--re-search-forward-inner)
(js--re-search-backward-inner):
* lisp/progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
(vhdl-fix-clause, vhdl-compose-configuration-architecture):
* lisp/progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
* lisp/textmodes/flyspell.el (flyspell-process-localwords):
* lisp/textmodes/ispell.el (ispell-buffer-local-parsing)
(ispell-buffer-local-dict, ispell-buffer-local-words):
Use point-at-bol and point-at-eol.

14 years agognus-gravatar.el (gnus-gravatar-transform-address): No need to skip asterisks in...
Katsumi Yamaoka [Sun, 7 Nov 2010 01:10:01 +0000 (01:10 +0000)]
gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip asterisks in From header.

14 years agoReplace more speedbar uses of end-of-line etc with line-end-position.
Glenn Morris [Sun, 7 Nov 2010 01:06:37 +0000 (18:06 -0700)]
Replace more speedbar uses of end-of-line etc with line-end-position.
* lisp/speedbar.el (speedbar-generic-item-info)
(speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
(speedbar-add-indicator, speedbar-check-vc-this-line)
(speedbar-check-obj-this-line, speedbar-extract-one-symbol)
(speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
Replace more uses of end-of-line etc with line-end-position.

14 years agognus-int.el, nnimap.el, nnir.el: More improvements to thread-referral.
Gnus developers [Sun, 7 Nov 2010 00:22:06 +0000 (00:22 +0000)]
gnus-int.el, nnimap.el, nnir.el: More improvements to thread-referral.
message.el (message-send-mail): Don't insert courtesy messages if the message already has List-Post and List-ID messages.
gnus-ems.el (gnus-put-image): Use a blank text as the insertion string to avoid making the From headers syntactically invalid.

14 years agoUse line-end-position rather than end-of-line, etc.
Glenn Morris [Sat, 6 Nov 2010 20:23:42 +0000 (13:23 -0700)]
Use line-end-position rather than end-of-line, etc.

* textmodes/texnfo-upd.el (texinfo-start-menu-description)
(texinfo-update-menu-region-beginning, texinfo-menu-first-node)
(texinfo-delete-existing-pointers, texinfo-find-pointer)
(texinfo-clean-up-node-line, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* textmodes/table.el (table--probe-cell-left-up)
(table--probe-cell-right-bottom):
* textmodes/picture.el (picture-tab-search):
* textmodes/page-ext.el (pages-copy-header-and-position)
(pages-directory-for-addresses):
* progmodes/vera-mode.el (vera-get-offset):
* progmodes/simula.el (simula-calculate-indent):
* progmodes/python.el (python-pdbtrack-overlay-arrow):
* progmodes/prolog.el (end-of-prolog-clause):
* progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
* progmodes/icon.el (indent-icon-exp):
* progmodes/etags.el (tag-re-match-p):
* progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
* progmodes/ebnf2ps.el (ebnf-begin-file):
* progmodes/dcl-mode.el (dcl-back-to-indentation-1)
(dcl-save-local-variable):
* play/life.el (life-setup):
* play/gametree.el (gametree-looking-at-ply):
* nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
* mail/sendmail.el (mail-mode-auto-fill):
* emacs-lisp/lisp-mode.el (calculate-lisp-indent):
* emacs-lisp/edebug.el (edebug-overlay-arrow):
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
* woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
(woman-tab-to-tab-stop, WoMan-warn-ignored):
* type-break.el (type-break-file-keystroke-count):
* term.el (term-replace-by-expanded-history-before-point)
(term-skip-prompt, term-extract-string):
* speedbar.el (speedbar-edit-line, speedbar-expand-line)
(speedbar-contract-line, speedbar-toggle-line-expansion)
(speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
(speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
* sort.el (sort-skip-fields):
* skeleton.el (skeleton-internal-list):
* simple.el (line-move-finish, line-move-to-column):
* shell.el (shell-forward-command):
* misc.el (copy-from-above-command):
* makesum.el (double-column):
* ebuff-menu.el (electric-buffer-update-highlight):
* dired.el (dired-move-to-end-of-filename):
* dframe.el (dframe-popup-kludge):
* bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
* arc-mode.el (archive-get-lineno):
Use line-end-position and line-beginning-position.

* net/ange-ftp.el, progmodes/hideif.el, reposition.el:
Same, but only in comments.

14 years agoMinor idlwave change.
Glenn Morris [Sat, 6 Nov 2010 19:55:44 +0000 (12:55 -0700)]
Minor idlwave change.
* lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
(idlwave-study-twins): Prefix dynamic local `class'.
(idlwave-routine-twin-compare): Update for above name change.

14 years agoMinor eieio-comp changes.
Glenn Morris [Sat, 6 Nov 2010 19:47:42 +0000 (12:47 -0700)]
Minor eieio-comp changes.
* lisp/emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
Use boundp tests to silence compiler.  Update for changed name of
bytecomp-filename variable.

14 years agoSilence viper-cmd compilation.
Glenn Morris [Sat, 6 Nov 2010 19:44:11 +0000 (12:44 -0700)]
Silence viper-cmd compilation.
* lisp/emulation/viper-cmd.el (viper-read-string-with-history):
Prefix dynamic local `initial'.
(viper-minibuffer-standard-hook): Update for above name change.

14 years agoSilence elint compilation.
Glenn Morris [Sat, 6 Nov 2010 19:40:33 +0000 (12:40 -0700)]
Silence elint compilation.
* lisp/emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
(elint-init-form): Update for above name change.

14 years agoSilence gnus-art compilation.
Glenn Morris [Sat, 6 Nov 2010 19:35:19 +0000 (12:35 -0700)]
Silence gnus-art compilation.
* lisp/gnus/gnus-art.el (gnus-treat-article): Give dynamic local variables
`condition', `type', `length' a prefix.
(gnus-treat-predicate): Update for above name changes.

14 years agoSilence mail-extr compilation.
Glenn Morris [Sat, 6 Nov 2010 19:28:44 +0000 (12:28 -0700)]
Silence mail-extr compilation.
* lisp/mail/mail-extr.el (mail-extract-address-components): Give dynamic
local variables `cbeg' and `cend' a prefix.
(mail-extr-voodoo): Update for above name change.

14 years agoSilence reftex compilation.
Glenn Morris [Sat, 6 Nov 2010 19:11:38 +0000 (12:11 -0700)]
Silence reftex compilation.

* lisp/textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
(reftex-toc-promote-action): Doc fix.

* lisp/textmodes/reftex-sel.el (reftex-select-item): Give local variables
`prompt', `data' a prefix.
(reftex-select-post-command-hook, reftex-select-callback)
(reftex-select-mouse-accept, reftex-select-read-cite):
Update for above name changes.

* lisp/textmodes/reftex-ref.el (reftex-reference): Rename local variable
`refstyle' to reftex-refstyle.
(reftex-offer-label-menu): Update for above name change.
* lisp/textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
`refstyle' name change.

14 years agoMinor emerge changes.
Glenn Morris [Sat, 6 Nov 2010 18:51:11 +0000 (11:51 -0700)]
Minor emerge changes.
* lisp/vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
with with-current-buffer.
(diff, template): Give dynamic local variables a prefix.
(emerge-line-numbers): Rename local `diff' to emerge-line-diff.
(emerge-line-number-in-buf): Update for above name change.
(emerge-combine-versions-internal): Rename local `template' to
emerge-combine-template.
(emerge-combine-versions-edit): Update for above name change.

14 years agoxdisp.c: Add commentary about character compositions in bidirectional text.
Eli Zaretskii [Sat, 6 Nov 2010 18:19:32 +0000 (20:19 +0200)]
xdisp.c: Add commentary about character compositions in bidirectional text.

14 years agoRefTeX: Improve matching of bib entries.
Ralf Angeli [Sat, 6 Nov 2010 15:56:29 +0000 (16:56 +0100)]
RefTeX: Improve matching of bib entries.

14 years agoFix typo.
Michael Albinus [Sat, 6 Nov 2010 14:05:47 +0000 (15:05 +0100)]
Fix typo.

14 years ago* files.el (backup-by-copying-when-mismatch): Make it a buffer local
Michael Albinus [Sat, 6 Nov 2010 14:04:23 +0000 (15:04 +0100)]
* files.el (backup-by-copying-when-mismatch): Make it a buffer local
variable (permanent-local).

* net/tramp.el (tramp-handle-insert-file-contents): Do not set
`permanent-local' property for `(backup-by-copying-when-mismatch'.

14 years agosrc/ChangeLog: Fix log entry for 2010-11-06T09:33:22Z!jan.h.d@swipnet.se.
Eli Zaretskii [Sat, 6 Nov 2010 13:49:29 +0000 (15:49 +0200)]
src/ChangeLog: Fix log entry for 2010-11-06T09:33:22Z!jan.h.d@swipnet.se.

14 years agoSupport R2L lines in tool-tip text.
Eli Zaretskii [Sat, 6 Nov 2010 13:45:37 +0000 (15:45 +0200)]
Support R2L lines in tool-tip text.

 xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L,
 adjust width of tool-tip frame to the width of text, excluding the
 stretch glyph at the beginning of R2L glyph rows.
 w32fns.c (Fx_show_tip): Likewise.

14 years ago* shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
Michael Albinus [Sat, 6 Nov 2010 12:08:58 +0000 (13:08 +0100)]
* shell.el (shell-process-popd): Made aware of comint-file-name-prefix.

14 years agoconfigure.in: Fix indentation
Andreas Schwab [Sat, 6 Nov 2010 10:31:56 +0000 (11:31 +0100)]
configure.in: Fix indentation

14 years agoFix bug #7300.
Eli Zaretskii [Sat, 6 Nov 2010 10:23:33 +0000 (12:23 +0200)]
Fix bug #7300.

 msdog.texi (Windows HOME): Add information regarding startup
 directory when invoking Emacs from a desktop shortcut.

14 years agoBack-port from trunk the fix for bug #6294.
Eli Zaretskii [Sat, 6 Nov 2010 10:08:33 +0000 (12:08 +0200)]
Back-port from trunk the fix for bug #6294.

 ls-lisp.el (ls-lisp-classify-file): New function.
 (ls-lisp-insert-directory): Call it if switches include -F.
 (ls-lisp-classify): Call ls-lisp-classify-file.
 (insert-directory): Remove blanks from switches.

14 years agoFix bug #7285.
Eli Zaretskii [Sat, 6 Nov 2010 09:57:24 +0000 (11:57 +0200)]
Fix bug #7285.

 ls-lisp.el (insert-directory): Doc fix.

14 years ago* src/nsfont.m: Include termchar for new mouse-highlight.
Jan Djärv [Sat, 6 Nov 2010 09:33:22 +0000 (10:33 +0100)]
* src/nsfont.m: Include termchar for new mouse-highlight.

14 years agoUnify mouse-highlight code for all GUI and TTY sessions.
Eli Zaretskii [Sat, 6 Nov 2010 08:28:31 +0000 (10:28 +0200)]
Unify mouse-highlight code for all GUI and TTY sessions.

 term.c: Remove static mouse_face_* variables.  All users
 changed.
 (term_show_mouse_face, term_clear_mouse_face)
 (fast_find_position, term_mouse_highlight): Functions deleted.
 (tty_draw_row_with_mouse_face): New function.
 (term_mouse_movement): Call note_mouse_highlight instead of
 term_mouse_highlight.
 nsterm.m (ns_update_window_begin, ns_update_window_end)
 (ns_update_end, x_destroy_window, ns_frame_up_to_date)
 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
 (ns_dumpglyphs_image, ns_dumpglyphs_stretch)
 (ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
 Replace Display_Info with Mouse_HLInfo everywhere where
 mouse_face_* members were accessed for mouse highlight purposes.
 xterm.c (x_update_window_begin, x_update_window_end)
 (x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
 (handle_one_xevent, x_free_frame_resources, x_term_init): Replace
 Display_Info with Mouse_HLInfo everywhere where mouse_face_*
 members were accessed for mouse highlight purposes.
 w32term.c (x_update_window_begin, x_update_window_end)
 (x_update_end, w32_read_socket, x_free_frame_resources)
 (w32_initialize_display_info): Replace Display_Info with
 Mouse_HLInfo everywhere where mouse_face_* members were accessed
 for mouse highlight purposes.
 xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
 (note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
 unless the frame is on a window-system.
 (get_tool_bar_item, handle_tool_bar_click)
 (note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
 (show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
 (note_mode_line_or_margin_highlight, note_mouse_highlight)
 (x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
 Replace Display_Info with Mouse_HLInfo everywhere where
 mouse_face_* members were accessed for mouse highlight purposes.
 (coords_in_mouse_face_p): Move prototype out of the
 HAVE_WINDOW_SYSTEM conditional.
 (x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
 HAVE_WINDOW_SYSTEM block.
 (try_window_id) [HAVE_GPM || MSDOS]: Call
 x_clear_window_mouse_face.
 (draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
 systems.  Call tty_draw_row_with_mouse_face for TTY systems.
 (show_mouse_face): Call draw_row_with_mouse_face, instead of
 calling draw_glyphs directly.
 (show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
 (cursor_in_mouse_face_p, rows_from_pos_range)
 (mouse_face_from_buffer_pos, mouse_face_from_string_pos)
 (note_mode_line_or_margin_highlight, note_mouse_highlight)
 (x_clear_window_mouse_face, cancel_mouse_face): Move out of the
 HAVE_WINDOW_SYSTEM block.  Ifdef away window-system specific
 fragments.
 (note_mouse_highlight): Call popup_activated for MSDOS as well.
 Clear mouse highlight if pointer is over glyphs whose OBJECT is an
 integer.
 (mouse_face_from_buffer_pos): Add parentheses around && within ||.
 (x_consider_frame_title, tool_bar_lines_needed): Move
 prototypes to HAVE_WINDOW_SYSTEM-only part.
 (get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
 part.  Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
 (null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only
 part.
 dispnew.c (mirror_make_current): Set Y coordinate of the
 mode-line and header-line rows.
 (init_display): Setup initial frame's output_data for text
 terminal frames.
 xmenu.c (popup_activated): Don't define on MSDOS, which now has
 its own definition on msdos.c.
 msdos.c (show_mouse_face, clear_mouse_face)
 (fast_find_position, IT_note_mode_line_highlight)
 (IT_note_mouse_highlight): Functions deleted.
 (IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
 instead of IT_note_mouse_highlight.
 (draw_row_with_mouse_face, popup_activated): New functions.
 (dos_set_window_size, draw_row_with_mouse_face, IT_update_begin)
 (IT_update_end, IT_frame_up_to_date, internal_terminal_init)
 (dos_rawgetc): Replace Display_Info with Mouse_HLInfo everywhere
 where mouse_face_* members were accessed for mouse highlight
 purposes.
 msdos.h (initialize_msdos_display): Add prototype.
 frame.h (MOUSE_HL_INFO): New macro.
 lisp.h (Mouse_HLInfo): New data type.
 xterm.h (struct x_display_info):
 w32term.h (struct w32_display_info):
 nsterm.h (struct ns_display_info):
 termchar.h (struct tty_display_info): Use it instead of
 mouse_face_* members.
 dispextern.h (show_mouse_face, clear_mouse_face): Update type of
 1st argument.
 (frame_to_window_pixel_xy, note_mouse_highlight)
 (x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
 (show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
 HAVE_WINDOW_SYSTEM conditional.
 (draw_row_with_mouse_face): Declare prototype.
 (tty_draw_row_with_mouse_face): Declare prototype.

14 years ago* progmodes/verilog-mode.el (verilog-insert-one-definition)
Wilson Snyder [Sat, 6 Nov 2010 07:54:19 +0000 (00:54 -0700)]
* progmodes/verilog-mode.el (verilog-insert-one-definition)
(verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
AUTOINOUT for SV style multidimensional arrays, bug294.  Reported
by Eric Mastromarchi.
(verilog-preprocess): Use with-current-buffer and
font-lock-fontify-buffer to cleanup style issues.

14 years agoCleanup -Wall warnings.
Eli Zaretskii [Fri, 5 Nov 2010 21:47:58 +0000 (23:47 +0200)]
Cleanup -Wall warnings.

 xdisp.c (get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
 part.  Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
 (null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only part.

14 years ago* trampver.texi: Update release number.
Michael Albinus [Fri, 5 Nov 2010 20:55:06 +0000 (21:55 +0100)]
* trampver.texi: Update release number.

This shall not be merged into the trunk.

14 years ago* net/trampver.el: Update release number.
Michael Albinus [Fri, 5 Nov 2010 20:52:50 +0000 (21:52 +0100)]
* net/trampver.el: Update release number.

This shall not be merged into the trunk.

14 years agochapter, part, section are all DocBook elements
Sam Steingold [Fri, 5 Nov 2010 19:30:18 +0000 (15:30 -0400)]
chapter, part, section are all DocBook elements

14 years agoReplace condition-case by ignore-errors in window.el.
Martin Rudalics [Fri, 5 Nov 2010 19:24:09 +0000 (20:24 +0100)]
Replace condition-case by ignore-errors in window.el.

14 years agoFix the fix for Bug#6426 (Bug#7210), avoiding frame garbaging loop.
Chong Yidong [Fri, 5 Nov 2010 18:28:19 +0000 (14:28 -0400)]
Fix the fix for Bug#6426 (Bug#7210), avoiding frame garbaging loop.
* image.c (free_image): Don't garbage the frame here, since this
function can be called while redisplaying (Bug#7210).
(uncache_image): Garbage the frame here (Bug#6426).

14 years agoFix unified mouse highlight after compiling on Unix.
Eli Zaretskii [Fri, 5 Nov 2010 18:07:42 +0000 (20:07 +0200)]
Fix unified mouse highlight after compiling on Unix.

 xdisp.c (x_consider_frame_title, tool_bar_lines_needed): Move
 prototypes to HAVE_WINDOW_SYSTEM-only part.
 frame.h (MOUSE_HL_INFO): Fix definition to work both for
 TTY-only and GUI builds.

14 years agoterm.c (append_glyphless_glyph, produce_glyphless_glyph): Remove unused variables.
Eli Zaretskii [Fri, 5 Nov 2010 17:52:06 +0000 (19:52 +0200)]
term.c (append_glyphless_glyph, produce_glyphless_glyph): Remove unused variables.

14 years agoDecode utf-8 strings in mixed environments by default.
Lars Magne Ingebrigtsen [Fri, 5 Nov 2010 14:17:46 +0000 (15:17 +0100)]
Decode utf-8 strings in mixed environments by default.
Done via the new `erc-coding-system-precedence' variable.

14 years agoFix mouse redesigned mouse highlight on MSDOS.
Eli Zaretskii [Fri, 5 Nov 2010 12:11:22 +0000 (14:11 +0200)]
Fix mouse redesigned mouse highlight on MSDOS.

 dispnew.c (init_display): Setup initial frame's output_data for
 text terminal frames.
 frame.h (MOUSE_HL_INFO): Fix TTY definition.
 msdos.h (initialize_msdos_display): Add prototype.

14 years ago* mouse.el (mouse-yank-primary): Update comment (Bug#6802).
Jan Djärv [Fri, 5 Nov 2010 12:11:12 +0000 (13:11 +0100)]
* mouse.el (mouse-yank-primary): Update comment (Bug#6802).

14 years agoRewrite more functions using buffer display specifiers.
Martin Rudalics [Fri, 5 Nov 2010 10:41:43 +0000 (11:41 +0100)]
Rewrite more functions using buffer display specifiers.

* electric.el (Electric-pop-up-window): Use buffer display
specifiers.

* emacs-lisp/elint.el (elint-display-log): Use
display-buffer-other-window.

* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use buffer
display specifiers.

* message.el (message-mail-other-window)
(message-news-other-window): Pass pop-to-buffer-other-window as
switch-function to message-pop-to-buffer.
(message-mail-other-frame, message-news-other-frame): Pass
pop-to-buffer-other-frame as switch-function to
message-pop-to-buffer.

* mh-comp.el (mh-send-other-window): Pass t as extra argument to
mh-send-sub.
(mh-send-sub): New optional argument OTHER-WINDOW. Pass extra
argument to mh-read-draft.
(mh-read-draft): New optional argument OTHER-WINDOW. Pass it in
suitable fashion to pop-to-buffer.

14 years ago* nsterm.m (EmacsView-mouseExited:): Correct error in conditional logic pointed out...
Adrian Robert [Fri, 5 Nov 2010 10:35:36 +0000 (12:35 +0200)]
* nsterm.m (EmacsView-mouseExited:): Correct error in conditional logic pointed out by Eli Zaretskii.

14 years agoCleanup fallout from redesigning mouse highlight.
Eli Zaretskii [Fri, 5 Nov 2010 10:03:17 +0000 (12:03 +0200)]
Cleanup fallout from redesigning mouse highlight.

 dispextern.h (tty_draw_row_with_mouse_face): Add prototype.
 xdisp.c (draw_row_with_mouse_face): Don't #ifdef away on MSDOS.
 Call tty_draw_row_with_mouse_face on MSDOS as well.
 msdos.c (tty_draw_row_with_mouse_face): Renamed from
 draw_row_with_mouse_face.  Make the argument list identical to the
 GPM implementation.
 msdos.h (Display_Info): Restore typedef.