Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-07-31 Thread Colin Baxter
Hello Easior,

> Easior Lars  writes:

> while any LaTeX source file opened in Emacs. I have no idea about
> how to resolve it. Is it possible to let AUCTeX without desktop
> environment work? Any hint?

This is probably not what you want to hear but I'm tempted to suggest
you dump evince, which, in my opinion, is bloated. Auctex and xpdf work
happily without a graphical user interface. I use them in xmonad.

Best wishes,

Colin.

-- 
--
Colin Baxter
m43...@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] use optional org-time-stamp for TeX macro date (TeX-arg-date)

2017-07-31 Thread Ikumi Keita
Hi Uwe,

> Uwe Brauer  writes:
> I would like to use, optionally, org-time-stamp instead of the vanilla
> TeX-arg-date. The advantate is that the calendar is called in it is easy
> to select an appropriate date.

> So I came up with this 

> (defvar TeX-arg-date-use-orgmode nil
>   "Use `org-time-stamp' instead of the simple built in date TeX date 
> function. Default
>  is `nil'.")

> (defun TeX-arg-date (optional &optional prompt)
>   "Prompt for a date, defaulting to the current date.
> If OPTIONAL is non-nil, insert the resulting value as an optional
> argument, otherwise as a mandatory one.  Use PROMPT as the prompt
> string."
>   (if TeX-arg-date-use-orgmode
>(concat (insert "{") (org-time-stamp nil) (insert "}")) 
> (let ((default (format-time-string TeX-date-format (current-time
>   (TeX-argument-insert
>(TeX-read-string (TeX-argument-prompt
>  optional prompt (format "Date (default %s)" default))
> nil nil default)
>optional

> (I can send a patch if needed)

> But I must admit that the implementation is very crude. Org-time-stamp
> inserts

> \date{<2017-07-13 Thu>}

> Which is a bit ugly, that format can be changed but as I learned form
> the orgmode list

> ,
> | Custom format time are applied during fontification time. The major mode
> | you're using in your LaTeX document doesn't know about Org fontification
> | rules.
> | 
> | You may want to add some rules to font lock there
> `

> So that is a bit though.

> Any suggestions?

The actual job of inserting timestamp is carried out by
`org-insert-time-stamp', which begins with

  (let ((fmt (funcall (if with-hm 'cdr 'car) org-time-stamp-formats))

, and the value of `org-time-stamp-formats' is

("<%Y-%m-%d %a>" . "<%Y-%m-%d %a %H:%M>")

at least for emacs 25.2. So I suppose binding `org-time-stamp-formats'
temporarily with `let' in your custom `TeX-arg-date' would do the trick.

Bye,
Ikumi Keita

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-devel] Important Notice To All Amazon Customers

2017-07-31 Thread Amazon Sec. Team messages-nore...@amazon.com
  *IMPORTANT NOTICE*

Greetings from Amazon.com.
As you may be aware on July 20th 2017, some of our
customers accounts were compromised, resulting from data theft of 2,592
account records. This breach represents a small fraction of Amazon's total
customer base, the overwhelming majority of which are held in a secure data
centre.
Although the issue is now fully resolved we ask all our customer to
complete our account verification process. This will only take a few
minutes and will ensure the safeguarding of your account information.
Please use the link below to get started.

*GET STARTED *
Please Note: Failure to comply with our account verification process will
lead to restrictions being placed on your account. Best regards, Amazon
Customer Support

Please sign in with your valid email and password for prompt verification.
Amazon.com





  © 2017 Amazon.com
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel