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

Bug#861124: ITP: elpa-writeroom-mode -- distraction-free writing for Emacs



On 2017-04-25 11:05:57, Nicholas D Steeves wrote:
> control: pending -1

Just for the record - we usually mark bugs as "tags -1 +pending" when an
upload is ready in VCS or just uploaded to ftp-master. Not sure the
above does anything. :)

> Hi Antoine,
>
> On Tue, Apr 25, 2017 at 08:04:56AM -0400, Antoine Beaupré wrote:
>> On 2017-04-24 20:37:20, Nicholas D Steeves wrote:

[...]

>> > How responsive is upstream to patches?
>> 
>> Pretty responsive, I'd say. If you look at the Github pull request list:
> [...]
>> I have specifically requested two things, which got more or less
>> implemented completely:
>> 
>> https://github.com/joostkremers/writeroom-mode/issues/22
>> https://github.com/joostkremers/writeroom-mode/issues/24
>
> Nice!  Sorry I was unclear, I meant I'll package the official version
> and send patches or pull requests to upstream.

Excellent. :)

>> > I find it really useful to remove the fringes and margins when going
>> > from fullscreen to windowed, and to have modeline enabled for
>> > fullscreen, for battery status, clock, word count, etc, but to have
>> > these disabled for windowed.
>> 
>> That seems completely counter-intuitive to me, but I guess if those are
>> made into separate modes, that should be fine. :)
>
> :-) Exactly.  My setup is a bit bizarre, but it basically evolved to
> cope with the transition from a 17" 4:3 screen to a 10" 16:9 netbook,
> and to get positive feedback from the word count and pressure from the
> clock while typing way too forcefully while trying to meet deadlines.
> It would be even more intense with a countdown timer...  The premise
> being that you sit down to write, start writeroom, and the combo of
> the carrot and stick helps with productivity: an interval of working
> fast, then a relaxing and/or thinking/planning interval.

Is this similar to the pomodoro technique?

What do you use for the word count, by the way? I just M-x count-words
regularly, and since the message bar still shows, that just works...

>> > One of my other little personal projects is to change the font size
>> > when going between windowed and fullscreen.
>> 
>> That seems like a good idea - a separate effect too?
>
> I haven't actually done the work for it yet, but I've been wanting to
> implement it "someday" for years.  I think the easiest thing to do,
> for the purposes of writeroom, would probably be to configure a
> scaling factor for 'text-scale-adjust as part of the fullscreen hook.

I would make it a completely separate effect - but that's just me. I
encourage you to file an issue upstream, maybe the author already has
something in mind for this or even do the work for you. ;)

[...]

>> Anwyays, this is all stuff that should be discussed in the upstream
>> trackers, and not necessarily here. I think we should try to follow
>> upstream as closely as possible here and get patches merged back
>> upstream.
>
> Merged back, for sure.  Is the "discuss it on the BTS first" policy
> for more users->BTS->maintainers->upstream?

I'm not sure what you mean... In general, Debian welcomes upstream bugs
in the Debian bugtrackers because we want to support our users. Then
Debian package maintainers can sort through issues and forward some
upstream, sometimes fixing it with a patch in the Debian package...

But in general, I believe there is a consensus that we try to follow
upstream as much as possible.

>> So I encourage you to submit pull requests and issues for the things you
>> feel need to change in writeroom. So far, I have managed to use it
>> without patching it, and that is why I would like it to be packaged as
>> is in Debian.
>
> Preliminary packaging is here:
> ssh://git.debian.org/git/pkg-emacsen/pkg/writeroom-mode.git

Awesome! If you are not yet a Debian member, I encourage you to upload
a build to mentors.debian.net so that you can get better peer reviews as
well.

> I need to email to team to find out what the preferred way of managing
> things in the VCS during a deep freeze (eg: push tags only, push an
> experimental branch and keep master's changelog UNRELEASED, etc).

The freeze shouldn't matter in this case: it's a new package, so it
won't migrate to testing and there's no package in testing to update so
it's okay to upload to unstable. It's only when there's a version in
testing that you should avoid uploading to unstable unless it's to fix
RC bugs, and upload to experimental otherwise.

I use the UNRELEASED suite in the changelog when I upload signed
packages for public testing so that they don't get uploaded without my
explicit consent. Otherwise I generally don't use that feature, but
that's just me.

The emacsen team may indeed has its own peculiar ways of doing things
and it's good practice to join forces with them.

> Also, I'm not sure what to license debian/* as wrt BSD-3-clause.

I'm not sure what you mean. You need to specify the license of the
various writeroom-mode files in debian/copyright. Then you chose the
copyright you prefer for files in debian/* - I usually choose the same
license as the upstream files, but that's not absolutely mandatory. It
should be compatible, of course.

[...]

> Nice to see you too :-D  I'm highly motivated when people I know ask
> for something, and it's also (finally) something I'm familiar with.
> There's a part of me that feels "Aha!  I found my niche, my project to
> prove I can be a DD...my selfish glory!" but that's overshadowed by
> "It's way more fun and more meaningful to work as a team".

Hehe... well, we all started by scratching an itch. :)

> I'm thinking of something like an article and some streamlined
> configurations for "Emacs for professional, technical, and creative
> writing for everyone who didn't learn to use it as an IDE", plus
> packaging all the bits that help boost focused productivity.  Maybe
> mentioning ErgoEmacs...  Alternatively, it wouldn't be that hard to
> make hitting the word-count target play a nice sound or do something
> funny with nyan-mode :p

Fun stuff. :)

Good luck and thanks for packaging writeroom-mode!

A.
-- 
My passionate sense of social justice and social responsibility has
always contrasted oddly with my pronounced lack of need for direct
contact with other human beings and communities. I am truly a "lone
traveler" and have never belonged to my country, my home, my friends,
or even my immediate family, with my whole heart; in the face of all
these ties, I have never lost a sense of distance and a need for
solitude.
                       - Albert Einstein


Reply to: