Bug#907495: please ship the x11idle binary

2023-07-08 Thread Nicholas D Steeves
Max Nikulin  writes:

> Next Org mode release will discover xprintidle out of the box:
>
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1810c625d

That's great news :)



Bug#907495: please ship the x11idle binary

2023-07-08 Thread Nicholas D Steeves
Michal Politowski  writes:

> Dnia Sat,  3 Jun 2023 23:06:00 -0400, Nicholas D Steeves napisał(a):
>> 
>> Pending upload to experimental:
>> 
>> https://salsa.debian.org/emacsen-team/org-mode/-/commit/67d33aa4f2a26b8449f0f2ecb4404cdb2ad969a1
>
> Nice. The relevant commit is actually
> https://salsa.debian.org/emacsen-team/org-mode/-/commit/f484de742a55280a2e92e17f93fd21057e6b0705

Thank you for pointing this out, yes, that's what I meant!  Primary X11
clipboard behaviour seems to have recently changed under KDE Plasma, and
I haven't figured out how to make it behave in classic mode...or else
it's no longer reliable.  Either way, it makes me grumpy that highlight
-> middle click to paste doesn't work 100% reliably the way it always
has.

Regards,
Nicholas



Bug#907495: please ship the x11idle binary

2023-07-08 Thread Max Nikulin

On Sat, 03 Jun 2023 23:06:00 -0400 Nicholas D Steeves wrote:

> On 27/03 09:26, Michal Politowski wrote:
>> Actually I think there is no need to compile x11idle.  As the footnote
>> https://orgmode.org/manual/Resolving-idle-time.html#DOCF82 says,
>> Debian already provides xprintidle, which seems to work for me.
>> 
>> Maybe elpa-org could just suggest that package and change the default

>> for org-clock-x11idle-program-name?

...

Pending upload to experimental:

https://salsa.debian.org/emacsen-team/org-mode/-/commit/67d33aa4f2a26b8449f0f2ecb4404cdb2ad969a1


Next Org mode release will discover xprintidle out of the box:

https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1810c625d

Ihor Radchenko to emacs-orgmode…
[PATCH] Change default value of org-clock-x11-idle-program-name.
Tue, 24 Jan 2023 12:41:33 +.
https://list.orgmode.org/87zga83y0y.fsf@localhost



Bug#907495: please ship the x11idle binary

2023-06-05 Thread Michal Politowski
Dnia Sat,  3 Jun 2023 23:06:00 -0400, Nicholas D Steeves napisał(a):
> Control: tag -1 pending
> 
> Sébastien Delafond  writes:
> 
> > On 27/03 09:26, Michal Politowski wrote:
> >> Actually I think there is no need to compile x11idle.  As the footnote
> >> https://orgmode.org/manual/Resolving-idle-time.html#DOCF82 says,
> >> Debian already provides xprintidle, which seems to work for me.
> >> 
> >> Maybe elpa-org could just suggest that package and change the default
> >> for org-clock-x11idle-program-name?
> >
> > Hi Michal,
> >
> > that's a good point, and sounds like an elegant way to solve this in
> > Debian. I'm pretty busy these days, so I won't have time to work on that
> > right now, but I'd happily accept a patch in the meantime :)
> >
> 
> Pending upload to experimental:
> 
> https://salsa.debian.org/emacsen-team/org-mode/-/commit/67d33aa4f2a26b8449f0f2ecb4404cdb2ad969a1

Nice. The relevant commit is actually
https://salsa.debian.org/emacsen-team/org-mode/-/commit/f484de742a55280a2e92e17f93fd21057e6b0705

-- 
Michał Politowski
Talking has been known to lead to communication if practiced carelessly.



Bug#907495: please ship the x11idle binary

2023-06-03 Thread Nicholas D Steeves
Control: tag -1 pending

Sébastien Delafond  writes:

> On 27/03 09:26, Michal Politowski wrote:
>> Actually I think there is no need to compile x11idle.  As the footnote
>> https://orgmode.org/manual/Resolving-idle-time.html#DOCF82 says,
>> Debian already provides xprintidle, which seems to work for me.
>> 
>> Maybe elpa-org could just suggest that package and change the default
>> for org-clock-x11idle-program-name?
>
> Hi Michal,
>
> that's a good point, and sounds like an elegant way to solve this in
> Debian. I'm pretty busy these days, so I won't have time to work on that
> right now, but I'd happily accept a patch in the meantime :)
>

Pending upload to experimental:

https://salsa.debian.org/emacsen-team/org-mode/-/commit/67d33aa4f2a26b8449f0f2ecb4404cdb2ad969a1

Cheers,
Nicholas


signature.asc
Description: PGP signature


Bug#907495: please ship the x11idle binary

2019-03-27 Thread Sébastien Delafond
On 27/03 09:26, Michal Politowski wrote:
> Actually I think there is no need to compile x11idle.  As the footnote
> https://orgmode.org/manual/Resolving-idle-time.html#DOCF82 says,
> Debian already provides xprintidle, which seems to work for me.
> 
> Maybe elpa-org could just suggest that package and change the default
> for org-clock-x11idle-program-name?

Hi Michal,

that's a good point, and sounds like an elegant way to solve this in
Debian. I'm pretty busy these days, so I won't have time to work on that
right now, but I'd happily accept a patch in the meantime :)

Cheers,

-- 
Seb



Bug#907495: please ship the x11idle binary

2019-03-27 Thread Michal Politowski
Package: elpa-org
Followup-For: Bug #907495

Actually I think there is no need to compile x11idle.
As the footnote https://orgmode.org/manual/Resolving-idle-time.html#DOCF82
says, Debian already provides xprintidle, which seems to work for me.

Maybe elpa-org could just suggest that package and change the default for
org-clock-x11idle-program-name?

-- 
Michał Politowski
Talking has been known to lead to communication if practiced carelessly.



Bug#907495: please ship the x11idle binary

2018-08-28 Thread Antoine Beaupre
Package: org-mode
Version: 9.1.14+dfsg-1
Severity: wishlist

The org-mode "timetracker" has a feature to detect idle time in X11
which relies on the `x11idle` binary:

https://orgmode.org/manual/Resolving-idle-time.html#FOOT84

That program is actually shipped with the org-mode source packaged in
Debian, in ./contrib/scripts/x11idle.c but is not shipped in the
Debian package.

I frequently have to recompile this program by hand and reinstall it
in /usr/local/bin. That's silly and whenever I cleanup that /usr/local
(which always ends up being a mess), this is one of the precious
little cluttery things I need to remember to keep.

Could we ship this with the package please? Maybe as a separate binary
package? It can be built with:

gcc -l X11 -l Xss x11idle.c -o x11idle

I'd be happy to provide a patch if you are open to this idea.

A.
-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages org-mode depends on:
ii  elpa-org  9.1.14+dfsg-1

org-mode recommends no packages.

org-mode suggests no packages.

-- debconf-show failed