1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
Commit graph

98966 commits

Author SHA1 Message Date
Paul Eggert
367c19e58b * xdisp.c (produce_glyphless_glyph): Initialize lower_xoff.
Add a FIXME comment, since the code still doesn't look right.
2011-03-06 11:43:58 -08:00
Paul Eggert
7831777b8a current_column: Now returns EMACS_INT, fixing some iftc.
* bytecode.c (Fbyte_code): Don't cast current_column () to int.
* cmds.c (internal_self_insert): Likewise.
* indent.c (Fcurrent_column): Likewise.
* keymap.c (describe_command): Likewise.
* minibuf.c (read_minibuf): Likewise.
* indent.c (Fcurrent_indentation): Don't cast position_indentation ()
to int.
* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
Likewise.
* cmds.c (internal_self_insert): Declare locals to be EMACS_INT,
not int or double, if they might contain a column number.
* indent.c (current_column, Findent_to, indented_beyond_p):
(compute_motion, vmotion): Likewise.
* keymap.c (describe_command): Likewise.
* xdisp.c (pint2str): Likewise.
* indent.c (last_known_column): Now EMACS_INT, not int.
* minibuf.c (minibuf_prompt_width): Likewise.
* indent.c (current_column, current_column_1, position_indentation):
Return EMACS_INT, not double.
* lisp.h (current_column): Likewise.
* indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double.
All callers changed.
* lisp.h (indented_beyond_p): Likewise.
2011-03-06 02:27:06 -08:00
Paul Eggert
179b8720a2 * xdisp.c (redisplay_window): Likewise. 2011-03-06 01:54:06 -08:00
Paul Eggert
e9588e2e96 * minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
from xdisp.c, and make static, since these are used only here.
* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
Remove decls.
2011-03-06 01:52:06 -08:00
Paul Eggert
1e12733b25 * cmds.c (internal_self_insert): Reindent to match Emacs style. 2011-03-06 01:00:53 -08:00
Paul Eggert
acbfe54c07 * xdisp.c (SKIP_GLYPHS): Removed unused macro. 2011-03-06 00:17:04 -08:00
Paul Eggert
d8a3e89e23 * xdisp.c (update_window_cursor): Now static, since it's not used elsewhere. 2011-03-06 00:15:49 -08:00
Paul Eggert
841081e175 * xdisp.c (produce_glyphless_glyph): Make a pointer "const"
since it might point to immutable storage.
2011-03-06 00:14:14 -08:00
Paul Eggert
7b781e9f4f * xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var. 2011-03-06 00:11:52 -08:00
Paul Eggert
58635e4de8 Merge from mainline. 2011-03-05 23:53:03 -08:00
Paul Eggert
5489860be1 * xdisp.c: Rename or move local decls to avoid shadowing.
(init_iterator, handle_fontified_prop, handle_single_display_spec):
(message_dolog, message_with_string, redisplay_internal):
(redisplay_window, try_window_reusing_current_matrix, try_window_id):
(compute_line_metrics, highlight_trailing_whitespace, cursor_row_p):
(display_line, display_string, rows_from_pos_range):
(mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame):
Rename or move local decls.
2011-03-05 23:50:01 -08:00
Chong Yidong
555e9b5c69 Add package.texi to doc/lispref/Makefile.in. 2011-03-06 00:34:35 -05:00
Jay Belanger
8f60c82016 * calc/calc-units.el (math-midi-round): Translate calc-note-threshold
to an appropriate fraction.
2011-03-05 22:36:15 -06:00
Jay Belanger
05a29101b2 * calc/calc-units.el (math-midi-round, math-freqp, math-midip)
(math-spnp, math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
  (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
  (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
  (math-notes): New variable.

* calc/calc.el (calc-note-threshold): New variable.

* calc/calc-ext.el (calc-init-extensions): Add keybindings for
  calc-spn, calc-midi, calc-freq.  Add autoloads for calcFunc-spn,
  calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.

* doc/misc/calc.tex (Musical Notes): New section.
  (Customizing Calc): Mention calc-note-threshold.
2011-03-05 22:28:39 -06:00
Jay Belanger
479a2c9bfe * doc/misc/calc.texi (Logarithmic Units): Rename calc-logunits-dblevel
and calc-logunits-nplevel to calc-dblevel and calc-nplevel,
  respectively.

* calc/calc-ext.el (calc-init-extensions): Rename calc-logunits-dblevel
  and calc-logunits-nplevel to calc-dblevel and calc-nplevel,
  respectively.

* calc/calc-units.el (calc-dblevel): Rename from calc-logunits-dblevel.
  (calc-nplevel): Rename from calc-logunits-nplevel.
2011-03-05 21:51:28 -06:00
Chong Yidong
f561e49a25 Allow specifying local ELPA mirrors in package-archives.
* emacs-lisp/package.el (package-archives): Accept either ordinary
directory names, in addition to HTTP URLs.
(package--with-work-buffer): New macro.   Handle normal directories.
(package-handle-response): Don't display the failing buffer.
(package-download-single, package-download-tar)
(package--download-one-archive): Use package--with-work-buffer.
(package-archive-base): Rename from package-archive-url.
2011-03-05 22:22:06 -05:00
Glenn Morris
ad7d6ecb16 Mention xmodmap-generic-mode in NEWS. 2011-03-05 19:01:23 -08:00
Glenn Morris
79a0fb58c5 generic-x trivia.
* lisp/generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
(xmodmap-generic-mode): Respect generic-extras-enable-list.
2011-03-05 18:59:21 -08:00
Daniel Clemente
ffd0a50215 * lisp/generic-x.el (xmodmap-generic-mode): New. (Bug#2065) (tiny change) 2011-03-05 18:56:39 -08:00
Juanma Barranquero
01c3509454 Fix typos.
* etc/srecode/el.srt: Fix typo.

* lisp/allout.el (allout-init, allout-prefixed-keybindings)
  (allout-unprefixed-keybindings):
* lisp/progmodes/prolog.el (prolog-find-term):
  Fix typos in docstrings.

* lisp/org/org.el (org-blank-before-new-entry, org-context-in-file-links)
  (org-refile-targets, org-log-repeat, org-insert-link)
  (org-speed-command-default-hook, org-speed-command-hook)
  (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
  Fix typos in docstrings.
  (org-toggle-pretty-entities): Fix typo in message.
2011-03-06 03:43:19 +01:00
Nikolaj Schumacher
509742cc29 * lisp/emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746) 2011-03-05 18:38:48 -08:00
Kevin Ryde
14369ab313 * lisp/textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326) 2011-03-05 18:30:44 -08:00
Michael Shields
aa248733c5 Doc fixes for bug#5567 (tiny change)
* lisp/window.el (one-window-p, walk-windows, display-buffer): Doc fixes.
* src/window.c (Fnext_window): Doc (and comment) fixes.
2011-03-05 18:14:43 -08:00
Jay Belanger
da0275f8e3 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
of the variable if it exists.
2011-03-05 20:04:41 -06:00
Glenn Morris
63c72eebd8 NEWS. 2011-03-05 17:48:44 -08:00
Glenn Morris
7834125ea3 Regenerate autotools stuff, grumble. 2011-03-05 17:45:56 -08:00
Glenn Morris
870d9cf691 * configure.in (FREETYPE_LIBS): Actually set it to something.
This was needed for linking a lucid toolkit build on a recent
Debian testing system.  Without this, it failed with:
ftfont.o: undefined reference to symbol 'FT_New_Face'
2011-03-05 17:42:13 -08:00
Juanma Barranquero
845fc5e555 * lisp/bookmark.el:
* lisp/desktop.el:
* lisp/emacs-lock.el:
* lisp/ps-print.el:
* lisp/saveplace.el:
* lisp/net/tramp-cache.el:
* lisp/textmodes/reftex.el:
* lisp/org/org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.

Fixes: debbugs:8137
2011-03-06 01:30:16 +01:00
Katsumi Yamaoka
d3877e8f06 gnus-uu.el (gnus-uu-decode-save): Typo fix. 2011-03-06 00:08:33 +00:00
Chong Yidong
e6786c7319 Fix last change. 2011-03-05 18:55:43 -05:00
Chong Yidong
04cb68403d * nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit. 2011-03-05 18:52:45 -05:00
Chong Yidong
abec51268e Remove "tiny change" ChangeLog tags for Antoine Levitt, who signed papers. 2011-03-05 16:58:57 -05:00
Antoine Levitt
7e27ce9cdb Replace many instances of read-file-name with read-directory-name.
* lisp/files.el (delete-directory, copy-directory, list-directory): Use
read-directory-name.

* lisp/find-file.el (ff-find-the-other-file):
* lisp/net/ange-ftp.el (ange-ftp-make-directory):
* lisp/printing.el (pr-interactive-dir):
* lisp/progmodes/ada-prj.el (ada-prj-load-directory):
* lisp/progmodes/ebnf2ps.el (ebnf-print-directory)
(ebnf-spool-directory, ebnf-eps-directory)
(ebnf-syntax-directory):
* lisp/shell.el (shell):
* lisp/speedbar.el (speedbar-create-directory):
* lisp/vc/emerge.el (emerge-merge-directories):
* lisp/vc/vc-dir.el (vc-dir):
* lisp/vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.

* lisp/gnus.el (gnus-interactive): Use read-directory-name.

* lisp/gnus-uu.el (gnus-uu-decode-uu-and-save)
(gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
(gnus-uu-decode-binhex, gnus-uu-decode-yenc)
(gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
Likewise.

* lisp/mh-funcs.el (mh-store-msg, mh-store-buffer):
* lisp/mh-mime.el (mh-mime-save-parts): Use read-directory-name.

* lisp/dired.el: Clarify comment.
2011-03-05 16:56:00 -05:00
Chong Yidong
d23ae2b03f Fix to help-buffer to ensure it returns a valid buffer (Bug#8147).
* lisp/help-mode.el (help-buffer): If we are to return the current
buffer, signal an error if it's not in Help mode.
2011-03-05 16:10:03 -05:00
Chong Yidong
b59a4335cd * processes.texi (Synchronous Processes): Minor clarification (Bug#8149). 2011-03-05 15:45:09 -05:00
Glenn Morris
cb6fa1ad87 Add ChangeLog bug ref. 2011-03-05 12:43:35 -08:00
Reuben Thomas
2de9cc1acd Handle git-style backup names in file-name-version-regexp (Bug#8159).
* files.el (file-name-version-regexp): Handle backup files of the
form `foo.js.~HEAD~1~' (Bug#8159).
2011-03-05 15:35:08 -05:00
Glenn Morris
22c28cb827 ChangeLog fix. 2011-03-05 12:09:37 -08:00
Glenn Morris
81fb60b2aa Move eshell's self-tests to the test/ directory.
* lisp/eshell/esh-var.el: Don't require esh-test when compiling.
* lisp/eshell/em-banner.el, lisp/eshell/esh-cmd.el, lisp/eshell/esh-mode.el:
* lisp/eshell/esh-var.el, lisp/eshell/eshell.el: Move tests to esh-test.
* lisp/eshell/esh-test.el: Move to ../../test/eshell.el

* test/eshell.el: Move here from lisp/eshell/esh-test.el.
2011-03-05 12:07:27 -08:00
David Engster
c5f09daf79 Make save-some-buffers message more informative (Bug#8134).
* files.el (save-some-buffers): Report the names of buffers saved
automatically due to buffer-save-without-query.
2011-03-05 14:37:46 -05:00
Glenn Morris
903538d450 * lisp/eshell/esh-proc.el (eshell-kill-process-function): Fix typo in previous. 2011-03-05 11:36:33 -08:00
Deniz Dogan
77f63d3050 * lisp/net/rcirc.el: Add QuakeNet authentication support.
(rcirc-authinfo, rcirc-check-auth-status)
(rcirc-authenticate): Support QuakeNet.
2011-03-05 16:40:50 +01:00
Deniz Dogan
72d2c2e3b9 * lisp/net/rcirc.el: Add functionality to authenticate before autojoining channels.
(rcirc-authenticate-before-join): New option.
(rcirc-authenticated-hook): New variable.
(rcirc-connect): Make local variable rcirc-user-authenticated.
(rcirc-handler-001): Respect rcirc-authenticate-before-join.
(rcirc-check-auth-status, rcirc-join-channels-post-auth): New
functions.
(rcirc-handler-PRIVMSG, rcirc-handler-NOTICE): Call
rcirc-check-auth-status.
2011-03-05 14:34:55 +01:00
Gnus developers
706b5974cd Merge changes made in Gnus trunk.
gnus-sum.el (gnus-update-read-articles): Fix typo.
gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that really have server-side marks.
gnus-sum.el (gnus-propagate-marks): Change default back to nil again, since most backends do not usefully have server-side marks.
 (gnus-update-read-articles): Propagate marks to all backends that really have server-side marks.
message.el (message-cite-reply-position, message-cite-style): New variables.
 (message-yank-original): Use the new citation styles.
2011-03-05 13:01:56 +00:00
Michael Albinus
d733e8178e Add package name. Fix author email address.
* net/soap-client.el (soap-namespace-put-link): Check if the target
name is fully qualified -- use only the name part.
(soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
types, treated the same as xsd:sequence.  (Bug#8166)
2011-03-05 11:32:10 +01:00
Eli Zaretskii
3ae59fff62 Fix bug #8177 with re-visiting image files.
files.el (find-file-noselect): Don't ask about re-visiting
 non-literally if the file is already visited in image-mode.
2011-03-05 10:48:52 +02:00
Glenn Morris
944bc73101 esh-util.el comment fix. 2011-03-04 20:24:44 -08:00
Glenn Morris
d783d30393 Default all eshell hooks to nil (bug#5375)
* eshell/esh-mode.el (eshell-kill-buffer-function): New function.
(eshell-mode): Use eshell-kill-buffer-function.
Run the -initialize functions independently of the -load-hooks.
* eshell/esh-proc.el (eshell-kill-process-function): New function.
(eshell-gather-process-output, eshell-sentinel)
(eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
Use eshell-kill-process-function.
* eshell/em-alias.el (eshell-alias-load-hook):
* eshell/em-banner.el (eshell-banner-load-hook):
* eshell/em-cmpl.el (eshell-cmpl-load-hook):
* eshell/em-dirs.el (eshell-dirs-load-hook):
* eshell/em-glob.el (eshell-glob-load-hook):
* eshell/em-hist.el (eshell-hist-load-hook):
* eshell/em-pred.el (eshell-pred-load-hook):
* eshell/em-prompt.el (eshell-prompt-load-hook):
* eshell/em-rebind.el (eshell-rebind-load-hook):
* eshell/em-script.el (eshell-script-load-hook):
* eshell/em-smart.el (eshell-smart-load-hook):
* eshell/em-term.el (eshell-term-load-hook):
* eshell/em-unix.el (eshell-unix-load-hook):
* eshell/esh-arg.el (eshell-arg-load-hook):
* eshell/esh-cmd.el (eshell-cmd-load-hook):
* eshell/esh-ext.el (eshell-ext-load-hook):
* eshell/esh-io.el (eshell-io-load-hook):
* eshell/esh-mode.el (eshell-exit-hook):
* eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
* eshell/esh-var.el (eshell-var-load-hook):
Set default hook values to nil.  (Bug#5375)
2011-03-04 20:11:05 -08:00
Glenn Morris
4a0f18a899 esh-module doc fixes.
* lisp/eshell/esh-module.el (eshell-module-unload-hook)
(eshell-modules-list): Remove leading * from defcustom docs.
2011-03-04 19:59:53 -08:00
Daiki Ueno
8879add883 message.el (message-options): Don't mark it buffer-local when running under XEmacs. 2011-03-05 03:56:02 +00:00