|
From: | Stefan Monnier |
Subject: | Re: comint-insert-input on non-command lines: A trivial fix, a quibble, and a bug |
Date: | Mon, 08 May 2006 10:08:58 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (defun field-at-pos (pos) > "Return the field at position POS, taking stickiness etc into account" > (let ((raw-field (get-char-property (field-beginning pos) 'field))) > (if (eq raw-field 'boundary) > (get-char-property (1- (field-end pos)) 'field) > raw-field))) How does this work? I don't see where the stickiness is tested/used. Maybe we should export get_pos_property (in editfns.c) to elisp? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |