Luc Teirlinck [Tue, 23 Dec 2003 22:22:49 +0000 (22:22 +0000)]
(read_minibuf): Allow INITIAL to be a cons of a string and an integer.
Adapt the docstring accordingly.
(Fread_from_minibuffer): Delete code moved into read_minibuf.
Doc fix.
(Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in
read_minibuf.
(Fcompleting_read): Delete code moved into read_minibuf.
(Ftest_completion): Make it handle obarrays and hash tables correctly.
Nick Roberts [Tue, 23 Dec 2003 20:31:21 +0000 (20:31 +0000)]
(gdba, gdb-assembler-mode): Call the mode "Machine" as
a mode called "Assembler" already exists.
(gdb-use-colon-colon-notation, gdb-show-changed-values): New
options.
(gud-watch): Use format option. Remove font properties from
string.
(gdb-var-create-handler, gdb-var-list-children-handler): Don't
bother about properties as there are none.
(gdb-var-create-handler, gdb-var-list-children-handler)
(gdb-var-update-handler): Call gdb-var-evaluate-expression-handler
with two arguments.
(gdb-var-evaluate-expression-handler, gdb-post-prompt): Let
speedbar show value changes with a different font.
(gdb-edit-value): New defun.
(gdb-clear-partial-output, gdb-clear-inferior-io)
(def-gdb-auto-update-handler): Use erase-buffer.
(gdb-frame-handler): Display watch expressions in
FUNCTION::VARIABLE format if required.
Kenichi Handa [Wed, 3 Dec 2003 08:24:42 +0000 (08:24 +0000)]
(ctext-non-standard-encodings-alist): Change the format.
(ctext-non-standard-encodings): New variable.
(ctext-post-read-conversion): Fully re-written.
(ctext-non-standard-designations-alist): Delete it.
(ctext-non-standard-encodings-table): New function.
(ctext-pre-write-conversion): Fully re-written.
Luc Teirlinck [Mon, 1 Dec 2003 04:09:00 +0000 (04:09 +0000)]
(Text Comparison): Correctly describe when two strings are `equal'.
Combine and clarify descriptions of `assoc-ignore-case' and
`assoc-ignore-representation'.
Luc Teirlinck [Mon, 1 Dec 2003 03:57:00 +0000 (03:57 +0000)]
(Non-ASCII in Strings): Clarify description of when a string is
unibyte or multibyte.
(Bool-Vector Type): Update examples.
(Equality Predicates): Correctly describe when two strings are `equal'.
Kai Großjohann [Sun, 30 Nov 2003 18:15:58 +0000 (18:15 +0000)]
2003-11-30 Kai Grossjohann <kai.grossjohann@gmx.net>
Tramp version 2.0.38 released.
* tramp.texi (Remote shell setup): Warn of environment variables
FRUMPLE if user frumple exists. Suggested by Sven Gabriel
<sven.gabriel@imk.fzk.de>.
(Configuration): Tramp now chooses base64/uuencode
automatically. Update wording accordingly.
(Top): More description for the `Default Method' menu entry.
(Default Method): Use @code, not @var, for Lisp variables.
(Default Method): New subsection `Which method is the right one
for me?' Suggested by Christian Kirsch.
(Configuration): Pointer to new subsection added.
(Default Method): Too many "use" in one sentence.
Rephrase. Reported by Christian Kirsch.
(Filename Syntax): Old `su' example is probably a left-over from
the sm/su method naming. Replace with `ssh', instead.
(External transfer methods, Auto-save and Backup):
Typo fixes.
2003-11-02 Michael Albinus <Michael.Albinus@alcatel.de>
* tramp.texi (all): Harmonize all occurences of @tramp{}.
(Top): Mention japanese manual only if flag `jamanual' is set.
Insert section `Japanese manual' in menu.
Kai Großjohann [Sun, 30 Nov 2003 18:15:22 +0000 (18:15 +0000)]
(tramp-chunksize): Extend docstring. Suggested by
Charles Curley <charlescurley@charlescurley.com>.
(tramp-multi-connection-function-alist): Add ssht entry which adds
"-e none -t -t" to the list of ssh args. Suggested by Adrian
Aichner.
(tramp-get-method-parameter): New function to retrieve a method
parameter. This allows for omission of method parameters.
Callers adjusted.
Luc Teirlinck [Sun, 30 Nov 2003 02:52:12 +0000 (02:52 +0000)]
(Building Lists): `append' no longer accepts integer arguments.
Update the description of `number-sequence' to reflect recent changes.
(Sets And Lists): Describe `member-ignore-case' after `member'.
Nick Roberts [Sat, 29 Nov 2003 15:51:24 +0000 (15:51 +0000)]
(gud-watch, gdb-var-create-handler)
(gdb-var-list-children, gdb-var-list-children-handler)
(gdb-var-update-handler, gdb-var-delete): Add server prefix to the
gdb commands that use mi to keep them out of the command history.
Thien-Thi Nguyen [Fri, 28 Nov 2003 08:59:09 +0000 (08:59 +0000)]
(make-mms-derivative-root-dir): Update.
(make-mms-derivative): Avoid unixisms for tree membership
validation and buffer naming: use `file-relative-name'.
Kim F. Storm [Thu, 27 Nov 2003 21:54:19 +0000 (21:54 +0000)]
(Click Events): Click object may be an images.
Describe (dx . dy) element of click positions.
(Accessing Events): Remove duplicate posn-timestamp.
New functions posn-object and posn-object-x-y.
Kim F. Storm [Thu, 27 Nov 2003 21:17:23 +0000 (21:17 +0000)]
(Vdisplay_pixels_per_inch): New variable.
(Vshow_text_cursor_in_void): New variable.
(glyph_to_pixel_coords): Don't use negative hpos.
(x_y_to_hpos_vpos): Fix for partially visible first glyph.
(append_stretch_glyph): Change ascent arg to be actual value
in pixels rather than ratio to height. Callers changed.
(calc_pixel_width_or_height): New aux function, implementing
pixel based artihmetic for glyph widths and heights.
(produce_stretch_glyph): Use calc_pixel_width_or_height for
:width, :height, :align-to, and :ascent, thus allowing these to
be specified in pixels as well as multiples of characters.
Don't produce stretch glyphs with zero width or height.
(get_specified_cursor_type): Declare static.
(get_window_cursor_type): Declare static. Add glyph arg to be
able to know when cursor is on an image; always substitute
hollow-box cursor for filled-box cursor on images, to avoid
negative images and flicker when blinking the cursor.
(display_and_set_cursor): Pass glyph to get_window_cursor_type.
(note_mode_line_or_margin_highlight): Use non-text cursor rather
than vertical scroll-bar cursor in display margins.
(note_mouse_highlight): Use non-text cursor rather than text
cursor in fringes and over images in the text area.
Use non-text cursor when mouse pointer is outside editable text,
i.e. in the void after end-of-line or end-of-buffer; this was
already done for W32, but is now standard for all systems --
user can toggle show-text-cursor-in-void to get old behaviour.
(syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and
Vdisplay_pixels_per_inch.
Kim F. Storm [Thu, 27 Nov 2003 21:16:26 +0000 (21:16 +0000)]
(make_lispy_position): Add x and y coordinates
relative to the current glyph as 7th element of position.
If glyph is an image, return it in the object element.
(read_key_sequence): Skip checks for keymap property in cases
where POSN_STRING is not a string (e.g. an image).
Kim F. Storm [Thu, 27 Nov 2003 21:15:53 +0000 (21:15 +0000)]
(buffer_posn_from_coords): Calculate and return pixel
coordinates relative to glyph at posn. If glyph is an image,
return that as object at posn. Callers changed.
(mode_line_string, marginal_area_string): Calculate and return
pixel coordinates relative to glyph. Callers changed.
Kim F. Storm [Tue, 25 Nov 2003 22:10:21 +0000 (22:10 +0000)]
* ido.el (ido-use-filename-at-point, ido-use-url-at-point):
New defcustoms to add ffap-like functionality to ido.
(ido-saved-vc-hb): Rename from ido-saved-vc-mt. Uses changed.
(ido-no-final-slash): New defun.
(ido-make-prompt, ido-file-internal, ido-toggle-vc)
(ido-read-file-name): ): Toggle VC checking via
vc-handled-backends instead of vc-master-templates.
(ido-file-internal): Handle ido-use-url-at-point and
ido-use-filename-at-point via code borrowed from ffap-guesser.
Handle new ido-exit code ffap.
(ido-sort-list): Ignore final slash when sorting file names.
Kim F. Storm [Sun, 23 Nov 2003 20:57:47 +0000 (20:57 +0000)]
(grep-command, grep-use-null-device)
(grep-find-command, grep-tree-command, grep-tree-files-aliases)
(grep-tree-ignore-case, grep-tree-ignore-CVS-directories)
(grep-regexp-alist, grep-program, find-program)
(grep-find-use-xargs, grep-history, grep-find-history)
(grep-process-setup, grep-compute-defaults)
(grep-default-command, grep, grep-tag-default, grep-find)
(grep-expand-command-macros, grep-tree-last-regexp)
(grep-tree-last-files, grep-tree): Move grep variables, functions
and commands to new file grep.el.
(compilation-mode-map): Remove grep commands from Compile sub-menu.
(compilation-process-setup-function): Doc fix.
(compilation-highlight-regexp, compilation-highlight-overlay): New
defvars used for highlighting current compile error in source buffer.
(compile-internal): New optional args HIGHLIGHT-REGEXP and
LOCAL-MAP which overrides compilation-highlight-regexp and
compilation-mode-map for this compilation.
Delay calling compilation-set-window-height until after running
compilation-process-setup-function so it can buffer-local override
compilation-window-height.
Check buffer-local value of compilation-scroll-output.
(compilation-set-window-height): Use buffer-local value of
compilation-window-height.
(compilation-revert-buffer): Don't pass (undefined)
preserve-modes arg to revert-buffer.
(next-error-no-select, previous-error-no-select): New commands.
(compilation-goto-locus): Temporarily highlight current match in
source buffer using compilation-highlight-regexp.
Kim F. Storm [Sun, 23 Nov 2003 20:56:10 +0000 (20:56 +0000)]
* progmodes/grep.el: New file with grep code from compile.el.
(grep): New defcustom group.
(grep-window-height): New defcustom, like compilation-window-height.
(grep-auto-highlight): New defcustom, like compile-auto-highlight.
(grep-scroll-output): New defcustom, like compilation-scroll-output.
(grep-command, grep-use-null-device, grep-find-command)
(grep-tree-files-aliases, grep-tree-ignore-case)
(grep-tree-ignore-CVS-directories): Move to grep custom group.
(grep-setup-hook): New hook variable.
(grep-mode-map): New keymap for grep commands. Add Grep menu.
(grep-use-compilation-buffer): New defcustom.
(grep-last-buffer): New defvar, override compilation-last-buffer.
(grep): Add optional arg HIGHLIGHT-REGEXP. Doc fix.
Call compile-internal with args highlight-regexp and grep-mode-map.
Kim F. Storm [Sun, 23 Nov 2003 00:59:23 +0000 (00:59 +0000)]
(Click Events): Describe enhancements to event
position lists, including new text-pos and (col . row) items.
Mention left-fringe and right-fringe area events.
(Accessing Events): New functions posn-area, posn-object, and
posn-actual-col-row. Mention posn-timestamp. Mention that
posn-point in non-text area still returns buffer position.
Clarify posn-col-row.
Kim F. Storm [Sun, 23 Nov 2003 00:27:27 +0000 (00:27 +0000)]
Bind mouse-1 on left-fringe and right-fringe to mouse-set-point so
that hscroll still works now that clicks on fringes generate specific
mouse events.
(mouse-set-point): Note that it now works in fringes and margins
too due to new semantics of posn-point in fringes and margins.
Kim F. Storm [Sun, 23 Nov 2003 00:27:03 +0000 (00:27 +0000)]
(event-start, event-end): Doc fix.
(posn-window, posn-x-y, posn-timestamp): Simplify doc.
(posn-area, posn-actual-col-row, posn-object): New defuns.
(posn-col-row): Simplify doc. Rewrite to use cond.
(posn-point): Also return buffer position for events outside text
area (that info is now present in the event position).
Kim F. Storm [Sun, 23 Nov 2003 00:09:39 +0000 (00:09 +0000)]
(make_lispy_position): New function for generating
mouse click positions from frame and pixel coordinates.
Enhanced to return buffer position and actual row/column for
events outside the text area using updated mode_line_string and
marginal_area_string functions.
Return left-fringe and right-fringe clicks as such, rather than
clicks in text area.
(make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call
pixel_to_glyph_coords, as we never use the results.
(make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT,
WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code.
Eliminate unused code in WHEEL_EVENT handling.
(make_lispy_movement): Use make_lispy_position.
Kim F. Storm [Sun, 23 Nov 2003 00:09:19 +0000 (00:09 +0000)]
(buffer_posn_from_coords): Return actual row/column
for glyph clicked on, rather than (unused) pixel positions.
(mode_line_string, marginal_area_string): Change X and Y args to
pointers for returning actual row/column for glyph clicked on.
Simplify and optimize loops.