unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec
       [not found]                       ` <87r1cuo2sy.fsf@gnus.org>
@ 2021-10-10 15:59                         ` Robert Pluim
  2021-10-10 16:06                           ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Pluim @ 2021-10-10 15:59 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: p.stephani2, Richard Stallman, emacs-devel


[redirecting to emacs-devel]

>>>>> On Sat, 09 Oct 2021 13:28:13 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:

    Lars> Robert Pluim <rpluim@gmail.com> writes:
    >> Doesnʼt `filter-buffer-substring' only work if Iʼm yanking from one
    >> buffer to another? What if Iʼm yanking the X selection?

    Lars> Then you have...  er...  interprogram-paste-function and friends.  :-/

Hmm, they look kind of internal. I guess I could 'advice' them.

    Lars> Hm...  perhaps there is no transform function that handles all yanks?  I
    Lars> thought I remembered that we'd added that, but apparently not...

I couldn't find one. Although adding yet another variable to twiddle
in this are would not necessarily be a good thing, there are enough
already.


Robert
-- 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec
  2021-10-10 15:59                         ` bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec Robert Pluim
@ 2021-10-10 16:06                           ` Stefan Monnier
  2021-10-10 16:15                             ` Robert Pluim
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2021-10-10 16:06 UTC (permalink / raw)
  To: Robert Pluim
  Cc: Lars Ingebrigtsen, p.stephani2, Richard Stallman, emacs-devel

Robert Pluim [2021-10-10 17:59:16] wrote:
> [redirecting to emacs-devel]
>>>>>> On Sat, 09 Oct 2021 13:28:13 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:
>     Lars> Robert Pluim <rpluim@gmail.com> writes:
>     >> Doesnʼt `filter-buffer-substring' only work if Iʼm yanking from one
>     >> buffer to another? What if Iʼm yanking the X selection?
>     Lars> Then you have...  er...  interprogram-paste-function and friends.  :-/
> Hmm, they look kind of internal. I guess I could 'advice' them.

Depending on what you want to do, you might prefer to add a method to
`gui-backend-get-selection`.


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec
  2021-10-10 16:06                           ` Stefan Monnier
@ 2021-10-10 16:15                             ` Robert Pluim
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Pluim @ 2021-10-10 16:15 UTC (permalink / raw)
  To: Stefan Monnier
  Cc: Lars Ingebrigtsen, emacs-devel, p.stephani2, Richard Stallman

>>>>> On Sun, 10 Oct 2021 12:06:49 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:

    Stefan> Robert Pluim [2021-10-10 17:59:16] wrote:
    >> [redirecting to emacs-devel]
    >>>>>>> On Sat, 09 Oct 2021 13:28:13 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:
    Lars> Robert Pluim <rpluim@gmail.com> writes:
    >> >> Doesnʼt `filter-buffer-substring' only work if Iʼm yanking from one
    >> >> buffer to another? What if Iʼm yanking the X selection?
    Lars> Then you have...  er...  interprogram-paste-function and friends.  :-/
    >> Hmm, they look kind of internal. I guess I could 'advice' them.

    Stefan> Depending on what you want to do, you might prefer to add a method to
    Stefan> `gui-backend-get-selection`.

I hadn't realized that was a generic function. Iʼm going to have to
read up on cl-defmethod now :-)

Robert
-- 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-10 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <wvr41siikyqj.fsf@a.muc.corp.google.com>
     [not found] ` <87lf55cxvj.fsf@gnus.org>
     [not found]   ` <97574057-8212-4812-93CF-0C2EC7EA8B39@gmail.com>
     [not found]     ` <87ilzfo13i.fsf@gnus.org>
     [not found]       ` <83wnnvtlgn.fsf@gnu.org>
     [not found]         ` <87zgsrmk75.fsf@gnus.org>
     [not found]           ` <87o8825snj.fsf@gnus.org>
     [not found]             ` <E1mYblR-00076L-DP@fencepost.gnu.org>
     [not found]               ` <87lf34qxoq.fsf@gnus.org>
     [not found]                 ` <87bl3yv551.fsf@gmail.com>
     [not found]                   ` <87lf32pi66.fsf@gnus.org>
     [not found]                     ` <877demv48h.fsf@gmail.com>
     [not found]                       ` <87r1cuo2sy.fsf@gnus.org>
2021-10-10 15:59                         ` bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec Robert Pluim
2021-10-10 16:06                           ` Stefan Monnier
2021-10-10 16:15                             ` Robert Pluim

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).