[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode |
Date: |
Sat, 27 Oct 2018 20:30:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> By implementing `reactivate-mark-function` alone, the problem of not
> knowing the region type would still remain. If we store the region
> type instead, then the value could be read directly, and
> `reactivate-mark` could be implemented as:
>
> (defun reactivate-mark ()
> (pcase region-type
> ('normal ...)
> ('rectangle ...)
> ...))
We don't want the code to list the finite set of known region types, I think.
We could try and make it a cl-defgeneric, but we need something on which
to dispatch.
Stefan
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, (continued)
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Federico Tedin, 2018/10/19
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Stefan Monnier, 2018/10/19
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Federico Tedin, 2018/10/20
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Federico Tedin, 2018/10/20
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Stefan Monnier, 2018/10/20
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, martin rudalics, 2018/10/21
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Federico Tedin, 2018/10/22
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Federico Tedin, 2018/10/25
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Stefan Monnier, 2018/10/26
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Federico Tedin, 2018/10/26
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode,
Stefan Monnier <=
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Federico Tedin, 2018/10/29
- Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode, Stefan Monnier, 2018/10/30