Authentication-Results: mail-b.sr.ht; dkim=fail header.d=gmail.com header.i=@gmail.com Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by mail-b.sr.ht (Postfix) with ESMTPS id 6411511EEFB for <~rjarry/aerc-discuss@lists.sr.ht>; Sun, 1 May 2022 14:40:10 +0000 (UTC) Received: by mail-ed1-f50.google.com with SMTP id be20so14071031edb.12 for <~rjarry/aerc-discuss@lists.sr.ht>; Sun, 01 May 2022 07:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:content-transfer-encoding:date:message-id:subject:from :to:cc:references:in-reply-to; bh=VpG9pmYC4qxeeht8tYVGXjrGG9BTJv67Aks4YioP2eE=; b=S46vmwmjFtuWkSJWb9Iyr575gKSBAOubIyzCJ6dPKVaNmV3qVJNn9e9gfMb8MeI8QO 8roqaIWWonKnAeMmiG6zCDyImHoIU7VhukaG8SvFS67yxFmsffWO5PfukNkAsYPvqbKj a8A8bJ+E3IGvJdnc5GZ2+m0yuyf/X6vhgwObX36CSZ0yHmYtgnIS4IV4R1H5Ky2xxyyv C26/+XaiX8Bn+UjUOnTZua0gJgMyj+z9F4dMppzN8pBtT0+3Hk0PxVSc+snW78zB813S tZgZ7/8nB9gzbsNHp4w3Fjx/kVks7nmsZx5SBFbwRHHCZQpevBP5oERs0JByi+s8hJqi EEOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:content-transfer-encoding:date :message-id:subject:from:to:cc:references:in-reply-to; bh=VpG9pmYC4qxeeht8tYVGXjrGG9BTJv67Aks4YioP2eE=; b=JzdS/tfmbx7vQUJXwWDkoyJ9MCVcLRzbi3BJk2ex1OHiDbKbuuUr+LkiT+m8XfTJW9 KCj2IknkMA8T7f9wuXUbkMpz8bwrhPNjz8fpBKxIpBBuY5Yq3xCuK6Isq2cP7YbXjo+K S6nUUxLs8wPK/rAho674/tY6xP0ysYm443bPDADrWkMySsYYdKaX9B/QgqEDtjYubkLP KbbkYxHfTqXVy6mZmfo+CVrnDNRmBPYOgWGGLs5HBZUbpFzHNET2g+faSr+OzM1Q40w/ HeKop7qGqIV854yNFiAguYARUxteLasTBEtfRLhm2qFsi9tyYYoA+6gLWJSn6BGS5jSV Yb9g== X-Gm-Message-State: AOAM5331FqZTJtiXjn0KGfUNpHUJBGcGMZ31+iWzf5MUPqSo/tqgDE5R cWe8F8C3OjG6zgXshO2jTBo= X-Google-Smtp-Source: ABdhPJzD/cPYp486V+4nM83m7lIaQuEltnjbt6SmuO/wFGOpK/GzMmlZGwsZ9puOAvIHvulV7YQB8w== X-Received: by 2002:a50:bb0e:0:b0:425:c727:566e with SMTP id y14-20020a50bb0e000000b00425c727566emr9115049ede.132.1651416009256; Sun, 01 May 2022 07:40:09 -0700 (PDT) Received: from localhost (p200300edb7317d048aa3097847cdf236.dip0.t-ipconnect.de. [2003:ed:b731:7d04:8aa3:978:47cd:f236]) by smtp.gmail.com with ESMTPSA id ig1-20020a1709072e0100b006f3ef214e7asm2642747ejc.224.2022.05.01.07.40.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 01 May 2022 07:40:08 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 01 May 2022 16:40:08 +0200 Message-Id: Subject: Re: new-email setting not working with example From: "Areotwister" To: "Moritz Poldrack" , <~rjarry/aerc-discuss@lists.sr.ht> Cc: X-Mailer: aerc 0.9.0 References: In-Reply-To: Thanks for your reply ^_^ > I had to prefix it with an exec for it to work, but my setup might be > considered odd. Ok, i've know tried out quite a few things: ```bash 1) new-email=3Dexec echo 12 > /home/areo/email_test 2) new-email=3Dexec "echo 12 > /home/areo/email_test" 3) new-email=3Dexec /usr/bin/echo 12 > /home/areo/email_test 4) new-email=3Decho 12 > /home/areo/email_test 5) new-email=3D/usr/bin/echo 12 > /home/areo/email_test 6) new-email=3Dexec "/usr/bin/echo 12 > /home/areo/email_test" ``` But didn't produce a file `email_test` >_< > Bell means the terminal bell \a Oh, and i was actually rly so naive to think there would be an actual bell = sound xD Cool, that's a rly nice trick with `sleep 10; echo -e "\a"`, didn't knew ab= out that before, thx ^_^ > I'm afraid I don't quite understand what you mean. Could you elaborate? I previously misunderstood that the bell was actually working. Are the `new-message-bell=3Dtrue/false` and `new-mail` actually both triggered, by = the same thing, by the \Recent flag? That would imply, by considering Sherlock: "When you have eliminated the impossible, whatever remains, however improbable, must be the truth." that = it actually got triggered, but the command just didn't execute correctly Q_o And that's also the point where I'm out of ideas why the command doesn't execute correctly >_< Thank you for taking your time to resolve my confusion with the bell ^_^ Have a nice day and thanks again :D Areo On Sun May 1, 2022 at 3:07 PM CEST, Moritz Poldrack wrote: > On Sun May 1, 2022 at 3:02 PM CEST, Areotwister wrote: > > - I just tried out the new-email setting with the example from the > > manual: `new-email=3Dexec notify-send "New email from %n" "%s"`, but no > > message showed up in https://github.com/dunst-project/dunst. But the > > command `notify-send "New email from %n" "%s"` executed from the > > commandline works. The folder that received the email within aerc, was > > selected. > > I had to prefix it with an exec for it to work, but my setup might be > considered odd. > > > - I tried if the `new-message-bell=3Dtrue/false` affects it somehow, bu= t > > it didn't. > > It does not. > > > - But a interesting detail is, that there was no bell sound to hear, > > neither with `new-message-bell=3Dtrue` nor `new-message-bell=3Dfalse`. = But > > there was a signal recieved from the workspace in i3 that something > > happened. > > Bell means the terminal bell \a > > > - The reason could propably be that Gmail isn't writing the \Recent > > flag as Robin mentioned in one of his answers: > > https://lists.sr.ht/~rjarry/aerc-devel/# > > Might very well be=E2=80=A6 Gmail seems to have some trouble with this > "following established standards"-thing > > > - It would be nice to maybe have a trigger not dependand on this flag, > > but that just triggers if a message is received, because it's a rly > > usefull feature to just zap through the messages in dunst to get the > > info if new emails were received > > I'm afraid I don't quite understand what you mean. Could you elaborate? > > -- > Moritz Poldrack > https://moritz.sh