eev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wset for frames


From: Eduardo Ochs
Subject: Re: wset for frames
Date: Mon, 1 Nov 2021 16:03:42 -0300

That's it! Start by adding this third function by hand.
There are ways to create it more or less automatically,
but they are hard to understand...
  [[]] =), E.

On Mon, 1 Nov 2021 at 15:29, Erich Ruff <erich_ruff@t-online.de> wrote:
>
> Hi Eduardo,
>
> thank you for your quick answer!
>
> Coex is working flawlessly here.
>
> I didn't know the function of the backquote. I'll delve into elisp
> further ...
>
> So I may add a 3rd function to my tlas?
>
> (code-tla-pdf 'coe "/home/er/Coetzee99.pdf")
>
> (defun ceox  (&rest pos-spec-list)
>   (interactive)
>   (apply 'find-pdf-txt "/home/er/Coetzee99.pdf" pos-spec-list))
>
> (defun Coex (&rest pos-spec-list)
>      (interactive)
>      (find-wset "F_" "Coex" `(coex ,@pos-spec-list)))
>
> Cheers
>
> Erich
>
>
> On Mo 01 Nov 2021 at 13:51, Eduardo Ochs <eduardoochs@gmail.com> wrote:
>
> > Hi Erich,
> >
> > do you know how to use the backquote? It is explained here:
> >
> >   (find-elisp-intro "10. Backquote")
> >
> > Something like this _should_ work - but here it sometimes runs the
> > lowercase coex in the old frame...
> >
> >   (defun Coex (&rest pos-spec-list)
> >     (interactive)
> >     (find-wset "F_" "Coex" `(coex ,@pos-spec-list)))
> >
> > Cheers,
> >   Eduardo
> >
> > On Mon, 1 Nov 2021 at 08:07, Erich Ruff <erich_ruff@t-online.de> wrote:
> >>
> >>
> >> Hi Eduardo,
> >>
> >> first of all, thanks for you work!
> >>
> >> Using wset to open and switch to frames makes sense for me.
> >>
> >> I'm no shure that I understand the weekness of
> >>
> >> `select-frame-set-input-focus'.
> >>
> >> On my computer it raises the frame and sets the input there.
> >>
> >> ------
> >>
> >> Because I mostly use tla's to open my texts, can the frame into which
> >> the file - denoted by tla - gets loaded, get automatically the name from
> >> the tla?
> >>
> >> So if calling the tla again, the already existing frame would get focus;
> >> - and if the 2nd call wants to jump to a different "search-item", this
> >> should be possible:
> >>
> >> example:
> >>
> >> (coex "Delivered at") -> load file, name new frame 'coex', jump to 'Del..'
> >> (coex "awarded the")  -> after checking if the frame exists, reuse it,
> >>                          set focus to it and jump to 'awarded ...'
> >>
> >> So no change in the calling expression would be necessary.
> >>
> >>
> >> Cheers
> >>
> >> Erich
> >>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]