unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] trunk r116951: ChangeLog fixes
       [not found] <E1WXGx5-0000Gg-Mf@vcs.savannah.gnu.org>
@ 2014-04-07 21:31 ` Daniel Colascione
  2014-04-07 21:38   ` Glenn Morris
  2014-04-07 23:57   ` How can I write a eww buffer wash function Feng Shu
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Colascione @ 2014-04-07 21:31 UTC (permalink / raw)
  To: Glenn Morris, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

On 04/07/2014 02:19 PM, Glenn Morris wrote:
> ------------------------------------------------------------
> revno: 116951
> revision-id: rgm@gnu.org-20140407211931-lih6l54kwbih44go
> parent: dancol@dancol.org-20140407205416-gc8ivi5jsa1aqtrc
> committer: Glenn Morris <rgm@gnu.org>
> branch nick: trunk
> timestamp: Mon 2014-04-07 17:19:31 -0400
> message:
>   ChangeLog fixes
>   
>   Merged entries get today's date.

Why?


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

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

* Re: [Emacs-diffs] trunk r116951: ChangeLog fixes
  2014-04-07 21:31 ` [Emacs-diffs] trunk r116951: ChangeLog fixes Daniel Colascione
@ 2014-04-07 21:38   ` Glenn Morris
  2014-04-07 23:57   ` How can I write a eww buffer wash function Feng Shu
  1 sibling, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2014-04-07 21:38 UTC (permalink / raw)
  To: Daniel Colascione; +Cc: emacs-devel

Daniel Colascione wrote:

>>   Merged entries get today's date.
>
> Why?

Because that's the only thing that makes sense.
If you merge a change originally from emacs-24 2014-04-01 into trunk today,
it goes at the top with today's date, because that is the date it
was added to trunk. Sorry, I don't know how else to explain it...

Again, bzrmerge.el in theory does this for you.
(In practice personally I use bzr's changelog_merge plugin and fix the
dates by hand.)

(I think this is all written in admin/notes/bzr "How to merge changes
from emacs-23 to trunk".)



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

* How can I write a eww buffer wash function
  2014-04-07 21:31 ` [Emacs-diffs] trunk r116951: ChangeLog fixes Daniel Colascione
  2014-04-07 21:38   ` Glenn Morris
@ 2014-04-07 23:57   ` Feng Shu
  2014-11-13 21:42     ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Feng Shu @ 2014-04-07 23:57 UTC (permalink / raw)
  To: emacs-devel

Hi:

I write a function like this:

#+begin_comment
(defun eh-open-eww ()
(eww "www.google.com")
(switch-to-buffer "*eww*")
(eh-gnus-eww-buffer-wash))
#+end_comment

but it doesn't work and I need to delay run `eh-gnus-eww-buffer-wash'
I temp hack like this:

#+begin_comment
(defun eh-open-eww ()
(eww "www.google.com")
(switch-to-buffer "*eww*")
(run-at-time 2 nil 'eh-gnus-eww-buffer-wash)
(run-at-time 4 nil 'eh-gnus-eww-buffer-wash)
(run-at-time 6 nil 'eh-gnus-eww-buffer-wash))
#+end_comment

How to solve this problem?

Thanks!




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

* Re: How can I write a eww buffer wash function
  2014-04-07 23:57   ` How can I write a eww buffer wash function Feng Shu
@ 2014-11-13 21:42     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-13 21:42 UTC (permalink / raw)
  To: Feng Shu; +Cc: emacs-devel

Feng Shu <tumashu@gmail.com> writes:

> I write a function like this:
>
> #+begin_comment
> (defun eh-open-eww ()
> (eww "www.google.com")
> (switch-to-buffer "*eww*")
> (eh-gnus-eww-buffer-wash))
> #+end_comment
>
> but it doesn't work and I need to delay run `eh-gnus-eww-buffer-wash'

I've now added a hook run after rendering called `eww-after-render-hook'
that can be used for stuff like this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



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

end of thread, other threads:[~2014-11-13 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1WXGx5-0000Gg-Mf@vcs.savannah.gnu.org>
2014-04-07 21:31 ` [Emacs-diffs] trunk r116951: ChangeLog fixes Daniel Colascione
2014-04-07 21:38   ` Glenn Morris
2014-04-07 23:57   ` How can I write a eww buffer wash function Feng Shu
2014-11-13 21:42     ` Lars Magne Ingebrigtsen

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).